/* ==============================================
   Cabinet Stomatologic Dr. Domnar Gabriel
   Premium Dental Clinic Website
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── 1. Reset & Base ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── 2. CSS Variables ───────────────────────────── */
:root {
  --c-bg:          #f7f6f3;
  --c-white:       #ffffff;
  --c-navy:        #0b2239;
  --c-navy-mid:    #154068;
  --c-teal:        #008fa3;
  --c-teal-hover:  #006e80;
  --c-teal-light:  #e0f4f7;
  --c-green:       #059669;
  --c-green-light: #d1fae5;
  --c-gold:        #c48a1a;
  --c-gold-light:  #fdf3d9;
  --c-text:        #1a2535;
  --c-text-mid:    #4a5568;
  --c-text-muted:  #7a8599;
  --c-border:      #e4e2dc;
  --c-border-soft: #f0ede6;

  --shadow-xs:  0 1px 4px rgba(11,34,57,.06);
  --shadow-sm:  0 2px 12px rgba(11,34,57,.08);
  --shadow-md:  0 6px 24px rgba(11,34,57,.1);
  --shadow-lg:  0 14px 48px rgba(11,34,57,.12);
  --shadow-xl:  0 24px 72px rgba(11,34,57,.16);

  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-full: 9999px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --t-fast:    0.2s var(--ease-out);
  --t-base:    0.35s var(--ease-out);
  --t-slow:    0.55s var(--ease-out);

  --container: 1200px;
  --section-v: 96px;
}

/* ── 3. Typography ──────────────────────────────── */
.serif       { font-family: 'DM Serif Display', Georgia, serif; }
h1, h2, h3  { color: var(--c-navy); line-height: 1.15; }
h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--c-text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── 4. Layout ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: var(--section-v) 0; }
.section--light { background: var(--c-white); }
.section--teal-light { background: var(--c-teal-light); }
.section--dark { background: var(--c-navy); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--c-teal);
  border-radius: 2px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.section-header h2 em { font-style: italic; color: var(--c-teal); }

/* ── 5. Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
.btn-primary:hover { background: var(--c-navy-mid); border-color: var(--c-navy-mid); box-shadow: 0 8px 28px rgba(11,34,57,.25); }

.btn-teal {
  background: var(--c-teal);
  color: var(--c-white);
  border-color: var(--c-teal);
}
.btn-teal:hover { background: var(--c-teal-hover); border-color: var(--c-teal-hover); box-shadow: 0 8px 28px rgba(0,143,163,.3); }

.btn-wa {
  background: #22c55e;
  color: var(--c-white);
  border-color: #22c55e;
}
.btn-wa:hover { background: #16a34a; border-color: #16a34a; box-shadow: 0 8px 28px rgba(34,197,94,.35); }

.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn-outline:hover { background: var(--c-navy); color: var(--c-white); }

.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover { background: var(--c-white); color: var(--c-navy); }

.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }

/* ── 6. Top Bar ─────────────────────────────────── */
.topbar {
  background: var(--c-navy);
  padding: 9px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.topbar-info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 7px; }
.topbar-item i { color: var(--c-teal); font-size: 0.7rem; }

/* ── 7. Navigation ──────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(247,246,243,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t-base);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--c-navy);
}
.nav-logo-mark {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-size: 1.3rem;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.nav-logo-text span { font-size: 0.7rem; font-weight: 400; color: var(--c-text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 13px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-mid);
  border-radius: var(--r-sm);
  transition: var(--t-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--c-navy); background: var(--c-border-soft); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-navy);
  transition: var(--t-fast);
}
.nav-phone:hover { color: var(--c-teal); }
.nav-phone i { color: var(--c-teal); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  padding: 8px;
  color: var(--c-navy);
  font-size: 1.4rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-white);
  z-index: 9999;
  flex-direction: column;
  padding: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.mobile-menu-close { font-size: 1.4rem; color: var(--c-navy); padding: 8px; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-navy);
  border-radius: var(--r-md);
  transition: var(--t-fast);
}
.mobile-nav a:hover { background: var(--c-teal-light); color: var(--c-teal); }
.mobile-menu-ctas { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-ctas .btn { justify-content: center; padding: 16px; }

/* ── 8. Hero ─────────────────────────────────────── */
.hero {
  background: var(--c-bg);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,143,163,.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(5,150,105,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--c-teal-light);
  border: 1px solid rgba(0,143,163,.2);
  color: var(--c-teal);
  padding: 7px 18px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag i { font-size: 0.7rem; }

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  color: var(--c-navy);
  margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--c-teal); }

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--c-text-mid);
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }

/* Trust badges */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px 0 0;
}
.hero-badge:not(:last-child) { border-right: 1px solid var(--c-border); margin-right: 28px; }
.badge-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-icon--gold   { background: var(--c-gold-light);   color: var(--c-gold); }
.badge-icon--teal   { background: var(--c-teal-light);   color: var(--c-teal); }
.badge-icon--green  { background: var(--c-green-light);  color: var(--c-green); }
.badge-text strong  { display: block; font-size: 1.2rem; font-weight: 700; color: var(--c-navy); line-height: 1.2; }
.badge-text span    { font-size: 0.75rem; color: var(--c-text-muted); }

/* Hero Visual */
.hero-visual { position: relative; }

.hero-img-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--c-navy) 0%, var(--c-navy-mid) 60%, #1c6a94 100%);
  box-shadow: var(--shadow-xl);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,.2);
}
.hero-img-placeholder i { font-size: 6rem; }
.hero-img-placeholder p { font-size: 0.85rem; text-align: center; margin: 0; }

/* Floating stat cards */
.hero-float {
  position: absolute;
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-float-1 {
  bottom: 36px;
  left: -40px;
  animation: floatY 5s ease-in-out infinite;
}
.hero-float-2 {
  top: 40px;
  right: -40px;
  animation: floatY 5s ease-in-out infinite 2.5s;
}
.float-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-icon--teal  { background: var(--c-teal-light); color: var(--c-teal); }
.float-icon--green { background: var(--c-green-light); color: var(--c-green); }
.float-label strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--c-navy); }
.float-label span   { font-size: 0.75rem; color: var(--c-text-muted); }

/* ── 9. Service Cards ────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: var(--t-slow);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.service-card:hover { border-color: rgba(0,143,163,.3); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 62px; height: 62px;
  border-radius: var(--r-md);
  background: var(--c-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--t-base);
}
.service-card:hover .service-icon { background: var(--c-teal); color: var(--c-white); }
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p  { font-size: 0.88rem; line-height: 1.65; margin-bottom: 22px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--c-teal);
  transition: var(--t-fast);
}
.service-link:hover { gap: 10px; }

/* ── 10. Why Us ──────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--t-slow);
}
.why-card:hover { border-color: var(--c-teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-icon {
  width: 72px; height: 72px;
  border-radius: var(--r-lg);
  background: var(--c-teal-light);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: var(--t-base);
}
.why-card:hover .why-icon { background: var(--c-teal); color: var(--c-white); transform: scale(1.08); }
.why-card h3 { margin-bottom: 12px; }
.why-card p  { font-size: 0.9rem; margin: 0; }

/* ── 11. Reviews ─────────────────────────────────── */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.rating-big { text-align: center; }
.rating-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--c-navy);
}
.rating-stars { display: flex; justify-content: center; gap: 4px; color: var(--c-gold); font-size: 1.3rem; margin: 8px 0; }
.rating-label { font-size: 0.8rem; color: var(--c-text-muted); }
.rating-divider { width: 1px; height: 80px; background: var(--c-border); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--t-slow);
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(0,143,163,.2); }
.review-stars { display: flex; gap: 3px; color: var(--c-gold); margin-bottom: 16px; font-size: 0.9rem; }
.review-text {
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--c-text-mid);
  margin-bottom: 20px;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-teal), var(--c-navy));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.review-name   { font-weight: 600; font-size: 0.88rem; color: var(--c-navy); }
.review-source { font-size: 0.75rem; color: var(--c-text-muted); }

/* ── 12. CTA Banner ──────────────────────────────── */
.cta-banner {
  background: linear-gradient(130deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,143,163,.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-text h2 { color: var(--c-white); margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-text p  { color: rgba(255,255,255,.7); margin: 0; font-size: 1rem; }
.cta-btns    { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ── 13. About Page ──────────────────────────────── */
.about-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
  aspect-ratio: 3/4;
}
.about-img-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--c-teal-light) 0%, #c5e9f0 100%);
  box-shadow: var(--shadow-xl);
}
.about-img-inner img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(0,143,163,.4);
  gap: 12px;
}
.about-img-placeholder i { font-size: 5rem; }
.about-img-stat {
  position: absolute;
  bottom: -20px;
  right: -28px;
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  min-width: 140px;
  animation: floatY 5s ease-in-out infinite 1s;
}
.about-img-stat .stat-n { font-family: 'DM Serif Display'; font-size: 2.5rem; color: var(--c-navy); line-height: 1; }
.about-img-stat .stat-l { font-size: 0.75rem; color: var(--c-text-muted); margin-top: 4px; }

.about-content { padding-left: 8px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.about-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feat-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-teal-light);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.feat-body strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--c-navy); margin-bottom: 3px; }
.feat-body span   { font-size: 0.8rem; color: var(--c-text-muted); }

/* Stats strip */
.stats-strip { background: var(--c-navy); padding: 56px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(255,255,255,.12);
}
.stat-num { font-family: 'DM Serif Display'; font-size: 3rem; color: var(--c-white); line-height: 1; display: block; }
.stat-num sup { font-size: 1.5rem; color: var(--c-teal); vertical-align: super; }
.stat-lbl { font-size: 0.82rem; color: rgba(255,255,255,.55); margin-top: 8px; }

/* Doctor card */
.doctor-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}
.doc-photo {
  width: 156px; height: 156px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--c-teal), var(--c-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.35);
  font-size: 4rem;
  flex-shrink: 0;
  overflow: hidden;
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-name     { font-family: 'DM Serif Display'; font-size: 2rem; color: var(--c-navy); margin-bottom: 4px; }
.doc-title    { font-size: 0.88rem; color: var(--c-teal); font-weight: 600; margin-bottom: 16px; }
.doc-bio      { font-size: 0.9rem; color: var(--c-text-mid); line-height: 1.7; margin-bottom: 20px; }
.doc-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-tag {
  background: var(--c-teal-light);
  color: var(--c-navy);
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ── 14. Services Detail ─────────────────────────── */
.service-detail-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--c-border-soft);
}
.service-detail-section:last-child { border-bottom: none; }
.service-detail-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-detail-section:nth-child(even) .container { direction: rtl; }
.service-detail-section:nth-child(even) .container > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--r-xl);
  background: var(--c-teal-light);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-content h2 { margin-bottom: 16px; font-size: 2rem; }
.service-detail-content p  { margin-bottom: 20px; }
.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--c-text-mid);
}
.benefit-item i { color: var(--c-teal); flex-shrink: 0; }

/* ── 15. Why Us Detail ───────────────────────────── */
.why-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-detail-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: var(--t-slow);
}
.why-detail-card:hover { border-color: var(--c-teal); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why-detail-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(130deg, var(--c-navy) 0%, var(--c-navy-mid) 100%);
  border-color: transparent;
}
.why-detail-card.featured h3 { color: var(--c-white); }
.why-detail-card.featured p  { color: rgba(255,255,255,.68); }
.why-detail-card.featured .wd-icon { background: rgba(255,255,255,.1); color: var(--c-teal); }
.wd-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-md);
  background: var(--c-teal-light);
  color: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.why-detail-card h3 { margin-bottom: 10px; }
.why-detail-card p  { font-size: 0.9rem; margin: 0; }

/* Process steps */
.process-list {
  max-width: 680px;
  margin: 0 auto;
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px; top: 76px;
  bottom: 0; width: 2px;
  background: var(--c-border);
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-body h3 { font-size: 1rem; margin-bottom: 6px; }
.step-body p  { font-size: 0.88rem; margin: 0; }

/* ── 16. Contact Page ────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  transition: var(--t-fast);
  color: inherit;
}
.contact-card:hover { border-color: var(--c-teal); box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ci--teal  { background: var(--c-teal-light);  color: var(--c-teal); }
.ci--green { background: var(--c-green-light); color: var(--c-green); }
.ci--navy  { background: rgba(11,34,57,.07);   color: var(--c-navy); }
.ci--gold  { background: var(--c-gold-light);  color: var(--c-gold); }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-muted); font-weight: 600; }
.contact-value { font-size: 0.98rem; font-weight: 700; color: var(--c-navy); }

/* Contact Form */
.contact-form-box {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-box h3 { margin-bottom: 6px; font-size: 1.5rem; }
.contact-form-box > p { color: var(--c-text-muted); font-size: 0.88rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
input, textarea {
  width: 100%;
  padding: 13px 17px;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--c-text);
  background: var(--c-bg);
  outline: none;
  transition: var(--t-fast);
}
input:focus, textarea:focus {
  border-color: var(--c-teal);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(0,143,163,.12);
}
textarea { resize: vertical; min-height: 120px; }

/* Map */
.map-embed {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 420px;
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-md);
  margin-top: 60px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── 17. Page Hero (inner pages) ─────────────────── */
.page-hero {
  background: linear-gradient(130deg, var(--c-navy) 0%, var(--c-navy-mid) 60%, #1c6a94 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,143,163,.2) 0%, transparent 60%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: var(--t-fast); }
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb i { font-size: 0.55rem; }
.page-hero h1 { color: var(--c-white); margin-bottom: 16px; }
.page-hero p   { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ── 18. Footer ──────────────────────────────────── */
.footer {
  background: #070f1c;
  padding-top: 72px;
  color: rgba(255,255,255,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 270px; margin: 18px 0 24px; color: rgba(255,255,255,.45); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 0.85rem;
  transition: var(--t-fast);
}
.footer-socials a:hover { background: var(--c-teal); color: white; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,.48); transition: var(--t-fast); }
.footer-links a:hover { color: var(--c-white); padding-left: 4px; }
.footer-contact-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.87rem;
  align-items: flex-start;
}
.footer-contact-row i { color: var(--c-teal); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-contact-row a { color: rgba(255,255,255,.48); }
.footer-contact-row a:hover { color: white; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,.3); margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,.3); transition: var(--t-fast); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── 19. Floating WhatsApp ───────────────────────── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
}
.wa-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 6px 28px rgba(34,197,94,.45);
  transition: var(--t-base);
  animation: floatY 5s ease-in-out infinite;
}
.wa-float a:hover { background: #16a34a; transform: scale(1.12); animation: none; }
.wa-float-tip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-navy);
  color: white;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: var(--t-fast);
  pointer-events: none;
}
.wa-float-tip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--c-navy);
}
.wa-float:hover .wa-float-tip { opacity: 1; }

/* ── 20. Animations ──────────────────────────────── */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll animation classes */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.anim.in { opacity: 1; transform: translateY(0); }
.anim-left  { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.anim-right { opacity: 0; transform: translateX(28px);  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.anim-left.in, .anim-right.in { opacity: 1; transform: translate(0); }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* Hero entrance */
.hero-content { animation: slideLeft 0.9s var(--ease-out) both; }
.hero-visual  { animation: slideRight 0.9s var(--ease-out) both 0.15s; }

/* ── 21. FAQ ─────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.open { border-color: var(--c-teal); box-shadow: var(--shadow-sm); }
.faq-q {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-navy);
  user-select: none;
}
.faq-q i { color: var(--c-teal); transition: transform var(--t-fast); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s ease;
  font-size: 0.9rem;
  color: var(--c-text-mid);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px 20px; }

/* ── 22. Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .why-detail-grid { grid-template-columns: 1fr; }
  .why-detail-card.featured { grid-column: 1; }
}

@media (max-width: 768px) {
  :root { --section-v: 64px; }
  .topbar          { display: none; }
  .nav-links       { display: none; }
  .nav-actions .btn, .nav-phone { display: none; }
  .nav-toggle      { display: block; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-visual     { display: none; }
  .hero            { text-align: center; }
  .hero-ctas       { justify-content: center; }
  .hero-badges     { justify-content: center; }
  .hero-badge      { border-right: none; padding: 0 16px; }

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

  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-btns        { width: 100%; justify-content: center; }

  .about-split .container { grid-template-columns: 1fr; }
  .about-img-wrap  { display: none; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }

  .doctor-card     { flex-direction: column; text-align: center; }
  .doc-tags        { justify-content: center; }

  .service-detail-section .container { grid-template-columns: 1fr; }
  .service-detail-section:nth-child(even) .container { direction: ltr; }

  .contact-layout  { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }

  .footer-grid     { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .footer-legal    { justify-content: center; }

  .wa-float  { bottom: 20px; right: 20px; }
  .wa-float a { width: 54px; height: 54px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title  { font-size: 2.2rem; }
  .hero-ctas   { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .btn-lg      { padding: 14px 28px; }
  .cta-btns    { flex-direction: column; }
  .cta-btns .btn { width: 100%; }
  .stat-num    { font-size: 2.2rem; }
}
