:root {
    color-scheme: light;
    --paper: #f9f5ee;
    --panel: #eee2d4;
    --ink: #2d211c;
    --muted: #62534b;
    --line: #d9c7b6;
    --accent: #a23d2b;
    --accent-dark: #802e21;
    --serif: Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 5.1vw, 5rem); overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 3.6vw, 3.45rem); }
h3 { font-size: clamp(1.14rem, 1.8vw, 1.4rem); line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1152px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1; top: .75rem; left: .75rem; padding: .6rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; color: var(--paper); }
.site-header { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); min-height: 90px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .66rem; min-width: 0; margin-right: auto; text-decoration: none; font-size: 1.22rem; font-weight: 750; letter-spacing: -.035em; }
.brand img { flex: none; object-fit: contain; }
.brand span { overflow-wrap: anywhere; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(.9rem, 2.25vw, 2rem); row-gap: .65rem; }
.site-header nav a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--accent-dark); text-decoration: underline; }
.telegram { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; color: var(--paper); background: var(--ink); transition: background-color .18s ease; }
.telegram:hover { color: var(--paper); background: var(--accent-dark); }
.telegram svg { margin-left: -2px; }
.menu-toggle { display: none; }
.site-main { flex: 1; padding-block: clamp(2rem, 5vw, 4.2rem) clamp(3.5rem, 8vw, 6rem); }
.hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(1.75rem, 5.5vw, 5rem); }
.hero--inner { grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); }
.hero--inner h1 { font-size: clamp(2.55rem, 4.55vw, 4.25rem); }
.hero-copy { min-width: 0; }
.intro { max-width: 51ch; margin-top: 1.35rem; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.25rem); line-height: 1.5; }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1.43; overflow: hidden; background: var(--panel); border-radius: 18px; }
.hero-art--photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.route-illustration { position: relative; width: 88%; height: 86%; }
.route-rings { position: absolute; top: 6%; left: 23%; width: 66%; aspect-ratio: 1; }
.route-rings i { position: absolute; inset: calc(var(--ring) * 4.2%); border: 1px solid #b76953; border-radius: 50%; transform: translateX(calc(var(--ring) * 4%)); }
.route-strip { position: absolute; inset: 0; background: linear-gradient(125deg, #883322 3%, #ac4831 58%, #bf694c); clip-path: polygon(6% 83%, 27% 78%, 58% 24%, 76% 12%, 78% 20%, 69% 31%, 35% 88%, 6% 92%); animation: route-in .65s ease-out both; }
.route-point { position: absolute; top: 12%; left: 76%; width: 6%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); animation: route-in .65s ease-out both; }
@keyframes route-in { from { opacity: 0; transform: translate(-9%, 8%); } to { opacity: 1; transform: none; } }
.action { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.15rem; margin-top: 2rem; }
.action > span { color: var(--muted); font-size: .9rem; }
.action > span a { text-decoration: none; }
.action > span a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .72rem 1.35rem; border: 1px solid transparent; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .18s ease; }
.button:hover, .button:focus-visible { background: var(--accent-dark); color: #fff; }
.button--full { width: 100%; }
.section { margin-top: clamp(2.65rem, 7vw, 5.5rem); padding-top: clamp(1.45rem, 3.25vw, 2.8rem); border-top: 1px solid var(--line); }
.section--compact { margin-top: clamp(1.7rem, 3.75vw, 3rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.text-link { color: var(--accent-dark); font-weight: 650; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem clamp(1.2rem, 4vw, 3rem); list-style: none; padding: 0; }
.step-number { display: block; margin-bottom: .5rem; color: var(--accent-dark); font-size: .9rem; font-variant-numeric: tabular-nums; }
.steps p { margin-top: .65rem; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin-bottom: clamp(1.15rem, 3.2vw, 2.25rem); color: var(--muted); font-size: .9rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { margin-bottom: clamp(1.65rem, 4.5vw, 3.2rem); }
.page-head h1 { max-width: 19ch; font-size: clamp(2.55rem, 5vw, 4.5rem); }
.page-image { margin-bottom: 2rem; max-width: 66ch; }
.page-image img { max-height: 520px; width: 100%; object-fit: contain; object-position: left center; border-radius: 15px; }
.page-action { margin-top: 2.5rem; }
.prose { max-width: 65ch; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1rem; }
.prose :is(h1, h2, h3) { font: 720 clamp(1.15rem, 2.1vw, 1.5rem)/1.28 var(--sans); letter-spacing: -.025em; }
.prose > :is(h1, h2, h3):not(:first-child) { margin-top: 1.65rem; }
.prose > :is(ol, ul) { padding-left: 1.35rem; }
.prose a { color: var(--accent-dark); }
.main-prose { margin-top: 2.5rem; }
@media (min-width: 720px) {
    .prose--steps:has(> h2:nth-child(5) + p:last-child) { display: grid; max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: auto 1fr; gap: .65rem clamp(1.2rem, 4vw, 3rem); counter-reset: step; }
    .prose--steps:has(> h2:nth-child(5) + p:last-child) > * { margin-top: 0; }
    .prose--steps:has(> h2:nth-child(5) + p:last-child) > h2::before { display: block; margin-bottom: .6rem; counter-increment: step; content: counter(step); color: var(--accent-dark); font: .9rem var(--sans); }
    .prose--steps:has(> h2:nth-child(5) + p:last-child) > p { color: var(--muted); }
}
.article-list { padding: 0; border-top: 1px solid var(--line); list-style: none; }
.article-list li { border-bottom: 1px solid var(--line); }
.article-link { display: flex; align-items: center; gap: 1rem; padding: 1rem .1rem; text-decoration: none; }
.article-link img { width: 5rem; height: 3.75rem; border-radius: 7px; object-fit: cover; }
.article-link p { margin-top: .35rem; color: var(--muted); }
.article-link h2 { font: 720 clamp(1.14rem, 1.8vw, 1.4rem)/1.25 var(--sans); letter-spacing: -.02em; }
.arrow { margin-left: auto; padding-left: .4rem; color: var(--accent-dark); font-size: 1.35rem; }
.faqs { border-top: 1px solid var(--line); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 660; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary:hover { color: var(--accent-dark); }
.faq-sign { position: relative; width: 1rem; height: 1rem; flex: 0 0 auto; color: var(--accent-dark); }
.faq-sign::before, .faq-sign::after { position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; content: ""; background: currentColor; }
.faq-sign::after { transform: rotate(90deg); transition: transform .18s ease; }
details[open] .faq-sign::after { transform: rotate(0); }
.faq-answer { max-width: 65ch; padding-bottom: 1.2rem; color: var(--muted); }
details[open] .faq-answer { animation: faq-in .18s ease-out both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-.25rem); } to { opacity: 1; transform: none; } }
.related-link { margin-top: 1.15rem; }
.order { width: min(100%, 33rem); margin-inline: auto; }
.order h1 { font-size: clamp(2.28rem, 5vw, 3.65rem); }
.order .intro { margin-top: .8rem; font-size: 1rem; }
.price-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .6rem; margin-block: 1.35rem; padding: .9rem 1rem; border-radius: 12px; background: var(--panel); }
.price-box strong { font-size: clamp(1.52rem, 4vw, 2rem); letter-spacing: -.02em; }
.price-box a { color: var(--muted); font-size: .86rem; font-weight: 700; }
.order-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, label.field > span { font-weight: 680; }
.field :is(input, textarea, select), .status-form select { width: 100%; min-height: 45px; padding: .56rem .72rem; border: 1px solid #bca796; border-radius: 9px; background: var(--paper); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--accent-dark); }
.field ::placeholder { color: var(--muted); opacity: .86; }
.muted, .form-note { color: var(--muted); font-size: .9rem; font-weight: 400; }
.consent { display: flex; align-items: flex-start; gap: .48rem; color: var(--muted); font-size: .9rem; }
input[type=checkbox] { min-width: 17px; width: 17px; min-height: 17px; height: 17px; margin: .23em 0 0; accent-color: var(--accent); }
.form-error { color: var(--accent-dark); font-size: .93rem; font-weight: 650; }
.order-success { padding-block: .4rem 1rem; }
.order-success > * + * { margin-top: 1rem; }
.order-success a { display: inline-block; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem 1.5rem; padding-block: 1.25rem 1.8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.site-footer p + p { margin-top: .3rem; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem 1rem; }
@media (max-width: 850px) {
    .wrap { width: calc(100% - 56px); }
}
@media (max-width: 719px) {
    .wrap { width: calc(100% - 36px); }
    .site-header { flex-wrap: wrap; gap: .75rem; min-height: 64px; padding-block: .7rem; }
    .site-header nav { order: 4; flex-basis: 100%; }
    .site-header--enhanced nav { display: none; }
    .menu-toggle { order: 2; padding: .35rem .5rem; border: 0; background: transparent; font-size: .89rem; }
    .site-header--enhanced .menu-toggle { display: block; }
    .menu-toggle[aria-expanded=true] ~ nav { display: flex; padding-top: .3rem; }
    .telegram { order: 3; width: 34px; height: 34px; }
    .brand { font-size: 1.08rem; }
    .brand img { width: 28px; height: 28px; }
    .hero, .hero--inner { grid-template-columns: minmax(0, 1fr); }
    .hero-art { width: min(100%, 27rem); }
    .steps { grid-template-columns: 1fr; }
    .steps li:not(:last-child) { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
    .steps p { margin-top: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
