/* Lara Diş — медицинская эстетика: чистый светлый, тёплый миндаль + акцент-бирюза,
   спокойный editorial. Cormorant + Manrope. Без AI-шаблонов: асимметрия, лента услуг. */
:root {
  --paper: #f7f4ee;
  --paper2: #efe9e0;
  --ink: #1d2b2e;
  --ink-m: #5a6a6d;
  --teal: #2e7d74;
  --teal2: #3d968c;
  --line: rgba(29, 43, 46, .12);
  --r: 12px;

  --ff-d: "Cormorant Garamond", Georgia, serif;
  --ff-t: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-t); font-size: 16px; line-height: 1.6; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, 92vw); margin: 0 auto; }
::selection { background: var(--teal); color: #fff; }

.h2 { font-family: var(--ff-d); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; color: var(--ink); }
.lead { color: var(--ink-m); font-size: 16px; max-width: 520px; }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: #e8ede8; font-size: 12px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar__addr { color: #b8c4c1; }
.topbar__tel { font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.lang { display: flex; gap: 2px; }
.lang__btn { padding: 4px 9px; font-size: 11px; font-weight: 800; color: #b8c4c1; background: none; border: none; cursor: pointer; border-radius: 5px; }
.lang__btn.is-active { color: #fff; background: rgba(255,255,255,.14); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px max(24px, 4vw); background: rgba(247,244,238,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__logo { font-family: var(--ff-d); font-size: 27px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.nav__logo2 { color: var(--teal); }
.nav__links { display: flex; gap: 26px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.nav__links a { color: var(--ink-m); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0; background: var(--teal); transition: width .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; font-family: var(--ff-t); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; background: var(--teal); color: #fff; border: none; cursor: pointer; transition: background .25s; white-space: nowrap; }
.btn:hover { background: var(--teal2); }
.btn--ghost { background: none; border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: none; }
.btn--small { padding: 9px 18px; font-size: 11.5px; }
.btn--full { width: 100%; }

.nav__burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s, top .3s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 25px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__mobile { position: fixed; inset: 0; z-index: 99; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav__mobile.is-open { opacity: 1; pointer-events: auto; }
.nav__mobile a { font-family: var(--ff-d); font-size: 27px; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-family: var(--ff-d); font-weight: 500; font-size: clamp(52px, 7vw, 86px); line-height: .96; color: var(--ink); margin-bottom: 20px; }
.hero__title span { color: var(--teal); }
.hero__lead { color: var(--ink-m); font-size: 17px; max-width: 440px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { margin-top: 22px; font-size: 13px; color: var(--ink-m); padding-left: 14px; border-left: 2px solid var(--teal); max-width: 400px; }
.hero__photo { border-radius: var(--r); overflow: hidden; position: relative; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.hero__photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(29,43,46,.08); border-radius: var(--r); pointer-events: none; }

/* ---------- services: асимметричная композиция 60/40 ---------- */
.services { padding: 80px 0 96px; background: var(--paper2); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head .lead { margin-top: 12px; }

.services__layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }

.srv { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.srv h3 { font-family: var(--ff-d); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.05; }
.srv__sub { display: block; font-family: var(--ff-t); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-top: 6px; }
.srv p { color: var(--ink-m); font-size: 14px; }
.srv__list { list-style: none; margin-top: 4px; }
.srv__list li { padding: 8px 0 8px 20px; border-bottom: 1px dashed var(--line); font-size: 14px; position: relative; }
.srv__list li::before { content: "—"; position: absolute; left: 0; color: var(--teal); }
.srv__link { margin-top: auto; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); padding-top: 12px; }
.srv__link:hover { color: var(--teal2); }

.srv--wide { flex-direction: row; align-items: stretch; padding: 0; overflow: hidden; }
.srv--wide .srv__txt { padding: 26px; flex: 1; }
.srv__photo { flex: 0 0 42%; min-height: 280px; }
.srv__photo img { width: 100%; height: 100%; object-fit: cover; }

.services__col-b { display: flex; flex-direction: column; gap: 14px; }

/* ---------- doctors ---------- */
.doctors { padding: 88px 0; }
.doctors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; background: var(--paper2); border-radius: var(--r); padding: 22px; }
.doc--rev { grid-template-columns: 1fr 200px; }
.doc--rev .doc__photo { order: 2; }
.doc__photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 10px; }
.doc__txt h3 { font-family: var(--ff-d); font-size: 23px; font-weight: 600; margin-bottom: 8px; }
.doc__txt p { color: var(--ink-m); font-size: 14px; }

/* ---------- clinic ---------- */
.clinic { padding: 0 0 96px; }
.clinic__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
.clinic__ph { overflow: hidden; border-radius: 10px; }
.clinic__ph img { width: 100%; height: 100%; object-fit: cover; }
.clinic__ph--wide { grid-column: 1 / -1; grid-row: span 1; }
.clinic__ph img { object-position: 50% 45%; }

/* ---------- booking ---------- */
.booking { padding: 88px 0; background: var(--ink); color: var(--paper); }
.booking .h2 { color: var(--paper); }
.booking .lead { color: #b8c4c1; }
.booking__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.booking__phones { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.booking__phones a { font-family: var(--ff-d); font-size: clamp(24px, 3vw, 34px); color: var(--teal2); }
.booking__phones a:hover { color: #fff; }

.form { display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b8c4c1; }
.form input, .form select { font-family: var(--ff-t); font-size: 15px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 12px 14px; outline: none; transition: border-color .2s; }
.form input:focus, .form select:focus { border-color: var(--teal2); }
.form select option { color: var(--ink); }
.form__hint { font-size: 12px; color: #8fa19d; }
.form__done { padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(61,150,140,.5); background: rgba(46,125,116,.15); color: #a8ded6; font-size: 13px; }

/* ---------- faq ---------- */
.faq { padding: 80px 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: none; cursor: pointer; font-family: var(--ff-d); font-size: 21px; text-align: left; color: var(--ink); }
.faq__q:hover { color: var(--teal); }
.faq__q i { font-style: normal; font-size: 24px; color: var(--teal); transition: transform .3s var(--ease); flex: none; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 40px 20px 0; color: var(--ink-m); max-width: 560px; }

/* ---------- contact ---------- */
.contact { padding: 0 0 96px; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: stretch; }
.vinfo { background: var(--paper2); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.vinfo__label { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.vinfo__val { font-size: 15.5px; line-height: 1.55; }
.vinfo__val a:hover { color: var(--teal); }
.vinfo__map { align-self: flex-start; margin-top: 6px; }
.vmap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.vmap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: saturate(.85); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 22px 0; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-m); }
.footer__brand { font-family: var(--ff-d); font-size: 21px; font-weight: 600; color: var(--ink); }
.footer__brand span { color: var(--teal); }
.footer__tel { font-weight: 700; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav__burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo img { aspect-ratio: 4/3; }
  .services__layout { grid-template-columns: 1fr; }
  .srv--wide { flex-direction: column; }
  .srv__photo { min-height: 220px; flex: none; }
  .doctors__grid { grid-template-columns: 1fr; }
  .booking__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .clinic__grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar__addr { display: none; }
  .hero { padding: 40px 0 60px; }
  .hero__title { font-size: clamp(44px, 13vw, 60px); }
  .doc, .doc--rev { grid-template-columns: 1fr; padding: 16px; }
  .doc--rev .doc__photo { order: 0; }
  .doc__photo img { aspect-ratio: 4/3; }
  .clinic__grid { grid-auto-rows: 160px; }
  .booking { padding: 60px 0; }
  .booking__phones a { font-size: 22px; }
  .faq__q { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
