/* ===== ГОРОД МАСТЕР — современный адаптивный стиль ===== */
:root {
  --blue: #1f5eff;
  --blue-dark: #1849c6;
  --blue-soft: #eef4ff;
  --ink: #162033;
  --muted: #5b6b82;
  --line: #e3eaf5;
  --bg-soft: #f4f8ff;
  --white: #ffffff;
  --green: #10b981;
  --amber: #f59e0b;
  --violet: #8b5cf6;
  --red: #ef4444;
  --cyan: #06b6d4;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(17,43,104,.06);
  --shadow-md: 0 14px 40px rgba(17,43,104,.10);
  --shadow-lg: 0 24px 60px rgba(17,43,104,.16);
  --font-main: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Unbounded', 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: 1rem; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.hidden { display: none !important; }
.required-mark { color: var(--red); }
.booking-consent { color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: 14px; }
.social-check { display: flex; align-items: flex-start; gap: 11px; margin-top: 22px; padding: 14px 16px; border: 1px solid #e5d4ff; border-radius: var(--radius-sm); background: #faf7ff; cursor: pointer; }
.social-check input { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; accent-color: #8b5cf6; }
.social-check span { display: flex; flex-direction: column; gap: 3px; font-size: .86rem; line-height: 1.35; }
.social-check b { color: #6d28d9; }
.social-check small { color: var(--muted); font-size: .76rem; }
.consent-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.consent-item { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .83rem; line-height: 1.5; cursor: pointer; }
.consent-item input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; accent-color: var(--blue); }
.consent-item a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.consent-item b { color: var(--red); }
.legal-section { padding-top: 42px; }
.legal-doc { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 52px); box-shadow: var(--shadow-sm); }
.legal-doc h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p, .legal-doc li { color: #334155; font-size: .95rem; }
.legal-doc ul { padding-left: 22px; margin-bottom: 14px; }
.legal-updated { color: var(--muted) !important; font-size: .82rem !important; margin-bottom: 22px; }
.legal-requisites { margin-top: 26px; padding: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); color: #334155; font-size: .9rem; line-height: 1.7; }
.chat-fab { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 30px; background: var(--blue); color: #fff; font-weight: 800; box-shadow: 0 12px 28px rgba(31,94,255,.35); }
.chat-fab:hover { transform: translateY(-2px); }.chat-fab-icon { font-size: 1.1rem; }.chat-fab-dot, .chat-online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.14); }
.chat-panel { position: fixed; z-index: 91; right: 22px; bottom: 82px; width: min(380px, calc(100vw - 28px)); height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 22px 70px rgba(15,35,80,.25); overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(12px) scale(.98); transition: all .22s ease; }.chat-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.chat-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 17px 18px; color: #fff; background: linear-gradient(135deg, #172554, var(--blue)); }.chat-panel-head b, .chat-panel-head small { display: block; }.chat-panel-head small { color: #dbeafe; font-size: .75rem; margin-top: 3px; }.chat-online-dot { display: inline-block; margin-right: 7px; width: 6px; height: 6px; }.chat-panel-head button { color: #fff; font-size: 1.7rem; line-height: 1; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; background: #f7faff; display: flex; flex-direction: column; gap: 9px; }.chat-empty { color: var(--muted); font-size: .86rem; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px; }.chat-msg { max-width: 84%; padding: 10px 12px; border-radius: 14px; font-size: .88rem; line-height: 1.4; white-space: pre-wrap; }.chat-msg.visitor { align-self: flex-end; color: #fff; background: var(--blue); border-bottom-right-radius: 5px; }.chat-msg.admin { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat-start-form, .chat-reply-form { padding: 13px; background: #fff; border-top: 1px solid var(--line); }.chat-start-form p { color: var(--muted); font-size: .8rem; margin-bottom: 8px; }.chat-start-form input, .chat-start-form textarea, .chat-reply-form textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; resize: none; }.chat-start-form label { display: flex; gap: 6px; color: var(--muted); font-size: .7rem; line-height: 1.35; margin: 2px 0 8px; }.chat-start-form label input { width: auto; margin: 2px 0 0; }.chat-start-form a { color: var(--blue); }.chat-error { color: var(--red); font-size: .75rem; margin-top: 6px; min-height: 16px; }.chat-reply-form { display: flex; gap: 8px; align-items: flex-end; }.chat-reply-form textarea { margin: 0; }.chat-reply-form .btn { padding: 12px; }
.analytics-consent { position: fixed; z-index: 80; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow-lg); }.analytics-consent[hidden] { display: none; }.analytics-consent strong { font-size: .9rem; }.analytics-consent p { color: var(--muted); font-size: .76rem; margin-top: 3px; }.analytics-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.service-svg { width: 28px; height: 28px; color: var(--blue); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; font-weight: 700; font-size: 1rem;
  line-height: 1; transition: all .25s cubic-bezier(.4,0,.2,1); white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; border-radius: 16px; }
.btn-sm { padding: 11px 18px; font-size: .92rem; border-radius: 11px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: 0 10px 26px rgba(31,94,255,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31,94,255,.42); }
.btn-ghost { background: var(--blue-soft); color: var(--blue); }
.btn-ghost:hover { background: #e0ecff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-light-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- Топ-бар ---------- */
.top-bar { background: var(--ink); color: #cfd8e6; font-size: .82rem; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.tb-pill { background: rgba(255,255,255,.1); padding: 3px 12px; border-radius: 20px; color: #fff; font-weight: 600; }
.tb-phone { color: #fff; font-weight: 700; }
.tb-phone:hover { color: var(--blue-soft); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.parent-logo { width: 118px; height: 46px; object-fit: contain; object-position: center; flex: 0 0 118px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), #4f7dff);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(31,94,255,.3);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-initials { font-family: var(--font-display); font-size: .82rem; font-weight: 800; letter-spacing: -.08em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text em { font-style: normal; font-size: .72rem; color: var(--muted); font-weight: 600; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { padding: 9px 15px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: all .2s; }
.main-nav a:hover { background: var(--blue-soft); color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-location { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .84rem; font-weight: 700; padding-right: 7px; }
.location-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #eaf1ff 0%, #f4f8ff 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 420px; height: 420px; background: #c9dbff; top: -120px; right: -80px; }
.orb-2 { width: 340px; height: 340px; background: #d6ecff; bottom: -100px; left: -60px; }
.orb-3 { width: 200px; height: 200px; background: #e4d9ff; top: 40%; left: 45%; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 40px; align-items: center; padding: 64px 0 110px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 30px; font-size: .86rem; font-weight: 700; color: var(--blue-dark);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(16,185,129,.18);} 50% { box-shadow: 0 0 0 7px rgba(16,185,129,.05);} }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px;
}
.grad-text { background: linear-gradient(120deg, var(--blue), #7b5cff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 30px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm); }
.trust-ico { font-size: 1.05rem; }

/* Hero visual */
.hero-visual { position: relative; }
.master-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px; border: 1px solid var(--line); position: relative; z-index: 2;
}
.master-card-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.master-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-soft), #e2ebff);
  display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0;
}
.master-avatar svg { width: 28px; height: 28px; }
.master-info { flex: 1; }
.master-info strong { display: block; font-size: 1.02rem; }
.master-info span { font-size: .82rem; color: var(--muted); }
.master-rating { background: #fff7e6; color: #b45309; font-weight: 700; padding: 6px 12px; border-radius: 10px; font-size: .9rem; }
.master-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px 0; }
.mstat { text-align: center; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px 6px; }
.mstat strong { display: block; font-size: 1.2rem; color: var(--blue); }
.mstat span { font-size: .76rem; color: var(--muted); font-weight: 600; }
.master-now { display: flex; align-items: center; gap: 10px; background: #f0fdf6; border: 1px solid #c9f0e0; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; color: #065f46; }
.now-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.float-chip {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line);
}
.float-chip strong { display: block; font-size: .88rem; }
.float-chip span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.chip-ico { font-size: 1.4rem; }
.chip-1 { top: -18px; left: -30px; animation: floaty 5s ease-in-out infinite; }
.chip-2 { bottom: -16px; right: -20px; animation: floaty 6s ease-in-out 1s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* Быстрая запись сразу под шапкой */
.quick-booking { background: #f4f8ff; padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.quick-booking-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.quick-booking-head .section-tag { margin-bottom: 10px; }
.quick-booking-head h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 1.9rem); line-height: 1.25; margin-bottom: 7px; }
.quick-booking-head p { color: var(--muted); }
.quick-booking-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.quick-booking-hint span { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; }
.quick-booking-hint i { color: #a5b4cf; font-style: normal; }
.quick-booking-card { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.quick-service { padding: 8px 0; }
.quick-service label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 9px; }
.quick-service select { width: 100%; padding: 14px 38px 14px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.quick-service select:focus { outline: none; border-color: var(--blue); }
.service-select { position: relative; }
.service-select-trigger { width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 13px; text-align: left; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.service-select-trigger:hover, .service-select.open .service-select-trigger { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.08); }
.select-trigger-icon { width: 34px; height: 34px; flex: 0 0 34px; display: flex; align-items: center; justify-content: center; color: var(--blue); background: var(--blue-soft); border-radius: 10px; }
.select-trigger-icon .service-svg { width: 19px; height: 19px; }
.select-trigger-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; line-height: 1.25; }
.select-trigger-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; }
.select-trigger-copy small { color: var(--muted); font-size: .72rem; margin-top: 2px; }
.select-chevron { color: var(--blue); font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.service-select.open .select-chevron { transform: rotate(180deg); }
.service-select-menu { display: none; position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; max-height: 330px; overflow-y: auto; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 45px rgba(17,43,104,.18); }
.service-select.open .service-select-menu { display: block; animation: selectIn .18s ease-out; }
@keyframes selectIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.service-option { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 11px; color: var(--ink); text-align: left; transition: background .15s; }
.service-option:hover, .service-option.selected { background: var(--blue-soft); }
.service-option-icon { width: 31px; height: 31px; flex: 0 0 31px; display: flex; align-items: center; justify-content: center; color: var(--blue); background: #f5f8ff; border-radius: 9px; }
.service-option-icon .service-svg { width: 17px; height: 17px; }
.service-option-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.service-option-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
.service-option-copy small { color: var(--muted); font-size: .68rem; margin-top: 3px; }
.service-option-price { color: var(--blue); white-space: nowrap; font-size: .72rem; font-weight: 800; }
.quick-service input[type="hidden"] { display: none; }
.quick-service-note { color: var(--muted); font-size: .78rem; line-height: 1.45; margin-top: 12px; }
.quick-calendar-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 24px; align-items: start; }
.quick-calendar { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; }
.quick-slots { padding: 8px 0; }
.quick-slots-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.quick-slots-sub { color: var(--muted); font-size: .82rem; margin-bottom: 16px; }
.quick-slots .btn { margin-top: 20px; }
.quick-loading { grid-column: 1 / -1; padding: 44px 10px; text-align: center; color: var(--muted); font-size: .9rem; }
.is-disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-tag {
  display: inline-block; background: var(--blue-soft); color: var(--blue); font-weight: 700;
  font-size: .82rem; padding: 6px 16px; border-radius: 30px; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 12px; }
.section-lead { color: var(--muted); font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 40px; }

/* Услуги */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; transition: all .3s cubic-bezier(.4,0,.2,1);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9d9ff; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 18px; background: color-mix(in srgb, var(--sc, #1f5eff) 12%, #fff);
}
.service-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.service-card p { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 18px; }
.service-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--line); }
.service-price { font-weight: 800; color: var(--blue); font-size: 1.02rem; }
.service-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all .25s; }
.service-card:hover .service-arrow { background: var(--blue); color: #fff; }

/* Социальная поддержка и полезные решения */
.support-section { padding: 28px 0 42px; background: #fff; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.support-card, .school-card { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); overflow: hidden; }
.support-card-main { color: #fff; background: linear-gradient(135deg, #172554, #1f5eff); box-shadow: 0 20px 45px rgba(31,94,255,.2); }
.support-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.support-icon { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.support-label { color: #c7d2fe; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.support-card h2, .school-card h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.support-card p { color: #e0e7ff; max-width: 500px; }
.support-card p strong { color: #fff; font-size: 1.35rem; }
.support-note { margin: 18px 0 22px; padding: 11px 14px; background: rgba(255,255,255,.1); border-radius: 10px; color: #dbeafe; font-size: .8rem; }
.support-link { color: #fff; font-weight: 800; display: inline-flex; gap: 10px; align-items: center; }
.support-link span { transition: transform .2s; }
.support-link:hover span { transform: translateX(4px); }
.school-card { display: flex; align-items: center; gap: 24px; background: #fffaf0; border-color: #fde7b0; }
.school-card .section-tag { margin-bottom: 8px; background: #fff1c7; color: #9a6700; font-size: .72rem; }
.school-card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.school-art { width: 120px; height: 150px; position: relative; flex: 0 0 120px; border-radius: 25px; background: linear-gradient(155deg, #f59e0b, #fb7185); transform: rotate(-5deg); box-shadow: 0 16px 30px rgba(245,158,11,.25); }
.school-art-screen { position: absolute; left: 19px; top: 23px; width: 82px; height: 64px; border: 5px solid #172554; border-radius: 8px; background: linear-gradient(135deg, #93c5fd, #dbeafe); }
.school-art-screen::after { content: ''; position: absolute; left: 23px; bottom: -18px; width: 29px; height: 12px; background: #172554; border-radius: 0 0 5px 5px; }
.school-art-pencil { position: absolute; bottom: 20px; right: 20px; color: #fff; font-size: 1.5rem; }

/* Отзывы */
.reviews-section { background: var(--bg-soft); }
.reviews-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.reviews-copy .section-title { text-align: left; }
.reviews-copy .section-lead { margin-bottom: 22px; }
.review-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-quote { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.review-quote-accent { background: #172554; color: #fff; border-color: #172554; transform: translateY(20px); }
.review-stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 14px; }
.review-quote p { font-size: .93rem; line-height: 1.55; margin-bottom: 18px; }
.review-quote span { color: var(--muted); font-size: .76rem; font-weight: 700; }
.review-quote-accent span { color: #a5b4fc; }

/* Шаги */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 22px; border: 1px solid var(--line);
  position: relative; transition: all .3s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  position: absolute; top: 18px; right: 20px; font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: var(--blue-soft);
}
.step-ico { font-size: 2rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .9rem; }

/* Цены */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px; transition: all .3s;
}
.price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c9d9ff; }
.price-name { font-weight: 700; font-size: .98rem; margin-bottom: 8px; }
.price-amount { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 1.3rem; margin-bottom: 6px; }
.price-meta { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.price-link { color: var(--blue); font-weight: 700; font-size: .9rem; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* CTA баннер */
.cta-banner { background: linear-gradient(135deg, var(--blue) 0%, #4f2bff 100%); padding: 64px 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); top: -120px; right: -60px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 2; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Каталог услуг (uslugi.php) ---------- */
.page-hero { background: linear-gradient(180deg, #eaf1ff, #f4f8ff); padding: 52px 0 0; }
.page-hero-compact { padding-bottom: 0; }
.page-hero-inner { max-width: 800px; padding-bottom: 44px; }
.page-hero-inner h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.page-hero-inner p { color: var(--muted); font-size: 1.08rem; }
.catalog-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat-btn { padding: 10px 20px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink); transition: all .2s; }
.cat-btn:hover { border-color: var(--blue); color: var(--blue); }
.cat-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.cat-block { margin-bottom: 40px; }
.cat-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 16px; }
.service-row {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px;
  transition: all .3s;
}
.service-row:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #c9d9ff; }
.service-row-ico {
  width: 60px; height: 60px; border-radius: 16px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.service-row-body h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 4px; }
.service-row-body p { color: var(--muted); font-size: .92rem; }
.service-row-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.service-row-side { text-align: right; }
.service-row-btns { display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end; }
.price-range { font-size: .84rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 700; font-size: 1rem; text-align: left; color: var(--ink); }
.faq-chev { color: var(--blue); transition: transform .3s; font-size: 1.2rem; }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--muted); font-size: .95rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- Страница услуги ---------- */
.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--blue); }
.service-detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; padding-bottom: 44px; }
.service-big-icon {
  width: 72px; height: 72px; border-radius: 20px; background: color-mix(in srgb, var(--sc) 12%, #fff);
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin-bottom: 18px;
}
.service-detail-copy h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.service-detail-copy .lead { color: var(--muted); font-size: 1.08rem; }
.service-detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.service-detail-meta span { background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 30px; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-sm); }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); position: sticky; top: 90px; }
.book-card-head { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.book-card-price { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 1.6rem; margin-bottom: 16px; }
.book-card-points { list-style: none; margin-bottom: 20px; }
.book-card-points li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .95rem; }
.book-card-points li::before { content: '✓'; color: var(--green); font-weight: 800; }
.book-card .btn-block { margin-bottom: 10px; }
.service-content .service-text { max-width: 860px; }
.service-text h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.service-text h3 { font-size: 1.15rem; font-weight: 800; margin: 26px 0 10px; }
.service-long { color: #334; margin-bottom: 20px; }
.how-list, .check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.how-list li { padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .95rem; }
.how-list b { color: var(--blue); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 800; margin-top: 2px; }

/* ---------- Бронирование ---------- */
.booking-section { padding-top: 40px; }
.booking-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.booking-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.booking-steps::after { content: 'Все поля с * обязательны'; display: block; width: 100%; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.bstep { display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 30px; background: var(--bg-soft); font-weight: 700; font-size: .88rem; color: var(--muted); }
.bstep span { width: 24px; height: 24px; border-radius: 50%; background: #d4def1; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; }
.bstep.active { background: var(--blue); color: #fff; }
.bstep.active span { background: rgba(255,255,255,.25); }
.bstep.done { background: #e7fbf1; color: #065f46; }
.bstep.done span { background: var(--green); }
.booking-panel h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.panel-hint { color: var(--muted); margin-bottom: 20px; }
.booking-panel { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none;} }
.service-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.service-pick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-md); padding: 18px; transition: all .25s;
}
.service-pick:hover { border-color: #a8c3ff; transform: translateY(-2px); }
.service-pick.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 4px rgba(31,94,255,.12); }
.sp-ico { font-size: 1.6rem; }
.sp-name { font-weight: 800; font-size: .98rem; line-height: 1.3; }
.sp-price { color: var(--blue); font-weight: 700; font-size: .92rem; }
.booking-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.booking-nav .btn-ghost { margin-right: auto; }

/* Календарь */
.cal-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: start; }
.cal-container { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--line); }
.cal-container { box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-title { font-weight: 800; font-size: 1.05rem; }
.cal-arrow { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 1.2rem; color: var(--blue); font-weight: 700; transition: all .2s; }
.cal-arrow:hover { background: var(--blue); color: #fff; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; }
.cal-weekdays span { text-align: center; font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: .9rem;
  font-weight: 600; border-radius: 10px; color: var(--muted); cursor: default; transition: all .2s; position: relative;
}
.cal-day.other { color: #c3cbd9; }
.cal-day.free { background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.cal-day.free:hover { border-color: var(--blue); color: var(--blue); }
.cal-day.selected { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 16px rgba(31,94,255,.3); }
.cal-day.selected.today::after { background: #fff; }
.cal-day.today::after { content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.slots-panel h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.slots-hint { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px 10px; font-size: .9rem; }
.slot-btn {
  padding: 12px 6px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 700; font-size: .88rem; color: var(--ink); transition: all .2s;
}
.slot-btn:hover { border-color: var(--blue); color: var(--blue); }
.slot-btn.selected { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(31,94,255,.28); }
.slot-btn.busy { opacity: .4; cursor: not-allowed; background: #f1f4f9; border-color: #e6ebf3; text-decoration: line-through; }
.slots-legend { display: flex; gap: 18px; margin-top: 18px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.lg { display: inline-flex; align-items: center; gap: 7px; }
.lg::before { content: ''; width: 14px; height: 14px; border-radius: 4px; }
.lg-free::before { background: var(--green); }
.lg-busy::before { background: #e6ebf3; }

/* Задача и ИИ */
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ai-chip { background: var(--bg-soft); border: 1px solid var(--line); padding: 9px 14px; border-radius: 30px; font-size: .85rem; font-weight: 600; color: var(--ink); transition: all .2s; }
.ai-chip:hover { border-color: var(--blue); color: var(--blue); }
#taskDesc { width: 100%; border: 2px solid var(--line); border-radius: var(--radius-md); padding: 16px; font-size: 1rem; resize: vertical; transition: border-color .2s; background: #fff; color: var(--ink); }
#taskDesc:focus { outline: none; border-color: var(--blue); }
.ai-estimate { margin-top: 20px; }
.estimate-loading { display: flex; align-items: center; gap: 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; font-weight: 700; color: var(--muted); }
.spinner { width: 26px; height: 26px; border: 3px solid #d4def1; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }
.estimate-result { background: linear-gradient(135deg, var(--blue-soft), #f6f9ff); border: 1px solid #cfe0ff; border-radius: var(--radius-lg); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.est-price, .est-time { background: #fff; border-radius: var(--radius-md); padding: 18px; border: 1px solid var(--line); }
.est-label { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.est-price strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue); font-weight: 800; }
.est-time strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 800; }
.est-comment { grid-column: 1 / -1; font-size: .92rem; color: #334; background: rgba(255,255,255,.7); border-radius: var(--radius-sm); padding: 12px 16px; }
.est-note { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); }
.estimate-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: var(--radius-md); padding: 16px; font-weight: 600; }

/* Форма контактов */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .92rem; }
.form-field input { padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .2s; }
.form-field input:focus { outline: none; border-color: var(--blue); }
.field-hint { font-size: .78rem; color: var(--muted); }
.summary-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-top: 22px; }
.summary-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 12px; }
.summary-item { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .94rem; border-bottom: 1px dashed var(--line); }
.summary-item:last-child { border-bottom: none; }
.summary-item span { color: var(--muted); }
.summary-item b { text-align: right; }

/* ---------- Success ---------- */
.success-section { padding: 70px 0; }
.success-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; text-align: center; box-shadow: var(--shadow-md); }
.success-ico { font-size: 3.4rem; margin-bottom: 14px; }
.success-card h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.success-lead { color: var(--muted); margin-bottom: 28px; }
.order-details { background: var(--bg-soft); border-radius: var(--radius-md); padding: 20px 24px; text-align: left; margin-bottom: 26px; }
.od-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.od-row:last-child { border-bottom: none; }
.od-row span { color: var(--muted); }
.pay-block { background: linear-gradient(135deg, #eef7ff, #f6f9ff); border: 1px solid #cfe0ff; border-radius: var(--radius-lg); padding: 26px; margin-bottom: 28px; text-align: left; }
.pay-block-head h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.pay-block-head p { color: var(--muted); font-size: .95rem; }
.pay-info { margin-top: 14px; }
.pay-info-item { padding: 8px 0; font-size: .95rem; border-bottom: 1px dashed #cfe0ff; }
.pay-info-item:last-child { border-bottom: none; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1830; color: #aab7d1; padding: 60px 0 0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text em { color: #7d8ba8; }
.footer-brand p { font-size: .9rem; margin: 16px 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 6px; }
.footer-phone { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-col h4 { color: #fff; font-size: .98rem; font-weight: 800; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: .9rem; transition: color .2s; }
.footer-col ul a:hover { color: #7ba3ff; }
.footer-zones { color: #8b98b4; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .82rem; color: #66738f; }

/* ---------- Reveal анимации ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.165,.84,.44,1), transform .7s cubic-bezier(.165,.84,.44,1); }
.reveal.active { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .services-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-pick-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-layout { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .quick-booking-card { grid-template-columns: 1fr; }
  .reviews-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 1180px) {
  .header-location { display: none; }
  .header-call span { display: none; }
  .header-call { padding: 11px 13px; }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: 0; right: -100%; width: min(340px, 82%); height: 100vh; background: #fff; flex-direction: column; padding: 90px 26px 30px; gap: 4px; box-shadow: -20px 0 60px rgba(0,0,0,.15); transition: right .35s cubic-bezier(.4,0,.2,1); z-index: 99; }
  .main-nav.open { right: 0; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .top-bar-inner { flex-direction: column; gap: 4px; padding: 8px 0; text-align: center; }
  body.nav-open { overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 0 100px; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .chip-1 { left: -6px; top: -14px; }
  .chip-2 { right: -6px; }
  .section { padding: 60px 0; }
  .quick-booking { padding: 38px 0 42px; }
  .quick-booking-head { display: block; }
  .quick-booking-hint { margin-top: 15px; }
  .quick-calendar-layout { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .school-card { align-items: flex-start; }
  .services-grid, .price-grid, .steps-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; text-align: center; }
  .service-row-ico { margin: 0 auto; }
  .service-row-side { text-align: center; }
  .service-row-btns { justify-content: center; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .booking-wrap { padding: 22px 16px; }
  .booking-panel h2 { font-size: 1.25rem; }
  .booking-steps { gap: 6px; }
  .bstep { font-size: .76rem; padding: 7px 10px; }
  .service-pick-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .estimate-result { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(4, 1fr); }
  .cal-day { font-size: .82rem; }
  .success-card { padding: 30px 20px; }
  .od-row { flex-direction: column; gap: 4px; }
}
@media (max-width: 400px) {
  .parent-logo { width: 100px; flex-basis: 100px; }
  .brand-text { display: none; }
  .school-art { display: none; }
  .review-quotes { grid-template-columns: 1fr; }
  .review-quote-accent { transform: none; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .btn-lg { padding: 15px 22px; font-size: .95rem; }
  .chat-fab { right: 14px; bottom: 14px; padding: 13px; }.chat-fab-label { display: none; }.chat-panel { right: 14px; bottom: 72px; width: calc(100vw - 28px); height: calc(100vh - 90px); }
  .analytics-consent { left: 10px; right: 10px; bottom: 10px; display: block; }.analytics-consent-actions { margin-top: 10px; }.analytics-consent-actions .btn { flex: 1; padding: 10px 8px; font-size: .78rem; }
}
