* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(160deg, #0a1628 0%, #0d2137 50%, #0a1f30 100%);
    color: #f0f4f8;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.logo {
    width: 70px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.5));
}

.header h1 {
    font-size: 28px;
    margin: 0;
    letter-spacing: 2px;
    color: #f0f4f8;
}

.header span {
    color: #facc15;
    text-shadow: 0 0 18px rgba(250, 204, 21, 0.7);
}

.header p.lema {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #38bdf8;
    letter-spacing: 1px;
}

/* MENU */
.menu {
    position: relative;
    background: linear-gradient(90deg, #0d2137, #0f2d4a);
    padding: 8px 15px;
    border-radius: 30px;
    margin: 15px 0;
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #facc15;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    margin: 0;
}

.menu-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.menu-links a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s;
}

.menu-links a:hover {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
}

.btn-menu {
    background: linear-gradient(135deg, #facc15, #fbbf24) !important;
    color: #0a1628 !important;
    font-weight: bold;
    border-radius: 20px !important;
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.5);
}

.btn-menu:hover {
    background: linear-gradient(135deg, #fde047, #facc15) !important;
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.75) !important;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px 0 25px 0;
}

.hero-texto { width: 100%; }

.hero-texto h2 {
    font-size: 42px;
    margin: 0 0 14px 0;
    line-height: 1.2;
    color: #f0f4f8;
}

.hero-texto span {
    background: linear-gradient(90deg, #22c55e, #facc15, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-texto p {
    font-size: 18px;
    color: #38bdf8;
    margin: 0;
}

/* BOTONES */
button {
    padding: 12px 22px;
    margin-top: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: white;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    touch-action: manipulation;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.4);
    transition: box-shadow 0.2s, transform 0.1s;
}

button:hover {
    box-shadow: 0 0 26px rgba(59, 130, 246, 0.7);
    transform: translateY(-1px);
}

button:active { transform: translateY(0); }

/* BENEFICIOS */
.beneficios {
    margin: 30px 0;
    padding: 30px 25px;
    background: linear-gradient(135deg, #0d2137, #0f2d4a);
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.beneficios-titulo {
    text-align: center;
    color: #facc15;
    font-size: 24px;
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.beneficio-card {
    background: linear-gradient(135deg, #0a1e35, #0d2848);
    border-radius: 15px;
    padding: 22px 18px;
    text-align: center;
    border: 1px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.beneficio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.6);
}

.beneficio-icono {
    font-size: 38px;
    display: block;
    margin-bottom: 10px;
}

.beneficio-card h3 {
    color: #22c55e;
    font-size: 15px;
    margin: 0 0 8px 0;
}

.beneficio-card p {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* GALERÍA */
.imagenes-reorganizadas {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    margin: 25px 0;
    padding: 15px;
    background: linear-gradient(135deg, #0d2137, #0f2d4a);
    border-radius: 20px;
    border: 1px solid rgba(250, 204, 21, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.imagen-reorganizada {
    flex: 1;
    object-fit: cover;
    border-radius: 15px;
    width: 100%;
    max-width: 100%;
    border: 2px solid rgba(56, 189, 248, 0.2);
}

.imagen-reorganizada.horizontal { height: 300px; }
.imagen-reorganizada.vertical   { height: 450px; }

/* CALCULADORA */
.calculadora {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #0d2137, #0f2d4a);
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.calculadora h2 {
    text-align: center;
    margin-bottom: 6px;
    font-size: 22px;
    color: #facc15;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
    letter-spacing: 0.5px;
}

.calc-subtitulo {
    text-align: center;
    color: #38bdf8;
    font-size: 14px;
    margin: 0 0 22px 0;
}

/* GRID EQUIPOS */
#lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* TARJETAS */
.equipo {
    background: linear-gradient(135deg, #0a1e35, #0d2848);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(250, 204, 21, 0.2);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.equipo:hover {
    border-color: rgba(250, 204, 21, 0.55);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.15);
}

.equipo b { color: #f0f4f8; font-size: 13px; }
.equipo p { color: #22c55e; font-weight: bold; margin: 6px 0; font-size: 14px; }

/* INPUTS */
.inputs {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 8px;
}

.input-box { display: flex; flex-direction: column; flex: 1; }

.input-box label {
    font-size: 11px;
    margin-bottom: 4px;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

input[type="number"] {
    width: 100%;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px;
    font-size: 14px;
    background: #0a1628;
    color: #f0f4f8;
    outline: none;
}

input[type="number"]:focus {
    border-color: #facc15;
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.35);
}

/* RESULTADO */
#resultado {
    margin-top: 15px;
    padding: 18px;
    background: linear-gradient(135deg, #0a1e35, #0d2848);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 16px;
    line-height: 2;
    color: #cbd5e1;
}

/* ASESOR WHATSAPP */
.asesor {
    margin: 30px 0;
    padding: 35px 25px;
    background: linear-gradient(135deg, #14532d, #166534);
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.asesor-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.asesor-texto { flex: 1; min-width: 240px; }
.asesor-texto h2 { font-size: 24px; margin: 0 0 10px 0; color: #f0fdf4; }
.asesor-texto h2 span { color: #4ade80; }
.asesor-texto p { color: #bbf7d0; font-size: 14px; line-height: 1.7; margin: 0 0 15px 0; }

.asesor-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.asesor-lista li { color: #d1fae5; font-size: 14px; }

.asesor-boton-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.btn-whatsapp {
    display: inline-block;
    padding: 16px 32px;
    background: #25d366;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.55);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    white-space: nowrap;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 38px rgba(37, 211, 102, 0.8);
}

.asesor-numero { color: #bbf7d0; font-size: 15px; margin: 0; letter-spacing: 1px; }

/* =====================
   RESPONSIVE - TABLET
   ===================== */
@media (max-width: 768px) {
    .header h1 { font-size: 22px; }
    .logo { width: 55px; }
    .hamburger { display: block; }
    .menu { border-radius: 15px; padding: 8px 15px; }
    .menu-links { display: none; flex-direction: column; align-items: flex-start; width: 100%; padding-top: 10px; gap: 0; }
    .menu-links.open { display: flex; }
    .menu-links a { width: 100%; padding: 10px 5px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .hero-texto h2 { font-size: 28px; }
    .hero-texto p { font-size: 15px; }
    .imagenes-reorganizadas { flex-direction: column; align-items: stretch; }
    .imagen-reorganizada.horizontal, .imagen-reorganizada.vertical { height: 220px; }
    .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
    .beneficios-titulo { font-size: 20px; }
    #lista { grid-template-columns: repeat(2, 1fr); }
    button { font-size: 14px; padding: 10px 15px; }
    .asesor-contenido { flex-direction: column; text-align: center; }
    .asesor-lista { align-items: center; }
    .asesor-texto h2 { font-size: 20px; }
}

/* =====================
   RESPONSIVE - MÓVIL
   ===================== */
@media (max-width: 480px) {
    .container { padding: 10px; }
    .header h1 { font-size: 18px; }
    .header p { font-size: 11px; }
    .logo { width: 45px; }
    .hero-texto h2 { font-size: 22px; }
    .hero-texto p { font-size: 14px; }
    .imagen-reorganizada.horizontal, .imagen-reorganizada.vertical { height: 180px; }
    .beneficios-grid { grid-template-columns: 1fr; }
    .beneficios { padding: 20px 15px; }
    .beneficios-titulo { font-size: 18px; }
    #lista { grid-template-columns: 1fr; }
    .calculadora { padding: 15px; }
    .calculadora h2 { font-size: 18px; }
    button { width: 100%; margin-right: 0; font-size: 14px; }
    .btn-whatsapp { font-size: 15px; padding: 14px 24px; width: 100%; }
    .asesor { padding: 25px 15px; }
}
