/* =============================================
   VIDŽA ZOBĀRSTNIECĪBAS KLĪNIKA — STYLE.CSS
   Color palette: Deep Navy + Soft Ice Blue + Warm White + Accent Teal
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d2035;
  --navy-mid:   #152d45;
  --navy-light: #1e3d5a;
  --teal:       #1a9e8a;
  --teal-light: #22c4ac;
  --teal-dark:  #137a6c;
  --ice:        #e8f4f2;
  --ice-dark:   #d0eae5;
  --white:      #ffffff;
  --off-white:  #f7faf9;
  --text:       #1a2332;
  --text-mid:   #3d5166;
  --text-light: #6b8199;
  --border:     #d6e8e4;
  --shadow-sm:  0 2px 8px rgba(13,32,53,.08);
  --shadow-md:  0 8px 32px rgba(13,32,53,.12);
  --shadow-lg:  0 20px 60px rgba(13,32,53,.18);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:  'DM Sans', sans-serif;
  --font-head:  'Playfair Display', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,158,138,.35);
}
.btn--primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,158,138,.45);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}
.btn--full { width: 100%; justify-content: center; }

/* ---- SECTION HEADER ---- */
.section__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
}
.section__header { text-align: center; margin-bottom: 60px; }
.section__header .section__sub { margin: 0 auto; }

/* ==============================
   PROMO BAR
   ============================== */
.promo-bar {
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 12px 0;
  text-align: center;
  position: relative;
  z-index: 100;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  max-height: 80px;
  overflow: hidden;
}
.promo-bar.hidden {
  max-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 48px;
  font-size: 0.9rem;
}
.promo-bar__icon { font-size: 1.1rem; }
.promo-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.promo-bar__close:hover { background: rgba(255,255,255,0.2); color: var(--white); }

/* ==============================
   NAVIGATION
   ============================== */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  /* NO backdrop-filter here — it creates a stacking context that traps fixed children */
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}
.header.scrolled {
  background: rgba(13,32,53,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 24px;
  transition: padding 0.35s ease;
}
.header.scrolled .nav { padding-top: 14px; padding-bottom: 14px; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  transition: filter 0.35s ease;
}
.header.scrolled .nav__logo-img {
  filter: brightness(0) invert(1);
}
.nav__logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: color 0.35s ease;
}
.header.scrolled .nav__logo-text {
  color: var(--white);
}

/* Desktop: nav__links is normal inline flex row */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s;
}
.header.scrolled .nav__link { color: rgba(255,255,255,0.85); }
.nav__link:hover { color: var(--navy); background: var(--ice); }
.header.scrolled .nav__link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav__link.active { color: var(--teal); background: rgba(26,158,138,0.1); }
.header.scrolled .nav__link.active { color: var(--teal-light); background: rgba(26,158,138,0.12); }
.nav__link--call { display: none; }
.nav__link--cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 9px 20px;
  margin-left: 8px;
}
.nav__link--cta:hover { background: var(--teal-light) !important; color: var(--white) !important; background: var(--teal-light); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  z-index: 1002;
}
.nav__hamburger:hover { background: var(--ice); }
.header.scrolled .nav__hamburger:hover { background: rgba(255,255,255,0.1); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .nav__hamburger span { background: var(--white); }


/* Close button + row: hidden on desktop */
.nav__close-row { display: none; }
.nav__menu-close { display: none; }
.nav__menu-title { display: none; }

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    url('images/hero-bg.jpg') center center / cover no-repeat,
    linear-gradient(135deg, #0a1e33 0%, #0e2d4a 40%, #0d3a50 70%, #0c2e42 100%);
  background-blend-mode: multiply;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9,24,42,0.55) 0%,
    rgba(13,32,53,0.42) 50%,
    rgba(10,28,48,0.35) 100%
  );
}
/* Decorative abstract dental pattern */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 30%, rgba(26,158,138,0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(26,158,138,0.08) 0%, transparent 40%);
}

/* Hero inner two-column layout */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 160px 24px 120px;
  min-height: 100vh;
  transition: justify-content 0.4s ease;
}
.hero__inner.form-open {
  justify-content: space-between;
}

.hero__content {
  max-width: 620px;
  flex-shrink: 0;
  transition: max-width 0.4s ease;
}
.hero__inner.form-open .hero__content {
  max-width: 480px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,158,138,0.2);
  border: 1px solid rgba(26,158,138,0.4);
  color: var(--teal-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  transition-delay: 0.1s;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  transition-delay: 0.2s;
}
.hero__title span {
  color: var(--teal-light);
  display: block;
}
.hero__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 36px;
  transition-delay: 0.3s;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  transition-delay: 0.4s;
}
.hero__promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 50px;
  transition-delay: 0.5s;
}
.hero__promo-pill svg { color: #ffd166; flex-shrink: 0; }

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollHint 1.8s ease infinite;
}
@keyframes scrollHint {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ==============================
   HERO INLINE BOOKING FORM
   ============================== */
.hero-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
  max-width: 460px;
  flex-shrink: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  position: relative;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  display: none;
  animation: slideInRight 0.4s cubic-bezier(0.4,0,0.2,1) both;
}
.hero-form.visible { display: block; }
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-form__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--text-mid);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.hero-form__close:hover { background: #fde8e8; color: #c0392b; }
.hero-form__title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.hero-form__subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.hero-form__promo {
  background: linear-gradient(135deg, #fff8e8, #fff3d4);
  border: 1px solid #f0c060;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #7a5200;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-form__promo svg { color: #c78c00; flex-shrink: 0; }

/* hform = hero form inputs */
.hform { display: flex; flex-direction: column; gap: 12px; }
.hform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hform__group { display: flex; flex-direction: column; gap: 4px; }
.hform__group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.hform__group input,
.hform__group select,
.hform__group textarea {
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.hform__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b8199' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.hform__group input:focus,
.hform__group select:focus,
.hform__group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,158,138,0.12);
}
.hform__group input.error,
.hform__group select.error { border-color: #e53e3e; }
.hform__error {
  display: none;
  font-size: 0.75rem;
  color: #e53e3e;
}
.hform__error.visible { display: block; }
.hform__group textarea { resize: vertical; min-height: 64px; }
.hform__privacy {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}
.hform__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 10px;
}
.hform__success.visible { display: flex; }
.hform__success-icon {
  width: 60px;
  height: 60px;
  background: #e8f7ef;
  color: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hform__success h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy);
}
.hform__success p { color: var(--text-mid); font-size: 0.9rem; }

/* mobile overlay backdrop */
.mobile-booking-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 800;
  backdrop-filter: blur(3px);
}
.mobile-booking-overlay.visible { display: block; }

/* ==============================
   STATS BAR
   ============================== */
.stats-bar {
  background: var(--navy);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-bar__item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__item strong,
.stats-bar__item span {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
}
.stats-bar__item span { font-size: 1.8rem; }
.stats-bar__item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ==============================
   ABOUT
   ============================== */
.about { background: var(--off-white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrap {
  position: relative;
  transition-delay: 0s;
}
.about__image-bg {
  position: absolute;
  top: -24px;
  left: -24px;
  right: 24px;
  bottom: 24px;
  background: var(--ice-dark);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about__image-placeholder {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__image-placeholder--fallback .about__image-fallback-content {
  display: flex !important;
}
.about__image-fallback-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}
.about__image-fallback-content svg { opacity: 0.4; }
.about__badge-float {
  position: absolute;
  bottom: -20px;
  right: -16px;
  z-index: 2;
  background: var(--teal);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}

.about__content { transition-delay: 0.15s; }
.about__lead {
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 400;
}
.about__content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about__highlights {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.about__highlights li svg { color: var(--teal); flex-shrink: 0; }

/* ==============================
   SERVICES
   ============================== */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,158,138,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,158,138,0.3);
}
.service-card:hover::before { opacity: 1; }
.service-card--accent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
}
.service-card--accent .service-card__title,
.service-card--accent .service-card__desc,
.service-card--accent .service-card__doctors { color: rgba(255,255,255,0.9); }
.service-card--accent .service-card__doctors { color: rgba(255,255,255,0.6); }
.service-card--accent .service-card__icon { color: var(--teal-light); }

.service-card__icon {
  width: 60px;
  height: 60px;
  color: var(--teal);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__new-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card__desc {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card__doctors {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 500;
}
.service-card--accent .service-card__doctors { color: var(--teal-light); }

/* ==============================
   WHY US
   ============================== */
.why-us { background: var(--navy); overflow: hidden; }
.why-us__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(26,158,138,0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(26,158,138,0.08) 0%, transparent 40%);
}
.why-us .section__title { color: var(--white); }
.why-us .section__sub { color: rgba(255,255,255,0.6); }
.why-us .section__label { color: var(--teal-light); }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(26,158,138,0.3);
  transform: translateY(-4px);
}
.why-card__num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(26,158,138,0.12);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
}
.why-card__icon {
  color: var(--teal-light);
  margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}
.why-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ==============================
   REVIEWS
   ============================== */
.reviews { background: var(--off-white); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.review-card__stars span { color: #ffc107; font-size: 1.1rem; }
.review-card__text {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 24px;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy-light) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}
.review-card__author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.reviews__cta {
  text-align: center;
  margin-top: 40px;
  color: var(--text-mid);
}
.reviews__cta a {
  color: var(--teal);
  font-weight: 600;
  border-bottom: 1px solid rgba(26,158,138,0.3);
  transition: border-color 0.2s;
}
.reviews__cta a:hover { border-color: var(--teal); }

/* ==============================
   PRICING SECTION
   ============================== */
.pricing { background: var(--off-white); }
.highlight-teal { color: var(--teal); }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.price-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 24px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.price-category:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.price-category--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
  grid-column: span 2;
}
.price-category--featured .price-category__header h3 { color: var(--white); }
.price-category--featured .price-category__header svg { color: #ffd166; }
.price-category--featured .price-row > span:first-child { color: rgba(255,255,255,0.8); }
.price-category--featured .price-row > span:last-child { color: var(--teal-light); }
.price-category--featured .price-row { border-color: rgba(255,255,255,0.08); }

.price-category__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ice-dark);
}
.price-category--featured .price-category__header { border-color: rgba(255,255,255,0.12); }
.price-category__header svg { color: var(--teal); flex-shrink: 0; }
.price-category__header h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.price-list { display: flex; flex-direction: column; gap: 0; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.price-row:last-child { border-bottom: none; }
.price-row > span:first-child { color: var(--text-mid); flex: 1; }
.price-row > span:last-child {
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.9rem;
}
.price-row--sub > span:first-child {
  color: var(--text-light);
  font-size: 0.83rem;
  padding-left: 12px;
}
.price-row--sub > span:last-child { font-size: 0.85rem; }
.price-row--highlight > span:first-child { font-weight: 600; color: rgba(255,255,255,0.95); }
.price-row--highlight > span:last-child { color: #ffd166; font-size: 0.95rem; }

.pricing__cta {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.pricing__cta p {
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.65;
}
.pricing__cta strong { color: var(--navy); }

/* ==============================
   CONTACT
   ============================== */
.contact { background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact__info-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card__icon {
  width: 48px;
  height: 48px;
  background: var(--ice);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.contact-info-card h4 {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.contact-info-card a {
  color: var(--teal);
  transition: color 0.2s;
}
.contact-info-card a:hover { color: var(--teal-dark); }

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-mid);
  gap: 16px;
}
.hours-row--closed { color: var(--text-light); }
.hours-row--closed span:last-child { color: #e53e3e; font-weight: 500; }

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.contact__map iframe { display: block; }

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--navy);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer__tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-style: italic;
}
.footer__reg {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  line-height: 1.6;
}
.footer__links h4,
.footer__contact h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links li a:hover { color: var(--teal-light); }
.footer__contact p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer__contact a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__contact a:hover { color: var(--teal-light); }
.footer__hours {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__hours strong { color: var(--white); font-size: 0.9rem; }
.footer__hours span { color: rgba(255,255,255,0.45); font-size: 0.85rem; }

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p { color: rgba(255,255,255,0.35); font-size: 0.83rem; }
.footer__accessibility {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.83rem;
}

/* ==============================
   SCROLL TO TOP
   ============================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--teal-light); }

/* ==============================
   RESPONSIVE — TABLET
   ============================== */
@media (max-width: 1024px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2) { border-right: none; }
  .stats-bar__item:nth-child(4) { border-right: none; }

  .about__grid { gap: 48px; }

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

  .why-us__grid { grid-template-columns: repeat(2, 1fr); }

  .reviews__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .reviews__grid .review-card:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }

  .booking__inner { gap: 48px; }

  .contact__grid { gap: 40px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav mobile */
  .nav__hamburger { display: flex; }

  /* Panel: fixed, full-height, slides in from right — covers everything incl. promo bar */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 88vw;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 48px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1200;
    overflow-y: auto;
  }
  .nav__links.open { transform: translateX(0); }

  /* Close row at top of panel */
  .nav__close-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .nav__menu-title {
    display: block;
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .nav__menu-close {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #1a2a3a;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .nav__menu-close:hover { background: rgba(0, 0, 0, 0.12); }

  /* Nav links inside panel — fixed colors regardless of scroll state */
  .nav__link,
  .header.scrolled .nav__link {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 8px;
    color: #1a2a3a;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: background 0.2s, color 0.2s;
    background: transparent;
  }
  .nav__links li:last-of-type .nav__link { border-bottom: none; }
  .nav__link:hover,
  .header.scrolled .nav__link:hover { background: rgba(26,158,138,0.08); color: #0d7a6b; }
  .nav__link.active,
  .header.scrolled .nav__link.active { color: #0d7a6b; background: rgba(26,158,138,0.1); }

  /* CTA button inside panel */
  .nav__link--cta {
    margin-top: 16px;
    text-align: center;
    background: #1a9e8a;
    color: #fff !important;
    border-radius: 50px;
    border-bottom: none;
    padding: 14px 16px;
    font-weight: 600;
  }
  .nav__link--cta:hover { background: #22c4ac !important; }

  .nav__link--call {
    margin-top: 8px;
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-align: center;
    justify-content: center;
    background: transparent !important;
    color: #1a9e8a !important;
    border: 2px solid #1a9e8a !important;
    border-radius: 50px;
    border-bottom: 2px solid #1a9e8a !important;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 1rem;
  }
  .nav__link--call:hover { background: rgba(26,158,138,0.1) !important; }

  /* Hide call link on desktop */

  /* Hero */
  .hero__content { padding: 20px 24px 40px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image-wrap { max-width: 400px; margin: 0 auto; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Why us */
  .why-us__grid { grid-template-columns: 1fr; }

  /* Reviews */
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__grid .review-card:last-child { grid-column: auto; max-width: 100%; }

  /* Hero form on mobile — full-width below content */
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start !important;
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 100vh;
    gap: 32px;
  }
  .hero__content { max-width: 100% !important; }
  .hero__inner.form-open .hero__content {
    display: none;
  }
  .hero-form {
    max-width: 100%;
    width: 100%;
    max-height: none;
    animation: slideInUp 0.35s ease both;
  }
  @keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hform__row { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing__grid { grid-template-columns: 1fr; }
  .price-category--featured { grid-column: auto; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom .container { flex-direction: column; text-align: center; gap: 8px; }

  /* Scroll top */
  .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .promo-bar__inner { padding: 0 40px 0 16px; font-size: 0.82rem; }

  .section__title { font-size: 1.75rem; }

  .hero__title { font-size: 2.2rem; }

  .booking-form { padding: 24px 16px; }
}
