﻿:root {
    --bg: #000;
    --bg-soft: #111;
    --bg-elevated: #171a20;
    --text: #fff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-dim: rgba(255, 255, 255, 0.5);
    --line: rgba(255, 255, 255, 0.16);
    --solid: #fff;
    --solid-ink: #171a20;
    --ghost: rgba(23, 26, 32, 0.72);
    --radius: 4px;
    --nav-h: 64px;
    --wrap: 1160px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

html,
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p {
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site {
    min-height: 100%;
}

body.nav-open {
    overflow: hidden;
}

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

/* ---------- Nav (Tesla: overlay, thin, almost invisible) ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    color: #fff;
    transition: background 400ms var(--ease), backdrop-filter 400ms var(--ease);
}

.nav.is-scrolled,
.page-inner .nav,
body.nav-open .nav {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(18px);
}

.nav-inner {
    width: min(calc(100% - 32px), 1440px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
}

.nav-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-word {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a,
.nav-side a,
.nav-panel a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 200ms var(--ease);
}

.nav-links a:hover,
.nav-side a:hover,
.nav-panel a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-panel {
    display: none;
    z-index: 35;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 40px;
    padding: 0 28px;
    border-radius: var(--radius);
    border: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 200ms var(--ease), opacity 200ms var(--ease), background 200ms var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-solid {
    background: var(--solid);
    color: var(--solid-ink);
}

.btn-ghost {
    background: var(--ghost);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--nav-h) + 18px) 24px 28px;
    overflow: hidden;
    text-align: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-position: center 28%;
    background-size: cover;
    transform: scale(1.06);
    animation: kenburns 28s var(--ease) infinite alternate;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 38%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-copy,
.hero-actions,
.hero-scroll {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.hero-title {
    margin: 0;
    font-size: clamp(42px, 7vw, 86px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-title span {
    display: block;
}

.hero-sub {
    margin: 18px 0 0;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    color: var(--text-muted);
}

.hero-actions {
    width: min(100%, 520px);
    margin-bottom: 8vh;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-scroll i {
    width: 18px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    position: relative;
}

.hero-scroll i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: #fff;
    transform: translateX(-50%);
    animation: wheel 1.6s var(--ease) infinite;
}

.hero-slim {
    min-height: 68vh;
    justify-content: center;
}

.hero-slim .hero-actions {
    margin: 28px 0 0;
}

/* ---------- Full sections ---------- */

.panel {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 0;
    background: var(--bg);
}

.panel-photo {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.panel-photo .panel-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.15) contrast(1.05);
}

.panel-photo .panel-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.62));
}

.panel-photo .wrap {
    position: relative;
    z-index: 1;
}

.panel-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.panel-photo .panel-kicker {
    color: rgba(255, 255, 255, 0.72);
}

.panel-title {
    margin: 0;
    font-size: clamp(36px, 5.4vw, 64px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.panel-lead {
    max-width: 640px;
    margin: 22px auto 0;
    font-size: 18px;
    color: var(--text-muted);
}

.panel-photo .panel-lead {
    color: rgba(255, 255, 255, 0.82);
}

.panel-copy {
    max-width: 720px;
    margin: 28px auto 0;
    font-size: 17px;
    color: var(--text-muted);
}

.panel-copy p + p {
    margin-top: 18px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    min-height: 100dvh;
}

.split-copy,
.split-visual {
    min-height: 560px;
}

.split-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 8vw;
    background: var(--bg);
}

.split-visual {
    background-size: cover;
    background-position: center;
}

.split-copy .panel-lead,
.split-copy .panel-copy {
    margin-left: 0;
    margin-right: 0;
    max-width: 460px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 48px auto 0;
}

.stat {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.stat strong {
    display: block;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.stat span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-dim);
}

.video-frame {
    width: min(100%, 1040px);
    margin: 40px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cta-band {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: var(--bg);
}

/* ---------- Inner pages ---------- */

.page-pad {
    padding-top: var(--nav-h);
}

.contact-stack {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0 72px;
    text-align: center;
}

.contact-list {
    display: grid;
    gap: 0;
    width: min(100%, 420px);
    margin: 36px auto 0;
    text-align: left;
}

.contact-list a,
.contact-list p {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 17px;
}

.contact-list span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.contact-list a:hover {
    color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 36px 0 88px;
    background: var(--bg);
    color: var(--text-dim);
    text-align: center;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 18px;
}

.site-footer a {
    font-size: 13px;
    font-weight: 500;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer p {
    margin: 0;
    font-size: 12px;
}

/* ---------- WhatsApp ---------- */

.wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #111;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.wa:hover {
    transform: translateY(-2px);
    background: #25d366;
    border-color: #25d366;
}

.wa svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* ---------- Reveal ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Motion ---------- */

@keyframes kenburns {
    from { transform: scale(1.06); }
    to { transform: scale(1.16); }
}

@keyframes wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .hero-media { transform: none; }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .nav-inner {
        grid-template-columns: 1fr auto;
    }

.nav-links,
    .nav-side { display: none; }

    .nav-toggle { display: inline-grid; place-items: center; }

    .nav-panel {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: fixed;
        inset: var(--nav-h) 0 0;
        padding: 24px;
        background: rgba(0, 0, 0, 0.96);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 240ms var(--ease);
    }

    body.nav-open .nav-panel {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-panel a {
        font-size: 22px;
        padding: 14px 8px;
    }

    .split,
    .stats {
        grid-template-columns: 1fr;
    }

    .split-copy,
    .split-visual {
        min-height: 420px;
    }

    .btn,
    .btn-row { width: 100%; }

    .hero-actions { width: min(100%, 360px); }
}

@media (max-width: 600px) {
    .hero-title { font-size: 40px; }
    .panel { padding: 72px 0; }
    .split-copy { padding: 64px 24px; }
}
