/* =========================================================
   tilavov.uz — стили
   ========================================================= */
:root {
  --bg: #F7F9FC;
  --bg-2: #EDF2F9;
  --card: #FFFFFF;
  --ink: #1B2A3A;
  --ink-2: #485869;
  --muted: #7A8796;
  --primary: #2C5F8E;
  --primary-2: #3D7DB8;
  --primary-soft: #DCE9F6;
  --accent: #F0A93E;
  --accent-soft: #FDEFD3;
  --line: rgba(27, 42, 58, .10);
  --shadow: 0 20px 50px -20px rgba(27, 42, 58, .25);
  --shadow-sm: 0 8px 24px -12px rgba(27, 42, 58, .2);
  --radius: 24px;
  --radius-sm: 14px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--primary-2); }
p { margin: 0 0 1em; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(44, 95, 142, .7); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(44, 95, 142, .8); }
.btn-ghost { background: rgba(255,255,255,.6); border-color: var(--line); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn.is-loading .ic { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.header.is-scrolled { background: rgba(247, 249, 252, .82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); --header-h: 66px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700; font-style: italic;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.logo-text small { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: color .25s, background .25s; }
.nav a:not(.btn):hover { color: var(--primary); background: rgba(44, 95, 142, .07); }
.nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.lang button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--muted); transition: .25s; }
.lang button.is-active { background: var(--ink); color: #fff; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(247, 249, 252, .97); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s, transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-size: 1.3rem; font-family: var(--serif); font-weight: 600; color: var(--ink); }
  .nav .nav-cta { display: inline-flex; margin-top: 16px; }
}
@media (max-width: 420px) { .logo-text small { display: none; } .lang button { padding: 5px 7px; } }
@media (max-width: 360px) { .header-inner { gap: 10px; } .header-actions { gap: 6px; } .logo { gap: 8px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 50px) 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding-bottom: 70px; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: float 18s ease-in-out infinite; }
.blob-1 { width: 520px; height: 520px; background: var(--accent-soft); top: -120px; right: -100px; }
.blob-2 { width: 420px; height: 420px; background: var(--primary-soft); bottom: 0; left: -160px; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.eyebrow-light { color: var(--accent); }

.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 22px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 540px; margin-bottom: 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }

.stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--primary); }
.stats li > span { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.hero-visual { position: relative; justify-self: center; width: min(460px, 100%); }
.care-card {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 40% 40% 32px 32px / 32% 32% 32px 32px;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--primary-soft) 100%);
  box-shadow: var(--shadow); overflow: hidden; border: 6px solid #fff;
}
.bear { position: absolute; left: 9%; bottom: -1%; width: 82%; height: auto; }
.bear-wave, .bear-eye, .bear-heart { transform-box: fill-box; }
.bear-wave { transform-origin: 50% 85%; animation: wave 4s ease-in-out infinite; }
.bear-eye { transform-origin: center; animation: blink 5s infinite; }
.bear-heart { transform-origin: center; animation: beat 1.4s ease-in-out infinite; }
@keyframes wave { 0%, 55%, 100% { transform: rotate(0deg); } 65% { transform: rotate(-18deg); } 75% { transform: rotate(4deg); } 85% { transform: rotate(-14deg); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.2); } 28% { transform: scale(1); } 42% { transform: scale(1.12); } }
.care-pulse { position: absolute; left: 4%; top: 17%; width: 92%; height: 18%; opacity: .55; }
.care-pulse path { fill: none; stroke: var(--primary-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 360; vector-effect: non-scaling-stroke; animation: pulse-line 3s linear infinite; }
@keyframes pulse-line { from { stroke-dashoffset: 360; } to { stroke-dashoffset: -360; } }
.care-chip {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; color: var(--primary);
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm);
}
.care-chip .ic { width: 1.05em; height: 1.05em; color: #E5736A; fill: #E5736A; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .9rem; line-height: 1.2; }
.float-card small { font-size: .76rem; color: var(--muted); }
.fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: #B8761A; }
.fc-icon-alt { background: var(--primary-soft); color: var(--primary); }
.fc-1 { left: -50px; top: 26%; }
.fc-2 { right: -40px; bottom: 16%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.5); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-size: 1.7rem; font-style: italic; font-weight: 600; color: var(--ink-2); }
.marquee i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { width: min(400px, 86%); }
  .fc-1 { left: -30px; }
  .fc-2 { right: -26px; }
}
@media (max-width: 520px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .stats { gap: 22px; }
  .stats strong { font-size: 2rem; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; }
  .float-card small { display: none; }
  .fc-icon { width: 32px; height: 32px; }
  .fc-1 { left: -14px; top: 30%; }
  .fc-2 { right: -14px; }
  .hero-buttons .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-tint { background: var(--bg-2); }
.section-dark { background: var(--ink); color: #E8EEF5; }
.section-dark h2 em { color: var(--accent); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-2); margin: 0; }
.section-head-left { text-align: left; margin: 0; }
@media (max-width: 700px) { .section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.about-photo { position: relative; }
.photo-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--accent-soft), var(--primary-soft)); box-shadow: var(--shadow);
}
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.photo-placeholder span { font-family: var(--serif); font-style: italic; font-size: 10rem; color: rgba(255,255,255,.8); }
.badge-exp {
  position: absolute; right: -24px; bottom: 40px; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 16px 20px; border-radius: 20px; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite;
}
.badge-exp strong { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--primary); }
.badge-exp span { font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
.about-copy h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 20px; }
.about-copy > p { color: var(--ink-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.about-item { display: flex; gap: 14px; padding: 18px; background: var(--card); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.about-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.about-item strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.about-item p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.5; }
.ai-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about-photo { width: min(380px, 90%); justify-self: center; }
  .badge-exp { right: -16px; }
}
@media (max-width: 560px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .5s, transform .6s var(--ease); transform: scale(.6);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { opacity: 1; transform: scale(1); }
.srv-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 20px; transition: transform .5s var(--ease), background .4s, color .4s; }
.srv-icon .ic { width: 26px; height: 26px; }
.service:hover .srv-icon { transform: rotate(-8deg) scale(1.06); background: var(--primary); color: #fff; }
.service h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; position: relative; }
.service p { font-size: .9rem; color: var(--ink-2); flex: 1; position: relative; }
.srv-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); position: relative; font-weight: 800; font-size: .9rem; color: var(--primary); }
.srv-link { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: .35s var(--ease); }
.service:hover .srv-link { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
.srv-group {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600; font-style: italic; color: var(--ink);
}
.srv-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.services + .srv-group { margin-top: 52px; }
.services-3 { grid-template-columns: repeat(3, 1fr); }
.service-feat { padding: 32px 28px 24px; }
.service-feat h3 { font-size: 1.25rem; }
.service-cta { background: var(--primary); border-color: var(--primary); color: #fff; }
.service-cta p { color: rgba(255,255,255,.78); }
.service-cta .srv-icon { background: rgba(255,255,255,.14); color: #fff; }
.service-cta .srv-foot { color: #fff; border-top-color: rgba(255,255,255,.25); }
.service-cta .srv-link { border-color: rgba(255,255,255,.35); }
.service-cta::before { background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.service-cta:hover .srv-icon { background: #fff; color: var(--primary); }
.service-cta:hover .srv-link { transform: none; }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } .services-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .services-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .4s, transform .4s var(--ease); }
.step:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); }
.step-n { display: block; font-family: var(--serif); font-size: 3rem; font-style: italic; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; color: #fff; }
.step p { margin: 0; font-size: .92rem; color: rgba(232, 238, 245, .72); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -20px; width: 20px; height: 1px; background: rgba(255,255,255,.25); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Two column + forms ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.col-copy h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 18px; }
.col-copy > p { color: var(--ink-2); }
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-rev .col-copy { order: -1; }
}

.checklist { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist strong { display: block; font-size: 1rem; }
.checklist span:not(.cl-icon) { font-size: .9rem; color: var(--muted); }
.cl-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: #B9574A; }

.price-box { display: inline-flex; flex-direction: column; padding: 18px 24px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.price-box span { font-size: .85rem; color: var(--muted); }
.price-box strong { font-family: var(--serif); font-size: 2rem; color: var(--primary); line-height: 1.1; }

.card { background: var(--card); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 560px) { .card { padding: 24px 18px; border-radius: 22px; } }
.form { display: grid; gap: 16px; }
.form-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: .82rem; font-weight: 700; color: var(--ink-2); padding: 0; margin-bottom: 6px; }
fieldset.field legend { margin-bottom: 8px; }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23485869' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(61, 125, 184, .12); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select,
.field.is-invalid input:focus, .field.is-invalid textarea:focus, .field.is-invalid select:focus { border-color: #D2564C; background: #FFF6F4; box-shadow: 0 0 0 4px rgba(210, 86, 76, .12); }
.hint { font-size: .8rem; color: #C2574B; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.upload {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px;
  border: 1.5px dashed rgba(44, 95, 142, .35); border-radius: 14px; background: var(--bg); color: var(--primary);
  font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .25s, border-color .25s;
}
.upload:hover { background: var(--primary-soft); border-color: var(--primary); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumb { position: relative; width: 74px; height: 74px; border-radius: 12px; overflow: hidden; animation: pop .35s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; padding: 0; }
.thumb button .ic { width: 14px; height: 14px; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--bg); border: 1.5px solid transparent; font-size: .88rem; font-weight: 700; cursor: pointer; transition: .25s; }
.chip span b { font-weight: inherit; }
.chip input:checked + span { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: block; text-align: center; padding: 9px 4px; border-radius: 10px; background: var(--bg); font-size: .88rem; font-weight: 700; cursor: pointer; border: 1.5px solid transparent; transition: .2s; }
.slot span:hover { border-color: var(--primary-2); }
.slot input:checked + span { background: var(--primary); color: #fff; }
.slot input:disabled + span { opacity: .35; text-decoration: line-through; pointer-events: none; }
.slot input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.consent.is-invalid { color: #C2574B; }

.info-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--card); color: var(--primary); box-shadow: var(--shadow-sm); }
.info-list strong, .info-list a { display: block; font-weight: 800; }
.info-list a:hover { color: var(--primary); }
.info-list span { font-size: .88rem; color: var(--muted); }
.prep { padding: 22px; border-radius: var(--radius-sm); background: rgba(240, 169, 62, .14); border-left: 4px solid var(--accent); }
.prep strong { display: block; margin-bottom: 6px; }
.prep p { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.review .stars { color: #E7A33E; letter-spacing: 2px; }
.review p { margin: 0; color: var(--ink-2); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.review small { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap .section-head h2 { margin-bottom: 14px; }
.faq-wrap .section-head p { margin-bottom: 24px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 18px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%232C5F8E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--accent-soft); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--ink-2); animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contacts-card { padding: 40px; border-radius: 28px; background: var(--bg-2); }
.contacts-card h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--primary); box-shadow: var(--shadow-sm); transition: .3s var(--ease); }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.map { border-radius: 28px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow-sm); background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.8); }
@media (max-width: 900px) { .contacts { grid-template-columns: 1fr; } .contacts-card { padding: 28px 22px; } .map, .map iframe { min-height: 320px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(232, 238, 245, .75); padding: 60px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text small { color: rgba(232, 238, 245, .55); display: block; }
.disclaimer { max-width: 460px; font-size: .85rem; margin-top: 18px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .82rem; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #2AABEE; box-shadow: 0 12px 28px -8px rgba(42, 171, 238, .7);
  transform: scale(0); transition: transform .45s var(--ease);
}
.fab.is-visible { transform: scale(1); }
.fab .ic { width: 26px; height: 26px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2AABEE; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Dialog ---------- */
.dialog { border: 0; padding: 40px 32px 32px; border-radius: 28px; width: min(440px, calc(100% - 32px)); text-align: center; box-shadow: var(--shadow); color: var(--ink); }
.dialog::backdrop { background: rgba(27, 42, 58, .45); backdrop-filter: blur(4px); }
.dialog[open] { animation: pop .4s var(--ease); }
.dialog h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.dialog p { color: var(--ink-2); }
.dialog-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.dialog-icon .ic { width: 34px; height: 34px; stroke-width: 2.2; }
.dialog-icon.is-error { background: var(--accent-soft); color: #C2574B; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; color: var(--ink-2); }
.dialog-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
