/* Гадалка — dark mystic violet + gold theme. Self-hosted fonts, no libraries. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/cormorant-garamond-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122; }

:root {
  --bg: #140b20; --panel: #1d1030; --card: #241539;
  --ink: #efe7f6; --ink-2: #cebfe3; --muted: #a596c0;
  --gold: #e4c877; --gold-2: #f2db92; --gold-deep: #c9a24a;
  --violet: #8a5bd6; --violet-2: #a375e6;
  --line: rgba(228,200,120,.2); --line-2: rgba(228,200,120,.38);
  --wa: #1fa362; --tg: #2f9fd6; --err: #ff9a8a;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 14px; --header-h: 72px;
  --shadow: 0 14px 40px rgba(0,0,0,.45); --shadow-lg: 0 26px 64px rgba(0,0,0,.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0; min-width: 320px; font: 400 17px/1.6 var(--ui); color: var(--ink);
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(138,91,214,.28), transparent 60%),
    radial-gradient(50% 45% at 10% 20%, rgba(228,200,120,.1), transparent 55%),
    linear-gradient(180deg, #1a0f2a, #120a1c) fixed;
  background-color: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1em; height: 1em; flex: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 500; padding: 10px 16px; border-radius: 10px; background: #000; color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 22px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--ink); font: 600 15px/1.2 var(--ui); text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s, color .15s, filter .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.btn .icon { font-size: 18px; }
.btn small { display: block; font: 500 12px/1.2 var(--ui); opacity: .9; margin-top: 2px; }
.btn--gold { color: #1b1026; background: linear-gradient(135deg, #f2db92, #d7af52); box-shadow: 0 10px 26px rgba(201,162,74,.34), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--gold:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--ghost { background: rgba(255,255,255,.05); color: var(--gold-2); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--gold); }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--glass:hover { background: rgba(255,255,255,.15); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 18px rgba(31,163,98,.3); }
.btn--wa:hover { filter: brightness(.95); }
.btn--tg { background: var(--tg); color: #fff; box-shadow: 0 8px 18px rgba(47,159,214,.26); }
.btn--tg:hover { filter: brightness(.95); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 700 12px/1.3 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.eyebrow .icon { font-size: 14px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before, .eyebrow--center::after { content: ''; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep)); }
.eyebrow--center::after { transform: scaleX(-1); }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(20,11,32,.82); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #1b1026; font-size: 21px; background: radial-gradient(circle at 35% 28%, #f2db92, #c9a24a 76%); box-shadow: 0 0 0 1px rgba(228,200,120,.4), 0 0 18px rgba(228,200,120,.25); flex: none; }
.brand__txt { display: grid; line-height: 1.04; }
.brand__name { font: 600 24px/1 var(--display); color: var(--gold-2); letter-spacing: .01em; }
.brand__sub { font: 700 9px/1.3 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--gold-2); font-size: 22px; place-items: center; cursor: pointer; }
.nav-toggle .icon { pointer-events: none; }
.nav-toggle__close { display: none; }
.site-nav__list { display: flex; gap: 24px; }
.site-nav__link { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink-2); font: 500 15px/1 var(--ui); padding: 8px 2px; }
.site-nav__link:hover { color: var(--gold-2); }

/* hero */
.hero { padding: clamp(44px, 7vw, 80px) 0 clamp(40px, 6vw, 64px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .eyebrow { margin-bottom: 16px; }
.hero__title { font: 600 clamp(2.6rem, 6vw, 4.4rem)/1.05 var(--display); color: var(--ink); margin: 0 0 10px; }
.hero__accent { color: var(--gold-2); }
.hero__region { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 600 15px/1.3 var(--ui); letter-spacing: .04em; color: var(--violet-2); }
.hero__region .icon { color: var(--gold); }
.hero__lead { max-width: 520px; margin: 0 0 24px; font: 400 1.14rem/1.55 var(--ui); color: var(--ink-2); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1.3 var(--ui); color: var(--muted); }
.hero__badges .icon { color: var(--gold); font-size: 16px; }
.hero__visual { justify-self: center; }
.hero__photo { position: relative; width: min(100%, 380px); aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg), 0 0 60px rgba(138,91,214,.25); }
.hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,8,26,.7)); pointer-events: none; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-badge { position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 6px 16px; border-radius: 999px; background: rgba(20,11,32,.7); border: 1px solid var(--line-2); color: var(--gold-2); font: 600 15px/1.2 var(--display); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* sections */
.section { padding: clamp(50px, 7vw, 78px) 0; }
.section--panel { background: linear-gradient(180deg, rgba(40,22,64,.5), rgba(24,14,38,.5)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section__title { font: 600 clamp(2rem, 3.6vw, 2.7rem)/1.12 var(--display); color: var(--ink); }
.section__title--left { text-align: left; }
.section__sub { margin-top: 8px; font: 400 16px/1.5 var(--ui); color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.about .eyebrow { margin-bottom: 12px; }
.about__text p { margin-top: 14px; color: var(--ink-2); font: 400 16.5px/1.65 var(--ui); }
.about__note { display: flex; gap: 9px; align-items: flex-start; margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.about__note .icon { color: var(--gold); margin-top: 2px; flex: none; }
.about__points { display: grid; gap: 12px; }
.about__points li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.about__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: #1b1026; font-size: 20px; background: linear-gradient(135deg, #f2db92, #c9a24a); }
.about__points h3 { font: 600 1.2rem/1.1 var(--display); color: var(--gold-2); }
.about__points p { margin-top: 2px; font: 400 14px/1.45 var(--ui); color: var(--muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(48,28,74,.6), rgba(30,18,48,.6)); box-shadow: var(--shadow); cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service__ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: var(--gold-2); font-size: 24px; background: rgba(228,200,120,.12); box-shadow: inset 0 0 0 1px var(--line); }
.service__title { font: 600 1.4rem/1.15 var(--display); color: var(--ink); }
.service__text { font: 400 14px/1.5 var(--ui); color: var(--muted); }

/* certificates — real printed look (guilloché frame image) with editable text overlaid */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cert { position: relative; margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.40), 0 2px 6px rgba(0,0,0,.30); transition: transform .25s ease, box-shadow .25s ease; }
.cert:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(0,0,0,.50), 0 3px 8px rgba(0,0,0,.35); }
.cert__img { display: block; width: 100%; height: auto; }
.cert--fallback { position: relative; aspect-ratio: 1000 / 720; background: url('../img/cert-frame.png') center / 100% 100% no-repeat; border-radius: 6px; box-shadow: var(--shadow-lg); container-type: inline-size; }
.cert__paper { position: absolute; inset: 8% 7%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #26406e; font-family: var(--display); gap: 1.1cqw; }
.cert__emblem { display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; color: #26406e; font-size: 5.6cqw; background: linear-gradient(135deg, #f2db92, #c9a24a); box-shadow: 0 0.5cqw 1.5cqw rgba(38,64,110,.25); }
.cert__head { font: 700 8.4cqw/1 var(--display); letter-spacing: .1em; color: #1f3a63; }
.cert__line { font: 400 3.5cqw/1.3 var(--ui); color: #5a6b86; max-width: 92%; }
.cert__name { font: 700 9.4cqw/1 var(--display); color: #16233b; margin: .3cqw 0; }
.cert__qual { font: 700 5.4cqw/1.1 var(--display); letter-spacing: .03em; color: #26406e; }
.cert__foot { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; margin-top: 2.6cqw; font: 600 3cqw/1.2 var(--ui); color: #6a7890; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { margin: 0; padding: 24px 22px; border-radius: 16px; background: linear-gradient(180deg, rgba(48,28,74,.55), rgba(28,16,44,.55)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, rgba(228,200,120,.3), rgba(138,91,214,.35)); border: 1px solid var(--line-2); }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__ini { font: 700 1.5rem/1 var(--display); color: var(--gold-2); }
.review__by { display: flex; flex-direction: column; min-width: 0; }
.review__name { font: 600 1.18rem/1.1 var(--display); color: var(--gold-2); }
.review__city { font: 400 12.5px/1.2 var(--ui); color: var(--muted); }
.review__stars { display: flex; gap: 2px; color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.review__text { font: 400 15.5px/1.55 var(--ui); color: var(--ink-2); }

/* cta */
.cta { background: linear-gradient(160deg, #3a1f66, #241043); border-top: 1px solid var(--line); text-align: center; padding: clamp(54px, 8vw, 82px) 0; }
.cta__inner { max-width: 760px; margin: 0 auto; }
.cta__title { font: 600 clamp(2rem, 4vw, 2.8rem)/1.12 var(--display); color: var(--ink); }
.cta__sub { margin-top: 10px; font: 400 16px/1.55 var(--ui); color: var(--ink-2); }
.cta__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta__mail { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font: 500 15px/1.4 var(--ui); }
.cta__mail a { color: var(--gold-2); }
.cta__note { margin-top: 12px; font: 400 13.5px/1.55 var(--ui); color: var(--muted); }

/* footer */
.site-footer { background: rgba(16,9,26,.7); border-top: 1px solid var(--line); text-align: center; color: var(--muted); padding: 44px 0 40px; }
.site-footer .container { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__name { font: 600 22px/1 var(--display); color: var(--gold-2); }
.site-footer__tag { display: none; }
.site-footer__legal-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.site-footer__legal-nav a { color: var(--ink-2); text-decoration: none; font: 500 14px/1.3 var(--ui); }
.site-footer__legal-nav a:hover { color: var(--gold-2); }
.site-footer__contacts { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.site-footer__contacts a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink-2); font: 500 14px/1.3 var(--ui); }
.site-footer__contacts a:hover { color: var(--gold-2); }
.site-footer__disclaimer { display: flex; gap: 8px; max-width: 760px; font: 400 12.5px/1.55 var(--ui); color: var(--muted); }
.site-footer__disclaimer .icon { flex: none; margin-top: 2px; color: var(--gold); }
.site-footer__copy { font: 400 13px/1.5 var(--ui); color: var(--muted); }
.site-footer__cookies { margin-top: 4px; }

/* record popup */
.rec-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.rec-modal[hidden] { display: none; }
.rec-modal__backdrop { position: absolute; inset: 0; background: rgba(8,4,16,.72); opacity: 0; transition: opacity .22s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rec-modal.is-open .rec-modal__backdrop { opacity: 1; }
.rec-modal__dialog { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; background: linear-gradient(180deg, #241537, #1a1029); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .22s, transform .22s; }
.rec-modal.is-open .rec-modal__dialog { opacity: 1; transform: none; }
.rec-modal__close { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gold-2); font-size: 20px; cursor: pointer; }
.rec-modal__close:hover { background: rgba(255,255,255,.16); }
.rec-modal__grid { display: grid; grid-template-columns: 230px 1fr; }
.rec-modal__aside { background: linear-gradient(170deg, #3a1f66, #241043); padding: 22px; display: flex; flex-direction: column; gap: 14px; border-radius: 18px 0 0 18px; }
.rec-modal__photo { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0,0,0,.4); aspect-ratio: 3 / 4; background: #1a1029; }
.rec-modal__photo img { width: 100%; height: 100%; object-fit: cover; }
.rec-modal__who { text-align: center; }
.rec-modal__name { display: block; font: 600 1.4rem/1.1 var(--display); color: var(--gold-2); }
.rec-modal__role { display: block; margin-top: 4px; font: 600 10.5px/1.4 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--violet-2); }
.rec-modal__body { padding: 30px 28px; }
.rec-modal__title { font: 600 1.9rem/1.12 var(--display); color: var(--ink); }
.rec-modal__text { margin-top: 6px; font: 400 14.5px/1.5 var(--ui); color: var(--muted); }

/* form */
.form { margin-top: 18px; }
.field { margin-bottom: 14px; }
.field__label { display: block; margin-bottom: 6px; font: 600 13.5px/1.3 var(--ui); color: var(--ink-2); }
.field__opt { font-weight: 400; color: var(--muted); }
.field__input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.05); color: var(--ink); font: 400 15px/1.4 var(--ui); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.field__input::placeholder { color: #8d7da8; }
.field__input:focus { border-color: var(--gold); background: rgba(255,255,255,.08); box-shadow: 0 0 0 3px rgba(228,200,120,.16); }
textarea.field__input { resize: vertical; min-height: 84px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; cursor: pointer; }
.check__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--line-2); background: rgba(255,255,255,.05); color: transparent; font-size: 15px; transition: .15s; }
.check__input:checked + .check__box { background: linear-gradient(135deg, #f2db92, #c9a24a); border-color: transparent; color: #1b1026; }
.check__input:focus-visible + .check__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.check__text { font: 400 12.5px/1.5 var(--ui); color: var(--muted); }
.check__text a { color: var(--gold-2); }
.form__error { margin: 2px 0 10px; font: 600 13px/1.45 var(--ui); color: var(--err); }
.form__error:empty { display: none; }
.form__fine { margin-top: 10px; font: 400 11.5px/1.5 var(--ui); color: var(--muted); }
.form__submit { position: relative; }
.form.is-busy .form__submit { opacity: .8; cursor: progress; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(27,16,38,.4); border-top-color: #1b1026; border-radius: 50%; animation: spin .7s linear infinite; }
.form.is-busy .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; padding: 10px 0 4px; }
.success[hidden] { display: none; }
.success__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #1b1026; font-size: 28px; background: linear-gradient(135deg, #f2db92, #c9a24a); box-shadow: 0 10px 24px rgba(201,162,74,.35); }
.success__title { margin-top: 12px; font: 600 1.6rem/1.15 var(--display); color: var(--ink); }
.success__text { margin-top: 6px; font: 400 14.5px/1.5 var(--ui); color: var(--muted); }
.success__actions { display: grid; gap: 10px; margin-top: 18px; }

/* cookie banner */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 350; padding: 14px; }
.cookie[hidden] { display: none; }
.cookie__inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(180deg, #281640, #1c1030); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.cookie__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: #1b1026; font-size: 20px; background: linear-gradient(135deg, #f2db92, #c9a24a); }
.cookie__text { font: 400 13px/1.5 var(--ui); color: var(--ink-2); }
.cookie__text strong { color: var(--gold-2); }
.cookie__text a { color: var(--gold-2); }
.cookie__actions { display: flex; gap: 8px; flex: none; }

/* legal modals */
.legal-modal { position: fixed; inset: 0; z-index: 420; overflow-y: auto; display: none; }
.legal-modal:target { display: block; }
.legal-modal__backdrop { position: fixed; inset: 0; background: rgba(8,4,16,.72); }
.legal-panel { position: relative; max-width: 820px; margin: 24px auto; padding: clamp(24px, 5vw, 44px); border-radius: 16px; background: linear-gradient(180deg, #241537, #1a1029); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); color: var(--ink); }
.legal-panel__close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gold-2); font-size: 20px; text-decoration: none; background: rgba(255,255,255,.08); }
.legal-panel__close:hover { background: rgba(255,255,255,.16); }
.legal-panel h1, .legal-panel h2, .legal-panel h3 { font-family: var(--display); color: var(--ink); margin: 18px 0 8px; }
.legal-panel h1 { font-size: 1.9rem; margin-top: 0; }
.legal-panel h2 { font-size: 1.3rem; color: var(--gold-2); }
.legal-panel p, .legal-panel li { font: 400 15px/1.6 var(--ui); color: var(--ink-2); }
.legal-panel ul { padding-left: 20px; list-style: disc; margin: 8px 0; }
.legal-panel a { color: var(--gold-2); }
.doc { padding: 48px 0 80px; }

/* floating WhatsApp */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; font-size: 28px; text-decoration: none; box-shadow: 0 10px 26px rgba(31,163,98,.45); }
.float-wa:hover { filter: brightness(.95); }

/* responsive */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { order: -1; }
  .hero__content { text-align: center; }
  .hero .eyebrow, .hero__region, .hero__actions, .hero__badges { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .services, .certs, .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .rec-modal__grid { grid-template-columns: 1fr; }
  .rec-modal__aside { flex-direction: row; align-items: center; border-radius: 18px 18px 0 0; }
  .rec-modal__photo { width: 92px; flex: none; }
  .rec-modal__who { text-align: left; }
  .nav-toggle { display: grid; }
  .site-nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: #1b1030; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 24px 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .site-header.is-menu-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav__list { flex-direction: column; gap: 4px; }
  .site-nav__link { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .site-header.is-menu-open .nav-toggle__open { display: none; }
  .site-header.is-menu-open .nav-toggle__close { display: block; }
  .cookie__inner { flex-direction: column; text-align: center; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
}
@media (max-width: 560px) {
  .services, .certs, .reviews { grid-template-columns: 1fr; }
  .cta__actions .btn, .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
