:root {
  --text: #ffffff;
  --main-bg: #030303;
  --primary: #990011;
  --secondary: #00218e;
  --transition-speed: 0.3s;
  --title: "Aktiv Grotesk Cd Trial", sans-serif;
  --text-dark: #333333;
  --text-light: #999999;
  --border: #d1d5db;
  --border-focus: #6b7280;
  --background: #ffffff;
  --input-bg: #f9fafb;
  --stat-num-col: clamp(220px, 26vw, 360px);
  --stat-gap: clamp(14px, 1.8vw, 22px);
  /* espacio entre divisor y texto */
  --stat-divider-w: 1px;
  --stat-divider-color: rgba(255, 255, 255, 0.12);
  --z-nav: 1000;
  --z-phone: 40;
  /* la imagen fija SIEMPRE debajo */
  --z-section: 60;
  /* secciones por encima del phone */
  --z-modal: 10000;
  /* ya lo tenés para el modal */
  --nav-h: 80px;
}

body {
  background-color: #1f1c1c !important;
}

/* ================== CONCEPTS ================== */
.concepts {
  position: relative;
  min-height: 40vh;
  padding: clamp(30px, 10vh, 120px) clamp(16px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vh, 40px);
  background-color: #030303;
}

.title {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--background);
  text-align: center;
  line-height: 1.05;
  font-size: clamp(34px, 5vw, 60px);
  /* 🔧 más chica y equilibrada */
  margin: 30px 0 clamp(12px, 2vh, 20px);
}

/* Título como 2 líneas: la 1° centrada, la 2° alineada a la derecha */
.title {
  display: grid;
  /* permite justificar líneas por separado */
  justify-items: center;
  /* línea 1 centrada por defecto */
  gap: 0.2em;
  margin: 30px 0 clamp(12px, 2vh, 20px);
}

.title .line-1 {
  text-align: center;
}

.title .line-2 {
  width: 100%;
  max-width: 22ch;
  /* ajustá el ancho visual del renglón */
  justify-self: end;
  /* empuja la 2° línea a la derecha */
  text-align: right;
}

/* Opcional: asegurá jerarquía tipográfica coherente */
.title .line-1,
.title .line-2 {
  line-height: 1.05;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: 0.5px;
  color: var(--background);
}

/* Utilidad */
.highlight {
  font-weight: 800;
}

.metodo {
  position: relative;
  padding: 80px 16px;
  overflow: hidden; /* para que el marquee no se salga */
  background: radial-gradient(
    circle at center,
    #1d1d1d 0%,
    #030303 55%,
    #030303 100%
  );
}

.metodo__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 40px 60px;
  align-items: center;
  z-index: 1;
}

/* Imagen centrada ocupando la fila del medio */
.metodo__graphic {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: visible;
}

/* Contenedor del marquee, detrás de la imagen */
.metodo__marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center; /* lo centra verticalmente en toda la sección */
  z-index: 0; /* por detrás de inner, por delante del fondo */
  pointer-events: none;
}

.metodo__marquee-inner {
  white-space: nowrap;
  font-size: clamp(80px, 10vw, 7rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;

  opacity: 0.1; /* súper sutil como en la imagen */
  mix-blend-mode: normal;
  animation: marqueeMove 60s linear infinite;
}

/* Animación horizontal */
@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.metodo__img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.metodo__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

/* Estado base: textos ocultos */
.metodo__item {
  color: #777;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.6;
}

/* Títulos grises */
.metodo__item h3,
.metodo__item h4,
.metodo__item p {
  color: inherit;
}

.metodo__item.is-active {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-2px);
}

/* Dot base */
.dot-inactive {
  fill: transparent;
  stroke: #ffffff;
  stroke-width: 0.5;
  pointer-events: all;
}

/* Dot activo (oculto inicialmente) */
.dot-active {
  fill: #ffffff;
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.metodo-dot.dot-on .dot-active {
  opacity: 1;
  transform: scale(1);
}

/* Opcional: en hover el inactive se puede hacer un pelín más grueso */
.metodo-dot:hover .dot-inactive {
  stroke-width: 0.5;
}

/* Textos */
.metodo__item h3 {
  font-size: clamp(14px, 1vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.metodo__item h4 {
  font-size: clamp(14px, 0.9vw, 0.95rem);
  font-weight: 400;
  color: #d5d5d5;
  max-width: 260px;
}

.metodo__item { position: relative; }
.line-anchor{
  position:absolute;
  top: 10px; /* ajustás el punto exacto donde querés que llegue la línea */
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.metodo__item--top-right .line-anchor,
.metodo__item--bottom-right .line-anchor{
  left: auto;
  right: 0;
}


.metodo-line-svg{
  stroke: #fff;
  stroke-width: 2;
  opacity: 0.9;
  vector-effect: non-scaling-stroke; /* clave: grosor constante aunque escale */
  stroke-linecap: round;

  /* animación tipo “se dibuja” */
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset .35s ease, opacity .25s ease;
  opacity: 0;
}

.metodo-line-svg.is-on{
  stroke-dashoffset: 0;
  opacity: 1;
}


/* Posiciones (ajustá left según tu ojo) */
.metodo__item--top-left .metodo-line {
  left: 72%; /* aprox alineado con el dot de la izquierda */
}

.metodo__item--top-right .metodo-line {
  right: 200%; /* aprox alineado con el dot de la derecha */
}

.metodo__item--bottom-left .metodo-line {
  left: 100%; /* aprox alineado con el dot de la derecha */
}

.metodo__item--bottom-right .metodo-line {
  left: -10%; /* aprox alineado con el dot de la derecha */
}

/* Cuando el item está activo → línea se despliega */
.metodo__item.is-active .metodo-line {
  transform: scaleY(1);
}

/* Párrafos de todos los items: escondidos al inicio */
.metodo__item p {
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 360px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* Párrafo visible solo cuando ese item está activo */
.metodo__item.is-active p {
  max-height: 200px; /* si alguno tiene más texto, subilo un poco */
  opacity: 1;
}

.metodo__item[data-dot="1"].is-active p {
  max-height: 200px; /* suficiente para su contenido */
  opacity: 1;
}

/* Alineaciones para simular el diseño */
.metodo__item--top-left {
  grid-row: 1;
  grid-column: 1;
}

.metodo__item--top-right {
  grid-row: 1;
  grid-column: 2;
  text-align: right;
  margin-left: auto;
}

.metodo__item--bottom-left {
  grid-row: 3;
  grid-column: 1;
}

.metodo__item--bottom-right {
  grid-row: 3;
  grid-column: 2;
  margin-left: auto;
  text-align: right;
}

/* SOLO MOBILE */
@media (max-width: 951px) {
  .metodo__item--top-right .metodo-line {
  right: 120%; /* aprox alineado con el dot de la derecha */
}
}

@media (max-width: 426px) {
  .metodo__item h3 {
    font-size: 0.80rem;
  }

  .metodo__item h4 {
    font-size: 0.6rem;
  }

  .metodo__item p {
    font-size: 0.8rem;
    max-width: 100%; /* opcional, para que no quede tan estrecho en pantallas chicas */
  }
}

/* SOLO MOBILE */
@media (max-width: 640px) {
  .metodo__graphic {
    position: relative;
    left: 50%;
    width: 180vw; /* más ancho que la pantalla */
    max-width: none; /* que no te limite el max-width: 1000px; */
    transform: translateX(-50%);
    margin: 32px 0; /* separarlo un poco de los textos si hace falta */
  }

  .metodo__inner {
    gap: 3px 20px;
  }

  .metodo__img {
    width: 100%; /* ocupa todo el nuevo ancho del contenedor */
    height: auto;
  }

  .metodo__dots {
    width: 100%;
    height: 100%;
  }

  .metodo__item--top-right .metodo-line {
    right: 100%; /* aprox alineado con el dot de la derecha */
  }

  .metodo__item .metodo-line {
    position: absolute;
    top: 0;
    width: 2px;
    height: 120px;
    background: #ffffff;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.35s ease;
    opacity: 0.9;
  }
}

.metodo {
  filter: blur(18px);
  transition: filter 0.6s ease;
  opacity: 0.3; /* opcional, para reforzar el efecto */
}

.metodo.is-visible {
  filter: blur(0);
  opacity: 1;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;

  background: #25d366;
  color: #ffffff;

  /* 🔹 En vez de 50% para círculo, usamos px para esquinas redondeadas */
  border-radius: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px; /* tamaño del ícono */
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  /* 🔥 ANIMACIÓN PULSE */
  animation: pulse 1.6s infinite ease-in-out;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 769px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }
}
