/* =========================
   Variables Globales
========================= */
:root {
    --bg: #060606;
    --panel: rgba(10, 10, 10, 0.72);
    --panel-border: rgba(212, 175, 55, 0.22);
    --text: #f5efe6;
    --muted: rgba(245, 239, 230, 0.72);
    --gold: #d4af37;
    --gold-soft: #f0d77a;
    --teal: #0f6c6d;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
    --radius-pill: 999px;
    --container: 1240px;
}

/* =========================
   Reset Base
========================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

.site-main {
    min-height: 100vh;
}

/* =========================
   Header
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 24px;
}

.header-shell {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 20px;
    background:
        linear-gradient(135deg, rgba(15, 108, 109, 0.12), rgba(212, 175, 55, 0.08)),
        var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    width: 120px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.nav-link {
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-button {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.tool-button:hover {
    color: var(--text);
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.tool-button--accent {
    color: #111;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    border-color: transparent;
    font-weight: 600;
}

.tool-button--accent:hover {
    background: linear-gradient(135deg, #f6df8e, #c89b24);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 99px;
}

/* =========================
   Hero Premium
========================= */
.hero-premium {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 24px 24px 56px;
}

.hero-premium__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-premium__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-premium__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.66) 34%, rgba(0, 0, 0, 0.32) 68%, rgba(0, 0, 0, 0.40) 100%),
        radial-gradient(circle at 18% 28%, rgba(15, 108, 109, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.52));
}

.hero-premium__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 24px;
}

.hero-premium__copy {
    max-width: 620px;
    padding-top: 24px;
}

.hero-premium__kicker {
    margin: 0 0 18px;
    color: var(--gold-soft);
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero-premium h1 {
    margin: 0;
    max-width: 640px;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 1;
    font-weight: 650;
    letter-spacing: -0.04em;
    color: #f8f1e7;
}

.hero-premium__text {
    max-width: 520px;
    margin: 20px 0 0;
    color: rgba(245, 239, 230, 0.82);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-premium__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-premium__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 174px;
    padding: 15px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-premium__button:hover {
    transform: translateY(-2px);
}

.hero-premium__button--primary {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #111;
    box-shadow: 0 16px 34px rgba(212, 175, 55, 0.22);
}

.hero-premium__button--primary:hover {
    background: linear-gradient(135deg, #f6df8e, #cb9f29);
}

.hero-premium__button--secondary {
    border: 1px solid rgba(245, 239, 230, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.hero-premium__button--secondary:hover {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

/* =========================
   Footer
========================= */
.site-footer {
    position: relative;
    padding: 24px 24px 28px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(4, 4, 4, 0.92) 100%);
}

.site-footer__shell {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px 24px 18px;
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(15, 108, 109, 0.08), rgba(212, 175, 55, 0.05)),
        rgba(10, 10, 10, 0.76);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.site-footer__content {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 20px;
    align-items: start;
}

.site-footer__brand {
    max-width: 320px;
}

.site-footer__block {
    min-width: 0;
}

.site-footer__logo-link {
    display: inline-flex;
}

.site-footer__logo {
    width: 74px;
    height: auto;
}

.site-footer__text,
.site-footer__copy {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.site-footer__title {
    margin: 0 0 10px;
    color: var(--gold-soft);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__link {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.site-footer__link:hover {
    color: var(--gold-soft);
}

.site-footer__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(245, 239, 230, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.34);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-soft);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.site-footer__bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(245, 239, 230, 0.08);
}

/* =========================
   Boton Flotante WhatsApp
========================= */
.whatsapp-float-wrap {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
}

.whatsapp-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 16px 34px rgba(18, 140, 126, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 40px rgba(18, 140, 126, 0.42);
}

.whatsapp-float__svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* =========================
   Responsive 1024px
========================= */
@media (max-width: 1024px) {
    .main-nav,
    .header-tools {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .brand-logo {
        width: 104px;
    }

    .hero-premium {
        min-height: 72vh;
    }
}

/* =========================
   Responsive 900px
========================= */
@media (max-width: 900px) {
    .hero-premium {
        min-height: auto;
        padding: 20px 18px 48px;
    }

    .hero-premium__content {
        padding-top: 8px;
    }

    .hero-premium__copy {
        max-width: 100%;
        padding-top: 18px;
    }

    .hero-premium h1 {
        max-width: 100%;
        font-size: clamp(2.3rem, 9vw, 4rem);
        line-height: 1.03;
    }

    .hero-premium__text {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .hero-premium__actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 26px;
    }

    .hero-premium__button {
        width: 100%;
    }

    .site-footer__content {
        grid-template-columns: 1fr;
    }

    .site-footer__shell {
        padding: 20px 20px 16px;
    }
}

/* =========================
   Responsive 640px
========================= */
@media (max-width: 640px) {
    .site-header {
        padding: 14px;
    }

    .header-shell {
        padding: 12px 16px;
    }

    .brand-logo {
        width: 92px;
    }

    .hero-premium {
        padding: 14px 14px 36px;
    }

    .hero-premium__overlay {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.64) 42%, rgba(0, 0, 0, 0.90) 100%),
            radial-gradient(circle at 30% 20%, rgba(15, 108, 109, 0.16), transparent 38%);
    }

    .hero-premium__kicker {
        letter-spacing: 0.2em;
        font-size: 0.74rem;
    }

    .site-footer {
        padding: 20px 14px;
    }

    .whatsapp-float-wrap {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float__svg {
        width: 25px;
        height: 25px;
    }
}