:root {
  --bg: #fff8f7;
  --surface: #ffffff;
  --text: #372e34;
  --muted: #6f6068;
  --primary: #d46f8a;
  --primary-strong: #bb5573;
  --accent: #f2a59f;
  --lavender: #f5eef8;
  --rose-soft: #fdeced;
  --mint-soft: #edf8f5;
  --border: #efd8df;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(177, 95, 126, 0.16);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Ubuntu", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #fff0f2 0, var(--bg) 45%, #faf5ff 100%);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-strong); }
.container { width: min(1120px, 92vw); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.brand { text-decoration: none; font-weight: 700; letter-spacing: 0.4px; color: #a44766; }
.main-nav { display: flex; gap: 16px; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.phone { text-decoration: none; font-weight: 700; color: #a44766; }

.hero {
  position: relative;
  padding: 64px 0 54px;
  background: url("../images/bg32.jpg") center/cover no-repeat;
  overflow: hidden;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(61, 35, 53, 0.72) 35%, rgba(61, 35, 53, 0.43) 100%);
}
.shine {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -200px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 210, 0.62) 0%, rgba(248, 216, 210, 0) 68%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 28px; align-items: start; }

.eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #ffd3cd;
}
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); color: #fff3f5; }
.lead { margin: 16px 0 22px; color: #ffe5ec; max-width: 700px; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-secondary { background: #f9edf1; color: #8c4960; border: 1px solid #efc7d5; }
.btn-glow {
  background: linear-gradient(90deg, #ffd9ce, #ffd7ea);
  color: #6f3b4d;
  box-shadow: 0 10px 24px rgba(255, 183, 193, 0.5);
}

.proof-list { padding-left: 18px; color: #ffe6ea; margin: 0; }

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid #f1dbe3;
}
.hero-card h2 { font-size: 1.4rem; margin-bottom: 8px; color: #a44766; }
.hero-card p { margin: 0 0 14px; color: var(--muted); }
.lead-form { display: grid; gap: 8px; }
.lead-form label { font-weight: 600; font-size: 14px; }
.lead-form input, .lead-form textarea, .quiz-final input {
  border: 1px solid #edced8;
  border-radius: 12px;
  padding: 11px;
  font: inherit;
  background: #fffbfd;
}
.lead-form textarea { resize: vertical; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; font-weight: 400; }
.check-row input { margin-top: 3px; }
.btn-full { width: 100%; margin-top: 6px; }
.form-note { margin: 0; font-size: 12px; color: var(--muted); }
.submit-status { margin: 8px 0 0; font-size: 14px; min-height: 20px; color: #a44766; font-weight: 600; }

.metrics {
  margin-top: -22px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metrics article {
  background: var(--surface);
  border: 1px solid #f0dbe2;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.metrics strong { display: block; font-size: 1.8rem; color: #b45374; }
.metrics span { color: var(--muted); font-size: 14px; }

.section { padding: 78px 0; }
.section-head { margin-bottom: 22px; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: #5d2f41; }
.quiz-entry { padding-top: 34px; }
.quiz-entry-card {
  border: 1px solid #f0d6e0;
  background: linear-gradient(135deg, var(--rose-soft), var(--lavender));
  border-radius: 20px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid #f0dbe2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(205, 140, 164, 0.15);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card h3, .card p { padding: 0 14px; }
.card h3 { margin: 13px 0 8px; font-size: 1.12rem; color: #803e57; }
.card p { margin: 0 0 16px; color: var(--muted); }
.sub-services {
  margin-top: 24px;
  padding: 18px;
  background: var(--mint-soft);
  border: 1px dashed #c8e4dc;
  border-radius: 14px;
}
.sub-services h3 { margin-bottom: 10px; color: #3d7263; }
.sub-services ul { margin: 0; padding-left: 20px; }

.trust-section {
  background: linear-gradient(180deg, #fff8fb, #fff);
  border-top: 1px solid #f5e2e9;
  border-bottom: 1px solid #f5e2e9;
}

.trust-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trust-flow li {
  background: #fff;
  border: 1px solid #f0dbe2;
  border-radius: 14px;
  padding: 16px 16px 16px 56px;
  box-shadow: 0 6px 16px rgba(205, 140, 164, 0.1);
  position: relative;
}

.trust-flow li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f7c8d8, #eca3bc);
}

.trust-flow h3 {
  margin-bottom: 8px;
  color: #7e3b55;
}

.trust-flow p {
  margin: 0;
  color: var(--muted);
}

.prices-section {
  background: linear-gradient(180deg, #fff, #f9fcfb);
}

.prices-content {
  background: #fff;
  border: 1px solid #f0dbe2;
  border-radius: 16px;
  padding: 16px;
}

.price-table-wrap {
  overflow-x: auto;
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #f0dbe2;
  border-radius: 12px;
  overflow: hidden;
}

.prices-table th,
.prices-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f3e4ea;
  text-align: left;
}

.prices-table th {
  background: #f8ecf2;
  color: #733f56;
  font-weight: 700;
}

.prices-table tbody tr:nth-child(odd) {
  background: #fff7fb;
}

.prices-table tbody tr:last-child td {
  border-bottom: none;
}

.price-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.faq-section {
  background: linear-gradient(180deg, #fff8fb, #fff);
  border-top: 1px solid #f5e2e9;
  border-bottom: 1px solid #f5e2e9;
}

.faq-list details {
  background: #fff;
  border: 1px solid #f0dbe2;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #6b3850;
}

.faq-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.doctors-grid article {
  background: linear-gradient(180deg, #fff, #fff8fb);
  border: 1px solid #f0dbe2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(205, 140, 164, 0.14);
}
.doctors-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.doctors-grid h3, .doctors-grid p { margin: 0; padding: 12px 14px; }
.doctors-grid h3 { color: #7e3b55; }
.doctors-grid p { color: var(--muted); padding-top: 0; padding-bottom: 16px; }

.footer { background: linear-gradient(180deg, #6c3a4e, #532f44); color: #fdeff5; padding: 38px 0; }
.footer a { color: #ffe3ee; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer h3 { margin-bottom: 12px; }
.footer p { margin: 0 0 8px; }

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quiz-modal[hidden] { display: none; }
.quiz-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(57, 31, 45, 0.6);
}
.quiz-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #f1d9e3;
  box-shadow: 0 20px 50px rgba(88, 43, 63, 0.35);
  padding: 18px;
}
.quiz-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #f2d7e0;
  background: #fff5f8;
  color: #a44766;
  font-size: 22px;
  line-height: 1;
}
.quiz-lock-hint { margin: 6px 0 0; color: #a44766; font-weight: 600; min-height: 20px; }
.quiz-modal__head { padding-right: 46px; }

.quiz {
  margin-top: 12px;
  background: #fff;
  border: 1px solid #f2dbe4;
  border-radius: 16px;
  padding: 18px;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step h3 { margin-bottom: 14px; color: #6b3850; }
.category-grid-quiz {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.category-card {
  border: 1px solid #f0d8e2;
  background: linear-gradient(180deg, #fff, #fff7fb);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: left;
  font-weight: 700;
  color: #6c3a50;
}
.category-card.active {
  border-color: #d46f8a;
  box-shadow: 0 0 0 2px rgba(212, 111, 138, 0.25);
}
.options-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.option-card {
  border: 1px solid #f0d8e2;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  padding: 0;
}
.option-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.option-card span { display: block; padding: 10px; font-weight: 600; color: #6c3a50; }
.option-card.active {
  border-color: #d46f8a;
  box-shadow: 0 0 0 2px rgba(212, 111, 138, 0.25);
}
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chip {
  border: 1px solid #edd0db;
  border-radius: 999px;
  background: #fff;
  padding: 11px 10px;
  font-weight: 700;
  color: #734259;
}
.chip.active { border-color: #d46f8a; background: #fff1f6; }
.quiz-final { display: grid; gap: 8px; max-width: 520px; }
.quiz-nav { margin-top: 14px; display: flex; gap: 10px; justify-content: space-between; }

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 40;
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #f2d9e3;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; color: var(--muted); font-size: 14px; }

.quiz-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f2d5df;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #a44766;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(177, 95, 126, 0.2);
  animation: floatPulse 1.2s ease-in-out infinite;
}

.quiz-float__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d46f8a;
}

.quiz-float__label {
  white-space: nowrap;
}

body.cookie-visible .quiz-float {
  bottom: 92px;
}

@keyframes floatPulse {
  0% { transform: scale(1); box-shadow: 0 10px 24px rgba(177, 95, 126, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 14px 28px rgba(177, 95, 126, 0.35); }
  100% { transform: scale(1); box-shadow: 0 10px 24px rgba(177, 95, 126, 0.2); }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .cards, .doctors-grid, .footer-grid, .options-grid, .chips, .category-grid-quiz { grid-template-columns: 1fr; }
  .quiz-entry-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .topbar-row { min-height: 58px; }
  .phone { font-size: 14px; }
  .hero { padding-top: 34px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-banner button { width: 100%; }
}
