@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Dancing+Script:wght@400..700&family=Edu+NSW+ACT+Cursive:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Qwitcher+Grypen:wght@400;700&display=swap');

* {
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

.btn_primary {
    border: none;
    border-radius: 40px;
    background-color: #04CD7C;
    padding: 12px 24px;
    color: #0B1A51;
    font-weight: 800;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

.btn_secondary {
    border: none;
    border-radius: 40px;
    border: 1px solid #0B1A51;
    background-color: white;
    padding: 12px 24px;
    color: #0B1A51;
    font-weight: 800;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

.btn_tertiary {
    border: none;
    border-radius: 40px;
    border: 1px solid white;
    background-color: #0B1A51;
    padding: 12px 24px;
    color: white;
    font-weight: 800;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}

.btn_primary.sub,
.btn_secondary.sub {
    font-size: 16px;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Agregar padding top al body para compensar el header fijo */
body {
    padding-top: 80px; /* Altura del header en móvil + margen extra */
}

.header__logo img {
    max-width: 120px;
    height: auto;
}

/* Menú de navegación */
.header__nav {
    display: none;
    /* Oculto en móvil por defecto */
}

.header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}

.header__menu li {
    position: relative;
}

.header__menu a {
    text-decoration: none;
    color: #0B1A51;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header__menu a:hover {
    color: #04CD7C;
}

/* Botón hamburguesa */
.header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header__toggle span {
    width: 100%;
    height: 2px;
    background-color: #0B1A51;
    transition: all 0.3s ease;
}

/* Menú móvil desplegado */
.header__nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header__nav.active .header__menu {
    flex-direction: column;
    gap: 0;
    padding: 20px;
}

.header__nav.active .header__menu li {
    border-bottom: 1px solid #f0f0f0;
}

.header__nav.active .header__menu li:last-child {
    border-bottom: none;
}

.header__nav.active .header__menu a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
}

/* Animación del botón hamburguesa */
.header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop styles */
@media (min-width: 768px) {
    body {
        padding-top: 100px; /* Altura mayor en desktop */
    }
    
    .header {
        padding: 16px 40px;
    }
    
    .header__logo img {
        max-width: 160px;
    }    .header__nav {
        display: block !important;
        /* Siempre visible en desktop */
        position: static;
        background: none;
        box-shadow: none;
    }

    .header__menu {
        flex-direction: row !important;
        gap: 32px;
        padding: 0;
    }

    .header__menu li {
        border-bottom: none !important;
    }

    .header__menu a {
        padding: 0 !important;
        font-size: 16px;
    }

    .header__toggle {
        display: none;
        /* Ocultar hamburguesa en desktop */
    }
}

@media (min-width: 1200px) {
    body {
        padding-top: 130px;
    }

    .btn_primary,
    .btn_secondary {
        font-size: 20px;
        padding: 16px 24px;
    }

    .header {
        padding: 24px 55px;
    }

    .header__logo img {
        max-width: initial;
    }

    .header__menu {
        gap: 48px;
    }

    .header__menu a {
        font-size: 18px;
    }
}