/* =========================================================
   Karaoke Mundiamarillas — Landing informativa
   Paleta real tomada de css/estilos.css del proyecto
   ========================================================= */
:root {
    --color-primary: #720846;        /* magenta oscuro — marca */
    --color-primary-light: #8e0a58;  /* hover botones/header */
    --color-black: #000000;          /* gradiente header/footer */
    --color-accent: #F3AD10;         /* dorado — "amarillas" */
    --color-accent-hover: #f46c1B;   /* naranja — hover enlaces */
    --color-bg: #f4f4f4;
    --color-text: #222222;
    --color-text-muted: #444444;
    --color-white: #ffffff;
    --color-danger: #c0392b;
    --color-success: #1e7d3c;

    --header-h: 68px;
    --footer-h: 48px;

    --radius: 8px;
    --radius-modal: 14px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-modal: 0 15px 40px rgba(0, 0, 0, 0.25);

    --font-body: Arial, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
}

/* ===================== HEADER ===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: linear-gradient(135deg, var(--color-black), var(--color-primary));
    box-shadow: var(--shadow);
    z-index: 100;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.brand { display: flex; align-items: center; }
.brand__logo { height: 36px; width: auto; display: block; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--color-white);
}

/* ===================== BOTONES ===================== */
.btn {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: var(--radius);
    border: solid 1px #727071;
    cursor: pointer;
    white-space: nowrap;
    color: var(--color-white);
    background: var(--color-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s, transform 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn:hover { background: var(--color-primary-light); }

.btn--ghost {
    background: var(--color-black);
    color: var(--color-white);
}

.btn--primary {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    border: none;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    padding: 12px;
}
.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(114, 8, 70, 0.25);
}

.btn--google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: #222;
    border-color: var(--color-accent);
}
.btn--google:hover { background: var(--color-accent-hover); color: var(--color-white); }
.icon-google { width: 18px; height: 18px; flex-shrink: 0; }

.link-button {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0 0;
}
.link-button:hover { color: var(--color-accent-hover); }

/* ===================== IFRAME / BODY ===================== */
.main-frame {
    padding-top: var(--header-h);
    padding-bottom: var(--footer-h);
    height: 100vh;
    box-sizing: border-box;
}

.content-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: var(--color-white);
}

/* ===================== FOOTER ===================== */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-h);
    background: linear-gradient(135deg, var(--color-black), var(--color-primary));
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 100;
}
.site-footer p { margin: 0; }

/* ===================== MODALES ===================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }

.modal-content {
    background: var(--color-white);
    border-radius: var(--radius-modal);
    padding: 28px 26px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-modal);
    animation: popIn 0.25s ease-out;
}

@keyframes popIn {
    from { transform: translateY(-15px) scale(0.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-content h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--color-primary);
    font-size: 22px;
}

.cerrar {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 24px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
}
.cerrar:hover { color: var(--color-primary); transform: scale(1.2); }

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-content input,
.modal-content select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    padding: 11px 12px;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    outline: none;
    background: #fafafa;
    transition: 0.2s;
}
.modal-content input:focus,
.modal-content select:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(114, 8, 70, 0.1);
}

.modal-content label {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.modal__feedback {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    min-height: 18px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px 20px;
        box-shadow: var(--shadow);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav .btn { width: 100%; justify-content: center; text-align: center; }

    .brand__logo { height: 30px; }

    .modal-content { width: 92%; padding: 20px; }
}