:root {
  --primary: #00A3D6;
  --secondary: #1A1A1A;
  --call: #F2BA0B;
  --text: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--secondary);
  color: var(--text);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.4;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

b, strong {
  font-weight: 900;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url('../images/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 64px;
  line-height: 64px;
  font-weight: 700;
}

.hero p {
  margin: 0 0 40px 0;
  font-size: 64px;
  line-height: 64px;
  font-weight: 100;
}

.btn-primary {
  background: var(--call);
  color: var(--secondary);
  font-weight: 900;
  font-size: 14px;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
}

/* VIDEO */
.video-section {
  padding: 60px 0;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* TEXT */
.text-section {
  text-align: center;
  padding: 60px 0;
}

.text-section h2 {
  font-weight: 300;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  font-size: 48px;
  max-width: 1100px;
}

.sub {
  margin: 50px 0;
  font-size: 24px;
}

.small {
  font-size: 21px;
}

/* BENEFITS */
.benefits {
  text-align: center;
  padding: 60px 0;
}

.subtitle {
  margin: 10px auto 20px auto;
  text-align: center;
}

.highlight {
  color: var(--primary);
  font-size: 48px;
  font-weight: 900;
  text-align: center;
}

.cards {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: var(--secondary);
  padding: 50px 30px;
  border-radius: 50px;
  width: 300px;
  margin: 0 10px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

.card:hover {
  transform: translateY(-5px);
}

.card span {
  font-size: 60px;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.card p {
  font-size: 21px;
  font-weight: 900;
}

/* RESULTS */
.results {
  text-align: center;
  padding: 60px 0;
}

.results .copete {
  font-size: 24px;
}

.text-block {
  margin-top: 70px;
}

/* ANIMACIONES */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}

.steps {
  padding: 100px 0;
}

.steps-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 70px;

  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.step-item:last-child {
  margin-bottom: 0;
}

/* línea exacta entre círculos */
.steps-line {
  position: absolute;
  left: 60px;
  top: 60px;
  width: 2px;
  height: 0;
  background: var(--primary);
  transition: height 1.5s ease;
  z-index: 0;
}

.step-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #6f6f6f;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .7s ease;
  z-index: 2;
}

.step-card {
  flex: 1;
  background: var(--secondary);
  border-radius: 24px;
  padding: 35px;
  transition: all .7s ease;
}

.step-card h3 {
  color: #fff;
  margin-bottom: 12px;
  transition: .5s;
}

/* 👇 PRIMERA ANIMACIÓN (entrada) */
.step-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* activo */
/* 👇 SEGUNDA ANIMACIÓN (encendido) */
.step-item.active .step-circle {
  background: var(--primary);
  box-shadow: 0 0 25px var(--primary);
}

.step-item.active .step-card {
  box-shadow: 0 0 25px var(--primary);
}

.step-item.active h3 {
  color: var(--primary);
}

/* responsive */
@media(max-width:768px){
  .step-item{
    flex-direction: column;
    text-align:center;
  }

  .steps-line{
    display:none;
  }

  .step-card{
    text-align:center;
  }
}

/*** VIDEOS ***/

section.middle {
  margin: 60px auto;
}

.video-middle {
  width: 60vw;          
  max-width: 100%;      
  margin: 0 auto;       
  aspect-ratio: 16 / 9; 
}

.video-middle iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .video-middle {
    width: 100%;
  }
}

/* CONTENIDO */

.card-cont {
  background: var(--secondary);
  padding: 50px 20px;
  border-radius: 50px;
  width: 280px;
  margin: 0px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

.card-cont:hover {
  transform: translateY(-5px);
}

.card-cont span {
  font-size: 60px;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.card-cont p {
  font-size: 21px;
  font-weight: 900;
}

.journey {
  padding: 120px 0;
}

/* GRID */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  /*gap: 60px;*/
}

/* IZQUIERDA */
.journey-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  box-shadow: 0 0 40px rgba(255,255,255,0.8);
  text-align: center;
}

.journey-circle h3 {
  color: var(--primary);
  font-size: 2rem;
}

.journey-content {
  display: flex;
  align-items: center;
  font-size: 24px;
  width: calc(100% - 100px);
}

.journey-circle p {
  opacity: 0.7;
}

/* DERECHA */
.journey-right {
  position: relative;
  /*max-width: 500px;*/
}

/* línea */
.journey-line {
  position: absolute;
  left: 48px;
  height: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--secondary);
  transition: 0.8s ease;
}

/* item */
.journey-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;

  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

/* visible */
.journey-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-item.visible > .journey-line {
   background: var(--primary);
   height: 140px!important;
}

/* icono */
.journey-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 9999;
}

/* activo */
.journey-icon.active {
  background: var(--primary);
  box-shadow: 0 0 25px var(--primary);
}

.journey-icon span {
  color: white;
  font-size: 36px;
  z-index: 9999;
}

/* contenido */
.journey-content .number {
  font-weight: 700;
  margin-right: 10px;
  color: #aaa;
  transition: 0.5s;
  font-size: 48px;
}

.journey-content .number.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-circle {
    width: 280px;
    height: 280px;
  }

  .journey-right {
    margin: auto;
  }
}

/*** PROCESO ***/

.process {
  padding: 120px 0;
  text-align: center;
}

.process-title {
  font-size: 48px;
  margin-bottom: 60px;
  color: var(--primary);
  text-align: center;
}

/* GRID */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* CARD */
.process-card {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255,255,255,0.8);
  transition: all .4s ease;
}

/* hover sutil */
.process-card:hover {
  transform: translateY(-5px);
}

/* HEADER */
.process-header {
  background: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  padding: 25px;
  text-align: center;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

/* LISTA */
.process-list {
  list-style: none;
  padding: 30px;
  margin: 0;
  text-align: left;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #ccc;
  line-height: 1.4;
}

/* ICONOS */
.process-list .material-symbols-outlined {
  font-size: 36px;
  color: var(--primary);
}

/* responsive */
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-title {
    font-size: 2rem;
  }
}

/* CLIENTES */

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.slide-wrapper {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    display: flex;
    padding: 25px;
}


.slide-banners .adv-card {
  width: 100%;
  aspect-ratio: 3 / 5; /* 👈 proporción de la imagen */
  overflow: hidden;
  border-radius: 20px; /* opcional si venís usando bordes */
}

.slide-banners .adv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👈 clave */
  display: block;
}

.slide-banners {
    padding: 40px 10px;
    box-sizing:border-box;
    /*flex: 0 0 auto;*/
    transition: min-width 0.4s ease;
}

.wrapper-carousel-image {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
  /*AJUSTAR PROPORCION DE ACUERDO A LA MEDIDA DE LAS IMÁGENES*/
  aspect-ratio: 16 / 11;
}

button.prev-btn,
button.next-btn {
  background: black;
  color: white;
  border: none;
  font-size: 18px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

button.prev-btn {
  left: 0;
}

button.next-btn {
  right: 0;
}

.cliente-card p {
    min-height: 200px;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 6px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dot.active {
  background-color: var(--primary);
}

.cta-landing {
  padding: 70px 0;
  text-align: center;
}

/*****FAQ*****/

.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--primary);
}

.faq-question {
  width: 100%;
  padding: 25px 0;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #00bcd4;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.faq-icon::after {
  width: 2px;
  height: 20px;
  left: 9px;
  top: 0;
}

.faq-item.active .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #ffffff;
  font-size: 16px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/*** PROFILE ***/

.profile {
  background: var(--secondary);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.profile-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Imagen */
.profile-image {
  width: 300px;
  height: 300px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.profile-info h2 {
  color: var(--primary);
  margin-bottom: 5px;
}

.profile-info h3 {
  font-weight: 400;
  color: #ddd;
  margin-bottom: 15px;
}

.profile-info p {
  color: #ffffff;
  margin: 30px auto;
}

/* Logos */
.profile-logos {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.profile-logos img {
  max-height: 100px;
  opacity: 0.9;
  max-width: 120px;
}

/* Ubicación */
.profile-location, .profile-contact {
    margin-top: 80px;
}
.profile-location h4,
.profile-contact h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.profile-location p {
  margin-bottom: 20px;
}

.profile-location p,
.profile-contact p {
  color: #ffffff;
}
.profile-contact a {
  color: #ffffff;
  text-decoration: none;
}
.profile-contact a:hover {
  color:var(--primary);
}

/* Botón */
.btn-map {
  display: inline-block;
  background: var(--primary);
  color: #000;
  padding: 15px 50px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-map:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}

/* activo */
.modal.active {
  display: block;
}

/* fondo oscuro */
.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

/* contenido */
.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 450px;
  margin: 80px auto;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  animation: modalFade 0.3s ease;
}

/* iframe */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* botón cerrar */
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

/* animación */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Redes */
.profile-social {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.profile-social a {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.profile-social a img {
  width: 18px;
  height: 18px;
}

.profile-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/*** BOTON TOP ***/

.scroll-top-btn {
        position: fixed;
        z-index: 999;
        bottom: 2vh;
        right: 2vw;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        font-size: 2rem;
        font-weight: bold;
        background-color: var(--primary);
        color: #ffffff;
        cursor: pointer;
        outline: 0;
        border: 0;
        transition: all 0.3s ease-out;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        z-index: 9999;
    }

    .scroll-top-btn .fa-arrow-up {
        color: #ffffff;
        font-size: 36px;
    }

    .scroll-top-btn:hover {
        background-color: #333333;
        color: #ffffff;
    }

    .hidest {
        visibility: hidden;
        opacity: 0;
    } 


/*** CTA FLOTANTE ***/

/* CONTENEDOR */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  transition: all 0.4s ease;
  z-index: 9998;
}

/* cuando aparece */
.sticky-cta.active {
  transform: translateY(0);
}

/* fondo tipo glass */
.sticky-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 12px 12px 0 0;
}

/* texto */
.sticky-text {
  color: #fff;
  font-size: 14px;
}

/* botón reutiliza tu .btn-primary */
.sticky-cta .btn-primary {
  white-space: nowrap;
}

/* MOBILE */
@media (max-width: 600px) {
  .sticky-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .sticky-text {
    font-size: 13px;
  }
}