/* Layout concept: roofline-and-blueprint. Bright white working pages, navy "job-site" bands,
   gold used only for the action you want the visitor to take. Slanted condensed type echoes the logo. */
:root {
  --navy: #0B1B3F;        /* logo outline navy, fixed in both themes */
  --royal: #1D4FB3;       /* logo shirt blue */
  --sky: #4DB2EE;         /* azul celeste */
  --gold: #FFC21A;        /* call-to-action only */
  --gold-ink: #241A00;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9C7E3;
  --bg: #FFFFFF;
  --surface: #F3F7FC;
  --surface-2: #E7F2FC;
  --text: #0B1B3F;
  --muted: #4A5878;
  --line: #D8E2EF;
  --link: #1D4FB3;
  --band: #0B1B3F;
  --band-2: #13285A;
  --shadow: 0 10px 30px -12px rgba(11, 27, 63, .28);
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07122A; --surface: #0D1C3D; --surface-2: #12274F; --text: #EAF1FB; --muted: #A9B8D4;
    --line: #20345F; --link: #7FB8FF; --band: #040B1C; --band-2: #0B1A3B;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07122A; --surface: #0D1C3D; --surface-2: #12274F; --text: #EAF1FB; --muted: #A9B8D4;
  --line: #20345F; --link: #7FB8FF; --band: #040B1C; --band-2: #0B1A3B;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.02; margin: 0;
  text-wrap: balance; letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-style: italic; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; font-style: italic; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0; }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--royal); display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--gold); border-radius: 2px; }
.band .eyebrow, .hero .eyebrow { color: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--gold); color: var(--gold-ink); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; border-radius: 8px; padding: .8rem 1.4rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 6px 0 #C79300; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #C79300; }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 2px 0 #C79300; }
.btn-ghost { border-color: currentColor; color: var(--on-dark); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-blue { background: var(--royal); color: #fff; }
.btn-blue:hover { background: #163f91; }

/* Top bar + header */
.topbar { background: var(--navy); color: var(--on-dark-muted); font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; padding-block: 7px; }
.topbar a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
.status.closed i { background: #F2A33A; box-shadow: 0 0 0 3px rgba(242,163,58,.25); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 58px; height: auto; }
.brand b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.5rem; line-height: .9; text-transform: uppercase; }
.brand b span { color: var(--gold); -webkit-text-stroke: .6px var(--navy); }
.brand small { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; font-size: .72rem; color: var(--muted); text-transform: uppercase; font-style: normal; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav .dd > button:hover, .nav a[aria-current="page"] { color: var(--royal); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: none;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: grid; }
.dd-menu a { padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--text); font-weight: 600; }
.dd-menu a:hover { background: var(--surface-2); color: var(--royal); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: .6rem 1rem; font-size: 1.05rem; }
.menu-btn { display: none; background: none; border: 2px solid var(--line); border-radius: 8px; padding: 8px; color: var(--text); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; display: block; }
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .dd-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .header-cta .btn-call-text { display: none; }
}
@media (max-width: 520px) { .brand small { display: none; } .brand img { width: 48px; } .header-cta .btn { padding: .55rem .8rem; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    linear-gradient(180deg, rgba(11,27,63,0) 70%, rgba(11,27,63,.4)),
    radial-gradient(1000px 500px at 85% 20%, rgba(77,178,238,.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #12306E 60%, var(--royal) 100%);
}
.hero::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 4% 2%; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,178,238,.55), rgba(77,178,238,0) 70%);
}
.hero-art img { position: relative; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 22px 26px rgba(0,0,0,.35)); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.page-hero .wrap { grid-template-columns: 1fr; padding-block: clamp(40px, 6vw, 72px); }
.page-hero .hero-copy { max-width: 820px; }
.crumbs { font-size: .9rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark); }
.roofline { display: block; width: 100%; height: 34px; color: var(--bg); margin-top: -1px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: min(80%, 320px); order: -1; }
}

/* Trust strip */
.trust { background: var(--bg); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; gap: 12px; align-items: center; font-weight: 600; line-height: 1.25; }
.trust li b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-style: italic; color: var(--royal); line-height: 1; }
.trust svg { width: 38px; height: 38px; flex: none; color: var(--sky); }
@media (max-width: 860px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.svc-card {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky); }
.svc-card .ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--royal); }
.svc-card .ico svg { width: 30px; height: 30px; }
.svc-card p { color: var(--muted); font-size: .98rem; }
.svc-card .more { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--royal); }
.svc-card.cta-card { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.svc-card.cta-card p { color: var(--on-dark-muted); }
.svc-card.cta-card .more { color: var(--gold); }
.svc-card.cta-card .ico { background: rgba(255,255,255,.1); color: var(--gold); }

.alt { background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--sky)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B3F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.big-stat { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(5rem, 12vw, 8rem); line-height: .8; color: var(--royal); }
.big-stat span { color: var(--gold); -webkit-text-stroke: 2px var(--navy); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 4px solid var(--royal); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2.4rem; color: var(--sky); line-height: 1; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Reviews */
.reviews-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.g-badge { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px 10px 12px; }
.g-badge .g { width: 40px; height: 40px; }
.g-badge b { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.stars { color: #FBBC04; letter-spacing: 2px; font-size: 1.15rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }
.review { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.review header { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--royal); flex: none; }
.review header div { display: grid; line-height: 1.2; }
.review small { color: var(--muted); }
.review .gmark { margin-left: auto; width: 22px; height: 22px; }
.review blockquote { margin: 0; color: var(--text); }
.sample-tag { justify-self: start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface-2); color: var(--muted); padding: 3px 8px; border-radius: 4px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  background: rgba(255,255,255,.08); color: var(--on-dark); border: 1px solid rgba(255,255,255,.18); font-weight: 600;
}
.areas a:hover { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.areas svg { width: 16px; height: 16px; color: var(--gold); }
.band { background: var(--band); color: var(--on-dark); }
.band .lead { color: var(--on-dark-muted); }
.band h2 { color: var(--on-dark); }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .area-list { grid-template-columns: 1fr; } }
.area-item { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: grid; gap: 10px; scroll-margin-top: 110px; }
.area-item h2 { font-size: 1.7rem; }
.area-item p { color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--royal), #12306E); color: var(--on-dark); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 48px; }
.cta-band p { color: var(--on-dark-muted); margin-top: 8px; }
.cta-band .hero-actions .btn-ghost { color: var(--on-dark); }

/* Service page body */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.svc-layout > * { min-width: 0; }
.svc-main { display: grid; gap: 44px; }
.svc-main section { display: grid; gap: 16px; }
.svc-main h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.svc-main p { max-width: 68ch; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; align-content: start; }
.feature h3 { font-size: 1.25rem; color: var(--royal); }
.feature p { color: var(--muted); font-size: .97rem; }
.aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.quote-box { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.quote-box h3 { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 1.7rem; }
.quote-box p { color: var(--on-dark-muted); }
.quote-box .phone { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--gold); text-decoration: none; }
.side-links { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; }
.side-links strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.side-links a { text-decoration: none; color: var(--text); padding: 7px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.side-links a:hover { color: var(--royal); }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } .aside { position: static; } }
details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
details + details { margin-top: 10px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--royal); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--muted); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }
.tile {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px dashed var(--line); color: var(--muted); padding: 16px;
}
.tile svg { width: 46px; height: 46px; color: var(--sky); margin: 0 auto 8px; }
.tile span { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-slot { aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); background: var(--navy); color: var(--on-dark-muted); display: grid; place-items: center; text-align: center; padding: 20px; }
.video-slot svg { width: 64px; height: 64px; color: var(--gold); margin: 0 auto 10px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
form.estimate { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
form.estimate .full { grid-column: 1 / -1; }
@media (max-width: 560px) { form.estimate { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%;
}
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; background: var(--surface-2); font-weight: 600; }
.info-list { display: grid; gap: 18px; }
.info-list div { display: grid; gap: 2px; }
.info-list dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); font-size: .9rem; }
.info-list dd { margin: 0; font-size: 1.15rem; font-weight: 600; }
.info-list a { color: var(--text); }

/* Footer */
.site-footer { background: var(--band); color: var(--on-dark-muted); font-size: .97rem; }
.site-footer .wrap { padding-block: 56px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark); margin: 0 0 12px; font-size: 1.05rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-brand { display: grid; gap: 14px; }
.foot-brand img { width: 120px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; }
.legal a { color: var(--on-dark); font-weight: 600; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    background: var(--navy); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--on-dark); background: rgba(255,255,255,.1); }
  .mobile-bar a.go { background: var(--gold); color: var(--gold-ink); }
  .mobile-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.nav > a, .nav .dd > button, .btn { white-space: nowrap; }
@media (max-width: 1240px) { .header-cta .btn-call-text { display: none; } }

/* Project photos */
.shot { margin: 0; display: grid; gap: 8px; align-content: start; }
.shot .lb-open { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; display: block; }
.shot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s ease; }
.shot .lb-open:hover img { transform: scale(1.04); }
.shot figcaption { font-size: .95rem; color: var(--muted); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.stage { font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); color: var(--royal); }
.stage.s-after { background: var(--gold); color: var(--gold-ink); }
.stage.s-before { background: var(--navy); color: var(--on-dark); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr 1fr; } }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; max-width: 560px; } }
.ba { display: grid; gap: 10px; align-content: start; }
.ba-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius); overflow: hidden; }
.ba-pics figure { margin: 0; position: relative; }
.ba-pics img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ba-pics .stage { position: absolute; left: 8px; top: 8px; }
.ba .more { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); }
.lightbox::backdrop { background: rgba(5, 12, 30, .85); }
.lightbox img { width: 100%; border-radius: var(--radius); }
.lightbox p { color: #fff; margin-top: 8px; text-align: center; font-weight: 600; }
.lb-close { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(11,27,63,.85); color: #fff; font-size: 22px; cursor: pointer; }
.gallery .tile { aspect-ratio: 1 / 1; }
@media (max-width: 1360px) { .header-cta .btn-call-text { display: none; } }
.brand small { white-space: nowrap; }
@media (max-width: 1500px) { .header-cta .btn-call-text { display: none; } }
.nav > a, .nav .dd > button { padding: 10px 9px; }
@media (max-width: 1160px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .dd-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 12px; }
}

/* Homepage quick-estimate form */
.hero-form { position: relative; justify-self: end; width: min(100%, 430px); padding-top: 104px; min-width: 0; }
.hero-form .peek { position: absolute; top: 0; right: 18px; width: 150px; z-index: 1; filter: drop-shadow(0 12px 16px rgba(0,0,0,.35)); animation: float 5s ease-in-out infinite; }
.hero form.quick { position: relative; z-index: 2; color: var(--text); gap: 12px; padding: 24px; }
.quick-head { display: grid; gap: 2px; }
.quick-head h2 { font-size: 2rem; color: var(--text); }
.quick-head p { color: var(--muted); font-size: .97rem; }
.hero form.quick input, .hero form.quick select { padding: 11px 12px; }
.hero form.quick .btn { width: 100%; }

/* Phone sizing pass */
@media (max-width: 860px) {
  .hero-form { justify-self: stretch; width: 100%; padding-top: 0; }
  .hero-form .peek { display: none; }
  .hero .wrap { gap: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.15rem, 10vw, 2.8rem); }
  h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .lead { font-size: 1.05rem; }
  .section { padding-block: 48px; }
  .section-head { margin-bottom: 26px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .btn { font-size: 1.05rem; padding: .85rem 1rem; }
  .trust ul { gap: 14px 10px; padding: 18px 0; }
  .trust li { font-size: .9rem; gap: 8px; }
  .trust svg { width: 30px; height: 30px; }
  .trust li b { font-size: 1.3rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 20px; }
  .panel { padding: 22px; }
  .big-stat { font-size: 5rem; }
  .ba-grid { grid-template-columns: 1fr; }
  .reviews-top { gap: 14px; }
  .review { padding: 20px; }
  .areas a { padding: 8px 12px; font-size: .92rem; }
  .cta-band .wrap { padding-block: 36px; }
  .cta-band .hero-actions { width: 100%; }
  .topbar .wrap { justify-content: center; text-align: center; font-size: .82rem; }
  .topbar .wrap > span:last-child { display: none; }
  .svc-main { gap: 34px; }
  .feature-grid { gap: 10px; }
  .quote-box .phone { font-size: 1.7rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -4px; scrollbar-width: none; }
  .filters button { flex: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shot figcaption { font-size: .82rem; }
  .area-item { padding: 18px; }
  .area-item h2 { font-size: 1.5rem; }
  .crumbs { font-size: .82rem; }
  input, select, textarea { font-size: 16px; }
  .info-list dd { font-size: 1.05rem; overflow-wrap: anywhere; }
  .site-footer .wrap { padding-block: 40px 22px; }
  .legal { flex-direction: column; }
}
/* Phone fixes round 2 */
.brand b { white-space: nowrap; }
.mobile-bar a { white-space: nowrap; }
.ba .more { padding-block: 8px; justify-self: start; }
@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { grid-template-columns: 1fr 1fr 1.5fr; }
  .mobile-bar a { font-size: 1rem; }
}
@media (max-width: 600px) {
  .hero-actions .btn-ghost[href="gallery.html"] { display: none; }
  .hero .lead { font-size: 1rem; }
  .hero .wrap { padding-block: 32px 40px; }
  .hero-copy { gap: 16px; }
}
@media (max-width: 380px) { .header-cta .btn-gold { font-size: .95rem; padding: .5rem .7rem; } .brand b { font-size: 1.3rem; } }
