/* ==========================================================================
   1. VARIABLES (:root)
   ========================================================================== */
:root {
    --bg: #ffffff;
    --paper: #ffffff;
    --text: #111318;
    --muted: #5b616e;
    --line: #ececec;

    --sp-red: #8d1020;
    --sp-red-2: #6f0c18;
    --sp-gold: #c89b1a;

    --navText: rgba(255, 255, 255, .90);
    --navText2: rgba(255, 255, 255, .68);
    --accent: var(--sp-gold);

    --max: 1120px;
    --pad: 22px;
    --pad-lg: 34px;
    --nav-h: 70px;
}

/* ==========================================================================
   2. RESETEO Y BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    min-height: 100%;
}

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

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

[hidden] {
    display: none !important;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.lm-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

main {
    flex: 1 0 auto;
}

.page {
    padding: 40px 0 60px;
    background: #fff;
}

.sec-title {
    font-size: 56px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
    margin: 2rem 0 0;
}

.sub {
    margin: 14px auto 0;
    color: var(--muted);
    max-width: 72ch;
    font-size: 18px;
    text-align: center;
    line-height: 1.55;
}

/* ==========================================================================
   3. CABECERA Y NAVEGACIÓN
   ========================================================================== */
.nav-flagbar {
    width: 100%;
    height: 7px;
    background: linear-gradient(to right, #aa151b 0%, #aa151b 33.333%, #f1bf00 33.333%, #f1bf00 66.666%, #aa151b 66.666%, #aa151b 100%);
}

header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: linear-gradient(180deg, rgba(141, 16, 32, .98), rgba(111, 12, 24, .98));
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-row {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 56px;
    width: auto;
    display: block;
    border-radius: 12px;
}

.st-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--navText2);
}

.st-nav a {
    padding: 10px 6px;
    border-radius: 12px;
}

.st-nav a:hover {
    color: var(--navText);
    background: rgba(255, 255, 255, .08);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 60;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, .90);
    border-radius: 3px;
}

/* ==========================================================================
   4. FORMULARIO DE BAJA
   ========================================================================== */
.lm-form-container {
    max-width: 720px;
    margin: 34px auto 0;
}

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    font-size: 16px;
    color: #5b616e;
    margin-bottom: 10px;
}

input[type="email"],
textarea {
    width: 100%;
    border: 2px solid #ececec;
    border-radius: 18px;
    padding: 16px 18px;
    font-size: 16px;
    outline: none;
    background: #fff;
    color: #111318;
    font-family: Helvetica, Arial, sans-serif;
}

textarea {
    min-height: 180px;
    resize: vertical;
}

input[type="email"]:focus,
textarea:focus {
    border-color: rgba(141, 16, 32, .34);
    box-shadow: 0 0 0 4px rgba(141, 16, 32, .08);
}

.lm-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.lm-submit {
    margin-left: auto;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    background: #aa141b;
    color: white;
    box-shadow: 0 14px 30px rgba(200, 155, 26, .18);
}

.btn-submit:hover {
    filter: brightness(1.03);
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
footer {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    padding: 22px 0;
    color: var(--muted);
    font-size: 12px;
    background: #fff;
    text-align: center;
}

.foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.foot a {
    text-decoration: underline;
}

/* ==========================================================================
   6. RESPONSIVE
   ========================================================================== */
@media (min-width: 980px) {
    .wrap {
        padding: 0 var(--pad-lg);
    }
}

@media (max-width: 980px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .brand img {
        height: 46px;
    }

    .st-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(111, 12, 24, .98);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 16px 22px;
    }

    .st-nav.active {
        display: flex;
    }

    .sec-title {
        font-size: 46px;
    }

    .sub {
        font-size: 17px;
    }
}

@media (max-width: 520px) {
    .sec-title {
        font-size: 40px;
    }

    .lm-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .lm-submit,
    .btn-submit {
        width: 100%;
    }
}


