/* ===== GENERAL ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Open+Sans:wght@400;500&display=swap');

.services h2,
.experience h2 {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Contenedor centrado en móvil */
@media (max-width: 900px) {
    .container {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Menú desktop */
nav ul {
    display: flex;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #1F1F1F;
  background-color: #F4F4F4;
}



h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: inherit; 
}

:root {
    --white: #ffffff;
    --blue-dark: #001f3f; 
}



/* ===== HEADER ===== */
header {
    background: linear-gradient(90deg, #1a1a1a 0%, #0a0a0a 100%);
    background-image: url('../img/header_img2.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Overlay oscuro para que el contenido resalte */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}

/* Contenedor interno del header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    position: relative; /* para que esté sobre el overlay */
    z-index: 1;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo-link img {
    height: 50px;
    margin-right: 10px;
}

/* Navegación */


nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0;
    margin: 0;
    z-index: 9999;
    margin-right: 0;

}

nav ul li {
    position: relative;
    padding: 0 10px;
}

nav ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: #00cfff; 
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    color: #f9a607;
    transform: translateY(-2px);
}

/* MENU HAMBURGUESA */
.hamburger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--white);
}

/* MOBILE NAV */
@media(max-width: 768px) {
    .hamburger {
        display: flex;
        margin-left: auto;
        margin-right: 0;
    }

}

/* ===== MAIN RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-container,
    .experience-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-text,
    .experience-text {
        max-width: 100%;
    }

    .about-image img {
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .experience-gallery {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-line {
        font-size: 1rem;
        padding: 0 15px;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
img {
    max-width: 100%;
    height: auto;
}

/* ===== HERO ===== */

.hero {
    position: relative;
    overflow: hidden;
    background: url('../img/Principal.png'); 
    background-size: cover; 
    background-attachment: fixed; 
    color: #ffffff;
    text-align: center;
    padding: 160px 20px; 
}


.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

/* Contenido del hero */
.hero-content {
    position: relative;
    z-index: 1;
}




/* Contenido del hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Línea horizontal debajo del título */
.hero-content .hero-line {  
    position: relative;
    text-align: center;
    display: inline-block;
    padding-bottom: 4px;
}

.hero-content .hero-line::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #f8485e; 
    border-radius: 2px;
}

/* Botón hero */
.btn-hero {
    display: inline-block;
    background-color: rgb(0,88,172);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-hero:hover {
    background-color: #fff;
    color: rgb(3,37,76);
}

/* RESPONSIVE HERO */
@media(max-width: 600px) {
    .hero {
        height: 70vh;
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

/* ===== SECCIONES ===== */
.section {
    padding: 80px 20px;
    text-align: center;
}
.section h2,
.section h3 {
    text-align: center;
    color: #0093ff;
    position: relative;
}



.container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid, .product, .experience-gallery, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid img, .product img {
    width: 100%;
    object-fit: cover;
}

.product img {
    height: 385px;
}

.card, .service-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card img, .service-card img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.card:hover, .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn {
    background: linear-gradient(45deg, #f2c94c, #d1a02c);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    box-shadow: 0 0 15px #f2c94c;
    transform: scale(1.05);
}

/* ===== FORMULARIOS ===== */
form, #contact-form {
    max-width: 450px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
}

form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

form label, #contact-form label {
    display: block;
    margin: 0.5rem 0 0.2rem;
    color: #555;
    font-weight: 500;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea,
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus,
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #ffb237;
    box-shadow: 0 0 8px rgba(255,178,55,0.4);
    outline: none;
}

.btn-enviar {
    background-color: rgb(0, 88, 172) !important;
    color: #f5f4f4 !important;
    border: none;
    padding: 14px 35px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
    display: block;
    margin: 0 auto;
}




.btn-enviar:hover {
    background-color: #d1a02c !important;
    transform: scale(1.05);
}

/* Contenedor contacto adicional */
/* ===== TÍTULOS CONTACTO ===== */
.contacto-title {
  color: #0093ff; /* color oscuro visible sobre fondo blanco */
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
}

.contacto-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; /* separa la línea del texto */
  transform: translateX(-50%);
  width: 15%; /* línea más corta */
  height: 4px;
  background-color: #f8485e; /* línea roja metálica */
  border-radius: 2px;
}

.contacto-subtitle {
  color: #0093ff; 
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.contacto-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 35%; /* línea más corta que la del título principal */
  height: 3px;
  background-color: #f8485e; /* línea roja metálica */
  border-radius: 2px;
}

.contenedor, .contacto-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 20px;
    padding: 2rem 0;
}

.columna {
    flex: 1 1 400px;
    background-color: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    min-width: 300px;
}

/* ===== EXPERIENCIA ===== */
.experience {
    background-color: #f9f9f9; /* fondo general blanco */
    color: #333;
    padding: 80px 20px;
    position: relative;
}

.experience h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1f1f1f;
}

.experience-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.experience-text {
    flex: 1 1 400px;
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Gallery */
.experience-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}



/* ===== FOOTER ===== */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding-top: 40px;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #141414;
    font-size: 0.9rem;
    color: #aaa;
}

.logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.logo-col img {
    width: 65px;
    filter: drop-shadow(0 0 6px rgba(243, 156, 18, 0.4));
}

.logo-col h3,
.about-col h4,
.social-col h4 {
    color: #0093ff;
}

.about-col p {
    color: #ccc;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s, filter 0.3s;
    filter: brightness(0) invert(1);
}

.social-icons img:hover {
    transform: scale(1.1);
    filter: brightness(1) invert(0) sepia(1) saturate(10) hue-rotate(25deg);
}

/* Línea decorativa */
.divider {
    width: 2px;
    position: relative;
    background: linear-gradient(to bottom, transparent 0%, #42b7e9 50%, transparent 100%);
    border-radius: 2px;
    min-height: 140px;
    margin: 0 15px;
    opacity: 0.9;
}

.divider::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff8e1, #f5b041);
    box-shadow: 0 0 8px 2px #f5b041;
    animation: shimmer 3s infinite ease-in-out;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

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

    .footer-container {
        flex-direction: column;
        align-items: center; /* centramos columnas */
        text-align: center;
    }

    /* centramos el logo */
    .logo-col {
        align-items: center;
    }

    /* Ocultamos las líneas verticales para que no corten contenido */
    .divider {
        display: none;
    }

    /* Centramos íconos */
    .social-icons {
        justify-content: center;
    }
}


/* ===== BOTÓN WHATSAPP ===== */
#whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
  z-index: 1000;
}

#whatsapp-button img {
  width: 40px;
  height: 40px;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal, .animate, .parallax-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active,
.animate.visible,
.parallax-card.active {
    opacity: 1;
    transform: translateY(0) scale(1.05);
}

/* ===== PARALLAX ===== */
.parallax-card {
  perspective: 1000px;
}
.parallax-card img {
  transition: transform 0.3s ease-out;
  will-change: transform;
}
.parallax-card.active img {
  transform: translateY(-15px) scale(1.03);
}

.parallax-card:hover img {
    transform: scale(1.05) translateY(-5px);
}


/* ===== BOTONES & HOVER ===== */
.btn, .btn-enviar {
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn:hover, .btn-enviar:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 15px rgba(255,178,55,0.7);
}

/* QUIÉNES SOMOS */
.about-text .hero-line {  
    position: relative;
    text-align: center;
    display: inline-block;
    padding-bottom: 4px;
}

.about-text .hero-line::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #f8485e; 
    border-radius: 2px;
}

.about {
background-color: #fff;
color: #1f1f1f;
padding: 80px 20px;
}

.about-container {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 40px;
max-width: 1200px;
margin: 0 auto;
}

.about-text {
flex: 1 1 500px;
}

.about-text h2 {
font-size: 2rem;
color: #0093ff;
margin-bottom: 20px;
}

.about-text p {
line-height: 1.6;
margin-bottom: 15px;
}

.about-image {
flex: 1 1 400px;
text-align: center;
}

.about-image img {
width: 100%;
max-width: 450px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

/* SERVICIOS */




@media(max-width: 768px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
        background-position: center;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        max-width: 90%;
        margin: auto;
    }
}




.container .hero-line {  
    position: relative;
    text-align: center;
    display: inline-block;
    padding-bottom: 4px;
}

.container .hero-line::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #f8485e; 
    border-radius: 2px;
}



.services {
background-color: #1f1f1f;
color: #fff;
padding: 80px 20px;
text-align: center;
}

.services h2 {
font-size: 2rem;
color: #0093ff;
margin-bottom: 40px;
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
max-width: 1200px;
margin: 0 auto;
}

@media(max-width: 900px) {
    .servicios-cards {
        display: flex;
        flex-direction: column;
        gap: 25px;
        width: 100%;
        align-items: center;
    }

    .card {
        width: 90%;
        margin: auto;
    }

    .services-section {
        padding: 60px 20px;
    }
}



.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.service-card .icon {
font-size: 2rem;
margin-bottom: 10px;
}

/* EXPERIENCIA */
/* --- TARJETAS EXPERIENCIA (VERSIÓN FINAL LIMPIA) --- */

.experience-card {
    height: 320px;              /* Aumenta o reduce aquí */
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* Recorta la imagen manteniendo proporción */
    object-position: center;    /* Centra lo recortado */
}

/* Efecto zoom imagen */
.experience-card:hover img {
    transform: scale(1.1);
}

/* Overlay que aparece desde abajo */
.experience-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;

    opacity: 0;
    transform: translateY(100%);
    transition: opacity .4s ease, transform .4s ease;
}

.experience-card:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Texto del overlay */
.experience-card .overlay h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.experience-card .overlay p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}



.experience {
background-color: #fff;
color: #1f1f1f;
padding: 80px 20px;
}

.experience h2 {
text-align: center;
font-size: 2rem;
color: #0093ff;
margin-bottom: 50px;
}

.experience-content {
max-width: 1200px;
margin: 0 auto;
}

.experience-text {
text-align: center;
margin-bottom: 40px;
}

.experience-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
}






/* RESPONSIVE */
@media (max-width: 900px) {
.about-container {
flex-direction: column;
text-align: center;
}

.about-text, .about-image {
flex: 1 1 100%;
}

.hero-content h1 {
font-size: 2.2rem;
}
}

@media (max-width: 600px) {
.hero {
padding: 90px 15px;
}

.btn-hero {
padding: 10px 24px;
}

.service-card {
width: 100% !important;
padding: 25px 15px;
}

.experience h2 {
font-size: 1.8rem;
}
}


/* =============================
   FIX RESPONSIVE DEFINITIVO
============================= */

/* Evita scroll lateral completamente */
html, body {
    overflow-x: hidden;
}

/* Permite que flex se acomode en móvil */
.container {
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

/* Forzar apilado en pantallas pequeñas */
@media (max-width: 768px) {
    .header-container {
        gap: 10px;
        text-align: center;
        justify-content: space-between !important;
    }

    nav{
        margin-left: 0 !important;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .about-container,
    .experience-content,
    .services-grid {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .divider {
        display: none; /* evita overflow del footer */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* Imágenes nunca rompen layout */
img {
    max-width: 100%;
    height: auto;
    display: block;
}




@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 20px;
        width: 180px;
        background: #1A1A1A;
        padding: 20px;
        border-radius: 12px;
        position: absolute;
        top: 70px;
        right: 20px;
    }

   
}



body, html {
    overflow-x: hidden;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #0093ff29;
    border: 1px solid #0093ff;
    color: #fff;
    box-shadow: 0 0 8px rgba(0,147,255,0.4);
}

.form-message.error {
    background-color: #ff3b3b18;
    border: 1px solid #ff3b3b;
    color: #fff;
    box-shadow: 0 0 8px rgba(255,0,0,0.3);
}

.form-message {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

.services h2,
.experience h2 {
    text-align: center !important;
    width: 100%;
}


@media (max-width: 768px) {
    .hamburger {
        position: absolute !important;
        right: 20px !important;
        left: auto !important;
        top: 25px !important;
        z-index: 9999 !important;
    }
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    
}
.services h2,
.experience h2 {
    text-align: center !important;
}


@media (max-width: 768px) {

    .nav-links {
        display: none !important;
        flex-direction: column !important;
        background: #111;
        padding: 18px 0;
        border-radius: 10px;
        position: absolute !important;
        top: 65px !important; /* SUBIMOS el menú */
        right: 10px !important; /* PEGADO a la derecha */
        width: 190px;
        text-align: center;
        gap: 20px;
        z-index: 9998;
        opacity: 0;
        transform: translateY(-15px);
        transition: opacity .25s ease, transform .25s ease;
    }

    .nav-links.open {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }

    .hamburger {
        display: flex !important;
        position: absolute !important;
        right: 15px !important;
        top: 15px !important;
        z-index: 9999;
        cursor: pointer;
    }

  
    .nav-links li::after {
        display: none !important;
    }
}

@media (max-width: 768px) {

    /* Ocultar menú por defecto */
    nav ul {
        display: none !important;
        flex-direction: column;
        background: #111;
        padding: 18px 0;
        border-radius: 10px;
        position: absolute;
        top: 80px !important; 
        right: 10px !important;
        width: 180px;
        text-align: center;
        gap: 20px;
        z-index: 9998;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease;
    }

    /* Mostrar menú al toggle */
    nav ul.active {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
        z-index: 9998;
    }

    /* Hamburguesa arriba a la derecha */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        position: absolute !important;
        right: 15px !important;
        top: 15px !important;
        z-index: 9999;
        cursor: pointer;
    }

    /* Quitar barras verticales */
    nav ul li::after {
        display: none !important;
    }

    /* Centrar sección "Nuestros Servicios" */
    .services h2,
    .experience h2 {
        text-align: center !important;
        width: 100%;
    }
}

@media (min-width: 769px) {
    nav ul {
        position: static !important;
        opacity: 1 !important;
        display: flex !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    header {
        height: 120px !important;
        position: relative;
        z-index: 9990;
    }
}

@media (max-width: 768px) {
    .hero-title, .hero h1 {
        position: relative;
        z-index: 1;
        padding-top: 20px;
    }
}


.experience-card img {
    height: 320px !important; /* El alto que quieras */
    width: 100%;
    object-fit: cover;
}

/* FIX: Contenido de experiencia centrado y responsivo */
#experiencia .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Texto centrado y con ancho controlado */
.experience-text {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
    padding: 0 15px;
}

/* Galería responsive */
.experience-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

/* Tarjetas */
.experience-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Imágenes responsivas */
.experience-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* FIX: Que no se estiren demasiado en pantallas grandes */
.experience-gallery img {
    max-width: 100%;
}

/* Overlay */
.experience-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity .3s;
}

.experience-card:hover .overlay {
    opacity: 1;
}



/* Ajusta el contenedor de experiencia */
#experiencia .container {
    max-width: 1200px;
    width: 100% !important;
    margin: 0 auto;
    padding: 20px;
    display: block !important; /* <-- IMPORTANTE */
}

/* TITULO */
#experiencia h2 {
    text-align: center !important;
    color: #0093ff !important;
    margin-bottom: 20px;
}

/* TEXTO */
.experience-text {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
    line-height: 1.6;
}

/* GALERÍA */
.experience-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    margin: 20px auto;
}

/* TARJETAS */
.experience-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 260px; /* ajustado */
}

/* IMÁGENES */
.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* OVERLAY */
.experience-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .4s ease, transform .4s ease;
}

.experience-card:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #experiencia .container {
        padding: 10px;
    }

    .experience-card {
        height: 200px;
    }
}

.section h2 {
    text-align: center;
    color: inherit;
    position: relative;
}




