:root {
    --purple: #3B176B;
    --purple-deep: #2a1050;
    --purple-dark: #1f0c3d;
    --gold: #D4AF37;
    --gold-deep: #c49a22;
    --white: #ffffff;
    --ink: #2c1846;
    --muted: #6a6174;
    --card: #f3f0f6;
    --soft: #f7f4fa;
    --max: 1200px;
    --font: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.08; color: var(--purple); }
p { margin: 0 0 1em; }

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.topbar {
    background: var(--purple);
    color: #fff;
    font-size: .76rem;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-right { letter-spacing: .16em; font-weight: 700; font-size: .7rem; }

.nav-shell {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: 0 1px 0 rgba(92,45,145,.08);
}
.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--purple); }
.brand-text strong {
    display: block;
    font-size: 1.4rem;
    letter-spacing: .14em;
    line-height: 1;
}
.brand-text small {
    display: block;
    margin-top: 2px;
    color: var(--gold-deep);
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
}
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
    color: #3a2a4d;
    font-size: .9rem;
    font-weight: 600;
    padding: 8px 11px;
}
.site-nav a.is-active {
    color: var(--purple);
    box-shadow: inset 0 -2px 0 var(--gold);
}
.nav-cta {
    margin-left: 10px;
    background: var(--gold) !important;
    color: var(--purple-dark) !important;
    padding: 11px 18px !important;
    border-radius: 8px;
    font-weight: 800 !important;
}
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 6px 10px; background: var(--purple); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--purple-dark); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-line {
    background: #fff;
    color: var(--purple);
    border: 1.5px solid var(--purple);
}
.btn-line-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.8);
}

/* ===== HERO CAROUSEL (full-bleed, bulletproof) ===== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #2a114c;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.hero-shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(90deg, rgba(30,10,55,0.72) 0%, rgba(30,10,55,0.38) 42%, rgba(30,10,55,0.12) 72%, rgba(30,10,55,0.05) 100%);
}
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
}
.hero-content .kicker {
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 800;
    margin: 0 0 14px;
}
.hero-content h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    max-width: 15ch;
    margin: 0 0 16px;
}
.hero-content h1 .gold { color: var(--gold); }
.hero-content .lead {
    color: rgba(255,255,255,0.92);
    max-width: 48ch;
    font-size: 1.05rem;
    margin: 0;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.carousel-btn {
    position: absolute;
    z-index: 4;
    top: 50%;
    margin-top: -22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.carousel-btn:hover { background: var(--gold); color: var(--purple-dark); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
}
.carousel-dots .dot.is-active { background: var(--gold); }

.section { padding: 70px 0; }
.section-choose { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head .kicker,
.choose-copy .kicker {
    color: var(--gold-deep);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .74rem;
    font-weight: 800;
}
.section-head h2 { font-size: 2.15rem; }

.services-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.services-row-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-item {
    background: var(--card);
    border-radius: 12px;
    padding: 26px 16px 20px;
    text-align: center;
    min-height: 200px;
}
.service-item .ico { color: var(--gold-deep); margin-bottom: 12px; }
.service-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.service-item p { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.45; }

.choose-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 36px;
    align-items: center;
}
.progress-photo {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 4px;
}
.progress-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.progress-banner {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 74%;
    color: #fff;
    background: var(--purple);
    padding: 34px 26px 22px;
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
}
.progress-banner strong { display: block; font-size: 1.35rem; margin-bottom: 6px; }
.progress-banner p { margin: 0; font-size: .92rem; opacity: .95; }
.choose-copy h2 { font-size: 2rem; }
.muted { color: var(--muted); }
.choose-bottom {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 16px;
    align-items: end;
}
.list-check { list-style: none; padding: 0; margin: 18px 0 0; }
.list-check li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 7px 0;
    font-weight: 600;
}
.list-check svg { color: var(--gold-deep); flex: 0 0 20px; }
.partnership-box {
    background: #efe8f6;
    color: var(--purple);
    border-radius: 8px;
    padding: 18px 12px;
    text-align: center;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .72rem;
    line-height: 1.4;
}
.partnership-box svg { color: var(--purple); margin-bottom: 8px; }

.zero-band {
    background: var(--purple);
    color: #fff;
    padding: 28px 0;
}
.zero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.zero-copy { display: flex; align-items: center; gap: 16px; text-align: left; }
.zero-copy svg { flex: 0 0 54px; color: #fff; }
.zero-copy h2 { color: #fff; margin: 0; text-transform: uppercase; font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.zero-copy p { margin: 4px 0 0; letter-spacing: .12em; font-size: .78rem; font-weight: 700; }

.page-head {
    background: var(--purple);
    color: #fff;
    padding: 64px 0 48px;
}
.page-head h1 { color: #fff; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-head .kicker { color: var(--gold); letter-spacing: .18em; text-transform: uppercase; font-size: .74rem; font-weight: 800; }
.page-head p { color: rgba(255,255,255,.88); max-width: 54ch; margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 24px; }
.form-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 28px; }
label { display: block; font-size: .86rem; font-weight: 700; margin: 14px 0 6px; }
input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d9d2e1;
    font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.alert-ok { background: #eaf7ef; color: #14532d; }
.alert-err { background: #fdecec; color: #7f1d1d; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; position: relative; height: 280px; overflow: hidden; border-radius: 10px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.gallery-grid figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px; color: #fff;
    background: linear-gradient(transparent, rgba(42,17,76,.9));
}
.prep-note {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: var(--soft);
    padding: 36px 28px;
    border-radius: 12px;
}

.site-footer {
    background: var(--purple-dark);
    color: rgba(255,255,255,.84);
    padding: 48px 0 18px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .9fr 1fr;
    gap: 28px;
}
.site-footer h4 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 10px;
}
.site-footer a { display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .82rem;
}
.socials { display: flex; gap: 10px; margin-top: 10px; }
.socials a {
    width: 28px; height: 28px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0;
}

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0;
        top: calc(100% + 8px);
        background: #fff;
        padding: 12px;
        border-radius: 12px;
        flex-direction: column;
        box-shadow: 0 12px 30px rgba(0,0,0,.12);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { text-align: center; padding: 12px; }
    .services-row { grid-template-columns: 1fr 1fr; }
    .choose-grid, .two-col, .values-grid, .footer-grid, .form-row, .choose-bottom {
        grid-template-columns: 1fr;
    }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .hero-banner { height: 520px; }
}
@media (max-width: 640px) {
    .wrap { width: min(var(--max), calc(100% - 24px)); }
    .topbar-right { display: none; }
    .services-row, .gallery-grid { grid-template-columns: 1fr; }
    .hero-banner { height: 560px; }
    .hero-content h1 { font-size: 2rem; }
    .carousel-btn { display: none; }
}
