* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Evita que el navbar fijo tape el título al scrollear a una sección */
}

body {
    position: relative;
    background-color: var(--midNight-0);
}

body main {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

:root {
    /* DeepSaffron */
    --deepSaffron-50: #FEF5E7;
    --deepSaffron-100: #FCDFB4;
    --deepSaffron-200: #FBCF90;
    --deepSaffron-300: #F9B95D;
    --deepSaffron-400: #F8AC3D;
    --deepSaffron-500: #F6970D;
    --deepSaffron-600: #E0890C;
    --deepSaffron-700: #AF6B09;
    --deepSaffron-800: #875307;
    --deepSaffron-900: #673F05;

    /* SeaSeropent */
    --seaSeropent-50: #EDF7FA;
    --seaSeropent-100: #C7E7EF;
    --seaSeropent-200: #ACDBE8;
    --seaSeropent-300: #86CADD;
    --seaSeropent-400: #6EC0D6;
    --seaSeropent-500: #4AB0CC;
    --seaSeropent-600: #43A0BA;
    --seaSeropent-700: #357D91;
    --seaSeropent-800: #296170;
    --seaSeropent-900: #1F4A56;

    /* MidNight -> Principal*/
    --midNight-0: #F6F6F9;
    --midNight-50: #E9EAF1;
    --midNight-100: #BABED2;
    --midNight-200: #989EBC;
    --midNight-300: #6A729E;
    --midNight-400: #4D578B;
    --midNight-500: #202D6E;
    --midNight-600: #1D2964;
    --midNight-700: #17204E;
    --midNight-800: #12193D;
    --midNight-900: #0D132E;

    /* Fuentes */
    --title-size: 42px;
    --title-size-tablet: 34px;
    --title-size-mobile: 26px;
    --subtitle-size: 20px;

    --font-size-regular-btn: 16px;
    --font-size-principal-btn: 18px;



    /* botones */
    --btn-border-radius: 1000px;
}


h1 {
    font-size: var(--title-size);
    font-weight: 700;
    color: var(--midNight-900);
}

/* Clase compartida para todos los títulos de sección (h2) */
.section-title {
    font-size: var(--title-size);
    font-weight: 700;
}

.badge {
    padding: 8px 24px;
    border-radius: var(--btn-border-radius);
    font-size: 14px;
    font-weight: 600;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--midNight-900);
    background-color: var(--deepSaffron-500);
    white-space: nowrap;
}

.primary-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--midNight-0);
    font-size: var(--font-size-principal-btn);
    font-weight: 600;
    background-color: var(--midNight-500);
    padding: 0 24px;
    border-radius: var(--btn-border-radius);
    height: 56px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.primary-button:hover {
    background-color: var(--midNight-700);
    transform: translateY(-2px);
}

.primary-button:active {
    transform: scale(0.98);
}

.secondary-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--midNight-500);
    font-size: var(--font-size-principal-btn);
    font-weight: 600;
    background-color: var(--midNight-50);
    padding: 0 24px;
    border-radius: var(--btn-border-radius);
    height: 56px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--midNight-100);
    transform: translateY(-2px);
}

.secondary-button:active {
    transform: scale(0.98);
}

/* --- Responsive Global Padding --- */
@media (max-width: 1300px) {

    .hero-container,
    .nosotros-container,
    .servicios-container,
    .testimonios-container,
    .faq-container,
    .contacto-container,
    .footer-container,
    .free-zone-container,
    .resultados-container,
    .floating-buttons {
        padding-left: 48px;
        padding-right: 48px;
    }

    h1 br,
    h2 br {
        display: none;
    }
}

@media (max-width: 768px) {

    .hero-container,
    .nosotros-container,
    .servicios-container,
    .testimonios-container,
    .faq-container,
    .contacto-container,
    .footer-container,
    .free-zone-container,
    .resultados-container,
    .floating-buttons {
        padding-left: 24px;
        padding-right: 24px;
    }

    .badge {
        font-size: 11px;
        padding: 4px 16px;
        min-height: 32px;
    }

    h1,
    h2 {
        font-size: var(--title-size-mobile);
    }

    .section-title {
        font-size: var(--title-size-mobile);
    }
}

/* =============================================
   COMPONENTE COMPARTIDO: Controles de Carrusel
   Usado en: Testimonios, Resultados
   ============================================= */
.carousel-controls {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--midNight-50);
    color: var(--midNight-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.control-btn i {
    font-size: 20px;
}

.control-btn:hover {
    background-color: var(--midNight-100);
    color: var(--midNight-900);
}

/* =============================================
   BOTONES FLOTANTES (Sticky Bottom)
   ============================================= */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-buttons.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Botón de Llamar ahora (pill shape) */
.cta-llamar-ahora {
    background-color: var(--midNight-500);
    color: var(--midNight-0);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 16px;
    height: 56px;
    box-shadow: 0 4px 15px rgba(32, 45, 110, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-llamar-ahora-icon {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: var(--midNight-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cta-llamar-ahora:hover {
    background-color: var(--midNight-700);
    transform: translateY(-2px);
}

.cta-llamar-ahora:active {
    transform: scale(0.98);
}

.cta-llamar-ahora:hover i {
    animation: ring 1.2s ease-in-out infinite;
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(15deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    45% {
        transform: rotate(15deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

/* Botón de WhatsApp (círculo) */
.cta-whatsapp {
    background-color: #128C7E;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(18, 140, 126, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.cta-whatsapp:hover {
    transform: translateY(-2px);
    background-color: #075E54;
    box-shadow: 0 6px 20px rgba(7, 94, 84, 0.3);
}

.cta-whatsapp:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%) translateY(20px);
        width: 100%;
        flex-direction: row-reverse;
    }

    .floating-buttons.visible {
        transform: translateX(-50%) translateY(0);
    }


    .cta-llamar-ahora {
        padding: 0 16px;
        font-size: 15px;
        box-shadow: 0 4px 15px rgba(32, 45, 110, 0.25);
    }

    .cta-whatsapp {
        width: 54px;
        height: 54px;
        font-size: 28px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    }
}

/* --- Ajuste para pantallas extremadamente pequeñas --- */
@media (max-width: 350px) {
    .badge {
        font-size: 11px;
        padding: 4px 4px;
        min-height: 32px;
    }

    .section-title {
        font-size: 22px;
    }
}