:root {
    --bg: #08090b;
    --bg-soft: #111317;
    --panel: rgba(255, 255, 255, 0.065);
    --panel-strong: rgba(255, 255, 255, 0.105);
    --line: rgba(255, 255, 255, 0.14);
    --ink: #f7f7f4;
    --muted: #aeb3ba;
    --red: #d91622;
    --red-dark: #8f0e17;
    --white: #ffffff;
    --graphite: #181b20;
    --max: 1180px;
    --shadow: 0 34px 110px rgba(0, 0, 0, 0.54);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 16% 0%, rgba(217, 22, 34, 0.16), transparent 28rem),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.07), transparent 30rem),
        linear-gradient(180deg, #08090b 0%, #111317 46%, #08090b 100%);
    color: var(--ink);
    font-family: "Manrope", system-ui, sans-serif;
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 86px 86px;
    mask-image: linear-gradient(90deg, black, transparent 82%);
}

body.loading,
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    gap: 22px;
    background: #08090b;
    transition: opacity 600ms ease, visibility 600ms ease;
}

.preloader span {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(217, 22, 34, 0.46);
    border-radius: 50%;
    box-shadow: 0 0 48px rgba(217, 22, 34, 0.18);
}

.preloader span img { width: 58px; height: 58px; }
.preloader i { width: 160px; height: 1px; overflow: hidden; background: rgba(255,255,255,0.12); }
.preloader i::after { content: ""; display: block; width: 55%; height: 100%; background: linear-gradient(90deg, transparent, var(--red), transparent); animation: sweep 1.2s ease-in-out infinite; }
.preloader.hidden { opacity: 0; visibility: hidden; }

@keyframes sweep {
    from { transform: translateX(-100%); }
    to { transform: translateX(280%); }
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    padding: 18px 26px;
    transition: background 260ms ease, border-color 260ms ease, padding 260ms ease, transform 260ms ease;
}

.site-header.scrolled {
    padding-block: 11px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 11, 0.78);
    backdrop-filter: blur(22px);
}

.site-header.hidden { transform: translateY(-100%); }

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(100%, var(--max));
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(217, 22, 34, 0.42);
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.brand span img { width: 34px; height: 34px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    color: #e3e5e7;
    font-size: 0.88rem;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active { background: rgba(217,22,34,0.16); color: white; }

.nav-action,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-action {
    padding: 0 18px;
    border: 1px solid rgba(217, 22, 34, 0.42);
    background: rgba(217, 22, 34, 0.13);
    color: white;
}

.button { padding: 0 24px; border: 1px solid transparent; }
.button:hover, .nav-action:hover {
    transform: translateY(-3px);
}
.button:active,
.nav-action:active {
    transform: translateY(0);
}
.button-primary { background: linear-gradient(135deg, #ff3341, var(--red-dark)); color: white; box-shadow: 0 20px 60px rgba(217,22,34,0.26); }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,0.055); color: var(--ink); }
.button-quiet:hover { border-color: rgba(217,22,34,0.46); background: rgba(217,22,34,0.10); }

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    border-radius: 20px;
    background: white;
    transition: transform 220ms ease;
}

.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    padding: 118px 28px 48px;
    isolation: isolate;
}

.hero-orb {
    position: absolute;
    right: -180px;
    top: 110px;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,22,34,0.24), transparent 64%);
    filter: blur(4px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: 62px;
    width: min(100%, var(--max));
    min-height: calc(100svh - 166px);
    margin: 0 auto;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #ff4a55;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kicker::before { content: ""; width: 42px; height: 1px; background: currentColor; }

.hero h1,
.proof-copy h2,
.section-title h2,
.about-copy h2,
.authority-copy h2,
.contact-panel h2 {
    max-width: 900px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.45rem, 4.45vw, 4.45rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p {
    max-width: 660px;
    margin-top: 26px;
    color: #d5d8dc;
    font-size: clamp(1.06rem, 1.65vw, 1.28rem);
    line-height: 1.75;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.hero-badges span,
.signal-pill {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    color: #e5e7eb;
    font-size: 0.86rem;
    font-weight: 800;
}

.hero-photo,
.about-photo,
.authority-photo,
.contact-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.025));
    box-shadow: var(--shadow);
}

.hero-photo::before,
.about-photo::before,
.authority-photo::before,
.contact-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 48%, rgba(8,9,11,0.64) 100%),
        radial-gradient(circle at 48% 44%, transparent 34%, rgba(8,9,11,0.22) 100%);
}

.hero-photo img,
.about-photo img,
.authority-photo img,
.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: brightness(0.88) contrast(1.06) saturate(1.08);
}

.hero-photo { min-height: min(640px, calc(100svh - 156px)); }
.hero-photo img { padding-top: 18px; }

.photo-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: rgba(8,9,11,0.72);
    backdrop-filter: blur(16px);
}

.photo-caption span { display: block; color: #ff4a55; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.photo-caption strong { display: block; margin-top: 8px; font-size: 1.08rem; }

.proof-band,
.section,
.about-section,
.authority-section,
.contact-section {
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 112px 28px;
}

.proof-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 46px;
    align-items: center;
}

.proof-copy h2,
.section-title h2,
.about-copy h2,
.authority-copy h2,
.contact-panel h2 {
    font-size: clamp(1.85rem, 3.4vw, 3.45rem);
    line-height: 1.08;
}

.proof-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.proof-numbers div {
    min-height: 170px;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.proof-numbers div:last-child { border-right: 0; }
.proof-numbers strong { display: block; color: #ff4a55; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1; }
.proof-numbers span { display: block; margin-top: 12px; color: #e3e5e7; font-weight: 800; }

.section-title { max-width: 860px; }

.areas-layout {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: 18px;
    margin-top: 56px;
}

.areas-layout-single {
    display: block;
}

.area-feature,
.area-row,
.about-copy,
.authority-copy,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
        var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.area-feature {
    position: sticky;
    top: 104px;
    align-self: start;
    padding: 34px;
}

.area-feature span {
    color: #ff4a55;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.area-feature h3 {
    margin-top: 54px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.04;
}

.area-feature p,
.about-copy p,
.authority-copy p,
.contact-panel p,
.site-footer p,
.disclaimer {
    color: var(--muted);
    line-height: 1.75;
}

.area-feature p { margin-top: 20px; }
.area-feature .button { margin-top: 28px; width: 100%; }

.area-carousel {
    position: relative;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.area-track {
    display: grid;
    grid-auto-columns: minmax(280px, 30%);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.area-track::-webkit-scrollbar { display: none; }

.area-row {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
    min-height: 280px;
    padding: 30px;
    scroll-snap-align: start;
    transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.area-row:hover {
    transform: translateY(-6px);
    border-color: rgba(217,22,34,0.44);
    background: rgba(255,255,255,0.085);
}

.area-row > span { color: #ff4a55; font-weight: 800; }
.area-row h3 { margin-top: 62px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.08; }
.area-row p { margin-top: 14px; color: var(--muted); line-height: 1.65; }

.carousel-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(8,9,11,0.86);
    color: var(--ink);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    box-shadow: 0 16px 38px rgba(0,0,0,0.28);
}

.carousel-prev { left: -16px; }
.carousel-next { right: -16px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.22); }
.carousel-dots button.active { background: var(--red); }

.about-section,
.authority-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.about-photo { min-height: 560px; }
.about-photo img { object-position: center top; }
.about-copy,
.authority-copy { padding: clamp(30px, 5vw, 58px); }
.about-copy p,
.authority-copy p { margin-top: 20px; font-size: 1.04rem; }

.authority-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.authority-photo { min-height: 640px; }
.authority-photo img { object-position: center bottom; }

.contact-section { padding-top: 72px; }
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
    gap: 28px;
    align-items: center;
    padding: clamp(30px, 5vw, 58px);
}

.contact-panel p { max-width: 620px; margin-top: 18px; }
.contact-actions {
    margin-top: 28px;
}
.contact-photo { min-height: 460px; }
.contact-photo img { object-position: center top; }

.site-footer {
    display: grid;
    gap: 24px;
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 44px 28px 58px;
    border-top: 1px solid var(--line);
}

.site-footer strong { display: block; font-size: 1.1rem; }
.site-footer p { margin-top: 8px; max-width: 820px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #e5e7eb; font-weight: 800; }
.disclaimer { font-size: 0.9rem; max-width: 1000px; }
.site-footer small { color: #747b84; }

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c4a);
    box-shadow: 0 20px 58px rgba(37, 211, 102, 0.34);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 720ms ease, transform 720ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .nav-action { display: none; }
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 18px;
        right: 18px;
        display: grid;
        border-radius: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-14px);
        background: rgba(8, 9, 11, 0.96);
        transition: opacity 220ms ease, transform 220ms ease;
    }
    .nav-links a { padding: 15px 16px; border-radius: 6px; }
    .menu-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .hero-grid,
    .proof-band,
    .areas-layout,
    .about-section,
    .authority-section,
    .contact-panel { grid-template-columns: 1fr; }
    .hero-photo,
    .about-photo,
    .authority-photo,
    .contact-photo { min-height: auto; }
    .hero-photo img,
    .about-photo img,
    .authority-photo img,
    .contact-photo img { height: auto; }
    .area-feature { position: static; }
    .area-track { grid-auto-columns: minmax(280px, 46%); }
}

@media (max-width: 640px) {
    html { scroll-padding-top: 84px; }
    .site-header { padding: 14px 18px; }
    .brand strong { max-width: 210px; font-size: 0.88rem; line-height: 1.1; }
    .hero,
    .proof-band,
    .section,
    .about-section,
    .authority-section,
    .contact-section,
    .site-footer { padding-inline: 18px; }
    .hero { min-height: auto; padding-top: 126px; padding-bottom: 44px; }
    .hero-grid { min-height: auto; gap: 34px; }
    .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); line-height: 0.98; }
    .hero p { margin-top: 20px; font-size: 1rem; line-height: 1.62; }
    .hero-actions,
    .contact-actions { flex-direction: column; }
    .button { width: 100%; }
    .hero-badges span { width: 100%; text-align: center; }
    .proof-numbers { grid-template-columns: 1fr; }
    .proof-numbers div,
    .proof-numbers div:last-child { min-height: 128px; border-right: 0; border-bottom: 1px solid var(--line); }
    .proof-numbers div:last-child { border-bottom: 0; }
    .area-track { grid-auto-columns: minmax(260px, 86%); }
    .area-row { padding: 24px; min-height: 290px; }
    .carousel-prev { left: -8px; }
    .carousel-next { right: -8px; }
    .about-copy,
    .authority-copy,
    .contact-panel { padding: 26px; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
