/* === inicio.css === */
/* === RESET GLOBAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* === BODY === */
body {
    background-color: #fff; 
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

/* ============ HERO SWIPER (1500x500 aprox, responsive) ============ */
.hero-swiper{
    position: relative;
    padding: 0;
    margin: 0 0 clamp(28px, 6vw, 60px);
  }
  .hero-swiper .swiper.hero{
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0,0,0,.45);
  }
  
  /* Cada slide mantiene look 3:1; en móvil toma alto útil */
  .hero-swiper .swiper-slide{
    position: relative;
    aspect-ratio: 3 / 1;                      /* 1500x500 */
    min-height: clamp(240px, 40vw, 520px);    /* responsive */
  }
  
  /* Imagen */
  .hero-swiper .slide-media,
  .hero-swiper .slide-media img{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
  }
  .hero-swiper .slide-media img{
    object-fit: cover;
    object-position: var(--obj-pos, 50% 50%); /* foco ajustable por slide */
    transform: scale(1.06);
    transition: transform 1200ms ease, filter 1200ms ease;
    filter: brightness(.92) contrast(1.02);
  }
  .hero-swiper .swiper-slide-active .slide-media img{
    transform: scale(1.0);
    filter: brightness(.98) contrast(1.03);
  }
  
  /* Overlay con negro + acento marca */
  .hero-swiper .slide-overlay{
    position: absolute; inset: 0;
    background:
      linear-gradient( to right, rgba(0,0,0,.65) 12%, rgba(0,0,0,.35) 42%, rgba(0,0,0,.05) 72% ),
      radial-gradient(800px 420px at 16% 44%, rgba(243,179,52,.18), transparent 60%),
      radial-gradient(700px 380px at 10% 80%, rgba(38,107,88,.18), transparent 70%);
    pointer-events: none;
  }
  
  /* Contenido */
  .hero-swiper .slide-content{
    position: absolute; inset: 0;
    display: grid; align-content: center; justify-items: start;
    padding: 0 5%;
    max-width: 1280px; margin: 0 auto;
  }
  .hero-swiper .slide-title{
    font-size: clamp(1.6rem, 3.6vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: .2px;
  }
  .hero-swiper .slide-sub{
    max-width: 720px;
    color: #e9e9e9;
    margin: 0 0 16px;
    font-size: clamp(.95rem, 1.5vw, 1.15rem);
    line-height: 1.55;
  }
  
  /* CTA */
  .hero-swiper .slide-cta{
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; text-decoration: none;
    background: #f3b334; color: #000; font-weight: 800;
    letter-spacing: .3px; border-radius: 10px;
    padding: 12px 22px; min-width: 200px;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 24px rgba(243,179,52,.25);
  }
  .hero-swiper .slide-cta:hover{
    background: #d49c25; transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(243,179,52,.35);
  }
  
  /* Flechas */
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next{
    width: 46px; height: 46px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    transition: transform .2s ease, background .2s ease;
  }
  .hero-swiper .swiper-button-prev:hover,
  .hero-swiper .swiper-button-next:hover{
    background: #f3b334; transform: scale(1.05);
  }
  .hero-swiper .swiper-button-prev::after,
  .hero-swiper .swiper-button-next::after{
    font-size: 18px; color: #000; font-weight: 900;
  }
  
  /* Bullets */
  .hero-swiper .swiper-pagination{
    bottom: 10px !important;
  }
  .hero-swiper .swiper-pagination-bullet{
    width: 10px; height: 10px; opacity: .7;
    background: #fff; border: 2px solid rgba(0,0,0,.35);
    transition: transform .2s ease, background .2s ease, opacity .2s ease;
  }
  .hero-swiper .swiper-pagination-bullet-active{
    background: #f3b334; opacity: 1; transform: scale(1.15);
  }
  
  /* Responsive tweaks (tablet) */
  @media (max-width: 900px){
    .hero-swiper .swiper-slide{
      aspect-ratio: 2 / 1;
      min-height: 56vw;
    }
  }
  
  /* Responsive tweaks (móvil) */
  @media (max-width: 600px){
    .hero-swiper .swiper-slide{
      aspect-ratio: 16 / 9;
      min-height: 58vw;
    }
    .hero-swiper .slide-content{
      justify-items: center; text-align: center; align-content: end;
      padding: 0 18px 22px;
    }
    .hero-swiper .slide-title{
      font-size: clamp(1.3rem, 6.5vw, 2rem);
      line-height: 1.15;
    }
    .hero-swiper .slide-sub{
      font-size: clamp(.9rem, 3.8vw, 1.05rem);
      margin-bottom: 12px; max-width: 90%;
    }
    .hero-swiper .slide-cta{
      width: 100%; min-width: 0; padding: 12px 18px;
    }
    /* overlay un poco más oscuro en móvil para legibilidad */
    .hero-swiper .slide-overlay{
      background:
        linear-gradient(to bottom, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 65%, rgba(0,0,0,.05) 100%),
        radial-gradient(600px 360px at 50% 15%, rgba(243,179,52,.18), transparent 65%),
        radial-gradient(520px 320px at 50% 85%, rgba(38,107,88,.16), transparent 70%);
    }
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next{
      width: 38px; height: 38px;
    }
    .hero-swiper .swiper-pagination{ bottom: 6px !important; }
  }
  
  /* Teléfonos muy pequeños: prioriza título + botón */
  @media (max-width: 380px){
    .hero-swiper .slide-sub{ display: none; }
  }

/* Mancha inferior izquierda 
.productos::after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -200px;
    width: 1000px;
    height: 1800px;
    background-image:
        radial-gradient(circle at bottom left, rgba(243,179,52,0.5) 0%, rgba(243,179,52,0.35) 25%, rgba(243,179,52,0.2) 50%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(243,179,52,0.25) 0%, transparent 60%),
        radial-gradient(circle at 40% 90%, rgba(243,179,52,0.15) 0%, transparent 50%),
        radial-gradient(circle at 10% 70%, rgba(243,179,52,0.1) 0%, transparent 50%);
    filter: blur(25px);
    z-index: -1;
}*/

/* Contenedor de productos */
.productos {
    position: relative;
    overflow: visible;
}

/* === RESPONSIVE BACKGROUND === */
@media (max-width: 768px) {
    body::before,
    .productos::after {
        width: 800px;
        height: 1200px;
        filter: blur(18px);
    }

    body::before {
        top: -150px;
        right: -50px;
    }

    .productos::after {
        left: -50px;
        bottom: -100px;
    }
}

/* === TITULO === */
.productos {
    padding: 50px 5%;
    text-align: center;
}
.productos h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #000;
}

/* === BOTÓN DE FILTRO === */
.filtro-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.btn-filtro {
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-filtro:hover {
  background-color: #f3b334;
  color: #000;
  transform: translateY(-2px);
}

/* Contenedor del botón de filtro y menú */
.filtro-container { position: relative; }

/* Contenedor de filtros activos */
.filtros-activos-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
   align-items: center;
}

/* Cada filtro activo */
.filtro-activo {
    background-color: #f3b334;
    color: #000;
    padding: 5px 10px;
    border-radius: 18px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}
.filtro-activo .close-filtro {
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.filtro-activo .close-filtro:hover { transform: scale(1.2); }

/* === Menu desplegable del filtro === */
.filtro-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 110%; 
  left: 0;
  background: #fff;
  color: #000;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  padding: 12px 0;
  min-width: 180px;
  z-index: 200;
  transform: rotateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
}
.filtro-menu li {
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.filtro-menu li:hover {
  background: linear-gradient(90deg, #f3b334 0%, #f3b33499 100%);
  color: #000;
}
/* Mostrar menú activo */
.filtro-container.active .filtro-menu {
  transform: translateY(0);
  max-height: 500px;
  opacity: 1;
  padding: 10px 0;
}
/* Flecha */
.filtro-menu li::after {
    content: '➤';
    float: right;
    opacity: 0.5;
    transition: transform 0.3s ease;
}
.filtro-menu li:hover::after {
    transform: translateX(5px);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .filtro-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
  .btn-filtro {
    width: 80%;
    justify-content: center;
  }
  .filtros-activos-container {
    max-width: 100%;
    margin-top: 10px;
    overflow-x: auto;
  }
  .productos-grid{
    gap: 15px;
  }
  .producto-img-container {
    width: 150px;
    height: 150px;
  }
}

/* === PRODUCTOS === */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.producto-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
    transition: transform 0.3s ease, background 0.3s ease;
}
.producto-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}
.producto-img-container {
    width: 180px;
    height: 180px;
    margin-bottom: 12px;
}
.producto-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.producto-card h3 { margin-bottom: 6px; }
.producto-card p { margin-bottom: 12px; }
.producto-card button {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    background: #31cda8;
    color: #fff;
    cursor: pointer;
    margin: 5px 0;
    width: 80%;
    transition: 0.3s ease;
}
.producto-card button:hover { background: #266b58; }

/* === FOOTER === */
.footer {
    position: relative;
    background: #fff;
    color: #000;
    padding: 40px 5%;
    font-family: Arial, sans-serif;
    border-top: 3px solid transparent;
    border-image: linear-gradient(to right, #266b58, #31cda8) 1;
}
.footer-row {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 25px;
}
.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
}
.footer-links h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: #000;
}
.footer-links.small-col h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.footer-links.small-col .footer-payments h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #000;
    font-weight: 600;
    text-align: center;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links ul li a:hover {
    color: #266b58;
    padding: 2px 6px;
    border-radius: 4px;
}
.footer-links.small-col .social-link a {
    margin-right: 10px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    transition: 0.3s ease;
}
.footer-links.small-col .social-link a:hover {
    transform: scale(1.3);
    background: #fff;
    color: #266b58;
}
.footer-payments { margin-top: 20px; text-align: center; }
.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.payment-icons div {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.payment-icons div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}
.payment-icons div img:hover { filter: brightness(0) invert(1); }
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #000;
}
.footer-bottom .direccion {
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* === RESPONSIVE GENERAL === */
@media (max-width: 768px) {

    .footer-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    .footer-links.small-col { margin: 0 auto; }
    .footer-links ul { display: inline-block; }
    .footer-links ul li { margin-bottom: 8px; }
    .footer-payments { margin-top: 15px; }
    .payment-icons { justify-content: center; }
    .footer-links.small-col .social-link a {
        margin: 0 6px;
        margin-bottom: 10px;
    }
    .footer-bottom {
        margin-top: 20px;
        font-size: 0.8rem;
    }
}

/* =========================
   CTA: Ver Catálogos (Home)
   ========================= */
.cta-catalogos{
  position: relative;
  padding: clamp(42px, 7vw, 90px) 5%;
  margin: clamp(24px, 6vw, 60px) 0;
  overflow: visible;
}
/* Fondo con manchas doradas */
.cta-catalogos__bg{
  position: absolute;
  inset: -40px 0 -40px 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(800px 500px at 85% 20%, rgba(243,179,52,0.22), transparent 60%),
    radial-gradient(700px 420px at 15% 80%, rgba(243,179,52,0.18), transparent 65%);
  filter: blur(10px);
}
/* Tarjeta central */
.cta-catalogos__card{
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 40px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  text-align: center;
  color: #fff;
}
/* Badge superior */
.cta-catalogos__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #266b58, #959e3c);
  color: #000;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .3px;
}
.cta-catalogos__title{
  margin: 14px 0 8px;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: #fff;
}
.cta-catalogos__text{
  margin: 0 auto 18px;
  max-width: 700px;
  color: #ddd;
  line-height: 1.6;
  font-size: clamp(.95rem, 1.7vw, 1.05rem);
}
/* Botón principal */
.cta-catalogos__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: #f3b334;
  color: #000;
  font-weight: 700;
  letter-spacing: .3px;
  border-radius: 10px;
  padding: 12px 24px;
  min-width: 220px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(243,179,52,0.25);
}
.cta-catalogos__btn:hover{
  background: #d49c25;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(243,179,52,0.35);
}
/* Responsive CTA */
@media (max-width: 640px){
  .cta-catalogos__card{ padding: 22px 18px; }
  .cta-catalogos__btn{ width: 100%; min-width: 0; }
}


/* =========================
   HERO INTRO (Technosense)
   ========================= */
   .ts-hero{
    position: relative;
    width: 100%;
    background: #fff;
    height: 800px;              /* desktop */
    overflow: hidden;
  }
  
  .ts-hero__inner{
    position: relative;
    z-index: 2;                 /* arriba del canvas */
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr;  /* 2/3 y 1/3 */
    gap: clamp(18px, 3vw, 40px);
    align-items: center;
  }
  
  /* izquierda */
  .ts-hero__left{
    align-self: center;
  }
  
  /* derecha */
  .ts-hero__right{
    display: grid;
    justify-items: end;
  }
  
  .ts-hero__title{
    color: #0f172a;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.2px;
    font-size: clamp(2.0rem, 3.2vw, 3.2rem);
    margin: 0 0 14px;
  }
  
  .ts-hero__text{
    color: #334155;
    font-size: clamp(1.0rem, 1.35vw, 1.15rem);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 0 22px;
  }
  
  .ts-hero__actions{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  
  .ts-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 170px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    will-change: transform;
  }
  
  .ts-btn--primary{
    background: #31cda8;
    color: #0b1b16;
    box-shadow: 0 10px 28px rgba(49,205,168,.28);
  }
  .ts-btn--primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(49,205,168,.35);
  }
  
  .ts-btn--ghost{
    background: transparent;
    color: #0f172a;
    border: 2px solid rgba(49,205,168,.55);
  }
  .ts-btn--ghost:hover{
    transform: translateY(-2px);
    border-color: #31cda8;
    box-shadow: 0 10px 22px rgba(49,205,168,.18);
  }
  
  .ts-hero__mock{
    width: min(360px, 100%);
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(49,205,168,.16), rgba(15,23,42,.06));
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
    display: grid;
    place-items: center;
    color: rgba(15,23,42,.55);
    font-weight: 800;
    letter-spacing: .8px;
  }
  
  /* Canvas (NO bloquea botones) */
  .ts-particles{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* importante */
  }
  
  /* Tablet */
  @media (max-width: 900px){
    .ts-hero{
      height: auto;
      min-height: 720px;
      padding: 32px 0;
    }
    .ts-hero__inner{
      grid-template-columns: 1.2fr .8fr;
      align-items: start;
    }
  }
  
  /* Móvil */
  @media (max-width: 700px){
    .ts-hero{
      height: auto;
      min-height: 720px;
      padding: 26px 0 34px;
    }
    .ts-hero__inner{
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .ts-hero__right{
      justify-items: start;
    }
    .ts-hero__mock{
      width: 100%;
      aspect-ratio: 16 / 9;
    }
    .ts-btn{
      width: 100%;
      min-width: 0;
    }
  }

  /* ============================================
    SECCIÓN CÓMO TRABAJAMOS (TIMELINE) — TS (FONDO BLANCO)
  ============================================ */

  .como-trabajamos {
    margin: 3rem auto;
    max-width: 1100px;
    padding: 0 1rem;
    text-align: left;
  }

  .como-trabajamos h2 {
    color: #0f172a;                 /* ✅ antes #f9fafb */
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .como-intro {
    color: #475569;                 /* ✅ antes #cfd9e3 */
    font-size: 0.98rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.2rem;
    line-height: 1.5em;
  }

  /* Contenedor con línea vertical */
  .workflow-timeline {
    position: relative;
    margin: 0 auto 2.5rem;
    padding-left: 2.2rem;
    border-left: 2px solid rgba(49, 205, 168, 0.55); /* ✅ TS */
  }

  /* Cada paso */
  .wf-step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 0.4rem;

    /* Animación: estado inicial (fuera de vista) */
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.25s ease-out;
  }

  /* Pequeño escalonado solo con delay */
  .wf-step:nth-child(1) { transition-delay: 0.0s;  }
  .wf-step:nth-child(2) { transition-delay: 0.12s; }
  .wf-step:nth-child(3) { transition-delay: 0.24s; }
  .wf-step:nth-child(4) { transition-delay: 0.36s; }

  /* Cuando entra al viewport */
  .wf-step.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  /* Punto sobre la línea */
  .wf-marker {
    position: absolute;
    left: -2.9rem;
    top: 0.45rem;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #eafff8, #31cda8); /* ✅ TS */
    box-shadow: 0 0 12px rgba(49, 205, 168, 0.45);                  /* ✅ más suave en blanco */
  }

  /* Contenido del paso */
  .wf-body {
    background: rgba(15, 23, 42, 0.03);       /* ✅ tarjeta sutil */
    border: 1px solid rgba(15, 23, 42, 0.08); /* ✅ borde claro */
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    backdrop-filter: blur(8px);
  }

  .wf-body:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10),
                0 0 0 1px rgba(49, 205, 168, 0.18); /* ✅ glow TS suave */
  }

  /* Encabezado del paso */
  .wf-step-header {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
  }

  .wf-step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #266b58;                 /* ✅ TS deep green */
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .wf-step-header h3 {
    color: #0f172a;                 /* ✅ antes #f9fafb */
    font-size: 1.05rem;
    margin: 0;
  }

  .wf-body p {
    color: #334155;                 /* ✅ antes #cfd9e3 */
    font-size: 0.95rem;
    margin-top: 0.6rem;
    line-height: 1.5em;
  }

  /* CTA inferior */
  .cta-visita {
    margin-top: 1rem;
    padding: 1.8rem 1.6rem;
    border-radius: 18px;

    border: 1px solid rgba(49, 205, 168, 0.55); /* ✅ TS */
    background: radial-gradient(circle at top left,
              rgba(49, 205, 168, 0.18),
              rgba(15, 23, 42, 0.03));            /* ✅ claro, elegante en blanco */

    text-align: center;

    /* Animación inicial */
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.25s ease-out;
  }

  /* Cuando entra al viewport */
  .cta-visita.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  .cta-visita h3 {
    color: #0f172a;                 /* ✅ antes #f9fafb */
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }

  .cta-visita p {
    color: #475569;                 /* ✅ antes #d1e1f0 */
    font-size: 0.96rem;
    max-width: 640px;
    margin: 0 auto 1.2rem;
    line-height: 1.5em;
  }

  .btn-cta-visita {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    background: #31cda8;            /* ✅ TS */
    color: #0b1b16;                 /* ✅ contraste con menta */
    box-shadow:
      0 0 0 1px rgba(49, 205, 168, 0.9),
      0 12px 26px rgba(49, 205, 168, 0.22);      /* ✅ “levantado” en blanco */

    transition:
      transform 0.18s ease-out,
      box-shadow 0.18s ease-out,
      background 0.18s ease-out,
      color 0.18s ease-out;
  }

  .btn-cta-visita:hover {
    transform: translateY(-2px);
    background: #2bbf9d;            /* ✅ hover TS */
    box-shadow:
      0 0 0 1px rgba(43, 191, 157, 0.95),
      0 16px 34px rgba(49, 205, 168, 0.28);
  }

  .btn-cta-visita:active {
    transform: translateY(1px) scale(0.98);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .workflow-timeline {
      padding-left: 1.6rem;
    }

    .wf-marker {
      left: -2.4rem;
    }

    .wf-body {
      padding: 1.3rem 1.2rem;
    }

    .como-trabajamos h2 {
      font-size: 1.5rem;
    }

    .cta-visita {
      padding: 1.6rem 1.2rem;
    }
  }