/* ============================================================
   ELITE SPINE — Premium Physiotherapy Website CSS
   ============================================================ */

:root {
  --teal: #0b9ea0;
  --teal-dark: #077577;
  --teal-light: #e0f7f7;
  --teal-xlight: #f0fdfd;
  --navy: #0a2440;
  --ink: #1a2b3c;
  --muted: #64748b;
  --card: #ffffff;
  --bg: #f8fffe;
  --border: #e2edf0;
  --gold: #c9a84c;
  --shadow-sm: 0 2px 12px rgba(11,158,160,0.08);
  --shadow-md: 0 8px 32px rgba(11,158,160,0.14);
  --shadow-lg: 0 20px 60px rgba(10,36,64,0.12);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── FLOATING BACKGROUND ICONS ─────────────── */
.floating-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fi {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0;
  animation: floatUp linear infinite;
  user-select: none;
  will-change: transform, opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@keyframes floatUp {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.18; }
  92%  { opacity: 0.18; }
  100% { transform: translateY(-15vh) rotate(340deg); opacity: 0; }
}

html.dark .fi { animation-name: floatUpDark; }
@keyframes floatUpDark {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.28; }
  92%  { opacity: 0.28; }
  100% { transform: translateY(-15vh) rotate(340deg); opacity: 0; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── PRELOADER ────────────────────── */
.preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}
.vertebra {
  width: 32px; height: 10px;
  background: var(--teal);
  border-radius: 4px;
  animation: vertebraLoad 0.8s ease infinite alternate;
}
.vertebra:nth-child(1) { animation-delay: 0s; width: 24px; }
.vertebra:nth-child(2) { animation-delay: 0.1s; width: 30px; }
.vertebra:nth-child(3) { animation-delay: 0.2s; width: 32px; }
.vertebra:nth-child(4) { animation-delay: 0.3s; width: 28px; }
.vertebra:nth-child(5) { animation-delay: 0.4s; width: 20px; }

@keyframes vertebraLoad {
  from { opacity: 0.3; transform: scaleX(0.7); }
  to { opacity: 1; transform: scaleX(1); }
}
.preloader-text {
  color: white;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 4px;
  opacity: 0.8;
}

/* ── NAV ────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--transition);
  padding: 0;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  transition: color var(--transition);
}
nav.scrolled .logo-text { color: var(--navy); }
.logo-text span { color: var(--teal); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all var(--transition);
}
nav.scrolled .nav-link { color: var(--ink); }
.nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}
nav.scrolled .nav-link:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.nav-cta-btn {
  padding: 10px 22px;
  background: var(--teal);
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(11,158,160,0.35);
}
.nav-cta-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,158,160,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
nav.scrolled .hamburger span { background: var(--ink); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.07;
}
.hero-logo-bg {
  width: 70vmin; height: 70vmin;
  object-fit: contain;
  filter: brightness(10);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,117,119,0.85) 0%,
    rgba(10,36,64,0.92) 60%,
    rgba(7,117,119,0.7) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 20px 80px;
  max-width: 780px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: #7de8e9;
}
.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--teal);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(11,158,160,0.4);
}
.btn-primary:hover {
  background: white;
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(11,158,160,0.3);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 20px 32px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  gap: 4px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #7de8e9;
  font-weight: 700;
}
.stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── FADE-UP ANIMATION ────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.3s; }
.fade-up:nth-child(2) { animation-delay: 0.5s; }
.fade-up:nth-child(3) { animation-delay: 0.7s; }
.fade-up:nth-child(4) { animation-delay: 0.9s; }
.fade-up:nth-child(5) { animation-delay: 1.1s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTION COMMON ────────────────────── */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-label.center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title.center { text-align: center; }

/* ── ABOUT ────────────────────── */
.section-about {
  padding: 100px 0;
  background: white;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.about-card-float {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  max-width: 240px;
}
.float-icon { font-size: 1.8rem; }
.about-card-float strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}
.about-card-float p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--teal-xlight);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}
.hi-icon { font-size: 1.1rem; flex-shrink: 0; }
.mt-btn { margin-top: 8px; }

/* ── SERVICES ────────────────────── */
.section-services {
  padding: 100px 0;
  background: var(--teal-xlight);
}
.section-services .section-title { margin-bottom: 50px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.service-card.featured {
  border-color: var(--teal);
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-md);
}
.service-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(10,36,64,0.25);
}
.sc-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.sc-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--navy);
}
.service-card.featured h3 { color: white; }
.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}
.service-card ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.service-card.featured ul li {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}
.service-card.featured ul li::before { color: #7de8e9; }
.sc-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
}
.sc-btn:hover {
  background: var(--teal);
  color: white;
}
.service-card.featured .sc-btn {
  background: rgba(255,255,255,0.15);
  color: white;
}
.service-card.featured .sc-btn:hover {
  background: var(--teal);
}

/* Home Visit Banner */
.home-visit-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hvb-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hvb-icon { font-size: 2.5rem; }
.hvb-left h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.hvb-left p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.95rem; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #25D366;
  color: white;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  flex-shrink: 0;
}
.btn-whatsapp:hover {
  background: #1ebe58;
  transform: translateY(-2px);
}
.wa-icon { width: 20px; height: 20px; }

/* ── GALLERY ────────────────────── */
.section-gallery {
  padding: 100px 0;
  background: white;
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.gallery-col { display: flex; flex-direction: column; gap: 16px; }
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.06); }
.gi-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,36,64,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-overlay span {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ── BOOKING ────────────────────── */
.section-booking {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0a3550 100%);
  position: relative;
  overflow: hidden;
}
.section-booking::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(11,158,160,0.08);
  pointer-events: none;
}
.section-booking .section-label { color: #7de8e9; }
.section-booking .section-title { color: white; }

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}
.booking-info > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1rem;
}
.booking-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.bf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.93rem;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.bf-item span { font-size: 1.1rem; }
.booking-contact-quick {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.bq-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.bq-link:hover { background: rgba(255,255,255,0.2); }

/* Booking Form */
.booking-form-wrap { position: relative; }
.booking-form {
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.form-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.form-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-logo-img {
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--teal-light);
}
.form-logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
}
.form-logo span {
  font-size: 0.78rem;
  color: var(--muted);
}
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.optional { font-weight: 400; color: var(--muted); }
.form-field input,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11,158,160,0.12);
}
.field-note {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Slots */
.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.slot-btn {
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: white;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition);
}
.slot-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.slot-btn.selected {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 14px rgba(11,158,160,0.35);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #25D366, #1ebe58);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
  margin-top: 8px;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
}
.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ── CONTACT ────────────────────── */
.section-contact {
  padding: 100px 0;
  background: var(--teal-xlight);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.cc-icon { font-size: 2rem; margin-bottom: 14px; }
.contact-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.cc-link {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.cc-link:hover { color: var(--teal); }

/* ── FOOTER ────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 48px 20px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}
.footer-brand strong {
  display: block;
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin: 0; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }

/* ── FLOATING WHATSAPP ────────────────────── */
.fab-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  z-index: 999;
  transition: all var(--transition);
}
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.6); }
.fab-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  animation: pulse 2.5s ease infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── SCROLL REVEAL ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 400px; margin: 0 auto; }
  .about-card-float { left: 0; bottom: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
  .gallery-col:last-child { display: none; }
  .booking-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 16px; }
  .stat strong { font-size: 1.5rem; }
  .home-visit-banner { flex-direction: column; text-align: center; }
  .hvb-left { flex-direction: column; text-align: center; }
}

@media (max-width: 680px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 80px 32px 40px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 999;
    align-items: flex-start;
  }
  .nav-links.open { right: 0; }
  .nav-link { color: var(--ink) !important; width: 100%; padding: 12px 16px; }
  .nav-cta-btn { margin-top: 12px; }

  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 60px; height: 1px; }

  .gallery-masonry { grid-template-columns: 1fr; }
  .gallery-col:last-child { display: flex; }
  .gallery-col:nth-child(3) .gallery-item:nth-child(n+3) { display: none; }

  .booking-form { padding: 24px 20px; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  section { padding: 70px 0; }
  .section-about, .section-services, .section-gallery, .section-booking, .section-contact { padding: 70px 0; }
}

@media (max-width: 400px) {
  .nav-inner { padding: 14px 16px; }
  .hero-title { font-size: 2.4rem; }
  .stat strong { font-size: 1.3rem; }
}

/* ============================================================
   NEW FEATURES CSS
   ============================================================ */

/* ── DARK MODE ────────────────────── */
html.dark {
  --bg: #0d1b2a;
  --card: #132236;
  --ink: #e2edf5;
  --muted: #94adbf;
  --border: #1e3a52;
  --teal-xlight: #0d2233;
  --teal-light: #0d2233;
  --navy: #071623;
}
html.dark body { background: var(--bg); color: var(--ink); }
html.dark .section-about,
html.dark .section-gallery,
html.dark .section-faq { background: var(--bg); }
html.dark .section-services,
html.dark .section-conditions,
html.dark .section-contact { background: #0f1e2e; }
html.dark .section-timeline { background: #0a1825; }
html.dark .section-testimonials { background: var(--bg); }
html.dark .service-card,
html.dark .contact-card,
html.dark .booking-form,
html.dark .faq-item,
html.dark .condition-card { background: var(--card); border-color: var(--border); }
html.dark .service-card h3,
html.dark .contact-card h4,
html.dark .section-title,
html.dark .faq-q { color: var(--ink); }
html.dark .service-card ul li { color: var(--muted); border-color: var(--border); }
html.dark .about-card-float { background: var(--card); }
html.dark .highlight-item { background: #0f2030; }
html.dark .faq-a p { color: var(--muted); }
html.dark .testimonial-card { background: var(--card); border-color: var(--border); }
html.dark .form-field input,
html.dark .form-field select { background: #0f2030; border-color: var(--border); color: var(--ink); }
html.dark .slot-btn { background: #0f2030; border-color: var(--border); color: var(--muted); }
html.dark .slot-btn:hover { border-color: var(--teal); color: var(--teal); background: #0d2233; }
html.dark .bf-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }

/* Dark toggle button */
.dark-toggle {
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  width: 44px; height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  margin-left: 10px;
  flex-shrink: 0;
}
nav.scrolled .dark-toggle { border-color: var(--border); }
.dark-toggle:hover { border-color: var(--teal); transform: rotate(20deg); }
.dt-sun { display: block; }
.dt-moon { display: none; }
html.dark .dt-sun { display: none; }
html.dark .dt-moon { display: block; }

/* ── CONDITIONS GRID ────────────────────── */
.section-conditions {
  padding: 100px 0;
  background: var(--teal-xlight);
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 0.98rem;
}
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.condition-card {
  background: white;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.condition-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: var(--teal-dark);
}
.cond-icon { font-size: 2rem; margin-bottom: 10px; }
.condition-card span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}

/* ── TIMELINE ────────────────────── */
.section-timeline {
  padding: 100px 0;
  background: white;
}
.timeline {
  position: relative;
  max-width: 720px;
  margin: 56px auto 0;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), transparent);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 44px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.tl-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -55px;
  box-shadow: 0 0 0 4px white, 0 0 0 6px var(--teal);
  position: relative;
  z-index: 1;
}
html.dark .tl-number { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--teal); }
.tl-content { padding-top: 8px; }
.tl-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
}
html.dark .tl-content h4 { color: var(--ink); }
.tl-content p { color: var(--muted); font-size: 0.93rem; }

/* ── TESTIMONIALS ────────────────────── */
.section-testimonials {
  padding: 100px 0;
  background: var(--teal-xlight);
  overflow: hidden;
}
.testimonial-track-wrap {
  overflow: hidden;
  margin: 48px -20px 0;
  padding: 0 20px;
}
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.tc-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card > p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.tc-author strong { display: block; font-size: 0.92rem; color: var(--navy); }
html.dark .tc-author strong { color: var(--ink); }
.tc-author span { font-size: 0.78rem; color: var(--muted); }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.t-dot.active { background: var(--teal); transform: scale(1.4); }

/* ── FAQ ────────────────────── */
.section-faq {
  padding: 100px 0;
  background: white;
}
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: white;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition);
}
html.dark .faq-q { background: var(--card); color: var(--ink); }
.faq-q:hover { background: var(--teal-xlight); }
html.dark .faq-q:hover { background: #0f2030; }
.faq-item.open .faq-q { background: var(--teal-xlight); color: var(--teal-dark); }
html.dark .faq-item.open .faq-q { background: #0f2030; color: var(--teal); }
.faq-arrow {
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.35s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-arrow { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* ── GOOGLE MAP ────────────────────── */
.map-section {
  filter: grayscale(20%);
  transition: filter var(--transition);
}
.map-section:hover { filter: grayscale(0); }
html.dark .map-section { filter: grayscale(60%) invert(10%); }

/* ── BACK TO TOP ────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 998;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11,158,160,0.4);
}
html.dark .back-to-top { background: var(--teal-dark); }

/* ── RESPONSIVE NEW SECTIONS ────────────────────── */
@media (max-width: 1000px) {
  .conditions-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .conditions-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-card { min-width: calc(85vw); }
  .timeline { padding-left: 32px; }
}
@media (max-width: 480px) {
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .cond-icon { font-size: 1.6rem; }
}

/* ============================================================
   REVIEWS SYSTEM CSS
   ============================================================ */

/* Loading spinner */
.reviews-loading {
  text-align: center;
  padding: 40px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.reviews-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Write a Review block */
.write-review-wrap {
  margin-top: 56px;
  border-radius: 20px;
  border: 2px dashed var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}
.write-review-wrap:focus-within,
.write-review-wrap.open {
  border-color: var(--teal);
  border-style: solid;
}
.wr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  flex-wrap: wrap;
}
.wr-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 4px;
}
html.dark .wr-header h3 { color: var(--ink); }
.wr-header p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.wr-toggle-btn {
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(11,158,160,0.3);
}
.wr-toggle-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* Review form */
.wr-form-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1);
}
.wr-form-wrap.open { max-height: 700px; }
.wr-form {
  padding: 0 32px 32px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.wr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wr-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: white;
  resize: vertical;
  min-height: 110px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
html.dark .wr-form textarea { background: #0f2030; border-color: var(--border); color: var(--ink); }
.wr-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11,158,160,0.12);
}

/* Star picker */
.star-picker {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.star-pick {
  font-size: 2rem;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
  user-select: none;
}
.star-pick:hover,
.star-pick.lit { color: #f59e0b; transform: scale(1.15); }

/* Actions */
.wr-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
  flex-wrap: wrap;
}
.wr-cancel {
  padding: 12px 22px;
  border-radius: 999px;
  background: none;
  border: 2px solid var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.wr-cancel:hover { border-color: var(--muted); color: var(--ink); }

/* Review success state */
.review-success {
  text-align: center;
  padding: 36px;
  border-top: 1px solid var(--border);
}
.review-success .rs-icon { font-size: 3rem; margin-bottom: 12px; }
.review-success h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}
html.dark .review-success h4 { color: var(--ink); }
.review-success p { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 600px) {
  .wr-row { grid-template-columns: 1fr; }
  .wr-header, .wr-form { padding-left: 20px; padding-right: 20px; }
  .wr-actions { justify-content: stretch; }
  .wr-actions button { flex: 1; text-align: center; justify-content: center; }
}

/* ── GALLERY SLIDER ─────────────────────── */
.section-gallery { padding: 70px 0 0; background: white; }
.section-gallery .container { padding-bottom: 32px; }

.gallery-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden !important;
  background: var(--navy);
  margin-top: 40px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.gallery-slider {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.gs-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.gs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Mobile */
@media (max-width: 600px) {
  .gs-slide { aspect-ratio: 4/3; }
  .gs-arrow { width: 44px !important; height: 44px !important; font-size: 1.5rem !important; }
  .gs-prev { left: 8px !important; }
  .gs-next { right: 8px !important; }
  .gs-dots { bottom: 12px !important; }
  .gs-dot { width: 8px !important; height: 8px !important; }
}

.gs-slide:hover img { transform: scale(1.03); }

.gs-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(10,36,64,0.85), transparent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.gs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.gs-arrow:hover, .gs-arrow:active {
  background: var(--teal);
  border-color: var(--teal);
}
.gs-prev { left: 16px; }
.gs-next { right: 16px; }

.gs-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.gs-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.gs-dot.active { background: white; transform: scale(1.4); }

.gs-counter {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 10;
  letter-spacing: 0.5px;
}

html.dark .section-gallery { background: var(--bg); }