/* 360 Studio — 360studio.com.ua */

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(/fonts/raleway-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url(/fonts/raleway-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --text: #2e3742;
    --heading: #5C6878;
    --muted: #8793a0;
    --accent: #3D80F9;
    --accent-dark: #1f63e0;
    --pink: #e8488a;
    --violet: #8b3fd9;
    --soft: #f5f7fb;
    --line: #e6eaf0;
    --dark: #1e232b;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(40, 60, 100, .08);
    --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    font-variant-numeric: lining-nums;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 {
    font-weight: 300;
    color: var(--heading);
    line-height: 1.2;
    margin: 0 0 .35em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--text); }

p { margin: 0 0 1em; }

ul { padding-left: 1.3em; margin: .5em 0 1em; }
li { margin-bottom: .4em; }
li::marker { color: var(--accent); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.sub-title {
    font-size: .95em;
    color: var(--muted);
    font-weight: 400;
}

.block-title {
    font-weight: 700;
    color: #555f6b;
    margin-top: 1.6em;
    margin-bottom: .3em;
}

.muted { color: var(--muted); font-weight: 400; }
.text-center { text-align: center; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    font: inherit;
    font-weight: 500;
    padding: .65em 1.9em;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 12px;
    margin: 1em 0 0;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(61, 128, 249, .28);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover, .btn:focus-visible {
    color: #fff;
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(61, 128, 249, .35);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    box-shadow: inset 0 0 0 2px var(--accent);
}
.btn-outline:hover, .btn-outline:focus-visible {
    background: var(--accent);
    box-shadow: inset 0 0 0 2px var(--accent);
}
.btn-sm { padding: .45em 1.2em; margin: 0; font-size: .92em; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(61, 128, 249, .45);
    outline-offset: 2px;
}

/* ---------- Меню ---------- */
.menu {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    transition: box-shadow .25s;
}
.menu.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0, 0, 0, .04); }

.menu-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.brand { color: #444; display: inline-flex; }
.brand:hover { color: #222; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 1.6em; }
.nav ul { list-style: none; display: flex; gap: .3em; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav ul a {
    color: #666;
    font-weight: 400;
    padding: .4em .7em;
    border-radius: 8px;
    position: relative;
}
.nav ul a:hover { color: var(--accent); }
.nav ul a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: #444;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Переключатель языка */
.lang { display: flex; gap: .2em; font-size: .85em; font-weight: 600; }
.lang a { color: var(--muted); padding: .3em .45em; border-radius: 6px; }
.lang a:hover { color: var(--accent); }
.lang a[aria-current] { color: var(--text); background: var(--soft); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: .5em auto 0;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: .4em;
}
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: .4em; color: #c3cad3; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    text-align: center;
    padding: 3.5em 0 3em;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
}
.hero::before { width: 420px; height: 420px; background: #f9b7d6; left: -120px; top: -140px; }
.hero::after { width: 380px; height: 380px; background: #c9b5ff; right: -100px; top: 20px; }
.hero .sub-title { font-size: 1.05em; max-width: 720px; margin: 0 auto; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 1em; margin-top: .8em; }

.badges {
    list-style: none;
    padding: 0;
    margin: 2.2em 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7em;
}
.badges li {
    margin: 0;
    padding: .45em 1em;
    border-radius: 999px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-size: .88em;
    font-weight: 500;
    color: #555f6b;
}
.badges b { color: var(--accent); font-weight: 700; }

/* ---------- Секции ---------- */
.section { padding-block: 4.5em; }
.section + .section { padding-top: 1.5em; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 2.5em; }

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5em;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.feature.reverse .feature-media { order: -1; }
.feature-media img {
    width: 100%;
    margin: 0 auto;
}

.band { background: var(--soft); }
.band + .section { padding-top: 4.5em; }

/* ---------- Карточки ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4em;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6em 1.5em;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(40, 60, 100, .12); }
.card p { margin: 0; color: #56606c; font-size: .95em; }
.card h3 { margin-bottom: .4em; }

.icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 1em;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--violet));
}
.icon svg { width: 26px; height: 26px; }
.card:nth-child(3n+2) .icon { background: linear-gradient(135deg, var(--violet), var(--pink)); }
.card:nth-child(3n) .icon { background: linear-gradient(135deg, var(--pink), #ff9f5a); }

.step-num {
    font-size: 2.4em;
    font-weight: 300;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .3em;
}

/* Характеристики (разрешения и т.п.) */
.specs {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: .7em;
}
.specs li {
    margin: 0;
    padding: .75em 1em;
    border-radius: 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-size: .95em;
}
.specs b { display: block; color: var(--accent); font-size: 1.1em; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5em; }

/* Панель-заглушка вместо утерянных иллюстраций */
.panel {
    border-radius: 24px;
    padding: 2.2em;
    color: #fff;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .25), transparent 40%),
        linear-gradient(135deg, #5b5bf5 0%, #9b3fd9 55%, #e8488a 100%);
    box-shadow: 0 20px 50px rgba(139, 63, 217, .25);
}
.panel .big { font-size: clamp(3rem, 7vw, 4.8rem); font-weight: 300; line-height: 1; }
.panel p { margin: .6em 0 0; opacity: .9; }
.panel ul { list-style: none; padding: 0; margin: 1.2em 0 0; }
.panel li { padding: .5em 0; border-top: 1px solid rgba(255, 255, 255, .2); margin: 0; }
.panel li:first-child { border-top: 0; }

/* ---------- Таблица цен ---------- */
.table-wrap { overflow-x: auto; margin: 1.2em 0; border-radius: var(--radius); border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; font-size: .95em; min-width: 460px; }
.price-table th, .price-table td { padding: .8em 1em; text-align: center; border-bottom: 1px solid var(--line); }
.price-table th:first-child, .price-table td:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.price-table thead th { background: var(--soft); font-weight: 700; color: var(--text); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .price { font-weight: 700; font-size: 1.1em; color: var(--accent); }

.price-big { font-size: 1.5em; font-weight: 600; color: var(--text); }
.price-big small { font-size: .6em; color: var(--muted); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    margin-bottom: .8em;
    transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1.1em 3em 1.1em 1.3em;
    font-weight: 600;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 1.2em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: 300;
    color: var(--accent);
    transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.3em 1.2em; color: #56606c; }

/* ---------- Форма ---------- */
.order-form { margin-top: 1.2em; max-width: 480px; }
.form-group { margin-bottom: 1em; }
.form-group label { display: block; font-weight: 600; font-size: .92em; margin-bottom: .3em; }
.form-control {
    width: 100%;
    font: inherit;
    padding: .7em 1em;
    border: 1px solid #d5dbe3;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61, 128, 249, .15); }
textarea.form-control { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .9em 1.2em; border-radius: 12px; margin-top: 1.2em; font-weight: 500; }
.alert-ok { background: #e8f7ee; color: #1d6b3c; }
.alert-err { background: #fdecec; color: #9b2222; }

/* ---------- Контакты ---------- */
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: 0 0 1.2em; }
.contact-list .label { display: block; font-size: .85em; color: var(--muted); font-weight: 500; }
.contact-list .value { font-size: 1.2em; font-weight: 600; }

/* ---------- Подвал ---------- */
.footer {
    background: var(--dark);
    color: #b8c0ca;
    padding: 3.5em 0 2em;
    font-size: .93em;
    margin-top: 3em;
}
.footer a { color: #d7dde4; }
.footer a:hover { color: #fff; }
.footer .block-title { color: #fff; margin-top: 0; }
.footer ul { list-style: none; padding: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2em; }
.footer-about { margin-top: 1em; max-width: 300px; }
.copyright {
    text-align: center;
    margin-top: 2.5em;
    padding-top: 1.8em;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .88em;
    color: #8a94a0;
}

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .card { transition: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 991px) {
    .menu-inner { min-height: 70px; }
    .nav-toggle { display: block; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5em 20px 1.2em;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
        display: none;
    }
    .nav-open .nav { display: flex; }
    .nav ul { flex-direction: column; }
    .nav ul a { display: block; padding: .8em 0; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav-cta { margin-top: 1em; text-align: center; }
    .lang { margin-top: 1em; justify-content: center; font-size: 1em; }

    .feature { grid-template-columns: 1fr; gap: 1.5em; }
    .feature .feature-media { order: -1; max-width: 560px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding-block: 3em; }
    .feature-text > h2, .feature-text > .sub-title { text-align: center; }
    .feature-text > .btn { display: table; margin-left: auto; margin-right: auto; }
    .cols-2 { grid-template-columns: 1fr; gap: 0; }
    .hero { padding: 2.2em 0 2em; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .panel { padding: 1.6em; }
}
