:root {
    --navy: #071526;
    --navy-2: #0d2744;
    --navy-3: #13365c;
    --flame: #f26b21;
    --flame-2: #ff8a3d;
    --gold: #f3c27a;
    --cream: #f6f3ee;
    --paper: #fffcf8;
    --ink: #152033;
    --muted: #5d6b7c;
    --line: rgba(15, 36, 62, 0.1);
    --shadow: 0 18px 50px rgba(7, 21, 38, 0.12);
    --radius: 22px;
    --font: "Manrope", "Segoe UI", Arial, sans-serif;
    --display: "Manrope", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--flame); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.2; color: var(--navy); }
.container { max-width: 1200px; }

.site-topbar {
    background: var(--navy);
    color: #dbe7f5;
    font-size: 13px;
    padding: 8px 0;
}
.site-topbar a { color: #eef5ff; }
.site-topbar a:hover { color: var(--gold); }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar-contacts { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-contacts i { color: var(--flame-2); margin-right: 6px; }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.18);
}

.site-header {
    position: sticky; top: 0; z-index: 1040;
    background: rgba(255,252,248,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
    overflow: visible;
}
.site-nav { overflow: visible; }
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(7,21,38,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.brand:hover { color: inherit; }
.brand-mark {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; flex-shrink: 0;
    filter: drop-shadow(0 8px 16px rgba(11, 31, 58, 0.18));
    transition: transform .25s ease;
}
.brand:hover .brand-mark { transform: translateY(-1px) scale(1.04); }
.brand-mark img { width: 52px; height: 52px; display: block; }
.brand-copy { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.brand-copy strong {
    font-size: 20px; font-weight: 800; color: var(--navy);
    letter-spacing: -0.04em;
}
.brand-copy em {
    display: block; width: 28px; height: 2px; margin: 5px 0 4px;
    border-radius: 99px; background: linear-gradient(90deg, var(--flame), var(--gold));
    font-style: normal;
}
.brand-copy small {
    font-size: 11px; font-weight: 700; color: #8a5a32;
    letter-spacing: 0.12em;
}
.brand-footer .brand-mark { filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)); }
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: var(--gold); }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li.has-sub { padding-bottom: 0; }
.nav-list > li > a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--navy);
    border-radius: 999px;
}
.nav-list > li > a:hover,
.nav-list > li.is-open > a,
.nav-list > li:hover > a { background: #fff1e6; color: var(--flame); }
.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 250px;
    padding: 14px 8px 8px; margin: 0; list-style: none;
    background: #fff; border-radius: 22px;
    box-shadow: 0 18px 40px rgba(7, 21, 38, 0.14);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 50;
}
.nav-list > li:hover > .sub-menu,
.nav-list > li.is-open > .sub-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}
.sub-menu li { background: transparent; }
.sub-menu a {
    display: block; padding: 10px 14px;
    font-weight: 600; font-size: 13px; color: var(--navy-2);
    border-radius: 999px;
}
.sub-menu a:hover { background: #fff6ee; color: var(--flame); }
.header-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--flame), #ea580c);
    color: #fff !important; font-weight: 700; font-size: 14px;
    padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 24px rgba(242,107,33,.28);
    white-space: nowrap;
}
.header-cta:hover { color: #fff !important; transform: translateY(-1px); }
.menu-toggle {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
    background: var(--navy); color: #fff;
}

.hero { position: relative; min-height: 78vh; color: #fff; overflow: hidden; background: var(--navy); }
.hero-viewport { position: absolute; inset: 0; overflow: hidden; }
.hero-track {
    display: flex; height: 100%; width: 100%;
    transition: transform .7s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.hero-slide {
    position: relative; flex: 0 0 100%; width: 100%; height: 100%;
    overflow: hidden;
    transform: scale(1.04);
    transition: transform 6.5s ease-out;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide.is-active { transform: scale(1); }
.hero-overlay {
    position: relative; z-index: 2; min-height: 78vh; pointer-events: none;
    background: linear-gradient(90deg, rgba(7,21,38,.88) 0%, rgba(7,21,38,.48) 58%, rgba(7,21,38,.2) 100%);
    display: flex; align-items: center; padding: 90px 0 110px;
}
.hero-overlay .container,
.hero-overlay a { pointer-events: auto; }
.hero-nav {
    position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.16); color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px); cursor: pointer;
}
.hero-nav:hover { background: var(--flame); }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
    color: var(--gold); padding: 6px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 62px); max-width: 760px; margin: 18px 0 16px; }
.hero p.lead { color: #d9e4f0; font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-primary-site, .btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px; border-radius: 999px; font-weight: 700; border: 0;
}
.btn-primary-site { background: var(--flame); color: #fff !important; }
.btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.3); }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4);
}
.hero-dots button.is-active { background: var(--flame); width: 28px; border-radius: 999px; }

.section { padding: 88px 0; }
.section-head { margin-bottom: 36px; }
.section-head .kicker {
    color: var(--flame); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 8px 0 12px; }
.section-head p { color: var(--muted); max-width: 720px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -58px; position: relative; z-index: 4; }
.feature-card, .content-card, .info-card {
    background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #fff;
}
.feature-card { padding: 24px; }
.feature-icon {
    width: 54px; height: 54px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: #fff3ea; color: var(--flame); font-size: 22px; margin-bottom: 14px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }

.about-stage {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 36px 48px;
    align-items: center;
}
.about-visual { position: relative; padding-bottom: 108px; }
.about-photo {
    height: 400px; border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-panel {
    background: var(--navy); color: #d7e3f0; border-radius: 28px; padding: 26px 24px;
    position: absolute; left: 24px; bottom: 0; width: min(430px, calc(100% - 48px));
    overflow: hidden; z-index: 2;
    box-shadow: 0 22px 50px rgba(7, 21, 38, .28);
}
.about-panel::after {
    content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(242,107,33,.55), transparent 70%);
    pointer-events: none;
}
.about-panel > * { position: relative; z-index: 1; }
.about-panel h2 { color: #fff; margin: 10px 0 8px; font-size: clamp(22px, 2.2vw, 28px); }
.about-panel p { margin: 0 0 16px; font-size: 14px; }
.about-copy { padding: 8px 0 0; }
.about-copy .kicker { color: var(--flame); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.about-copy h2 { font-size: clamp(26px, 3vw, 38px); margin: 8px 0 14px; }
.about-copy p { color: var(--muted); margin: 0 0 20px; }
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.about-pills span {
    background: #fff; border-radius: 999px; padding: 8px 14px;
    font-weight: 800; font-size: 13px; color: var(--navy);
    box-shadow: 0 8px 20px rgba(7, 21, 38, .08);
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-box { background: rgba(255,255,255,.06); border-radius: 16px; padding: 14px; }
.stat-box strong { display: block; color: var(--gold); font-size: 26px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { display: flex; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.check-list i { color: var(--flame); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.content-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.content-card .thumb { aspect-ratio: 16/11; overflow: hidden; background: #dde5ee; }
.content-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.content-card:hover .thumb img { transform: scale(1.06); }
.content-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.content-card h3 { font-size: 20px; margin-bottom: 8px; }
.content-card p { color: var(--muted); flex: 1; }
.link-more { margin-top: 14px; font-weight: 800; color: var(--flame) !important; }

.brand-marquee { overflow: hidden; white-space: nowrap; padding: 18px 0; background: #fff; border-block: 1px solid var(--line); }
.brand-track { display: inline-flex; gap: 42px; animation: marquee 28s linear infinite; }
.brand-track span { font-weight: 800; color: var(--navy-3); letter-spacing: .08em; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.why-card { padding: 28px; }
.form-card { background: var(--navy); color: #d7e3f0; padding: 32px; border-radius: 28px; }
.form-card h2, .form-card h3, .form-card .h4 { color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card input, .form-card textarea, .contact-form input, .contact-form textarea {
    width: 100%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
    color: #fff; border-radius: 12px; padding: 12px 14px; outline: none;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: rgba(255,255,255,.55); }
.contact-form input, .contact-form textarea {
    background: #fff; color: var(--ink); border: 1px solid #dbe3ee;
}
.form-card textarea, .contact-form textarea { min-height: 120px; resize: vertical; }
.alert-ok { background: #166534; color: #fff; padding: 10px 12px; border-radius: 10px; }
.alert-err { background: #991b1b; color: #fff; padding: 10px 12px; border-radius: 10px; }

.faq-item { background: #fff; border-radius: 16px; margin-bottom: 10px; overflow: hidden; border: 1px solid var(--line); }
.faq-item button {
    width: 100%; text-align: left; background: transparent; border: 0;
    padding: 16px 18px; font-weight: 800; color: var(--navy); display: flex; justify-content: space-between;
}
.faq-item p { display: none; margin: 0; padding: 0 18px 16px; color: var(--muted); }
.faq-item.is-open p { display: block; }

.page-hero {
    background: linear-gradient(135deg, var(--navy), var(--navy-3));
    color: #fff; padding: 58px 0 46px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 14px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: #c9d6e6; }

.detail-wrap { background: #fff; border-radius: 28px; padding: 36px; box-shadow: var(--shadow); }
.detail-wrap img { border-radius: 16px; width: 100%; max-height: 480px; object-fit: cover; }
.rich-content { color: var(--ink); max-width: 860px; }
.rich-content > .lead,
.rich-content p.lead {
    font-size: 18px; color: var(--muted); margin: 0 0 22px; line-height: 1.75;
}
.rich-content .kicker {
    display: inline-block; color: var(--flame); font-weight: 800; font-size: 13px;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.rich-content h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 36px 0 14px; }
.rich-content h3 { font-size: 18px; margin: 22px 0 10px; }
.rich-content p { margin: 0 0 14px; color: var(--ink); }
.rich-content a { color: var(--flame); font-weight: 700; }
.rich-content a:hover { color: var(--navy); }
.rich-content ul, .rich-content ol {
    margin: 0 0 20px; padding: 0; list-style: none;
}
.rich-content ul li, .rich-content ol li {
    position: relative; padding: 10px 14px 10px 42px;
    margin-bottom: 8px; border-radius: 14px; background: var(--cream);
    color: var(--navy); font-weight: 600;
}
.rich-content ul li::before {
    content: ""; position: absolute; left: 16px; top: 18px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--flame);
}
.rich-content ol { counter-reset: step; }
.rich-content ol li { counter-increment: step; }
.rich-content ol li::before {
    content: counter(step); position: absolute; left: 12px; top: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--navy); color: #fff; font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.rich-content .mini-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 24px;
}
.rich-content .mini-card {
    background: var(--cream); border-radius: 18px; padding: 18px 18px 16px;
    border: 1px solid #fff; box-shadow: 0 8px 22px rgba(7, 21, 38, .05);
}
.rich-content .mini-card h3 { margin: 0 0 8px; font-size: 17px; }
.rich-content .mini-card p { margin: 0; color: var(--muted); font-weight: 500; font-size: 14px; }
.rich-content .content-cta {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.rich-content .content-cta .btn-ghost {
    color: var(--navy) !important; border-color: var(--line); background: #fff;
}
.rich-content .faq-item { margin-top: 0; }
@media (max-width: 767px) {
    .detail-wrap { padding: 22px 18px; border-radius: 20px; }
    .rich-content .mini-grid { grid-template-columns: 1fr; }
}

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.info-card { padding: 22px; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.info-card i { color: var(--flame); font-size: 22px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }

.site-footer { background: var(--navy); color: #c5d3e3; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 28px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-block; padding: 4px 0; color: #c5d3e3; }
.footer-bottom {
    margin-top: 42px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 1050; display: flex; flex-direction: column; gap: 10px; }
.float-actions a {
    width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff !important; font-size: 22px; box-shadow: var(--shadow);
}
.wa-btn { background: #25d366; }
.call-btn { background: var(--flame); }
.to-top { background: var(--navy); opacity: 0; pointer-events: none; }
.to-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 991px) {
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        position: fixed; inset: 88px 16px auto; background: #fff; border-radius: 18px;
        box-shadow: var(--shadow); padding: 12px; display: none; max-height: calc(100vh - 110px); overflow: auto;
    }
    .brand { min-width: 0; }
    .brand-copy strong { font-size: 17px; }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; filter: none; display: none; padding: 0 0 0 12px;
        pointer-events: auto;
    }
    .sub-menu li { background: transparent; border-radius: 0 !important; }
    .nav-list > li.is-open > .sub-menu { display: block; }
    .header-cta { display: none; }
    .feature-grid, .card-grid, .about-grid, .why-grid, .contact-grid, .footer-grid, .form-grid, .rich-content .mini-grid {
        grid-template-columns: 1fr;
    }
    .hero, .hero-overlay { min-height: 70vh; }
    .hero-nav { width: 40px; height: 40px; }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
    .feature-grid { margin-top: 24px; }
    .about-stage { grid-template-columns: 1fr; gap: 22px; }
    .about-visual { padding-bottom: 0; }
    .about-photo { height: 220px; }
    .about-panel { position: relative; left: 0; width: auto; margin: -72px 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
