:root {
    --primary-color: #008080; 
    --nombre-color: #00AAA2;
    --secondary-color: #38b6b0;
    --tertiary-color: #000000;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --white-color: #ffffff;
    --light-gray-color: #f0f0f0;
    --medium-gray-color: #e0e0e0;
    --dark-gray-color: #1e282d;
    --placeholder-color: #777;
    --slogan-color: #b0b0b0;
    --footer-border-color: rgb(18, 31, 35);
    --hero-text-color: #444; 

    --font-montserrat: 'Montserrat', sans-serif;
    --font-arial: Arial, sans-serif;

    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-button: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 12px rgba(0, 0, 0, 0.1);
    --shadow-button-hover: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 128, 128, 0.3);
    --shadow-footer: 0 -5px 15px rgba(0, 0, 0, 0.2);

    --transition-ease: all 0.3s ease;
    --transition-slider: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000);

    --animation-duration: 15s;
    --total-original-items: 6;
    --items-visible: 3;
    --item-base-width: calc((1200px - (2 * 20px) - (var(--items-visible) - 1) * 20px) / var(--items-visible));
    --item-base-margin-right: 20px;
    --slide-full-width: calc(var(--total-original-items) * (var(--item-base-width) + var(--item-base-margin-right)));

    --card-bg-color: #7B1B4A;
    --card-bottom-color: #F0F0F0;
    --button-bg-color-alt: #2196F3;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-montserrat);
    color: var(--text-color);
    background-color: var(--light-gray-color);
    padding-top: 150px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* === HEADER === */
.main-header {
  width: 100%;
  box-shadow: var(--shadow-light);
  z-index: 1000;
  background-color: var(--white-color);
  position: fixed;
  top: 0;
  left: 0;
}

.header-superior {
  width: 100%;
  height: 35px;
  background-color: #1a1a1a;
}

.header-inferior {
  background-color: var(--white-color);
  padding: 1px 0 3px 0;
  position: relative;
}

.logo-container {
  position: relative;
  width: 140px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -75px;
  z-index: 5;
}

.logo-content {
  position: absolute;
  top: -15px;
  width: 165%;
  justify-content: center;
  left: auto;
  right: auto;
  align-items: center;
  z-index: 1;
}

.logo-image {
  height: 240px;
  object-fit: contain;
}

.navbar {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
  margin-right: -5px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.navbar li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05em;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.navbar li a:hover {
  color: var(--primary-color);
}

.btn-contact {
  background-color: var(--nombre-color);
  color: var(--white-color) !important;
  padding: 12px 25px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  margin-left: 40px;
  transition: var(--transition-ease);
}

.btn-contact:hover {
  background-color: var(--light-gray-color);
  color: var(--nombre-color) !important;
  border-color: var(--nombre-color);
}

/* === HERO SECTION === */
.hero-content {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
}

.hero-text-primary {
  background-image: url('../img/toWEBP/Proyecto nuevo.webp');
  z-index: 2;
  padding: 30px 118px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto -15px auto;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inicio {
  color: var(--white-color);
  font-size: 3.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.hero-final {
  color: var(--white-color);
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  margin: 10px 0 0 0;
  padding-top: 10px;
  border-top: 2px solid var(--secondary-color);
  display: inline-block;
}

.hero-text-secundary {
  background-color: rgba(255, 255, 255, 0.938);
  padding: 20px 50px;
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
  border-radius: 0px;
}

.hero-izquierda {
  font-family: var(--font-montserrat);
  color: var(--nombre-color);
  font-size: 2.3em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0.03em;
}

.hero-derecha {
  font-family: var(--font-montserrat);
  color: var(--hero-text-color);
  font-size: 2.3em;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/*---------------------------------------------------------------------*/

.hero-text-2 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.titulo-container {

    position: absolute;
    top: 5%;
    left: 12%;
    z-index: 2;
    text-align: left;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.titulo-linea1 {
    font-family: var(--font-montserrat);
    font-size: 2.5em;
    margin: 0;
    color: var(--tertiary-color);
    font-weight: 700;
}

.titulo-linea2 {
    font-family: var(--font-montserrat);
    font-size: 2.8em;
    margin: 0;
    color: var(--nombre-color);
    font-weight: 700;
}

.titulo-slider {
    position: absolute;
    top: 5%;
    left: 12%;
    z-index: 2;
    text-align: left;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.titulo-text1 {
    font-family: var(--font-montserrat);
    font-size: 2.5em;
    margin: 0;
    color: var(--tertiary-color);
    font-weight: 700;
}

.titulo-text2 {
    font-family: var(--font-montserrat);
    font-size: 2.8em;
    margin: 0;
    color: var(--nombre-color);
    font-weight: 700;
}
.hero-background-img {
    position: absolute;
    top: 155px;
    left: 0;
    width: 100%;
    height: 70%;
    object-fit: cover;
    z-index: 1;
}

.hero-background-img2 {
    position: absolute;
    top: 155px;
    right: 0;            
    width: 25vw;          
    max-width: 480px;     
    height: 70%;
    object-fit: cover;
    z-index: 1;
    overflow: hidden;
}
.formulario-container {
    position: absolute;
    right: 15%;
    top: 60%;
    transform: translateY(-50%);
    width: 350px;
    background-image: url('../img/toWEBP/Gemini_Generated_Image_wgj8dhwgj8dhwgj8.webp');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formulario-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.1em;
    text-transform: uppercase;
}

.formulario-header h2 {
    margin: 0;
}

.formulario-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
}

.input-group,
.input-group-label {
    width: 90%;
    margin-bottom: 20px;
}

.input-group input,
.input-group-label select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 15px;
    font-size: 1em;
    outline: none;
    box-sizing: border-box;
    background-color: var(--white-color);
    color: var(--text-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23777%22%20d%3D%22M6%208.2L1%203.2%202.4%201.8%206%205.4%209.6%201.8%2011%203.2z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 35px;
    cursor: pointer;
}

.input-group input::placeholder {
    color: var(--placeholder-color);
}

.formulario-boton {
    background-color: var(--white-color);
    color: var(--tertiary-color);
    padding: 12px 30px;
    border: none;
    border-radius: 20px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: block;
    margin-top: 20px;
    width: 90%;
    text-align: center;
    text-transform: uppercase;
}

.formulario-boton:hover {
    background-color: var(--medium-gray-color);
}

.heri-izquierda {
    font-family: var(--font-montserrat);
    color: var(--nombre-color);
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0.03em;
}

.heri-derecha {
    font-family: var(--font-montserrat);
    color: var(--hero-text-color); /* Esta variable no está definida en :root */
    font-size: 2.0em;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 10px;
    letter-spacing: 0.01em;
}
.hero-text-terciari {
    padding: 140px 20px;
    text-align: center;
    max-width: 1500px;
    margin: -80 auto;
    border-radius: 0px;
}

.hero-text-cliente {
    padding: 140px 20px;
    text-align: center;
    max-width: 1500px;
    margin: -80 auto;
    border-radius: 0px;
}

.hero-text-cuarzo {
    padding: -80px 20px;
    text-align: center;
    max-width: 1500px;
    margin: -50 auto;
    border-radius: 0px;
}

.hera-izquierda {
    font-family: var(--font-montserrat);
    color: var(--nombre-color);
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0.03em;
}

.hera-derecha {
    font-family: var(--font-montserrat);
    color: var(--hero-text-color); /* Esta variable no está definida en :root */
    font-size: 2.0em;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 10px;
    letter-spacing: 0.01em;
}

.here-izquierda {
    font-family: var(--font-montserrat);
    color: var(--nombre-color);
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0.03em;
}

.here-derecha {
    font-family: var(--font-montserrat);
    color: var(--hero-text-color); /* Esta variable no está definida en :root */
    font-size: 2.0em;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 10px;
    letter-spacing: 0.01em;
}
/*----------------------------------------------------------------------*/
.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.feature-item {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 85px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.feature-item:hover {
  transform: translateY(-8px);
  background-color: var(--light-gray-color);
}

.feature-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  object-fit: contain;
}

.feature-item span {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9em;
  text-transform: uppercase;
}

.hero-doble-color {
    display: flex;
    width: 100%;
    height: 50px;
}

.hero-color-left {
    background-color: var(--primary-color);
    flex-grow: 1;
}

.hero-color-right {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-arial);
    font-size: 14px;
}

.invest-secure-button.bottom-button {
  background-color: var(--white-color);
  color: var(--text-color);
  padding: 15px 35px;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-ease);
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 40px;
  text-decoration: none;
  display: inline-block;
}

.invest-secure-button.bottom-button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-button-hover);
}
/*--------------------------------------------------------------*/


.slider-container {
    position: relative;
    width: 83%;
    max-width: 1200px;
    margin: -80px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--light-gray-color);
    padding: 20px;
    box-sizing: border-box;
}

/* ANIMACIÓN IGUAL A LA DE slider-clientes */
.slider-wrapper {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollClientesIndependiente 8s ease-in-out infinite;
    animation-play-state: running;
}

.slider-container:hover .slider-wrapper {
    animation-play-state: paused;
}

@keyframes scrollClientesIndependiente {
    0% {
        transform: translateX(0%);
    }
    80% {
        transform: translateX(-1160px); /* Ajusta si agregas más elementos */
    }
    100% {
        transform: translateX(0%);
    }
}

.slider-item {
    width: 350px;
    height: 400px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white-color);
    box-shadow: var(--shadow-light);
    box-sizing: border-box;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.slider-text-overlay {
    position: absolute;
    bottom: 20px;
    width: 85%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333333;
    padding: 10px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.slider-text-overlay h3 {
    margin: 0 0 5px;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--nombre-color);
}

.slider-text-overlay p {
    font-size: 1em;
    font-weight: 600;
    color: #222;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/*--------------------------------------------------*/
/* CONTENEDOR PRINCIPAL */
.slider-clientes {
    position: relative;
    width: 83%;
    max-width: 1200px;
    margin: -80px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--light-gray-color);
    padding: 20px;
    box-sizing: border-box;
}

/* Carrusel en movimiento por defecto */
.slider-cuadro {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollClientesIndependiente 8s ease-in-out infinite;
    animation-play-state: running; /* ✅ Corre normalmente */
}

/* 🛑 Se detiene cuando el mouse está encima */
.slider-clientes:hover .slider-cuadro {
    animation-play-state: paused;
}

@keyframes scrollClientesIndependiente {
    0% {
        transform: translateX(0%);
    }
    80% {
        transform: translateX(-750px); /* Ajusta según el número de elementos */
    }
    100% {
        transform: translateX(0%);
    }
}

.slider-cuadrito {
   width: 350px;
    height: 400px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white-color);
    box-shadow: var(--shadow-light);
    box-sizing: border-box;
}

.slider-cuadrito img {
   width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.slider-text-general {
    position: absolute;
    bottom: 20px;
    width: 85%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333333;
    padding: 10px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.slider-text-general h3 {
    margin: 0 0 5px;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--nombre-color);
}

.slider-text-general p {
    font-size: 1em;
    font-weight: 600;
    color: #222;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}


/* === SECCIÓN VIDEOS === */
.Videos {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.video-titles-container {
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.titulo-video-1 {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 15px 30px;
  text-align: center;
  margin: 0;
  border-radius: 0px;
  font-size: 2.2em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-light);
  position: relative;
  z-index: 2;
}

.titulo-video-2 {
  display: inline-block;
  background-color: var(--dark-gray-color);
  color: var(--primary-color);
  padding: 20px 40px;
  text-align: center;
  margin-top: -100px;
  border-radius: 0px;
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-light);
  position: relative;
  z-index: 1;
}

.video-section-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  position: relative;
}

.video-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  border-radius: 8px;
  flex-wrap: wrap;
  margin-top: 100px;
}

.video-item video {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: block;
}

.titulo-1 {
  width: 90%;
  max-width: 756px;
  height: 100px;
  background-color: #3498db;
  position: relative;
  margin: 0 auto;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.titulo-1 h3 {
  color: white;
  margin: 0;
  font-size: 2em;
  text-align: center;
}

/* === ZIGZAG SECTION === */
.video-post {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.zigzag-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
}

.zigzag-row.reverse {
  flex-direction: row-reverse;
}

.zigzag-row video {
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  object-fit: cover;
}

.zigzag-row .text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  max-width: 600px;
}

.zigzag-row .text-content h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: var(--dark-gray-color);
}

.zigzag-row .text-content p {
  font-size: 1.1em;
  color: var(--dark-gray-color);
}

.titulo-morado-izq,
.titulo-morado-der {
  width: 600px;
  height: 75px;
  line-height: 45px;
  background-color: var(--primary-color);
  color: white;
  padding: 0 30px;
  border-radius: 5px;
  box-shadow: var(--shadow-light);
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.titulo-morado-izq {
  align-self: flex-start;
}

.titulo-morado-der {
  align-self: flex-end;
}

/* === RESPONSIVE === */

@media (max-width: 1024px) {
  .titulo-video-1 {
    font-size: 1.8em;
  }

  .titulo-video-2 {
    font-size: 1.3em;
    margin-top: -70px;
  }

  .titulo-1 {
    width: 90%;
    right: 0;
    left: 0;
    margin: auto;
  }

  .titulo-1 h3 {
    font-size: 1.6em;
    line-height: 90px;
  }

  .titulo-morado-izq,
  .titulo-morado-der {
    width: 90%;
    font-size: 1.3em;
  }

  .zigzag-row {
    flex-direction: column;
    align-items: center;
  }

  .zigzag-row.reverse {
    flex-direction: column;
  }

  .zigzag-row .text-content {
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .titulo-video-1 {
    font-size: 1.5em;
  }

  .titulo-video-2 {
    font-size: 1.1em;
    margin-top: -60px;
  }

  .video-item {
    flex-direction: column;
    gap: 20px;
  }

  .titulo-1 {
    height: 80px;
  }

  .titulo-1 h3 {
    font-size: 1.4em;
    line-height: 80px;
  }

  .titulo-morado-izq,
  .titulo-morado-der {
    font-size: 1.1em;
  }

  .zigzag-row video {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
  }

  .Videos,
  .video-post,
  .video-section-container,
  .video-titles-container,
  .video-item,
  .zigzag-row,
  .zigzag-row .text-content {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .titulo-video-1 {
    font-size: 1.3em;
    padding: 10px 20px;
    width: 100%;
  }

  .titulo-video-2 {
    font-size: 1em;
    padding: 15px 25px;
    margin-top: -40px;
    width: 100%;
  }

  .titulo-1 {
    position: relative;
    width: 90%;
    max-width: 100%;
    margin: 0 auto 20px auto;
    padding: 10px;
    height: auto;
    background-color: #3498db;
    text-align: center;
    z-index: 10;
  }

  .titulo-1 h3 {
    font-size: 1.1em;
    line-height: 1.4;
    margin: 0;
    color: white;
  }

  .video-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
  }

  .video-item video,
  .zigzag-row video {
    width: 100%;
    max-width: 100%;
  }

  .titulo-morado-izq,
  .titulo-morado-der {
    width: 90%;
    max-width: 100%;
    padding: 10px;
    font-size: 1em;
    text-align: center;
    justify-content: center;
    align-self: center;
  }

  .zigzag-row .text-content h2 {
    font-size: 1.4em;
  }

  .zigzag-row .text-content p {
    font-size: 1em;
  }
}
/*----------------redes sociales --------------------*/
.redes a {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 40px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 100;
  transition: all 0.4s ease;
  opacity: 0.95;
}

/* WhatsApp SIEMPRE VISIBLE */
.whatsapp-float {
  background-color: #25d366;
  bottom: 40px;
}
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Por defecto, las otras redes encima de WhatsApp pero ocultas */
.facebook-float,
.instagram-float,
.tiktok-float {
  background-color: transparent;
  bottom: 40px;
  opacity: 0;
  pointer-events: none;
}

/* Al hacer hover sobre el contenedor .redes, se muestran en orden hacia arriba */
.redes:hover .facebook-float {
  bottom: 110px;
  opacity: 1;
  pointer-events: auto;
}
.redes:hover .instagram-float {
  bottom: 180px;
  opacity: 1;
  pointer-events: auto;
}
.redes:hover .tiktok-float {
  bottom: 250px;
  opacity: 1;
  pointer-events: auto;
}

/* Estilo para cada imagen */
.facebook-float img {
  width: 65px;
  height: 65px;
}
.instagram-float img {
  width: 90px;
  height: 70px;
}
.tiktok-float img {
  width: 85px;
  height: 65px;
}

/* Hover bonito */
.redes a:hover {
  transform: scale(1.1);
}
/*---------------------------------------------------*/
.main-footer {
    background-color: #121f23;
    color: var(--light-text-color);
    padding: 50px 20px 20px 20px;
    font-family: var(--font-montserrat);
    box-shadow: var(--shadow-footer);
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--footer-border-color);
}

.footer-column {
    flex: 1;
    min-width: 200px;
    padding: 10px 0;
}

.branding-column {
    min-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text-group h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--white-color);
    margin: 0;
    line-height: 1.1;
}

.footer-tagline {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.slogan {
    font-style: italic;
    font-size: 0.95em;
    color: var(--slogan-color);
    margin-top: -5px;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 8px 0;
    font-size: 0.9em;
    color: var(--slogan-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.1em;
    margin-top: 3px;
}

.footer-column h3 {
    color: var(--white-color);
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 8px;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--slogan-color);
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

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

.social-icons a {
    color: var(--light-text-color);
    font-size: 1.5em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: #a0a0a0;
    font-size: 0.8em;
    padding-top: 20px;
}

@media (max-width: 992px) {
    body {
        padding-top: 130px;
    }

    .navbar ul {
        gap: 20px;
    }

    .btn-contact {
        margin-left: 20px;
    }

    .logo-container {
        width: 140px;
        height: 70px;
        margin-top: -50px;
    }

    .logo-image {
        height: 50px;
    }

    .logo-content {
        top: 8px;
    }

    .titulo-container {
        left: 5%;
        top: 5%;
        font-size: 0.9em;
    }

    .titulo-linea1 {
        font-size: 2.2em;
    }

    .titulo-linea2 {
        font-size: 2.5em;
    }

    .formulario-container {
        right: 5%;
        width: 280px;
        padding: 15px;
    }

    .slider-container {
        padding: 10px;
    }

    .slider-wrapper {
        animation: slideShowMultiTablet 20s infinite ease-in-out; /* Nueva animación para tablet */
    }

    .slider-item {
        min-width: calc(100% / 2 - (1 * 10px)); /* Mostrar 2 imágenes en tablets, 10px de margen efectivo entre ellas */
        width: calc(100% / 2 - (1 * 10px));
        margin-right: 20px; /* Margen real entre los items */
        height: 400px;
        padding: 5px;
    }

    .slider-text-overlay {
        padding: 20px 10px 15px 10px;
        left: 5px;
        right: 5px;
        width: calc(100% - 10px);
    }

    .slider-text-overlay h3 {
        font-size: 1.3em;
    }

    .slider-text-overlay p {
        font-size: 0.85em;
    }

    .slider-button {
        padding: 8px 15px;
        font-size: 0.8em;
    }

    .slider-button-prev,
    .slider-button-next {
        padding: 10px 7px;
        font-size: 1.2em;
        width: 40px;
        height: 40px;
    }

    @keyframes slideShowMultiTablet {
        0% { transform: translateX(0); }
        15% { transform: translateX(0); }

        20% { transform: translateX(calc(-100% / 2 - (20px / 2))); }
        35% { transform: translateX(calc(-100% / 2 - (20px / 2))); }

        /* Mover para mostrar items 3, 4 */
        40% { transform: translateX(calc(-200% / 2 - (40px / 2))); }
        55% { transform: translateX(calc(-200% / 2 - (40px / 2))); }

        /* Mover para mostrar items 4, 5 */
        60% { transform: translateX(calc(-300% / 2 - (60px / 2))); }
        75% { transform: translateX(calc(-300% / 2 - (60px / 2))); }

        80% { transform: translateX(0); } /* Reinicio */
        100% { transform: translateX(0); }
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 110px;
    }

    .header-inferior .container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        width: 120px;
        height: 60px;
        margin-top: -40px;
    }

    .logo-image {
        height: 45px;
    }

    .logo-content {
        top: 5px;
    }

    .hero-text-2 {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero-background-img {
        position: relative;
        height: 300px;
        width: 100%;
        left: 0;
        top: 0;
    }

    @media (max-width: 768px) {
  .hero-background-img2 {
    display: none !important;
  }
}

    .titulo-container {
        position: static;
        margin-bottom: 20px;
        text-align: center;
        left: auto;
        top: auto;
        font-size: 1em;
    }

    .titulo-linea1 {
        font-size: 2em;
    }

    .titulo-linea2 {
        font-size: 2.3em;
    }

    .formulario-container {
        position: static;
        margin: 20px auto;
        width: 90%;
        max-width: 500px;
        right: auto;
        top: auto;
        transform: none;
        background-size: cover;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        min-width: auto;
        width: 100%;
    }

    .footer-column h3::after {
        margin: 8px auto 0 auto;
    }

    .contact-info p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

:root {
    --font-montserrat: 'Montserrat', sans-serif;
    --primary-color: #00bcd4;
    --secondary-color: #007bff;
    --white-color: #ffffff;
    --dark-color: #333333;
    --card-bg-color: #7B1B4A;
    --card-bottom-color: #F0F0F0;
    --button-bg-color-alt: #2196F3;
}

.imagenes-horizontal-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px; 
    padding: 100px;
    max-width: 1200px;
    margin: 0px auto;
}

.card {
    width: 100%; /* Keep as is */
    max-width: 320px; /* Keep as is */
    border-radius: 40px; /* Keep as is */
    overflow: hidden; /* Keep as is */
    transition: transform 0.3s ease; /* Keep as is */
}

.card:hover {
    transform: translateY(-5px);
}

.top-image {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    overflow: hidden;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 180%;
    height: 100%;
    background-size: 220%; 
    background-position: 0% 50%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.top-image-1 {
    background-image: url('../img/WhatsApp Image 2025-07-05 at 10.40.57 AM.jpeg'); /* Imagen base para la tarjeta 1 */
}

.hover-image-1 {
    background-image: url('../img/DJI_0376 (1).JPG'); /* Imagen de hover para la tarjeta 1 */
}

.top-image-2 {
    background-image: url('../img/ChatGPT Image 25 jul 2025, 11_36_49 a.m..png'); /* Imagen base para la tarjeta 2 */
}

.hover-image-2 {
    background-image: url('../img/DJI_0375.JPG'); /* **Recuerda cambiar esta URL a tu imagen real** */
}

.top-image-3 {
    background-image: url('../img/nueva ocucaje.png'); /* Imagen base para la tarjeta 3 */
}

.hover-image-3 {
    background-image: url('../img/DJI_0376.JPG'); /* Imagen de hover para la tarjeta 3 */
}

.card-1:hover .hover-image-1,
.card-2:hover .hover-image-2,
.card-3:hover .hover-image-3 {
    opacity: 1;
    animation: panHorizontalFade 3s ease-in-out forwards; /* Todas usan la misma animación */
}

@keyframes panHorizontalFade {
    0% {
        background-position: 0% 50%; /* Comienza en la izquierda */
        opacity: 0; /* Empieza transparente */
    }
    20% {
        opacity: 1; /* Aparece por completo */
    }
    100% {
        background-position: 100% 50%; /* Termina en la derecha */
        opacity: 1; /* Permanece visible */
    }
}

/* --- Fin de las imágenes de fondo y animaciones específicas --- */
.tag {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 10px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: bold; /* O prueba con un número como 700, 800, o 900 */
    /* -------------------------------------------------------- */
}

.bottom-section {
    padding: 15px 10px; /* Keep as is */
    text-align: center; /* Keep as is */
    border-top: none; /* <-- CHANGE THIS LINE from '10px solid var(--card-bottom-color)' to 'none' */
    border-bottom-left-radius: 40px; /* Keep as is */
    border-bottom-right-radius: 40px; /* Keep as is */
}

.bottom-section button {
    background-color: #640C3F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.bottom-section button:hover {
    background-color: #a01c6b;
} 

.hero-text-quinto {
    padding: 20px; /* Keep horizontal padding, adjust as needed */
    text-align: center;
    max-width: 1500px;
    margin: 80px auto 0 auto; /* Adjust '80px' as needed to move it down */
    border-radius: 0px;
}

/* === MENÚ HAMBURGUESA === */
.menu-toggle {
  display: none;
  font-size: 2em;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  user-select: none;
  transition: transform 0.3s ease;
}

.menu-toggle::before {
  content: "☰";
}

.menu-toggle.open::before {
  content: "✖";
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* === MÓVIL: hasta 768px === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: var(--dark-color);
  }

  .nav-links {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: var(--white-color);
  padding: 15px 0;
  gap: 15px;
  animation: fadeSlide 0.3s ease forwards;

  /* Agrega estas nuevas líneas 👇 */
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}


  .nav-links.active {
    display: flex;
  }

  @keyframes fadeSlide {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }

  .btn-contact {
    margin: 10px 0 0 0;
  }
}

/* === MÓVIL: hasta 600px – Slider === */
@media (max-width: 600px) {
  .slider-container {
    width: 100%;
    padding: 10px;
    margin: 20px auto;
  }

  .slider-wrapper {
    gap: 10px;
    animation: none;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .slider-item {
    min-width: 85%;
    height: auto;
    scroll-snap-align: center;
  }

  .slider-text-overlay {
    position: relative;
    width: 100%;
    transform: none;
    margin-top: 10px;
    padding: 15px;
  }

  .slider-text-overlay h3 {
    font-size: 1.2em;
  }

  .slider-text-overlay p {
    font-size: 0.9em;
  }
}

/* === PANTALLAS GRANDES: desde 1600px (1920x1080+) === */
@media (min-width: 1600px) {
  .navbar ul {
    gap: 50px;
  }

  .navbar li a {
    font-size: 1.2em;
  }

  .btn-contact {
    padding: 15px 35px;
    font-size: 1.1em;
    margin-left: 60px;
  }

  .slider-container {
    max-width: 1600px;
    width: 88%;
    margin: -60px auto;
    padding: 30px;
  }

  .slider-item {
    width: 420px;
    height: 480px;
  }

  .slider-text-overlay {
    padding: 20px;
    font-size: 1em;
  }

  .slider-text-overlay h3 {
    font-size: 1.5em;
  }

  .slider-text-overlay p {
    font-size: 1.1em;
  }
}


    /* Estilos del modal */
    .modal {
        display: none; /* Oculto por defecto */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease-in-out;
    }

    .modal-content {
        background: white;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        animation: scaleUp 0.3s ease-in-out;
    }

    /* Animaciones */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes scaleUp {
        from { transform: scale(0.8); }
        to { transform: scale(1); }
    }

    /* Modal de agradecimiento */
#thank-you-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra perfectamente */
    width: 90%;
    max-width: 400px; /* Evita que sea muy ancho */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Contenido del modal */
#thank-you-modal .modal-content {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    animation: scaleUp 0.4s ease-in-out;
    color: white;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}


    /* Estilos del modal */
    .modal {
        display: none; /* Oculto por defecto */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease-in-out;
    }

    .modal-contenido {
        background: white;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        animation: scaleUp 0.3s ease-in-out;
    }

    /* Animaciones */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes scaleUp {
        from { transform: scale(0.8); }
        to { transform: scale(1); }
    }

    /* Modal de agradecimiento */
#Registro-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra perfectamente */
    width: 90%;
    max-width: 400px; /* Evita que sea muy ancho */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Contenido del modal */
#Registro-modal .modal-contenido {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    animation: scaleUp 0.4s ease-in-out;
    color: white;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.modal-agradecimiento {
            position: fixed;
            top: 0; left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .modal-contenido {
            background-color: #28a745;
            color: white;
            padding: 30px 40px;
            border-radius: 20px;
            font-size: 20px;
            text-align: center;
            box-shadow: 0 0 15px rgba(0,0,0,0.4);
            animation: aparecer 0.3s ease;
        }

        @keyframes aparecer {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        

/* === RESPONSIVE CELULARES === */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
  }

  .hero-text-primary,
  .hero-text-secundary,
  .navbar ul,
  .header-inferior,
  .main-header,
  .hero-content,
  .features {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo-container {
    margin-top: -60px;
  }

  .logo-image {
    height: 200px;
  }

  .hero-inicio {
    font-size: 2em;
  }

  .hero-final {
    font-size: 1em;
  }

  .hero-izquierda,
  .hero-derecha {
    font-size: 1.5em;
    text-align: center;
  }

  .btn-contact {
    font-size: 0.9em;
    padding: 10px 20px;
  }

  .invest-secure-button.bottom-button {
    font-size: 1em;
    padding: 10px 25px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar li a {
    font-size: 0.95em;
  }
}

