/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:           #fdf6f9;
  --card:         #ffffff;
  --ink:          #1c0814;
  --muted:        #9b7a8a;
  --primary:      #f472b6;
  --primary-dark: #db2777;
  --accent:       #fce7f3;
  --violet:       #a855f7;
  --line:         #fce7f3;
  --shadow:       0 24px 80px rgba(244, 114, 182, 0.18);
  --shadow-sm:    0 8px 32px  rgba(244, 114, 182, 0.11);
  --radius:       28px;
}

/* ── Announcement bar ───────────────────────────────────── */
.announce-bar {
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  text-align: center;
  padding: 11px 20px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
}
.announce-bar strong { font-weight: 800; }
.announce-bar a {
  color: #fff; font-weight: 800;
  text-decoration: underline; margin-left: 14px;
  white-space: nowrap;
}
.announce-bar a:hover { opacity: .82; }

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100vw;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

/* ── Layout helpers ─────────────────────────────────────── */
.container  { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section-pad { padding: 92px 0; }

/* ── Decorative background blobs ───────────────────────── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.blob-1 {
  width: 680px; height: 680px;
  background: rgba(244, 114, 182, 0.20);
  top: -280px; left: -200px;
  animation: blobDrift 14s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px;
  background: rgba(168, 85, 247, 0.12);
  top: 38%; right: -180px;
  animation: blobDrift 18s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  width: 420px; height: 420px;
  background: rgba(251, 207, 232, 0.28);
  bottom: 8%; left: 18%;
  animation: blobDrift 22s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1);   }
  to   { transform: translate(30px, 20px) scale(1.06); }
}

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253, 246, 249, 0.84);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(252, 231, 243, 0.75);
}
.nav {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -0.03em; flex-shrink: 0;
}
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  box-shadow: 0 8px 22px rgba(244, 114, 182, 0.38);
}
.nav-links {
  display: flex; align-items: center; gap: 26px;
  color: var(--muted); font-weight: 600; font-size: 14px;
}
.nav-links a:hover { color: var(--primary-dark); }

/* Buttons (shared) */
.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.nav-cta, .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
  box-shadow: 0 12px 30px rgba(244, 114, 182, 0.38);
  animation: btnPulse 2.2s ease-out infinite;
}
.nav-cta:hover, .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(244, 114, 182, 0.48);
  animation: none;
}
@keyframes btnPulse {
  0%   { box-shadow: 0 12px 30px rgba(244,114,182,.38), 0 0 0 0 rgba(244,114,182,.55); }
  65%  { box-shadow: 0 12px 30px rgba(244,114,182,.38), 0 0 0 14px rgba(244,114,182,0); }
  100% { box-shadow: 0 12px 30px rgba(244,114,182,.38), 0 0 0 0 rgba(244,114,182,0); }
}
.btn-ghost {
  background: #fff; border-color: var(--line); color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--primary); color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Mobile toggle */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 0; background: transparent; padding: 10px; cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block; height: 2px; margin: 5px 0;
  background: var(--ink); border-radius: 99px;
  transition: .2s;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── Eyebrow ────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding-top: 84px; }

/* Hero marketing photo */
.hero-promo {
  width: min(460px, 100%);
  border-radius: 44px;
  box-shadow: var(--shadow);
  display: block;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 54px;
}
h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6.5vw, 76px);
  line-height: .93; letter-spacing: -0.07em;
}
.hero-text { color: var(--muted); font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }

/* Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin: 34px 0 0;
}
.hero-stats div {
  padding: 18px 16px;
  border: 1px solid var(--line); border-radius: 22px;
  background: rgba(255,255,255,.74);
}
.hero-stats dt {
  font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink);
}
.hero-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

/* Hero visual card */
.hero-card {
  position: relative; min-height: 560px;
  display: grid; place-items: center;
}

/* Floating flower petals */
.flower {
  position: absolute; font-size: 28px;
  color: var(--primary); opacity: .38;
  animation: floatPetal 5s ease-in-out infinite;
  pointer-events: none; user-select: none;
}
.flower-one   { top: 52px;  left: 18px;  animation-duration: 5s;   }
.flower-two   { top: 110px; right: 26px; animation-duration: 6.5s; animation-delay: 1.2s; font-size: 20px; opacity: .3; }
.flower-three { bottom: 160px; left: 32px; animation-duration: 7s; animation-delay: 2.5s; font-size: 16px; opacity: .25; }
@keyframes floatPetal {
  0%, 100% { transform: translateY(0)    rotate(0deg);   }
  50%       { transform: translateY(-14px) rotate(10deg); }
}

/* Portrait container */
.doctor-portrait {
  position: relative;
  width: min(420px, 100%); aspect-ratio: 3.6 / 5;
  border-radius: 48px;
  background: linear-gradient(145deg, #fce7f3 0%, #fdf4ff 55%, #fff5fb 100%);
  box-shadow: var(--shadow); overflow: hidden;
}
.portrait-glow {
  position: absolute; inset: 8% 8% auto; height: 52%; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,114,182,.22), transparent 68%);
}

/* Doctor avatar – real photo */
.doctor-avatar {
  position: absolute;
  inset: 0 0 100px 0;
  overflow: hidden;
  border-radius: 48px 48px 0 0;
}
.doctor-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* Portrait name card */
.portrait-card {
  position: absolute; inset: auto 20px 20px;
  padding: 20px 22px; border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(14px);
  display: grid; gap: 5px;
}
.tooth-icon   { font-size: 52px; line-height: .9; }
.portrait-card strong { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.portrait-card small  { color: var(--muted); font-size: 13px; }

/* Floating info cards */
.floating-card {
  position: absolute; display: flex; gap: 10px; align-items: center;
  padding: 13px 18px; background: #fff; border-radius: 20px;
  box-shadow: 0 14px 40px rgba(244,114,182,.20);
  font-weight: 700; font-size: 13px; white-space: nowrap;
}
.floating-card p { margin: 0; }
.fc-icon { font-size: 18px; }
.card-top    { top: 44px;   left: -80px; }
.card-bottom { bottom: 98px; right: -14px; }

/* ── Audience ───────────────────────────────────────────── */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience-card {
  padding: 44px 38px; border-radius: var(--radius);
  border: 1px solid rgba(252,231,243,.55);
  transition: transform .2s;
}
.audience-card:hover { transform: translateY(-4px); }
.women-card { background: linear-gradient(145deg, #fce7f3, #fff5fb); }
.kids-card  { background: linear-gradient(145deg, #f3e8ff, #fdf4ff); }
.audience-icon { font-size: 42px; display: block; margin-bottom: 18px; }
.audience-card h2 {
  font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.05em; margin-bottom: 14px;
}
.audience-card p { color: var(--muted); line-height: 1.72; margin: 0; }

/* ── Services ───────────────────────────────────────────── */
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 50px); line-height: 1; letter-spacing: -0.055em; }
h3 { margin-bottom: 10px; letter-spacing: -0.03em; }

.section-heading { max-width: 680px; margin-bottom: 40px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.72; }
.section-heading.narrow { max-width: 560px; margin-inline: auto; text-align: center; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid rgba(252,231,243,.45);
  background: rgba(255,255,255,.86);
  min-height: 240px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon { font-size: 30px; margin-bottom: 20px; }
.service-card p { color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.service-card strong { color: var(--primary-dark); font-weight: 800; margin-top: auto; }
.service-card a      { color: var(--primary-dark); font-weight: 800; margin-top: auto; }
.floral-card  { background: linear-gradient(145deg, #fff5fb, #fff); }
.kids-service { background: linear-gradient(145deg, #f5f3ff, #fff); }
.service-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; }
.service-card--wide .service-icon { font-size: 38px; margin-bottom: 0; flex-shrink: 0; }
.service-card--wide p { margin-bottom: 0; }
.wide-card-body { flex: 1; }
.wide-card-body h3 { margin-bottom: 8px; }
.wide-card-btn {
  flex-shrink: 0;
  background: #fff; color: var(--primary-dark) !important;
  font-weight: 800; padding: 0 28px;
  border-radius: 999px; white-space: nowrap;
}
.wide-card-btn { animation: btnPulseWhite 2.2s ease-out infinite; }
.wide-card-btn:hover { background: rgba(255,255,255,.88); transform: translateY(-2px); animation: none; }
@keyframes btnPulseWhite {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  65%  { box-shadow: 0 0 0 13px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.accent-card  {
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--violet));
  border: 0; box-shadow: 0 14px 42px rgba(244,114,182,.38);
}
.accent-card:hover { transform: translateY(-5px); box-shadow: 0 22px 54px rgba(244,114,182,.48); }
.accent-card p, .accent-card a { color: rgba(255,255,255,.88); }

/* ── About ──────────────────────────────────────────────── */
.about { background: rgba(255,255,255,.38); }
.about-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 52px; align-items: center;
}
.about-visual {
  min-height: 440px; padding: 28px;
  display: flex; align-items: flex-end;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fce7f3, #f3e8ff);
  border: 1px solid rgba(252,231,243,.55);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}
.illustration-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: 52px; opacity: .55;
  animation: floatPetal 5s ease-in-out infinite;
}
.certificate-card {
  width: 100%; padding: 26px; border-radius: 22px;
  background: #fff; box-shadow: var(--shadow);
}
.certificate-card span { font-size: 40px; display: block; margin-bottom: 10px; }
.certificate-card p { color: var(--muted); line-height: 1.7; margin: 0; }

.about-copy p { color: var(--muted); font-size: 16px; line-height: 1.72; }
.check-list {
  padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 14px;
}
.check-list li { position: relative; padding-left: 38px; font-weight: 700; line-height: 1.5; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  width: 25px; height: 25px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
}

/* ── Why / Advantages ───────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item {
  padding: 28px 24px; border-radius: var(--radius);
  border: 1px solid rgba(252,231,243,.45);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.why-item:hover { transform: translateY(-4px); }
.why-num { display: block; margin-bottom: 14px; color: var(--primary); font-weight: 800; font-size: 13px; }
.why-item h3 { font-size: 17px; margin-bottom: 10px; }
.why-item p  { color: var(--muted); line-height: 1.65; margin: 0; font-size: 15px; }

/* ── Results ────────────────────────────────────────────── */
.split-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 28px;
}
.split-heading > p {
  max-width: 400px; margin-bottom: 0;
  color: var(--muted); font-size: 15px; line-height: 1.7;
}
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result-card {
  min-height: 250px; padding: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  align-items: flex-end; border-radius: var(--radius);
  border: 1px solid rgba(252,231,243,.35);
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.result-card:hover { transform: translateY(-4px); }
.result-pink   { background: linear-gradient(135deg, #fce7f3 0 50%, #fff5fb 50% 100%); }
.result-yellow { background: linear-gradient(135deg, #fef9c3 0 50%, #fffde7 50% 100%); }
.result-blue   { background: linear-gradient(135deg, #dbeafe 0 50%, #eff6ff 50% 100%); }
.result-card span {
  align-self: flex-start; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.84); color: var(--muted);
  font-weight: 800; font-size: 12px; text-align: center;
}
.result-card p { grid-column: 1 / -1; margin: 0; font-weight: 800; font-size: 15px; }

/* ── Reviews ────────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
blockquote {
  margin: 0; padding: 30px; border-radius: var(--radius);
  font-size: 15px; line-height: 1.72; color: var(--muted);
  border: 1px solid rgba(252,231,243,.45);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
}
blockquote cite {
  display: block; margin-top: 22px;
  color: var(--ink); font-style: normal; font-weight: 800;
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; padding: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(252,231,243,.45);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow); align-items: center;
}
.pricing-intro p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.price-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.price-list li {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list span  { color: var(--muted); font-size: 15px; }
.price-list strong { color: var(--primary-dark); font-weight: 800; white-space: nowrap; }

/* ── Contact ────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 48px; align-items: center;
}
.contact-copy p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.contact-details { display: grid; gap: 12px; margin: 26px 0 30px; font-weight: 700; font-size: 15px; }
.map-card {
  overflow: hidden; min-height: 420px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.map-card iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.12) contrast(1.02); }

/* ── Back to top ────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; font-size: 20px; font-weight: 800;
  border: 0; cursor: pointer;
  box-shadow: 0 8px 24px rgba(244,114,182,.40);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease;
}
.back-to-top.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 12px 32px rgba(244,114,182,.55);
  transform: translateY(-3px);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); }
.footer-content {
  display: flex; justify-content: space-between; gap: 18px;
  color: var(--muted); font-weight: 600; font-size: 14px;
}
.footer-content p { margin: 0; }
.footer-content a { color: var(--primary-dark); }
.footer-content a:hover { text-decoration: underline; }

/* ── Responsive 900px ───────────────────────────────────── */
@media (max-width: 900px) {
  .section-pad { padding: 68px 0; }

  /* Nav */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 20px auto; z-index: 19;
    display: none; flex-direction: column; align-items: stretch;
    padding: 20px; gap: 6px; border-radius: 22px;
    background: #fff; box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 4px; font-size: 16px; }
  .nav-cta { display: none; }

  /* Grids → 1 ustun */
  .hero-grid, .about-grid, .contact-grid, .pricing-card { grid-template-columns: 1fr; }

  /* Hero card — floating kartochkalar ichkariga */
  .hero-card { min-height: auto; }
  .floating-card { position: static; white-space: normal; margin-top: 12px; }
  .card-top, .card-bottom { position: static; }
  .doctor-portrait { margin-inline: auto; }

  /* Gridlar → 2 ustun */
  .audience-grid, .services-grid, .why-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Keng xizmat kartochkasi → ustunga */
  .service-card--wide {
    flex-direction: column; align-items: flex-start; gap: 14px;
  }
  .service-card--wide .service-icon { margin-bottom: 0; }
  .wide-card-btn { width: 100%; text-align: center; justify-content: center; }

  .split-heading { display: block; }
  .split-heading > p { max-width: 100%; margin-top: 14px; }
}

/* ── Responsive 620px ───────────────────────────────────── */
@media (max-width: 620px) {
  html { overflow-x: hidden; }
  .container { width: calc(100% - 28px); }
  .section-pad { padding: 52px 0; }
  .hero { padding-top: 44px; }

  h1 { font-size: 36px; line-height: 1.05; }
  h2 { font-size: 26px; }

  /* Announce bar */
  .announce-bar { font-size: 13px; padding: 10px 16px; }
  .announce-bar a { display: block; margin: 5px 0 0; }

  /* Hero stats — 3 ta kichikroq */
  .hero-stats { gap: 8px; }
  .hero-stats div { padding: 12px 10px; }
  .hero-stats dt { font-size: 22px; }
  .hero-stats dd { font-size: 11px; }

  /* Gridlar → 1 ustun */
  .audience-grid, .services-grid, .why-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-visual { min-height: 280px; }
  .doctor-portrait { border-radius: 32px; width: 100%; }

  /* Contact */
  .contact-details { font-size: 14px; }
  .map-card { min-height: 280px; }
  .map-card iframe { height: 280px; }

  /* Footer */
  .footer-content { flex-direction: column; gap: 8px; text-align: center; }

  /* Back to top — chekkadan uzoqroq */
  .back-to-top { bottom: 18px; right: 16px; width: 42px; height: 42px; font-size: 17px; }
}
