/* ==========================================================================
   REHABUZ — ULTRA PRO MEDICAL DESIGN SYSTEM
   Brand Colors: Primary Red (#bd2446), Wine (#771c32), Ink (#1e1e24), Pink (#fbf2f4)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  /* Brand Core Colors (Strictly Preserved) */
  --red: #bd2446;
  --red-hover: #a81c3b;
  --red-light: rgba(189, 36, 70, 0.08);
  --red-glow: rgba(189, 36, 70, 0.25);
  
  --wine: #771c32;
  --wine-dark: #581324;
  --wine-light: rgba(119, 28, 50, 0.06);

  --ink: #1a1a1e;
  --ink-soft: #2e2e36;
  --muted: #646470;
  --muted-light: #9494a0;

  --line: #ede8ea;
  --line-focus: #cf7c90;
  --pink: #fbf2f4;
  --pink-soft: #fdf7f8;
  --pink-card: #f9edf0;
  --white: #ffffff;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #bd2446 0%, #771c32 100%);
  --grad-wine: linear-gradient(135deg, #771c32 0%, #4f1121 100%);
  --grad-soft: linear-gradient(180deg, #ffffff 0%, #fbf2f4 100%);
  --grad-hero: radial-gradient(120% 100% at 80% 20%, rgba(189, 36, 70, 0.06) 0%, rgba(251, 242, 244, 0.4) 60%, transparent 100%);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 12px rgba(36, 36, 40, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(36, 36, 40, 0.07), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 18px 35px -6px rgba(119, 28, 50, 0.1), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 22px 42px -6px rgba(189, 36, 70, 0.14), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 8px 24px rgba(189, 36, 70, 0.35);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Manrope', 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

svg {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  max-width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Layout Wrap */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Scale */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

/* Accessibility */
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  z-index: 1000;
  transition: top 0.2s;
  font-weight: 600;
}
.skip:focus {
  top: 20px;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--wine);
  color: #f7e6eb;
  font-size: 0.815rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-pulse {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f7e6eb;
  opacity: 0.9;
}

.topbar-links a:hover {
  opacity: 1;
  color: #ffffff;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.head {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pink);
  display: grid;
  place-items: center;
  padding: 5px;
  border: 1px solid rgba(189, 36, 70, 0.15);
  box-shadow: 0 2px 8px rgba(189, 36, 70, 0.08);
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--wine);
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: var(--r-full);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--red);
  background: var(--pink);
}

.nav a.active {
  color: var(--red);
  background: var(--pink);
  font-weight: 700;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--pink);
  color: var(--wine);
  border: 1px solid var(--line);
  font-size: 1.4rem;
  place-items: center;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-primary);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(189, 36, 70, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, #a81c3b 0%, #68162a 100%);
  color: var(--white);
}

.btn:active {
  transform: translateY(0);
}

.btn.light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn.light:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--pink-soft);
  box-shadow: var(--shadow-md);
}

.btn.sm {
  padding: 8px 18px;
  font-size: 0.825rem;
}

.btn.wide {
  width: 100%;
}

.btn.white {
  background: var(--white);
  color: var(--wine);
  border-color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn.white:hover {
  background: #fdf6f8;
  color: var(--red);
  transform: translateY(-2px);
}

.arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover .arrow, .text-link:hover .arrow {
  transform: translate(2px, -2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--pink);
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(189, 36, 70, 0.12);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.text-link:hover {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 60px;
  background: var(--grad-hero);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  border: 1px solid rgba(189, 36, 70, 0.15);
  color: var(--wine);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--r-full);
  margin-bottom: 22px;
}

.hero-chip svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--ink);
}

.hero h1 span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-copy > p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-stat-item b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.hero-stat-item b span {
  color: var(--red);
}

.hero-stat-item small {
  display: block;
  font-size: 0.825rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Media & Founder Frame */
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-photo-wrapper {
  position: relative;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(251, 242, 244, 0.6));
  border: 1px solid rgba(189, 36, 70, 0.15);
  box-shadow: var(--shadow-lg);
}

.hero-photo {
  height: 510px;
  border-radius: 28px;
  overflow: hidden;
  background: #f0e2e5;
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-photo-wrapper:hover .hero-photo img {
  transform: scale(1.03);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(189, 36, 70, 0.15);
  box-shadow: var(--shadow-md);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.badge-tag-exp {
  top: 36px;
  right: -24px;
  background: var(--wine);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg);
  padding: 16px 22px;
  border-radius: var(--r-md);
}

.badge-tag-exp b {
  display: block;
  font-size: 1.8rem;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.badge-tag-exp span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.9;
  font-weight: 500;
}

.badge-doctor {
  bottom: -20px;
  left: -24px;
  right: 40px;
  justify-content: space-between;
}

.badge-doctor strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ink);
}

.badge-doctor small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.round-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   TRUST SECTION
   ========================================================================== */
.trust {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.trust-item:hover {
  background: var(--pink-soft);
  border-color: rgba(189, 36, 70, 0.12);
  transform: translateY(-2px);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pink);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-icon-box svg {
  width: 24px;
  height: 24px;
}

.trust-item b {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.trust-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================================
   SECTIONS & HEADERS
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section.soft {
  background: var(--pink-soft);
  border-top: 1px solid rgba(189, 36, 70, 0.06);
  border-bottom: 1px solid rgba(189, 36, 70, 0.06);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.section-head p {
  max-width: 580px;
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ==========================================================================
   SERVICES GRID (ULTRA PRO CARDS)
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(189, 36, 70, 0.3);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pink);
  color: var(--red);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.service-card:hover .icon-box {
  background: var(--grad-primary);
  color: var(--white);
  transform: scale(1.06);
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-no {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted-light);
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.service-card:hover h3 {
  color: var(--red);
}

.service-card p {
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.service-bottom {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.02em;
}

.price small {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 5px;
}

.service-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--red);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.service-card:hover .service-action-btn {
  background: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

/* ==========================================================================
   ABOUT / STORY SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--pink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(189, 36, 70, 0.12);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.about-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(189, 36, 70, 0.12);
  box-shadow: var(--shadow-md);
}

.about-overlay b {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--red);
  font-weight: 800;
  line-height: 1;
}

.about-overlay span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.about-copy > p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 20px 0 28px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 34px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.check-list li::before {
  content: '✓';
  color: var(--red);
  width: 26px;
  height: 26px;
  background: var(--pink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   TEAM / DOCTORS SECTION (ULTRA PRO DOCTOR CARDS)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(189, 36, 70, 0.25);
  box-shadow: var(--shadow-hover);
}

.team-image {
  height: 290px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--pink);
  position: relative;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 18px 8px 8px;
}

.team-card h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 12px;
}

.team-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--pink);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.04em;
}

/* Founder / Lead Doctor Hero Card */
.lead-doctor {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-md);
}

.lead-doctor .team-image {
  height: 440px;
  border-radius: 20px;
}

.lead-doctor-content h2 {
  margin-bottom: 16px;
}

.lead-doctor-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ==========================================================================
   PROCESS / STEPS SECTION
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(189, 36, 70, 0.25);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.faq-wrap details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
  transition: all 0.25s ease;
}

.faq-wrap details[open] {
  border-color: rgba(189, 36, 70, 0.3);
  box-shadow: var(--shadow-sm);
  background: var(--pink-soft);
}

.faq-wrap summary {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  user-select: none;
}

.faq-wrap summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-wrap details[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
}

.faq-wrap details p {
  font-size: 0.94rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid rgba(189, 36, 70, 0.1);
}

/* ==========================================================================
   CALL TO ACTION BANNER (ULTRA PRO CTA)
   ========================================================================== */
.cta-banner {
  background: var(--grad-wine);
  border-radius: 28px;
  padding: 64px 70px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 36, 70, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.cta-content p {
  color: #ebd7dd;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-action {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* CTA Booking Box with Express Form */
.cta-booking-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 56px 60px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.cta-pill .topbar-pulse {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.cta-trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #fcecef;
  font-weight: 500;
}

.cta-trust-item svg {
  width: 18px;
  height: 18px;
  stroke: #ff9fb2;
  flex-shrink: 0;
}

.cta-call-box {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-call-label {
  display: block;
  font-size: 0.85rem;
  color: #ebd7dd;
  margin-bottom: 10px;
}

.cta-call-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-call-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.cta-call-links a:hover {
  background: var(--white);
  color: var(--wine);
  transform: translateY(-2px);
}

.cta-call-links a svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

.cta-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 34px 30px;
  color: var(--ink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 2;
}

.quick-form-head h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.quick-form-head p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.quick-field {
  margin-bottom: 16px;
}

.quick-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.quick-field label span {
  color: var(--red);
}

.quick-input, .quick-select {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--pink-soft);
  color: var(--ink);
  transition: all 0.2s ease;
  outline: none;
}

.quick-input:focus, .quick-select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3.5px rgba(189, 36, 70, 0.14);
}

.quick-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1.02rem;
  margin-top: 6px;
}

.quick-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}

.quick-privacy svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted-light);
}

.alert-box {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 14px;
}

.alert-box.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-box.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #fbf9fa;
  border-top: 1px solid var(--line);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 54px;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.footer a:not(.brand) {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.footer a:not(.brand):hover {
  color: var(--red);
  transform: translateX(3px);
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-top: 16px;
}

.footer .phone {
  font-size: 1.15rem !important;
  color: var(--ink) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--wine) !important;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--muted-light);
  gap: 20px;
}

/* ==========================================================================
   PAGE INTRO / SUBPAGE HERO
   ========================================================================== */
.page-intro {
  padding: 64px 0 68px;
  background: var(--pink-soft);
  border-bottom: 1px solid rgba(189, 36, 70, 0.08);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 500;
}

.crumb a {
  color: var(--red);
  font-weight: 600;
}

.crumb a:hover {
  text-decoration: underline;
}

.page-intro h1 {
  margin-bottom: 16px;
}

.page-intro p {
  max-width: 640px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ==========================================================================
   BOOKING / QABUL CALCULATOR FORM (ULTRA PRO UX)
   ========================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-panel, .summary-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--white);
  user-select: none;
}

.choice:hover {
  border-color: rgba(189, 36, 70, 0.3);
  background: var(--pink-soft);
  transform: translateY(-2px);
}

.choice:has(input:checked) {
  border-color: var(--red);
  background: var(--pink);
  box-shadow: 0 4px 14px rgba(189, 36, 70, 0.12);
}

input[type="checkbox"] {
  accent-color: var(--red);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.choice span {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.choice small {
  display: block;
  color: var(--red);
  font-size: 0.825rem;
  font-weight: 700;
  margin-top: 4px;
  font-family: var(--font-heading);
}

.field {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}

select, .lead-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  transition: all 0.2s ease;
}

select:focus, .lead-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(189, 36, 70, 0.15);
  outline: none;
}

.note {
  font-size: 0.825rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

.lead-fields {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 24px;
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Summary Panel Sticky Checkout */
.summary-panel {
  background: var(--pink-soft);
  border-color: rgba(189, 36, 70, 0.18);
  position: sticky;
  top: 110px;
}

.summary-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(189, 36, 70, 0.12);
}

.summary-list {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px dashed rgba(189, 36, 70, 0.15);
}

.summary-list li strong {
  font-family: var(--font-heading);
  color: var(--red);
  font-weight: 700;
}

.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid rgba(189, 36, 70, 0.2);
}

.sum-total span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.sum-total b {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
}

#selected-doctor {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
  font-weight: 600;
}

#lead-result {
  margin-top: 20px;
  font-size: 0.9rem;
  border-radius: var(--r-md);
  line-height: 1.6;
}

#lead-result.success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
  padding: 18px;
}

#lead-result.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  padding: 18px;
}

/* ==========================================================================
   CONTACT / INFO GRID
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(189, 36, 70, 0.25);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-size: 1.3rem;
  margin: 20px 0 10px;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.info-card .phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--wine);
  margin-top: 12px;
  font-family: var(--font-heading);
}

/* ==========================================================================
   SERVICE DETAIL VIEW
   ========================================================================== */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
}

.detail-copy h2 {
  margin-bottom: 16px;
}

.detail-copy h3 {
  margin: 36px 0 16px;
}

.detail-copy p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-aside {
  background: var(--pink-soft);
  border: 1px solid rgba(189, 36, 70, 0.15);
  border-radius: var(--r-lg);
  padding: 36px;
  position: sticky;
  top: 110px;
  box-shadow: var(--shadow-sm);
}

.service-aside .price {
  font-size: 2.5rem;
  margin: 20px 0 14px;
}

.service-aside p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE / TABLET)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    gap: 40px;
  }
  .hero-photo {
    height: 450px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .topbar .wrap > span {
    display: none;
  }
  .topbar .wrap {
    justify-content: center;
  }
  .head {
    height: 74px;
  }
  .menu-btn {
    display: grid;
  }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    font-size: 1rem;
    padding: 12px 18px;
  }
  .head-actions .btn {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-media {
    max-width: 500px;
    margin: 0 auto;
  }
  .badge-tag-exp {
    right: 0;
  }
  .badge-doctor {
    left: 10px;
    right: 10px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .lead-doctor {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lead-doctor .team-image {
    height: 380px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 44px 32px;
    gap: 28px;
  }
  .cta-booking-box {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
    padding: 40px 24px;
    gap: 36px;
  }
  .booking-grid, .detail-grid, .info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .summary-panel, .service-aside {
    position: static;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 44px 0 48px;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .form-panel, .summary-panel {
    padding: 24px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
