@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --azul-principal: #00aeea;
    --azul-oscuro: #008fc4;
    --naranja-principal: #ff922b;
    --naranja-claro: #ffa94d;
    --blanco: #ffffff;
    --gris-claro: #f5f7f9;
    --gris-texto: #555555;
    --texto-oscuro: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #2b2b2b;
    background: #ffffff;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo-texto h2 {
    font-family: 'Poppins', sans-serif;
}

header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 7%;
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.logo-texto h2 {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #00aeea;
}

.logo-texto span {
    font-size: 13px;
    color: #777;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s ease;
}

nav a:hover {
    color: #ff922b;
}

/* =========================
   HERO PRINCIPAL
========================= */

.hero {
    min-height: 620px;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            rgba(0, 174, 234, 0.10),
            rgba(255, 146, 43, 0.08)
        );
}

.hero-left {
    max-width: 720px;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 20px;
    border-radius: 30px;
    background: rgba(0, 174, 234, 0.12);
    color: var(--azul-oscuro);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-left h1 {
    font-size: 48px;
    line-height: 1.15;
    color: var(--texto-oscuro);
    margin-bottom: 20px;
}

.hero-left > p {
    font-size: 18px;
    color: var(--gris-texto);
    max-width: 600px;
    margin-bottom: 35px;
}

/* =========================
   ESTADÍSTICAS
========================= */

.estadisticas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.stat {
    padding: 18px 12px;
    border-radius: 14px;
    background: var(--blanco);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.stat span {
    display: block;
    font-size: 12px;
    color: var(--gris-texto);
}

.stat h3 {
    margin: 4px 0;
    font-size: 24px;
    color: var(--azul-principal);
}

/* =========================
   BOTÓN PRINCIPAL
========================= */

.btn-whatsapp {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 9px;
    background: var(--naranja-principal);
    color: var(--blanco);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 146, 43, 0.25);
}

.btn-whatsapp:hover {
    background: var(--naranja-claro);
    transform: translateY(-2px);
}

/* =========================
   FORMULARIO HERO
========================= */

.hero-form {
    background: var(--blanco);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    border-top: 5px solid var(--azul-principal);
}

.hero-form h2 {
    margin-bottom: 24px;
    font-size: 28px;
    color: var(--texto-oscuro);
}

.hero-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-form input,
.hero-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #dfe3e7;
    border-radius: 9px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.hero-form input:focus,
.hero-form textarea:focus {
    border-color: var(--azul-principal);
    box-shadow: 0 0 0 3px rgba(0, 174, 234, 0.10);
}

.hero-form textarea {
    min-height: 110px;
    resize: vertical;
}

.hero-form button {
    border: none;
    padding: 15px;
    border-radius: 9px;
    background: var(--azul-principal);
    color: var(--blanco);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-form button:hover {
    background: var(--azul-oscuro);
}

/* Campo oculto anti-spam */

.honeypot {
    display: none !important;
}

/* =========================
   MENSAJE DE ÉXITO
========================= */

.mensaje-exito {
    max-width: 1180px;
    margin: 20px auto;
    padding: 14px 20px;
    border-radius: 8px;
    background: #eaf9f1;
    color: #18794e;
    font-weight: 500;
}