/* VARIABLES */
:root {
    --fuente-principal: 'Nunito', sans-serif;
    --color-azul: #307FE2;
    --color-oscuro: #01253B;
    --color-blanco: #ffffff;
    --color--hover: #BED7F7;
}

/* FONT SIZE */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
label { font-size: 1rem; }

p, li, ul, ol {
    font-size: 1rem;
    line-height: 1.6;
}
small {
    font-size: 0.875rem;
}

/* SCROLL */
html {
    scroll-behavior: smooth;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body {
    font-family: var(--fuente-principal);
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    line-height: 1.6;
}

/* WHATSAPP */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color-blanco);
    z-index: 999;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}  
  
/* LINKS */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
  
a:hover {
    color: var(--color--hover);
}

/* PRIVACY NOTICE */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 9999;
    max-width: 960px;
}
.cookie-texto p {
    margin: 0;
    flex: 1;
    line-height: 1.5;
    margin-bottom: 15px;
}
.cookie-banner a {
    color: var(--color-azul);
    text-decoration: underline;
}
.cookie-controles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
}
.cookie-buttons button {
    padding: 8px;
    border: none;
    cursor: pointer;
    width: 80%;
    max-width: 200px;
    transition: background-color 0.3s ease;
}
.cookie-buttons button:first-child {
    background-color: var(--color-azul);
    color: white;
}
.cookie-buttons button:nth-child(2),
.cookie-buttons button:last-child {
    background-color: #e0e0e0;
    color: var(--color-oscuro);
}
.cookie-buttons button:hover {
    opacity: 0.9;
}
.cookie-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.8rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.cookie-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-oscuro);
}

.cookie-options input[type="checkbox"] {
    accent-color: var(--color-azul); /* Color personalizado para checkboxes modernos */
    width: 15px;
    height: 15px;
    cursor: pointer;
}
  
/* HEADER */
header {
    background-color: var(--color-azul);
    color: var(--color-blanco);
    padding: 20px 160px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.shrink {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
    padding: 10px 160px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    font-weight: bold;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

#nav-links li {
    display: flex;
    align-items: center;
}
  
#nav-links li .boton-contacto-animado a {
    padding: 0; /* para que no herede padding de nav a */
}
  
nav:not(.social) ul {
    display: flex;
    gap: 10px;
    list-style: none;
}

.logo {
    width: 150px;
    max-height: 40px;
    height: auto; 
    display: block;
}

/* Botón hamburguesa oculto en pantallas grandes */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--color-blanco);
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
}

nav:not(.social) ul.show {
    display: flex;
}

/* ANIMACION DEL BOTON */
.boton-contacto-animado {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 35px;
    perspective: 1000px;
}
  
.boton-contacto-animado a {
    letter-spacing: 1px;
    transform-style: preserve-3d;
    transform: translateZ(-17.5px);
    transition: transform 0.3s ease;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
  
.boton-contacto-animado a::before,
.boton-contacto-animado a::after {
    position: absolute;
    content: "Contáctanos";
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-oscuro);
    box-sizing: border-box;
    border-radius: 20px;
    backface-visibility: hidden;
}
  
.boton-contacto-animado a::before {
    color: #fff;
    background-color: var(--color-oscuro);
    transform: rotateY(0deg) translateZ(17.5px);
}
  
.boton-contacto-animado a::after {
    color: var(--color-oscuro);
    background-color: #ffffff;
    transform: rotateX(90deg) translateZ(17.5px);
}
  
.boton-contacto-animado a:hover {
    transform: translateZ(-17.5px) rotateX(-90deg);
}

/* REDES SOCIALES */
.social {
    position: fixed;
    top: 10%;
    left: 0;
    z-index: 999;
    display: flex !important;
}

.social a {
    color: var(--color-oscuro);
    text-decoration: none;
    white-space: nowrap;
}

.social ul {
    padding: 0;
    margin: 0;
    transform: translate(-100px, 0);
    display: flex;
    flex-direction: column;
}

.social ul li {
    display: block;
    margin: 5px;
    background: rgba(0, 0, 0, 0.36);
    width: 160px;
    text-align: right;
    padding: 10px;
    border-radius: 0 30px 30px 0;
    transition: all 1s;
}

.social ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
}
.social ul li:hover {
    transform: translate(80px, 0);
    background: rgba(1, 2, 3, 0.4);
}
.social ul li:hover a {
    color: var(--color-blanco);
}
.social ul li:hover i {
    color: #fff;
    background: rgba(48, 127, 226, 0.6);
    transform: rotate(360deg);
    transition: all 1s;
}
.social ul li i {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    color: var(--color-azul);
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    background: #ffffff;
    transform: rotate(0deg);
}
  
/* BANNER */
.banner {
    background-color: var(--color-azul);
    color: var(--color-blanco);
    padding: 60px 160px;
    text-align: left;
}

.banner-text {
    opacity: 0;
    transform: translateX(50%);
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 0.6s;
    z-index: 40;
    margin-top: 80px;
    font-size: 3.2rem;
    margin-bottom: 0px;
    padding-bottom: 0;
    line-height: 1;
}
  
.banner .banner-text span {
    display: block;
    font-weight: 500;
    color: var(--color-oscuro); 
}
  
/* Texto inferior sobre blanco */
.banner-subtext {
    color: var(--color-oscuro);
    margin-left: 45%;
    font-size: 1.6rem;
    text-align: right;
    padding: 30px 160px;
    opacity: 0;
    transform: translateX(-70%);
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.6s;
    margin-top: -100px;
}
  
/* Imagen de fondo */
.banner-contenido {
    display: block;
    width: 100%;
    text-align: center;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(-50%);
    animation: slideInDown 1s ease-out forwards;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.banner-image.active {
    opacity: 1;
    transform: translateY(0);
}
  
/* PRODUCTOS DESTACADOS */
.productos-destacados {
    display: flex;
    justify-content: left;
    gap: 30px;
    padding: 40px 160px;
    flex-wrap: wrap;
}
  
.productos-destacados article {
    padding: 20px;
    flex: 1 1 300px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateX(100%);
    animation: slideInRight 1s ease-out forwards;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
}

.productos-destacados article:nth-child(1) { animation-delay: 0.2s; }
.productos-destacados article:nth-child(2) { animation-delay: 0.4s; }

.productos-destacados article img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 10px;
}

.productos-destacados article div {
    flex: 1;
}
  
.productos-destacados h4 {
    color: var(--color-azul);
    margin-bottom: 10px;
    font-size: 1.8em;
}

.productos-destacados p {
    line-height: 1.5;
}
  
.productos-destacados button {
    background-color: var(--color-azul);
    color: var(--color-blanco);
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
  
.productos-destacados button:hover {
    background-color: var(--color-oscuro);
    color: var(--color-blanco);
}

.productos-destacados button:hover::after {
    content: ' »';
    font-size: 1rem;
}
  
/* PRODUCTOS INFO */
.productos-info {
    background-color: var(--color-azul);
    color: var(--color-blanco);
    padding: 50px 160px 0px 160px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    border: var(--color-azul);
    margin-bottom: 0 !important;
    overflow: hidden;
}

.productos-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    transform: translateX(80%);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.productos-texto.active {
    opacity: 1;
    transform: translateX(0);
}
  
.productos-texto h2 {
    margin-bottom: 0px;
    font-weight: 1000;
}
  
.productos-texto h1 {
    font-weight: 400;
    color: var(--color-oscuro);
    font-size: 2rem;
}
  
.productos-texto p {
    margin: 10px auto;
    line-height: 1.8;
}
  
.productos-texto button {
    background-color: var(--color-blanco);
    color: var(--color-azul);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    align-self: flex-start;
}
  
.productos-texto button:hover {
    background-color: var(--color--hover);
    color: var(--color-oscuro);
}

.productos-texto button:hover::after {
    content: ' »';
    font-size: 1rem;
}

.productos-imagen {
    flex: 1;
    display: flex;
    align-items: center;
    align-items: center;
    position: relative;
}

.productos-imagen img {
    max-width: 100%;
    object-fit: cover;
    height: auto;
    display: block;
}

.overimage {
    text-align: center;
    position: absolute; 
    bottom: 40%; 
    left: 7%;
    right: 7%;
    color: white; 
    padding: 10px 15px;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7); 
    z-index: 4;
}

/* ONDA DECORATIVA */
.onda {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px !important;
    z-index: -1;
}
  
.onda svg {
    display: block;
    width: 100%;
    height: auto;
}  
  
/* SERVICIOS */
.servicios {
    padding: 40px 160px;
    text-align: left;
}

.servicios-contenido {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}
  
.servicios-imagen {
    position: relative;
    width: 30%;
    max-width: 30%;
    height: auto;
}

.servicios-imagen img {
    width: 100%;
    height: auto;
}

.servicios-texto {
    width: 70%;
    max-width: 70%;
    height: auto;
}

.servicios-texto h2 {
    color: var(--color-azul);
}
  
.servicios-texto h3 {
    color: var(--color-oscuro);
    font-weight: 600;
}
  
.servicios-texto p {
    max-width: 700px;
    line-height: 1.6;
    margin-top: 5px;
    margin-bottom: 15px;
}
  
/* CONTACTO */
.contacto {
    background-color: var(--color-oscuro);
    color: var(--color-blanco);
    padding: 40px 160px;
}

.contacto-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease-out;
}

.contacto-contenido.zoom-active {
    opacity: 1;
    transform: scale(1);
    animation: zoomInCenter 1s ease-out forwards;
}

.contacto-contenido h2{
    margin-bottom: 20px;
}

.contacto-formulario {
    width: 50%;
    z-index: 10;
}

.contacto-formulario div {
    margin-bottom: 15px;
}

.info-contacto {
    margin-bottom: 20px;
    margin-left: 20px;
}

.info-contacto h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-blanco);
    font-weight: bold;
    margin: 0;
}

.info-contacto h4 i {
    font-size: 1.5rem;
    color: var(--color-azul);
}

.info-contacto p {
    color: var(--color-azul);
    margin: 5px 0 0 28px; /* alineado con el texto */
}

.contacto-formulario form {
    margin-top: 40px;
    z-index: 10;
}

.contacto-formulario form .grid-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0px; 
}

.contacto-formulario label {
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
    color: var(--color-blanco);
}

.contacto input, .contacto textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: var(--fuente-principal);
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
}

.contacto textarea {
    flex: 1 1 100%;
    height: 100px;
    grid-column: span 2;
}

.contacto-formulario form > div:last-child {
    display: flex;
    justify-content: flex-start; /* o center si lo quieres centrado */
}

.contacto button {
    background-color: var(--color-azul);
    color: var(--color-blanco);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
}

.contacto button:hover::after {
    content: ' ❯';
    font-size: 0.8rem;
}

.required-asterisk {
    color: red;
}

.error-text {
    color: red;
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: bold;
    display: block;
}

.contacto-imagen {
    width: 50%;
    max-width: 480px;
}

.contacto-imagen img {
    height: auto;
    width: 100%;
    display: block;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: green;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    width: 80%;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.3s ease;
    transform: translateY(20px);
    z-index: 10000;
    font-size: 0.95rem;
    text-align: center;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toast.visible {
    opacity: 1;
    transform: translateX(-10%) scale(1);
}

/* IMAGEN FOOTER */
.footer-imagen {
    /*background-color: var(--color-oscuro);*/
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.5s ease-out;
    margin: -1px 0 0 0;
    width: 100%;
}

.footer-imagen img {
    width: 100%;
    height: auto;
}

.footer-imagen.active {
    animation: slideInLeft 1s ease-out forwards;
}  
  
/* FOOTER */
footer {
    background-color: var(--color-oscuro);
    color: var(--color-blanco);
    text-align: center;
    padding: 20px 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;
    min-height: 100px;
}

/* NOSTROS */
.nosotros {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 160px;
    background-color: var(--color-blanco); 
    gap: 50px;
}

.nosotros-texto {
    width: 50%;
    max-width: 600px;
    margin-top: 80px;
}

.nosotros-texto h2 {
    color: var(--color-oscuro);
    font-weight: 400;
}

.nosotros-texto h1 span {
    font-weight: 800;
    color: var(--color-azul);
}

.nosotros-texto p {
    line-height: 1.8;
    color: var(--color-oscuro);
}

.medio-logo {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    align-self: flex-end;
}

.medio-logo img {
    width: 100%;
    max-width: 600px; 
    height: auto;
    display: block;
}

/* BANNER IMAGEN */
.banner-imagen {
    background-color: var(--color-oscuro); /* o blanco si prefieres */
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.5s ease-out;
    margin: 0;
    width: 100%;
}

.banner-imagen img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-imagen.active {
    animation: slideInLeft 1s ease-out forwards;
}

/* SOLUCIONES */
/* CONTENEDOR PRINCIPAL */
.soluciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 50px 160px;
    background-color: var(--color-azul);
    color: var(--color-blanco);
}

/* PRIMER TEXTO (PÁRRAFO Y BLOCKQUOTE) */
.soluciones > div:first-child {
    width: 60%;
    line-height: 1.8;
}

/* BLOCKQUOTE CON BARRA IZQUIERDA */
.soluciones blockquote {
    border-left: 5px solid var(--color-blanco);
    padding-left: 20px;
    margin-top: 20px;
}

/* SEGUNDO TEXTO (CUADRO OSCURO) */
.soluciones-ii {
    width: 40%;
}

.frase-contenedor {
    background-color: var(--color-oscuro);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 0;
    color: var(--color-blanco);
}

.frase {
    font-size: 1.3rem;
    line-height: 1.5;
    text-align: center;
}


.frase::before,
.frase::after {
    font-size: 1.5rem; 
    vertical-align: middle; 
}

.frase::before {
    content: "« ";
}

.frase::after {
    content: " »";
}

/* NEGRITAS EN BLANCO */
.soluciones b, .soluciones strong {
    color: var(--color-blanco);
    font-weight: bold;
}

/* VANGUARDIA */
/* CONTENEDOR PRINCIPAL */
.vanguardia {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 160px;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
}

/* CONTENEDOR DE LA IMAGEN CON CÍRCULO Y ONDA */
.vanguardia > div:first-child {
    width: 40%;
    position: relative;
    text-align: center;
}

.vanguardia > div:first-child img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

/* SEGUNDO DIV TEXTO */
.vanguardia > div:last-child {
    width: 60%;
    line-height: 1.8;
}

.vanguardia p {
    margin: 20px 0;
}

.vanguardia b {
    font-weight: bold;
    color: var(--color-oscuro);
}

/* BANNER PRODUCTO */
.banner-producto {
    background-color: var(--color-azul);
    padding: 60px 160px; 
    text-align: left; 
}

.banner-producto div{
    width: 50%; 
}

.banner-producto p {
    font-size: 3.2rem; 
    font-weight: 400;
    color: var(--color-oscuro); 
    margin-top: 80px;
    line-height: 1;
    opacity: 0; 
    transform: translateX(-100px); 
    animation: slideInRight 1.2s ease-out forwards; 
}

.banner-producto p strong {
    color: var(--color-blanco); 
    font-weight: 700;
}

.banner-producto-imagen {
    width: 100%;
    overflow: hidden; 
    opacity: 0;
    transform: translateY(-100px);
    animation: slideInTop 1s ease-out forwards;
}

.banner-producto-imagen img {
    width: 100%;
    height: auto;
    display: block;
}

/* DESCRIPCION PRODUCTOS
/* CONTENEDOR PRINCIPAL */
.descripcion-productos {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0; 
    width: 100%;
    color: var(--color-blanco);
    font-family: 'Nunito', sans-serif;
    line-height: 1.8;
}

.descripcion-tubos,
.descripcion-conexiones {
    align-items: flex-start; 
}

/* BLOQUE TUBERÍAS */
.descripcion-tubos {
    width: 50%;
    background-color: var(--color-azul); 
    padding: 50px 40px 50px 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* BLOQUE CONEXIONES */
.descripcion-conexiones {
    width: 50%;
    background-color: var(--color-oscuro); 
    padding: 50px 160px 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* TÍTULOS */
.descripcion-productos h2 {
    margin-bottom: 10px;
}

.descripcion-productos p {
    margin-bottom: 10px;
}

/* BOTONES GENERALES */
.descripcion-productos button {
    text-align: left;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: auto !important;
    display: inline-block !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box; 
    min-width: fit-content;
    align-items: flex-start;
}

/* BOTONES DEL PRIMER BLOQUE */
.descripcion-tubos button:first-of-type {
    background-color: var(--color-blanco);
    color: var(--color-azul);
    margin-bottom: 0px;
}

.descripcion-tubos button:last-of-type {
    background-color: var(--color-oscuro);
    color: var(--color-blanco);
}

.descripcion-tubos button:hover::after {
    content: ' »';
    font-size: 1rem;
}

/* BOTONES DEL SEGUNDO BLOQUE */
.descripcion-conexiones button:first-of-type {
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    margin-bottom: 0 !important;
}

.descripcion-conexiones button:last-of-type {
    background-color: var(--color-azul);
    color: var(--color-blanco);
}

.descripcion-conexiones button:hover::after {
    content: ' »';
    font-size: 1rem;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

.modal-contenido {
    max-width: 90%;
    max-height: 80%;
    margin-top: 50px;
}

.cerrar {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.controles {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.controles button {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* TECNOLOGIA */
.tecnologia {
    display: flex;
    justify-content: space-between;
    padding: 50px 160px;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    gap: 40px;
    align-items: center; 
}

.tecnologia div {
    align-items: center;
    margin-bottom: 10px;
}

/* TEXTO PRINCIPAL */
.tecnologia > div:first-child {
    width: 50%;
}

.tecnologia h1 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.tecnologia h2 {
    color: var(--color-azul);
}

.tecnologia p {
    line-height: 1.8;
}

.tecnologia strong {
    font-weight: bold;
    color: var(--color-oscuro);
}

/* TOGGLES CONTAINER */
.tecnologia > div:last-child {
    width: 50%;
}

/* ENCABEZADOS TOGGLE */
.tecnologia h5 {
    background-color: var(--color-azul);
    color: var(--color-blanco);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.7s ease;
    border: 1px solid transparent;
}

/* ICONO + O - */
.tecnologia h5::after {
    content: '\002b';
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    text-justify: center;
}

/* ICONO CAMBIA A - CUANDO ABIERTO */
.aplicaciones-composites.active h5::after,
.aplicaciones-tuberias.active h5::after {
    content: '\2212'; /* Unicode - */
}

/* BACKGROUND CAMBIA A BLANCO CUANDO ACTIVO */
.aplicaciones-composites.active h5,
.aplicaciones-tuberias.active h5 {
    background-color: var(--color-blanco);
    color: var(--color-azul);
    border: 1px solid var(--color-azul);
    border-bottom: none;
}

/* CONTENIDO DE CADA TOGGLE */
.aplicaciones-composites div,
.aplicaciones-tuberias div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.5s ease;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    padding: 0;
    border: none;
    visibility: hidden;
}

.aplicaciones-composites.active div,
.aplicaciones-tuberias.active div {
    max-height: 1000px;
    padding: 20px;
    visibility: visible;
    border: 1px solid var(--color-azul);
    border-top: none;
}

/* LISTA */
.aplicaciones-composites ul,
.aplicaciones-tuberias ul {
    list-style: disc inside;
    padding-left: 0;
}

.aplicaciones-composites li,
.aplicaciones-tuberias li {
    margin-bottom: 10px;
}

.aplicaciones-composites p,
.aplicaciones-tuberias p {
    margin-top: 10px;
    line-height: 1.6;
}

/* BANNER PROUCTOS 2 */
.banner-productos-2 {
    width: 100%;
    overflow: hidden; 
}

.banner-productos-2 img {
    width: 100%;
    height: auto;
    display: block;
}

/* CARACTERISTICAS */
.caracteristicas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 60px 160px;
    background-color: var(--color-azul);
    color: var(--color-blanco);
    position: relative;
}

.caracteristicas-circulo {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circulo-conector {
    width: 100%;
    height: 100%;
}

/* Círculo Central */
.contenido-central {
    width: 350px;
    height: 350px;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 2;
    flex-direction: column;
}

.contenido-central h4 {
    margin-bottom: 10px;
    text-decoration: underline;
}

.contenido-central p,
.contenido-central ul {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.contenido-central ul {
    list-style: disc inside;
    text-align: left;
    word-wrap: break-word;
}

.caracteristicas-circulo {
    position: relative;
    width: 500px;
    height: 500px;
    min-width: 300px;
    min-height: 300px;
    max-width: 500px;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SVG para la línea circular */
.circulo-conector {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.caracteristicas .circulo {
    position: relative;
    width: 200px;
    height: 200px;
    border: 2px dashed var(--color-azul); /* Borde que conecta */
    border-radius: 50%;
    margin: 0 auto;
    animation: rotarCirculo 60s linear infinite;
}

.mini-circulos {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
}

/* Mini Círculos */
.mini-circulos div {
    width: 70px;
    height: 70px;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: absolute;
    cursor: pointer;
    transition: all 1s ease;
    flex-direction: column;
    font-size: 0.9rem;
}

.mini-circulos div i {
    margin-bottom: 3px;
}

/* Posiciones */
.mini-circulos div:nth-child(1) { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.mini-circulos div:nth-child(2) { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.mini-circulos div:nth-child(3) { top: 100%; left: 50%; transform: translate(-50%, -50%); }
.mini-circulos div:nth-child(4) { top: 50%; left: 0%; transform: translate(-50%, -50%); }

/* Activo */
.mini-circulos div.active {
    background-color: #009CF7;
    color: var(--color-blanco);
}

/* Información lateral */
.caracteristicas-info {
    width: 50%;
    padding-left: 20px;
}

.caracteristicas-info h2 {
    margin-bottom: 20px;
}

.caracteristicas-info p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.caracteristicas-info button {
    background-color: var(--color-oscuro);
    color: var(--color-blanco);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.caracteristicas-info button:hover::after {
    content: ' »';
    font-size: 1.1rem;
}

/* GOLPE DE ARIETE */
.golpe-de-ariete {
    display: flex;
    justify-content: space-between;
    align-items: center; /* sino stretch */
    padding: 0 0 0 160px;
    gap: 40px;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
}

.golpe-de-ariete > div:first-child {
    width: 55%;
    line-height: 1.8;
    padding: 40px 0;
}

.golpe-de-ariete h2 {
    color: var(--color-azul);
    font-weight: 800;
    margin-bottom: 20px;
}

.golpe-de-ariete p {
    margin-bottom: 15px;
}

.golpe-de-ariete p strong,
.golpe-de-ariete p b {
    font-weight: bold;
}

.golpe-de-ariete > div:last-child {
    width: 45%;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.golpe-de-ariete img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PROCESOS */ 
.procesos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 160px;
    gap: 40px;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
}

.procesos > div:first-child {
    width: 50%;
}

.procesos > div:first-child img {
    width: 100%;
    height: auto;
    display: block;
}

.procesos > div:last-child {
    width: 50%;
    line-height: 1.5;
}

.procesos h2 {
    color: var(--color-oscuro);
    font-weight: 600;
    margin-bottom: 20px;
}

.procesos p {
    margin-bottom: 15px;
}

.procesos p strong,
.procesos p b {
    font-weight: bold;
}
 
.procesos > div:last-child > div:last-child {
    background-color: var(--color-azul);
}

/* SOPORTE */
.soporte {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0px 0px 60px 160px;
    gap: 20px;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    margin: 0;
}

.soporte-contenido {
    width: 60%;
    line-height: 1.8;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center; 
}

.soporte-contenido > span {
    display: block;
    margin-bottom: 20px;
    margin-top: 20px;
}

.soporte-contenido ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.soporte-contenido ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.soporte-contenido ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--color-azul);
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soporte-contenido p {
    font-weight: 500;
    margin-bottom: 10px;
}

.soporte-imagen {
    width: 35%;
}

.soporte-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-top: -2px;
}

/* ASISTENCIA EN PROYECTOS */
.asistencia-en-proyectos {
    background-color: #f6f6f6; /* Fondo claro */
    padding: 80px 160px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--color-oscuro);
    line-height: 1.2;
    margin-top: -62px;
}

.asistencia-en-proyectos div {
    max-width: 600px; /* Controla el ancho del texto */
}

.asistencia-en-proyectos h2 {
    font-weight: 400;
    margin-bottom: 10px;
}

.asistencia-en-proyectos h1 span {
    font-weight: 700;
    color: var(--color-azul); 
    display: block;
    margin-bottom: 10px;
}

.asistencia-en-proyectos p {
    line-height: 1.8;
    color: var(--color-oscuro);
}

.asistencia-en-proyectos p strong {
    font-weight: 700;
}

/* ASESORIA */
.asesoria {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 160px;
    gap: 40px;
    background-color: #f6f6f6; 
    padding-bottom: 90px;
    margin-top: -40px;
}

.asesoria-ii {
   width: 50%;
   display: flex;
   align-items: center;
}

/* Lista de asesoría */
.asesoria > div:last-child {
    width: 50%;
    color: var(--color-oscuro);
    line-height: 1.2;
}

.asesoria > div:last-child p strong {
    display: block;
    margin-bottom: 20px;
}

.asesoria ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.asesoria ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.asesoria ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--color-azul);
    border-radius: 50%;
    background: transparent;
}

/* PORQUE PRFV */
.porque-prfv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 160px 160px 40px 160px;
    gap: 40px;
    background-color: #f6f6f6;
    flex-wrap: wrap;
}

/* Texto */
.porque-prfv-texto {
    width: 55%;
    height: 100%;
}

.porque-prfv-texto h1 {
    color: var(--color-azul);
    margin-bottom: 20px;
}

.porque-prfv-texto p {
    line-height: 1.8;
    color: var(--color-oscuro);
    margin-bottom: 15px;
}

/* Acordeón */
.porque-prfv-acordeon {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.porque-prfv-texto p strong {
    font-weight: 700;
}

.porque-prfv-texto p em {
    color: var(--color-oscuro);
    font-style: italic;
}

/* COLUMNA DERECHA: ACORDEÓN */
.porque-prfv-acordeon {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ITEM DEL ACORDEÓN */
.acordeon-item {
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* TÍTULO DEL ACORDEÓN */
.acordeon-titulo {
    background-color: var(--color-azul, #307FE2);
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    transition: background-color 0.4s, color 0.4s;
}

/* ICONO + O - */
.acordeon-titulo::after {
    content: '\002b'; /* + */
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

/* CAMBIO DE ESTILO CUANDO ABIERTO */
.acordeon-item.active .acordeon-titulo {
    background-color: var(--color-blanco);
    color: var(--color-azul);
    border: 1px solid var(--color-azul);
    border-bottom: none;
}

.acordeon-item.active .acordeon-titulo::after {
    content: '\2212'; /* - */
}

/* CONTENIDO DEL ACORDEÓN */
.acordeon-contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.5s ease;
    background-color: var(--color-blanco);
    color: var(--color-oscuro);
    padding: 0 20px;
    border: none;
    visibility: hidden;
}

.acordeon-item.active .acordeon-contenido {
    max-height: 1000px;
    padding: 20px;
    visibility: visible;
    border: 1px solid var(--color-azul);
    border-top: none;
}

.acordeon-contenido p {
    margin: 0;
    color: var(--color-oscuro);
    line-height: 1.6;
}

/* CERTIFICACION ISO */
.certificacion-iso {
    background-color: var(--color-azul); /* Fondo oscuro */
    padding: 60px 160px 60px 160px;
    color: var(--color-blanco);
}

.certificacion-contenido {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.certificacion-imagen img {
    max-width: 120px;
    height: auto;
}

.certificacion-texto {
    flex: 1;
}

.certificacion-texto h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.certificacion-texto p {
    line-height: 1.8;
    color: white;
}

.certificacion-texto p strong {
    font-weight: 700;
}

/* DISTRIBUIDORES */
.distribuidores {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 160px 160px 80px 160px;
    background-color: var(--color-azul);
    color: var(--color-blanco);
    gap: 30px;
    flex-wrap: wrap;
}

.distribuidores div {
    opacity: 0;
    transform: translateX(50%);
    animation: slideInRight 1s ease-out forwards;
}

/* Columna Izquierda */
.distribuidores > div:first-child {
    width: 45%;
}

.distribuidores > div:first-child p {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.distribuidores > div:first-child b {
    color: var(--color-blanco);
}

.distribuidores > div:first-child span {
    color: var(--color-oscuro);
    font-weight: 400;
}

/* Columna Derecha */
.distribuidores > div:last-child {
    width: 50%;
    line-height: 1.8;
}

.distribuidores h1 {
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--color-blanco);
    line-height: 1.3;
}

.distribuidores h2 {
    font-weight: 700;
    margin: 10px 0 0 0;
    color: var(--color-blanco);
}

.distribuidores p {
    margin-bottom: 15px;
    color: var(--color-blanco);
}

.distribuidores p span {
    color: var(--color-blanco);
}

/* DISTRIBUIDORES FORM */
.distribuidores-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 160px;
    gap: 40px;
    flex-wrap: wrap;
    background-color: #f6f6f6;
    color: var(--color-oscuro, #01253B);
}

/* Izquierda */
.distribuidores-info {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.distribuidores-texto h2 {
    color: var(--color-azul, #307FE2);
    margin-bottom: 15px;
    line-height: 1.3;
}

.distribuidores-texto p strong {
    font-weight: bold;
}

.distribuidores-contacto .info-contacto {
    margin-bottom: 20px;
}

.distribuidores-contacto h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-oscuro);
    font-weight: bold;
}

.distribuidores-contacto h4 i {
    font-size: 1.5rem;
    color: var(--color-azul);
}

.distribuidores-contacto p {
    color: var(--color-azul);
    margin: 5px 0 0 28px;
}

/* Derecha */
.distribuidores-formulario {
    width: 50%;
}

.distribuidores-formulario form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.form-row textarea {
    grid-column: span 2;
    width: 100%;
    box-sizing: border-box;
}

.distribuidores-formulario input,
.distribuidores-formulario textarea {
    padding: 15px;
    border: none;
    background-color: var(--color-blanco);
    font-family: var(--fuente-principal);
    color: var(--color-oscuro);
    width: 100%;
}

.distribuidores-formulario button {
    background-color: var(--color-azul);
    color: var(--color-blanco);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    grid-column: span 2;
    width: fit-content;
}

.distribuidores-formulario button:hover::after {
    content: '    ❯';
    font-size: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.form-field.full-width {
    grid-column: span 2;
}

/* AVISO DE PRIVACIDAD */
.aviso-privacidad {
    padding: 140px 160px 40px 160px;
    color: var(--color-oscuro);
    line-height: 1.5;
}

.aviso-privacidad h1 {
    color: var(--color-azul);
    margin-bottom: 20px;
}

.aviso-privacidad h2 {
    color: var(--color-azul);
    margin-top: 30px;
}

.aviso-privacidad p, .aviso-privacidad li {
    margin-bottom: 10px;
}

.aviso-privacidad ul, .aviso-privacidad ol {
    margin-left: 40px;
    line-height: 1.5;
}

.aviso-privacidad a {
    color: var(--color-azul);
    text-decoration: underline;
}

/* NUESTROS PROYECTOS TIMELINE */
.proyectos {
    padding: 20px 160px 40px 160px;
    background-color: var(--color-azul);
}

.proyectos-titulo {
    color: var(--color-blanco);
    margin-bottom: 20px;
}

.proyectos-texto {
    color: var(--color-blanco);
    line-height: 2;
}

.timeline-container-proyectos {
    position: relative;
    padding: 50px 160px;
    background-color: #f6f6f6;
}

#timeline-proyectos {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
}

#timeline-proyectos::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--color-azul); 
    transform: translateX(-50%);
    z-index: 0;
}

/* Tarjeta base */
.timeline-item-proyectos {
    width: 50%;
    
    box-sizing: border-box;
    position: relative;
}

.timeline-item-proyectos.left {
    left: 0;
    padding: 20px 40px 20px 0px;
}

.timeline-item-proyectos.right {
    left: 50%;
    padding: 20px 0px 20px 40px;
}

.timeline-card-proyectos {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-img-proyectos {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background-color: #fdf6ec;
}

.timeline-content-proyectos {
    flex: 1;
}

.timeline-title-proyectos {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-azul);
}

.timeline-subtitle-proyectos {
    margin: 5px 0;
    font-weight: bold;
}

/* Circulo marcador */
.timeline-item-proyectos::before {
    content: "";
    width: 24px;
    height: 24px;
    background-color: #f6f6f6;
    border: 3px solid var(--color-azul);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -14px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.timeline-item-proyectos:not(.active)::before {
    background-color: #f6f6f6;
}

/* Círculo activado */
.timeline-item-proyectos.active::before {
    background-color: var(--color-azul);
}

.timeline-item-proyectos.right::before {
    left: -14px;
    right: auto;
}

/* Animaciones de entrada */
.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}
.hidden {
    opacity: 0;
    transform: translateX(0);
}

/* CTA */
.cta-proyectos {
    text-align: Left;
    padding: 60px 160px 40px 160px;
    background-color: var(--color-oscuro);
}

.cta-proyectos p {
    color: var(--color-blanco);
    margin-bottom: 20px;
    font-size: 3rem;
}

.boton-contacto {
    font-size: 1.1rem;
    display: inline-block;
    background-color: var(--color-azul);
    color: white;
    padding: 10px 20px;
}

.boton-contacto:hover::after {
    content: ' »';
    font-size: 1.4rem;
}

/* FOTOS LABORATORIOS */
.fotos-laboratorios-texto-container {
    padding: 60px 160px 30px 160px;
    background-color: #f6f6f6;
}

.fotos-laboratorios-texto-container h1 {
    color: var(--color-azul);
}

.fotos-laboratorios-texto-container p {
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--color-oscuro);
}

/* CAROUSEL */
.slider-lab {
    padding: 0px 160px 50px 160px;
    background-color: #f6f6f6;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* 1920x1080px o 16:9 */
.swiper-slide {
    text-align: center;
    font-size: 14px;
    background: #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    height: 500px;
    width: 100%;
}

.mySwiper {
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 20%;
    height: 100%;
    opacity: 0.5;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.mySwiper2 .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-proyectos {
    background-color: #f6f6f6;
}

/* COMPARATIVA TECNICA TEXTO */
.comparativa-tecnica-texto {
    padding: 60px 160px 0px 160px;
    background-color: #f6f6f6;
}

.comparativa-tecnica-texto h2 {
    color: var(--color-azul);
    display: flex;
    justify-content: left;
    text-align: left;
}

.comparativa-tecnica-texto p {
    padding-bottom: 10px;
}

.comparativa-tecnica-texto ul {
    padding-bottom: 0px;
    margin-left: 20px;
    list-style: none;
}

/* PRODUCT COMPARISON */
.comparativa-tecnica {
    padding: 60px 160px;
    background-color: #f6f6f6;
}

.tabla-scroll {
    display: flex;
    justify-content: center;
}

.comparison-table {
    border-collapse: collapse;
}

.comparison-table .comparison-table-section-principal-header th {
    border-left: 2px solid var(--color-blanco);
    border-right: 2px solid var(--color-blanco);
    border-top: none;
    border-bottom: none;
}

.comparison-table .empty-cell{
    border: none !important;
    background:none;
}

.comparison-table td,
.comparison-table th{
    padding: 2.5px 5px;
    border: 1px dashed #6b6a6a;
    min-width: auto;
    max-width: 300px;
    text-align: center;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    border-left: none !important;
    text-align: left;
}

.comparison-table td:last-child,
.comparison-table th:last-child {
    border-right: none !important;
}

.comparison-table-section-header + .comparison-table-row td {
    border-top: none !important;
}

.comparison-table-row:last-of-type:not(:has(+ .comparison-table-row)) td,
.comparison-table-row:has(+ .comparison-table-section-header) td {
    border-bottom: none !important;
}

.comparison-table .comparison-table-section-header td{
    font-weight: 500;
    color: var(--color-blanco);
    background: var(--color-azul);
    letter-spacing: 1px;
    border: none;
}

.comparison-table .comparison-table-desc{
    display: block;
    font-size: 10px;
    color: var(--color-blanco);
    max-height: 0;
    overflow: hidden;
    margin: 0;
}

.comparison-table tr:hover .comparison-table-desc{
    max-height: 200px;
    color: #eee;
    transition: max-height .3s ease-in;
}

.comparison-table th{
    background: var(--color-oscuro);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-blanco);
    letter-spacing: 2px;
    font-size: 14px;
}

.comparison-table td {
    font-size: 14px;
}

.comparison-table td:first-child{
    text-align: left;
}

.comparison-table .fa-check{
    color: green;
}

.comparison-table .fa-close{
    color: red;
}

.comparison-table .fa-minus{
    color: #d8a900;
}
  
.comparison-table tr.comparison-table-row:hover{
    background: var(--color-azul);
    opacity: 0.6;
}

.comparison-table tr.comparison-table-row:hover td{
    border: none;
}

.comparison-table tr.comparison-table-row:hover td,
.comparison-table tr.comparison-table-row:hover td .fa{
    color:#fff;
}

/* TIMELINE VENTAJAS */
:root {
    --connector-height: 42px;
    --connector-border-width: 2px;
    --connector-border-color: #d8d8d8;
  
    --circle-size-sm: 60px;
    --circle-padding-sm: 9px;
  
    --circle-size-lg: 150px;
    --circle-padding-lg: 48px;
}

.container {
    box-sizing: content-box;
    padding: 40px 160px;
}
  
.step-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
  
.step-list__item {
    counter-increment: step-counter;
    position: relative;
    margin-top: calc(var(--connector-height) * 2);
    opacity: 0;
    transform: translateY(20px);
}

.step-list__item.visible:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out forwards;
}
  
.step-list__item.visible:nth-child(even) {
    animation: slideInRight 0.8s ease-out forwards;
}
  
.step-list__item:first-child {
    margin-top: 0;
}
  
.step-list__item .step-number {
    font-size: 4rem;
    font-weight: 300;
    color: var(--connector-border-color);
    text-align: left;
    margin-bottom: 8px;
}

.step-list__item .content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-list__item .body {
    max-width: 400px;
    margin-top: 0;
    text-align: left;
    flex: 1;
}
  
.step-list__item h2 {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-azul);
    flex: 0 1 33.3333%;
}

.body ul {
    padding-left: 20px;
    margin: 0;
}
  
.step-list__item .icon {
    border-radius: 50%;
    width: var(--circle-size-lg);
    height: var(--circle-size-lg);
    padding: var(--circle-padding-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
  
.step-list__item .icon i {
    font-size: 3rem; /* Ajusta según tamaño deseado */
    line-height: 1;
}
  
.step-list__item .content {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    padding-bottom: 18px;
}
  
/* Alternancia izquierda-derecha */
.step-list__item:nth-child(odd) .content {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: left;
}
  
.step-list__item:nth-child(even) .content {
    justify-content: flex-end;
    text-align: left;
}
  
.step-list__item:nth-child(odd) .icon {
    margin-right: 72px;
    margin-left: 0;
}
  
.step-list__item:nth-child(even) .icon {
    margin-right: 72px;
}
  
.step-list__item:nth-child(even) .body {
    order: 1;
}
  
/* Colores de íconos por paso */
.step-list__item:nth-child(1) .icon { background: #dceafd; }
.step-list__item:nth-child(2) .icon { background: #e8f0ff; }
.step-list__item:nth-child(3) .icon { background: #f0f7ff; }
  
.step-list__item__inner {
    position: relative;
}
  
/* Curvas de conexión */
.step-list__item__inner::before,
.step-list__item__inner::after {
    content: '';
    position: absolute;
    height: var(--connector-height);
    width: calc(33.3333% - var(--connector-height));
    display: block;
    border-color: var(--connector-border-color);
    border-style: solid;
    border-width: 0;
}
  
.step-list__item:nth-child(odd) .step-list__item__inner::before {
    border-top-width: var(--connector-border-width);
    border-left-width: var(--connector-border-width);
    border-top-left-radius: var(--connector-height);
    top: 0;
    left: calc(33.3333% - calc(var(--connector-height) / 2));
    margin-top: calc(-1 * var(--connector-height));
}
  
.step-list__item:nth-child(odd) .step-list__item__inner::after {
    border-bottom-width: var(--connector-border-width);
    border-left-width: var(--connector-border-width);
    border-bottom-left-radius: var(--connector-height);
    bottom: 0;
    left: calc(33.3333% - calc(var(--connector-height) / 2));
    margin-bottom: calc(-1 * var(--connector-height) - 2.2px);
}
  
.step-list__item:nth-child(even) .step-list__item__inner::before {
    border-top-width: var(--connector-border-width);
    border-right-width: var(--connector-border-width);
    border-top-right-radius: var(--connector-height);
    top: 0;
    right: calc(33.3333% - calc(var(--connector-height) / 2));
    margin-top: calc(-1 * var(--connector-height));
}
  
.step-list__item:nth-child(even) .step-list__item__inner::after {
    border-bottom-width: var(--connector-border-width);
    border-right-width: var(--connector-border-width);
    border-bottom-right-radius: var(--connector-height);
    bottom: 0;
    right: calc(33.3333% - calc(var(--connector-height) / 2));
    margin-bottom: calc(-1 * var(--connector-height) - 2.2px);
}
  
.step-list__item:first-child .step-list__item__inner::before,
.step-list__item:last-child .step-list__item__inner::after {
    display: none;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }

    p, li, ul, ol {
        font-size: 0.95rem;
    }
    small {
        font-size: 0.8rem;
    }

    nav:not(.social) ul {
        flex-direction: column;
        gap: 10px;
        background-color: var(--color-azul);
        position: absolute;
        top: 60px;
        left: 50%; 
        transform: translateX(-50%);
        width: 70%; 
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.6s ease, padding 0.3s ease;
        padding: 0 0; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    nav:not(.social) ul.show {
        max-height: 500px;
        padding: 10px 20px;
    }

    nav:not(.social) ul li a {
        width: 100%;
        text-align: center; 
        font-weight: 500;
        padding-left: 50px;
    }

    nav:not(.social) ul li a:hover {
        background-color: rgba(1, 37, 59, 0.1);
        color: var(--color-blanco) !important;
    }

    .menu-toggle {
        display: block;
    }
    
      /* Ajusta el botón animado para que no se vea flotante o recortado */
    .boton-contacto-animado {
        margin-left: 25px;
        margin-bottom: 10px;
    }

    .banner-subtext {
        font-size: 1.2em;
        text-align: left;
    }
  
    .productos-destacados {
        flex-direction: column;
    }

    .productos-destacados article {
        flex: 1 1 160px;
    }

    .productos-info {
        flex-direction: column;
    }

    .productos-texto {
        text-align: left;
    }

    .productos-imagen { 
        justify-content: center;
        align-items: center;
    }

    .productos-imagen img {
        max-width: 350px;
    }

    .banner-producto div{
        width: 100%; 
    }

    .caracteristicas {
        flex-direction: column;
        align-items: center;
        padding: 40px 40px;
    }

    .caracteristicas-circulo {
        width: 400px;
        height: 400px;
    }

    .contenido-central {
        width: 300px;
        height: 300px;
        padding: 15px;
        border-radius: 50%;
    }

    .contenido-central p,
    .contenido-central li {
        font-size: 0.7rem;
        text-align: center;
    }

    .caracteristicas-info {
        width: 100%;
        padding: 20px 160px;
        text-align: left;
    }

    .asesoria > div:first-child,
    .asesoria > div:last-child {
        width: 100%;
    }

    .porque-prfv {
        flex-direction: column;
    }

    .porque-prfv-texto,
    .porque-prfv-acordeon {
        width: 100%;
    }

    .distribuidores > div:first-child,
    .distribuidores > div:last-child {
        width: 100%;
    }

    .distribuidores {
        gap: 20px;
    }

    .distribuidores-info,
    .distribuidores-formulario {
        width: 100%;
    }

    .frase {
        font-size: 1rem;
        padding: 10px;
    }

    .overimage {
        font-size: 1.6rem;
    }

    nav.social {
        display: flex !important;
        flex-direction: column; /* para que los elementos se apilen */
        align-items: flex-start; /* alineación izquierda */
        position: fixed;
        top: 15%;
        left: 0;
        z-index: 9999;
    }
    
    nav.social ul {
        display: flex; /* ESTO FALTABA */
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
        transform: translateX(-120px);
    }
    
    nav.social ul li {
        background: rgba(0, 0, 0, 0.36);
        width: 180px;
        padding: 10px;
        margin: 0;
        border-radius: 0 30px 30px 0;
        transition: all 0.6s;
    }
    
    nav.social ul li:hover {
        transform: translateX(110px);
        background: rgba(1, 2, 3, 0.4);
    }
    
    nav.social ul li a {
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-decoration: none;
    }
    
    nav.social ul li i {
        background: white;
        color: var(--color-azul);
        padding: 10px;
        border-radius: 50%;
        font-size: 16px;
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 6px;
        font-size: 12px;
    }

    .mySwiper2 {
        height: 400px;
    }
}  

@media (max-width:928px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.95rem; }
    label { font-size: 0.95rem; }

    p, li, ul, ol {
        font-size: 0.9rem;
    }
    small {
        font-size: 0.75rem;
    }
    
    header {
        padding: 20px 80px;
    }

    header.shrink {
        padding: 10px 80px;
    }

    .banner-text {
        font-size: 2.2rem;
    }

    .banner-text strong,
    .banner-text span {
        display: inline;
    }

    .banner-subtext {
        margin: 0px;
        padding: 20px 80px;
        font-size: 1.3em;
        
    }

    .productos-destacados {
        padding: 20px 80px;
    }

    .productos-destacados article {
        padding: 0;
        flex-direction: column;
        align-items: left;
        text-align: left;
    }

    .productos-destacados article div {
        width: 100%; 
    }

    .productos-info {
        padding: 20px 80px;
    }

    .productos-imagen {
        min-width: none;
        max-height: 300px;
        align-items: center;
    }
    
    .productos-imagen img {
        margin-top: 20px;
        
    }

    .onda {
        margin-top: 0px;
    }

    .banner {
        padding: 20px 80px;
    }

    .servicios {
        padding: 20px 80px;
    }

    .servicios-contenido {
        display: block; 
    }

    .servicios-texto {
        width: 100% !important;
        max-width: 100% !important;
    }

    .servicios-imagen {
        display: none;
    }

    .contacto {
        padding: 20px 80px;
    }

    .contacto div{
        width: 100%;
    }

    .contacto-contenido {
        flex-direction: column;
        align-items: center;
    }

    .contacto-imagen {
        display: none;
    }

    .contacto input, .contacto textarea {
        flex: 1 1 100%;
    }

    .footer-imagen {
        display: none;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px;
    }

    .nosotros {
        flex-direction: column;
        padding: 20px 80px;
    }

    .nosotros-texto, .medio-logo {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .medio-logo {
        margin-top: 20px;
    }

    .soluciones {
        flex-direction: column;
        padding: 20px 80px;
    }

    .soluciones > div:first-child,
    .soluciones > div:last-child {
        width: 100%;
    }

    .vanguardia {
        flex-direction: column;
        padding: 20px 80px;
        gap: 20px;
    }

    .vanguardia > div:first-child,
    .vanguardia > div:last-child {
        width: 100%;
    }

    .vanguardia > div:first-child img {
        margin: 10px auto;
    }

    .vanguardia > div:last-child {
        margin-bottom: 40px;
    }

    .banner-producto {
        padding: 20px 80px;
        text-align: left;
    }

    .banner-producto p {
        font-size: 2rem !important;
    }

    .descripcion-productos {
        flex-direction: column;
    }

    .descripcion-tubos,
    .descripcion-conexiones {
        width: 100%;
        padding: 20px 80px;
    }

    .cerrar {
        font-size: 20px;
    }
    
    .controles button {
        font-size: 1.2rem;
    }

    .tecnologia {
        padding: 20px 80px;
        flex-direction: column;
    }

    .tecnologia > div:first-child,
    .tecnologia > div:last-child {
        width: 100%;
        height: auto;
    }

    .tecnologia h5 {
        padding: 12px 16px;
        min-height: 50px;
    }

    .tecnologia h5::after {
        width: 22px;
        height: 22px;
    }

    .caracteristicas {
        padding: 20px 80px;
    }

    .caracteristicas-circulo {
        width: 300px;
        height: 300px;
    }

    .contenido-central {
        width: 220px;
        height: 220px;
        padding: 10px;
    }

    .mini-circulos div {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }

    .mini-circulos div i {
        font-size: 0.7rem;
    }

    .caracteristicas-info {
        padding: 20px 0;
    }

    .caracteristicas-info button {
        font-size: 0.9rem;
    }

    .golpe-de-ariete {
        flex-direction: column;
        padding: 20px 80px;
    }

    .golpe-de-ariete > div:first-child {
        width: 100%;
    }

    .golpe-de-ariete > div:last-child {
        display: none;
    }

    .procesos {
        flex-direction: column;
        padding: 20px 80px;
    }
    
    .procesos > div:first-child,
    .procesos > div:last-child {
        width: 100%;
    }  

    .procesos > div:last-child {
        margin-bottom: 60px;
    }

    .soporte {
        padding: 20px 80px;
    }

    .soporte-contenido {
        width: 100%;
    }

    .soporte-imagen {
        display: none;
    }

    .asistencia-en-proyectos {
        padding: 20px 80px;
    }

    .asesoria {
        flex-direction: column;
        padding: 40px 80px;
    }

    .asesoria > div:first-child {
        text-align: center;
    }

    .porque-prfv {
        padding: 120px 80px 60px 80px;
    }

    .certificacion-iso {
        padding: 40px 80px 60px 80px;
    }

    .certificacion-contenido {
        flex-direction: column;
        align-items: flex-start;
    }

    .certificacion-contenido, .certificacion-imagen {
        width: 100%;
    }

    .certificacion-imagen img {
        max-width: 100px;
    }

    .timeline-card {
        margin-left: 50px;
    }

    .distribuidores {
        flex-direction: column;
        padding: 140px 80px 40px 80px;
    }

    .distribuidores > div:first-child {
        text-align: left;
    }

    .distribuidores > div:first-child p {
        font-size: 1.8rem !important;
    }

    .distribuidores-form {
        flex-direction: column;
        padding: 40px 80px;
    }

    .distribuidores-formulario button {
        grid-column: span 1;
    }

    .aviso-privacidad {
        padding: 140px 80px 40px 80px;
    }
    
    .overimage {
        font-size: 1.2rem;
        bottom: 40%;
    }

    .proyectos {
      padding: 40px 80px;
    }

    .timeline-container {
      padding: 20px 80px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
      width: 100%;
      left: -5px;
      padding: 20px;
    }

    #timeline::before {
      left: 20px;
    }

    .timeline-item::before,
    .timeline-item.right::before {
      left: 10px;
      right: auto;
    }

    .timeline-card {
      flex-direction: column;
      align-items: flex-start;
    }

    .timeline-img {
      width: 20%;
      height: auto;
    }

    .cta-proyectos {
      padding: 40px 80px 80px 80px;
    }
    
    .cta-proyectos p {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .fotos-laboratorios-texto-container {
      padding: 40px 80px;
    }

    .timeline-container-proyectos {
      padding: 20px 80px;
    }

    .timeline-item-proyectos,
    .timeline-item-proyectos.left,
    .timeline-item-proyectos.right {
      width: 100%;
      left: -5px;
      padding: 10px 0 10px 50px;
    }

    #timeline-proyectos::before {
      left: 20px;
    }

    .timeline-item-proyectos::before,
    .timeline-item-proyectos.right::before {
      left: 10px;
      right: auto;
    }

    .timeline-card-proyectos {
      flex-direction: column;
      align-items: flex-start;
    }

    .timeline-title-proyectos {
        font-size: 1rem;
    }

    .slider-lab {
        padding: 0px 80px 80px 80px;
    }

    .comparativa-tecnica {
        padding: 30px 80px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 6px;
        font-size: 11.5px;
        letter-spacing: 1px;
    }

    .container {
        padding: 40px 80px;
    }

    .comparativa-tecnica-texto {
        padding: 60px 80px 20px 80px;
    }
}

@media (max-width: 600px) {
    .timeline-steps {
        background-color: #f6f6f6;
    }

    .step-list__item {
        margin-top: 20px;
    }

    .step-list__item .content {
        padding: 10px;
        background-color: var(--color-blanco);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    .step-list__item .step-number {
      font-size: 2rem;
    }
  
    .step-list__item h2 {
      font-size: 20px;
    }
  
    .step-list__item .icon {
      width: 70px;
      height: 70px;
      padding: 6px;
    }
  
    .step-list__item .icon i {
      font-size: 1.2rem;
    }

    .step-list__item .content {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .step-list__item .body {
        width: 100%;
        margin: 0 auto;
    }

    .body ul {
        padding-left: 0px;
    }

    .step-list__item__inner::before,
    .step-list__item__inner::after {
        display: none !important; /* ocultar curvas */
        margin: 0;
    }

    .step-list__item:nth-child(odd) .icon {
        margin-right: 20px;
        margin-left: 0;
    }
      
    .step-list__item:nth-child(even) .icon {
        margin-right: 20px;
    }

    .comparativa-tecnica {
        padding: 30px 30px;
    }

    .tabla-scroll {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tabla-scroll::before {
        content: '⇠ desliza para ver más ⇢';
        display: block;
        text-align: center;
        font-size: 0.8rem;
        color: #888;
        margin-top: 10px;
    }
}

@media (max-width:430px) {
    .banner-text {
        font-size: 1.8rem;
    }

    .mySwiper2 {
        height: 300px;
    }
    
    .mySwiper {
        height: 40px;
    }
}

/* ANIMACIONES */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); } 
    to { opacity: 1; transform: translateX(0); }
}
  
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); } 
    to { opacity: 1; transform: translateX(0); }
}
  
@keyframes zoomInCenter {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInTop {
    from { opacity: 0; transform: translateY(-100px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotarCirculo {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}