/* Merrifield OB-GYN — ClinicMaster Gynecology-inspired theme */
:root {
  --primary: #DB479D;
  --primary-dark: #c23a8b;
  --primary-soft: #F8E6F1;
  --secondary: #3D203F;
  --heading: #3D203F;
  --body: #666666;
  --muted: #8a8a8a;
  --light: #FAF7F8;
  --white: #ffffff;
  --border: #EEDFE8;
  --star: #F5C542;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 15px;
  --radius: 10px;
  --shadow: 0 10px 40px rgba(61, 32, 63, 0.08);
  --shadow-sm: 0 6px 20px rgba(61, 32, 63, 0.06);
  --container: 1240px;
  --header-h: 88px;
  --font: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 22px; }

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.lead {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  border-radius: 50px;
  padding: 14px 28px;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
  padding: 0;
  font-size: 16px;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 18px rgba(61, 32, 63, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img,
.logo svg {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--heading);
  position: relative;
  padding: 8px 0;
}

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

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 22px;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--light);
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  color: var(--heading);
}

/* Page hero / breadcrumb */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: #f4e9ef center/cover no-repeat;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.55) 55%, rgba(255,255,255,0.2) 100%);
}

.page-hero .container { position: relative; z-index: 1; padding: 70px 0; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 16px;
}

.breadcrumb a { color: #fff; opacity: 0.9; }

/* Hero home */
.home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: #f7eef3 center/cover no-repeat;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.55) 48%, rgba(255,255,255,0.08) 100%);
}

.home-hero .container { position: relative; z-index: 1; }

.home-hero-copy {
  max-width: 600px;
  padding: 90px 0;
}

.home-hero h1 { margin-bottom: 18px; }
.home-hero p { margin-bottom: 28px; max-width: 480px; }

.hero-actions { display: flex; align-items: center; gap: 14px; }

/* Split about */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 22px 0 28px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--heading);
  font-weight: 500;
  font-size: 15px;
}

.check-item i {
  color: var(--primary);
  margin-top: 3px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: var(--heading);
  font-weight: 600;
}

/* Service cards */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

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

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

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-card .name-bar {
  background: var(--secondary);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  margin-top: -8px;
  position: relative;
}

.service-card .body {
  padding: 18px 18px 20px;
}

.service-card p { font-size: 14px; margin-bottom: 12px; }

.link-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.month {
  text-align: center;
}

.month-art {
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 10px;
}

.month-art svg { width: 70px; height: 100px; }

.month-label {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
}

/* Appointment */
.appt-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.appt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14px;
  color: var(--heading);
  background: #fff;
  outline: none;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(219, 71, 157, 0.12);
}

.form-field .error {
  color: #D23636;
  font-size: 12px;
  min-height: 16px;
}

.appt-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 360px;
}

.appt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

/* Nutrition */
.nutrition {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.orbit {
  width: 420px;
  height: 420px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 38%, var(--primary-soft) 38% 62%, #fff 62%);
  border: 1px dashed #e7c3d8;
}

.orbit img {
  position: absolute;
  inset: 28%;
  width: 44%;
  height: 44%;
  object-fit: cover;
  border-radius: 50%;
}

.orbit span {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
}

.orbit span:nth-child(2) { top: 6%; left: 42%; }
.orbit span:nth-child(3) { top: 22%; right: 4%; }
.orbit span:nth-child(4) { bottom: 22%; right: 4%; }
.orbit span:nth-child(5) { bottom: 6%; left: 42%; }
.orbit span:nth-child(6) { bottom: 22%; left: 4%; }
.orbit span:nth-child(7) { top: 22%; left: 4%; }

/* Tabs */
.help-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 36px;
}

.help-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--heading);
  border-radius: 50px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.help-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.tab-panel img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.faq-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 560px;
}

.faq-img img { width: 100%; height: 100%; object-fit: cover; }

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-btn {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 18px 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.accordion-btn span.icon {
  color: var(--primary);
  font-size: 20px;
  font-weight: 400;
}

.accordion-body {
  display: none;
  padding: 0 8px 18px;
  color: var(--body);
}

.accordion-item.open .accordion-body { display: block; }

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testi-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.testi-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.testi-copy { padding: 22px; }

.stars { color: var(--star); letter-spacing: 2px; margin-bottom: 8px; }

.testi-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.testi-person strong { color: var(--heading); display: block; }
.testi-person small { color: var(--muted); }

.quote-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* CTA band */
.cta-band {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: center/cover no-repeat;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.45) 55%, rgba(255,255,255,0.15) 100%);
}

.cta-band .container { position: relative; z-index: 1; }

/* Pricing */
.price-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.price-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card {
  border: 1px solid #f0cfe3;
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.price-card .badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  padding: 6px 14px;
  margin-bottom: 10px;
}

.price-card h3 { font-size: 32px; margin-bottom: 8px; }
.price-card h3 span { font-size: 16px; font-weight: 500; color: var(--body); }
.price-card ul { margin: 14px 0 20px; }
.price-card li { display: flex; gap: 8px; margin-bottom: 8px; color: var(--heading); }

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

.team-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.team-card h3 { padding: 16px 12px 0; font-size: 18px; }
.team-card p { color: var(--primary); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding-bottom: 18px; }

.featured-doc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.featured-photo {
  height: 560px;
  border-radius: 200px;
  overflow: hidden;
}

.featured-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.awards {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.award {
  border: 1px solid #f0cfe3;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 220px;
}

.award i { color: var(--primary); font-size: 22px; }
.award strong { display: block; color: var(--heading); font-size: 13px; }
.award span { font-size: 12px; }

/* Blog */
.blog-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 36px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-card .pad { padding: 18px; }
.blog-meta { color: var(--primary); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; margin-bottom: 8px; }

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 22px;
}

.sidebar-widget h4 { margin-bottom: 16px; }

.search-box {
  display: flex;
  border: 1px solid var(--primary);
  border-radius: 10px;
  overflow: hidden;
}

.search-box input { border: 0; padding: 12px; flex: 1; outline: none; }
.search-box button { border: 0; background: var(--primary); color: #fff; padding: 0 14px; cursor: pointer; }

.cat-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--heading);
}

.latest-post {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.latest-post img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
}

/* Contact form card */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 36px;
}

.underline-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin-bottom: 6px;
}

.underline-field i { color: var(--primary); }
.underline-field input,
.underline-field textarea {
  border: 0;
  outline: none;
  width: 100%;
  resize: vertical;
  background: transparent;
  color: var(--heading);
}

.region-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.region-card {
  border: 1px solid #f0cfe3;
  border-radius: var(--radius-lg);
  padding: 22px;
}

.region-card h3 { margin-bottom: 8px; }

/* Legal pages */
.legal {
  max-width: 900px;
  margin: 0 auto;
}

.legal h2 { font-size: 24px; margin: 32px 0 12px; }
.legal h3 { font-size: 18px; margin: 22px 0 8px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 18px; list-style: disc; }
.legal li { margin-bottom: 6px; }

/* Mission */
.mission-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.mission-blocks { display: grid; gap: 16px; }

.mission-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.mission-block.values {
  background: var(--secondary);
  color: #fff;
  border: 0;
}

.mission-block.values h3 { color: #fff; }
.mission-block.values p { color: rgba(255,255,255,0.85); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: #d8c9dc;
  padding-top: 0;
  margin-top: 80px;
  position: relative;
}

.footer-card {
  background: #fff;
  color: var(--body);
  border-radius: var(--radius-xl);
  padding: 40px 36px 24px;
  box-shadow: var(--shadow);
  transform: translateY(-50px);
  margin-bottom: -20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand img.logo-img { height: 52px; margin-bottom: 12px; }
.footer-brand .family {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
}

.socials { display: flex; gap: 10px; margin-top: 12px; }

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f3f3;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
}

.socials a:hover { background: var(--primary); color: #fff; }

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 16px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--heading);
  font-size: 14px;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 20px 0 50px;
  flex-wrap: wrap;
}

.footer-bottom-bar h3 { color: #fff; font-size: 26px; max-width: 480px; }
.footer-bottom-bar p { color: #cbb8cf; font-size: 14px; margin-top: 6px; }

.subscribe-mini {
  display: flex;
  background: #2c152e;
  border-radius: 50px;
  overflow: hidden;
  min-width: 320px;
}

.subscribe-mini input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 14px 18px;
  outline: none;
}

.subscribe-mini button {
  width: 50px;
  border: 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
}

.subscribe-mini .error {
  position: absolute;
  left: 18px;
  bottom: -22px;
}

.footer-bottom-bar form {
  position: relative;
  margin-bottom: 12px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0 0 18px;
  font-size: 13px;
}

.legal-links a { color: #cbb8cf; }
.legal-links a:hover { color: #fff; }

.copy {
  text-align: center;
  color: #b9a6bd;
  font-size: 13px;
  padding-bottom: 24px;
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 12, 34, 0.45);
  z-index: 1200;
  display: none;
}

.overlay.show { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #fff;
  z-index: 1300;
  transform: translateX(100%);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.cart-items { flex: 1; overflow: auto; padding: 16px 20px; }

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-foot { padding: 20px; border-top: 1px solid var(--border); }

.qty-btn {
  border: 1px solid var(--border);
  background: #fff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
}

.empty-cart { color: var(--muted); text-align: center; padding: 40px 10px; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show { display: flex; }

.modal-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 480px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.modal-card i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 12px;
}

.video-frame {
  width: min(860px, 100%);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.video-frame iframe { width: 100%; height: 100%; border: 0; }

.success-banner {
  display: none;
  background: #e8f7ef;
  color: #1f7a4d;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 500;
}

.success-banner.show { display: block; }

.icon-row { display: flex; gap: 18px; margin-top: 18px; color: var(--primary); font-size: 26px; }

/* Responsive */
@media (max-width: 1100px) {
  .service-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .appt-form { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .split, .appt-wrap, .nutrition, .faq-wrap, .tab-panel.active,
  .price-layout, .featured-doc, .blog-layout, .contact-split, .mission-wrap, .testi-grid {
    grid-template-columns: 1fr;
  }
  .testi-card { grid-template-columns: 1fr; }
  .testi-card img { height: 220px; }
  .featured-photo { height: 420px; border-radius: 40px; }
  .split-img, .faq-img { height: 320px; }
  .home-hero { min-height: 520px; }
  .check-grid, .region-cards, .blog-grid { grid-template-columns: 1fr; }
  .header-actions .btn { display: none; }
}

@media (max-width: 640px) {
  .service-grid, .team-grid, .gallery, .stats { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; }
  .subscribe-mini { width: 100%; min-width: 0; }
  .section { padding: 60px 0; }
}
