/* Commercial Roofing Ontario. One stylesheet for the whole site. */

:root {
    --navy-950: #061626;
    --navy-900: #081E32;
    --navy-800: #0D2B47;
    --navy-700: #173B5C;
    --steel: #2F5B7C;
    --orange: #FF7900;
    --orange-600: #E86A00;
    --ink: #0E1A26;
    --text: #33424F;
    --muted: #5B6B79;
    --line: #DCE3EA;
    --soft: #F3F6F9;
    --white: #FFFFFF;
    --heading-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --body-font: "Inter", "Helvetica Neue", Arial, sans-serif;
    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 6px;
    --shadow: 0 18px 40px -18px rgba(8, 30, 50, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.7 var(--body-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
h2 { font-size: clamp(27px, 3vw, 38px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding: 0; margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: var(--navy-900); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.eyebrow { font: 700 13px/1.3 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light, .section--navy .eyebrow, .hero .eyebrow, .page-header .eyebrow, .cta-band .eyebrow, .error-page .eyebrow { color: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius); font: 700 15px/1.2 var(--body-font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn--large { min-height: 56px; padding: 14px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: var(--navy-900); }
.btn--primary:hover { background: var(--orange-600); color: var(--navy-900); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.link-arrow { font-weight: 700; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " \2192"; color: var(--orange-600); }
.link-arrow:hover { color: var(--orange-600); }

/* Header */

.header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.header__brand img { width: 250px; }
.header__toggle { display: none; }

.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 84px; padding: 0 16px; background: none; border: 0; color: var(--white); font: 600 15.5px/1 var(--body-font); text-decoration: none; cursor: pointer; }
.nav__link:hover, .nav__item--menu.is-open > .nav__link { color: var(--orange); }
button.nav__link::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__item--menu.is-open > button.nav__link::after { transform: translateY(1px) rotate(-135deg); }
.nav__item--cta { margin-left: 12px; }

.mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); width: min(880px, 92vw); padding: 28px 30px 22px; background: var(--white); border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.mega--narrow { width: min(520px, 92vw); }
.nav__item--menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mega__heading { font: 700 12px/1.3 var(--body-font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega ul { list-style: none; }
.mega li a { display: block; padding: 6px 0; color: var(--ink); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.mega li a:hover { color: var(--orange-600); }
.mega__towns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
.mega__all { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.mega__all a { font-weight: 700; color: var(--navy-900); text-decoration: none; font-size: 14.5px; }
.mega__all a:hover { color: var(--orange-600); }

.notice { background: #E8F5EC; border-bottom: 1px solid #B9DFC4; color: #17452A; }
.notice p { margin: 0; padding: 14px 0; font-weight: 600; }

/* Home hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(78vh, 760px); background: var(--navy-900); color: var(--white); overflow: hidden; }
.hero picture, .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 22, 38, .94) 0%, rgba(8, 30, 50, .82) 38%, rgba(8, 30, 50, .25) 72%, rgba(8, 30, 50, .05) 100%); }
.hero__inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: var(--white); max-width: 720px; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; margin-bottom: 22px; }
.hero__lede { max-width: 600px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #D6E1EA; margin-bottom: 34px; }
.hero__actions, .page-header__actions, .cta-band__actions, .error-page__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

.capabilities { background: var(--navy-950); color: var(--white); border-top: 3px solid var(--orange); }
.capabilities__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.capabilities__grid > div { padding: 28px 28px 26px 0; }
.capabilities__grid > div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.capabilities__label { font: 700 12px/1.3 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; }
.capabilities p:last-child { margin: 0; font: 600 16px/1.45 var(--heading-font); color: var(--white); }

/* Inner page header */
.page-header { position: relative; background: var(--navy-900) linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: var(--white); overflow: hidden; border-bottom: 3px solid var(--orange); }
.page-header__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 22, 38, .95) 0%, rgba(8, 30, 50, .86) 50%, rgba(8, 30, 50, .55) 100%); }
.page-header__inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; }
.page-header h1 { color: var(--white); max-width: 860px; margin-bottom: 16px; }
.page-header__lede { max-width: 680px; color: #D6E1EA; font-size: 19px; margin-bottom: 0; }
.page-header__actions { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; font-size: 14px; color: #9FB3C4; }
.breadcrumb a { color: #D6E1EA; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

/* Sections */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy-900); color: #C9D6E2; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section__head h2 { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.sidebar { position: sticky; top: 108px; display: grid; gap: 24px; }

/* Long-form copy from the admin */
.article { font-size: 18px; color: var(--text); }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article > :first-child, .article .summary > :first-child { margin-top: 0; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article ul li::marker { color: var(--orange-600); }
.article blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); font-style: italic; color: var(--ink); }
.article table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 16px; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--soft); color: var(--ink); font-weight: 700; }
.article__image { width: 100%; border-radius: var(--radius); margin: 1.6em 0; }
.summary { font-size: 20px; line-height: 1.65; color: var(--ink); padding: 0 0 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.intro { margin: 0 auto 56px; text-align: center; }
.empty { color: var(--muted); font-size: 18px; }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 2em 0; padding: 26px 28px; background: var(--navy-900); border-left: 4px solid var(--orange); border-radius: var(--radius); color: #D6E1EA; }
.inline-cta p { margin: 0; font-size: 16.5px; }
.inline-cta strong { color: var(--white); }
.inline-cta .btn { flex: none; }

/* Quote card and side links */
.quote-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quote-card h2 { font-size: 23px; margin-bottom: 20px; }
.quote-card .eyebrow { margin-bottom: 10px; }
.quote-card__form { display: grid; gap: 14px; }
.quote-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.quote-card__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

input[type=text], input[type=email], input[type=tel], input[type=file], select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #C7D2DC; border-radius: var(--radius); background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--body-font); transition: border-color .15s, box-shadow .15s; }
input[type=file] { padding: 10px; background: var(--soft); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(47, 91, 124, .18); }
::placeholder { color: #8A99A7; }

.side-links { background: var(--soft); border-radius: var(--radius); padding: 24px 26px; }
.side-links__heading { font: 700 12px/1.3 var(--body-font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.side-links ul, ul.side-links { list-style: none; }
.side-links li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.side-links li:last-child a { border-bottom: 0; }
.side-links li a::after { content: "\2192"; color: var(--orange-600); }
.side-links li a:hover { color: var(--orange-600); }
.side-links--plain { background: none; padding: 0; margin-top: 24px; }

/* Services on the home page */
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 18px; }
.service-group h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); padding-bottom: 16px; margin-bottom: 6px; border-bottom: 2px solid var(--orange); }
.service-group ul { list-style: none; }
.service-group li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 700 16.5px/1.35 var(--heading-font); text-decoration: none; }
.service-group li:last-child a { border-bottom: 0; }
.service-group li a::after { content: "\2192"; color: var(--orange-600); transition: transform .18s; }
.service-group li a:hover { color: var(--orange-600); }
.service-group li a:hover::after { transform: translateX(4px); }

.property-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); }
.property-grid a { display: flex; flex-direction: column; min-height: 250px; padding: 32px 28px; background: var(--navy-900); color: var(--white); text-decoration: none; transition: background .2s; }
.property-grid a:hover { background: var(--navy-800); }
.property-grid__num { font: 800 15px/1 var(--heading-font); color: var(--orange); margin-bottom: auto; }
.property-grid__title { font: 700 21px/1.3 var(--heading-font); margin: 32px 0 18px; }
.property-grid__more { font-size: 14px; font-weight: 700; color: #A9BBCB; }
.property-grid__more::after { content: " \2192"; color: var(--orange); }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; position: relative; padding-top: 70px; border-top: 2px solid var(--line); }
.steps li::before { content: "0" counter(step); position: absolute; top: 20px; left: 0; font: 800 30px/1 var(--heading-font); color: var(--orange); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }

.areas { background: var(--navy-950) linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #C9D6E2; }
.areas h2 { color: var(--white); }
.areas__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.areas__lede { margin-bottom: 28px; }
.areas .btn--outline { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.areas .btn--outline:hover { background: var(--white); color: var(--navy-900); }
.town-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.town-grid a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); color: var(--white); font-weight: 600; text-decoration: none; transition: border-color .18s, background .18s; }
.town-grid a::after { content: "\2192"; color: var(--orange); }
.town-grid a:hover { border-color: var(--orange); background: rgba(255, 121, 0, .08); }
.town-grid--light { grid-template-columns: repeat(4, 1fr); }
.town-grid--light a { border-color: var(--line); background: var(--white); color: var(--ink); }
.town-grid--light a:hover { border-color: var(--orange); background: var(--white); color: var(--orange-600); }

/* Cards on the list pages */
.card-group + .card-group { margin-top: 64px; }
.card-group h2 { font-size: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--orange); margin-bottom: 28px; }
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text); text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.card img { margin: -28px -28px 24px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card__title { font: 700 19px/1.3 var(--heading-font); color: var(--ink); margin-bottom: 12px; }
.card__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.card__more { margin-top: auto; font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.card__more::after { content: " \2192"; color: var(--orange-600); }

.cards--two { grid-template-columns: repeat(2, 1fr); }
.card__num { font: 800 15px/1 var(--heading-font); color: var(--orange-600); margin-bottom: 14px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.card__tags span { padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--navy-900); font-size: 13px; font-weight: 600; }
.inline-cta--wide { margin-top: 64px; }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--orange); }
.mega__heading a, .footer__heading a { color: inherit; text-decoration: none; }
.mega__heading a:hover, .footer__heading a:hover { color: var(--orange-600); }

/* FAQ: each Heading 3 is a question, its answer follows */
.faq { padding: clamp(64px, 8vw, 110px) 0; background: var(--soft); }
.faq__list h3 { font-size: 19px; margin: 0; padding: 24px 0 10px; border-top: 1px solid var(--line); }
.faq__list h3:first-child { border-top: 0; }
.faq__list p { color: var(--text); }

.summary--last { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.article [data-section] + [data-section] { margin-top: 3em; }
.cta-band__copy h2 { margin-bottom: 14px; }
.cta-band__copy p { font-size: 18px; }
.cta-band__copy a { color: var(--navy-900); font-weight: 700; }
.cta-band--closing .cta-band__inner { grid-template-columns: 1.6fr 1fr; }

/* Home intro: the definition on its own, at the page's left edge */
.section--intro { padding-bottom: clamp(48px, 6vw, 80px); }
.intro-lead { max-width: 980px; }
.intro-lead p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.65; color: var(--ink); margin: 0; }

/* FAQs: heading column beside the questions, on the same left edge as the rest of the page */
.faq__inner { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 108px; }
.faq__head h2 { margin: 0; }

/* Areas: every town tile the same height */
.town-grid { grid-auto-rows: 1fr; }

/* Footer */
.cta-band { background: var(--orange); color: var(--navy-900); }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: var(--navy-900); margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-band .eyebrow { color: var(--navy-900); }
.cta-band__actions { justify-content: flex-end; }
.cta-band .btn--primary { background: var(--navy-900); color: var(--white); }
.cta-band .btn--primary:hover { background: var(--navy-950); color: var(--white); }
.cta-band .btn--ghost { border-color: var(--navy-900); color: var(--navy-900); }
.cta-band .btn--ghost:hover { background: var(--navy-900); color: var(--white); }

.footer { background: var(--navy-950); color: #A9BBCB; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer__logo { width: 230px; margin-bottom: 22px; }
.footer__about p { line-height: 1.65; }
.footer a { color: #D6E1EA; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__heading { font: 700 12px/1.3 var(--body-font); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin: 0 0 16px; }
.footer__col ul { list-style: none; margin-bottom: 28px; }
.footer__col li { margin-bottom: 9px; line-height: 1.4; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Contact page */
.split--form { grid-template-columns: minmax(0, 1fr) 360px; }
.form-panel fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.form-panel legend { font: 800 21px/1.3 var(--heading-font); color: var(--ink); padding: 0 0 14px; margin-bottom: 20px; border-bottom: 2px solid var(--orange); width: 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.form-panel fieldset > .field + .field { margin-top: 18px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field--error input, .field--error select, .field--error textarea { border-color: #C2410C; }
.field__error, .form-errors { color: #B42318; font-size: 14.5px; font-weight: 600; margin: 0; }
.form-errors ul { list-style: none; }
.form-panel__note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.info-panel { background: var(--navy-900); color: #C9D6E2; border-radius: var(--radius); padding: 32px 30px; border-top: 4px solid var(--orange); }
.mini-steps { list-style: none; counter-reset: s; display: grid; gap: 18px; margin-bottom: 26px; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 15.5px; line-height: 1.55; }
.mini-steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--navy-900); font: 800 14px/1 var(--heading-font); }
.info-panel__email { margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.info-panel a { color: var(--white); font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }

/* Error pages */
.error-page { background: var(--navy-900) linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: #D6E1EA; padding: clamp(80px, 12vw, 150px) 0; }
.error-page h1 { color: var(--white); }
.error-page p { font-size: 19px; max-width: 680px; }
.error-page__actions { margin-top: 30px; }

/* Tablet */
@media (max-width: 1080px) {
    .header__inner { min-height: 72px; }
    .header__brand img { width: 210px; }
    .header__toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); cursor: pointer; }
    .header__toggle-bars, .header__toggle-bars::before, .header__toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: transform .2s, background .2s; }
    .header__toggle-bars::before, .header__toggle-bars::after { content: ""; position: absolute; left: 0; }
    .header__toggle-bars::before { top: -7px; }
    .header__toggle-bars::after { top: 7px; }
    .header__toggle[aria-expanded=true] .header__toggle-bars { background: transparent; }
    .header__toggle[aria-expanded=true] .header__toggle-bars::before { transform: translateY(7px) rotate(45deg); }
    .header__toggle[aria-expanded=true] .header__toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .1); padding: 8px var(--gutter) 28px; }
    .nav.is-open { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .nav__link { width: 100%; min-height: 58px; padding: 0; justify-content: space-between; font-size: 17px; }
    .mega, .mega--narrow { position: static; width: auto; transform: none; display: none; opacity: 1; visibility: visible; padding: 0 0 18px; background: none; border: 0; box-shadow: none; }
    .nav__item--menu.is-open .mega { display: block; transform: none; }
    .mega__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .mega__heading { color: #8FA5B8; border-color: rgba(255, 255, 255, .12); }
    .mega li a, .mega__all a { color: #D6E1EA; }
    .mega__all { border-color: rgba(255, 255, 255, .12); }
    .nav__item--cta { border: 0; margin: 20px 0 0; }
    .nav__item--cta .btn { width: 100%; }

    .split, .split--form, .faq__inner { grid-template-columns: 1fr; }
    .faq__head { position: static; }
    .sidebar { position: static; }
    .service-groups { grid-template-columns: 1fr 1fr; }
    .property-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .areas__inner { grid-template-columns: 1fr; gap: 40px; }
    .cards { grid-template-columns: 1fr 1fr; }
    .town-grid--light { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer__about { grid-column: 1 / -1; max-width: 560px; }
    .capabilities__grid { grid-template-columns: 1fr 1fr; }
    .capabilities__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .capabilities__grid > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
    .cta-band__inner { grid-template-columns: 1fr; }
    .cta-band__actions { justify-content: flex-start; }
}

/* Phone */
@media (max-width: 680px) {
    body { font-size: 16.5px; }
    .header__brand img { width: 180px; }
    .hero { min-height: 0; }
    .hero::after { background: linear-gradient(180deg, rgba(6, 22, 38, .72) 0%, rgba(8, 30, 50, .9) 60%, rgba(6, 22, 38, .96) 100%); }
    .hero__inner { padding-top: 72px; padding-bottom: 64px; }
    .hero__actions .btn, .page-header__actions .btn, .cta-band__actions .btn, .error-page__actions .btn, .inline-cta .btn { width: 100%; }
    .capabilities__grid { grid-template-columns: 1fr; }
    .capabilities__grid > div, .capabilities__grid > div + div { padding: 20px 0; border-left: 0; }
    .capabilities__grid > div + div { border-top: 1px solid rgba(255, 255, 255, .12); }
    .section__head { flex-direction: column; align-items: flex-start; }
    .service-groups, .property-grid, .steps, .cards, .cards--two, .form-grid { grid-template-columns: 1fr; }
    .property-grid a { min-height: 0; }
    .property-grid__title { margin: 18px 0 12px; }
    .town-grid, .town-grid--light { grid-template-columns: 1fr 1fr; }
    .mega__grid, .mega__towns { grid-template-columns: 1fr; }
    .mega__towns { grid-template-columns: 1fr 1fr; }
    .inline-cta { flex-direction: column; align-items: stretch; }
    .summary { font-size: 18.5px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .footer__bottom { flex-direction: column; }
    .page-header__inner { padding-top: 36px; padding-bottom: 44px; }
    .breadcrumb { margin-bottom: 20px; }
}
