/* Basement Waterproofing Barrie — site styles
   Light, conservative, trust-first. Navy primary, ice-blue tints, restrained red accent. */

:root {
  --navy: #10395e;
  --navy-deep: #0b2b48;
  --navy-ink: #16324c;
  --blue: #1e5f96;
  --blue-soft: #e8f1f8;
  --ice: #f4f8fb;
  --line: #dbe6ef;
  --ink: #22303e;
  --muted: #55677a;
  --red: #c0392b;
  --red-soft: #fdeeec;
  --white: #ffffff;
  --ok: #1e7f4f;
  --yellow: #F2B705;
  --yellow-dark: #D9A400;
  --yellow-soft: #FFF4CC;
  --yellow-light: #FFD166;
  --shadow: 0 10px 30px rgba(16, 57, 94, .10);
  --shadow-sm: 0 4px 14px rgba(16, 57, 94, .08);
  --radius: 14px;
  --font-head: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-ink); line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.015em; }
h3 { font-size: 1.22rem; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section.tint { background: var(--ice); }
.section.tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.red { color: var(--red); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 720px; margin-top: 14px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cfe0ee;
  font-size: .84rem;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand svg, .brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav > a { white-space: nowrap; }
.nav > a {
  color: var(--navy-ink); font-weight: 600; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav > a:hover { text-decoration: none; color: var(--blue); }
.nav > a.active { border-bottom-color: var(--yellow); }
.nav > a.btn { color: var(--navy-ink); border-bottom-color: var(--yellow); }
.nav > a.btn:hover { color: var(--navy-ink); border-bottom-color: var(--yellow-dark); }

.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.has-sub .caret { width: 10px; height: 10px; }
.sub {
  position: absolute; top: calc(100% + 10px); left: -14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px; min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .18s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--navy-ink); font-weight: 600; font-size: .93rem;
}
.sub a:hover { background: var(--blue-soft); text-decoration: none; }
.sub a span { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.sub.mega { min-width: 560px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sub.mega a { display: flex; gap: 12px; align-items: flex-start; }
.sub.mega a svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.sub.mega .sub-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--muted); }
.sub.mega .sub-foot a { display: inline; padding: 0; color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--yellow); color: var(--navy-ink); font-family: var(--font-head);
  font-weight: 700; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--yellow);
  cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--navy-ink); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--blue-soft); color: var(--navy); }
.btn.light { background: var(--yellow); color: var(--navy-ink); border-color: var(--yellow); }
.btn.light:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn.sm { padding: 10px 18px; font-size: .88rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--navy-ink); }

/* ---------- hero (photo background, dark overlay) ---------- */
.hero { position: relative; overflow: clip; padding: 96px 0 88px; color: #fff; background: var(--navy-deep) url('/assets/img/excavator-site.jpg') center 60% / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 30, 52, .94) 0%, rgba(11, 43, 72, .86) 45%, rgba(11, 43, 72, .55) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--yellow-light); }
.hero .eyebrow { color: var(--yellow-light); }
.hero .lead { margin: 18px 0 10px; color: #d6e4f0; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: #eaf2f8; }
.hero-points svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 3px; }
.hero-points svg path { stroke: #7fd1a3; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn { background: var(--yellow); color: var(--navy-ink); border-color: var(--yellow); }
.hero-ctas .btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.hero-ctas .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero-ctas .btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero-note { margin-top: 14px; font-size: .86rem; color: var(--muted); }
.hero-art { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); background: #fff; border: 1px solid var(--line); padding: 10px; }
.hero-art figcaption { font-size: .8rem; color: var(--muted); text-align: center; padding: 8px 6px 4px; }

/* page hero (inner pages) — photo strip with overlay */
.page-hero { position: relative; overflow: clip; padding: 72px 0 60px; color: #fff; background: var(--navy-deep) url('/assets/img/concrete-dark.jpg') center / cover no-repeat; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 30, 52, .92) 0%, rgba(11, 43, 72, .78) 60%, rgba(16, 57, 94, .6) 100%); }
.page-hero.ph-photo { background-image: var(--ph); background-position: center 40%; }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { margin-top: 14px; color: #d6e4f0; }
.page-hero .crumbs, .page-hero .crumbs a { color: var(--yellow-light); }
.page-hero .crumbs span { color: #fff; }
.page-hero .fact { background: rgba(255, 255, 255, .96); }

/* photo-backed dark band sections */
.section.dark { position: relative; color: #fff; background: var(--navy-deep) url('/assets/img/concrete-dark.jpg') center / cover no-repeat; overflow: clip; }
.section.dark::before { content: ''; position: absolute; inset: 0; background: rgba(8, 30, 52, .82); }
.section.dark.gravel { background-image: url('/assets/img/gravel-dark.jpg'); }
.section.dark.gravel::before { background: rgba(8, 30, 52, .78); }
.section.dark > .wrap { position: relative; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--yellow-light); }
.section.dark .lead, .section.dark p { color: #d6e4f0; }
.section.dark .lead a, .section.dark p a { color: #9ec9e8; text-decoration: underline; text-underline-offset: 3px; }
.section.dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(4px); box-shadow: none; }
.section.dark .card p { color: #c8d8e6; }
.section.dark .card .icon { background: rgba(255, 255, 255, .12); }
.section.dark .card .icon svg path, .section.dark .card .icon svg rect, .section.dark .card .icon svg circle, .section.dark .card .icon svg line { stroke: #9ec9e8; }
.section.dark .card .more { color: #9ec9e8; }
.section.dark .steps .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section.dark .step h3 { color: #fff; }
.section.dark .step p { color: #c8d8e6; }
.section.dark .step::before { background: var(--yellow); color: var(--navy-ink); }
.section.dark .checks b { color: #fff; }
.section.dark .checks span { color: #d6e4f0; }
.section.dark .checks svg path { stroke: #7fd1a3; }
.section.dark .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.section.dark .btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* service cards with photo header */
.card.pic { padding: 0; overflow: clip; }
.card.pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card.pic .cbody { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card.pic .cbody h3 { display: flex; align-items: center; gap: 10px; }
.card.pic .cbody h3 svg { width: 22px; height: 22px; flex-shrink: 0; }
.card.pic .icon { display: none; }
.card.pic .icon svg { display: none; }

/* at-a-glance fact chips */
.facts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 11px 18px; box-shadow: var(--shadow-sm); min-width: 150px; }
.fact small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.fact b { font-family: var(--font-head); color: var(--navy-ink); font-size: .92rem; font-weight: 600; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--navy-ink); font-weight: 600; }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 2; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item svg { width: 30px; height: 30px; flex-shrink: 0; }
.trust-item b { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy-ink); }
.trust-item small { color: var(--muted); font-size: .82rem; line-height: 1.4; display: block; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; margin-top: 40px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--yellow-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card .more { margin-top: 16px; font-weight: 700; font-size: .9rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; margin-top: 40px; }
.steps.h { grid-template-columns: repeat(4, 1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  color: var(--navy-ink); background: var(--yellow);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* numbered vertical list (service pages) */
.numlist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; counter-reset: nl; }
.numlist .n::before { counter-increment: nl; content: counter(nl); }
.numlist li { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.numlist .n {
  font-family: var(--font-head); font-weight: 800; color: var(--navy-ink);
  background: var(--yellow-soft); width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .92rem;
}
.numlist b { color: var(--navy-ink); display: block; margin-bottom: 3px; font-family: var(--font-head); font-size: .98rem; }
.numlist p { color: var(--muted); font-size: .93rem; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .art { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); padding: 12px; }
.split h2 { margin-bottom: 14px; }
.split p + p { margin-top: 12px; }
.split .body p { color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; }
.checks b { color: var(--navy-ink); }

/* warning signs */
.signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.sign { display: flex; gap: 13px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; padding: 16px 18px; align-items: flex-start; }
.sign svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.sign b { color: var(--navy-ink); display: block; font-size: .97rem; }
.sign small { color: var(--muted); font-size: .87rem; line-height: 1.5; display: block; }

/* ---------- comparison table ---------- */
.tablewrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
.cmp thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .92rem; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 600; color: var(--navy-ink); width: 26%; }
.cmp td { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq + h2 { margin-top: 52px; }
.section .wrap > h2:first-child { margin-top: 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: clip; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy-ink);
  position: relative; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%;
  width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .a { padding: 16px 22px 20px; color: var(--muted); font-size: .95rem; }
.faq .a p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; color: #fff; padding: 72px 0; background: var(--navy-deep) url('/assets/img/gravel-dark.jpg') center / cover no-repeat; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8, 30, 52, .9) 0%, rgba(16, 57, 94, .82) 55%, rgba(30, 95, 150, .72) 100%); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #cfe0ee; max-width: 560px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; margin-top: 30px; list-style: none; padding: 0; }
.areas li { display: flex; align-items: center; gap: 9px; font-weight: 500; color: var(--navy-ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 11px 15px; font-size: .94rem; }
.areas svg { width: 16px; height: 16px; flex-shrink: 0; }

.mapframe { margin-top: 40px; border-radius: var(--radius); overflow: clip; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mapframe iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- prose (long-form) ---------- */
.prose { max-width: 780px; }
.prose h2 { margin: 44px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin: 0 0 14px; color: #33445a; }
.prose ul, .prose ol { margin: 0 0 16px; color: #33445a; }
.prose li { margin-bottom: 7px; }
.prose li b, .prose p b { color: var(--navy-ink); }

.callout { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
.callout.warn { background: var(--red-soft); border-left-color: var(--red); }
.callout p { margin: 0; font-size: .95rem; }
.callout b { color: var(--navy-ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 44px; align-items: start; }
.contact-info .item { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .item svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 3px; }
.contact-info b { display: block; font-family: var(--font-head); color: var(--navy-ink); margin-bottom: 2px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: .95rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.form-card h3 { margin-bottom: 6px; }
.form-card .sub-note { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy-ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fdfefe;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field textarea { min-height: 110px; resize: vertical; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 9px; font-size: .93rem; font-weight: 500; }
.form-msg.ok { display: block; background: #e8f6ee; color: var(--ok); border: 1px solid #bfe5cf; }
.form-msg.err { display: block; background: var(--red-soft); color: var(--red); border: 1px solid #f2c9c4; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9cfe1; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.site-footer h4 { color: var(--yellow-light); font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer a { color: #b9cfe1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.f-brand svg, .f-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.f-brand p { font-size: .9rem; line-height: 1.6; max-width: 300px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0; font-size: .8rem; }
.f-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.f-bottom .credit { font-size: .72rem; opacity: .7; }
.f-bottom .credit a { color: #dce9f4; font-weight: 500; }

/* ---------- photos & gallery ---------- */
.photo { position: relative; border-radius: var(--radius); overflow: clip; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin: 0; background: var(--ice); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.035); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(11, 43, 72, .85)); color: #eaf2f8; font-size: .8rem; line-height: 1.45; padding: 34px 16px 12px; }
.photo.ar43 img { aspect-ratio: 4 / 3; }
.photo.ar32 img { aspect-ratio: 3 / 2; }
.photo.tall img { aspect-ratio: 3 / 4; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }
.gallery .photo img { aspect-ratio: 4 / 3; }

.hero-photo { position: relative; }
.hero-photo .photo img { aspect-ratio: 5 / 4; }
.hero-photo .hero-art { padding: 10px 10px 78px; }
.hero-photo .hero-badge { bottom: 14px; }
.hero-badge { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .96); border-radius: 12px; box-shadow: var(--shadow); padding: 13px 16px; display: flex; gap: 12px; align-items: center; font-size: .86rem; }
.hero-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.hero-badge b { color: var(--navy-ink); display: block; font-family: var(--font-head); font-size: .9rem; }
.hero-badge small { color: var(--muted); display: block; line-height: 1.4; }

/* ---------- symptom cards (photo + text) ---------- */
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.symptom { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.symptom img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.symptom .sbody { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.symptom .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.symptom h3 { font-size: 1.08rem; margin-bottom: 8px; }
.symptom p { color: var(--muted); font-size: .92rem; flex: 1; }
.symptom .more { margin-top: 14px; font-weight: 700; font-size: .88rem; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; }
.symptom .more svg { width: 16px; height: 16px; }

/* who we work with */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.aud { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.aud .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--yellow-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.aud .icon svg { width: 24px; height: 24px; }
.aud h3 { font-size: 1.02rem; margin-bottom: 8px; }
.aud p { color: var(--muted); font-size: .9rem; }

/* hire checklist */
.hire { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; counter-reset: hq; }
.hq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 62px; position: relative; }
.hq::before { counter-increment: hq; content: counter(hq); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--navy-ink); font-family: var(--font-head); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.hq b { color: var(--navy-ink); font-family: var(--font-head); font-size: .96rem; display: block; margin-bottom: 4px; }
.hq p { color: var(--muted); font-size: .9rem; }

/* related services strip */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.related a { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--navy-ink); font-weight: 600; font-size: .92rem; transition: .18s ease; }
.related a:hover { text-decoration: none; border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.related a svg { width: 22px; height: 22px; flex-shrink: 0; }

/* process timeline */
.timeline { position: relative; margin-top: 44px; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl { position: relative; padding: 0 0 36px 84px; }
.tl:last-child { padding-bottom: 0; }
.tl .dot { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: var(--navy-ink); }
.tl h3 { margin-bottom: 8px; }
.tl .when { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B27D00; margin-bottom: 8px; }
.tl p { color: #33445a; max-width: 720px; }
.tl p + p { margin-top: 8px; }
.tl ul { margin: 10px 0 0; color: #33445a; }
.tl li { margin-bottom: 5px; }

@media (max-width: 1020px) {
  .symptoms { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .sub.mega { min-width: 0; display: block; }
}
@media (max-width: 680px) {
  .symptoms, .audience, .hire, .related { grid-template-columns: 1fr; }
  .tl { padding-left: 66px; }
  .tl .dot { width: 44px; height: 44px; }
  .timeline::before { left: 21px; }
}

/* ---------- emergency bar ---------- */
.alertbar { background: var(--red-soft); border-top: 1px solid #f2c9c4; border-bottom: 1px solid #f2c9c4; }
.alertbar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.alertbar svg { width: 20px; height: 20px; flex-shrink: 0; }
.alertbar b { color: #8f2a1f; font-family: var(--font-head); font-size: .95rem; }
.alertbar a { font-weight: 700; color: var(--red); white-space: nowrap; }

/* ---------- guides ---------- */
.g-meta { display: flex; gap: 14px; font-size: .8rem; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.prose .toc { background: var(--ice); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 0 0 28px; }
.prose .toc b { font-family: var(--font-head); color: var(--navy-ink); display: block; margin-bottom: 8px; }
.prose .toc ol { margin: 0; padding-left: 1.2em; }
.prose .toc li { margin-bottom: 4px; font-size: .93rem; }

/* second opinion band */
.second { background: var(--blue-soft); border: 1px solid #d3e4f2; border-radius: var(--radius); padding: 40px 44px; display: grid; grid-template-columns: 1.5fr auto; gap: 28px; align-items: center; }
.second h2 { margin-bottom: 10px; }
.second p { color: #33445a; max-width: 640px; }
@media (max-width: 1020px) { .second { grid-template-columns: 1fr; padding: 30px 26px; } }

/* ---------- sticky mobile CTA ---------- */
.mcta { display: none; }
@media (max-width: 680px) {
  .mcta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(11, 43, 72, .97); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 22px rgba(16, 57, 94, .28); }
  .mcta .btn { width: 100%; background: var(--yellow); color: var(--navy-ink); border-color: var(--yellow); }
  body { padding-bottom: 68px; }
}

/* ---------- focus & misc polish ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* 404 */
.notfound { text-align: center; padding: 96px 0; }
.notfound .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); color: var(--blue-soft); -webkit-text-stroke: 2px var(--blue); line-height: 1; }
.notfound h1 { margin: 18px 0 10px; }
.notfound p { color: var(--muted); max-width: 480px; margin: 0 auto 26px; }

/* ---------- reveal ---------- */
/* progressive: hidden only when JS has taken over (html.js) — never invisible without it */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; max-height: calc(100vh - 76px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav > a.active { border-bottom-color: var(--red); }
  .nav .btn { margin-top: 14px; }
  .has-sub { border-bottom: 1px solid var(--line); }
  .has-sub > a { width: 100%; padding: 13px 4px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
  .nav-toggle { display: block; }
  .hero .wrap, .split, .cta-band .wrap, .contact-grid { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .grid.c3, .grid.c4, .steps.h { grid-template-columns: repeat(2, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .split .art, .split .photo { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .grid.c2, .grid.c3, .grid.c4, .steps.h, .signs, .f2 { grid-template-columns: 1fr; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 24px 20px; }
  .topbar { display: none; }
  .gallery, .gallery.g2 { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .areas { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
