/* Warm & cozy: cream, brown and terracotta, soft rounded shapes. Lora for headings, Nunito for text. */
:root {
  --cream: #FBF4EA;
  --sand: #F4E7D4;
  --paper: #FFFCF7;
  --peach: #F6D7BE;
  --brown: #3B2619;
  --brown-2: #6E5444;
  --line: #E9D8C2;
  --terra: #C2623A;
  --terra-dark: #A14D29;
  --sage: #7E9470;
  --sage-soft: #DCE5D2;
  --wa: #25A35A;
  --radius: 22px;
  --shadow: 0 10px 30px -12px rgba(91, 52, 25, .25);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream); color: var(--brown);
  font: 400 17px/1.6 "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Lora", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--terra); }
p { margin: 0; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Demo ribbon */
.demo-ribbon {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  padding: 7px 16px; background: var(--brown); color: var(--sand);
  font-size: 13px; font-weight: 700; letter-spacing: .02em; text-align: center;
}
.demo-ribbon a { color: var(--peach); text-decoration: none; }
.demo-ribbon a:hover { text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(251, 244, 234, .9); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 20px -14px rgba(59, 38, 25, .45); }
.header-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 23px "Lora", serif; }
.logo svg { width: 28px; height: 30px; fill: var(--terra); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--brown-2); }
.nav a:hover { color: var(--terra); }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--sand); border-radius: 99px; padding: 3px; }
.lang button {
  border: 0; background: none; font: 800 13px "Nunito", sans-serif; color: var(--brown-2);
  padding: 6px 11px; border-radius: 99px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--brown); box-shadow: 0 1px 4px rgba(59, 38, 25, .15); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 99px; padding: 15px 26px; cursor: pointer;
  font: 800 16px "Nunito", sans-serif; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--terra); color: #fff; box-shadow: 0 8px 20px -8px rgba(194, 98, 58, .7); }
.btn-wa:hover { background: var(--terra-dark); }
.btn-ghost { background: transparent; color: var(--brown); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--brown-2); }
.btn-dark { background: var(--brown); color: var(--cream); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.wa-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-sm .wa-ico { width: 17px; height: 17px; }

/* Hero */
.hero { padding: 40px 0 70px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 700; color: var(--brown-2);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #B9A390; }
.status.open .dot { background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 163, 90, .18); }
.hero h1 { font-size: clamp(42px, 6.2vw, 72px); margin: 20px 0 18px; letter-spacing: -.01em; }
.lead { font-size: 19px; color: var(--brown-2); max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 99px; background: var(--sage-soft); color: #44533B; font-size: 14px; font-weight: 700; }
.hero-art { position: relative; }
.hero-art > svg { width: 100%; height: auto; display: block; }
.arch { fill: var(--peach); }
.sun { fill: #F2B98F; }
.leaf { fill: var(--sage); }
.leaf2 { fill: #A6B795; }
.tooth { fill: #FFFDF9; stroke: var(--brown); stroke-width: 3; }
.eye { fill: var(--brown); }
.smile { fill: none; stroke: var(--brown); stroke-width: 3; stroke-linecap: round; }
.blush { fill: #F3A889; opacity: .7; }
.spark { fill: var(--terra); }
.s2 { fill: var(--sage); }
.float-card {
  position: absolute; left: 0; bottom: 28px; display: grid; gap: 2px;
  padding: 14px 18px 14px 50px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); font-size: 14px;
}
.float-card::before {
  content: "Ай"; position: absolute; left: 12px; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--terra); color: #fff; font-size: 12px; font-weight: 800;
}
.float-card strong { font-size: 15px; }
.float-card span { color: var(--brown-2); }

/* Why */
.why { padding: 10px 0 30px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why article { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.why .ico { font-size: 28px; display: block; margin-bottom: 12px; }
.why h3 { font-size: 20px; margin-bottom: 8px; }
.why p { color: var(--brown-2); font-size: 15px; }

/* Sections */
.section { padding: 80px 0; }
.sec-head { max-width: 640px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 46px); margin: 8px 0 12px; }
.sec-head p:not(.eyebrow) { color: var(--brown-2); }
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
  padding: 26px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s;
}
.svc:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.svc-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--sand); flex: none; }
.svc h3 { font-size: 21px; }
.svc > p { color: var(--brown-2); font-size: 15px; margin-bottom: 14px; }
.price-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.price-list li { display: flex; align-items: baseline; gap: 8px; font-size: 15px; }
.price-list .nm { flex: 0 1 auto; }
.price-list .dots { flex: 1 1 16px; border-bottom: 2px dotted var(--line); translate: 0 -4px; min-width: 16px; align-self: flex-start; margin-top: 1.05em; }
.price-list .pr { font-weight: 800; white-space: nowrap; }
.price-list small { display: block; color: var(--brown-2); font-size: 13px; }
.svc .btn { margin-top: auto; align-self: flex-start; }
.svc .btn-book { background: var(--sand); color: var(--brown); padding: 11px 18px; font-size: 14px; }
.svc .btn-book:hover { background: var(--peach); }
.svc.feature { background: var(--brown); color: var(--cream); box-shadow: none; }
.svc.feature > p, .svc.feature small { color: #D9C4B0; }
.svc.feature .svc-ico { background: #5A3D2B; }
.svc.feature .dots { border-color: #6D5141; }
.svc.feature .btn-book { background: var(--terra); color: #fff; }

/* Steps */
.steps-sec { background: var(--sand); border-radius: 40px; width: min(1180px, 100% - 16px); margin-inline: auto; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 26px; }
.steps span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--terra); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--brown-2); font-size: 15px; }

/* Doctors */
.doc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.doc { background: var(--paper); border-radius: var(--radius); padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.avatar {
  width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50% 50% 46% 46%;
  display: grid; place-items: center; font: 700 30px "Lora", serif; color: var(--brown);
}
.doc h3 { font-size: 18px; }
.doc .role { color: var(--terra); font-weight: 800; font-size: 14px; margin: 4px 0 2px; }
.doc .exp { color: var(--brown-2); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.doc .note { color: var(--brown-2); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 30px 19px 0; position: relative;
  font: 600 19px "Lora", serif;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font: 400 26px "Nunito"; color: var(--terra); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 20px; color: var(--brown-2); }

/* Contacts */
.contacts-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-card { background: var(--paper); border-radius: 30px; padding: 36px; box-shadow: inset 0 0 0 1px var(--line); }
.contact-card h2 { font-size: clamp(30px, 4vw, 42px); margin: 8px 0 22px; }
.contact-card dl { margin: 0 0 26px; display: grid; gap: 14px; }
.contact-card dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brown-2); }
.contact-card dd { margin: 2px 0 0; font-weight: 600; }
.contact-card small { color: var(--brown-2); font-weight: 400; }
.map { position: relative; border-radius: 30px; overflow: hidden; min-height: 320px; background: var(--sand); }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-bg { fill: #F1E3CE; }
.m-park { fill: var(--sage-soft); }
.m-road { stroke: #FFFBF4; stroke-width: 12; fill: none; }
.m-road.big { stroke-width: 26; }
.m-label { font: 800 13px "Nunito", sans-serif; fill: var(--brown-2); }
.pin {
  position: absolute; left: 50%; top: 52%; translate: -50% -100%; display: grid; justify-items: center; gap: 6px;
  animation: bob 2.4s ease-in-out infinite;
}
.pin svg { width: 44px; height: 48px; fill: var(--terra); filter: drop-shadow(0 6px 8px rgba(91, 52, 25, .35)); }
.pin span { background: var(--brown); color: var(--cream); padding: 4px 12px; border-radius: 99px; font: 700 14px "Lora", serif; }
@keyframes bob { 50% { translate: -50% calc(-100% - 6px); } }

/* Footer */
.footer { padding: 40px 0 110px; color: var(--brown-2); font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.footer a { color: var(--terra); font-weight: 700; text-decoration: none; }

/* Mobile booking bar */
.mobile-bar { display: none; }

/* WhatsApp dialog */
.wa-dialog {
  width: min(400px, 100% - 32px); padding: 0; border: 0; border-radius: 24px; overflow: hidden;
  background: #EFE6DA; color: var(--brown); box-shadow: 0 30px 60px -20px rgba(40, 24, 14, .5);
}
.wa-dialog::backdrop { background: rgba(40, 24, 14, .45); backdrop-filter: blur(3px); }
.wa-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #1F6E46; color: #fff; }
.wa-top small { display: block; opacity: .8; font-size: 13px; }
.wa-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; font: 700 17px "Lora", serif; flex: none; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; padding: 4px 8px; }
.wa-chat { padding: 18px 14px; display: grid; gap: 10px; min-height: 150px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 15px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s; }
.msg.show { opacity: 1; translate: 0 0; }
.msg.me { justify-self: end; background: #D7F6C6; border-bottom-right-radius: 4px; }
.msg.bot { justify-self: start; background: #fff; border-bottom-left-radius: 4px; }
.msg.typing { color: var(--brown-2); font-style: italic; }
.wa-note { padding: 16px 18px 20px; background: var(--paper); display: grid; gap: 14px; font-size: 14px; color: var(--brown-2); }

/* Reveal on scroll */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .6s, translate .6s; }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .msg { opacity: 1; translate: none; transition: none; }
  .pin { animation: none; }
}

/* Tablet */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-right { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .contacts-in { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-in { height: 62px; gap: 12px; }
  .header .btn-wa { display: none; }
  .hero { padding: 26px 0 40px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .why-grid, .svc-grid, .steps { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid .doc:last-child { grid-column: 1 / -1; }
  .section { padding: 56px 0; }
  .steps-sec { border-radius: 28px; }
  .contact-card { padding: 26px; }
  .contact-card .btn { width: 100%; }
  .map { min-height: 240px; }
  .mobile-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 244, 234, .94); backdrop-filter: blur(8px);
    box-shadow: 0 -8px 20px -14px rgba(59, 38, 25, .5); transition: translate .25s;
  }
  .mobile-bar.hide { translate: 0 110%; }
  .mobile-bar .btn { width: 100%; }
}
.wa-note .btn { font-size: 15px; padding: 14px 18px; }
