@import url(./reset.css);
@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Montserrat:wght@400;700&display=swap');

/* ============================================
   VARIABLES Y CONFIGURACIÓN BASE
   ============================================ */

:root {
    --color-principal: #00b2ad;
    --color-secundario: #077b8a;
    --fuente-principal: 'Montserrat', sans-serif;
    --fuente-secundaria: 'Handlee', cursive;
    --fontsize: 1em;
    --anchomaximo: 68.750em;
    --margingrid: 1em;
    --padding: 0.625em;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-principal);
    font-size: var(--fontsize);
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--anchomaximo);
    margin: 0 auto;
}

/* ============================================
   CLASES REUTILIZABLES (NUEVO)
   ============================================ */

.titulo-principal {
    font-family: var(--fuente-secundaria);
    font-size: 2.25em;
    color: var(--color-principal);
}

.titulo-secundario {
    color: var(--color-secundario);
    margin: var(--margingrid) 0;
    font-size: 1.25em;
    font-weight: bold;
}

.texto-base {
    font-size: 1.15em;
    color: #666;
    line-height: 1.25em;
}

.texto-parrafo {
    color: #666;
    line-height: 1.25em;
}

.flex-columna {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.flex-fila {
    display: flex;
    flex-direction: row;
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: relative;
    z-index: 9999;
}

header .nav-top {
    background-color: var(--color-secundario);
    padding: calc(var(--padding)*2) 0;
}

header .nav-top .container {
    display: flex;
    justify-content: space-around;
}

header .nav-top a {
    color: var(--color-principal);
    text-decoration: none;
}

header .nav-top a span {
    display: none;
}

header .nav-top a i {
    font-size: 150%;
}


header nav {
    position: relative;
    padding: calc(var(--padding)*2);
    overflow: visible;
}

header nav .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header nav .logo img {
    max-width: 6.250em;
}

header nav ul {
    width: 100%;
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav .hamburguesa {
    cursor: pointer;
}

header nav .hamburguesa div {
    border-top: 2px solid #aaa;
    margin-bottom: 10px;
    width: 1.875em;
}


/* Menú dropdown */


.menu li {
    position: relative;
}

.menu .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-secundario);
    min-width: 180px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.menu .dropdown-content li a {
    display: block;
    padding: 0.8em 1em;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.menu li.dropdown:hover .dropdown-content {
    display: block;
}

/* Selector de idioma */
.menu li.language {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.menu li.language a img {
    width: 24px;
    height: auto;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
}

.menu li.language a img:hover {
    transform: scale(1.1);
}

/* Botón hamburguesa */
@supports (-webkit-touch-callout: none) {
    .hamburguesa {
        display: flex !important;
    }
}

.hamburguesa {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 10001;
}

/* Barras */
.hamburguesa div {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    margin-bottom: 6px;
    border-radius: 2px;
}

.hamburguesa div {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* ============================================
   POPUP
   ============================================ */

.music-container {
    display: flex;
    /* Poner elementos en fila */
    align-items: center;
    /* Centrar verticalmente logo y botón */
    gap: 8px;
    /* Espacio entre logo y botón */
    justify-content: space-around;
}

.music-logo {
    height: 80px;
    /* Ajusta la altura según lo necesites */
    width: auto;
    /* Mantiene proporción del logo */

}

/* ============================================
   EVENTS SECTION
   ============================================ */
/* CONTENEDOR PRINCIPAL */
#events .events-section {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    /* Centrado en la pantalla */
    text-align: center;
    /* Centra títulos y párrafos */
}

/* TEXTOS DESCRIPTIVOS PRINCIPALES */
#events .intro-text,
#events .closing-text {
    margin: 1.5rem auto;
    max-width: 800px;
    text-align: center;
    line-height: 1.6;
    color: #555;
}

/* LISTAS CENTRADAS HORIZONTALMENTE */
/* Estilo de las listas */
#events .events-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto 2rem auto;
    max-width: 650px;
}

/* Estilo de cada item */
#events .events-list li {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    /* espacio para el ícono */
    color: #444;
    /* texto más suave y consistente */
}

/* Ícono elegante usando pseudo-elemento */
#events .events-list li::before {
    content: "◆";
    /* rombo minimalista */
    color: var(--color-principal);
    /* tu color turquesa */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 0.8rem;
}

/* SEPARACIÓN ENTRE SECCIONES */
#events h2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--color-secundario);
}

/* BOTÓN DE CONTACTO CENTRADO */
#events .contact-box {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}



/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--color-secundario);
    padding: calc(var(--padding)*2) 0;
    color: white;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    color: var(--color-principal);
}

.flecha a {
    display: block;
    color: var(--color-principal);
    position: fixed;
    bottom: 70px;
    right: 20px;
    font-size: 300%;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    background-image: url(../images/portada.png);
    height: 60vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    background-color: rgba(255, 255, 255, 0.65);
    background-blend-mode: lighten;
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
}

.hero .social li {
    display: inline-block;
    margin-right: var(--margingrid);
    font-size: 2em;
}

.hero .social li a {
    color: var(--color-secundario);
}

.boton {
    background-color: var(--color-principal);
    color: white;
    display: inline-block;
    padding: 1.15em;
    margin: var(--margingrid) 0;
    text-decoration: none;
    border: 1px solid var(--color-principal);
}

.boton:hover {
    background-color: transparent;
    border: 1px solid var(--color-principal);
    color: var(--color-principal);
}

.boton:hover i {
    transform: translateX(5px);
    transition: 0.5s;
}

/* ============================================
   SECCIONES PRINCIPALES
   ============================================ */

main section {
    padding: 2.125em 1.5em;
}

main section:last-child {
    padding-bottom: 120px;
}

main section h2 {
    color: black;
    font-family: var(--fuente-secundaria);
    font-size: 2em;
    text-align: center;
}

main section h2 span {
    color: var(--color-principal);
}

main section h3 {
    font-weight: 700;
    font-size: 1.1em;
    margin: var(--padding) 0;
}

main section h4 {
    color: var(--color-principal);
    margin: var(--margingrid) 0;
}

main section .underline {
    position: relative;
    width: 6.250em;
    margin: 0 auto;
    color: var(--color-principal);
    font-weight: 700;
    text-align: center;
    margin-bottom: calc(var(--margingrid)*1.5);
}

main section .underline hr {
    position: absolute;
    width: 100%;
    top: -1px;
    border-color: var(--color-principal);
}

.enlace {
    color: var(--color-principal);
    text-decoration: none;
    display: inline-block;
    padding-top: var(--padding);
    font-weight: 700;
}

.enlace i {
    transition: 0.5s;
}

.enlace:hover i {
    transform: translateX(5px);
}

/* ============================================
   OUR SERVICES
   ============================================ */

main #ourservices .grid {
    display: grid;
    gap: var(--margingrid);
}

main #ourservices .grid article {
    border-bottom: 1px solid #ffffff;
    padding: 1.5em 0;
}

main #ourservices article>div .fas {
    color: var(--color-principal);
    font-size: 1.5em;
    border: 1px solid var(--color-principal);
    padding: 0.5em;
}

.fa-truck {
    transform: rotateY(180deg);
}

/* ============================================
   ABOUT US
   ============================================ */

main section .flex .columna {
    margin: 0 var(--margingrid);
}



main .imagen .marco {
    border: 4px solid var(--color-principal);
    transform: rotateZ(10deg);
    transition: 1s;
    margin-right: 4rem;
}

main .imagen .marco img {
    transform: rotateZ(-10deg);
    transition: 1s;
}

main .imagen:hover .marco {
    transform: rotateZ(0deg);
}

main .imagen:hover .marco img {
    transform: rotateZ(0deg);
}

/* ============================================
   SECCIÓN SERVICIOS (MENÚ LATERAL)
   ============================================ */

.seccion-menu {
    background-color: var(--color-secundario);
    padding: 0 4em;
}

.seccion-menu section {
    padding: 2.125em 0;
}

.seccion-menu section .flex {
    margin-top: 4em;
}

.seccion-menu section h2,
.seccion-menu section h3 {
    color: white;
    margin-top: 1.5em;
}

.seccion-menu .menu-nav {
    margin-bottom: 3em;
}

.seccion-menu .menu-nav li {
    background-color: var(--color-secundario);
    border-radius: 5px;
}

.seccion-menu .menu-nav li a {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: calc(var(--padding)*1.5);
    color: white;
}

.seccion-menu .menu-nav li:hover {
    background-color: var(--color-principal);
}

.seccion-menu .underline-menu {
    width: 3em;
    margin: 1.2em 0;
}

.seccion-menu .underline-menu hr {
    width: 3em;
    color: var(--color-principal);
}

.seccion-menu p {
    color: #c7e6dc;
}

.lateral {
    margin-bottom: 2em;
}

.offers div {
    margin-bottom: 2em;
}

.offers h3 span {
    color: var(--color-principal);
}

/* ============================================
   CONVENIENCE
   ============================================ */

#convenience {
    padding: 2rem 0;
}

#convenience .convenience-wrapper {
    max-width: 80%;
    margin: 0 auto;
}

#convenience .convenience-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: flex-start;
}

#convenience .convenience-photos {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#convenience .convenience-photos img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

#convenience .convenience-text {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
}

#convenience .text-block {
    margin-bottom: 1rem;
}

#convenience .text-block h2 {
    color: var(--color-principal);
    margin-bottom: 0.5rem;
}

#convenience .text-block p {
    font-size: 1.15em;
    color: #666;
    line-height: 1.25em;
    margin: 0;
}

/* ============================================
   EXPERIENCE
   ============================================ */

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
}

#experience h2 {
    margin-bottom: 2rem;
    font-weight: bold;
    color: var(--color-principal);
}

#experience p {
    max-width: 80%;
    margin: 0 auto 3rem auto;
}

.swiper-container {
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
}

.swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* ============================================
   OUR BRANDS
   ============================================ */

main #ourservices #grid {
    display: grid;
    gap: var(--margingrid);
    grid-template-columns: repeat(2, 1fr);
}

main #ourservices #grid article {
    padding: 1.5em 0;
    position: relative;
}

main #ourservices #grid article .fecha {
    position: absolute;
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
    padding: var(--padding);
    width: 60px;
    height: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    top: 24px;
}

/* ============================================
   OUR TEAM
   ============================================ */

main #ourteam #gridteam {
    display: flex;
    flex-direction: column;
}

main #ourteam #gridteam .massages {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

main #ourteam #gridteam .massages div {
    margin: calc(var(--margingrid)*2);
    text-align: center;
}

.massages .imagen img {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.equipo {
    display: flex;
    gap: 60px;
}

main #ourteam #gridteam .equipo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
}

main #ourteam #gridteam .equipo>div {
    text-align: center;
    max-width: 400px;
}

main #ourteam #gridteam .equipo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    opacity: 0.7;
}

/* ============================================
   CONTACTO
   ============================================ */

#contact {
    max-width: 50%;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #077b8a;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact label {
    margin: 0.5rem 0 0.2rem;
    color: #077b8a;
}

#contact input,
#contact textarea {
    padding: 0.5rem;
    border: 1px solid #00b2ad;
    border-radius: 4px;
    font-size: 1rem;
}

#contact textarea {
    resize: vertical;
    min-height: 100px;
}

#contact button {
    margin-top: 1rem;
    padding: 0.7rem;
    background-color: #00b2ad;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact button:hover {
    background-color: #077b8a;
}

/* Contact Info */
#contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    max-width: 100%;
    justify-content: space-around;
}

#contact-info .contact-photo {
    flex: 0 0 30%;
}

#contact-info .contact-photo img {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin-right: 2rem;
    border-radius: 12px;

}

#contact-info .contact-details {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contact-info .contact-details p,
#contact-info .contact-details .languages,
#contact-info .contact-details .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#contact-info .contact-details .languages img {
    width: 24px;
    height: auto;
    border-radius: 4px;
}

#contact-info .contact-details i {
    color: #077b8a;
}

#contact-info .socials {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1rem;
}

#contact-info .socials li {
    list-style: disc;
}

#contact-info .socials a i {
    font-size: 1.5rem;
    color: #077b8a;
    transition: color 0.3s;
}

#contact-info .socials a i:hover {
    color: #00b2ad;
}

/* ============================================
   AVISO LEGAL
   ============================================ */

.legal .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
}

/* ============================================
   BLOG SECTION
   ============================================ */
#blog {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.blog-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: left;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3 {
    margin: 1rem;
    color: #077b8a;
}

.blog-card p {
    margin: 0 1rem 1rem 1rem;
    color: #555;
}

.blog-card .read-more {
    display: inline-block;
    margin: 1rem;
    color: #00b2ad;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card .read-more:hover {
    color: #077b8a;
}

/* CONTENEDOR GENERAL DEL ARTÍCULO */
#blog-article .blog-article-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* CONTENIDO DEL ARTÍCULO */
.blog-content {
    flex: 0 0 70%;
    line-height: 1.7;
    color: #333;
}

.blog-content h1 {
    color: #077b8a;
    margin-bottom: 1rem;
}

.blog-content .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.blog-content .article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.back-button {
    display: inline-block;
    margin-top: 2rem;
    color: #077b8a;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.back-button:hover {
    color: #00b2ad;
}

/* SIDEBAR (ARTÍCULOS RECOMENDADOS) */
.sidebar {
    flex: 0 0 30%;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
}

.sidebar h3 {
    color: #077b8a;
    margin-bottom: 1rem;
}

.sidebar ul li {
    margin-bottom: 0.8rem;
}

.sidebar a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: #077b8a;
}



/* ============================================
   BODY TREATMENTS (SERVICIOS)
   ============================================ */

.services-body {
    max-width: 80%;
    margin: 0 auto;
    padding: 3rem 0;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    color: #077b8a;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.service-info p {
    color: #555;
    line-height: 1.6;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet pequeña (600px+) */
@media(min-width: 600px) {
    main #ourservices .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    main #ourservices .grid article:last-child {
        grid-column: 1/3;
    }

    main #ourservices .grid article {
        border-bottom: none;
        border-left: 1px solid #aaa;
        padding: 1.5em;
    }

    main section .flex {
        flex-direction: row;
    }

    .lateral {
        margin-right: 1.5em;
        flex-basis: 40%;
    }

    .offers {
        display: flex;
        flex-direction: column;
        flex-basis: 60%;
    }

    main #ourservices #gridteam .cocina {
        display: flex;
        flex-direction: row;
    }

    main #ourservices #gridteam .cocina div {
        margin: var(--margingrid);
    }
}


/* Tablet (769px+) */
@media(min-width: 769px) {

    header .nav-top a span {
        display: inline;
        color: white;
        font-size: 110%;
        margin-left: 5px;
    }

    main #ourservices .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    main #ourservices .grid article:last-child {
        grid-column: 3/4;
    }

    .offers {
        flex-basis: 70%;
    }

    .offers .row {
        display: flex;
        flex-direction: row;
    }

    .offers .row div {
        margin-left: 2em;
    }

    .seccion-menu section h3 {
        margin-top: 0;
    }

    .text {
        width: 100%;
    }

    .imagen-menu {
        width: 50%;
    }

    main #ourservices #gridteam {
        max-width: 70%;
        margin: 0 auto;
    }

    main #ourservices #grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #convenience .convenience-container {
        flex-direction: row;
    }

    #convenience .convenience-photos,
    #convenience .convenience-text {
        flex: 0 0 30%;
    }

    #convenience .convenience-text {
        flex: 0 0 70%;
    }

    #contact-info .contact-wrapper {
        flex-direction: row;
    }

    #contact-info .contact-photo,
    #contact-info .contact-details {
        flex: 0 0 40%;
    }

    #contact-info .contact-details {
        flex: 0 0 60%;
    }

    #events .events-content {
        flex-direction: column;
    }

    #events .events-list,
    #events .events-image {
        flex: 0 0 100%;
    }


}

/* Desktop (1004px+) */
@media(min-width: 1004px) {


    .menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        width: auto;
        padding: 0;
    }

    .menu li a {
        border-bottom: none;
        color: #aaa;

    }


    header nav .massages {
        display: none;
    }

    header nav ul {
        width: auto;
    }

    header nav .menu li {
        display: inline-block;
    }

    header nav .menu li a {
        padding: 0.5em var(--padding);
        border-bottom: none;
        text-align: center;
        display: block;
        width: 100%;
        text-decoration: none;
        color: #aaa;
    }

    header nav .menu li:last-child a {
        border-bottom: 0;
    }

    header nav .menu li a.activo,
    header nav .menu li a:hover {
        color: var(--color-principal);
    }

    header {
        box-shadow: 0px 1px 15px gray;
    }

    footer {
        text-align: left;
    }
}


/* ===============================
   MOBILE (max 1003px)
   =============================== */
@media (max-width: 1003px) {

    /* ---------- HAMBURGUESA ---------- */
    .hamburguesa {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        z-index: 10001;
        width: 30px;
        height: 22px;
        cursor: pointer;
    }

    .hamburguesa div {
        background-color: #000 !important;
        height: 3px;
        width: 100%;
        border-radius: 2px;
        opacity: 1 !important;
    }

    header nav {
        background-color: #fff;
        position: relative;
        z-index: 10000;
    }

    /* ---------- MENU PRINCIPAL ---------- */
    .menu {
        position: fixed;
        top: 70px;
        /* ajusta a la altura real del nav */
        left: 0;
        width: 100%;
        background-color: #077b8a;
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 1.5em 0;
        z-index: 10000;
    }

    .menu.menu-activo {
        display: flex;
    }

    /* Links principales */
    .menu>li>a {
        color: #fff !important;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-decoration: none;
        text-align: center;
        padding: 1em;
        display: block;
        width: 100%;
    }

    /* Separador elegante (no líneas duras) */
    .menu>li:not(.language)::after {
        content: "";
        display: block;
        width: 40%;
        height: 1px;
        background: rgba(255, 255, 255, 0.25);
        margin: 0.4em auto;
    }

    /* ---------- SUBMENU SERVICES ---------- */
    .menu li.dropdown .dropdown-content {
        display: none;
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0.3em;
    }

    /* Se abre con clase .open (JS) */
    .menu li.dropdown.open .dropdown-content {
        display: flex;
        flex-direction: column;
    }

    .menu li.dropdown .dropdown-content li a {
        font-size: 0.95em;
        font-weight: 400;
        padding: 0.7em;
        opacity: 0.9;
        border-bottom: none;
    }

    /* ---------- IDIOMAS ---------- */
    .menu li.language {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-top: 1.5em;
    }

    .menu li.language img {
        width: 26px;
        opacity: 0.9;
    }

    /* ---------- EQUIPO ---------- */
    .equipo {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .equipo>div {
        max-width: 100%;
        text-align: center;
    }

    main #ourteam #gridteam .equipo {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    main #ourteam #gridteam .equipo>div {
        max-width: 100%;
    }

    /* ---------- OTRAS SECCIONES ---------- */
    #convenience .convenience-container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    #convenience .convenience-photos,
    #convenience .convenience-text {
        flex: 0 0 100%;
    }

    #convenience .convenience-photos img {
        max-width: 300px;
        margin: 0 auto;
    }

    #contact-info .contact-wrapper {
        flex-direction: column;
    }

    #contact-info .contact-photo,
    #contact-info .contact-details {
        flex: 0 0 100%;
    }

    #contact-info .languages img {
        width: 25px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #blog-article .blog-article-container {
        flex-direction: column;
    }

    .sidebar {
        flex: 0 0 100%;
    }
}

@media (min-width: 1005px) {
    .hamburguesa {
        display: none;
    }
}