/* ------------------------------------------------ */
/* === MEDIA QUERY PARA DISPOSITIVOS MÓVILES === */
/* ------------------------------------------------ */
@media screen and (max-width: 768px) {

    * {
        box-sizing: border-box;
    }

    /* -------------------------------------- */
    /* Estilos del Header */
    /* -------------------------------------- */
    header {
        padding: 12px 20px;
    }

    .header-container {
        position: relative;
    }

    /* Logo más pequeño en móvil */
    .logo {
        height: 45px;
    }

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
        padding: 8px;
        background: none;
        border: none;
        position: relative;
    }

    .menu-toggle span {
        width: 30px;
        height: 3px;
        background-color: #C7698D;
        border-radius: 3px;
        transition: all 0.3s ease;
        display: block;
    }

    /* Animación hamburguesa a X */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
        background-color: #C7698D;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(9px, -9px);
        background-color: #C7698D;
    }

    /* Menú lateral móvil */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #F5F1E8;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 0 30px 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    /* Navegación activa (abierta) */
    nav.active {
        right: 0;
    }

    /* Links del menú móvil */
    nav > a {
        width: 100%;
        padding: 18px 30px;
        font-size: 17px;
        border-bottom: 1px solid rgba(199, 105, 141, 0.1);
        transition: all 0.3s ease;
    }

    nav > a:hover {
        background-color: rgba(199, 105, 141, 0.1);
        padding-left: 35px;
    }

    /* Dropdown en móvil */
    .dropdown {
        width: 100%;
        position: relative;
    }

    .dropdown-toggle {
        width: 100%;
        padding: 18px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(199, 105, 141, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .dropdown-toggle:hover {
        background-color: rgba(199, 105, 141, 0.1);
    }

    .dropdown-toggle::after {
        content: '▼';
        font-size: 12px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    /* Rotar flecha cuando está abierto */
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Dropdown menu móvil */
    .dropdown-menu {
        position: relative !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        background-color: rgba(255, 255, 255, 0.5);
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    /* Mostrar dropdown cuando está activo */
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu a {
        padding: 15px 30px 15px 50px !important;
        font-size: 15px;
        border-bottom: 1px solid rgba(199, 105, 141, 0.1);
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-menu a:hover {
        padding-left: 55px !important;
        background-color: rgba(199, 105, 141, 0.15);
    }

    /* Botón contacto en móvil */
    .btn-contacto {
        width: calc(100% - 60px);
        margin: 20px 30px;
        text-align: center;
        padding: 15px 28px;
        font-size: 17px;
    }

    /* Overlay oscuro cuando menu abierto */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }




    /* -------------------------------------- */
    /* Estilos del FORMULARIO DE CONTACTO */
    /* -------------------------------------- */
    .contacto-hero-header {
        padding: 40px 20px 20px;
    }
    
    .contacto-hero-header h1 {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .contacto-hero-header p {
        font-size: 14px;
        max-width: 100%;
        line-height: 1.5;
    }
    
    /* Sección con fondo */
    .contacto-hero {
        padding: 200px 15px 60px;
        margin: -90px auto 0;
    }
    
    /* Contenedor principal - Una columna */
    .contacto-hero-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: -25px auto 0;
    }
    
    /* Bloque izquierdo */
    .contacto-hero-info {
        padding: 35px 25px;
        gap: 20px;
        order: 1;
    }
    
    .contacto-hero-info h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .contacto-hero-subtitle {
        font-size: 14px;
        text-align: center;
    }
    
    /* Datos de contacto centrados */
    .contacto-hero-data {
        gap: 18px;
        align-items: center;
    }
    
    .contacto-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contacto-icon {
        width: 55px;
        height: 55px;
    }
    
    .contacto-icon img {
        width: 26px;
        height: 26px;
    }
    
    .contacto-text {
        align-items: center;
    }
    
    .contacto-label {
        font-size: 13px;
    }
    
    .contacto-value {
        font-size: 13px;
    }
    
    /* Redes sociales centradas */
    .contacto-hero-socials {
        text-align: center;
    }
    
    .socials-title {
        font-size: 13px;
        text-align: center;
    }
    
    .socials-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .social-icon-link {
        width: 50px;
        height: 50px;
    }
    
    .social-icon-link img {
        width: 24px;
        height: 24px;
    }
    
    /* Bloque derecho - Formulario */
    .contacto-hero-form {
        padding: 35px 25px;
        order: 2;
    }
    
    .contacto-hero-form h2 {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .btn-enviar {
        padding: 15px;
        font-size: 15px;
    }






    /* -------------------------------------- */
    /* === Sección "Footer" === */
    /* -------------------------------------- */
    .footer-main {
        padding: 40px 20px;
    }
    
    /* Layout en columna */
    .footer-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }
    
    /* -------------------------------------- */
    /* SECCIÓN INFO */
    /* -------------------------------------- */
    .footer-info {
        width: 100%;
        align-items: center;
        gap: 20px;
    }
    
    /* Logo y redes - centrados */
    .footer-logo {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer-logo img {
        height: 45px;
    }
    
    /* Redes sociales */
    .footer-socials {
        gap: 20px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        padding: 10px;
    }
    
    /* Descripción */
    .footer-descripcion {
        font-size: 14px;
        max-width: 100%;
        text-align: center;
        line-height: 1.6;
    }
    
    /* -------------------------------------- */
    /* COLUMNAS DE NAVEGACIÓN */
    /* -------------------------------------- */
    .footer-links {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-left: 0;
        text-align: center;
    }
    
    .footer-column {
        gap: 15px;
    }
    
    .footer-column a {
        font-size: 15px;
    }
    
    .footer-column a:hover {
        padding-left: 0;
    }
    
    /* -------------------------------------- */
    /* FOOTER INFERIOR */
    /* -------------------------------------- */
    .footer-bottom {
        padding: -20px 20px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .footer-terms a,
    .footer-copyright {
        font-size: 13px;
    }
}





/* -------------------------------------- */
/* MÓVILES PEQUEÑOS (menos de 480px) */
/* -------------------------------------- */
@media screen and (max-width: 480px) {

    * {
        box-sizing: border-box;
    }


    /* -------------------------------------- */
    /* Estilos del Header */
    /* -------------------------------------- */
    header {
        padding: 10px 15px;
    }

    .logo {
        height: 40px;
    }

    .menu-toggle {
        padding: 5px;
    }

    .menu-toggle span {
        width: 26px;
        height: 2.5px;
    }

    nav {
        width: 260px;
        padding: 70px 0 20px 0;
    }

    nav > a {
        padding: 16px 25px;
        font-size: 16px;
    }

    .dropdown-toggle {
        padding: 16px 25px;
        font-size: 16px;
    }

    .dropdown-menu a {
        padding: 14px 25px 14px 45px !important;
        font-size: 14px;
    }

    .btn-contacto {
        width: calc(100% - 50px);
        margin: 15px 25px;
        padding: 14px 24px;
        font-size: 16px;
    }





    /*.contacto-hero-header {
        padding: 30px 15px 15px;
    }
    
    .contacto-hero-header h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .contacto-hero-header p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    
    .contacto-hero {
        padding: 150px 10px 50px;
        margin: -15px auto 0;
    }
    
    
    .contacto-hero-container {
        border-radius: 12px;
        margin: -20px auto 0;
    }
    
    
    .contacto-hero-info {
        padding: 30px 20px;
        gap: 18px;
    }
    
    .contacto-hero-info h2 {
        font-size: 22px;
    }
    
    .contacto-hero-subtitle {
        font-size: 13px;
    }
    
    
    .contacto-hero-data {
        gap: 15px;
    }
    
    .contacto-icon {
        width: 50px;
        height: 50px;
    }
    
    .contacto-icon img {
        width: 22px;
        height: 22px;
    }
    
    .contacto-label {
        font-size: 12px;
    }
    
    .contacto-value {
        font-size: 12px;
    }
    
    
    .socials-title {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .socials-icons {
        gap: 12px;
    }
    
    .social-icon-link {
        width: 45px;
        height: 45px;
    }
    
    .social-icon-link img {
        width: 20px;
        height: 20px;
    }
    
    
    .contacto-hero-form {
        padding: 30px 20px;
    }
    
    .contacto-hero-form h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 13px 15px;
        font-size: 13px;
    }
    
    .form-group textarea {
        min-height: 90px;
    }
    
    .btn-enviar {
        padding: 14px;
        font-size: 14px;
    }*/

}