/* ========================================
   ESTILOS.CSS - ESTRUCTURA DEL DOCUMENTO
   ========================================
   
   SECCIONES DEL ARCHIVO:
   
   1. CSS VARIABLES - DARK MODE SUPPORT
   2. RESET GLOBAL & BODY
   3. CONTENEDOR BASE
   4. HEADER & NAVEGACIÓN
   5. LOGO & MENÚ HAMBURGUESA
   6. DARK MODE TOGGLE BUTTON
   7. HERO SECTIONS (INICIO)
   8. MODO MOBILE (max-width: 768px)
   9. MODO DESKTOP (min-width: 769px)
   10. SERVICIOS SECTION
   11. POR QUE ELEGIRNOS
   12. NUESTRO PROCESO
   13. GALLERY / PORTAFOLIO
   14. EXPERTOS
   15. FOOTER
   16. QUIENES SOMOS PAGE
   17. CORRIENTES/SERVICIOS PAGE
   18. CONTACTO PAGE
   19. BREADCRUMB
   20. ACCORDIONS
   21. CTA SECTIONS
   22. BOTÓN SCROLL ARRIBA
   23. RESPONSIVE DESIGN (800px, 500px)
   
   CARACTERÍSTICAS:
   - Usa CSS Variables para dark mode (variables en :root y body.dark)
   - Mobile-first approach con breakpoints en 768px, 800px, 500px
   - Z-index escalado: 
     * Hamburguesa: 1000
     * Dark-mode-toggle: 1001
     * Menú navegación: 999
     * Logo: 500
     * Botón scroll: 99
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== CSS VARIABLES - DARK MODE SUPPORT ========== */
:root {
    /* Light mode (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --bg-header: linear-gradient(to top, rgba(0, 59, 111, 0.612) 0%, rgba(0, 180, 193, 0.612) 100%);
    --bg-footer: #003b6f;
    --text-primary: #000000;
    --text-secondary: #666666;
    --accent: #00b4c1;
    --accent-dark: #1a5f7a;
    --shadow: rgba(0, 0, 0, 0.1);
    scroll-behavior: smooth;
}

body.dark {
    /* Dark mode - MEJORADO PARA MEJOR CONTRASTE */
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-header: linear-gradient(to top, rgba(0, 59, 111, 0.8) 0%, rgba(0, 180, 193, 0.8) 100%);
    --bg-footer: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --accent: #00d4e6;
    --accent-dark: #0099b0;
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Fuentes e iconos: cargar solo desde <link> en cada HTML (evita @import duplicado). */

.contacto-cta {
    margin-bottom: 1rem;
}

.contacto-cta .btn-cotizacion {
    display: inline-block;
}

.contacto-mapa {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.contacto-mapa h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent);
}

.contacto-mapa-iframe {
    border: 0;
    border-radius: 10px;
    width: 100%;
    height: 400px;
}

.contacto-mapa p {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.contacto-mensaje {
    margin-top: 1rem;
    font-weight: bold;
}

/* Anclas: evitar que el ancla quede bajo barra fija al cargar #hero-servicio */
#hero-servicio {
    scroll-margin-top: 1rem;
}

/* Marca del sitio en cabeceras internas (no es encabezado de sección; el h1 va en el contenido). */
p.marca-sitio {
    margin: 0;
}

/* Accesibilidad: foco visible */
:focus:not(:focus-visible) {
    outline: none;
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
button:focus-visible {
    outline-offset: 2px;
}

/* ========== CONTENEDOR BASE ========== */
.contenedor{
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    padding: 60px 0;
}
/* ========== HEADER & NAVEGACIÓN ========== */

header{
    height: 100vh;
    background-image: linear-gradient(to top, rgba(0, 59, 111, 0.612) 0%, rgba(0, 180, 193, 0.612) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    /* background-attachment: fixed; */
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dark-mode-toggle {
  position: fixed;
  top: 70px;
  right: 80px;
    background: var(--accent);

    
}
 .logo img{
    display: block;
    width: 100%;
    height: auto;
    opacity: 1;
    visibility: visible;
    max-height: 130px;
}

/* Asegura mejor tamaño del logo en distintos dispositivos */
@media (max-width: 768px) {
  .logo { width: 190px; }
  .logo img { max-height: 170px; }
}

@media (min-width: 769px) {
  .logo { width: 220px; }
  .logo img { max-height: 190px; }
}


/* Header simplificado para contacto */
.header-contacto {
    background: transparent;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    position: relative;
}
/* 
.logo{
    position: fixed;
    top: 30px;
    left: 30px;
    width: 120px;
    height: auto;
    cursor: pointer;
} */

.logo {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 120px;
    height: auto;
    cursor: pointer;
    z-index: 500;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
  .logo {
    position: fixed;
    top: 20px;
    left: 15px;
    z-index: 500;
    width: 120px;
    height: auto;
    opacity: 1;
    visibility: visible;
  }
}


.head{
    text-align: center;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--text-primary);
}

.hamburguesa{
    display: none;
    margin: 0;
    padding: 0;
    border: none;
    font: inherit;
    line-height: 0;
}
/* ========== MODO MOBILE (max-width: 768px) ========== */

@media (max-width: 768px) {
  .hamburguesa {
    display: block; /* visible en móvil */
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
    z-index: 1000;
  }

  .hamburguesa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
  }
  /* Ocultar menú en desktop, mostrar en móvil (inicialmente oculto) */
  .menu-navegacion {
    position: fixed;
    top: 0;
    right: 0;
    width: 60vw;
    height: 100%;
    background-image: linear-gradient(to top, #003b6f 0%, #00b4c1 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    transition: transform .3s ease-in-out;
    transform: translate(110%);
    z-index: 999;
  }

  .menu-navegacion.spread {
    transform: translate(0); /* se despliega */
  }
}


/* ========== MODO DESKTOP (min-width: 769px) ========== */
@media (min-width: 769px) {
  .header {
    align-items: stretch;
    padding: 20px;
  }
  
  .logo, .menu-navegacion {
    display: inline-block;
    vertical-align: middle;
  }

  .menu-navegacion {
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 30px;
    background: transparent;
    box-shadow: none;
    transform: none;
    top: 20px;
    right: 20px;
  }
    
  .social-media {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }
}


.menu-navegacion a.active {
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.menu-navegacion a:hover {
  color: var(--accent);
  font-size: 1.1em;
}




/* .hamburguesa{
    position: fixed;
    top: 30px;
    right: 30px;
    background: white; 
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
} */

 /* .menu-navegacion{
     font-size: 25px;
     position: fixed;
     top: 0;
     right: 0;
     width: 20vw;
     height: 100%;
     background-image: linear-gradient(to top, #003b6f 0%, #00b4c1 100%);
     display: flex;
     flex-direction: column;
     justify-content: space-evenly;
     align-items: center;
     transition: transform .3s ease-in-out;
     transform: translate(110%);
    box-shadow: 0 0 6px rgba(0, 0, 0, .5)
 } */

 .spread{
     transform: translate(0);
 }

 .menu-navegacion a{
     color: var(--text-primary);
     text-decoration: none;
 }

/* =============== DARK MODE TOGGLE BUTTON =============== */
.dark-mode-toggle {
  position: fixed;
  top: 85px;
  right: 20px;
  background: var(--accent);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px var(--shadow);
  z-index: 1001;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  background: var(--accent-dark);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .dark-mode-toggle {
    top: 100px;
    right: 20px;
  }
}


 .titulo{
     font-size: 60px;
     margin-bottom: 15px;
     color: var(--text-primary);
 }

 .copy{
     font-weight: 300;
     font-size: 25px;
     margin-bottom: 25px;
     color: var(--text-primary);
 }

 .btn-cotizacion{
     display: inline-block;
     padding: 15px 40px;
     background-color: var(--accent);
     color: var(--bg-primary);
     text-decoration: none;
     border-radius: 50px;
     font-weight: 600;
     font-size: 16px;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(0, 180, 193, 0.4);
 }

 .btn-cotizacion:hover{
     background-color: var(--accent-dark);
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(26, 95, 122, 0.4);
 }

 /*nuestro servicio*/

 .subtitulo{
     text-align: center;
     font-weight: 300;
     color: var(--text-primary);
     margin-bottom: 40px;
 }

 .services{
     background-image: url('../img/imagenmano.png');
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
 }

 .contenedor-servicio{
     display: flex;
     justify-content: space-evenly;
     align-items: center;
     flex-wrap: wrap;
     padding: 40px 20px;
 }

 .contenedor-servicio img{
     display: none;
 }

 .checklist-servicio{
     width: 100%;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 20px;
 }

 .service{
     margin-bottom: 0;
 }

 .service-link{
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-decoration: none;
     color: var(--accent-dark);
     padding: 30px 20px;
     border: 2px solid var(--accent);
     border-radius: 12px;
     transition: all 0.3s ease;
     font-weight: 600;
     text-align: center;
     gap: 12px;
     height: 100%;
     background: var(--bg-primary);
 }

 .service-link:hover {
     background-color: var(--bg-secondary);
     transform: translateY(-8px);
     border-color: var(--accent-dark);
     box-shadow: 0 8px 16px rgba(0, 180, 193, 0.2);
 }

 .service-icon{
     font-size: 40px;
     color: var(--accent);
     transition: color 0.3s ease;
 }

 .service-link:hover .service-icon{
     color: var(--accent-dark);
 }

 .number{
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     background-color: var(--accent);
     color: var(--bg-primary);
     border-radius: 50%;
     font-weight: 700;
     margin-right: 15px;
     flex-shrink: 0;
 }

 .gallery{
     background: var(--bg-secondary);
 }

 .contenedor-galeria{
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 20px;
 }

 .galeria-item{
     position: relative;
     overflow: hidden;
     border-radius: 10px;
     box-shadow: 0 4px 12px var(--shadow);
     cursor: pointer;
 }

 .img-galeria{
     object-fit: cover;
     width: 100%;
     height: 250px;
     display: block;
     transition: transform 0.3s ease;
 }

 .galeria-item:hover .img-galeria{
     transform: scale(1.05);
 }

 .galeria-desc{
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
     padding: 25px 15px 15px;
     color: white;
     transform: translateY(100px);
     transition: transform 0.3s ease;
 }

 .galeria-item:hover .galeria-desc{
     transform: translateY(0);
 }

 .galeria-desc h3{
     font-size: 16px;
     font-weight: 700;
     margin-bottom: 5px;
     color: var(--accent);
 }

.galeria-desc p{
     font-size: 13px;
     color: var(--text-secondary);
 }

 .imagen-light{
     position: fixed;
     background:rgba(0,0,0,.6);
     width: 100%;
     height: 100%;
     top: 0;
     left: 0;
     display: flex;
     justify-content: center;
     align-items: center;
     transform: translate(100%);
     transition:  transform .2s ease-in-out;
     
 }

 .show{
     transform: translate(0);
 }

 .agregar-imagen{
     object-fit: cover;
     width: 60%;
     border-radius: 10px;
     transform: scale(0);
     transition: transform .3s .2s;
 }

 .showImage{
     transform: scale(1);
 }


.close{
     position: absolute;
     top: 15px;
     right: 15px;
     width: 40px;
     cursor: pointer;
 }

 .experts{
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 20px;
     justify-items: center;
 }

 .cont-experts{
     width: 100%;
     max-width: 250px;
     text-align: center;
     padding: 25px 20px;
     background: var(--bg-primary);
     border: 2px solid var(--accent);
     border-radius: 10px;
     box-shadow: 0 4px 8px var(--shadow);
     transition: all 0.3s ease;
     cursor: pointer;
 }

 .cont-experts:hover{
     box-shadow: 0 8px 16px rgba(0, 180, 193, 0.2);
     transform: translateY(-5px);
     border-color: var(--accent-dark);
 }

 .titulo-experto{
     color: var(--accent-dark);
     font-size: 18px;
     font-weight: 700;
     margin-bottom: 12px;
 }

 .desc-experto{
     color: var(--text-secondary);
     font-size: 14px;
     line-height: 1.5;
 }

 .experto-img{
     width: 80px;
     height: 80px;
     background-color: var(--bg-secondary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 15px;
     font-size: 50px;
     color: var(--accent);
 }

 .n-expert{
     display: inline-block;
     margin-top: 20px;
     width: 100%;
     font-weight: 400;
 }

 footer{
     background: var(--bg-footer);
     padding-bottom: 0.1px;
     justify-content: space-between;

 }

.footer-content{
   
     text-align-last: center;
     display: flex;
     justify-content: space-between;
     justify-items: end;
     align-items: end;
     flex-wrap: wrap; 
     padding-top: 60px;
     padding-bottom: 40px;

     
         
}
 

 .contac-us{
    width: auto;
    max-width: 100%;
    color: #fff;
 }

 .brand{
     justify-self: stretch;
     align-self: stretch;
     font-weight: 500;
     font-size: clamp(1.1rem, 2.5vw + 0.75rem, 2.35rem);
     line-height: 1.2;
     min-width: 0;
     max-width: 100%;
     overflow-wrap: break-word;
     word-break: break-word;
     padding: 0 8px;
     box-sizing: border-box;
 }

 .brand+p{
     font-weight: 500;
     min-height: auto;
     min-width: 0;
     max-width: 100%;
     overflow-wrap: break-word;
     margin-top: 12px;
     font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1rem);
     line-height: 1.5;
 }

 .social-media{
     width: 50%;
     display: flex;
     justify-content: flex-end;
 }

 .social-media-icon{
     display: inline-block;
     margin-left:  20px;
     width: 60px;
     height: 60px;
     border: 1px solid #fff;
     border-radius: 50%;
     text-align: center;
     color: #fff;

 }

 .social-media-icon:hover{
     background:#fff;
     color: var(--accent);
 }

 .social-media-icon i{
     font-size: 30px;
     line-height: 60px;
 }

 .line{
     width: 90%;
     max-width: 1200px;
     margin:  0 auto;
     height: 2px;
     background:  #fff;
     margin-bottom: 60px;
 }

 /* ===== POR QUE ELEGIRNOS ===== */

 .por-que-elegirnos{
     background-color: var(--bg-secondary);
 }

 .grid-razones{
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 30px;
 }

 .razon{
     text-align: center;
     padding: 30px 20px;
     background: var(--bg-primary);
     border-radius: 10px;
     box-shadow: 0 4px 8px var(--shadow);
     transition: all 0.3s ease;
 }

 .razon:hover{
     transform: translateY(-8px);
     box-shadow: 0 8px 16px rgba(0, 180, 193, 0.2);
 }

 .razon i{
     font-size: 50px;
     color: var(--accent);
     margin-bottom: 15px;
     display: block;
 }

 .razon h3{
     color: var(--accent-dark);
     font-size: 18px;
     margin-bottom: 10px;
     font-weight: 700;
 }

 .razon p{
     color: var(--text-secondary);
     font-size: 14px;
     line-height: 1.5;
 }

 /* ===== NUESTRO PROCESO ===== */

 .nuestro-proceso{
     background-color: var(--bg-secondary);
 }

 .grid-proceso{
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 30px;
 }

 .paso{
     text-align: center;
     padding: 30px 20px;
     background: var(--bg-primary);
     border-radius: 10px;
     box-shadow: 0 4px 12px var(--shadow);
     transition: all 0.3s ease;
     position: relative;
 }

 .paso:hover{
     transform: translateY(-10px);
     box-shadow: 0 12px 24px rgba(0, 180, 193, 0.25);
 }

 .numero-paso{
     position: absolute;
     top: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 40px;
     height: 40px;
     background-color: var(--accent);
     color: var(--bg-primary);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 700;
     font-size: 18px;
     box-shadow: 0 4px 8px rgba(0, 180, 193, 0.4);
 }

 .paso i{
     font-size: 45px;
     color: var(--accent);
     margin-bottom: 15px;
     display: block;
 }

 .paso h3{
     color: var(--accent-dark);
     font-size: 18px;
     font-weight: 700;
     margin-bottom: 12px;
     margin-top: 10px;
 }

 .paso p{
     color: var(--text-secondary);
     font-size: 14px;
     line-height: 1.6;
 }

 /* ===== FOOTER MEJORADO ===== */

 .footer-info{
     margin-top: 15px;
     font-size: 14px;
 }

 .footer-info p{
     display: flex;
     align-items: center;
     margin-bottom: 8px;
     color: var(--text-secondary);
 }

 .footer-info i{
     margin-right: 10px;
     color: var(--accent);
 }

 .footer-info a{
     color: #fff;
     text-decoration: underline;
     text-underline-offset: 2px;
 }

 .footer-info a:hover{
     color: var(--accent);
 }

 .footer-links{
     color: white;
 }

 .footer-links h3{
     color: var(--accent);
     margin-bottom: 15px;
     font-size: 16px;
 }

 .footer-links ul{
     list-style: none;
     padding: 0;
 }

 .footer-links a{
     color: var(--text-secondary);
     text-decoration: none;
     display: block;
     margin-bottom: 8px;
     transition: color 0.3s ease;
 }

 .footer-links a:hover{
     color: var(--accent);
 }

 .social-media h3{
     color: var(--accent);
     margin-bottom: 15px;
     font-size: 16px;
 }

 .footer-bottom{
     text-align: center;
     padding: 20px 12px;
     background-color: rgba(0, 0, 0, 0.3);
     color: var(--text-secondary);
     font-size: clamp(11px, 2.5vw, 13px);
     line-height: 1.45;
     overflow-wrap: break-word;
 }

 /* ===== QUIENES SOMOS PAGE STYLES ===== */

 .hero-quienes {
     background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fa 100%);
     padding: 60px 20px;
     border-radius: 10px;
     margin: 40px 0;
 }

 body.dark .hero-quienes {
   background: linear-gradient(135deg, #1a3a4a 0%, #0f5f6f 100%);
 }

 .hero-quienes .hero-content h1 {
     color: var(--accent-dark);
     font-size: 48px;
     margin-bottom: 15px;
 }

 .subtitulo-hero {
     color: var(--accent);
     font-size: 20px;
     font-weight: 700;
     margin-bottom: 20px;
 }

 .descripcion-hero {
     color: var(--text-secondary);
     font-size: 16px;
     line-height: 1.8;
     max-width: 900px;
 }

 .nuestra-historia {
     margin: 60px 0;
 }

 .intro-historia {
     color: var(--accent);
     font-size: 16px;
     font-weight: 600;
     text-align: center;
     margin-bottom: 40px;
 }

 .grid-historia {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
     margin: 40px 0;
 }

 .historia-card {
     background: var(--bg-primary);
     border: 2px solid #e0e0e0;
     border-radius: 10px;
     padding: 30px;
     text-align: center;
     transition: all 0.3s ease;
 }

 body.dark .historia-card {
   border-color: #444;
 }

 .historia-card:hover {
     border-color: var(--accent);
     transform: translateY(-8px);
     box-shadow: 0 12px 24px rgba(0, 180, 193, 0.15);
 }

 .historia-card i {
     font-size: 48px;
     color: var(--accent);
     margin-bottom: 15px;
     display: block;
 }

 .historia-card h3 {
     color: var(--accent-dark);
     font-size: 18px;
     margin-bottom: 12px;
     font-weight: 700;
 }

 .historia-card p {
     color: var(--text-secondary);
     font-size: 14px;
     line-height: 1.7;
 }

 .proposito-values {
     margin: 60px 0;
 }

 .proposito-section,
 .valores-section {
     margin-bottom: 60px;
 }

 .grid-mision-vision {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 30px;
     margin: 40px 0;
 }

 .mision-card,
 .vision-card {
     border-radius: 10px;
     padding: 35px;
     color: white;
     transition: all 0.3s ease;
 }

 .mision-card {
     background: linear-gradient(135deg, #00b4c1 0%, #0096a6 100%);
 }

 .vision-card {
     background: linear-gradient(135deg, #1a5f7a 0%, #0f3d52 100%);
 }

 .mision-card:hover,
 .vision-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
 }

 .mision-card i,
 .vision-card i {
     font-size: 40px;
     margin-bottom: 15px;
     display: block;
 }

 .mision-card h3,
 .vision-card h3 {
     font-size: 22px;
     margin-bottom: 15px;
     font-weight: 700;
 }

 .mision-card p,
 .vision-card p {
     font-size: 15px;
     line-height: 1.8;
 }

 .grid-valores {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 25px;
     margin: 40px 0;
 }

 .valor-item {
     text-align: center;
     padding: 25px;
     background: var(--bg-secondary);
     border-radius: 10px;
     transition: all 0.3s ease;
 }

 .valor-item:hover {
     background: var(--bg-secondary);
     transform: translateY(-5px);
 }

 .valor-icon {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 60px;
     height: 60px;
     background: linear-gradient(135deg, #00b4c1 0%, #0096a6 100%);
     border-radius: 50%;
     margin: 0 auto 15px;
 }

 .valor-icon i {
     font-size: 32px;
     color: white;
 }

 .valor-item h4 {
     color: var(--accent-dark);
     font-size: 16px;
     margin-bottom: 10px;
     font-weight: 700;
 }

 .valor-item p {
     color: var(--text-secondary);
     font-size: 14px;
 }

 .grid-ventajas {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 25px;
     margin: 40px 0;
 }

 .ventaja-card {
     background: var(--bg-primary);
     border: 2px solid #e0e0e0;
     border-radius: 10px;
     padding: 30px;
     text-align: center;
     transition: all 0.3s ease;
 }

 body.dark .ventaja-card {
   border-color: #444;
 }

 .ventaja-card:hover {
     border-color: var(--accent);
     box-shadow: 0 10px 20px rgba(0, 180, 193, 0.12);
     transform: translateY(-5px);
 }

 .ventaja-card i {
     font-size: 40px;
     color: var(--accent);
     margin-bottom: 15px;
     display: block;
 }

 .ventaja-card h3 {
     color: var(--accent-dark);
     font-size: 17px;
     margin-bottom: 12px;
     font-weight: 700;
 }

 .ventaja-card p {
     color: var(--text-secondary);
     font-size: 14px;
     line-height: 1.6;
 }

 @media screen and (max-width:800px){
     .menu-navegacion{
         width: 50vw;
     }

     .titulo{
         font-size: 40px;
     }

     .contenedor-servicio img{
         display: none;
     }
     
     .contenedor-servicio {
         background-position: center top;
     }

     .checklist-servicio{
         width: 100%;
         grid-template-columns: 1fr;
     }

     .service{
         margin-bottom: 0;
     }

     .agregar-imagen{
         width: 80%;
     }

     .contenedor-galeria{
         grid-template-columns: 1fr;
     }

     .img-galeria{
         width: 100%;
         height: 200px;
     }

     .grid-proceso{
         grid-template-columns: 1fr;
     }

     .paso{
         margin-top: 15px;
     }

     .cont-expert{
         width: 80%;
     }

     .footer-content{
         justify-content: center;
     }

     .social-media{
         width: 80%;
         justify-content: space-evenly;
     }

     .social-media-icon{
         margin-left: 0;
     }

     .social-media i{
         margin-left: 0;
     }

     .contac-us{
         text-align: center;
         width: 100%;
         max-width: 520px;
         margin-left: auto;
         margin-right: auto;
         margin-bottom: 40px;
         padding: 0 16px;
         box-sizing: border-box;
     }

     .brand {
         font-size: clamp(1.05rem, 3.5vw + 0.4rem, 1.65rem);
         padding: 0 12px;
     }

     /* Quienes Somos Responsive */
     .hero-quienes {
         padding: 40px 20px;
     }

     .hero-quienes .hero-content h1 {
         font-size: 36px;
     }

     .subtitulo-hero {
         font-size: 18px;
     }

     .grid-historia,
     .grid-mision-vision,
     .grid-valores,
     .grid-ventajas {
         grid-template-columns: 1fr;
     }

 }

 @media screen and (max-width:500px) {

    .menu-navegacion{
        width: 65vw;
    }

    /* .hamburguesa{
        top: 200px;
        right: 20px;
    } */

    .titulo{
        font-size: 30px;
    }

    .subtitulo{
        font-size: 30px;
    }

    .brand {
        font-size: clamp(0.95rem, 4vw + 0.4rem, 1.25rem);
        line-height: 1.25;
        padding: 0 10px;
    }

    .footer-bottom {
        padding: 16px 10px;
    }

    .agregar-imagen{
        width: 95%;
    }

    .contenedor-galeria{
        grid-template-columns: 1fr;
    }

    .img-galeria{
        width: 100%;
        height: 180px;
    }

    .grid-proceso{
        grid-template-columns: 1fr;
    }

    .grid-beneficios{
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-servicio{
        padding: 35px 15px;
    }

    .hero-servicio h1{
        font-size: 28px;
    }

    .subtitulo-hero{
        font-size: 18px;
    }

    .descripcion-hero{
        font-size: 15px;
    }

    .accordion-header{
        padding: 15px 15px;
        gap: 10px;
    }

    .accordion-header i{
        font-size: 20px;
    }

    .cta-final{
        padding: 35px 20px;
    }

    .cta-final h2{
        font-size: 24px;
    }

    .social-media{
        width: 100%;
    }

    .contac-us{
        width: 90%;
    }
    
     /* Quienes Somos Mobile */
     .hero-quienes .hero-content h1 {
         font-size: 28px;
     }

     .subtitulo-hero {
         font-size: 16px;
     }

     .descripcion-hero {
         font-size: 14px;
     }

     .grid-historia,
     .grid-mision-vision,
     .grid-valores,
     .grid-ventajas {
         grid-template-columns: 1fr;
         gap: 15px;
     }

     .historia-card,
     .mision-card,
     .vision-card,
     .ventaja-card {
         padding: 20px;
     }

     .valor-item {
         padding: 15px;
     }

     .valor-icon {
         width: 50px;
         height: 50px;
     }

     .valor-icon i {
         font-size: 24px;
     }
     
 }
     


/* ============= CSS CONTACTO ============= */
  .contacto {
  background: url("../img/boya1.webp") no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 2rem;
}
.contacto h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-size: 2rem;
}

.contacto form {
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

body.dark .contacto form {
  background: rgba(22, 33, 62, 0.95);
}

.contacto label {
  color: var(--text-primary);
  font-weight: 500;
}

body.dark .contacto label {
  color: #e0e0e0;
}

.contacto input, .contacto textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333;
  background-color: #ffffff;
  font-family: inherit;
}

body.dark .contacto input, 
body.dark .contacto textarea {
  background-color: #2a2a3e;
  color: #e0e0e0;
  border: 1px solid #00b4c1;
}

.contacto button {
  background: #0066cc;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.contacto button:hover {
  background: #004080;
}  

@media (min-width: 769px) {
  .contacto {
    padding-top: 200px; /* o ajusta entre 100–150px según el espacio que necesites */
  }
}

@media (max-width: 768px) {
  .contacto {
    padding-top: 220px; /* o ajusta entre 80–120px según el espacio que necesites */
  }
}


/* ****************boton scroll********* */

#btn-arriba {
  display: none;              /* oculto por defecto */
  position: fixed;            /* siempre visible en pantalla */
  bottom: 20px;               /* distancia desde abajo */
  right: 20px;                /* distancia desde la derecha */
  z-index: 99;                /* encima de otros elementos */
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #0077b6;  /* color de fondo */
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: 0.3s;
}

#btn-arriba:hover {
  background-color: #023e8a;  /* color al pasar el mouse */
}

/* =============== CORRIENTES.HTML STYLES =============== */

/* Breadcrumb */
.breadcrumb-section{
    background-color: var(--bg-secondary);
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

body.dark .breadcrumb-section {
  border-bottom-color: #444;
}

.breadcrumb{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a{
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover{
    color: var(--accent-dark);
    text-decoration: underline;
}

.breadcrumb span{
    color: #999;
}

body.dark .breadcrumb span {
  color: #aaa;
}

.breadcrumb .active{
    color: var(--accent-dark);
    font-weight: 600;
}

/* Hero Service */
.hero-servicio{
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fa 100%);
    padding: 50px 20px;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
}

body.dark .hero-servicio {
  background: linear-gradient(135deg, #1a3a4a 0%, #0f5f6f 100%);
}

.hero-servicio h1{
    font-size: 42px;
    color: var(--accent-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitulo-hero{
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 600;
}

.descripcion-hero{
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Beneficios Grid */
.beneficios-servicio{
    margin-bottom: 50px;
}

.grid-beneficios{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.beneficio-card{
    background: var(--bg-primary);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

body.dark .beneficio-card {
  border-color: #444;
}

.beneficio-card:hover{
    border-color: var(--accent);
    box-shadow: 0 8px 16px rgba(0, 180, 193, 0.15);
    transform: translateY(-5px);
}

.beneficio-card i{
    font-size: 45px;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.beneficio-card h3{
    color: var(--accent-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.beneficio-card p{
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Detalles Servicio */
.detalles-servicio{
    margin-bottom: 50px;
}

.intro-detalles{
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.acordeon-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Accordion Mejorado */
.accordion-header{
    display: flex;
    align-items: center;
    padding: 18px 20px;
    gap: 15px;
}

.accordion-header i{
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.accordion-header span:first-of-type{
    flex: 1;
}

.accordion-header .icon{
    font-size: 20px;
    color: var(--accent);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion.active .accordion-header .icon{
    transform: rotate(45deg);
}

.accordion.active{
    border-color: var(--accent);
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fa 100%);
    box-shadow: 0 4px 12px rgba(0, 180, 193, 0.15);
}

.accordion:hover{
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 180, 193, 0.1);
}

.panel-content{
    padding: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

.panel-content p{
    margin-bottom: 15px;
}

.panel-content ul,
.panel-content ol{
    margin-left: 20px;
    margin-bottom: 15px;
}

.panel-content li{
    margin-bottom: 12px;
}

.panel-content strong{
    color: var(--accent-dark);
    font-weight: 600;
}

/* CTA Final */
.cta-final{
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 50px 30px;
    border-radius: 10px;
    text-align: center;
    color: white;
    margin-top: 50px;
    margin-bottom: 50px;
}

.cta-final h2{
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-final p{
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-final .btn-cotizacion{
    background-color: white;
    color: var(--accent-dark);
    padding: 15px 40px;
    font-weight: 700;
}

.cta-final .btn-cotizacion:hover{
    background-color: #e8f4f8;
    transform: translateY(-2px);
}


/* ============= CSS SERVICIOS accordion ============= */

.img-servicio {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

.accordion {
    background-color: var(--accent);
    color: var(--bg-primary);
    cursor: pointer;
    padding: 12px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.accordion:hover {
    background-color: var(--accent-dark);
}

.panel {
    display: none; /* cerrado */
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--bg-secondary);
    border-left: 3px solid var(--accent);
    padding: 0 10px;
}

.panel.open {
    display: block;   /* 🔑 muestra todo el contenido */
    opacity: 1;
    padding: 10px;
}
