/* CONFIGURACIÓN GLOBAL - Evita desbordamientos en móvil */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: white;
    text-align: center;
    overflow-x: hidden; /* Evita scroll horizontal innecesario */
}

/* HERO */
.hero-banner, .hero-blur {
    position: relative;
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(135deg, #111, #1a1a1a);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 20px; /* Padding para que la imagen no toque los bordes */
}

.hero-image {
    width: 100%;
    max-width: 1200px; /* Ajustado para mejor visualización */
    height: auto;
    border-radius: 10px;
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards, softGlow 2.5s ease-out forwards;
}

.hero-text-bottom {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: 20px;
    padding: 10px 20px;
    color: #ffcc00;
    opacity: 0;
    animation: fadeUp 1.6s ease-out forwards;
    animation-delay: 0.4s;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes softGlow {
    0% { filter: drop-shadow(0 0 0px rgba(255,255,255,0.0)); }
    100% { filter: drop-shadow(0 0 12px rgba(255,255,255,0.25)); }
}

/* CALCULADORA */
.calculadora-container {
    max-width: 500px;
    margin: 40px auto;
    text-align: left;
    padding: 20px;
}

.titulo {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffcc00;
}

label {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

input, select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #333; /* Añadido borde sutil */
    background: #222;
    color: white;
    font-size: 16px; /* Evita zoom automático en iPhone */
}

.input-row {
    display: flex;
    gap: 10px;
}

.btn-calcular {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #25d366;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-calcular:hover {
    background: #1ebe5d;
}

.resultado {
    margin-top: 25px;
    font-size: 20px;
    color: #ffcc00;
    font-weight: bold;
}

/* SECCIONES */
.section {
    margin: 40px auto;
    max-width: 600px;
    text-align: left;
    padding: 0 20px;
}

.section h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #ffcc00;
}

.counter {
    font-size: 22px;
    margin: 20px 0;
    color: #ffcc00;
    font-weight: bold;
}

.btn {
    display: block;
    background: #25d366;
    color: white;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 22px;
    margin: 25px auto;
    font-weight: bold;
    width: 85%;
    max-width: 420px;
    box-shadow: 0 0 12px rgba(37,211,102,0.4);
    transition: transform 0.2s;
}

.btn:hover {
    background: #1ebe5d;
    transform: scale(1.02);
}

.testimonial-card {
    background: #111;
    border: 1px solid #333;
    padding: 22px;
    border-radius: 14px;
    margin-bottom: 22px;
    box-shadow: 0 0 14px rgba(255,255,255,0.05);
}

.testimonial-icon {
    font-size: 30px;
    margin-bottom: 12px;
    color: #ffcc00;
}

.testimonial-name {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    color: #bbb;
}

/* FOOTER */
.footer {
    margin-top: 60px;
    padding: 40px 20px; /* Más espacio inferior para el botón fijo */
    text-align: center;
    color: #777;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* LINK DISCRETO */
.link-discreto {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    opacity: 0.5;
    transition: 0.3s ease;
}

.link-discreto:hover {
    opacity: 1;
    color: #aaa;
}

/* WHATSAPP BUTTON FIXED */
.whatsapp-fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.whatsapp-fixed-btn:hover {
    background: #1ebe5d;
}

.whatsapp-fixed-btn img {
    width: 24px;
    height: 24px;
}

/* Ajuste móvil para el botón de WhatsApp */
@media (max-width: 480px) {
    .whatsapp-fixed-btn {
        width: auto;
        bottom: 15px;
        right: 15px;
        font-size: 14px;
        padding: 10px 16px;
    }
}