/* =========================================================
   Integrated Rehab and Physical Therapy — design tokens
   Palette: deep teal ink, sage/eucalyptus, warm coral accent,
   cool mint-white background (deliberately NOT the cream+terracotta
   combo that's become an AI-design default).
   Type: Fraunces (display) / Inter (body) / IBM Plex Mono (data & labels)
   Signature: recurring "range-of-motion arc" — the same arc a
   therapist reads off a goniometer — used as dividers & hero motif.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Great+Vibes&display=swap');

:root {
  --ink:        #0E2A2E;
  --ink-soft:   #22423F;
  --sage:       #5B8C7B;
  --sage-light: #CFE1D6;
  --mint-bg:    #F4F7F6;
  --paper:      #FFFFFF;
  --coral:      #E15B45;
  --coral-dark: #B8402E;
  --sand:       #E9E4D8;
  --ink-70:     rgba(14, 42, 46, 0.7);
  --ink-50:     rgba(14, 42, 46, 0.5);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius: 14px;
  --shadow-soft: 0 8px 30px rgba(14, 42, 46, 0.08);
  --shadow-lift: 0 16px 40px rgba(14, 42, 46, 0.14);
  --container: 1180px;
  --hero-accent: #3dd9b8;
  --hero-accent-dark: #2bb89a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mint-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-70); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: #0E2A2E;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  position: relative;
  z-index: 60;
}
.utility-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.utility-bar a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); }
.utility-bar a:hover { border-color: var(--coral); }

.page-home .utility-bar {
  background: #111;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.page-home .utility-bar .container {
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.utility-bar-announce {
  margin: 0;
  color: rgba(255,255,255,0.92);
  text-align: center;
}
.utility-bar-announce a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  margin-left: 4px;
}
.utility-bar-announce a:hover { border-color: var(--hero-accent); color: var(--hero-accent); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  transform-origin: left center;
  animation: brand-zoom-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-tagline {
  font-family: 'Great Vibes', cursive;
  font-size: 1.15rem;
  color: #d40000;
  font-weight: 400;
  line-height: 1.1;
}
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(320px, 55vw);
}

@keyframes brand-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 0.72rem; }
  .brand-tagline { font-size: 0.95rem; }
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a,
.nav-dropdown-toggle {
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.main-nav > a:hover,
.nav-dropdown-toggle:hover { background: var(--sage-light); color: var(--ink); }
.main-nav > a.active,
.nav-dropdown-toggle.active { background: var(--ink); color: #fff; }

.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
}
.nav-dropdown.open .nav-dropdown-toggle {
  background: var(--sage-light);
  color: var(--ink);
}
.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--ink);
  border-radius: 12px;
  padding: 6px 0;
  box-shadow: var(--shadow-lift);
  z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #fff !important;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}
.nav-dropdown-menu a:last-child {
  border-bottom: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.nav-cta {
  background: var(--coral) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--coral-dark) !important; }

/* Home: transparent header over full-bleed hero */
.page-home .site-header {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  background: rgba(18, 22, 28, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.page-home .brand-name {
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.page-home .brand-tagline {
  color: #ff4d4d;
}
.page-home .brand-mark {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
.page-home .main-nav > a,
.page-home .nav-dropdown-toggle {
  color: rgba(255,255,255,0.92);
}
.page-home .main-nav > a:hover,
.page-home .nav-dropdown-toggle:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.page-home .main-nav > a.active,
.page-home .nav-dropdown-toggle.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.page-home .nav-cta {
  background: var(--hero-accent) !important;
  color: #0E2A2E !important;
  border-radius: 10px !important;
  font-weight: 700;
}
.page-home .nav-cta:hover {
  background: var(--hero-accent-dark) !important;
  color: #0E2A2E !important;
}
.page-home .nav-toggle span { background: #fff; }

@media (max-width: 960px) {
  .page-home .main-nav {
    background: #161b22;
  }
  .page-home .main-nav > a,
  .page-home .nav-dropdown-toggle {
    color: rgba(255,255,255,0.92);
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-lift);
  }
  .main-nav.open { display: flex; }
  .main-nav > a { text-align: left; }
  .nav-cta { margin-left: 0; text-align: center; }

  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 10px;
  }
  .nav-dropdown-menu {
    position: static;
    margin-top: 4px;
    min-width: 0;
    border-radius: 10px;
    box-shadow: none;
  }
}

/* ---------- Arc motif (signature element) ---------- */
.arc-divider {
  width: 100%;
  height: 48px;
  display: block;
}
.arc-divider path { stroke: var(--sage); }

.hero-arc {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  max-width: 60vw;
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--mint-bg) 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--sage); }
.hero h1 { color: var(--ink); max-width: 640px; }
.hero p.lede {
  color: var(--ink-70);
  max-width: 560px;
  font-size: 1.28rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn-ghost {
  color: var(--ink);
  border-color: rgba(14, 42, 46, 0.35);
}
.hero .btn-ghost:hover { background: rgba(14, 42, 46, 0.06); }

/* Full-bleed photo hero (home) */
.hero--photo {
  min-height: min(92vh, 820px);
  padding: 0;
  display: flex;
  align-items: center;
  background: #12161c;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.88) 0%, rgba(8, 12, 18, 0.62) 42%, rgba(8, 12, 18, 0.28) 70%, rgba(8, 12, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.45) 0%, transparent 28%, transparent 70%, rgba(8, 12, 18, 0.35) 100%);
}
.hero--photo .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 88px;
  max-width: 640px;
  margin-left: 0;
  margin-right: auto;
  animation: hero-rise 0.85s ease-out both;
}
.hero--photo h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.8vw, 3.55rem);
  line-height: 1.12;
  color: #fff;
  max-width: 16ch;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-sub {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
  max-width: 28ch;
}
.hero-actions--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 32px;
}
.btn-hero-primary,
.btn-hero-ghost {
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  min-width: min(100%, 280px);
  justify-content: center;
}
.btn-hero-primary {
  background: var(--hero-accent);
  color: #0E2A2E;
  border-color: transparent;
}
.btn-hero-primary:hover {
  background: var(--hero-accent-dark);
  box-shadow: 0 10px 28px rgba(61, 217, 184, 0.28);
  transform: translateY(-1px);
}
.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--hero-accent);
}
.btn-hero-ghost:hover {
  background: rgba(61, 217, 184, 0.12);
  transform: translateY(-1px);
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .hero--photo { min-height: min(88vh, 720px); }
  .hero--photo .hero-content { padding-top: 120px; padding-bottom: 64px; }
  .hero-media-overlay {
    background:
      linear-gradient(90deg, rgba(8, 12, 18, 0.9) 0%, rgba(8, 12, 18, 0.72) 55%, rgba(8, 12, 18, 0.5) 100%),
      linear-gradient(180deg, rgba(8, 12, 18, 0.5) 0%, transparent 30%, rgba(8, 12, 18, 0.4) 100%);
  }
}

@media (max-width: 640px) {
  .hero--photo h1 { max-width: none; }
  .btn-hero-primary,
  .btn-hero-ghost { width: 100%; min-width: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
}
.hero-stats div span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-header { max-width: 640px; margin-bottom: 40px; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(14,42,46,0.06);
}
.card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .icon-badge svg { width: 24px; height: 24px; color: var(--ink); }
.card ul {
  margin: 12px 0 0;
  padding: 0 0 0 1.1em;
  color: var(--ink-70);
  display: grid;
  gap: 8px;
}
.card ul li { line-height: 1.45; }

/* Promo panel (like the $49.99 consult box) */
.promo-panel {
  background: var(--sage);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
}
.promo-panel h3 { color: #fff; }
.promo-panel .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #fff;
}
.promo-panel .btn-primary { background: #fff; color: var(--ink); }
.promo-panel .btn-primary:hover { background: var(--sand); }

/* Doctor / staff card */
.doctor-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.doctor-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.doctor-card .role { font-family: var(--font-mono); font-size: 0.75rem; color: var(--sage); text-transform: uppercase; letter-spacing: 0.06em; }

/* Location card (legacy / other pages) */
.location-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.location-card .map-strip {
  height: 8px;
  background: linear-gradient(90deg, var(--sage), var(--coral));
}
.location-card .body { padding: 26px; }
.location-card dl {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.location-card dt {
  color: var(--sage);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-top: 12px;
}
.location-card dd { margin: 2px 0 0; color: var(--ink); }

/* Locations page — stacked blocks with hours + map */
.locations-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.location-block {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.location-block-info {
  text-align: center;
  padding: 28px 24px 20px;
}
.location-address {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(14, 42, 46, 0.2);
  margin-bottom: 8px;
}
.location-address:hover {
  color: var(--coral);
  border-color: var(--coral);
}
.location-phone {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-70);
}
.location-phone a {
  color: var(--ink);
  border-bottom: 1px solid rgba(14, 42, 46, 0.2);
}
.location-phone a:hover {
  color: var(--coral);
  border-color: var(--coral);
}
.location-hours-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.location-hours {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 320px;
  text-align: left;
}
.location-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--sage-light);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--ink);
}
.location-map {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
@media (max-width: 600px) {
  .location-map { height: 220px; }
}

/* Insurance list */
.insurance-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .insurance-list { grid-template-columns: 1fr; } }
.insurance-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  font-weight: 500;
}
.insurance-list li svg { width: 20px; height: 20px; color: var(--sage); flex-shrink: 0; }

/* Testimonial strip */
.testimonial {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
}
.testimonial p { color: rgba(255,255,255,0.88); font-style: italic; font-size: 1.05rem; }
.testimonial .who { font-family: var(--font-mono); font-size: 0.78rem; color: var(--sage-light); }

/* Forms */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  border: 1.5px solid var(--sage-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--mint-bg);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--sage);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

.alert-success {
  background: var(--sage-light);
  color: var(--ink);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-weight: 500;
}
.alert-error {
  background: #FBE3DE;
  color: var(--coral-dark);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.alert-error ul { margin: 6px 0 0 18px; padding: 0; }

.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 32px;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card .line { display: flex; gap: 12px; margin: 18px 0; align-items: flex-start; }
.contact-info-card .line svg { width: 20px; height: 20px; color: var(--sage-light); flex-shrink: 0; margin-top: 3px; }
.contact-info-card a { border-bottom: 1px solid rgba(255,255,255,0.35); }
.contact-info-card a:hover { border-color: var(--coral); }

/* Services showcase carousel — full-width layout */
.services-showcase {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px 0 88px;
  background: #eef1f2;
  overflow-x: hidden;
  box-sizing: border-box;
}
.services-showcase-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.services-showcase-title {
  margin: 0 0 32px;
  padding-left: 72px;
  padding-right: 72px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  color: #0d3a45;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.services-showcase-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 0;
  align-items: stretch;
  width: 100%;
}
.services-showcase-viewport {
  overflow: hidden;
  border-radius: 28px;
  min-width: 0;
  box-shadow: 0 18px 50px rgba(14, 42, 46, 0.14);
}
.services-showcase-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.services-showcase-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.services-showcase-card {
  position: relative;
  min-height: clamp(440px, 48vw, 580px);
  overflow: hidden;
  background: #1a2e32;
}
.services-showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
  transform: scale(1.02);
}
.services-showcase-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  max-width: none;
  padding: clamp(36px, 4.5vw, 56px) clamp(28px, 3.2vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(
      105deg,
      rgba(18, 28, 34, 0.08) 0%,
      rgba(28, 42, 48, 0.55) 18%,
      rgba(32, 55, 62, 0.78) 45%,
      rgba(40, 95, 105, 0.82) 100%
    );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.services-showcase-panel-copy {
  display: flex;
  flex-direction: column;
}
.services-showcase-panel h3 {
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.services-showcase-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.services-showcase-panel li {
  position: relative;
  padding-left: 20px;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.45;
  color: rgba(255,255,255,0.96);
  font-weight: 500;
}
.services-showcase-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}
.services-showcase-cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 22px;
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  max-width: 100%;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.services-showcase-cta:hover {
  background: rgba(255,255,255,0.16);
  border-color: #fff;
  transform: translateY(-1px);
}
.services-showcase-nav {
  border: none;
  background: #0d3a45;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  z-index: 2;
  transition: background 0.15s ease;
}
.services-showcase-prev { border-radius: 0; }
.services-showcase-next { border-radius: 0; }
.services-showcase-nav svg { width: 24px; height: 24px; }
.services-showcase-nav:hover { background: #14505c; }
.services-showcase-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 1100px) {
  .services-showcase-title {
    padding-left: 56px;
    padding-right: 56px;
  }
  .services-showcase-panel { width: 45%; }
  .services-showcase-card { min-height: clamp(400px, 55vw, 520px); }
}

@media (max-width: 860px) {
  .services-showcase {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 48px 16px 64px;
  }
  .services-showcase-inner {
    width: 100%;
    padding: 0;
  }
  .services-showcase-title {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 20px;
  }
  .services-showcase-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .services-showcase-viewport {
    order: -1;
    width: 100%;
    border-radius: 20px;
  }
  .services-showcase-nav {
    width: 52px;
    height: 52px;
    border-radius: 999px !important;
  }
  .services-showcase-card { min-height: 560px; }
  .services-showcase-panel {
    width: 100%;
    padding: 28px 22px 28px;
    justify-content: flex-end;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(18, 28, 34, 0.35) 22%,
      rgba(20, 45, 52, 0.82) 55%,
      rgba(28, 80, 90, 0.94) 100%
    );
    border-left: none;
    backdrop-filter: blur(4px);
  }
  .services-showcase-cta {
    align-self: stretch;
    text-align: center;
  }
  .services-showcase-image { object-position: center top; }
}

@media (max-width: 520px) {
  .services-showcase-card { min-height: 520px; }
  .services-showcase-panel h3 { font-size: 1.55rem; }
  .services-showcase-panel li { font-size: 0.95rem; }
}

.footer-services {
  padding: 56px 0 48px;
  background: var(--mint-bg);
}
.footer-services-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 36px;
}
.footer-services-header h2 { margin-bottom: 0; }
.footer-services-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.footer-services-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.footer-services-track::-webkit-scrollbar { display: none; }
.footer-services-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(14, 42, 46, 0.12);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}
.footer-services-nav svg { width: 20px; height: 20px; }
.footer-services-nav:hover {
  background: var(--ink);
  color: #fff;
}
.footer-services-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 960px) {
  .footer-services-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}
@media (max-width: 640px) {
  .footer-services-carousel {
    grid-template-columns: 1fr;
  }
  .footer-services-nav { display: none; }
  .footer-services-track {
    grid-auto-columns: 85%;
  }
}
.footer-service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
  min-width: 0;
}
.footer-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.footer-service-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d7e2dd;
}
.footer-service-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.footer-service-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.footer-service-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
}

.site-footer {
  background: linear-gradient(180deg, var(--ink) 0%, #133934 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 0 0 28px;
}
.site-footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
}
.footer-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.9fr;
  gap: 40px;
  padding: 48px 0 36px;
  align-items: start;
}
@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
}
.footer-brand p {
  margin: 16px 0 0;
  max-width: 300px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.footer-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 260px;
  border-radius: 8px;
}
.footer-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 640px) {
  .footer-locations { grid-template-columns: 1fr; }
}
.footer-location h4,
.footer-connect h4 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-light);
}
.footer-location p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.footer-location a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-location a:hover { border-color: var(--coral); color: var(--coral); }

.footer-connect {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-social-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-social-row .social-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  padding: 0;
  text-decoration: none;
}
.footer-social-row .social-icon-btn:hover,
.footer-social-row .social-menu.is-open .social-menu-toggle {
  background: var(--coral);
}
.footer-social-row svg { width: 18px; height: 18px; }
.footer-email {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-all;
}
.footer-email:hover { color: var(--coral); }
.footer-cta {
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.visit-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 800px) { .visit-us-grid { grid-template-columns: 1fr; } }
.visit-map-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.visit-map-card iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}
.visit-map-body { padding: 20px 22px; }
.visit-map-body h3 { margin-bottom: 8px; }
.visit-map-body p { margin: 0 0 10px; font-size: 0.95rem; }
.visit-hours {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 26px;
}
.visit-hours h3 { margin-bottom: 14px; }
.visit-hours ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 360px;
}
.visit-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sage-light);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.visit-directions {
  display: inline-block;
  margin-top: 16px;
  color: var(--coral);
  font-weight: 600;
  font-size: 0.92rem;
}
.visit-directions:hover { color: var(--coral-dark); }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: background 0.15s ease, transform 0.15s ease;
}
.back-to-top:hover { background: var(--ink); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* Admin */
.admin-body { background: var(--mint-bg); min-height: 100vh; }
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px;
}
.admin-login-header { text-align: center; margin-bottom: 24px; }
.admin-login-logo { height: 56px; width: auto; margin: 0 auto 16px; display: block; }
.admin-login-header h1 { margin-bottom: 6px; }
.admin-login-header p { margin: 0; color: var(--ink-70); }
.admin-login-form { display: grid; gap: 16px; }
.admin-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.admin-login-btn { width: 100%; justify-content: center; }
.admin-login-footer { margin: 20px 0 0; text-align: center; font-size: 0.9rem; }

.admin-shell { min-height: 100vh; }
.admin-topbar {
  background: var(--ink);
  color: #fff;
  padding: 14px 0;
}
.admin-topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-topbar-logo { height: 40px; width: auto; }
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-user { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.admin-logout-btn { padding: 8px 14px; font-size: 0.85rem; }
.admin-main { padding: 40px 0 56px; }
.admin-page-header { margin-bottom: 28px; }
.admin-page-header p { margin: 0; }
.admin-cards .card { display: flex; flex-direction: column; gap: 12px; }
.admin-cards .btn { align-self: flex-start; }

.admin-subnav {
  background: var(--paper);
  border-bottom: 1px solid var(--sage-light);
}
.admin-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.admin-subnav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.admin-subnav a:hover { background: var(--mint-bg); color: var(--ink); }
.admin-subnav a.active {
  background: var(--ink);
  color: #fff;
}

.admin-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 800px) {
  .admin-highlight-grid { grid-template-columns: 1fr; }
}
.admin-highlight-card { display: flex; flex-direction: column; gap: 14px; }
.admin-highlight-preview .footer-service-image {
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  display: block;
  background: #d7e2dd;
}
.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-50);
}
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-settings-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 920px;
}
.admin-settings-card h3 {
  margin: 0 0 6px;
}
.admin-settings-card .field-hint {
  margin: 0 0 16px;
}
.admin-settings-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.admin-settings-card-head .field-hint {
  margin-bottom: 0;
}
.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 700px) {
  .admin-settings-grid { grid-template-columns: 1fr; }
  .admin-settings-card-head {
    flex-direction: column;
    align-items: stretch;
  }
}

.admin-social-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-social-empty {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed rgba(15, 40, 34, 0.2);
  border-radius: 10px;
  color: var(--ink-50);
  background: rgba(15, 40, 34, 0.03);
}
.admin-social-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(15, 40, 34, 0.1);
  border-radius: 12px;
  background: #fff;
}
.admin-social-row select,
.admin-social-row input {
  width: 100%;
}
.admin-social-row .field-optional {
  font-weight: 400;
  color: var(--ink-50);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}
.admin-social-remove {
  white-space: nowrap;
  align-self: end;
}
@media (max-width: 900px) {
  .admin-social-row {
    grid-template-columns: 1fr;
  }
  .admin-social-remove {
    width: 100%;
  }
}

/* ---------- Testimonials media (public) ---------- */
.media-gallery {
  display: grid;
  gap: 24px;
}
.media-gallery-pictures {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.media-gallery-videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.media-gallery-audio {
  grid-template-columns: 1fr;
  max-width: 760px;
}
@media (max-width: 900px) {
  .media-gallery-pictures,
  .media-gallery-videos {
    grid-template-columns: 1fr;
  }
}
.media-card {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.media-card img,
.media-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--ink);
}
.media-card video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.media-card figcaption,
.media-card-audio h3 {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
}
.media-card-audio {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.media-card-audio audio {
  width: 100%;
}

/* ---------- Admin testimonials media ---------- */
.admin-media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.admin-media-tabs a {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}
.admin-media-tabs a:hover { color: var(--ink); }
.admin-media-tabs a.active {
  background: var(--ink);
  color: #fff;
}
.admin-upload-card {
  margin-bottom: 8px;
}
.admin-upload-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 12px;
}
.admin-media-list {
  display: grid;
  gap: 20px;
}
.admin-media-item {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr auto;
  gap: 20px;
  align-items: start;
}
@media (max-width: 800px) {
  .admin-media-item {
    grid-template-columns: 1fr;
  }
}
.admin-media-preview img,
.admin-media-preview video {
  width: 100%;
  border-radius: 10px;
  display: block;
  background: var(--ink);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.admin-media-preview video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.admin-media-preview audio {
  width: 100%;
  margin-top: 8px;
}
.admin-media-meta {
  display: grid;
  gap: 12px;
}
.admin-media-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-media-preview iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: #000;
  display: block;
}
.admin-media-item-youtube {
  grid-template-columns: minmax(220px, 320px) 1fr auto;
}

/* ---------- Public Videos page (YouTube list) ---------- */
.videos-page {
  background: var(--mint-bg);
}
.videos-page-inner {
  max-width: 860px;
}
.videos-page-header {
  margin-bottom: 28px;
}
.videos-page-header .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.videos-page-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--ink);
}
.videos-page-intro {
  margin: 0;
  max-width: 620px;
  color: var(--ink-70);
  font-size: 1rem;
  line-height: 1.55;
}
.videos-page-count {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.videos-list {
  display: grid;
  gap: 28px;
}
.video-embed-card {
  margin: 0;
  padding: 18px 18px 20px;
  border: 1px solid rgba(14, 42, 46, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.video-embed-title {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--sage);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.video-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(14, 42, 46, 0.12);
}
.video-embed-frame iframe,
.video-embed-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.videos-pagination {
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid rgba(14, 42, 46, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}
.videos-pagination-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(14, 42, 46, 0.08);
}
.videos-pagination-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.videos-pagination-range {
  color: var(--ink-70);
  font-size: 0.92rem;
}
.videos-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.videos-pagination-btn {
  min-width: 92px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 42, 46, 0.12);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
a.videos-pagination-btn:hover {
  background: var(--sage-light);
  border-color: var(--sage);
  box-shadow: 0 4px 12px rgba(14, 42, 46, 0.08);
}
.videos-pagination-btn.disabled {
  border-color: transparent;
  background: var(--mint-bg);
  color: var(--ink-50);
  cursor: not-allowed;
}
.videos-pagination-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--mint-bg);
}
.videos-pagination-links a,
.videos-pagination-links span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.videos-pagination-links a:hover {
  background: var(--paper);
  border-color: rgba(14, 42, 46, 0.1);
}
.videos-pagination-links .current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 42, 46, 0.2);
}
@media (max-width: 640px) {
  .video-embed-card {
    padding: 14px;
  }
  .videos-pagination-controls {
    width: 100%;
  }
  .videos-pagination-btn {
    flex: 1 1 40%;
    min-width: 0;
  }
  .videos-pagination-links {
    flex: 1 1 100%;
    justify-content: center;
  }
  .videos-pagination-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Written patient reviews ---------- */
.testimonials-container {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 20px;
  box-sizing: border-box;
}
.reviews-page .section-header {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.reviews-list {
  display: grid;
  gap: 16px;
  max-width: none;
  width: 100%;
}
.review-card {
  background: var(--paper);
  border: 1px solid rgba(14, 42, 46, 0.1);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.review-card-quote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  text-align: left;
}
.review-card-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  text-align: right;
}
.review-card-who {
  font-weight: 500;
}
.review-card-sep {
  color: var(--ink-50);
}
.review-card-date {
  color: var(--ink-70);
  font-weight: 400;
}
.reviews-pagination {
  margin-top: 28px;
  max-width: none;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 42, 46, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.reviews-pagination-info {
  color: var(--ink-70);
  font-size: 0.95rem;
}
.reviews-pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.reviews-pagination-links a,
.reviews-pagination-links span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 42, 46, 0.18);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 8px;
}
.reviews-pagination-links a:hover {
  background: var(--mint-bg);
  border-color: var(--sage);
}
.reviews-pagination-links .current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.reviews-pagination-links .disabled {
  border-color: transparent;
  color: var(--ink-50);
  background: transparent;
}

@media (max-width: 600px) {
  .testimonials-container {
    padding: 24px 16px;
  }
}
/* ---------- Home awards header ---------- */
.home-awards-header {
  background: var(--paper);
  border-bottom: 1px solid rgba(14, 42, 46, 0.08);
  padding: 28px 0 22px;
  text-align: center;
}
.home-awards-badges {
  list-style: none;
  margin: 0 auto 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
  max-width: 720px;
}
.home-awards-badges img {
  height: 110px;
  width: auto;
  margin: 0 auto;
}
.home-awards-promo {
  margin: 8px auto 22px;
  max-width: 820px;
  padding: 16px 28px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, rgba(91, 140, 123, 0.12) 0%, rgba(91, 140, 123, 0.06) 100%);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-soft);
}
.home-awards-contacts {
  margin: 0 auto 18px;
  max-width: 760px;
}
.home-awards-contacts p {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
}
.home-awards-contacts a:hover { color: var(--coral); }
.home-awards-sep {
  color: var(--coral);
  margin: 0 6px;
  font-weight: 700;
}
.home-awards-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.home-awards-social {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.home-awards-social .social-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #1a3a6b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: background 0.15s ease;
}
.home-awards-social .social-icon-btn:hover,
.home-awards-social .social-menu.is-open .social-menu-toggle {
  background: var(--coral);
}
.home-awards-social svg { width: 16px; height: 16px; }

.social-menu {
  position: relative;
}
.social-menu-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(280px, 80vw);
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(8, 24, 20, 0.22);
  z-index: 40;
}
.social-menu-panel::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #fff;
}
.home-awards-social .social-menu-panel {
  bottom: auto;
  top: calc(100% + 10px);
}
.home-awards-social .social-menu-panel::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #fff;
}
.social-menu-title {
  margin: 0 0 6px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.social-menu-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
  word-break: break-word;
}
.social-menu-item:hover {
  background: rgba(15, 40, 34, 0.06);
  color: var(--ink);
}
.social-menu-item + .social-menu-item {
  margin-top: 2px;
}
.home-awards-guestbook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home-awards-guestbook:hover { background: var(--coral-dark); }

@media (max-width: 640px) {
  .home-awards-badges img { height: 84px; }
  .home-awards-promo {
    font-size: 1.15rem;
    padding: 14px 18px;
    margin-bottom: 18px;
  }
  .home-awards-contacts p { font-size: 0.88rem; }
  .home-awards-actions { justify-content: center; }
}

/* ---------- Live chat (24/7) ---------- */
.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;
}

.live-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: var(--font-body);
}

.live-chat-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  background: var(--hero-accent, #3dd9b8);
  color: #0E2A2E;
  padding: 14px 18px 14px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 32px rgba(14, 42, 46, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.live-chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(14, 42, 46, 0.34);
  background: var(--hero-accent-dark, #2bb89a);
}
.live-chat-launcher-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.live-chat-icon-close { display: none; }
.live-chat.is-open .live-chat-icon-open { display: none; }
.live-chat.is-open .live-chat-icon-close { display: block; }
.live-chat.is-open .live-chat-launcher-label { display: none; }
.live-chat.is-open .live-chat-launcher {
  padding: 14px;
  border-radius: 50%;
}
.live-chat-pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(61, 217, 184, 0.55);
  animation: live-chat-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
.live-chat.is-open .live-chat-pulse { display: none; }

@keyframes live-chat-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}

.live-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 120px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(8, 12, 18, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(14, 42, 46, 0.08);
  transform-origin: bottom right;
  animation: live-chat-rise 0.28s ease-out both;
}
.live-chat-panel[hidden] { display: none !important; }

@keyframes live-chat-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.live-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(135deg, #0E2A2E 0%, #1a3f44 100%);
  color: #fff;
}
.live-chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
.live-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.live-chat-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.live-chat-header-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.live-chat-header-text span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
}
.live-chat-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd9b8;
  box-shadow: 0 0 0 3px rgba(61, 217, 184, 0.25);
}
.live-chat-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.live-chat-close:hover { background: rgba(255,255,255,0.18); }

.live-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f3f6f5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.live-chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-line;
}
.live-chat-bubble--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(14,42,46,0.06);
  border-bottom-left-radius: 4px;
}
.live-chat-bubble--user {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.live-chat-bubble a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.live-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid rgba(14,42,46,0.06);
}
.live-chat-quick button {
  border: 1px solid rgba(14,42,46,0.14);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.live-chat-quick button:hover {
  background: var(--sage-light);
  border-color: var(--sage);
}

.live-chat-compose {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid rgba(14,42,46,0.06);
}
.live-chat-compose input {
  flex: 1;
  border: 1px solid rgba(14,42,46,0.14);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}
.live-chat-compose input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(91, 140, 123, 0.18);
}
.live-chat-send {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--hero-accent, #3dd9b8);
  color: #0E2A2E;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.live-chat-send:hover { background: var(--hero-accent-dark, #2bb89a); }

.live-chat-lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border-top: 1px solid rgba(14,42,46,0.06);
  overflow-y: auto;
}
.live-chat-lead[hidden] { display: none !important; }
.live-chat-lead-intro {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-70);
}
.live-chat-lead label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.live-chat-lead label em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink-50);
}
.live-chat-lead input,
.live-chat-lead textarea {
  border: 1px solid rgba(14,42,46,0.14);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.live-chat-lead input:focus,
.live-chat-lead textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(91, 140, 123, 0.18);
}
.live-chat-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}
.live-chat-lead-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.live-chat-lead-cancel,
.live-chat-lead-submit {
  flex: 1;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.live-chat-lead-cancel {
  background: #fff;
  border-color: rgba(14,42,46,0.16);
  color: var(--ink);
}
.live-chat-lead-submit {
  background: var(--hero-accent, #3dd9b8);
  color: #0E2A2E;
  border: none;
}
.live-chat-lead-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.live-chat-lead-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sage);
}
.live-chat-lead-status.is-error { color: var(--coral-dark); }

.live-chat.is-lead .live-chat-quick,
.live-chat.is-lead .live-chat-compose { display: none; }

@media (max-width: 480px) {
  .live-chat {
    right: 14px;
    bottom: 14px;
  }
  .live-chat-panel {
    position: fixed;
    right: 10px;
    left: 10px;
    bottom: 78px;
    width: auto;
    height: min(70vh, 560px);
  }
  .live-chat-launcher-label { display: none; }
  .live-chat-launcher { padding: 14px; border-radius: 50%; }
}

/* ---------- Home Contact us section ---------- */
.home-contact {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 72px 0 96px;
  background: #eef1f2;
  box-sizing: border-box;
  overflow-x: hidden;
}
.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 7.5%;
  padding-right: 7.5%;
  box-sizing: border-box;
}
.home-contact-form-wrap {
  min-width: 0;
}
.home-contact-title {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: #0d3a45;
  letter-spacing: -0.02em;
}
.home-contact-lede {
  margin: 0 0 28px;
  color: rgba(13, 58, 69, 0.65);
  font-size: 1.05rem;
}
.home-contact-form {
  display: grid;
  gap: 18px;
}
.home-contact-form .field label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #0d3a45;
}
.home-contact-form .req {
  color: #e11d48;
  font-weight: 700;
}
.home-contact-form .field input,
.home-contact-form .field textarea {
  background: #fff;
  border: 1.5px solid #b7d7e0;
  border-radius: 12px;
  padding: 15px 16px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.home-contact-form .field input:focus,
.home-contact-form .field textarea:focus {
  border-color: var(--hero-accent, #3dd9b8);
  box-shadow: 0 0 0 3px rgba(61, 217, 184, 0.18);
  background: #fff;
}
.home-contact-form .field textarea {
  min-height: 160px;
}
.home-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 6px;
  padding: 15px 22px;
  border: none;
  border-radius: 12px;
  background: var(--hero-accent, #3dd9b8);
  color: #0d3a45;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.home-contact-submit:hover {
  background: var(--hero-accent-dark, #2bb89a);
  transform: translateY(-1px);
}

.home-contact-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 100%;
  min-height: 560px;
  background: #1a2e32;
  box-shadow: 0 16px 40px rgba(14, 42, 46, 0.12);
}
.home-contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
}
.home-contact-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 22px;
  background: rgba(10, 16, 22, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.home-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
}
.home-contact-chip svg { flex-shrink: 0; }
.home-contact-chip:hover { color: var(--hero-accent, #3dd9b8); }

@media (max-width: 1100px) {
  .home-contact-grid {
    padding-left: 5%;
    padding-right: 5%;
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .home-contact {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 5%;
    padding-right: 5%;
  }
  .home-contact-form-wrap { order: 1; }
  .home-contact-media {
    order: 2;
    min-height: 380px;
  }
}

@media (max-width: 560px) {
  .home-contact { padding: 48px 0 64px; }
  .home-contact-grid {
    padding-left: 4%;
    padding-right: 4%;
  }
  .home-contact-overlay {
    flex-wrap: wrap;
    gap: 12px;
  }
  .home-contact-media { min-height: 300px; }
  .home-contact-form .field textarea { min-height: 140px; }
}

/* ---------- Resources showcase carousel ---------- */
.resources-showcase {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px 0 96px;
  background: #f5f6f7;
  overflow-x: hidden;
  box-sizing: border-box;
}
.resources-showcase-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.resources-showcase-title {
  margin: 0 0 28px;
  padding-left: 72px;
  padding-right: 72px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: #0d3a45;
  letter-spacing: -0.02em;
}
.resources-showcase-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 0;
  align-items: stretch;
  width: 100%;
}
.resources-showcase-viewport {
  min-width: 0;
  overflow: hidden;
  padding: 0 8px;
}
.resources-showcase-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.resources-showcase-track::-webkit-scrollbar { display: none; }
.resources-card {
  scroll-snap-align: start;
  min-width: 0;
  background: #eceeef;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
}
.resources-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.resources-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #d7e2dd;
}
.resources-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 22px;
  flex: 1;
}
.resources-card-body h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0d3a45;
}
.resources-card-body p {
  margin: 0;
  color: rgba(13, 58, 69, 0.7);
  font-size: 0.94rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resources-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 58, 69, 0.1);
}
.resources-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #0d3a45;
}
.resources-card-author strong {
  display: block;
  font-size: 0.92rem;
  color: #0d3a45;
  font-weight: 700;
}
.resources-card-author span {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13, 58, 69, 0.5);
  font-weight: 600;
}
.resources-showcase-nav {
  border: none;
  background: #0d3a45;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  transition: background 0.15s ease;
}
.resources-showcase-prev { border-radius: 0; }
.resources-showcase-next { border-radius: 0; }
.resources-showcase-nav svg { width: 24px; height: 24px; }
.resources-showcase-nav:hover { background: #14505c; }
.resources-showcase-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 1100px) {
  .resources-showcase-title {
    padding-left: 56px;
    padding-right: 56px;
  }
  .resources-showcase-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}

@media (max-width: 860px) {
  .resources-showcase {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 48px 16px 72px;
  }
  .resources-showcase-title {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 20px;
  }
  .resources-showcase-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .resources-showcase-viewport {
    order: -1;
    width: 100%;
    padding: 0;
  }
  .resources-showcase-nav {
    width: 52px;
    height: 52px;
    border-radius: 999px !important;
  }
  .resources-showcase-track {
    grid-auto-columns: 85%;
  }
}
