@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0b1f33;
  --navy-dark: #071522;
  --amber: #f5a800;
  --amber-dark: #c98600;
  --white: #fff;
  --warm-white: #f7f9fb;
  --grey: #e8edf2;
  --line: #d7e0e8;
  --text: #17212b;
  --muted: #5c6873;
  --success: #2e7d5b;
  --container: 1220px;
  --space-xs: .5rem;
  --space-sm: .875rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6.5rem;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(11, 31, 51, .08);
  --shadow: 0 22px 50px rgba(11, 31, 51, .12);
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body { margin: 0; color: var(--text); background: var(--white); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 1rem; color: var(--navy); font-family: Manrope, Inter, sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.25rem; }
ul { padding-left: 1.15rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: -9999px; padding: .75rem 1rem; background: var(--white); color: var(--navy); border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding-block: var(--space-2xl); }
.section-sm { padding-block: var(--space-xl); }
.section-grey { background: var(--warm-white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .muted { color: #bdc9d4; }
.section-amber { background: var(--amber); }
.eyebrow { display: inline-flex; gap: .55rem; align-items: center; margin-bottom: 1rem; color: var(--amber-dark); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 2px; background: currentColor; content: ""; }
.section-navy .eyebrow, .hero .eyebrow { color: var(--amber); }
.lead { max-width: 740px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.muted { color: var(--muted); }
.kicker { color: var(--muted); font-size: .9rem; font-weight: 600; }
.text-link { color: var(--navy); font-weight: 800; text-underline-offset: 4px; }
.text-link:hover { color: var(--amber-dark); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.75rem; }
.section-head > div:first-child { max-width: 770px; }
.section-head .lead { max-width: 480px; margin-bottom: .3rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .6rem; padding: .78rem 1.2rem; border: 2px solid transparent; border-radius: 11px; text-decoration: none; font-size: .9rem; font-weight: 800; transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--navy-dark); }
.btn-primary:hover { background: #ffbd32; }
.btn-secondary { border-color: #ffffff4a; background: transparent; color: var(--white); }
.btn-secondary:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #15334f; }
.btn-outline { border-color: var(--line); background: var(--white); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.btn-whatsapp { background: var(--success); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.utility { background: var(--navy-dark); color: #d8e1e9; font-size: .78rem; }
.utility .container { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 1rem; }
.utility a { color: var(--white); font-weight: 700; text-decoration: none; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(11, 31, 51, .98); box-shadow: 0 1px 0 rgba(255,255,255,.1); }
.nav-shell { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .75rem; color: var(--white); text-decoration: none; }
.logo-mark { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid #ffffff38; border-radius: 12px; color: var(--amber); font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.08em; }
.logo-copy { font-family: Manrope, sans-serif; font-size: .92rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.logo-copy small { display: block; margin-top: .24rem; color: #aab7c3; font-family: Inter, sans-serif; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 1.15rem; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; padding: .8rem .1rem; color: #e4eaf0; text-decoration: none; font-size: .79rem; font-weight: 700; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--white); }
.primary-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: .45rem; left: 0; height: 2px; background: var(--amber); content: ""; }
.nav-actions { display: flex; gap: .6rem; }
.nav-actions .btn { min-height: 42px; padding: .55rem .82rem; font-size: .75rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid #ffffff3b; border-radius: 10px; background: transparent; color: var(--white); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 21px; height: 2px; margin: 5px auto; background: currentColor; content: ""; transition: transform var(--transition), opacity var(--transition); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero { overflow: hidden; background: var(--navy); color: var(--white); }
.hero-grid { display: grid; min-height: 680px; grid-template-columns: 1.02fr .98fr; align-items: stretch; }
.hero-copy { display: flex; max-width: 680px; flex-direction: column; justify-content: center; padding: 5rem 4.5rem 5rem max(1.25rem, calc((100vw - var(--container)) / 2)); }
.hero h1 { color: var(--white); }
.hero .lead { margin-bottom: 1.75rem; color: #c7d1dc; }
.hero-media { position: relative; min-height: 560px; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,51,.28), transparent 38%), linear-gradient(0deg, rgba(7,21,34,.3), transparent 40%); content: ""; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-note { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.5rem; max-width: 265px; padding: 1rem 1.15rem; border: 1px solid #ffffff35; border-radius: 14px; background: rgba(7,21,34,.9); backdrop-filter: blur(8px); }
.hero-note strong { display: block; color: var(--amber); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.hero-note span { font-size: .87rem; }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: .6rem; align-items: center; color: #d8e1e9; font-size: .76rem; font-weight: 600; }
.trust-list svg { width: 18px; color: var(--amber); }
.value-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { padding: 1.35rem 1.2rem; border-right: 1px solid var(--line); }
.value-item:first-child { border-left: 1px solid var(--line); }
.value-item strong { display: block; color: var(--navy); font-family: Manrope, sans-serif; font-size: .9rem; }
.value-item span { color: var(--muted); font-size: .76rem; }

.cards-3, .cards-2, .cards-4, .service-grid { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 rgba(11,31,51,.02); }
.card-link { display: flex; min-height: 320px; flex-direction: column; color: inherit; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card-link:hover, .card-link:focus-visible { border-color: #9eabb7; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.card-icon { display: grid; width: 48px; height: 48px; margin-bottom: 2.6rem; place-items: center; border-radius: 12px; background: #fff5dd; color: var(--amber-dark); }
.card-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .91rem; }
.card-arrow { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; color: var(--navy); font-size: .82rem; font-weight: 800; }
.path-card { min-height: 360px; overflow: hidden; padding: 2rem; background: var(--navy); color: var(--white); }
.path-card:nth-child(2) { background: #12324e; }
.path-card:nth-child(3) { background: #1b3f5f; }
.path-card h3 { color: var(--white); font-size: 1.6rem; }
.path-card p { color: #c8d3de; }
.path-label { display: inline-block; margin-bottom: 4.5rem; color: var(--amber); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.path-card .card-arrow { color: var(--white); }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature-image { overflow: hidden; min-height: 480px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: center; }
.check-list { margin: 1.75rem 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.check-list li::before { color: var(--success); font-weight: 900; content: "✓"; }
.section-navy .check-list li { border-color: #ffffff22; }
.project-placeholder { display: grid; min-height: 380px; place-items: center; padding: 2.5rem; border: 1px dashed #aab7c3; border-radius: var(--radius); background: var(--warm-white); text-align: center; }
.project-placeholder > div { max-width: 590px; }
.review-placeholder { max-width: 780px; padding: 2.4rem; border-left: 4px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; background: var(--warm-white); }
.review-placeholder p { margin: 0; color: var(--navy); font-family: Manrope, sans-serif; font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { padding-top: 1.2rem; border-top: 3px solid var(--amber); counter-increment: step; }
.step::before { display: block; margin-bottom: 2.8rem; color: var(--amber-dark); font-family: ui-monospace, monospace; font-size: .78rem; content: "0" counter(step); }
.step p { color: var(--muted); font-size: .9rem; }
.areas-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.area-pill { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .87rem; font-weight: 700; }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; min-height: 64px; padding: 1.25rem 3rem 1.25rem 0; color: var(--navy); font-family: Manrope, sans-serif; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 1.2rem; right: .25rem; font-size: 1.35rem; content: "+"; }
details[open] summary::after { content: "−"; }
details p { max-width: 800px; padding: 0 2.5rem 1.35rem 0; color: var(--muted); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius-lg); background: var(--amber); }
.cta-panel h2 { max-width: 680px; margin-bottom: .6rem; }
.cta-panel p { max-width: 680px; margin: 0; color: #493500; }
.cta-panel .button-row { flex: 0 0 auto; }

.page-hero { padding: 5.5rem 0 4.5rem; background: var(--navy); color: var(--white); }
.page-hero h1 { max-width: 900px; color: var(--white); }
.page-hero .lead { color: #c8d2dc; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; color: #aebac5; font-size: .76rem; }
.breadcrumbs a { color: var(--white); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 4rem; align-items: start; }
.prose { max-width: 790px; }
.prose h2 { margin-top: 2.7rem; }
.prose h3 { margin-top: 2rem; }
.prose li { margin-bottom: .55rem; }
.sidebar { position: sticky; top: 142px; padding: 1.5rem; border-radius: var(--radius); background: var(--warm-white); }
.sidebar h2 { font-size: 1.35rem; }
.sidebar .btn { width: 100%; margin-top: .55rem; }
.mini-list { display: grid; gap: .8rem; margin: 1.2rem 0; padding: 0; list-style: none; }
.mini-list a { font-size: .87rem; font-weight: 700; text-underline-offset: 3px; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 4rem; align-items: start; }
.contact-method { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-method strong { display: block; color: var(--navy); }
.contact-method a { color: var(--muted); text-underline-offset: 3px; }
.quote-form { padding: clamp(1.3rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field-full { grid-column: 1 / -1; }
.field label, fieldset legend { color: var(--navy); font-size: .82rem; font-weight: 800; }
.required { color: #a44d00; }
input, select, textarea { width: 100%; min-height: 48px; padding: .75rem .8rem; border: 1px solid #aab5bf; border-radius: 9px; background: var(--white); color: var(--text); }
textarea { min-height: 145px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:invalid:not(:placeholder-shown), textarea:invalid:not(:placeholder-shown) { border-color: #b33131; }
fieldset { margin: 0; padding: 0; border: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; padding-top: .35rem; }
.radio { display: flex; min-height: 44px; align-items: center; gap: .45rem; font-size: .88rem; }
.radio input { width: 18px; min-height: 18px; }
.bot-field { position: absolute !important; left: -9999px !important; }
.privacy-note { margin: .8rem 0 0; color: var(--muted); font-size: .75rem; }
.privacy-note a { font-weight: 700; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--amber); background: #fff7e6; color: #553b00; font-size: .87rem; }
.legal-content { max-width: 850px; }
.legal-content h2 { margin-top: 2.5rem; font-size: 1.65rem; }
.legal-content h3 { margin-top: 1.8rem; font-size: 1.1rem; }

.site-footer { padding: 4.5rem 0 1.2rem; background: var(--navy-dark); color: #b9c5cf; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); gap: 2rem; }
.footer-about { max-width: 300px; }
.footer-about p { margin-top: 1.2rem; font-size: .8rem; }
.footer-col h2 { margin-bottom: 1rem; color: var(--white); font-family: Inter, sans-serif; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; margin: .55rem 0; color: #b9c5cf; text-decoration: none; font-size: .77rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.3rem; border-top: 1px solid #ffffff1f; font-size: .72rem; }
.mobile-contact { display: none; }
.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .primary-nav { gap: .75rem; }
  .primary-nav a { font-size: .72rem; }
  .nav-actions .btn:first-child { display: none; }
  .hero-copy { padding-right: 2.5rem; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .footer-col:nth-last-child(-n+2) { margin-top: 1rem; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 116px; }
  body { padding-bottom: 67px; }
  .container { width: min(var(--container), calc(100% - 2rem)); }
  .utility .container { justify-content: center; text-align: center; }
  .utility a { display: none; }
  .nav-shell { min-height: 72px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; z-index: 60; top: 108px; right: 0; bottom: 0; width: min(390px, 92vw); align-items: stretch; flex-direction: column; gap: 0; padding: 1rem 1.25rem 6rem; overflow-y: auto; background: var(--navy-dark); box-shadow: -20px 0 50px #0005; transform: translateX(105%); transition: transform 230ms ease; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a { min-height: 50px; padding: .9rem .35rem; border-bottom: 1px solid #ffffff1f; font-size: .94rem; }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { max-width: none; padding: 4.5rem max(1rem, calc((100vw - var(--container)) / 2)); }
  .hero-media { min-height: 480px; }
  .hero-media img { max-height: 580px; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .service-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .feature-split, .contact-grid { grid-template-columns: 1fr; }
  .feature-image { min-height: 380px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .mobile-contact { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; display: grid; min-height: 67px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff26; background: var(--navy-dark); box-shadow: 0 -8px 24px #07152235; }
  .mobile-contact a { display: flex; min-height: 67px; align-items: center; justify-content: center; gap: .4rem; border-right: 1px solid #ffffff20; color: var(--white); text-decoration: none; font-size: .75rem; font-weight: 800; }
  .mobile-contact a:last-child { border: 0; background: var(--amber); color: var(--navy-dark); }
}

@media (max-width: 640px) {
  :root { --space-2xl: 4.7rem; --space-xl: 3.1rem; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .logo-mark { width: 39px; height: 39px; }
  .logo-copy { font-size: .82rem; }
  .hero-copy { padding-top: 3.7rem; padding-bottom: 3.7rem; }
  .hero-media { min-height: 390px; }
  .hero-note { right: 1rem; bottom: 1rem; left: 1rem; max-width: none; }
  .trust-list { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(3) { border-left: 1px solid var(--line); }
  .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 2rem; }
  .service-grid, .cards-3, .cards-2, .cards-4, .steps { grid-template-columns: 1fr; }
  .card-link { min-height: 285px; }
  .path-card { min-height: 320px; }
  .feature-image, .feature-image img { min-height: 310px; }
  .page-hero { padding: 4rem 0 3.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .radio-row { flex-direction: column; gap: .1rem; }
  .quote-form { padding: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .mobile-contact a { flex-direction: column; gap: 0; line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Second-pass agency refinement */
.site-header { box-shadow: 0 10px 28px rgba(4, 15, 25, .13); }
.logo-mark { position: relative; overflow: hidden; border-color: rgba(245,168,0,.62); background: linear-gradient(145deg, rgba(245,168,0,.08), transparent); letter-spacing: -.11em; }
.logo-mark::before { position: absolute; top: 6px; right: 5px; width: 8px; height: 8px; border-top: 1px solid var(--amber); border-right: 1px solid var(--amber); content: ""; }
.logo-mark::after { position: absolute; right: 6px; bottom: 6px; width: 4px; height: 4px; border: 1px solid var(--amber); border-radius: 50%; content: ""; }
.primary-nav a::before { position: absolute; right: 50%; bottom: .45rem; left: 50%; height: 2px; background: var(--amber); content: ""; transition: left var(--transition), right var(--transition); }
.primary-nav a:hover::before, .primary-nav a:focus-visible::before { right: 0; left: 0; }
.primary-nav a[aria-current="page"]::before { right: 0; left: 0; }
.primary-nav a[aria-current="page"]::after { display: none; }
.btn { box-shadow: 0 0 0 rgba(0,0,0,0); }
.btn:hover { box-shadow: 0 9px 20px rgba(7,21,34,.14); }

.hero { position: relative; background: radial-gradient(circle at 18% 25%, #163a5a 0, var(--navy) 34%, var(--navy-dark) 100%); }
.hero::before { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, #000, transparent 62%); content: ""; }
.hero-grid { position: relative; z-index: 1; width: min(var(--container), calc(100% - 2.5rem)); min-height: 610px; margin-inline: auto; grid-template-columns: 55fr 45fr; gap: clamp(1.5rem,4vw,3.5rem); padding-block: 2.75rem; }
.hero-copy { max-width: none; padding: 2rem 0; }
.hero h1 { max-width: 720px; font-size: clamp(2.7rem, 4.45vw, 4.15rem); line-height: 1.03; }
.hero .lead { max-width: 650px; }
.hero-media { min-height: 520px; overflow: hidden; align-self: center; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.26); }
.hero-media::after { background: linear-gradient(0deg, rgba(7,21,34,.34), transparent 48%); }
.hero-media img { object-position: 50% 100%; transition: transform 450ms ease; }
.hero-media:hover img { transform: scale(1.025); }
.hero-note { right: 1.1rem; bottom: 1.1rem; left: 1.1rem; max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-note strong { margin: 0; }
.hero-note span { color: #d7e1e9; }
.trust-list { margin-top: 1.6rem; }

.page-hero { position: relative; overflow: hidden; padding: 4.2rem 0 3.7rem; background: radial-gradient(circle at 80% 0, #183c5c 0, var(--navy) 36%, var(--navy-dark) 100%); }
.page-hero::after { position: absolute; inset: 0 0 0 55%; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 38px 38px; content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.35rem, 4.2vw, 3.85rem); }
.page-hero .lead { max-width: 760px; }

.card-link { overflow: hidden; }
.card-link::before { position: absolute; top: 0; right: 100%; left: 0; height: 3px; background: var(--amber); content: ""; transition: right 260ms ease; }
.card-link:hover::before, .card-link:focus-visible::before { right: 0; }
.card-icon { margin-bottom: 2rem; }
.card-arrow span, .card-arrow { transition: gap var(--transition), color var(--transition); }
.card-link:hover .card-arrow { color: var(--amber-dark); }
.image-card { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform 450ms ease; }
.image-card:hover img { transform: scale(1.025); }
.split-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,6vw,5.5rem); align-items: center; }
.split-hero h1 { max-width: 700px; }
.support-panel { padding: clamp(1.6rem,3vw,2.4rem); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); background: rgba(255,255,255,.07); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.support-panel h2 { color: var(--white); font-size: 1.35rem; }
.support-panel .check-list { margin-bottom: 0; }
.support-panel .check-list li { color: #e3eaf0; border-color: rgba(255,255,255,.12); }
.support-panel .check-list li::before { color: var(--amber); }
.commercial-hero-image { overflow: hidden; min-height: 390px; border-radius: var(--radius-lg); box-shadow: 0 28px 65px rgba(0,0,0,.28); }
.commercial-hero-image img { width: 100%; height: 390px; object-fit: cover; transition: transform 450ms ease; }
.commercial-hero-image:hover img { transform: scale(1.025); }
.service-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(310px,.72fr); gap: clamp(2.5rem,6vw,5.5rem); align-items: start; }
.service-detail-layout .prose { max-width: none; }
.service-proof { position: sticky; top: 138px; }
.service-proof .image-card img { min-height: 360px; max-height: 460px; }
.service-facts { display: grid; gap: .75rem; margin: 1.25rem 0; }
.service-proof-no-image .service-facts { margin: 0; }
.service-fact { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 11px; background: var(--warm-white); font-size: .86rem; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.related-link { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); text-decoration: none; font-weight: 800; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.related-link:hover, .related-link:focus-visible { border-color: var(--amber); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.service-process { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.5rem; counter-reset: service-step; }
.service-process > div, .service-process > li { padding: 1.25rem; border-top: 2px solid var(--amber); background: var(--warm-white); counter-increment: service-step; }
.service-process > div::before, .service-process > li::before { display: block; margin-bottom: 1.5rem; color: var(--amber-dark); font: 700 .72rem ui-monospace,monospace; content: "0" counter(service-step); }
.service-process > li { display: flex; flex-direction: column; gap: .45rem; color: var(--muted); font-size: .84rem; }
.service-process > li strong { color: var(--navy); font-family: Manrope,Inter,sans-serif; font-size: 1rem; }
.service-process h3 { font-size: 1rem; }
.service-process p { margin: 0; color: var(--muted); font-size: .83rem; }
.faq-list { display: grid; gap: .7rem; }
.faq-list details { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq-list summary { cursor: pointer; color: var(--navy); font-weight: 800; }
.faq-list details p { margin: .75rem 0 0; color: var(--muted); }
.contact-call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.contact-action { display: flex; min-height: 125px; flex-direction: column; justify-content: space-between; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform var(--transition), border-color var(--transition); }
.contact-action:hover { border-color: var(--amber); transform: translateY(-3px); }
.contact-action span { color: var(--muted); font-size: .78rem; }
.contact-action strong { color: var(--navy); font-family: Manrope,Inter,sans-serif; font-size: 1.05rem; }
.reassurance-panel { padding: 1.25rem; border-radius: var(--radius); background: var(--navy); color: #d8e1e9; }
.reassurance-panel strong { display: block; margin-bottom: .35rem; color: var(--white); }
.reassurance-panel p { margin: 0; font-size: .82rem; }
.quote-form { max-width: 720px; margin-left: auto; }
.field small { color: var(--muted); font-size: .72rem; }
.status-page { min-height: 58vh; display: grid; place-items: center; text-align: center; }
.status-page > div { max-width: 720px; }
.status-page .button-row { justify-content: center; }

@media (max-width: 900px) {
  .primary-nav a::before { display: none; }
  .hero-grid { width: min(var(--container), calc(100% - 2rem)); grid-template-columns: 1fr; padding-block: 2rem 2.75rem; }
  .hero-copy { padding: 2rem 0 .5rem; }
  .hero h1 { max-width: 650px; }
  .hero-media { min-height: 430px; max-height: 520px; }
  .hero-media img { min-height: 430px; }
  .split-hero, .service-detail-layout { grid-template-columns: 1fr; }
  .service-proof { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .quote-form { max-width: none; margin: 0; }
}

@media (max-width: 640px) {
  .hero-grid { padding-top: 1rem; }
  .hero h1 { font-size: clamp(2.35rem,11vw,3.05rem); }
  .hero-media { min-height: 390px; max-height: 390px; }
  .hero-media img { min-height: 390px; }
  .hero-note { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .page-hero { padding: 3.4rem 0 3rem; }
  .page-hero h1 { font-size: clamp(2.15rem,10.5vw,2.85rem); }
  .related-grid, .service-process, .contact-call-grid { grid-template-columns: 1fr; }
  .commercial-hero-image, .commercial-hero-image img { min-height: 310px; height: 310px; }
}

/* Third-pass focused polish */
html { scroll-padding-top: 96px; }
main[id], section[id], form[id], [data-anchor] { scroll-margin-top: 96px; }
.site-header { background: var(--navy); box-shadow: 0 10px 28px rgba(4,15,25,.16); }

/* One stable active/hover indicator; removes the earlier competing pseudo-element. */
.primary-nav a::before { display: none !important; }
.primary-nav a::after { position: absolute; right: auto; bottom: .38rem; left: 50%; width: 28px; height: 2px; display: none; border-radius: 999px; background: var(--amber); content: ""; transform: translateX(-50%); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="page"]::after { display: block; }
.primary-nav a[aria-current="page"]::after { right: auto; left: 50%; transform: translateX(-50%); }

.page-hero { padding: 3.2rem 0 2.8rem; }
.page-hero h1 { max-width: 760px; font-size: clamp(2.15rem,3.2vw,3.25rem); line-height: 1.06; }
.page-hero .breadcrumbs { margin-bottom: 1.25rem; }
.page-hero .eyebrow { margin-bottom: .75rem; }
.page-hero .lead { font-size: clamp(1rem,1.45vw,1.16rem); }
.split-hero { gap: clamp(2rem,5vw,4.5rem); }

.contact-hero { padding: 2.25rem 0 2.05rem; }
.contact-hero h1 { max-width: 680px; font-size: clamp(2.05rem,3vw,3rem); }
.contact-hero .lead { max-width: 720px; margin-bottom: 0; }

.service-overview-panel, .about-proof-panel, .coverage-panel { position: relative; padding: 1.35rem; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.065); box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.service-overview-panel .eyebrow, .about-proof-panel .eyebrow, .coverage-panel .eyebrow { color: var(--amber); }
.service-overview-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.service-overview-list a { display: flex; min-height: 48px; align-items: center; gap: .75rem; border-bottom: 1px solid rgba(255,255,255,.11); color: #edf3f7; text-decoration: none; font-size: .83rem; font-weight: 700; }
.service-overview-list a:hover { color: var(--white); }
.service-overview-list svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.about-proof-panel ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.about-proof-panel li { position: relative; padding: .62rem 0 .62rem 1.35rem; border-bottom: 1px solid rgba(255,255,255,.11); color: #e5edf3; font-size: .86rem; }
.about-proof-panel li:last-child { border-bottom: 0; }
.about-proof-panel li::before { position: absolute; top: .78rem; left: 0; color: var(--amber); content: "✓"; }

.coverage-panel { overflow: hidden; background: linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035)); }
.coverage-panel::before { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.35) 1px,transparent 1px); background-size: 36px 36px; content: ""; }
.coverage-panel > * { position: relative; z-index: 1; }
.coverage-core { position: relative; max-width: 220px; margin: .2rem auto 1.55rem; padding: .9rem 1rem; border-left: 3px solid var(--amber); border-radius: 6px; background: rgba(7,21,34,.7); text-align: left; }
.coverage-core::after { position: absolute; top: 100%; left: 50%; width: 1px; height: 25px; background: rgba(245,168,0,.55); content: ""; }
.coverage-core strong { display: block; color: var(--white); font-family: Manrope,Inter,sans-serif; }
.coverage-core small { color: #b9c8d4; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.coverage-branches { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: .55rem; padding-top: .6rem; }
.coverage-branches::before { position: absolute; top: 0; right: 16%; left: 16%; height: 1px; background: rgba(245,168,0,.4); content: ""; }
.coverage-branches span { padding: .55rem .45rem; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(255,255,255,.045); color: #e8eef3; text-align: center; font-size: .72rem; font-weight: 700; }
.coverage-panel p { margin: 1rem 0 0; color: #b9c8d4; font-size: .76rem; }

.commercial-hero-image, .commercial-hero-image img { min-height: 330px; height: 330px; }
.commercial-hero-image img { object-position: center; }
.hero-media img[src$="hero-electrical-testing.webp"] { object-position: center; transform: none; }
.hero-media:hover img[src$="hero-electrical-testing.webp"] { transform: scale(1.025); }

.related-link { min-height: 128px; }
.faq-list { gap: .55rem; }
.faq-list details { padding: .8rem 1rem; }
.faq-list summary { min-height: auto; padding: .35rem 2rem .35rem 0; }
.faq-list summary::after { top: .25rem; }
.faq-list details p { margin-top: .55rem; padding: 0 1.5rem .2rem 0; }
.service-proof { top: 96px; }

@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }
  main[id], section[id], form[id], [data-anchor] { scroll-margin-top: 88px; }
  .primary-nav a::after { display: none !important; }
  .page-hero { padding: 2.9rem 0 2.55rem; }
  .page-hero h1 { max-width: 680px; }
  .service-overview-panel, .about-proof-panel, .coverage-panel { max-width: 680px; }
  .services-hero-layout, .about-hero-layout, .areas-hero-layout { gap: 1.5rem; }
}

@media (max-width: 640px) {
  .page-hero { padding: 2.55rem 0 2.25rem; }
  .page-hero h1 { font-size: clamp(2rem,9.5vw,2.45rem); }
  .contact-hero { padding: 2rem 0 1.8rem; }
  .service-overview-list { grid-template-columns: 1fr; }
  .coverage-branches { grid-template-columns: 1fr 1fr; }
  .commercial-hero-image, .commercial-hero-image img { min-height: 280px; height: 280px; }
  .related-link { min-height: 112px; }
}

/* Final pre-launch accessibility and interaction polish */
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq-item + .faq-item { margin-top: .55rem; }
.faq-list .faq-item + .faq-item { margin-top: 0; }
.faq-item h3 { margin: 0; font-family: Inter, system-ui, sans-serif; letter-spacing: 0; }
.faq-trigger { position: relative; width: 100%; min-height: 52px; padding: .85rem 3rem .85rem 1rem; border: 0; background: transparent; color: var(--navy); text-align: left; font-weight: 800; line-height: 1.35; }
.faq-trigger:hover { background: var(--warm-white); }
.faq-trigger:focus-visible { z-index: 1; outline-offset: -3px; }
.faq-symbol { position: absolute; top: 50%; right: 1rem; width: 20px; height: 20px; transform: translateY(-50%); }
.faq-symbol::before, .faq-symbol::after { position: absolute; top: 9px; left: 3px; width: 14px; height: 2px; border-radius: 2px; background: var(--amber-dark); content: ""; }
.faq-symbol::after { transform: rotate(90deg); transition: transform var(--transition); }
.faq-trigger[aria-expanded="true"] .faq-symbol::after { transform: rotate(0); }
.faq-panel { padding: 0 3rem .95rem 1rem; }
.faq-panel p { max-width: 800px; margin: 0; color: var(--muted); }
.conditional-required { color: #8b4300; font-size: .72rem; font-weight: 700; }
.field-error { min-height: 1.15rem; color: #9b2727; font-size: .75rem; font-weight: 700; line-height: 1.35; }
input[aria-invalid="true"] { border-color: #b33131; box-shadow: 0 0 0 1px #b33131; }

@media (max-width: 640px) {
  .faq-trigger { min-height: 48px; padding-block: .8rem; }
  .faq-panel { padding-right: 1rem; }
}
