/* -------------------------------------------- */
/* IMPORTACIONES Y CONFIGURACIÓN BASE           */
/* -------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    line-height: 1.5;
    background-color: #ffffff; 
    overflow-x: hidden;
}

/* -------------------------------------------- */
/* TIPOGRAFÍA                                   */
/* -------------------------------------------- */
h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: #1a2b3c;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a2b3c;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* -------------------------------------------- */
/* COMPONENTES REUTILIZABLES                    */
/* -------------------------------------------- */
.btn-black, .btn-white, button[type="submit"] {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;  /* Borde más visible */
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-black::before, .btn-white::before, button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-black:hover::before, .btn-white:hover::before, button[type="submit"]:hover::before {
    left: 0;
}

.btn-black, button[type="submit"] {
    background-color: #1a2b3c;
    color: #ffffff;
    border-color: #1a2b3c;
}

.btn-black:hover, button[type="submit"]:hover {
    background-color: #2c3e50;
    border-color: #2BAF6E;  /* Cambio de color en el borde */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background-color: #ffffff;
    color: #1a2b3c;
    border-color: #1a2b3c;  /* Borde visible */
}

.btn-white:hover {
    background-color: #2BAF6E;  /* Cambio de fondo al hacer hover */
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contenedor principal de cada sección */
.section-container {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.section-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;  /* Cambio de color en el borde */
}

/* Para mantener compatibilidad con clases existentes */
.container, .section, .services, .valores, .nuestro-equipo {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.container:hover, .section:hover, .services:hover, .valores:hover, .nuestro-equipo:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;  /* Cambio de color en el borde */
}

/* -------------------------------------------- */
/* HEADER - FLOTANTE (SIN BORDES NI LÍNEAS)     */
/* -------------------------------------------- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1280px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid #1a2b3c;  /* Borde visible */
}

header.scrolled {
    top: 10px;
    width: calc(100% - 60px);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;  /* Cambio de color en el borde */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .header-container {
    height: 60px;
}

.divlogo .logo {
    height: 50px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

header.scrolled .divlogo .logo {
    height: 40px;
}

/* Navegación - Hover con cambio de color */
nav .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav .nav-list a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    border: none;
    padding: 0.5rem 0;
    position: relative;
}

nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2BAF6E;
    transition: width 0.3s ease;
}

nav .nav-list a:hover::after {
    width: 100%;
}

nav .nav-list a:hover {
    color: #2BAF6E;  /* Color de acento */
    font-weight: 600;
}

nav .nav-list a.active {
    color: #2BAF6E;  /* Color de acento */
    font-weight: 600;
}

nav .nav-list a.active::after {
    width: 100%;
}

header.scrolled nav .nav-list a {
    font-size: 0.9rem;
}

/* Botón WhatsApp en header */
.social-icons-header a {
    text-decoration: none;
    color: #ffffff;
    background-color: #2BAF6E;  /* Color de acento */
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icons-header a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-icons-header a:hover::before {
    left: 0;
}

.social-icons-header a:hover {
    background-color: #1a2b3c;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

header.scrolled .social-icons-header a {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* Menú hamburguesa y overlay */
.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333333;
    z-index: 1001;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Compensar espacio del header fijo */
main {
    padding-top: 120px;
}

/* -------------------------------------------- */
/* FOOTER                                       */
/* -------------------------------------------- */
footer {
    background-color: #1a2b3c;
    color: #ffffff;
    padding: 3rem 0 0 0;
    margin: 2rem auto;
    max-width: 1280px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #2BAF6E;  /* Borde visible */
}

footer:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #ffffff;
}

.container-footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    border-bottom: 1px solid #2c3e50;
    padding-bottom: 2.5rem;
}

.column1 .logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.column1 h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.column1 p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.tittle-footer {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.nav-footer {
    list-style: none;
}

.nav-footer li {
    margin-bottom: 0.7rem;
}

.nav-footer a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-footer a:hover {
    color: #ffffff;
}

.social-icons-footer {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.social-icons-footer a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.social-icons-footer a:hover {
    color: #ffffff;
}

.menu-footer-copyright {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    text-align: center;
    color: #b0b0b0;
    font-size: 0.85rem;
}

/* -------------------------------------------- */
/* FOOTER - ESTILOS PARA CERTIFICACIONES        */
/* -------------------------------------------- */

/* Lista horizontal de certificaciones */
.certifications-list-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;  /* AUMENTADO: más espacio entre imágenes */
    flex-wrap: wrap;
}

/* Cada ítem de la lista */
.certifications-list-horizontal li {
    display: inline-block;
}

/* Estilo para las imágenes de certificación*/
.certifications-list-horizontal .certification-image {
    display: block;
    height: 100px; 
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: none;
}

/* -------------------------------------------- */
/* PÁGINA DE INICIO                             */
/* -------------------------------------------- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    border-radius: 30px;
    margin: 2rem auto;
    max-width: 1280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.hero-slider:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.slider, .content-slider {
    width: 100%;
    height: 100%;
}

.content-slider {
    display: flex;
}

.content-slider img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 30px;
}

.hero-slider .overlay-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.hero-text h1 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero-slider .hometext {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Secciones de la página de inicio */
.section-services{
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #32ADE6;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}
.section-products {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #2BAF6E;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.section-services:hover,
.section-products:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.container-services {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.image-services img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #1a2b3c;  /* Borde visible */
}

.products-intro {
    max-width: 1280px;
    margin: 0 auto 3rem;
    padding: 0;
    text-align: center;
}

.products-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid #1a2b3c;  /* Borde visible */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #2BAF6E;
}

.product-card figure {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-bottom: 2px solid #1a2b3c;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.read-more {
    display: inline-block;
    color: #2BAF6E;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
}

.read-more:hover {
    color: #ffffff;
    background-color: #2BAF6E;
    border-color: #1a2b3c;
    transform: translateY(-2px);
}

/* -------------------------------------------- */
/* PÁGINA DE SERVICIOS                          */
/* -------------------------------------------- */
.grand-img {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    border-radius: 30px;
    margin: 2rem auto;
    max-width: 1280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.grand-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.grand-img {
    display: flex;
}

.grand-img img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.grand-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 30px;
}

main > .overlay-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    z-index: 2;
    color: #ffffff;
}

main > .overlay-box h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

main > .overlay-box .hometext {
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 1rem auto;
}

.services {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #32ADE6;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.services:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.service-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid #1a2b3c;  /* Borde visible */
}

.card:hover {
    transform: translateY(-5px);
    border-color: #2BAF6E;
}

/* GRID DE CLIENTES */
.clients-intro {
    max-width: 1280px;
    margin: 0 auto 3rem;
    padding: 0;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.section-clients {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #2BAF6E;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

/* CONTENEDOR DE CADA LOGO */
.image-clients {
    height: 120px;    
    display: flex;
    justify-content: center;
    align-items: center;
    background: #32ADE6;       
    border-radius: 15px;
    padding: 10px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #1a2b3c;
}

.image-clients:hover,
.section-clients:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

/* IMÁGENES */
.image-clients img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;       
}

/* -------------------------------------------- */
/* PÁGINA SOBRE NOSOTROS                         */
/* -------------------------------------------- */
.section {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #32ADE6;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.text-nosotros {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.galeria-imagenes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.imagen {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #1a2b3c;  /* Borde visible */
    transition: border-color 0.3s;
}

.imagen:hover {
    border-color: #2BAF6E;
}

.imagen img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s;
}

.imagen:hover img {
    transform: scale(1.05);
}

/* MISIÓN Y VISIÓN - Estilo de tarjetas */
.two-cards {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #2BAF6E;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.two-cards:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.two-cards h2 {
    margin-bottom: 3rem;
}

.two-cards .content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-section {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #1a2b3c;  /* Borde visible */
}

.about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #2BAF6E;
}

.about-content {
    padding: 2.5rem;
    text-align: left;
    flex: 1;
}

.about-content .text {
    margin-bottom: 1.5rem;
}

.about-content .text h3 {
    font-size: 2rem;
    color: #1a2b3c;
    margin-bottom: 0.5rem;
    font-weight: 700;
    border-bottom: 3px solid #2BAF6E;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-top: 1rem;
}

/* VALORES - Mismo estilo que Misión y Visión */
.valores {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #32ADE6;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.valores:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.valores h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.values-list li {
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 1.1rem;
    color: #4a4a4a;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
    border: 1px solid #1a2b3c;  /* Borde visible */
}

.values-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #2BAF6E;
}

.values-list strong {
    color: #2BAF6E;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* -------------------------------------------- */
/* NUESTRO EQUIPO - TARJETAS DE EMPLEADOS       */
/* -------------------------------------------- */
.nuestro-equipo {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #2BAF6E 0%, #2c3e50 100%);
    color: #ffffff;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #2BAF6E;  /* Borde visible */
}

.nuestro-equipo:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #ffffff;
}

.equipo-content {
    max-width: 1280px;
    margin: 0 auto;
}

.nuestro-equipo h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.equipo-intro {
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Grid de tarjetas */
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Tarjeta individual */
.equipo-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
    border: 1px solid #2BAF6E;  /* Borde visible */
}

.equipo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #ffffff;
}

/* Imagen del empleado */
.equipo-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-bottom: 2px solid #2BAF6E;
}

.equipo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s;
}

.equipo-card:hover .equipo-img img {
    transform: scale(1.1);
}

/* Información del empleado */
.equipo-info {
    padding: 1.5rem;
    background: #ffffff;
}

.equipo-info h3 {
    color: #1a2b3c;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.equipo-info .cargo {
    color: #2BAF6E;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.contacto-info {
    text-align: left;
    padding: 0.5rem 0;
}

.contacto-info p {
    color: #4a4a4a;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contacto-info .telefono,
.contacto-info .email {
    transition: color 0.2s;
}

.contacto-info .telefono:hover,
.contacto-info .email:hover {
    color: #2BAF6E;
}

/* Imagen grupal al final (opcional) */
.equipo-grupal {
    margin-top: 3rem;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #ffffff;
}

/* -------------------------------------------- */
/* PÁGINA DE CONTACTO                           */
/* -------------------------------------------- */
.contact .container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 4rem 2rem;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 2px solid #1a2b3c;  /* Borde visible */
}

.contact .container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
    border-color: #2BAF6E;
}

.contact h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a2b3c;
}

.formulario {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #1a2b3c;  /* Borde visible */
    transition: border-color 0.3s;
}

.formulario:hover {
    border-color: #2BAF6E;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a2b3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #1a2b3c;  /* Borde visible */
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2BAF6E;
}

.formulario button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    border-radius: 10px;
    background-color: #1a2b3c;
    border: 1px solid #1a2b3c;
}

.formulario button[type="submit"]:hover {
    background-color: #2BAF6E;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* -------------------------------------------- */
/* MEDIA QUERIES - RESPONSIVE                   */
/* -------------------------------------------- */

/* Ajustes para tablets */
@media screen and (max-width: 1024px) {
    .container-footer {
        grid-template-columns: 1fr 1fr;
    }

    .certifications-list-horizontal {
        gap: 3rem;  /* Espacio intermedio */
    }
    
    .certifications-list-horizontal .certification-image {
        height: 85px;  /* Tamaño intermedio para tablets */
    }
}

/* Ajustes para móviles grandes */
@media screen and (max-width: 768px) {
    header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 30px;
    }
    
    header.scrolled {
        top: 5px;
        width: calc(100% - 30px);
    }
    
    .header-container {
        height: 70px;
        padding: 0 1rem;
    }
    
    header.scrolled .header-container {
        height: 55px;
    }
    
    main {
        padding-top: 100px;
    }
    
    .menu-icon {
        display: block;
    }

    nav .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 50vh;
        background: #ffffff;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 1.5rem;
        border-radius: 20px 0 0 20px;
        border: 1px solid #2BAF6E;  /* Borde visible */
        border-right: none;
    }

    nav .nav-list.active {
        right: 0;
    }

    .social-icons-header {
        display: none;
    }

    .container-services {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-slider {
        height: 70vh;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }

    .container-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .column1 .logo {
        margin: 0 auto 1rem;
    }

    .social-icons-footer {
        align-items: center;
    }

    .grand-img {
        height: 50vh;
    }

    .service-container {
        grid-template-columns: 1fr;
    }

    .section,
    .two-cards,
    .valores,
    .nuestro-equipo {
        padding: 3rem 1rem;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
    
    /* Ajustes para las tarjetas de equipo en móvil */
    .equipo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .equipo-img {
        height: 250px;
    }

    .certifications-horizontal {
        padding: 1.5rem 1rem;
    }
    
    .certifications-list-horizontal {
        gap: 2.5rem;
    }
    
    .certifications-list-horizontal .certification-image {
        height: 75px;  /* AUMENTADO: de 50px a 75px en móvil */
    }
}

/* Ajustes para móviles pequeños */
@media screen and (max-width: 480px) {
    .container,
    .section,
    .services,
    .valores,
    .nuestro-equipo,
    .hero-slider,
    .grand-img,
    footer {
        margin: 1rem auto;
        padding: 2rem 1rem;
    }
    
    .formulario {
        padding: 1.5rem;
    }

    .galeria-imagenes {
        grid-template-columns: 1fr;
    }
    
    /* Tarjetas de equipo en una columna para móviles pequeños */
    .equipo-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto 2rem;
    }

    .certifications-list-horizontal {
        gap: 2rem;
    }
    
    .certifications-list-horizontal .certification-image {
        height: 65px;  /* AUMENTADO: de 45px a 65px en móvil pequeño */
    }
}

/* Ajustes para móviles muy pequeños */
@media screen and (max-width: 360px) {
    .certifications-list-horizontal {
        gap: 1.5rem;
    }
    
    .certifications-list-horizontal .certification-image {
        height: 55px;  /* Tamaño seguro para pantallas muy reducidas */
    }
}