﻿
/* ==========================================================================
   Richmond Beach Open Arms AFH â€” single-file build
   Design tokens: deep forest-teal + warm gold + sage, grounded in the
   Richmond Beach shoreline (Shoreline, WA). Signature motif: a soft tideline
   divider marking the transition between hero and content, and a
   "porch step" rhythm on trust/credential rows.
   ========================================================================== */

:root {
  --teal-900: #14302C;
  --teal-800: #1D3F3A;
  --teal-700: #2A4F49;
  --teal-600: #3B665F;
  --gold-600: #B3873C;
  --gold-500: #C79A4B;
  --gold-300: #E4C486;
  --sage-600: #6E8871;
  --sage-500: #8FA891;
  --sage-200: #D9E4D6;
  --cream-50: #F8F4EA;
  --cream-100: #F1EADA;
  --ink-900: #22302B;
  --ink-700: #445048;
  --ink-500: #6B756E;
  --white: #FFFFFF;
  --line: rgba(34, 48, 43, 0.12);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Segoe UI", Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 12px 30px -14px rgba(20, 48, 44, 0.28);
  --shadow-card: 0 8px 24px -12px rgba(20, 48, 44, 0.22);

  --topbar-h: 40px;
  --header-h: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-3); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-900);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); display: inline-block; }

.lede { font-size: 1.15rem; color: var(--ink-700); max-width: 60ch; }

:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; border-radius: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.9em 1.6em; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  border: 2px solid transparent;
  transition: box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold-500); color: var(--teal-900); box-shadow: var(--shadow-soft); }
.btn-gold:hover { background: var(--gold-600); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-teal { background: var(--teal-800); color: var(--cream-50); }
.btn-teal:hover { background: var(--teal-900); }

.topbar { background: var(--teal-900); color: var(--cream-100); font-size: 0.86rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: var(--space-4); min-height: var(--topbar-h); flex-wrap: wrap; }
.topbar-link { display: inline-flex; align-items: center; gap: 0.4em; opacity: 0.92; transition: opacity 0.2s ease, color 0.2s ease; background:none; border:none; color:inherit; min-width: 0; }
.topbar-link:hover { opacity: 1; color: var(--gold-300); }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar-address { display: none; }
.topbar-email-text { min-width: 0; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream-50);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(20,48,44,0.35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; flex: 1 1 auto; min-width: 0; background:none; border:none; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-800); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; text-align:left; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--teal-900); }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--sage-600); text-transform: uppercase; font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: var(--space-4); }
.nav-links { display: flex; gap: var(--space-3); }
.nav-links button, .nav-links a { font-weight: 700; font-size: 0.95rem; color: var(--ink-700); position: relative; padding: 0.3em 0; transition: color 0.2s ease; background:none; border:none; }
.nav-links button::after, .nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--gold-500); transition: right 0.25s ease; }
.nav-links button:hover, .nav-links a:hover, .nav-links [aria-current="page"] { color: var(--teal-900); }
.nav-links button:hover::after, .nav-links a:hover::after, .nav-links [aria-current="page"]::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.menu-toggle { display: none; background: var(--teal-800); color: var(--white); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; border: none; }
.menu-toggle svg { width: 22px; height: 22px; }
.call-btn-mobile { display: none; }

.mobile-menu { display: none; position: fixed; inset: auto 0 0 0; top: calc(var(--topbar-h) + var(--header-h)); background: var(--cream-50); z-index: 55; padding: var(--space-4) var(--space-3); overflow-y: auto; }
.mobile-menu.is-open { display: block; }
.mobile-menu .nav-links { flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-4); }
.mobile-menu .nav-links button, .mobile-menu .nav-links a { font-size: 1.2rem; text-align:left; }
.mobile-contact { display: flex; flex-direction: column; gap: var(--space-2); border-top: 1px solid var(--line); padding-top: var(--space-3); }
.mobile-contact a { display: flex; align-items: center; gap: 0.7em; font-weight: 700; color: var(--teal-800); }
.mobile-contact svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; }

.hero { position: relative; color: var(--white); display: flex; align-items: center; overflow: hidden; }
.hero-home {
  min-height: 720px;
  align-items: flex-start;
  overflow: visible;
  padding-bottom: 72px;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,48,44,0.72) 0%, rgba(20,48,44,0.6) 45%, rgba(20,48,44,0.86) 100%); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: 132px 0 36px;
  text-align: center;
}
.hero-home .hero-inner .eyebrow { justify-content: center; }
.hero-home .hero-inner .lede { margin-inline: auto; max-width: 58ch; }
.hero-home .hero-inner .hero-ctas { justify-content: center; }
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-300); }
.hero h1 { color: var(--white); margin-block: var(--space-2); }
.hero p.lede { color: rgba(255,255,255,0.88); }
.hero-ctas { display: flex; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }
.hero-sub {
  min-height: clamp(320px, 38vw, 420px);
  align-items: stretch;
}
.hero-sub .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-block: var(--space-4) calc(var(--space-5) + 52px);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-sub h1 {
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  line-height: 1.12;
  margin-block: var(--space-2);
  text-shadow: 0 2px 20px rgba(20, 48, 44, 0.4);
}
.hero-sub .lede {
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
  max-width: 58ch;
}
.hero-sub .tide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-home .tide { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none; }
.hero-trust-wrap {
  position: relative;
  z-index: 8;
  margin-top: -72px;
  padding-bottom: 72px;
}
.breadcrumb { position: relative; z-index: 2; font-size: 0.85rem; color: rgba(255,255,255,0.8); display: flex; gap: 0.5em; align-items: center; margin-bottom: var(--space-2); }
.breadcrumb button { color: rgba(255,255,255,0.8); background:none; border:none; }
.breadcrumb button:hover { color: var(--gold-300); }

.tide { display: block; width: 100%; height: 64px; margin-top: -1px; }

section { position: relative; }
.section { padding-block: var(--space-7); }
.section-tight { padding-block: var(--space-6); }
.section-flush-bottom { padding-bottom: var(--space-3); }
.section-gallery { padding-top: var(--space-3); }
.section-teal { background: var(--teal-800); color: var(--cream-100); }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-cream-alt { background: var(--cream-100); }
.section-head { max-width: 720px; margin-bottom: var(--space-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--space-1); }

.reveal { opacity: 0; transition: opacity 0.4s ease; }
.reveal.is-visible { opacity: 1; }
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.15s; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); position: relative; z-index: 5; }
.trust-card { background: var(--white); border-top: 4px solid var(--gold-500); border-radius: var(--radius-sm); padding: var(--space-3); box-shadow: var(--shadow-card); display: flex; gap: var(--space-2); align-items: flex-start; }
.trust-card:nth-child(2) { border-top-color: var(--sage-600); }
.trust-card:nth-child(3) { border-top-color: var(--teal-700); }
.trust-card svg { width: 30px; height: 30px; color: var(--gold-600); flex: none; }
.trust-card:nth-child(2) svg { color: var(--sage-600); }
.trust-card:nth-child(3) svg { color: var(--teal-700); }
.trust-card h3 { font-size: 1.02rem; margin-bottom: 0.25em; }
.trust-card p { color: var(--ink-700); font-size: 0.94rem; }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(248,244,234,0.75);
  margin-top: 0.6em;
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-4);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.testimonial-stars { display: flex; gap: 0.2em; color: var(--gold-500); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text { color: var(--ink-700); font-size: 1rem; font-style: italic; flex: 1; }
.testimonial-author { font-weight: 700; color: var(--teal-900); font-size: 0.94rem; }
.testimonial-role { color: var(--ink-500); font-size: 0.85rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); align-items: start; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }

/* ---------- Service / feature cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 1.2rem 1.15rem 1.15rem;
  border: 1px solid rgba(34, 48, 43, 0.07);
  box-shadow: 0 2px 8px rgba(20, 48, 44, 0.05), 0 10px 28px -12px rgba(20, 48, 44, 0.14);
  transition: box-shadow 0.28s ease;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-300) 55%, transparent 100%);
}
.service-card:hover {
  box-shadow: 0 4px 12px rgba(20, 48, 44, 0.07), 0 18px 36px -14px rgba(20, 48, 44, 0.2);
}
.service-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--teal-800), var(--teal-700));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 10px -4px rgba(20, 48, 44, 0.45);
}
.service-card-icon svg,
.service-card-icon .service-icon-img {
  width: 20px;
  height: 20px;
  color: var(--gold-300);
  stroke: var(--gold-300);
}
.service-card-body { min-width: 0; }
.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-900);
  margin: 0 0 0.35rem;
  line-height: 1.28;
}
.service-card-body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.52;
  color: var(--ink-500);
}

/* Facility highlights — compact horizontal cards in 4-col row */
.grid-4 > .service-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1rem 1rem 0.95rem;
}
.grid-4 > .service-card .service-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  margin-bottom: 0;
}
.grid-4 > .service-card .service-card-icon svg {
  width: 17px;
  height: 17px;
}
.grid-4 > .service-card .service-card-body h3 {
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
}
.grid-4 > .service-card .service-card-body p {
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Team / credential cards — 4 in a row, vertical layout */
.team-cards > .service-card {
  flex-direction: column;
  align-items: stretch;
  padding: 1.2rem 1.15rem 1.15rem;
}
.team-cards > .service-card .service-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  margin-bottom: 0.8rem;
}
.team-cards > .service-card .service-card-icon svg {
  width: 20px;
  height: 20px;
}
.team-cards > .service-card .service-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.team-cards > .service-card .service-card-body p {
  font-size: 0.875rem;
  line-height: 1.52;
}

.check-list li { display: flex; gap: 0.75em; align-items: flex-start; margin-bottom: var(--space-2); font-size: 1.02rem; color: var(--ink-700); }
.check-list svg { width: 22px; height: 22px; color: var(--sage-600); flex: none; margin-top: 2px; }

.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.cta-banner { background: var(--teal-900); color: var(--white); border-radius: var(--radius); padding: var(--space-5); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.cta-banner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(199,154,75,0.35), transparent 70%); z-index: 0; }
.cta-banner--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,48,44,0.92), rgba(20,48,44,0.78)); z-index: 0; }
.cta-banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-banner-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.vision-grid { align-items: center; }
.vm-row { display: flex; gap: var(--space-2); margin-bottom: var(--space-3); }
.vm-row:last-child { margin-bottom: 0; }
.vm-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-200); display: grid; place-items: center; flex: none; }
.vm-icon svg { width: 22px; height: 22px; color: var(--teal-800); }
.vm-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.25em; }
.vm-row h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.vm-row p { color: var(--ink-700); font-size: 0.95rem; }

.cta-text-banner { background: var(--white); border: 1px solid rgba(34, 48, 43, 0.08); border-radius: var(--radius); padding: var(--space-5); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; box-shadow: var(--shadow-card); }
.cta-text-banner h2 { margin-bottom: 0.35em; }
.cta-text-banner p { color: var(--ink-700); max-width: 52ch; }
.cta-text-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.btn-outline-dark { background: transparent; border: 2px solid var(--teal-800); color: var(--teal-800); }
.btn-outline-dark:hover { background: var(--teal-800); color: var(--cream-50); }

.page-intro-center { max-width: 760px; margin-inline: auto; text-align: center; }
.page-intro-center h2 { margin-top: var(--space-1); margin-bottom: var(--space-2); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.contact-card { background: var(--white); border-radius: var(--radius); padding: var(--space-4); text-align: center; border: 1px solid var(--line); }
.contact-card .icon-wrap { width: 54px; height: 54px; border-radius: 50%; background: var(--teal-800); display: grid; place-items: center; margin-inline: auto; margin-bottom: var(--space-2); }
.contact-card svg { width: 26px; height: 26px; color: var(--gold-300); }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.3em; }
.contact-card a, .contact-card p { color: var(--ink-700); font-size: 0.96rem; }
.contact-card a:hover { color: var(--teal-800); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: flex-start; }

.form-panel { background: var(--white); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4em; color: var(--teal-900); }
.field input, .field textarea { width: 100%; padding: 0.85em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream-50); color: var(--ink-900); transition: border-color 0.2s ease, background 0.2s ease; }
.field input:focus, .field textarea:focus { border-color: var(--gold-500); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.85rem; color: var(--ink-500); margin-top: var(--space-1); }

.steps-list { counter-reset: step; }
.steps-list li { counter-increment: step; display: flex; gap: var(--space-2); margin-bottom: var(--space-3); }
.steps-list li::before { content: counter(step); font-family: var(--font-display); font-weight: 600; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--sage-200); color: var(--teal-800); display: grid; place-items: center; }
.steps-list h4 { font-size: 1.02rem; margin-bottom: 0.2em; color: var(--teal-900); }
.steps-list p { color: var(--ink-700); font-size: 0.94rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  position: relative;
  margin-top: var(--space-2);
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--sage-200), var(--gold-300), var(--sage-200));
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--sage-200);
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-2);
  box-shadow: 0 4px 14px -6px rgba(20, 48, 44, 0.18);
}
.step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--teal-800);
}
.step-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35em;
  color: var(--teal-900);
}
.step-card p {
  color: var(--ink-700);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 22ch;
  margin-inline: auto;
}

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; position: relative; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); background: var(--teal-900); color: var(--white); padding: 1em 1.5em; border-radius: 999px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 0.6em; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; z-index: 200; font-weight: 700; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast svg { width: 20px; height: 20px; color: var(--gold-300); flex: none; }

.gallery-grid { columns: 3; column-gap: var(--space-3); }
.gallery-item { break-inside: avoid; margin-bottom: var(--space-3); border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-card); }
.gallery-item img { width: 100%; display: block; }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(20,48,44,0.85), transparent); color: var(--white); font-size: 0.85rem; font-weight: 700; padding: 1.2em 0.9em 0.7em; }
.gallery-video-section { margin-top: var(--space-6); }
.gallery-video-head { margin-inline: auto; margin-bottom: var(--space-4); }
.gallery-video-head h2 { margin-top: var(--space-1); }
.gallery-video-frame {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--teal-900);
  aspect-ratio: 16 / 9;
}
.gallery-video-frame iframe,
.gallery-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}
.gallery-video-cap { text-align: center; margin-top: var(--space-3); margin-inline: auto; max-width: 58ch; }

.lightbox { position: fixed; inset: 0; background: rgba(20,30,28,0.92); display: none; align-items: center; justify-content: center; z-index: 300; padding: var(--space-3); }
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: 900px; width: 100%; position: relative; z-index: 1; }
.lightbox img { border-radius: var(--radius-sm); max-height: 80vh; margin-inline: auto; }
.lightbox-cap { color: var(--cream-100); text-align: center; margin-top: var(--space-2); }
.lightbox-count { color: rgba(248,244,234,0.72); text-align: center; margin-top: 0.5rem; font-size: 0.9rem; letter-spacing: 0.04em; }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.12); color: var(--white); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: none; cursor: pointer; z-index: 2; transition: background 0.2s ease; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); color: var(--white); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: none; cursor: pointer; z-index: 2; transition: background 0.2s ease; }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 640px) {
  .lightbox { padding: var(--space-2); }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { top: 12px; right: 12px; }
}

.site-footer { background: var(--teal-900); color: rgba(248,244,234,0.85); }
.footer-top { padding-block: var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-4); }
.footer-brand { display: flex; align-items: center; gap: 0.7em; margin-bottom: var(--space-2); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: var(--gold-300); }
.footer-desc { color: rgba(248,244,234,0.72); font-size: 0.94rem; max-width: 32ch; }
.footer-col h4 { color: var(--gold-300); font-family: var(--font-body); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: var(--space-2); }
.footer-col li { margin-bottom: 0.6em; font-size: 0.94rem; }
.footer-col button, .footer-col a { background:none; border:none; color:inherit; }
.footer-col button:hover, .footer-col a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: 0.6em; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-300); flex: none; margin-top: 3px; }
.social-row { display: flex; gap: 0.7em; margin-top: var(--space-2); }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(248,244,234,0.1); display: grid; place-items: center; }
.social-row svg { width: 16px; height: 16px; }
.social-row a:hover { background: var(--gold-500); color: var(--teal-900); }
.footer-bottom { border-top: 1px solid rgba(248,244,234,0.14); padding-block: var(--space-2); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5em; color: rgba(248,244,234,0.6); }

.text-center { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 0.4em; background: var(--sage-200); color: var(--teal-800); font-weight: 700; font-size: 0.8rem; padding: 0.35em 0.9em; border-radius: 999px; margin-bottom: var(--space-2); }

.page { display: none; }
.page.is-active { display: block; }

@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-home { min-height: 620px; padding-bottom: 56px; }
  .hero-inner { padding: 100px 0 28px; }
  .hero-trust-wrap { margin-top: -56px; padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .steps-grid::before { display: none; }
  .nav-links { display: none; }
  .header-cta .btn-teal-text { display: none; }
  .brand-name { font-size: clamp(0.92rem, 2.2vw, 1.08rem); }
  .brand-logo-only .brand-logo-image { height: clamp(78px, 11vw, 92px); max-width: min(300px, 48vw); }
}

@media (max-width: 640px) {
  :root { --topbar-h: 50px; --header-h: 80px; }
  body { font-size: 16px; }
  .container { padding-inline: var(--space-2); }
  .section { padding-block: var(--space-6); }

  .topbar { position: sticky; top: 0; z-index: 62; }
  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.35rem 0.65rem;
    padding-block: 0.42rem;
    font-size: 0.72rem;
    min-height: auto;
  }
  .topbar-link,
  .topbar-address {
    justify-content: center;
    text-align: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .topbar-phone { grid-column: 1; grid-row: 1; }
  .topbar-fax { grid-column: 2; grid-row: 1; }
  .topbar-email { grid-column: 1; grid-row: 2; }
  .topbar-address {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    opacity: 0.88;
    font-size: 0.68rem;
  }
  .topbar-label { display: none; }
  .topbar svg { width: 12px; height: 12px; }
  .topbar-inner:not(:has(.topbar-fax)) .topbar-phone { grid-column: 1 / -1; }

  .site-header { top: var(--topbar-h); }
  .header-inner { gap: var(--space-1); }
  .brand { gap: 0.55rem; max-width: calc(100% - 96px); }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .brand-name { font-size: clamp(0.82rem, 3.6vw, 0.98rem); line-height: 1.15; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.04em; }
  .brand-logo-only .brand-logo-image { height: clamp(66px, 15vw, 80px); max-width: min(240px, 60vw); }
  .menu-toggle { display: flex; width: 40px; height: 40px; border-radius: 8px; flex: none; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .header-cta { gap: 0.45rem; }
  .header-cta .btn-gold-text { display: none; }
  .call-btn-mobile { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-500); color: var(--teal-900); align-items: center; justify-content: center; flex: none; }
  .call-btn-mobile svg { width: 18px; height: 18px; }

  .hero-home { min-height: 520px; padding-bottom: 44px; }
  .hero-inner { padding: 72px 0 18px; }
  .hero-sub { min-height: clamp(260px, 55vw, 320px); }
  .hero-sub .container { padding-block: var(--space-3) calc(var(--space-4) + 44px); }
  .hero-sub h1 { font-size: clamp(1.75rem, 7.5vw, 2.35rem); }
  .hero-sub .lede { font-size: 0.98rem; }
  .hero-sub .eyebrow { font-size: 0.68rem; }
  .hero .eyebrow { font-size: 0.68rem; letter-spacing: 0.1em; max-width: 100%; }
  .hero .eyebrow::before { width: 16px; }
  .hero h1 { font-size: clamp(1.65rem, 7.2vw, 2.15rem); hyphens: auto; overflow-wrap: anywhere; }
  .hero p.lede { font-size: 1rem; }
  .hero-trust-wrap { margin-top: -44px; padding-bottom: 44px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .trust-card { padding: var(--space-2); }
  .trust-card h3 { font-size: 0.95rem; }
  .grid-3, .grid-4, .contact-grid, .service-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: var(--space-2); row-gap: var(--space-3); }
  .stat-num { font-size: clamp(1.45rem, 6vw, 1.95rem); }
  .stat-label { font-size: 0.68rem; letter-spacing: 0.05em; line-height: 1.35; padding-inline: 0.2rem; }
  .section-teal.section-tight { padding-block: var(--space-4); }
  .section-teal + .section { padding-top: var(--space-5); }
  .gallery-video-section { margin-top: var(--space-5); }
  .gallery-grid { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner { padding: var(--space-4); }
  .cta-banner-actions { justify-content: center; }
  .cta-text-banner { flex-direction: column; text-align: center; }
  .cta-text-actions { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-intro-center h2 { font-size: clamp(1.45rem, 6vw, 1.85rem); }
  .section-head h2 { font-size: clamp(1.45rem, 6vw, 1.85rem); }
  .contact-layout { gap: var(--space-4); }
  .btn { padding: 0.82em 1.25em; font-size: 0.94rem; }
}

/* Custom logo uploads */
.brand-logo-only { gap: 0; }
.brand-logo-image { display: block; height: 72px; width: auto; max-width: min(340px, 42vw); object-fit: contain; flex: none; }
.brand-logo-only .brand-logo-image { height: clamp(108px, 11vw, 132px); max-width: min(640px, 74vw); }
.brand-logo-image--footer { height: 64px; max-width: min(300px, 80vw); }
.footer-brand-logo-only .brand-logo-image--footer { height: clamp(76px, 8vw, 92px); max-width: min(480px, 88vw); }
@media (max-width: 980px) {
  .brand-logo-only .brand-logo-image { height: clamp(78px, 11vw, 92px); max-width: min(300px, 48vw); }
}
@media (max-width: 640px) {
  .brand-logo-only .brand-logo-image { height: clamp(66px, 15vw, 80px); max-width: min(240px, 60vw); }
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--gold-300); }
.contact-card a { text-decoration: none; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--gold-300); }
.nav-links { list-style: none; }
main { display: block; }
@media (max-width: 980px) {
  .main-nav .nav-links { display: none; }
  .mobile-menu.is-open .nav-links { display: flex; }
  .contact-layout { grid-template-columns: 1fr; }
}
