:root {
  --color-primary: #2a6cff;
  --color-primary-soft: #e5edff;
  --color-secondary: #57b8ae;
  --color-navy: #0f1d40;
  --color-bg: #ffffff;
  --color-muted: #f4f6f9;
  --color-border: #dfe3eb;
  --color-text: #172135;
  --color-text-soft: #6a7386;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;

  --shadow-soft: 0 12px 30px rgba(10, 30, 60, 0.08);
  --shadow-subtle: 0 6px 20px rgba(10, 30, 60, 0.05);

  --font-base: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* Reset-ish */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* HEADER / NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 227, 235, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #fff;
  font-size: 1.1rem;
}

.logo-text {
  font-size: 1.06rem;
  color: var(--color-navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.site-nav a:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(42, 108, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(173, 182, 202, 0.8);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.full-width {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
}

.nav-toggle-line + .nav-toggle-line {
  margin-top: 5px;
}

/* HERO — background image, content-height, subtle gradient */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: 0;
  overflow: hidden;
}
/* Hero background video */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;          /* behind gradient + content */
  overflow: hidden;
  pointer-events: none; /* don't block clicks */
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* super subtle left wash for text accessibility */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 0%,      /* heavier wash */
    rgba(255, 255, 255, 0.75) 25%,     /* pushes image left */
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.0) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}



.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;         /* stack text + form + pills normally */
  justify-content: left;        /* left vertically inside the hero */
  gap: 2rem;
  padding-block: 6rem 3rem;       /* breathing room around content */
}


.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--color-navy);
}

.hero-subtext {
  margin: 0 0 1.4rem;
  color: var(--color-text-soft);
  max-width: 32rem;
}

.hero-search {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  width: 100%;
  max-width: 28rem;         /* ← keeps it nicely scrunched left */
  
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}


.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
}

.field input,
.field textarea {
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(42, 108, 255, 0.4);
}

.hero-submit {
  width: 100%;
}


.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

/* SECTION BASE */

.section-padding {
  padding-block: 3.5rem;
}

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

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
  color: var(--color-navy);
}

.section-header p {
  margin: 0;
  color: var(--color-text-soft);
  max-width: 30rem;
}

/* BOOKING PROMO SPLIT HERO (under hero) */

.booking-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  align-items: stretch;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(229, 237, 255, 0.7),
    rgba(244, 246, 249, 0.9)
  );
  border-bottom: 1px solid rgba(223, 227, 235, 0.7);
}

/* Left side: text block */
.booking-promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.75rem clamp(1.5rem, 4vw, 3.25rem);
  max-width: 32rem;
  margin-left: auto; /* keeps text roughly aligned with main container */
}

.booking-promo-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  color: var(--color-navy);
}

.booking-promo-text {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.98rem;
}

/* Right side: full-bleed image on its half */
.booking-promo-media {
  height: 100%;
}

.booking-promo-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* fills the whole right half */
  border-radius: 0;
  box-shadow: none;
}

/* Responsive */

@media (max-width: 960px) {
  .booking-promo {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-promo-content {
    padding-block: 2rem 1.5rem;
    margin-left: 0;
    max-width: none;
  }

  .booking-promo-media img {
    height: 260px;
  }
}

@media (max-width: 720px) {
  .booking-promo-content {
    padding-inline: 1.5rem;
  }

  .booking-promo-content h2 {
    font-size: 1.5rem;
  }
}


/* HOW IT WORKS */

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

.how-item {
  background: #F4F6F9;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.how-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;              /* remove padding */
  background: none;        /* remove background */
  width: auto;             /* let icon size naturally */
  height: auto;
}

.how-icon img {
  width: 102px;             /* keep your current icon size clean */
  height: auto;            /* maintain aspect ratio */
  display: block;
}


.how-copy h3 {
  margin: 0 0 0.4rem;
}

.how-copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}

/* SPECIALTIES */

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

.specialty-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.specialty-card img {
  height: 180px;
  object-fit: cover;
}

.specialty-body {
  padding: 1rem 1.1rem 1.25rem;
}

.specialty-body h3 {
  margin: 0 0 0.4rem;
}

.specialty-body p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}


/* VALUE SECTION — clean, solid background */

.value-section {
  position: relative;
  background: #e5edff;   /* solid background */
  padding-block: 4rem;   /* comfortable spacing top + bottom */
}

/* remove gradient overlay entirely */
.value-section::before {
  content: none;
}

/* inner container stays normal */
.value-inner {
  position: relative;
  z-index: 1;
}

/* clean content block — no card styling */
.value-card {
  max-width: 720px;
  width: 100%;
  margin-inline: auto;      /* center it */
  background: transparent;  /* no card */
  padding: 0;               /* add spacing only in parent */
  border-radius: 0;
  box-shadow: none;
}

/* typography preserved */
.value-card h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
}

.value-card p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-text-soft);
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  gap: 0.5rem;
}

.value-list li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 1.15rem;
}

.value-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}


/* TESTIMONIALS */

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

.testimonial-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-subtle);
}

.testimonial-quote {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.testimonial-name {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

/* PROVIDER PROFILE — split hero */

#provider-profile {
  padding-block: 0; /* remove default section padding so image can touch top/bottom */
}

.provider-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr); /* image | text */
  align-items: stretch;
  width: 100%;
  max-width: none;     /* allow full-bleed split hero */
  margin-inline: 0;
  min-height: 520px;   /* hero-like height; adjust if you want taller/shorter */
}

.provider-photo {
  position: relative;
}

.provider-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* full-height split-hero image */
  border-radius: 0;    /* no rounded corners */
  box-shadow: none;    /* no card shadow */
  display: block;
}

/* text side */

.provider-details {
  padding: clamp(2.5rem, 6vw, 4rem);
  background: #ffffff; /* keeps text on clean white panel */
}

.provider-details h2 {
  margin: 0.1rem 0 0.25rem;
}

.provider-subheading {
  margin: 0 0 0.75rem;
  color: var(--color-text-soft);
}

.provider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.25rem 0;
}

.provider-meta h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.provider-meta ul {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.9rem;
}

.provider-cta {
  margin-top: 0.5rem;
}

/* responsive tweaks just for provider hero */

@media (max-width: 960px) {
  #provider-profile {
    padding-block: 2.5rem; /* restore breathing room when stacked */
  }

  .provider-layout {
    grid-template-columns: minmax(0, 1fr); /* stack image over text */
    min-height: auto;
  }

  .provider-photo {
    max-height: 320px;
  }

  .provider-photo img {
    height: 100%;
  }

  .provider-details {
    padding-inline: 1.5rem;
    padding-block: 2rem;
  }
}


/* BOOKING */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.booking-copy h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.booking-copy p {
  margin: 0;
  color: var(--color-text-soft);
}

.booking-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.booking-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.booking-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  background: #f2f4fb;
  color: var(--color-text-soft);
  border: 1px solid transparent;
}

.chip-active {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-color: rgba(42, 108, 255, 0.4);
}

.calendar-placeholder {
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
  padding: 0.75rem;
  font-size: 0.85rem;
}

.calendar-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  font-size: 0.75rem;
  color: var(--color-text-soft);
}

/* Fix tall Select-a-time panel */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
  max-height: 240px;        /* ← MAGIC: keeps panel compact */
  align-content: start;     /* top aligns the grid */
}


.time-slot {
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.8rem;
  background: #fff;
  font-size: 0.82rem;
  cursor: default;
}

.time-active {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.booking-form .field + .field {
  margin-top: 0.75rem;
}

.booking-form textarea {
  resize: vertical;
}

.microcopy {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--color-text-soft);
}

.booking-panel-confirm {
  grid-column: span 2;
}

.confirmation-title {
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.calendar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

/* =========================================
   PATIENT DASHBOARD — HERO WITH PARALLAX
   ========================================= */

#patient-dashboard {
  position: relative;
  min-height: 80vh; /* hero height */
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Background image hero */
  background-image: url("assets/images/patient-dashboard-background.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

  /* Parallax-ish */
  background-attachment: fixed;
}

/* Soft left wash for text legibility */
#patient-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 30%,
    rgba(255, 255, 255, 0.5) 55%,
    rgba(255, 255, 255, 0) 85%
  );
  pointer-events: none;
  z-index: 0;
}

/* Container stays aligned with rest of site */
#patient-dashboard .container {
  position: relative;
  z-index: 1;
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* Layout: left column only; right "column" is just the BG image now */
.dashboard-layout {
  display: flex;
  align-items: center;
}

/* LEFT COLUMN — text + card */
.dashboard-panel {
  max-width: 480px;
}

/* Primary heading + intro */
.dashboard-panel h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.dashboard-panel > p {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: var(--color-text-soft);
}

/* Main dashboard card */
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Appointment card */
.appointment-card {
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  background: var(--color-muted);
  margin-bottom: 1rem;
}

.appointment-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  margin: 0 0 0.35rem;
}

.appointment-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.appointment-meta {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Records + Messages */
.records,
.messages {
  margin-top: 0.75rem;
}

.records h4,
.messages h4 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.records ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.messages p {
  margin: 0;
  font-size: 0.9rem;
}

/* Kill old right-column images (we're using a single BG now) */
.dashboard-environments {
  display: none;
}

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

@media (max-width: 960px) {
  #patient-dashboard {
    min-height: 70vh;
    background-attachment: scroll; /* mobile fix */
    background-position: center;
  }

  #patient-dashboard .container {
    width: min(100% - 2.5rem, 100%);
  }

  .dashboard-layout {
    align-items: flex-start;
  }

  .dashboard-panel {
    max-width: none;
    padding-block: 2.5rem 2rem;
  }
}

@media (max-width: 720px) {
  #patient-dashboard {
    min-height: auto;
    padding-block: 2.5rem 2rem;
  }

  #patient-dashboard::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.9) 40%,
      rgba(255, 255, 255, 0.4) 80%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .dashboard-panel {
    padding-block: 0;
  }
}

/* CLINICS STRIPE — full-width bg + subtle dark overlay + card */

.clinics-section {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 3rem;
  background-image: url("assets/images/banner-data-visualization.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* barely-there dark tint for legibility */
.clinics-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 7, 18, 0.42),
    rgba(5, 7, 18, 0.28)
  );
  z-index: 0;
  pointer-events: none;
}

.clinics-inner {
  position: relative;
  z-index: 1;
}

.clinic-card {
  max-width: 640px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-soft);
}

.clinic-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.clinic-card p {
  margin-top: 0;
  color: var(--color-text-soft);
}

.clinic-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.clinic-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.clinic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--color-secondary);
}

/* FOOTER */

.site-footer {
  background: #050712;
  color: rgba(236, 239, 245, 0.9);
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo .logo-mark {
  background: rgba(87, 184, 174, 0.15);
}

.footer-logo .logo-text {
  color: #f7f8fb;
}

.footer-text {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(236, 239, 245, 0.8);
  max-width: 23rem;
}

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

.footer-column h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
}

.footer-column li + li {
  margin-top: 0.35rem;
}

.footer-column a {
  color: rgba(236, 239, 245, 0.8);
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(82, 91, 118, 0.8);
  padding-block: 1rem;
  margin-top: 1rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(236, 239, 245, 0.7);
}

.footer-security {
  opacity: 0.9;
}

/* RESPONSIVE */
/* =========================================
   ANIMATIONS — inspired by OH Architecture
   ========================================= */

/* Base state: hidden + slightly translated */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* When in view */
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Direction variants */
[data-animate="fade-up"] {
  transform: translateY(24px);
}

[data-animate="fade-up-soft"] {
  transform: translateY(16px);
}

[data-animate="fade-right"] {
  transform: translateX(-20px);
}

[data-animate="fade-left"] {
  transform: translateX(20px);
}

/* Slightly slower version */
[data-animate].slow {
  transition-duration: 0.9s;
}

/* Stagger children (like their project list) */
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
}

[data-animate-stagger].in-view > * {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-stagger].in-view > *:nth-child(1) { transition-delay: 0.05s; }
[data-animate-stagger].in-view > *:nth-child(2) { transition-delay: 0.12s; }
[data-animate-stagger].in-view > *:nth-child(3) { transition-delay: 0.19s; }
[data-animate-stagger].in-view > *:nth-child(4) { transition-delay: 0.26s; }
[data-animate-stagger].in-view > *:nth-child(5) { transition-delay: 0.33s; }
[data-animate-stagger].in-view > *:nth-child(6) { transition-delay: 0.4s; }

/* Hover lift, very subtle (cards, specialty, booking panels) */
.card,
.specialty-card,
.booking-panel,
.testimonial-card {
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.card:hover,
.specialty-card:hover,
.booking-panel:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 30, 60, 0.14);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-block: 3rem 2.5rem;
    background-position: center top;
  }

  .hero-search {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-promo-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .booking-promo-content {
    padding-block: 2rem 1.5rem;
    padding-right: 0;
  }

  .booking-promo-media {
    height: 220px;
  }

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

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

  .value-card,
  .clinic-card {
    max-width: none;
  }

  .provider-layout,
  .booking-layout,
  .dashboard-layout,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .booking-panels {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-panel-confirm {
    grid-column: auto;
  }

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

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(223, 227, 235, 0.8);
    padding: 0.75rem 1.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .booking-promo-inner {
    width: 100%;
    margin-inline: 0;
    padding-inline: 1.5rem;
  }

  .booking-promo-media {
    margin-inline: -1.5rem; /* image hits screen edges */
  }

  .booking-promo-content h2 {
    font-size: 1.4rem;
  }

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

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

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

  .dashboard-environments {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
