:root {
    --bg: #f8f5ef;
    --paper: #fffdfa;
    --ink: #15171a;
    --muted: #5f6874;
    --line: #ded9cf;
    --coral: #ff6f3c;
    --teal: #0f8b8d;
    --gold: #f4b942;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background:
        radial-gradient(circle at 14% 10%, #ffe9db 0%, transparent 34%),
        radial-gradient(circle at 90% 18%, #dbf5f3 0%, transparent 30%),
        var(--bg);
    color: var(--ink);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

.page-loader {
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.site-header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-solid {
    background: rgba(255, 253, 250, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(21, 23, 26, 0.08);
}

.nav-link {
    border-radius: 9999px;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2b3138;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #ece9e2;
    color: #11161d;
}

.mobile-nav-link {
    border-radius: 0.8rem;
    padding: 0.7rem 0.95rem;
    font-weight: 600;
    color: #2a3138;
}

.mobile-nav-link.active {
    color: #0f141a;
    background: #ede9df;
}

.panel {
    background: rgba(255, 253, 250, 0.8);
    border: 1px solid rgba(20, 26, 33, 0.1);
    box-shadow: 0 18px 46px rgba(20, 24, 30, 0.06);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
    color: #22303c;
}

.kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--coral), var(--teal));
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.4rem;
}

.hero-frame::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 2rem;
    transform: rotate(14deg);
    background: linear-gradient(145deg, var(--gold), #ffd77b);
    opacity: 0.22;
}

.hero-frame::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -80px;
    width: 200px;
    height: 200px;
    border-radius: 2rem;
    transform: rotate(-12deg);
    background: linear-gradient(145deg, var(--teal), #5dd4d1);
    opacity: 0.2;
}

.hero-swiper {
    border-radius: 1.4rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid rgba(20, 26, 33, 0.12);
    background: #1f2937;
}

.hero-swiper img {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.swiper,
.swiper-wrapper,
.swiper-slide {
    max-width: 100%;
    min-width: 0;
}

.faq-item[data-open="true"] .faq-answer {
    display: block;
}

.faq-answer {
    display: none;
}

.faq-item[data-open="true"] .faq-plus {
    transform: rotate(45deg);
}

.page-in {
    animation: pageIn 0.52s ease;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero-frame::before,
    .hero-frame::after {
        opacity: 0.12;
        transform: scale(0.78);
    }
}

@media (max-width: 768px) {
    .hero-swiper img {
        height: 240px;
    }

    .hero-frame::before,
    .hero-frame::after {
        display: none;
    }
}
