/*
' Copyright (c) 2025 julius2grow.com
'  All rights reserved.
*/

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.termometro-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 28px 16px 40px;
    position: relative;
    text-align: center;
    background-color: #F5F0E8;
    /* Fondo beige/crema claro */
}

.flex-container {
    display: flex;
    justify-content: space-between;
    /* Espacio entre las columnas */
    gap: 20px;
    /* Espacio entre columnas */
   /* max-width: 1200px;*/
    margin: 0 auto;
}

.flex-item {
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    /* Hace que ambas columnas tengan el mismo tamaño */
}

/* ============================================
   SECCIÓN SLOGAN (FONDO VERDE CLARO)
   ============================================ */
.slogan-section {
    background-color: #90EE90;
    /* Verde claro */
    padding: 40px 20px;
    text-align: center;
}

.slogan-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.slogan-text-1 {
    display: inline-block;
    background-color: #20B2AA;
    /* Teal/turquesa */
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
}

.slogan-text-2 {
    font-size: 72px;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 0 #000, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000;
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', sans-serif;
}

.slogan-text-3 {
    font-size: 24px;
    color: #000;
    font-weight: 500;
}

/* ============================================
   SECCIÓN FORMULARIO (FONDO BLANCO)
   ============================================ */
.form-section {
    background-color: transparent;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.form-intro {
    margin: 0 auto 14px;
    max-width: 920px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    text-align: left;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.form-intro strong {
    font-weight: 700;
    color: #000;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0;
    position: relative;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-control-custom {
    /*background: rgba(255, 192, 203, 0.3);*/
    border: none !important;
    border-radius: 25px !important;
    padding: 1rem 1.5rem !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500 !important;
    color: #666 !important;
    margin-bottom: 1rem;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.form-control-custom:focus {
   /* background: rgba(255, 192, 203, 0.5);*/
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.3);
    outline: none;
    border: none;
    transform: translateY(-2px);
}

.form-control-custom::placeholder {
    color: #999;
    font-weight: 500;
}

.checkbox-field {
    margin-top: 0;
}


.field-error {
    color: #D32F2F;
    font-size: 12px;
    margin-top: -5px;
    display: none;
}

.field-error:not(:empty) {
    display: block;
}

.btn-submit {
    background-color: #2c3e50 !important;
    color: #ffeb3b !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none !important;
    border-radius: 25px !important;
    padding: 1rem 3rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    display: block !important;
    margin: 2rem auto 0;
    min-width: 200px;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-submit:hover {
    background: #34495e !important;
    color: #fff200 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: #C8E6C9;
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.form-message.error {
    background-color: #FFCDD2;
    color: #C62828;
    border: 1px solid #F44336;
}

/* ============================================
   SECCIÓN TERMÓMETRO (FONDO ROSADO)
   ============================================ */
.thermo-section {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 400px;
}

.thermo-header-text {
    margin-bottom: 20px;
}

.thermo-header-text p {
    margin: 0 auto 0;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    padding-bottom: 0;
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.bo-morado {
    margin: 0px auto 0px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    background: #e67398;
    width: 40%;
    padding: 5px;
    border-radius: 9px;
    color: #fff;
}

.thermo-header {
    margin-bottom: 30px;
}

.thermo-title-1 {
    font-size: 32px;
    color: white;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', sans-serif;
    margin-bottom: 10px;
}

.thermo-title-2 {
    font-size: 72px;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 0 #000, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000;
    line-height: 1;
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', sans-serif;
    margin-bottom: 15px;
}

.thermo-subtitle {
    display: inline-block;
    background-color: #20B2AA;
    /* Teal */
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
}

.thermo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    position: relative;
    overflow: visible;
}

.thermo-svg-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    overflow: visible;
}

/* Termómetro basado en divs - diseño simple y funcional */
.termometro {
    position: relative;
    width: 90px;
    height: 500px;
    margin: 0 auto;
}

/* Contorno general (una sola figura continua) */
.contorno {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    border: 8px solid #000;
    border-radius: 60px;
    overflow: visible;
    /* Permitir que la punta se vea */
    background: #ffffff;
    /* Fondo blanco */
    z-index: 0;
}

/* Relleno de fondo azul celeste con opacidad (siempre visible) */
.relleno-fondo {
    position: absolute;
    bottom: 0;
    left: 15px;
    /* Padding interno de 15px desde la izquierda */
    right: 15px;
    /* Padding interno de 15px desde la derecha */
    top: 20px;
    /* Margin desde arriba para no pegar al top */
    background: rgba(176, 212, 232, 0.6);
    /* Azul celeste con opacidad */
    z-index: 1;
    border-radius: 0 0 45px 45px;
    /* Esquinas redondeadas abajo */
    box-sizing: border-box;
    overflow: hidden;
    /* Asegurar que no se vea nada fuera del clip-path */
    /* Forma puntiaguda redondeada en la parte superior usando polygon con más puntos para simular curva */
    clip-path: polygon(0% 50px,
            5% 45px,
            15% 35px,
            30% 20px,
            50% 10px,
            70% 20px,
            85% 35px,
            95% 45px,
            100% 50px,
            100% 100%,
            0% 100%);
}

/* Asegurar que no haya pseudo-elementos */
.relleno-fondo::before,
.relleno-fondo::after {
    display: none;
    content: none;
}

/* Relleno del termómetro según porcentaje */
.relleno {
    position: absolute;
    bottom: -45px;
    /* Extender hacia abajo para conectar con el bulbo */
    left: 15px;
    /* Padding interno de 15px desde la izquierda */
    right: 15px;
    /* Padding interno de 15px desde la derecha */
    background: #e41e26;
    /* Color inicial del relleno (se actualiza según porcentaje) */
    height: 0px;
    /* Altura en píxeles, controlada por JavaScript */
    max-height: 480px;
    /* Altura máxima del tallo (500px - 20px del top del relleno-fondo) */
    transition: height 1.5s ease, background 0.8s ease, clip-path 0.5s ease;
    z-index: 4;
    /* Por encima del relleno de fondo y del bulbo, pero detrás de la escala y caritas */
    border-radius: 0 0 45px 45px;
    /* Ajustado para el padding */
    box-sizing: border-box;
    margin-bottom: 25px;
    overflow: visible;
    /* Permitir que la punta redondeada se vea */
    /* Forma puntiaguda redondeada en la parte superior usando polygon con más puntos para simular curva */
    clip-path: polygon(0% 50px,
            5% 45px,
            15% 35px,
            30% 20px,
            50% 10px,
            70% 20px,
            85% 35px,
            95% 45px,
            100% 50px,
            100% 100%,
            0% 100%);
}

/* Extensión del relleno hacia el bulbo para crear conexión visual */
.relleno::after {
    content: "";
    position: absolute;
    bottom: -45px;
    /* Desde el bottom del contenedor, alineado con el bulbo */
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    /* Ancho del bulbo menos padding (140px - 30px) */
    height: 110px;
    background: inherit;
    border-radius: 50%;
    z-index: 4;
    /* Mismo z-index que el relleno para estar por encima del bulbo */
    opacity: var(--bulbo-opacity, 0);
    transition: opacity 0.3s ease, background 0.8s ease;
}

/* Cuando el relleno está por encima del 90%, aplicar la misma forma puntiaguda que el relleno-fondo */
.relleno.alta {
    margin-bottom: 25px;
    clip-path: polygon(0% 50px,
            5% 45px,
            15% 35px,
            30% 20px,
            50% 10px,
            70% 20px,
            85% 35px,
            95% 45px,
            100% 50px,
            100% 100%,
            0% 100%);
}

/* Escala interna */
.escala {
    position: absolute;
    inset: 0;
    z-index: 5;
    /* Por encima del relleno para que se vean las líneas */
    pointer-events: none;
}

.escala::before {
    content: "";
    position: absolute;
    left: 15px;
    /* Mismo padding que el relleno */
    right: 15px;
    /* Mismo padding que el relleno */
    top: 9%;
    bottom: 26%;
    /* se detiene antes del círculo base */
    background: repeating-linear-gradient(to bottom,
            transparent 0,
            transparent 18%,
            black 18.5%,
            black 19%);
    opacity: 0.9;
}

/* Base circular integrada */
.base {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border: 8px solid transparent;
    /* Borde transparente por defecto */
    border-left-color: #000;
    /* Borde izquierdo negro */
    border-right-color: #000;
    /* Borde derecho negro */
    border-bottom-color: #000;
    /* Borde inferior negro */
    /* border-top-color: transparent; ya está transparente */
    border-radius: 50%;
    /* Mantener círculo completo */
    background: #ffffff;
    /* Fondo blanco */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    /* Por encima del relleno (z-index: 4) para que la carita se vea */
    transition: background 0.8s ease;
    padding: 15px;
    /* Padding interno de 15px */
    box-sizing: border-box;
}

/* Relleno de fondo del bulbo (azul celeste con opacidad) */
.base::after {
    content: "";
    position: absolute;
    inset: 15px;
    /* Padding de 15px en todos los lados */
    background: rgba(176, 212, 232, 0.6);
    /* Azul celeste con opacidad - siempre visible */
    border-radius: 50%;
    z-index: 1;
}

/* Relleno interno del bulbo según porcentaje */
.base::before {
    content: "";
    position: absolute;
    inset: 15px;
    /* Padding de 15px en todos los lados */
    background: var(--base-color, transparent);
    /* Color según porcentaje (transparente por defecto) */
    border-radius: 50%;
    z-index: 2;
    /* Por encima del relleno de fondo pero detrás de la carita */
    transition: background 0.8s ease;
}


/* Carita SVG con expresiones detalladas - más grande y visible */
.carita {
    width: 110px;
    height: 110px;
    z-index: 5;
    /* Por encima del relleno, del bulbo y de todo */
    transition: transform 0.3s ease;
    padding: 10px;
    /* Padding ajustado */
    position: relative;
    /* Para que el z-index funcione */
}

/* Ocultar todas las bocas por defecto */
.carita .mouth {
    display: none;
}

/* Mostrar solo la boca activa */
.carita .mouth.active {
    display: block;
}

/* Ojos más visibles con sombra */
.carita .eye {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: blink 3s infinite;
}

@keyframes blink {

    0%,
    90%,
    100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0.1);
    }
}

/* Bocas más visibles con sombra */
.carita .mouth {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Texto a la derecha del termómetro */
.burbuja-texto {
    position: absolute;
    right: -200px;
    /* Más separado del icono de ubicación */
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    color: #333;
    /* Color gris oscuro para el texto */
    font-size: 0.75rem;
    /* Texto más pequeño */
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    /* Fuente sans-serif más genérica y limpia */
    z-index: 9;
    /* Debajo de la burbuja */
    transition: top 0.5s ease;
    /* Sin fondo, sin borde, solo texto */
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    /* Alineación a la izquierda */
}

/* Burbuja con icono de localización SVG (sin fondo) */
.burbuja {
    position: absolute;
    right: -50px;
    /* Pegado al div relleno del termómetro */
    top: 20%;
    transition: top 0.5s ease;
    z-index: 11;
    /* Por encima del texto */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icono de localización SVG - más grande */
.burbuja .icono-ubicacion {
    width: 48px;
    height: 48px;
    display: block;
}

.burbuja-texto strong {
    display: block;
    margin-bottom: 0;
    font-weight: 700;
    /* Negrita más marcada */
    line-height: 1.5;
}

@keyframes fadeInBubble {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.progress-info {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    display: inline-block;
}

.progress-text {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.progress-percentage {
    font-size: 36px;
    font-weight: 900;
    color: #20B2AA;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {

    /* En mobile, cambiar a layout vertical */
    .flex-container {
        flex-direction: column;
        /* Cambiar a columna en pantallas pequeñas */
        gap: 20px;
    }

    .termometro-container {
        padding: 28px 16px 40px;
    }

    .form-section {
        flex: none;
    }

    .thermo-section {
        min-width: auto;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-intro {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .bo-morado {
        margin: 0px auto 0px;
        font-size: 22px;
        line-height: 1.5;
        font-weight: 600;
        text-align: center;
        background: #e67398;
        width: 70%;
        padding: 5px;
        border-radius: 9px;
        color: #fff;
    }

    .form-control-custom {
        font-size: 1rem;
        padding: 0.875rem 1.25rem !important;
    }

    .btn-submit {
        font-size: 1.2rem !important;
        padding: 0.875rem 2rem !important;
        letter-spacing: 1px;
    }

    .slogan-text-2 {
        font-size: 48px;
    }

    .thermo-title-2 {
        font-size: 48px;
    }

    .thermo-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .thermo-svg-container {
        flex-direction: column;
        max-width: 100%;
    }

    .termometro {
        width: 70px;
        height: 400px;
    }

    .burbuja {
        position: relative;
        right: -70px;
        top: auto;
        width: 25px;
        height: 25px;
        margin-top: -30px;
    }

    .burbuja::after {
        display: none;
    }

    .burbuja-texto {
        position: relative;
        right: -150px;
        top: auto;
        width: 100%;
        max-width: 300px;
        margin-top: 10px;
        transform: none;
    }

    .form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {

    .slogan-section,
    .form-section,
    .thermo-section {
        padding: 20px 15px;
    }

    .slogan-text-2 {
        font-size: 36px;
    }

    .thermo-title-2 {
        font-size: 36px;
    }

    .termometro {
        width: 60px;
        height: 350px;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.thermo-fill {
    animation: pulse 2s ease-in-out infinite;
}

/* Easing personalizado para animación suave */
.easeOutCubic {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
    --tube: #e9f3ff;
    /* fondo del tubo */
    --tube-border: #111;
    /* borde negro del termómetro */
    --p: 0.15;
    /* porcentaje inicial 0..1 */
    --accent: #e41e26;
    /* color dinámico del mercurio */
    --shadow: 0 6px 18px rgba(0, 0, 0, .18);
    --transition: 560ms cubic-bezier(.2, .95, .25, 1);
}

* {
    box-sizing: border-box
}

.card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 24px
}

.title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 16px
}


.thermo {
    position: relative;
    width: min(220px, 40vw);
    margin-inline: auto;
    overflow: visible;
    /* Permitir que el termómetro se vea completo */
}

.thermo svg {
    display: block;
    width: 100%;
    min-height: 860px !important;
    height: 860px !important;
    overflow: visible;
    /* Asegurar que el SVG no corte contenido */
}

.tick text {
    font-size: 10px;
    fill: #7b8899
}


.callout {
    position: absolute;
    inset: auto 0 10% 100%;
    width: min(280px, 36vw);
    transform: translateX(12px);
}

.callout .bubble {
    position: relative;
    background: #fff;
    border: 3px solid #111;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.callout .bubble:before {
    content: "";
    position: absolute;
    left: -14px;
    top: 22px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 14px solid #111
}

.callout .bubble:after {
    content: "";
    position: absolute;
    left: -10px;
    top: 24px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid #fff
}

.callout h3 {
    margin: .2rem 0 .25rem;
    font-size: 1.05rem
}

.callout p {
    margin: 0;
    line-height: 1.28
}


/* Panel de control (demo) */
.controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap
}

.controls .row {
    display: flex;
    align-items: center;
    gap: 10px
}

.controls input[type="range"] {
    accent-color: var(--accent);
    width: min(360px, 60vw)
}

.legend {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chip {
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    user-select: none;
    transition: transform .12s ease
}

.chip:hover {
    transform: translateY(-1px)
}


/* Colores por estado */
.thermo.state-start,
.state-start .thermo {
    --accent: #e41e26
}

.thermo.state-rise,
.state-rise .thermo {
    --accent: #ff8c00
}

.thermo.state-feels,
.state-feels .thermo {
    --accent: #f3cf00
}

.thermo.state-near,
.state-near .thermo {
    --accent: #a7d60d
}

.thermo.state-goal,
.state-goal .thermo {
    --accent: #0dbb2a
}

/* Animaciones suaves para el fill */
#fill {
    transition: all 560ms cubic-bezier(.2, .95, .25, 1);
}

/* Ocultar todas las bocas por defecto, mostrar solo la activa */
#face g {
    display: none;
}

#face g.active {
    display: inline;
}

#footer,
.ax-breadcrumbs {
    display: none;
}

.bo-morado {
    margin: 0px auto 0px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    /* padding-bottom: 20px; */
    background: #e67398;
    width: 40%;
    padding: 5px;
    border-radius: 9px;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    /* Espacio entre las columnas */
    gap: 20px;
    /* Espacio entre columnas */
}

.img-termometro {
    max-width: 1040px;
    width: 48%;
    height: auto;
    margin: -8px auto;
    padding-bottom: 12px;
    display: block;
    filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .18));
    padding-top: 15px;
}

.flex-item {
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    /* Hace que ambas columnas tengan el mismo tamaño */
}

/* En pantallas pequeñas, las columnas se apilan */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        /* Cambiar a columna en pantallas pequeñas */
    }

    .img-termometro {
        width: 100%;
    }

    .bo-morado {
        margin: 0px auto 0px;
        font-size: 22px;
        line-height: 1.5;
        font-weight: 600;
        text-align: center;
        /* padding-bottom: 20px; */
        background: #e67398;
        width: 70%;
        padding: 5px;
        border-radius: 9px;
    }
}


img.title-img.fade-in-up-delay {
    width: 70%;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

.modal-backdrop {
    display: none !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

p.text-registro {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.hero-section {
    min-height: 50vh;
    background-image: url("https://www.momentosfriko.com/Portals/MomentosFriko/2025/amor-amistad/bg-blue.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.info-section {
    min-height: 50vh;
    background-image: url("https://www.momentosfriko.com/Portals/MomentosFriko/2025/todos-juntos/Landing-Page-friko-fondo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



.info {
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.features-list {
    max-width: 500px;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    height: 100vh;
}

.logo-img {
    max-width: 100%;
    height: auto;

    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.title-img {
    max-width: 100%;
    height: auto;

    transition: transform 0.3s ease;
}

.title-img:hover {
    transform: scale(1.02);
}

/* Animaciones */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-up-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes responsivos adicionales */
@media (max-width: 576px) {
    .section {
        min-height: 30vh;
    }

    .content-wrapper {
        height: 90vh;
    }
}

/* Centrado perfecto con flexbox */
.logo-container,
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    flex: 0 0 auto;
}

.title-container {
    flex: 1;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .title-container {
        margin-top: 3rem;
    }
}

/* Lista de características */

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.4;
}

.features-list li::before {
    content: "●";
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.features-list li:last-child {
    margin-bottom: 0;
}

/* Responsive para la lista */
@media (max-width: 768px) {
    .features-list {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .hero-section {
        min-height: 80vh;

    }

    .logo-img {
        width: 80px !important;
    }

    .features-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
}

@media (max-width: 576px) {
    .features-list {
        padding: 1rem;
    }

    .features-list li {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 80vh;
    }

    .content-wrapper {
        height: 90vh;
    }
}

.lorenzano-section {
    padding: 8rem 0;
    min-height: auto;
    background-image: url("https://www.momentosfriko.com/Portals/MomentosFriko/2025/amor-amistad/bg-footer.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.container-form {
    display: flex !important;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.form-suscripcion {
    max-width: 80%;
    margin: 0 auto;
}

/* Título principal */
.form-title {
    background: #2c3e50;
    color: #ffeb3b;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    text-align: center;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contenedor del formulario */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px 20px 20px 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


.form-control-custom::placeholder {
    color: #999;
    font-weight: 500;
}

/* Botón enviar */
.btn-enviar {
    background-color: #2c3e50 !important;
    color: #ffeb3b !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none !important;
    border-radius: 25px !important;
    padding: 1rem 3rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    display: block !important;
    margin: 2rem auto 0;
    min-width: 200px;
}

.btn-enviar:hover {
    background: #34495e;
    color: #fff200;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.btn-enviar:active {
    transform: translateY(-1px);
}

/* Checkbox personalizado */
.form-check-custom {
    margin: 1.5rem 0;
}

.form-check-custom .form-check-input {
    margin-right: 0.75rem;
    transform: scale(1.2);
}

.form-check-custom .form-check-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
}

/* Mensajes de error */
.invalid-feedback {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 0.5rem;
}

.mensaje {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
}

/* Estados de validación */
.form-control-custom.is-invalid {
    background: rgba(255, 99, 99, 0.2);
    box-shadow: 0 2px 10px rgba(255, 99, 99, 0.3);
}

.form-control-custom.is-valid {
    background: rgba(99, 255, 99, 0.2);
    box-shadow: 0 2px 10px rgba(99, 255, 99, 0.3);
}

.info-form {
    max-width: 600px;
    color: white;
    font-family: "montserrat";
    text-align: center;
    font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
}

.info-form spam {
    font-weight: 900;
}





/* Responsive */
@media (max-width: 768px) {
    .form-title {
        font-size: 1.4rem;
        padding: 1rem 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-suscripcion {
        max-width: 100%;
        margin: 0 auto;
    }

    .form-control-custom {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }

    .btn-enviar {
        font-size: 1.2rem;
        padding: 0.875rem 2rem;
        letter-spacing: 1px;
    }

    img.title-img.fade-in-up-delay {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 1.2rem;
        padding: 0.875rem 1rem;
    }

    .form-container {
        padding: 1rem;
    }

    .btn-enviar {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

.mid-inner p {
    font-size: 24px;
}

:root {
    --bg-cream: #fffdf8;
    --text: #222;
    --accent-olive: #bed637;
    --accent-olive-dk: #86a10e;
    --teal: #3ba6a1;
    --pink: #f07e8c;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background: #fff
}

.section {
    overflow: hidden;
}

.top {
    background: var(--bg-cream);
    padding: 0;
    text-align: center;
    position: relative;
}

.chip {
    display: inline-block;
    padding: 10px 18px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 14px;
    background: var(--accent-olive);
    border: 3px solid var(--accent-olive-dk);
    box-shadow: 0 2px 0 var(--accent-olive-dk);
    font-family: "Baloo 2", Inter, system-ui;
}

.tip {
    display: inline-block;
    background: #cdd753;
    border-radius: 8px;
    padding: 3px 8px;
    font-weight: 800
}

.mid {
    position: relative;
    background: var(--teal);
    color: #083b3a;
    z-index: 2;
}

.mid-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 64px 16px 140px;
    text-align: center
}

.hand {
    position: absolute;
    left: 6%;
    bottom: 32px;
    width: clamp(180px, 24vw, 340px);
    opacity: .95;
    width: 22% !important;
}

@media (max-width:900px) {
    .hand {
        left: 4%;
        width: 110px;
        left: 37%;
        bottom: -60px;
    }

    .mid-inner p {
        font-size: 18px;
    }

    .salchicha {
        opacity: 0 !important;
    }

    .pollo {
        opacity: 0 !important;
    }
}

.bottom {
    position: relative;
    background: #E67398;
    margin-top: -140px;
    overflow: hidden;
}

.curve {
    position: absolute;
    left: 0%;
    top: 140px;
    width: 120%;
    height: auto;
    display: block;
    z-index: 0;
    pointer-events: none
}

.bottom-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 220px 16px 64px;
    text-align: center
}

.brands {
    margin-top: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap
}

.brands img {
    height: 60px;
    object-fit: contain
}

.cta {
    margin-top: 14px;
    font-weight: 900
}

.salchicha {
    position: absolute;
    left: -30px;
    top: 88px;
    width: 120px;
    opacity: .9;
}

.pollo {
    position: absolute;
    right: -10px;
    top: 80px;
    width: 120px;
    opacity: .9;
}

.curve-fade {
    position: absolute;
    left: 0;
    top: -20px;
    width: 100%;
    height: 80px;
    z-index: 1;
    background: linear-gradient(to bottom, rgb(59, 166, 161) 0%, rgba(59, 166, 161, 0.55) 35%, rgba(59, 166, 161, 0) 80%);
}