/* ==========================================================================
   Stitches For Bounces — shared stylesheet
   Design tokens + reusable components (buttons, cards, badges, forms)
   ========================================================================== */

:root {
  --navy: #0a2547;
  --navy-dark: #071a35;
  --navy-light: #123a6b;
  --red: #e01a1f;
  --red-dark: #b8151a;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #eef1f5;
  --gray-200: #dde3ea;
  --gray-400: #94a1b3;
  --gray-600: #5b6779;
  --gray-800: #29323f;
  --ink: #101820;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 18px rgba(10, 37, 71, 0.10);
  --shadow-lg: 0 12px 32px rgba(10, 37, 71, 0.18);
  --max-width: 1180px;
  --font: "Rubik", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 3.5rem 0; }
.section-tight { padding: 2.25rem 0; }
.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }
.section-subhead { color: var(--navy); font-size: 1.2rem; font-weight: 700; margin: 0 0 .6rem; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--red); color: #fff;
  padding: .75rem 1.25rem; z-index: 1000; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .98rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  line-height: 1.1;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: var(--shadow); }
.btn-red:hover { background: var(--red-dark); box-shadow: var(--shadow-lg); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

/* ---------- Badges / trust cues ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 1.5rem; }
.hero-ctas-row .badge-row { margin-top: 0; gap: 1.1rem 1.5rem; }
.badge {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .92rem; color: var(--white);
}
.badge .icon {
  width: 34px; height: 34px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--red); border-radius: 50%; color: var(--red); background: rgba(255,255,255,.94);
}
.badge .icon svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 500; }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; transition: padding .25s ease; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { height: 132px; width: auto; transition: height .25s ease; }
.brand-text { display: none; }
.header-contact { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.contact-link { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); text-decoration: none; font-size: .98rem; }
.contact-link svg { width: 19px; height: 19px; color: var(--red); flex: none; }
.contact-link .sub { display: block; font-weight: 500; font-size: .74rem; color: var(--gray-600); transition: opacity .2s ease, max-height .2s ease; }
.header-cta { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.header-cta small { color: var(--gray-600); font-size: .74rem; font-weight: 600; transition: opacity .2s ease, max-height .2s ease; }

/* Shrunk state once the page is scrolled — logo/padding shrink, contact info stays legible */
.site-header.is-scrolled .header-top { padding: .4rem 0; }
.site-header.is-scrolled .brand img { height: 74px; }
.site-header.is-scrolled .contact-link .sub,
.site-header.is-scrolled .header-cta small { opacity: 0; max-height: 0; overflow: hidden; }
.site-header.is-scrolled .nav-list a { padding: .6rem 1.15rem; }

.main-nav { background: var(--navy); }
.main-nav .container { display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: .95rem 1.15rem; color: var(--white); text-decoration: none;
  font-weight: 600; font-size: .95rem; border-bottom: 3px solid transparent;
  transition: padding .25s ease;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--red); background: rgba(255,255,255,.05); }

.nav-toggle {
  display: none; background: var(--navy); color: var(--white); border: none;
  width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center 42%;
  background-color: var(--navy);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,26,53,.62) 0%, rgba(7,26,53,.46) 38%, rgba(7,26,53,.2) 68%, rgba(7,26,53,.08) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 2.75rem 0; max-width: none; width: 100%; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 3.8rem); text-transform: uppercase; letter-spacing: .01em; margin-bottom: .6rem; max-width: 780px; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.hero .lede { font-size: 1.15rem; color: rgba(255,255,255,.96); max-width: 520px; margin-bottom: 1.5rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-ctas-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  position: relative;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 620px; font-size: 1.05rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: .75rem; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--off-white); border-bottom: 1px solid var(--gray-200); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; padding: 2rem 0; text-align: center;
  max-width: 880px; margin: 0 auto;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.trust-item .num { font-size: 1.9rem; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: .4rem; }
.trust-item .num svg { width: 26px; height: 26px; color: var(--red); }
.trust-item .label { font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--gray-600); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
#services .grid-3 > :nth-child(7):last-child { grid-column: 2; }
#services .section-head h2,
#why-choose-us .section-head h2,
#reviews .section-head h2 { font-size: clamp(2.3rem, 4.8vw, 3.4rem); }
#reviews .grid-3 > :nth-child(10):last-child { grid-column: 2; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-card { padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.service-card:active,
.service-card.is-touch-active {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.service-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); position: relative; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge {
  position: absolute; left: .9rem; right: .9rem; bottom: .9rem;
  display: flex; flex-direction: column; align-items: center;
  background: var(--navy); color: var(--white);
  font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  text-align: center;
  padding: .55rem 1rem .5rem;
  border-radius: 999px;
  border: 1.5px solid var(--red);
  box-shadow: 0 6px 16px rgba(10, 37, 71, .35);
}
.photo-badge::after {
  content: ""; display: block; width: 1.75rem; height: 2px;
  background: var(--red); margin-top: .3rem; border-radius: 2px;
}
@media (max-width: 640px) {
  .photo-badge { font-size: .74rem; padding: .5rem .85rem .45rem; }
}
.service-card .body { padding: 1.5rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.service-card p { color: var(--gray-600); font-size: .92rem; margin-bottom: 1rem; flex: 1; }
.service-card .link { font-weight: 700; color: var(--red); text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .3rem; }
a.service-card { text-decoration: none; color: inherit; }
a.service-card:hover .link,
a.service-card:active .link { text-decoration: underline; }
a.service-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.video-layout {
  display: grid; grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 2.5rem; align-items: center; max-width: 900px; margin: 0 auto;
}
.lite-yt {
  position: relative; width: 100%; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden; background: var(--navy);
  box-shadow: var(--shadow-lg); cursor: pointer;
}
.lite-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lite-yt-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 37, 71, .18); border: none; padding: 0; cursor: pointer;
  transition: background .18s ease;
}
.lite-yt-play svg {
  width: 4.2rem; height: 4.2rem; color: var(--white);
  background: var(--red); border-radius: 50%; padding: 1.1rem;
  box-shadow: 0 8px 20px rgba(10, 37, 71, .45);
  transition: transform .18s ease;
}
.lite-yt-play:hover svg { transform: scale(1.08); }
.lite-yt-play:hover { background: rgba(10, 37, 71, .3); }
.lite-yt iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.video-copy h3 { margin-bottom: .6rem; }
.video-copy p { color: var(--gray-600); margin-bottom: 1rem; }
.video-copy .link { font-weight: 700; color: var(--red); text-decoration: none; font-size: .95rem; }
.video-copy .link:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .video-layout { grid-template-columns: 1fr; gap: 1.5rem; justify-items: center; text-align: center; }
  .lite-yt { max-width: 320px; }
  .video-copy { max-width: 420px; }
}

.serve-card { padding: 1.75rem 1.5rem; text-align: center; align-items: center; }
.serve-icon {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.serve-icon svg { width: 1.7rem; height: 1.7rem; color: var(--white); }
.serve-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.serve-card p { color: var(--gray-600); font-size: .9rem; margin: 0; }

.process-card { text-align: center; }
.process-card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--gray-100); position: relative; }
.process-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.process-card .body { padding: 1rem 1rem 1.25rem; }
.process-card .body p { color: var(--gray-600); font-size: .85rem; font-weight: 600; margin: 0; }

.badge-pill {
  display: inline-block; background: var(--gray-100); color: var(--navy);
  border-radius: 999px; padding: .3rem .85rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- Proof / gallery ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.proof-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--gray-200); }
.proof-card figure { margin: 0; }
.proof-card img { width: 100%; height: 320px; object-fit: cover; }
.proof-card figcaption { padding: 1.1rem 1.25rem; }
.proof-card .tag { color: var(--red); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: .35rem; }
.proof-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.proof-card p { color: var(--gray-600); font-size: .92rem; margin: 0; }

/* ---------- Real before/after photo gallery ---------- */
.category-nav {
  position: sticky; top: 0; z-index: 15; background: var(--off-white); background: rgba(247, 246, 243, .96);
  backdrop-filter: saturate(1.2) blur(2px); display: flex; gap: .5rem; flex-wrap: nowrap;
  overflow-x: auto; padding: .85rem 0; margin-bottom: .5rem; border-bottom: 1px solid var(--gray-200);
  scrollbar-width: thin;
}
.category-nav a {
  flex: 0 0 auto; display: inline-block; background: var(--white); color: var(--navy);
  border: 1px solid var(--gray-200); border-radius: 999px; padding: .45rem 1rem;
  font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.category-nav a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.ba-category-heading {
  font-size: 1.05rem; color: var(--navy); margin: 2.25rem 0 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--gray-200);
  scroll-margin-top: 4.5rem;
}
.ba-category-heading:first-of-type { margin-top: 1.5rem; }
.ba-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.ba-pair { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--gray-200); }
.ba-pair .ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--gray-200); }
.ba-pair .ba-images.one { grid-template-columns: 1fr; }
.ba-pair .ba-images figure { margin: 0; position: relative; }
.ba-pair .ba-images img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ba-pair .ba-images figcaption {
  position: absolute; top: .5rem; left: .5rem; background: rgba(10, 37, 71, .85); color: var(--white);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .6rem; border-radius: 999px;
}
.ba-pair .ba-images figcaption.after { background: rgba(224, 26, 31, .9); }

.work-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.work-photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work-photo-grid img { width: 100%; height: 190px; object-fit: cover; display: block; }

@media (max-width: 560px) {
  .ba-pair .ba-images img { height: 150px; }
  .work-photo-grid img { height: 150px; }
}

/* ---------- Category carousel (Our Work page) ---------- */
.category-carousel { margin-bottom: 2.5rem; }
.carousel-stage {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--gray-900, #111); aspect-ratio: 4 / 3; max-height: 560px;
}
.carousel-slide {
  margin: 0; position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-slide .thumb-tag {
  position: absolute; top: .75rem; left: .75rem; background: rgba(10, 37, 71, .88); color: var(--white);
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .3rem .75rem; border-radius: 999px;
}
.carousel-slide .thumb-tag.after { background: rgba(224, 26, 31, .92); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(10, 37, 71, .55); color: var(--white); font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.carousel-arrow:hover { background: rgba(10, 37, 71, .8); }
.carousel-arrow.prev { left: .75rem; }
.carousel-arrow.next { right: .75rem; }
.carousel-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding-top: .65rem; scrollbar-width: thin; }
.carousel-thumb {
  flex: 0 0 auto; width: 84px; height: 62px; padding: 0; border-radius: 6px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; position: relative; background: none; opacity: .65;
  transition: opacity .15s ease, border-color .15s ease;
}
.carousel-thumb:hover { opacity: .9; }
.carousel-thumb.is-active { opacity: 1; border-color: var(--red); }
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-thumb-tag {
  position: absolute; bottom: .2rem; left: .2rem; background: rgba(10, 37, 71, .85); color: var(--white);
  font-size: .58rem; font-weight: 700; padding: .05rem .35rem; border-radius: 3px;
}
.carousel-thumb-tag.after { background: rgba(224, 26, 31, .9); }

@media (max-width: 560px) {
  .carousel-stage { aspect-ratio: 4 / 3.4; }
  .carousel-thumb { width: 68px; height: 50px; }
}

.repair-list-strip {
  display: flex; flex-wrap: wrap; gap: .6rem 0; padding: 1.25rem 0; color: var(--gray-700, #4b5768);
  font-size: .92rem;
}
.repair-list-strip span { padding: 0 .9rem; border-right: 1px solid var(--gray-200); }
.repair-list-strip span:last-child { border-right: none; }

/* ---------- Why Choose Us ---------- */
.check-list-2col { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2.5rem; }
.check-list-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem 2rem; }
@media (max-width: 700px) {
  .check-list-3col { grid-template-columns: 1fr; }
}

/* ---------- Reviews ---------- */
.reviews-summary {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 999px;
  padding: .75rem 1.5rem; box-shadow: var(--shadow); margin: 0 auto 2.5rem; font-weight: 700;
}
.reviews-summary-wrap { text-align: center; }
.reviews-summary .g-icon { width: 22px; height: 22px; flex: none; }
.reviews-summary .score { color: var(--navy); font-size: 1.15rem; }
.reviews-summary .stars { color: #fbbc04; letter-spacing: 1px; font-size: 1.1rem; }
.reviews-summary .count { color: var(--gray-600); font-weight: 600; }
.review-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.75rem 1.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.review-avatar {
  width: 64px; height: 64px; border-radius: 50%; color: var(--white); font-weight: 700;
  font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.review-stars { color: #fbbc04; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: .9rem; }
.review-text { color: var(--ink); font-size: .98rem; margin-bottom: 1.1rem; }
.review-meta { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--gray-600); margin-top: auto; }
.review-meta .g-icon { width: 16px; height: 16px; flex: none; }
.review-meta strong { color: var(--ink); font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--off-white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
}
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 1.25rem; flex-wrap: wrap; }
.cta-banner .msg { display: flex; align-items: center; gap: .85rem; }
.cta-banner .msg svg { width: 30px; height: 30px; color: var(--navy); flex: none; }
.cta-banner .msg strong { display: block; color: var(--navy); font-size: 1.02rem; }
.cta-banner .msg span { color: var(--gray-600); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.15rem 0; font-weight: 700; font-size: 1.02rem; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: inherit;
}
.faq-q .plus { width: 24px; height: 24px; flex: none; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--red); border-radius: 2px;
}
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 3px; margin-top: -1.5px; }
.faq-q .plus::after { left: 50%; top: 0; height: 100%; width: 3px; margin-left: -1.5px; transition: transform .2s ease; }
.faq-item[open] .plus::after { transform: rotate(90deg) scale(0); }
.faq-a { padding: 0 0 1.25rem; color: var(--gray-600); }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 2rem; border: 1px solid var(--gray-200);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .88rem; color: var(--navy); }
.form-field .req { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--navy-light); outline-offset: 1px; border-color: var(--navy-light); }
.form-hint { font-size: .8rem; color: var(--gray-600); }

.file-drop {
  border: 2px dashed var(--gray-400); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; cursor: pointer; background: var(--off-white);
  transition: border-color .15s ease, background .15s ease;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--red); background: #fff5f5; }
.file-drop svg { width: 30px; height: 30px; color: var(--navy); margin-bottom: .5rem; }
.file-drop strong { color: var(--navy); }
.file-drop input[type="file"] { display: none; }
.file-preview { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.file-preview .thumb {
  width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--gray-200); position: relative; background: var(--gray-100);
}
.file-preview .thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-preview .thumb button {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(10,37,71,.85); color: #fff; border: none; font-size: .7rem; line-height: 1; cursor: pointer;
}

.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: #e6f6ec; color: #146c3c; border: 1px solid #b6e3c6; }
.form-status.error { background: #fdeceb; color: #a3221c; border: 1px solid #f4bab6; }

.quote-note {
  display: flex; gap: .75rem; background: #fff8e6; border: 1px solid #f2d888; color: #6b5108;
  padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: 1.25rem;
}
.quote-note svg { width: 20px; height: 20px; flex: none; }

/* ---------- Info blocks ---------- */
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: .1rem; }

.area-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.area-tag { background: var(--gray-100); color: var(--navy); font-weight: 700; font-size: .85rem; padding: .45rem .9rem; border-radius: 999px; }

.instructor-card { display: flex; gap: 1.5rem; align-items: flex-start; }
.instructor-card img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; flex: none; box-shadow: var(--shadow); }
.instructor-card h3 { margin-bottom: .2rem; }
.instructor-card .role { color: var(--red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .6rem; display: block; }
.instructor-bio .more { display: none; }
.instructor-bio.is-expanded .more { display: inline; }
.instructor-bio .toggle-bio { background: none; border: none; color: var(--red); font-weight: 700; cursor: pointer; padding: 0; font: inherit; font-size: .88rem; }

.stat-block { text-align: center; }
.stat-block .n { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.stat-block .l { color: var(--gray-600); font-weight: 600; font-size: .9rem; }

.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-grid h4 { color: var(--white); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-brand img { height: 66px; margin-bottom: 1rem; filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.footer-grid p { color: rgba(255,255,255,.68); font-size: .9rem; }
.footer-grid ul { list-style: none; display: grid; gap: .6rem; }
.footer-grid a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .92rem; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: .15rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; font-size: .8rem;
  color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col img { max-height: 340px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  #services .grid-3 > :nth-child(7):last-child { grid-column: auto; }
  #reviews .grid-3 > :nth-child(10):last-child { grid-column: auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .brand img { height: 92px; }
  .site-header.is-scrolled .brand img { height: 56px; }
  .header-top { flex-wrap: wrap; row-gap: .6rem; }
  .header-contact .contact-link.email { display: none; }
  .contact-link .sub { display: none; }
  .header-cta small { display: none; }
  .header-cta { order: 3; width: 100%; flex-direction: row; justify-content: flex-end; }
  .nav-toggle { display: flex; }
  .main-nav .container { justify-content: flex-start; }
  .nav-list {
    display: none; flex-direction: column; width: 100%; position: absolute;
    left: 0; right: 0; top: 100%; background: var(--navy); box-shadow: var(--shadow-lg);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav { position: relative; }
  .hero { min-height: 340px; background-position: center 38%; }
  .hero-inner { padding: 2.5rem 0; max-width: 100%; }
  .hero-ctas-row { gap: 1rem 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 2.5rem 0 2rem; }
  .instructor-card { flex-direction: column; align-items: center; text-align: center; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .check-list-2col { grid-template-columns: 1fr; }
  #services .grid-3 > :nth-child(7):last-child { grid-column: auto; }
  #reviews .grid-3 > :nth-child(10):last-child { grid-column: auto; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner .msg { flex-direction: column; }
  section { padding: 2.5rem 0; }
}

@media (max-width: 500px) {
  .brand img { height: 74px; }
  .site-header.is-scrolled .brand img { height: 48px; }
  .header-top { padding: .65rem 0; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: auto; }
}
