/* ==========================================================================
   VARIABLES & ESTILOS GLOBALES - ASESORES & CONSULTORES DE LA LAGUNA (ACL)
   ========================================================================== */

:root {
    /* Paleta Corporativa Primaria */
    --primary-blue: #0a1d56;
    --secondary-blue: #03165b;
    --dark-blue: #06264f;

    /* Acentos de Marca (Inspirados en la identidad oficial ACL) */
    --accent-wine: #9e1b2f;
    --accent-wine-hover: #7f1424;
    --accent-wine-light: #fdf2f4;
    --accent-gold: #d48806;
    --accent-gold-light: #fffbe6;
    --accent-orange: #ff5f1f;
    --accent-orange-hover: #e0480a;
    --accent-orange-alt: #ff5f1f;
    --accent-orange-light: rgba(255, 95, 31, 0.08);
    --accent-orange-border: rgba(255, 95, 31, 0.22);
    --accent-blue-tech: #0969da;
    --accent-blue-light: #f0f7ff;

    /* Neutros y Superficies */
    --text-color: #1e293b;
    --text-gray: #475569;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --card-border: rgba(10, 29, 86, 0.08);
    --border-subtle: #e2e8f0;

    /* Sombras y Elevaciones */
    --shadow-sm: 0 4px 10px rgba(10, 29, 86, 0.04);
    --shadow-md: 0 10px 25px rgba(10, 29, 86, 0.08);
    --shadow-lg: 0 20px 45px rgba(10, 29, 86, 0.12);

    /* Tipografía */
    --sarabun: 'Sarabun', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sarabun);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

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

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

/* --- Botones Comunes --- */
.btn-solid,
.btn-outline,
.btn-about,
.btn-main,
.btn-wine {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-solid {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-solid:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(252, 76, 2, 0.3);
}

.btn-wine {
    background-color: var(--accent-wine);
    color: var(--white);
}

.btn-wine:hover {
    background-color: var(--accent-wine-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(158, 27, 47, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: #000000;
    transform: translateY(-3px);
}

.btn-about {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(10, 29, 86, 0.2);
}

.btn-about:hover {
    background: var(--accent-orange-alt);
    transform: translateY(-3px);
}

.btn-main {
    background: var(--accent-orange-alt);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-main:hover {
    background: var(--primary-blue);
}

.btn-arrow {
    background: var(--primary-blue);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ==========================================================================
   MODAL GLOBAL DE EMAIL PARA MÓVILES (Gmail App vs Correo / Otro)
   ========================================================================== */
.email-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.email-modal-overlay.active {
    display: flex;
}

.email-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    padding: 25px;
    text-align: center;
    animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes slideUpModal {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.email-modal-content h3 {
    margin-bottom: 20px;
    color: var(--primary-blue, #0a1d56);
    font-size: 18px;
    font-weight: 700;
}

.email-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.email-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
}

#gmail-option {
    background: #fceceb;
    color: #d93025;
}

#gmail-option:hover {
    background: #fadcd9;
}

#default-mail-option {
    background: #eefaee;
    color: #188038;
}

#default-mail-option:hover {
    background: #dcf5dc;
}

.email-modal-cancel {
    width: 100%;
    padding: 15px;
    background: #f1f3f4;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    color: #5f6368;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.email-modal-cancel:hover {
    background: #e5e7e9;
}
