/* ==========================================================================
   HOPE DENT — GLOBAL STYLES
   Homepage + include-uri + bază pentru pagini interioare
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #FDFAF5;
  --cream2: #F4EFE6;
  --green: #1F4D3A;
  --green2: #2A6650;
  --green-soft: #E8F2EC;
  --green-mid: #B8D4C0;
  --gold: #C9A96E;
  --gold-soft: #F6EDD8;
  --taupe: #8C8278;
  --text: #1A1A18;
  --muted: #5E6B62;
  --border: #DDD8CF;
  --white: #FFFFFF;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  --site-max-width: 1240px;
  --site-gutter: 2.5rem;
  --site-nav-height: 82px;
  --site-header-offset: var(--site-nav-height);
  --section-space: clamp(4rem, 7vw, 6rem);
  --section-space-tight: clamp(2.5rem, 5vw, 4rem);
  --card-radius: 16px;
  --card-radius-lg: 24px;
  --shadow-soft: 0 10px 32px rgba(31, 77, 58, 0.04);
  --shadow-hover: 0 18px 36px rgba(31, 77, 58, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-section {
  scroll-margin-top: var(--site-header-offset);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-container {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max-width));
  margin: 0 auto;
}

.page-main {
  display: block;
}

.page-section {
  padding: var(--section-space) 0;
}

.page-section--tight {
  padding: var(--section-space-tight) 0;
}

.page-section--muted {
  background: var(--cream2);
}

.page-section--accent {
  background: var(--gold-soft);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.btn-white {
  background: var(--white);
  color: var(--green);
  padding: 0.85rem 2rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-white:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.btn-hero-green {
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-hero-green:hover {
  background: var(--green2);
  transform: translateY(-2px);
}

.btn-ghost-white {
  color: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-ghost {
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 1.6rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: background 0.2s, transform 0.15s;
}

.btn-ghost:hover {
  background: var(--green2);
  transform: translateY(-2px);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 1.7rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-dark:hover {
  background: var(--green2);
  transform: translateY(-2px);
}

/* ==========================================================================
   INCLUDE HOSTS
   ========================================================================== */

#site-header {
  position: relative;
  z-index: 500;
}

#site-footer {
  position: relative;
  z-index: 20;
}

#site-header:empty {
  display: block;
  min-height: var(--site-header-offset);
}

#site-footer:empty {
  display: block;
  min-height: 1px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 220;
}

.site-nav,
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2.5rem;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.home-page #nav:not(.solid):not(.nav-always-solid) {
  background: transparent;
}

#nav.solid,
.inner-page #nav,
#nav.nav-always-solid {
  background: #FFFFFF;
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
  transition: filter 0.3s;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

.nav-logo-text em {
  font-style: italic;
}

#nav.solid .nav-logo-text,
.inner-page #nav .nav-logo-text,
#nav.nav-always-solid .nav-logo-text {
  color: var(--text);
}

#nav.solid .nav-logo img,
.inner-page #nav .nav-logo img,
#nav.nav-always-solid .nav-logo img {
  filter: none;
}

.home-page #nav:not(.solid):not(.nav-always-solid) .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

#nav.solid .nav-links a,
.inner-page #nav .nav-links a,
#nav.nav-always-solid .nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green) !important;
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.nav-dropdown {
  position: relative;
  padding: 0.5rem 0;
}

.nav-dropdown-toggle {
  position: relative;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
}

#nav.solid .nav-dropdown-toggle,
.inner-page #nav .nav-dropdown-toggle,
#nav.nav-always-solid .nav-dropdown-toggle {
  color: var(--muted);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
  color: var(--green) !important;
}

.nav-dropdown-toggle.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 50;
  display: none;
  min-width: 220px;
  background: linear-gradient(to bottom, var(--cream2) 0%, var(--cream) 50%, var(--cream2) 100%);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.12);
  padding: 0.4rem 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 220px;
  background: linear-gradient(to bottom, var(--cream2) 0%, var(--cream) 50%, var(--cream2) 100%);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.12);
  padding: 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown a.is-active::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

/* For nav-phone with btn-hero-green class */
.nav-phone.btn-hero-green {
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Override for solid nav states */
#nav.solid .nav-phone.btn-hero-green,
.inner-page #nav .nav-phone.btn-hero-green,
#nav.nav-always-solid .nav-phone.btn-hero-green {
  background: var(--green);
  color: var(--white);
}

/* Hover states */
.nav-phone.btn-hero-green:hover {
  background: var(--green2);
  color: var(--white);
  transform: translateY(-2px);
}

/* Ensure SVG icon stays white */
.nav-phone.btn-hero-green svg,
#nav.solid .nav-phone.btn-hero-green svg,
.inner-page #nav .nav-phone.btn-hero-green svg,
#nav.nav-always-solid .nav-phone.btn-hero-green svg,
.nav-phone.btn-hero-green:hover svg {
  stroke: var(--white);
}

/* For nav-phone with btn-ghost-white class (keeping for other uses) */
.nav-phone.btn-ghost-white {
  color: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 400;
}

#nav.solid .nav-phone.btn-ghost-white,
.inner-page #nav .nav-phone.btn-ghost-white,
#nav.nav-always-solid .nav-phone.btn-ghost-white {
  color: var(--green);
  border-color: var(--green);
}

.nav-phone.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.nav-phone.btn-ghost-white:hover svg {
  stroke: var(--white);
}

/* For nav-phone with btn-ghost-white class */
.nav-phone.btn-ghost-white {
  color: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 400;
}

#nav.solid .nav-phone,
.inner-page #nav .nav-phone,
#nav.nav-always-solid .nav-phone {
  color: var(--text);
}

#nav.solid .nav-phone.btn-ghost-white,
.inner-page #nav .nav-phone.btn-ghost-white,
#nav.nav-always-solid .nav-phone.btn-ghost-white {
  color: var(--green);
  border-color: var(--green);
}

.nav-phone:hover {
  color: var(--gold);
}

.nav-phone.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.nav-btn {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

#nav.solid .nav-btn,
.inner-page #nav .nav-btn,
#nav.nav-always-solid .nav-btn {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.nav-btn:hover {
  background: var(--green2);
  border-color: var(--green2);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.3s;
  position: relative;
  z-index: 700;
}

#nav.solid .mobile-menu-btn,
.inner-page #nav .mobile-menu-btn,
#nav.nav-always-solid .mobile-menu-btn {
  color: var(--text);
}

.site-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 24, 0.36);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 400;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   HOMEPAGE HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--site-header-offset) + 4rem) 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(
      to bottom,
      rgba(26, 26, 24, 0.18) 0%,
      rgba(26, 26, 24, 0.28) 36%,
      rgba(26, 26, 24, 0.68) 72%,
      rgba(26, 26, 24, 0.9) 100%
    ),
    url('../img/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-end;
  gap: 2rem;
  max-width: 760px;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
  max-width: 760px;
}

.hero-desc {
  max-width: 620px;
  margin-bottom: 2rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip {
  background: var(--green);
  padding: 1.55rem 0;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-strip p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.section-heading--narrow p {
  max-width: 520px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-heading p {
  max-width: 440px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

/* ==========================================================================
   WHY SECTION
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  background: #f7f2e9;
}

.why-card h3 {
  margin-bottom: 0.55rem;
  font-size: 0.96rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 600;
}

.why-card p {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

/* ==========================================================================
   SPLIT PREVIEW
   ========================================================================== */

.split-preview {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-preview__media {
  min-height: 460px;
  background-size: cover;
  background-position: center;
}

.split-preview__content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-preview__content h2 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
}

.split-preview__content p {
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--muted);
  font-weight: 300;
}

.split-preview__actions {
  margin-top: 1.5rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.service-card {
  background: var(--cream);
  padding: 1.8rem 1.6rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--green-soft);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.service-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

.service-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-link:hover {
  color: var(--green2);
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 300;
}

.services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.differentiators-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.differentiators-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 300;
}

.differentiators-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.section-footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.section-footer-note p {
  max-width: 580px;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--muted);
  font-weight: 300;
}

/* ==========================================================================
   EMERGENCY
   ========================================================================== */

.emergency-banner {
  background: var(--green);
  padding: 3.5rem 0;
}

.emergency-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.emg-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.emg-text h2,
.emergency-shell h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.24;
}

.emg-text p,
.emergency-shell p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.72;
  font-weight: 300;
  margin-top: 0.65rem;
  max-width: 540px;
}

.emg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  background: var(--white);
  color: var(--green);
  padding: 1rem 1.8rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--serif);
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.emg-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.emergency-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.emergency-actions .btn-ghost-white {
  min-width: 220px;
  border-color: rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.85rem 1.4rem;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
  text-align: center;
}

.emergency-actions .btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
}

/* ==========================================================================
   TEAM
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(31, 77, 58, 0.1);
}

.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.team-info {
  padding: 1.4rem 1.6rem 1.6rem;
}

.team-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--text);
  margin-bottom: 0.2rem;
  font-weight: 400;
}

.team-role {
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.team-specialty {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 0.8rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.team-bio {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}


/* ==========================================================================
   ACTIONS / CTA PANEL
   ========================================================================== */

.section-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

.section-actions--center {
  justify-content: center;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--green);
  color: var(--white);
  border-radius: var(--card-radius-lg);
  box-shadow: 0 22px 48px rgba(31, 77, 58, 0.14);
}

.cta-panel h2 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
}

.cta-panel p {
  max-width: 620px;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 300;
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   QUICK CONTACT
   ========================================================================== */

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-quick-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(26, 26, 24, 0.08);
  border-radius: 16px;
  padding: 1.4rem;
}

.contact-quick-label {
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.contact-quick-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-quick-card a,
.contact-quick-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  text-decoration: none;
}

.contact-quick-card a {
  font-weight: 600;
}

.location-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 300;
}

.location-list li::before {
  content: "";
  position: absolute;
  left: 0;
  background-image: url('data:image/svg+xml,<svg fill="currentColor" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800px" height="800px" viewBox="0 0 413.099 413.099" xml:space="preserve"><g><g><path d="M206.549,0L206.549,0c-82.6,0-149.3,66.7-149.3,149.3c0,28.8,9.2,56.3,22,78.899l97.3,168.399c6.1,11,18.4,16.5,30,16.5c11.601,0,23.3-5.5,30-16.5l97.3-168.299c12.9-22.601,22-49.601,22-78.901C355.849,66.8,289.149,0,206.549,0z M206.549,193.4c-30,0-54.5-24.5-54.5-54.5s24.5-54.5,54.5-54.5s54.5,24.5,54.5,54.5C261.049,169,236.549,193.4,206.549,193.4z"/></g></g></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  width: 1em;
  height: 1em;
  color: var(--green);
}

.map-placeholder {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.map-placeholder p {
  margin: 0.5rem 0;
  color: var(--text);
}

.map-placeholder p:first-child {
  font-weight: 600;
  color: var(--green);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.schedule-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.schedule-item--closed {
  background: var(--cream2);
  opacity: 0.7;
}

.schedule-day {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
}

.schedule-hours {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green);
}

.schedule-item--closed .schedule-hours {
  color: var(--muted);
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-field--checkbox {
  margin: 1.1rem 0 1.6rem;
}

.checkbox-label {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.checkbox-label .checkmark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--green-mid);
  border-radius: 6px;
  background: var(--cream);
  box-shadow: none;
  transform: translateY(-1px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--green);
  border-color: var(--green);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkmark {
  box-shadow: 0 0 0 4px rgba(31, 77, 58, 0.12);
}

.checkbox-text {
  display: inline-block;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}

.checkbox-text a {
  color: var(--green);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .checkbox-label {
    align-items: flex-start;
  }

  .checkbox-text {
    white-space: normal;
    line-height: 1.45;
    font-size: 0.72rem;
  }

  .checkbox-label .checkmark {
    transform: translateY(1px);
  }
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.form-note p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.form-message--success {
  background: rgba(31, 77, 58, 0.1);
  color: var(--green);
  border: 1px solid rgba(31, 77, 58, 0.2);
}

.form-message--error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.booking-main-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.booking-form-section {
  max-width: 600px;
}

.booking-form {
  margin-top: 2rem;
}

.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 2rem;
}

.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.sidebar-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.sidebar-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-highlight {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-phone-large {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.btn-small {
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
}

.contact-address {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-address strong {
  color: var(--text);
}

.schedule-compact {
  margin-bottom: 1rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row--closed {
  opacity: 0.6;
}

.schedule-day {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.schedule-hours {
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 600;
}

.schedule-row--closed .schedule-hours {
  color: var(--muted);
}

.schedule-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-grid--four {
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  max-width: none;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.faq-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: masonry;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--cream2);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 77, 58, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 400px;
}

.gallery-item--extra-tall {
  grid-row: span 3;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--extra-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--video-landscape {
  grid-column: span 2;
  grid-row: span 1;
  min-height: 220px;
}

.gallery-item--tall {
  grid-row: span 2;
  min-height: 300px;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.featured-article__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.featured-article__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.featured-article__content {
  text-align: center;
}

.article-date {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 1rem;
  font-weight: 500;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.article-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 77, 58, 0.12);
}

.article-card--preparing {
  opacity: 0.8;
}

.article-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream2);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.02);
}

.article-content {
  padding: 1.5rem;
}

.article-category {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.article-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.article-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-card h3 a:hover {
  color: var(--green);
}

.article-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.category-chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.category-chip:hover {
  background: var(--green-soft);
  border-color: var(--green-mid);
  color: var(--green);
}

.disclaimer-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
}

.disclaimer-section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.disclaimer-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.article-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
}

.article-hero__content {
  text-align: left;
  flex: 1;
}

.article-category-badge {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin: 1rem 0 1.5rem;
}

.article-meta {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0;
}

.article-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 2rem 0;
  max-width: 700px;
}

.article-hero__media {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.article-hero__media img {
  width: 100%;
  height: auto;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.article-sidebar-sticky {
  position: sticky;
  top: 5rem;
}

.sticky-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.sticky-cta h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.sticky-cta p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-cta a {
  display: block;
  margin-bottom: 0.5rem;
}

.sticky-cta a:last-child {
  margin-bottom: 0;
}

.article-sidebar {
  position: sticky;
  top: 2rem;
}

.article-content {
  max-width: none;
}

.article-content h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin: 2.5rem 0 1.5rem 0;
  line-height: 1.2;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.article-content ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text);
}

.important-box {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.important-box h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.important-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.article-faq {
  margin: 3rem 0;
}

.article-faq h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.faq-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.recommended-articles {
  margin: 3rem 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.recommended-articles h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.recommended-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recommended-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.recommended-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.recommended-card h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.recommended-card h4 a:hover {
  color: var(--green);
}

.article-category {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.article-status {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

  .back-link {
    text-align: center;
    padding: 2rem 0;
  }

  .symptoms-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .symptom-item {
    padding: 0.6rem;
  }

  .symptom-item span:last-child {
    font-size: 0.9rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .specialties-links {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .specialties-links--four {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .specialty-link {
    padding: 1.25rem;
  }

  .parents-tips {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tip-item {
    padding: 0.875rem;
  }

  .specialty-link--featured {
    padding: 1.5rem;
  }

  .specialty-link--featured h4 {
    font-size: 1.1rem;
  }

  .doctor-card {
    padding: 1.5rem;
  }

  .doctor-name {
    font-size: 1.3rem;
  }

.back-link a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

   .back-link a:hover {
    color: var(--green2);
  }

  /* ==========================================================================
     SPECIALTIES DIRECTORY PAGE
     ========================================================================== */

  .page-hero--specialties .page-hero--inner {
    min-height: clamp(500px, 54vw, 620px);
    align-items: flex-end;
    padding-bottom: clamp(5rem, 8vw, 7rem);
  }

  .page-hero--specialties .page-hero__content {
    max-width: 820px;
  }

  .page-hero--specialties .page-hero__content h1 {
    max-width: 900px;
  }

  .page-hero--specialties .page-hero__content p {
    max-width: 680px;
  }

  .specialties-directory-section {
    position: relative;
    z-index: 3;
    margin-top: -4rem;
    padding-bottom: var(--section-space);
  }

  .specialties-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--border);
    box-shadow: 0 28px 70px rgba(31, 77, 58, 0.08);
  }

  .specialty-directory-card {
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(253, 250, 245, 0.96);
    color: var(--text);
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .specialty-directory-card:hover {
    z-index: 3;
    background: var(--green);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(31, 77, 58, 0.16);
  }

  .specialty-directory-card__number {
    display: inline-flex;
    margin-bottom: 1.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .specialty-directory-card h3 {
    margin-bottom: 0.85rem;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 1.7vw, 1.65rem);
    font-weight: 400;
    line-height: 1.15;
    color: inherit;
  }

  .specialty-directory-card p {
    margin-bottom: 1.4rem;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 300;
  }

  .specialty-directory-card:hover p {
    color: rgba(255, 255, 255, 0.72);
  }

  .specialty-directory-card__link {
    margin-top: auto;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--green);
  }

  .specialty-directory-card:hover .specialty-directory-card__link {
    color: var(--gold);
  }

  @media (max-width: 1100px) {
    .specialties-directory-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .specialty-directory-card {
      min-height: 230px;
    }
  }

  @media (max-width: 640px) {
    .page-hero--specialties .page-hero--inner {
      min-height: auto;
      padding-top: calc(var(--site-header-offset) + 3rem);
      padding-bottom: 4.5rem;
    }

    .specialties-directory-section {
      margin-top: -2rem;
      padding-bottom: 4rem;
    }



    .specialty-directory-card {
      min-height: auto;
      padding: 1.5rem;
    }
  }

  /* ==========================================================================
     CONTACT PAGE — FORM + SIDEBAR REBALANCE
     ========================================================================== */

  .contact-page .contact-booking-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.75fr);
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: start;
  }

  .contact-page .booking-form-section {
    max-width: none;
    width: 100%;
  }

  .contact-page .contact-form {
    max-width: none;
    width: 100%;
  }

  .contact-page .contact-sidebar {
    position: static;
    top: auto;
    align-self: start;
    gap: 1.5rem;
  }

  .contact-page .sidebar-card {
    padding: clamp(1.6rem, 2.4vw, 2rem);
  }

  @media (max-width: 1100px) {
    .contact-page .contact-booking-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .contact-page .contact-sidebar {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      order: 0;
    }
  }

  @media (max-width: 768px) {
    .contact-page .contact-sidebar {
      grid-template-columns: 1fr;
    }
  }

.symptoms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.symptom-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.symptom-bullet {
  color: var(--green);
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: -0.1rem;
}

.symptom-item span:last-child {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.steps-grid--four {
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  max-width: none;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.specialties-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.specialties-links--four {
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  max-width: none;
}

.specialty-link {
  display: block;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.specialty-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green-mid);
}

.specialty-link h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.specialty-link p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.parents-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.tip-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tip-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  align-self: center;
}

.specialty-highlight {
  max-width: 600px;
  margin: 0 auto;
}

.specialty-link--featured {
  display: block;
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialty-link--featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.25);
}

.specialty-link--featured h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.specialty-link--featured p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.link-text {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  opacity: 0.9;
}

.doctor-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.doctor-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.doctor-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin: 0;
}

.doctor-role {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin: 0;
}

.doctor-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 500px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--text);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 0.9rem;
}

.footer-logo-wrap img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo-wrap span {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.footer-logo-wrap span em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  max-width: 260px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.7;
  font-weight: 300;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col li,
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.22);
  font-weight: 300;
}

/* ==========================================================================
   INNER PAGE BASE
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero--inner {
  min-height: clamp(420px, 56vw, 560px);
  padding: calc(var(--site-header-offset) + 3.5rem) 0 4rem;
  display: flex;
  align-items: flex-end;
  background-color: var(--cream2);
  background-image:
    linear-gradient(180deg, rgba(26, 26, 24, 0.08) 0%, rgba(26, 26, 24, 0.22) 100%),
    radial-gradient(circle at top left, rgba(201, 169, 110, 0.22), transparent 38%),
    linear-gradient(180deg, #faf6ef 0%, #f0e9de 100%);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(253, 250, 245, 0) 0%, var(--cream) 100%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero__content--center {
  text-align: center;
}

.page-hero__content--wide {
  max-width: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.page-hero__content h1 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-hero__content p {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  color: rgba(26, 26, 24, 0.52);
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

.page-grid {
  display: grid;
  gap: 2rem;
}

.page-grid--content {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
}

.page-copy > * + * {
  margin-top: 1rem;
}

.page-copy h2 {
  margin-bottom: 1rem;
}

.page-copy p,
.page-card p {
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--muted);
  font-weight: 300;
}

.page-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.page-card--image {
  padding: 0;
}

.page-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--card-radius);
  display: block;
}

.page-card--shorter {
  height: 250px;
}

.article-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.title-with-space {
  margin-bottom: 1rem;
}

.page-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  height: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  background: var(--green-soft);
  border-color: var(--green-mid);
  box-shadow: var(--shadow-hover);
}

.info-card__eyebrow {
  display: block;
  margin-bottom: 0.95rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.72;
}

.info-card h3 {
  margin-bottom: 0.55rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.info-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42);
}

/* ==========================================================================
   MOBILE SLIDER DOTS
   ========================================================================== */

.slider-dots {
  display: none;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: var(--green);
  transform: scale(1.25);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .split-preview,
  .footer-grid,
  .cta-panel,
  .page-grid--content {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .contact-quick-grid,
  .team-grid,
  .info-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}



@media (max-width: 768px) {
  :root {
    --site-gutter: 1.5rem;
    --site-nav-height: 74px;
    --site-header-offset: var(--site-nav-height);
  }

  #site-header {
    position: relative;
    z-index: 900;
  }

  .site-nav,
  #nav {
    padding: 1rem 1.5rem;
    gap: 1rem;
    z-index: 950;
    background: #fff !important;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 var(--border);
  }

  .home-page #nav:not(.solid):not(.nav-always-solid) {
    background: #fff !important;
  }

  .home-page #nav:not(.solid):not(.nav-always-solid) .nav-logo img {
    filter: none;
  }

  .nav-logo-text,
  .home-page #nav:not(.solid):not(.nav-always-solid) .nav-logo-text {
    color: var(--text);
  }

  .mobile-menu-btn {
    display: block;
    order: 2;
    color: var(--text);
    position: relative;
    z-index: 980;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: var(--site-nav-height);
    left: 0;
    right: 0;
    z-index: 940;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    width: 100%;
    max-height: calc(100svh - var(--site-nav-height));
    overflow-y: auto;

    padding: 0;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    box-shadow: 0 18px 36px rgba(31, 77, 58, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links > a,
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 54px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    color: var(--text) !important;

    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
  }

  .nav-links > a:hover,
  .nav-links > a.is-active,
  .nav-dropdown-toggle:hover,
  .nav-dropdown.is-open .nav-dropdown-toggle {
    background: var(--cream2);
    color: var(--green) !important;
  }

  .nav-links a.is-active::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
    padding: 0;
  }

  .nav-dropdown-icon {
    transition: transform 0.2s ease;
  }

  .nav-dropdown.is-open .nav-dropdown-icon {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: static;
    display: none !important;
    min-width: 0;
    width: 100%;

    padding: 0;
    background: var(--cream);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 1.5rem 0 2.4rem;

    border-bottom: 1px solid rgba(221, 216, 207, 0.75);
    background: var(--cream);
    color: var(--muted) !important;

    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a.is-active {
    color: var(--green) !important;
  }

  .site-menu-backdrop {
    z-index: 880;
    background: rgba(26, 26, 24, 0.22);
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--site-header-offset) + 3rem) 0 3rem;
    align-items: flex-end;
  }

  .hero-bg {
    background-image:
      linear-gradient(
        to bottom,
        rgba(26, 26, 24, 0.10) 0%,
        rgba(26, 26, 24, 0.28) 32%,
        rgba(26, 26, 24, 0.78) 68%,
        rgba(26, 26, 24, 0.96) 100%
      ),
      url('../img/herom.jpg');
    background-size: cover;
    background-position: center top;
  }

  .hero-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .hero-desc {
    font-size: 0.94rem;
    line-height: 1.75;
    max-width: 100%;
  }

  .hero-btns {
    align-items: stretch;
  }

  .hero-btns a {
    width: 100%;
    text-align: center;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .section-heading p {
    max-width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .split-preview {
    grid-template-columns: 1fr;
  }

  .split-preview__media {
    min-height: 280px;
  }

  .split-preview__content {
    padding: 2rem 1.5rem;
  }

  .services-grid[data-mobile-slider],
  .team-grid[data-mobile-slider] {
    display: flex;
    overflow-x: auto;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border: none;
    background: transparent;
  }

  .services-grid[data-mobile-slider]::-webkit-scrollbar,
  .team-grid[data-mobile-slider]::-webkit-scrollbar {
    display: none;
  }

  .services-grid[data-mobile-slider] .service-card,
  .team-grid[data-mobile-slider] .team-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-sizing: border-box;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .services-grid,
  .contact-quick-grid,
  .team-grid,
  .info-card-grid,
  .audience-cards {
    grid-template-columns: 1fr !important;
  }

  .section-footer-note,
  .emergency-shell,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .emg-cta {
    width: 100%;
    justify-content: center;
    font-size: 1.2rem;
  }

  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .page-section {
    padding: 4rem 0;
  }

  .page-card,
  .info-card,
  .service-card,
  .why-card {
    padding: 1.4rem;
  }

  .page-card--image {
    padding: 0;
  }

  .section-actions .btn {
    flex: 1;
    text-align: center;
  }

  .page-hero--inner {
    min-height: 380px;
    padding: calc(var(--site-header-offset) + 2.25rem) 0 3rem;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-hero__content h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

}

@media (min-width: 769px) {
  .site-menu-backdrop {
    display: none;
  }
}


/* ==========================================================================
   HOMEPAGE REFINEMENTS
   ========================================================================== */

.home-subtitle {
  max-width: 560px;
  font-size: 0.96rem;
  line-height: 1.82;
  color: var(--muted);
  font-weight: 300;
}

.section-heading--centered {
  justify-content: center;
  text-align: center;
}

.section-heading--centered > div {
  max-width: 900px;
  margin: 0 auto;
}

.section-heading--centered .home-subtitle {
  margin: 1rem auto 0;
}

/* ABOUT HOME */

.about-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-home-content h2 {
  max-width: 760px;
  margin-bottom: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-home-media {
  position: relative;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.about-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 24, 0), rgba(26, 26, 24, 0.12));
  pointer-events: none;
}

.about-home-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 80% center;
}

/* SPECIALTIES */

.specialties-home .services-grid {
  margin-top: 2.5rem;
}

.specialties-home .service-card {
  color: inherit;
  text-decoration: none;
}

/* AUDIENCE */

.audience-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.audience-home-intro {
  max-width: 540px;
}

.audience-home-intro h2 {
  margin-bottom: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.audience-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.audience-card--white {
  background: var(--white);
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.audience-card--large {
  background: var(--green);
  color: var(--white);
}

.audience-card--wide {
  grid-column: 1 / -1;
  min-height: 180px;
}

.audience-card span {
  display: inline-block;
  margin-bottom: 1.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  opacity: 0.72;
}

.audience-card--large span {
  color: var(--gold);
  opacity: 1;
}

.audience-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  font-weight: 400;
  line-height: 1.18;
}

.audience-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--muted);
  font-weight: 300;
}

.audience-card--large p {
  color: rgba(255, 255, 255, 0.72);
}

/* TEAM PREVIEW */



.team-mini {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.team-mini span {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.2;
}

.team-mini--with-cta .btn-dark {
  min-height: 42px;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* CONTACT HOME */

.contact-home-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.contact-info-panel,
.contact-form {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--cream2);
  box-shadow: var(--shadow-soft);
}

.contact-info-panel {
  overflow: hidden;
}

.contact-info-card {
  padding: 2rem;
}

.contact-info-card h3,
.contact-form h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text);
}

.contact-info-list {
  display: grid;
  gap: 1.1rem;
}

.contact-info-list span,
.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.contact-info-list a,
.contact-info-list p {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-map {
  height: 300px;
  border-top: 1px solid var(--border);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  padding: 2rem;
}

.form-head {
  margin-bottom: 1.5rem;
}

.form-head p {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--cream);
  color: var(--text);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(31, 77, 58, 0.08);
}

.form-field textarea {
  resize: vertical;
}

.form-submit {
  width: auto;
  border: 0;
  cursor: pointer;
}

.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* RESPONSIVE REFINEMENTS */

@media (max-width: 1100px) {
  .about-home-grid,
  .team-preview-grid,
  .contact-home-grid {
    grid-template-columns: 1fr;
  }

  .about-home-media {
    height: 360px;
  }

    .team-preview-content {
      padding: 1.5rem;
    }

    .team-showcase {
    grid-template-columns: 1fr;
  }

  .team-showcase-media {
    min-height: 420px;
  }

  .team-showcase-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-card--desktop-only {
    display: none;
  }

  .section-heading--centered {
    text-align: left;
  }

  .section-heading--centered .home-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .about-home-media {
    height: 280px;
    min-height: 0;
    border-radius: 18px;
  }

.audience-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}





  .audience-card,
  .audience-card--wide {
    min-height: auto;
    padding: 1.4rem;
  }

  .audience-card--wide {
    grid-column: auto;
  }

  .team-preview-content {
    padding: 1.25rem;
  }

  .team-mini.team-mini--with-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  .team-mini.team-mini--with-cta span,
  .team-mini.team-mini--with-cta .btn-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .contact-info-card,
  .contact-form {
    padding: 1.5rem;
  }

  .contact-map {
    height: 260px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-submit {
    width: 100%;
  }

  .location-list li {
    font-size: 0.85rem;
    padding-left: 1rem;
  }

  .map-placeholder {
    padding: 1.5rem;
    font-size: 0.85rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .schedule-item {
    padding: 1.25rem;
  }

  .schedule-day {
    font-size: 1rem;
  }

  .schedule-hours {
    font-size: 0.9rem;
  }

  .checkbox-label {
    font-size: 0.8rem;
  }

  .form-note p {
    font-size: 0.75rem;
  }

  .booking-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .booking-sidebar {
    position: static;
    order: -1;
  }

  .sidebar-card {
    padding: 1.5rem;
  }

  .contact-phone-large {
    font-size: 1.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-item {
    padding: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .gallery-item--large {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 250px;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item--tall {
    grid-row: span 1;
    min-height: 200px;
  }

  .featured-article {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .article-content {
    padding: 1.25rem;
  }

  .categories-grid {
    gap: 0.75rem;
  }

  .category-chip {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .disclaimer-section {
    padding: 2rem 1.5rem;
  }

  .disclaimer-section h2 {
    font-size: 1.3rem;
  }

    .team-showcase {
    gap: 1.5rem;
  }

  .team-showcase-media {
    min-height: 300px;
    border-radius: 18px;
  }

  .team-showcase-content h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .team-showcase .team-mini.team-mini--with-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  .team-showcase .team-mini.team-mini--with-cta span,
  .team-showcase .team-mini.team-mini--with-cta .btn-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    font-size: 0.8rem;
    line-height: 1.25;
  }
}


/* ==========================================================================
   TEAM SHOWCASE REWORK — FINAL
   ========================================================================== */

.team-preview {
  overflow: hidden;
}

.team-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.team-showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.team-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 24, 0) 45%,
    rgba(26, 26, 24, 0.18) 100%
  );
  pointer-events: none;
}

.team-showcase-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.team-showcase-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.team-showcase-content h2 {
  margin-bottom: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.team-showcase-content .home-subtitle {
  margin-bottom: 1.5rem;
}

.team-showcase .team-mini {
  margin-top: 1.4rem;
}

/* TABLET */

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-showcase-content {
    max-width: 100%;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .team-preview {
    padding-top: 4rem;
  }

  .team-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--cream);
    box-shadow: var(--shadow-soft);
  }

  .team-showcase-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .team-showcase-content {
    max-width: 100%;
    padding: 1.5rem;
    background: var(--cream);
  }

  .team-showcase-content h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.08;
  }

  .team-showcase-content .home-subtitle {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .team-showcase .team-mini.team-mini--with-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem;
  }

  .team-showcase .team-mini.team-mini--with-cta span,
  .team-showcase .team-mini.team-mini--with-cta .btn-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    font-size: 0.78rem;
    line-height: 1.25;
  }
}

/* ==========================================================================
   SPECIALTIES MOBILE GRID
   ========================================================================== */

@media (max-width: 768px) {
  .specialties-home .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .specialties-home .service-card {
    min-height: 104px;
    padding: 1.15rem 0.9rem;
    display: flex;
    align-items: center;
  }

  .specialties-home .service-card h3 {
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .service-link {
    font-size: 0.76rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-card {
    max-width: 100%;
  }

  .services-list li {
    font-size: 0.85rem;
    padding-left: 1rem;
  }

  .differentiators-list li {
    font-size: 0.85rem;
    padding-left: 1rem;
  }

  .emergency-actions {
    width: 100%;
  }

  .emergency-actions .emg-cta {
    width: 100%;
    justify-content: center;
  }

  .emergency-actions .btn-ghost-white {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .team-specialty {
    font-size: 0.78rem;
  }

  .team-info {
    padding: 1.2rem 1.4rem 1.4rem;
  }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin: 2.5rem 0 1.5rem 0;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.legal-content ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text);
}

.important-box {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.important-box p {
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */

.error-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.error-visual {
  margin-bottom: 2rem;
}

.error-number {
  display: block;
  font-size: clamp(8rem, 20vw, 15rem);
  font-weight: 200;
  font-family: var(--serif);
  color: var(--green);
  line-height: 0.8;
  margin-bottom: 0.5rem;
  opacity: 0.3;
}

.error-accent {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
  margin: 0 auto;
  border-radius: 2px;
}

.error-content .section-eyebrow {
  margin-bottom: 1rem;
}

.error-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.error-content p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.useful-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.useful-link-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-align: center;
}

.useful-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-mid);
}

.useful-link-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.useful-link-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.contact-quick {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-quick h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-quick p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-quick-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.contact-quick-item span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.contact-quick-item a,
.contact-quick-item p {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  text-decoration: none;
}

.contact-quick-item a:hover {
  color: var(--green);
}

/* ==========================================================================
   CONTACT PAGE FINAL FIXES — scoped only to contact.html
   ========================================================================== */

.contact-page .audience-home--equal .audience-home-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 5rem);
}

.contact-page .audience-home--equal .audience-home-intro {
  max-width: 100%;
}

.contact-page .audience-home--equal .audience-home-intro h2 {
  max-width: 620px;
}

.contact-page .audience-home--equal .audience-home-intro .home-subtitle {
  max-width: 560px;
}

.contact-page .checkbox-label {
  width: 100%;
  max-width: 100%;
  align-items: flex-start;
}

.contact-page .checkbox-text {
  white-space: normal;
  line-height: 1.45;
  max-width: 100%;
}

.contact-page .contact-form,
.contact-page .booking-form {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.contact-page .form-field,
.contact-page .form-grid {
  min-width: 0;
}

.contact-page .contact-location-grid h2 {
  margin-bottom: 1.45rem;
}

.contact-page .contact-location-grid p {
  margin-bottom: 1rem;
}

.contact-page .contact-map-card {
  margin-top: clamp(2.25rem, 5vw, 4rem);
  align-self: start;
}

.contact-page .contact-map--large {
  min-height: 420px;
}

.contact-page .audience-cards {
  align-items: stretch;
}

.contact-page .audience-card {
  min-height: 150px;
}

.contact-page .audience-card--wide {
  min-height: 170px;
}

@media (max-width: 1100px) {
  .contact-page .audience-home--equal .audience-home-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .contact-page .audience-home--equal .audience-home-intro h2,
  .contact-page .audience-home--equal .audience-home-intro .home-subtitle {
    max-width: 100%;
  }

  .contact-page .contact-map-card {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .contact-page .audience-card,
  .contact-page .audience-card--wide {
    min-height: auto;
  }

  .contact-page .checkbox-text {
    font-size: 0.72rem;
    line-height: 1.45;
    letter-spacing: 0.04em;
  }

  .contact-page .contact-map--large {
    min-height: 320px;
  }
}

/* ==========================================================================
   EQUAL AUDIENCE SECTIONS — global reusable
   ========================================================================== */

.audience-home--equal .audience-home-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.audience-home--equal .audience-home-intro {
  max-width: 100%;
}

.audience-home--equal .audience-home-intro h2 {
  max-width: 620px;
}

.audience-home--equal .audience-home-intro .home-subtitle {
  max-width: 560px;
}

@media (max-width: 900px) {
  .audience-home--equal .audience-home-grid {
    grid-template-columns: 1fr;
  }

  .audience-home--equal .audience-home-intro h2,
  .audience-home--equal .audience-home-intro .home-subtitle {
    max-width: 100%;
  }
}

/* ==========================================================================
   MOBILE SLIDERS — DOTS ONLY ON MOBILE
   ========================================================================== */

.slider-dots {
  display: none !important;
}

@media (max-width: 768px) {
  [data-mobile-slider] {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  [data-mobile-slider]::-webkit-scrollbar {
    display: none;
  }

  .slider-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 1.25rem;
    position: relative;
    z-index: 5;
  }

  .slider-dots .dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--border);
    cursor: pointer;
    appearance: none;
    transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
  }

  .slider-dots .dot.active {
    width: 18px;
    background: var(--green);
    transform: none;
  }

  .services-grid[data-mobile-slider],
  .team-grid[data-mobile-slider],
  .specialties-directory-grid[data-mobile-slider],
  .audience-cards[data-mobile-slider],
  .gallery-grid[data-mobile-slider],
  .faq-grid[data-mobile-slider],
  .steps-grid[data-mobile-slider],
  .specialties-links[data-mobile-slider] {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }

.services-grid[data-mobile-slider] > *,
   .team-grid[data-mobile-slider] > *,
   .specialties-directory-grid[data-mobile-slider] > *,
   .audience-cards[data-mobile-slider] > *,
   .faq-grid[data-mobile-slider] > *,
   .steps-grid[data-mobile-slider] > *,
   .specialties-links[data-mobile-slider] > * {
     flex: 0 0 calc(100vw - 3rem);
     scroll-snap-align: start;
   }

   .specialties-directory-grid[data-mobile-slider] {
     padding: 0;
     border: none;
     background: transparent;
     box-shadow: none;
   }

   .specialties-directory-grid[data-mobile-slider] > * {
     border: 1px solid var(--border);
     border-radius: 18px;
   }
}

@media (min-width: 769px) {
  .slider-dots {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .gallery-grid > * {
    width: 100%;
  }

  .gallery-item--large {
    grid-column: span 1;
    grid-row: span 1;
    min-height: auto;
  }

  .gallery-item--extra-tall {
    grid-row: span 1;
  }

  /* Gallery items should be clickable - enable lightbox on mobile too */
}

/* ==========================================================================
   GALLERY LIGHTBOX
   ========================================================================== */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 24, 0.92);
  cursor: pointer;
}

.gallery-lightbox__content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.gallery-lightbox__media {
  max-width: 100%;
  max-height: 100%;
}

.gallery-lightbox__media img,
.gallery-lightbox__media video {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.gallery-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox__nav--prev {
  left: 2rem;
}

.gallery-lightbox__nav--next {
  right: 2rem;
}

.gallery-lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox__counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0.7;
  z-index: 2;
}

@media (max-width: 768px) {
  .gallery-lightbox__content {
    padding: 1rem;
  }

  .gallery-lightbox__nav {
    position: static;
    transform: none;
    margin: 0.5rem;
    display: none;
  }

  .gallery-lightbox__close {
    top: 1rem;
    right: 1rem;
  }

  .gallery-lightbox__media img,
  .gallery-lightbox__media video {
    max-width: 100%;
    max-height: 80vh;
  }
}