/* ============ Service pages ============ */
.svc-hero .scene-glow { background: conic-gradient(from 90deg, var(--c), var(--violet), var(--c), var(--ink-3), var(--c)); }
.svc-title { font-size: var(--fs-h1); line-height: .94; letter-spacing: -.035em; font-variation-settings: "opsz" 96, "wdth" 78; font-weight: 760; max-width: 15ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .95rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--c); font-weight: 600; }
.price-badge { position: relative; width: 120px; height: 120px; display: grid; place-items: center; text-align: center; }
.price-badge svg { position: absolute; inset: 0; overflow: visible; }
.price-badge circle { fill: rgba(238,235,255,.04); stroke: var(--c); stroke-width: 2.5; stroke-dasharray: 6 8; }
.price-badge span { display: grid; line-height: 1; }
.price-badge small { color: var(--muted); font-size: .85rem; }
.price-badge b { font-size: 1.7rem; letter-spacing: -.02em; font-variation-settings: "opsz" 60, "wdth" 82; color: var(--c); margin-top: 4px; }

.offers-sec { background: var(--paper); color: var(--ink); border-radius: 0 0 48px 48px; }
.offers-sec .lead { color: #4A447F; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 16px; align-content: start;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg);
  background: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  transition: box-shadow .35s var(--ease), translate .35s var(--ease);
}
.offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 10px; background: var(--c); border-bottom: 2px solid var(--ink); }
.offer:nth-child(2)::before { background: var(--violet); }
.offer:nth-child(3)::before { background: var(--coral); }
.offer .svc-spot { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 35%, transparent), transparent 60%); }
.offer:hover { box-shadow: 12px 12px 0 var(--ink); translate: -3px -3px; }
.offer h3 { margin-top: 12px; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.9rem); }
.offer p { color: #4A447F; }
.ticks { display: grid; gap: 10px; margin-top: 6px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-weight: 500; }
.ticks svg { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: var(--c); border: 1.5px solid var(--ink); color: var(--ink); }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-grid > div:first-child { display: grid; gap: 24px; position: sticky; top: 120px; }
.faq { display: grid; gap: 14px; }
.faq-item { border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.faq-item[open] { background: var(--ink-3); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; font-size: 1.15rem; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--c); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; background: var(--ink); border-radius: 2px; transition: rotate .4s var(--spring); }
.faq-item summary i::after { rotate: 90deg; }
.faq-item[open] summary i::after { rotate: 0deg; }
.faq-item[open] summary i::before { rotate: 180deg; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a { padding: 0 24px 24px; color: var(--muted); max-width: 62ch; }

.others-sec { padding-top: 0; }
.small-h { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); margin-bottom: 30px; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.other {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 18px; row-gap: 4px; align-items: center;
  padding: 18px; border-radius: 24px; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line);
  transition: background .3s, border-color .3s, translate .35s var(--ease);
}
.other:hover { background: var(--ink-3); border-color: var(--c); translate: 0 -4px; }
.other .svc-icon { grid-row: span 2; width: 64px; height: 64px; border-radius: 18px; background: var(--c); }
.other .svc-icon .mini { width: 40px; height: 40px; }
.other-name { font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.other-price { color: var(--muted); font-size: .95rem; grid-column: 2; }
.other .svc-go { grid-row: 1 / span 2; grid-column: 3; width: 46px; height: 46px; border-color: var(--line); color: var(--text); }
.other:hover .svc-go { color: var(--c); }

/* ============ Contact ============ */
.contact-hero .scene-glow { background: conic-gradient(from 200deg, var(--coral), var(--violet), var(--sun), var(--coral)); }
.contact-cards { display: grid; gap: 12px; max-width: 520px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 22px; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
a.ccard:hover { border-color: var(--c); background: var(--ink-3); }
.ccard-ic { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--c); color: var(--ink); border: 2px solid var(--ink); transition: rotate .45s var(--spring); }
a.ccard:hover .ccard-ic { rotate: -12deg; }
.ccard-ic svg { width: 24px; height: 24px; }
.ccard small { display: block; color: var(--muted); font-size: .85rem; }
.ccard b { font-weight: 650; overflow-wrap: anywhere; }

.form-sec { background: var(--paper); color: var(--ink); border-radius: 48px 48px 0 0; }
.form-sec .lead { color: #4A447F; }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.form-grid > div { display: grid; gap: 24px; }
.mini-steps { display: grid; gap: 12px; margin-top: 10px; }
.mini-steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.mini-steps b { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sun); }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--violet); }
.field { position: relative; display: grid; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: #F6F4FF;
  border: 2px solid #D6D1F5; border-radius: 16px; padding: 26px 16px 10px; outline: none; appearance: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field label { position: absolute; left: 18px; top: 18px; color: #625C96; pointer-events: none; transform-origin: left top; transition: translate .25s var(--ease), scale .25s var(--ease), color .25s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(139,140,255,.25); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.filled label, .field select:focus + label { translate: 0 -10px; scale: .78; color: #4A44C9; }
.field.select > svg { position: absolute; right: 16px; top: 22px; width: 20px; height: 20px; pointer-events: none; color: var(--ink); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #D93A50; }
.err { font-size: .88rem; color: #C42840; min-height: 0; }
.err:not(:empty) { margin-top: 6px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: .95rem; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--ink); display: grid; place-items: center; background: #fff; transition: background .25s; }
.check .box svg { width: 18px; height: 18px; color: var(--ink); scale: 0; transition: scale .35s var(--spring); }
.check input:checked + .box { background: var(--mint); }
.check input:checked + .box svg { scale: 1; }
.check input:focus-visible + .box { outline: 3px solid var(--violet); outline-offset: 2px; }
.check a { color: #4A44C9; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { padding: 14px 16px; border-radius: 14px; background: #E2FBF4; border: 2px solid var(--mint); font-weight: 500; }
.form-note a { color: var(--ink); }

/* ============ Legal ============ */
.legal-hero { min-height: auto; padding: 170px 0 70px; }
.legal-hero .wrap { display: grid; gap: 22px; }
.updated { color: var(--muted); font-size: .95rem; }
.legal { padding-top: 40px; }
.legal-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 110px; }
.toc p { font-weight: 700; margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: .95rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--sun); border-left-color: var(--sun); }
.legal-body { display: grid; gap: 54px; max-width: 74ch; }
.legal-sec { display: grid; gap: 16px; scroll-margin-top: 110px; }
.legal-sec h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-variation-settings: "opsz" 60, "wdth" 85; }
.legal-sec p, .legal-sec li { color: #D3CEF5; }
.legal-sec ul:not(.id-list) { display: grid; gap: 10px; padding-left: 4px; }
.legal-sec ul:not(.id-list) li { position: relative; padding-left: 26px; }
.legal-sec ul:not(.id-list) li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 3px; rotate: 45deg; background: var(--violet); }
.legal-sec a { color: var(--sun); text-underline-offset: 3px; }
.legal-sec b { color: var(--text); }
.id-list { display: grid; gap: 8px; padding: 22px 24px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); }
.todo { background: rgba(255,200,87,.16); border: 1.5px dashed var(--sun); color: var(--sun); padding: 1px 8px; border-radius: 8px; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--ink-2); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
code { font-family: var(--f-mono); font-size: .88em; background: rgba(139,140,255,.18); padding: 2px 6px; border-radius: 6px; }

/* ============ Footer ============ */
.site-footer { position: relative; margin-top: var(--sec); padding-bottom: 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-marquee { padding: 34px 0 10px; }
.footer-marquee span { font-size: clamp(3rem, 2rem + 6vw, 8rem); font-weight: 800; letter-spacing: -.04em; font-variation-settings: "opsz" 96, "wdth" 75; color: transparent; -webkit-text-stroke: 1.5px rgba(238,235,255,.28); padding-inline: 30px; }
.footer-marquee span:nth-child(4n+1):hover { color: var(--violet); }
.footer-marquee span:nth-child(odd) { -webkit-text-stroke-color: rgba(139,140,255,.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: 50px 40px; }
.f-brand { display: grid; gap: 18px; align-content: start; }
.f-brand p { color: var(--muted); max-width: 38ch; }
.f-brand .deco { position: relative; inset: auto; }
.site-footer h3 { font-size: 1.05rem; margin-bottom: 16px; letter-spacing: 0; font-variation-settings: "opsz" 24, "wdth" 100; }
.site-footer ul { display: grid; gap: 10px; color: var(--muted); }
.site-footer ul a { text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--sun), var(--sun)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.site-footer ul a:hover { color: var(--text); background-size: 100% 1.5px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ============ Cookie banner ============ */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(560px, calc(100% - 32px));
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start;
  padding: 18px; border-radius: 24px; background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--coral);
  translate: 0 140%; transition: translate .7s var(--spring);
}
.cookie.show { translate: 0 0; }
.cookie-icon svg { width: 46px; height: 46px; }
.cookie-text { font-size: .95rem; line-height: 1.5; }
.cookie-text a { color: #4A44C9; }
.cookie-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cookie .btn-ghost { --fg: var(--ink); border-color: var(--ink); --fill: var(--violet); }

/* ============ Responsive ============ */
@media (max-width: 1060px) {
  .offers { grid-template-columns: 1fr; }
  .faq-grid, .form-grid, .legal-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .others { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .offers-sec, .form-sec { border-radius: 0 0 32px 32px; }
  .form-sec { border-radius: 32px 32px 0 0; }
  .legal-hero { padding-top: 130px; }
  .form { box-shadow: 6px 6px 0 var(--violet); }
}
