
:root {
  --text: #ffffff;
  --main-bg: #0f0f0f;
  --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;
}

.wrapper {
  max-width: 1100px; /* mismo ancho que tu navbar */
  margin: 140px auto 0; /* baja debajo del navbar fijo */
  padding: 0 2rem;
}

.title span{
  color: var(--text);
  font-family: var(--title);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

span.highlight{
  font-weight: 800;
}

.title-space .title {
  text-align: center;
  margin: 0 auto;
  display: block;
}



.title {
  font-family: "Aktiv Grotesk Cd Trial", sans-serif;
  font-weight: 100;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 clamp(16px, 2vw, 28px);
  align-self: center;
}




/* Animación de título SOMOS AVANCE */
.title-space .title {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(2px);
  transition:
    opacity 600ms ease,
    transform 600ms ease,
    filter 600ms ease;
}

/* Stagger por palabra */
.title-space .title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 520ms ease,
    transform 700ms cubic-bezier(.2,.65,.2,1);
}

/* Subrayado que se dibuja en AVANCE */
.title-space .title .highlight {
  position: relative;
}

/* Estado activado al entrar en viewport */
.title-space.in-view .title {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.title-space.in-view .title span:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 80ms;
}
.title-space.in-view .title span:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 220ms;
}
.title-space.in-view .title .highlight::after {
  transform: scaleX(1);
}

/* Respeto a reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .title-space .title,
  .title-space .title span {
    transition: none;
    transform: none;
    filter: none;
    opacity: 1;
  }
  .title-space .title .highlight::after { transform: none; }
}







.our-story {
  padding: 40px 16px;
  display: grid;
  place-items: center;
}

.timeline {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(400px, 90vw);
  position: relative;
  margin-bottom: 10px;
}

.node {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.label {
  font-size: clamp(14px, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0f0f0f;
  position: relative;
}

/* Conector */
.connector {
  flex: 1 1 auto;
  height: 2px;
  background: #0f0f0f;
  opacity: 0.9;
  transform-origin: left center;
  transform: translateY(4px) scaleX(0); /* se ve "sin dibujar" */
  transition: transform 900ms ease;
}

/* Animación pulse */
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #0f0f0f;
  opacity: 0.5;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Tema oscuro opcional */
@media (prefers-color-scheme: dark) {
  .dot { border-color: #fff; background: transparent; }
  .pulse::after { border-color: #fff; }
  .connector { background: #fff; }
  .label { color: #fff; }
}

.story-text {
  max-width: 700px;
  text-align: center;
  margin-top: 40px;
  line-height: 1.7;
  font-size: clamp(14px, 1.1vw, 1rem);
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

.story-text p {
  margin-bottom: 16px;
}

.story-text .highlight-text {
  font-weight: 700;
  color: var(--text);
}

/* Estado inicial sin animar */
.timeline {
  position: relative;
}

.connector {
  transform-origin: left center;
  transform: translateY(4px) scaleX(0); /* se ve "sin dibujar" */
  transition: transform 900ms ease;
}

/* Nodos: fade-up + scale */
.node .dot,
.node .label {
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  transition:
    opacity 420ms ease,
    transform 600ms cubic-bezier(.2,.65,.2,1);
}

/* Stagger para cada nodo */
.timeline .node:nth-of-type(1) .dot,
.timeline .node:nth-of-type(1) .label { transition-delay: 180ms; }

.timeline .node:nth-of-type(2) .dot,
.timeline .node:nth-of-type(2) .label { transition-delay: 520ms; }

/* Cuando la sección entra en vista */
.our-story.in-view .connector {
  transform: translateY(4px) scaleX(1); /* se “dibuja” */
}

.our-story.in-view .node .dot,
.our-story.in-view .node .label {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Pulse: pausado por defecto, corre al entrar en vista */
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #0f0f0f;
  opacity: 0.5;
  animation: pulse 1.5s infinite;
  animation-play-state: paused;   /* pausa inicial */
}

.our-story.in-view .pulse::after {
  animation-play-state: running;
  animation-delay: 900ms;         /* arranca después de dibujar el conector */
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.8); opacity: 0;   }
  100% { transform: scale(1);   opacity: 0;   }
}

/* Tema oscuro opcional (sin cambios si ya lo tenías) */
@media (prefers-color-scheme: dark) {
  .dot { border-color: #fff; background: transparent; }
  .pulse::after { border-color: #fff; }
  .connector { background: #fff; }
  .label { color: #fff; }
}


/* Estado inicial */
.story-text p {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 480ms ease,
    transform 640ms cubic-bezier(.2,.65,.2,1);
  will-change: transform, opacity;
}

/* Al revelar */
.story-text p.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Respeta reduce motion */
@media (prefers-reduced-motion: reduce) {
  .story-text p {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.brand-core {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(3rem, 6vw, 8rem) 2rem;
  min-height: 30vh;
}

/* Fila: todo centrado y horizontal */
.brand-core__row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(3rem, 5vw, 7rem);
  width: 100%;
  max-width: 1600px;
  flex-wrap: nowrap; /* fuerza las tres en línea */
}

/* Cada bloque */
.brand-core__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  max-width: 400px;
}

/* Imagen centrada */
.brand-core__media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(150px, 12vw, 190px);

  margin: 0 auto 1rem;
}

.brand-core__media img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

/* Contenido */
.brand-core__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-core__title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
  opacity: 0.5;
}

.brand-core__text {
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  line-height: 1.6;
  width: 90%;
  max-width: 380px;
}


.brand-core__media {
  margin-bottom: 1rem; /* iguala el espacio entre imagen y título */
}
.brand-core__title {
  margin-top: 0; /* evita diferencias acumuladas */
}


/*ANIMACIONES HOVER*/


/* Estado inicial de los textos */
.brand-core__title,
.brand-core__text {
  opacity: 0.4;
  transform: scale(0.95);
  transition: all 0.4s ease;
}

/* Estado al hacer hover en el bloque */
.brand-core__inner:hover .brand-core__title,
.brand-core__inner:hover .brand-core__text {
  opacity: 1;
  transform: scale(1);
}


/* Transiciones suaves para todas las imágenes */
.brand-core__media img {
  transition: all 0.4s ease;
}

/* Flecha activa (hover) */
.brand-core__inner:hover .brand-core__media img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.6));
}

/* Solo blurea cuando ALGUNA tarjeta está en hover */
.brand-core.show-texts 
  .brand-core__row:has(.brand-core__inner:hover)
  .brand-core__inner:not(:hover) .brand-core__media img {
  filter: blur(5px) brightness(0.6);
  transform: scale(0.95);
  opacity: 0.6;
}




/*ANIMACIONES INICIALES*/


/* --- ESTADO INICIAL --- */
.brand-core__media img {
  opacity: 0;
  transform: translateX(0);           /* se redefine por clase/variable */
  transition: transform 0.7s ease, opacity 0.7s ease;
}

/* Textos ocultos al inicio */
.brand-core__title,
.brand-core__text {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* 1) Entra SOLO la flecha del medio */
.brand-core.is-visible .brand-core__inner:nth-child(2) .brand-core__media img {
  transform: translateX(0);
  opacity: 1;
}

/* Estado “pre-stage2” para los laterales: invisibles y desplazados desde el centro (JS setea --from-center) */
.brand-core.prep .brand-core__inner:not(:nth-child(2)) .brand-core__media img {
  transform: translateX(var(--from-center, 0)) scale(0.98);
  opacity: 0;
}

/* 2) Stage 2: los laterales viajan desde el centro a su lugar */
.brand-core.stage2 .brand-core__inner:not(:nth-child(2)) .brand-core__media img {
  transform: translateX(0) scale(1);
  opacity: 1;
}

/* 3) Mostrar textos después de las flechas */
.brand-core.show-texts .brand-core__title,
.brand-core.show-texts .brand-core__text {
  opacity: 0.4;                /* tu estado base para hover */
  transform: translateY(0) scale(0.95);
}

/* Stagger suave para laterales (opcional) */
.brand-core.stage2 .brand-core__inner:nth-child(1) .brand-core__media img { transition-delay: 0.05s; }
.brand-core.stage2 .brand-core__inner:nth-child(3) .brand-core__media img { transition-delay: 0.10s; }

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .brand-core__media img,
  .brand-core__title,
  .brand-core__text {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}



/* Textos: totalmente ocultos (luego quedarán en 0.4 y scale .95 como base) */
.brand-core__title,
.brand-core__text {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: transform 0.5s ease, opacity 0.5s ease;
}


/* Stagger de textos para que aparezcan después de cada flecha */
.brand-core.is-visible .brand-core__inner:nth-child(1) .brand-core__title,
.brand-core.is-visible .brand-core__inner:nth-child(1) .brand-core__text { transition-delay: 0.55s; }
.brand-core.is-visible .brand-core__inner:nth-child(2) .brand-core__title,
.brand-core.is-visible .brand-core__inner:nth-child(2) .brand-core__text { transition-delay: 0.65s; }
.brand-core.is-visible .brand-core__inner:nth-child(3) .brand-core__title,
.brand-core.is-visible .brand-core__inner:nth-child(3) .brand-core__text { transition-delay: 0.75s; }

/* Accesibilidad: si el usuario prefiere reducir movimiento, mostramos todo sin animar */
@media (prefers-reduced-motion: reduce) {
  .brand-core__media img,
  .brand-core__title,
  .brand-core__text {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* --- HOVER FINAL con prioridad sobre la intro --- */
/* Textos: solo activan el hover una vez que ya mostramos textos */
.brand-core.show-texts .brand-core__inner:hover .brand-core__title,
.brand-core.show-texts .brand-core__inner:hover .brand-core__text {
  opacity: 1;
  transform: scale(1);
}

/* Flecha activa (glow + scale) con prioridad tras stage2/show-texts */
.brand-core.show-texts .brand-core__inner:hover .brand-core__media img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.6));
}

/* === SYNC HOVER (pegar al final) === */
:root{
  --core-hover-dur: .45s;
  --core-hover-ease: cubic-bezier(.2,.65,.2,1);
}

/* Normalizamos transiciones base (sin delays) */
.brand-core__media img{
  transition:
    transform var(--core-hover-dur) var(--core-hover-ease),
    filter   var(--core-hover-dur) var(--core-hover-ease),
    opacity  var(--core-hover-dur) var(--core-hover-ease);
}

.brand-core__title,
.brand-core__text{
  transition:
    transform var(--core-hover-dur) var(--core-hover-ease),
    opacity  var(--core-hover-dur) var(--core-hover-ease);
}

/* Al hacer hover: forzamos 0 delay para que todo arranque a la vez */
.brand-core.show-texts .brand-core__inner:hover .brand-core__media img,
.brand-core.show-texts .brand-core__inner:hover .brand-core__title,
.brand-core.show-texts .brand-core__inner:hover .brand-core__text{
  transition-delay: 0s !important;
}

/* Estados de hover (imagen + textos sincronizados) */
.brand-core.show-texts .brand-core__inner:hover .brand-core__media img{
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255,255,255,.6));
}
.brand-core.show-texts .brand-core__inner:hover .brand-core__title,
.brand-core.show-texts .brand-core__inner:hover .brand-core__text{
  opacity: 1;
  transform: scale(1);
}


/* Suaviza la composición en GPU */
.brand-core__media img,
.brand-core__title,
.brand-core__text{
  will-change: transform, opacity, filter;
}

/* 2) Una vez que ya mostramos textos, anulamos cualquier delay para ambos sentidos (hover-in y hover-out) */
.brand-core.show-texts .brand-core__title,
.brand-core.show-texts .brand-core__text {
  transition-delay: 0s !important;
}


/* === INTRO LENTA + TEXTOS DESDE ARRIBA (PATCH) === */
:root{
  /* Tiempos más largos para la intro */
  --core-mid-dur: 0.6s;     /* flecha del medio */
  --core-side-dur: 0.6s;    /* flechas laterales */
  --core-text-dur: .85s;     /* títulos + párrafos */
  --core-ease: cubic-bezier(.2,.65,.2,1);
}

/* Flechas: transiciones más largas */
.brand-core__media img{
  transition:
    transform var(--core-mid-dur) var(--core-ease),
    opacity   var(--core-mid-dur) var(--core-ease);
}

/* Textos: ENTRAN DESDE ARRIBA con opacidad baja */
.brand-core__title,
.brand-core__text{
  /* estado inicial (ocultos arriba) */
  opacity: 0;
  transform: translateY(-14px) scale(0.95);
  transition:
    transform var(--core-text-dur) var(--core-ease),
    opacity   var(--core-text-dur) var(--core-ease);
}

/* 1) Solo la flecha del medio entra primero */
.brand-core.is-visible .brand-core__inner:nth-child(2) .brand-core__media img{
  transform: translateX(0);
  opacity: 1;
  transition-duration: var(--core-mid-dur);
}

/* 2) Laterales: viajan desde el centro hacia su lugar (duración mayor) */
.brand-core.stage2 .brand-core__inner:not(:nth-child(2)) .brand-core__media img{
  transform: translateX(0) scale(1);
  opacity: 1;
  transition-duration: var(--core-side-dur);
}

/* Pequeño stagger opcional para laterales (sutil) */
.brand-core.stage2 .brand-core__inner:nth-child(1) .brand-core__media img{ transition-delay: .06s; }
.brand-core.stage2 .brand-core__inner:nth-child(3) .brand-core__media img{ transition-delay: .12s; }

/* 3) Cuando mostramos textos: quedan en el estado base para hover */
.brand-core.show-texts .brand-core__title,
.brand-core.show-texts .brand-core__text{
  opacity: .4;
  transform: translateY(0) scale(.95);
  /* sin delay extra: el JS agrega .show-texts justo después de las flechas */
}

/* --- Mantener HOVER sincronizado y prioritario tras la intro --- */
:root{
  --core-hover-dur: .45s;
  --core-hover-ease: cubic-bezier(.2,.65,.2,1);
}

.brand-core.show-texts .brand-core__inner:hover .brand-core__media img,
.brand-core.show-texts .brand-core__inner:hover .brand-core__title,
.brand-core.show-texts .brand-core__inner:hover .brand-core__text{
  transition-duration: var(--core-hover-dur);
  transition-timing-function: var(--core-hover-ease);
  transition-delay: 0s !important; /* elimina delays heredados */
}

.brand-core.show-texts .brand-core__inner:hover .brand-core__media img{
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255,255,255,.6));
}
.brand-core.show-texts .brand-core__inner:hover .brand-core__title,
.brand-core.show-texts .brand-core__inner:hover .brand-core__text{
  opacity: 1;
  transform: scale(1);
}


/* === BLOQUEO DE INTERACCIÓN DURANTE LA ANIMACIÓN === */

/* Mientras no terminó la animación (no tiene .show-texts), desactiva el hover */
.brand-core {
  pointer-events: none;
}

/* Cuando termina todo (show-texts agregado por JS), se habilita el hover */
.brand-core.show-texts {
  pointer-events: auto;
}


.persons{
  height: 190vh;
  color: var(--background);
}

.person{
  
  height: 85vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

#car {
  padding-top: 50px;
}


.person-info h3{
  font-weight: 300;
}
.person-info h2{
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 70px;
}
.person-info p{
  font-weight: 300;
}

/* ===== SKILLS (pills + grilla) ===== */
.person .skills{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
  gap: 12px 18px;               /* fila / columna */
  justify-content: center;      /* centra toda la grilla */
  align-items: center;
  margin-top: 28px;
}

/* Soporta ambos casos de tu HTML:
   - .skills > span
   - .skills > .skill > span   */
.person .skills > *{
  display: flex;                /* para que el span se ajuste bien dentro */
}
.person .skills span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  border: 1.8px solid rgba(255,255,255,0.9);
  border-radius: 999px;         /* pill */
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .6px;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),         /* highlight interior */
    0 2px 10px rgba(0,0,0,0.25);                  /* sombra sutil */
  white-space: nowrap;          /* evita saltos raros */
}

/* hover/focus opcional (look sutil) */
.person .skills span:hover,
.person .skills span:focus{
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 4px 14px rgba(0,0,0,0.35);
}

/* Responsivo cómodo */
@media (max-width: 900px){
  .person .skills{
    grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    gap: 10px 14px;
  }
}
@media (max-width: 520px){
  .person .skills{
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 por fila */
    justify-content: center;
  }
  .person .skills span{
    width: 100%;                /* que la pill llene su celda */
  }
}

/* === Skills centradas, última fila incluida === */
.person .skills{
  display: flex;              /* en lugar de grid */
  flex-wrap: wrap;            /* salta de línea */
  gap: 12px 18px;             /* fila / columna */
  justify-content: center;    /* centra TODAS las filas */
  align-items: center;
}

/* Soporta .skills > span y .skills > .skill > span */
.person .skills > *{
  display: flex;
}
.person .skills span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 22px;
  min-width: 180px;           /* ancho base para que “rime” */
  border: 1.8px solid rgba(255,255,255,.9);
  border-radius: 999px;
  letter-spacing: .6px;
  white-space: nowrap;
  border-radius: 999px;         /* pill */
  color: #fff;
  font-weight: 800;
  font-size: clamp(12px, 1.2vw, 14px);
  white-space: nowrap;          /* evita saltos raros */
}

/* Ajustes responsive */
@media (max-width: 520px){
  .person .skills{
    gap: 10px 12px;
  }
  .person .skills span{
    min-width: 150px;
  }
}

.person#car .img-container{
  margin-right: 30px;
}

/* ===== Degradado "card azul" en hover (versión final) ===== */
:root{
  --g-blue-1: #061324;   /* base muy oscura */
  --g-blue-2: #0b1a34;   /* azul profundo */
  --g-blue-3: #0b2a66;   /* azul medio */
  --g-blue-4: #3c82ff;   /* highlight (si querés usarlo luego) */
}

/* Contenedor .info con look de “tarjeta” */
.infos .info{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(60,130,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 30px rgba(0,0,0,.35);
}
.infos .info > *{
  position: relative;
  z-index: 1; /* contenido por arriba del ::before */
}

/* Capa azul que aparece en hover */
.infos .info::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background:
    /* highlight radial arriba-derecha */
    radial-gradient(120% 150% at 85% 5%,
      rgba(60,130,255,.55) 0%,
      rgba(18,48,120,.45) 30%,
      rgba(6,14,30,0) 62%
    ),
    /* sombra radial abajo-izquierda */
    radial-gradient(140% 120% at 0% 100%,
      rgba(0,0,0,.55) 0%,
      rgba(0,0,0,0) 60%
    ),
    /* base en diagonal */
    linear-gradient(135deg,
      var(--g-blue-1) 0%,
      var(--g-blue-2) 35%,
      var(--g-blue-3) 60%,
      #050b16 100%
    );
  opacity: 0;
  transform: translateX(-2%);            /* leve slide-in */
  transition: opacity .35s ease, transform .6s ease;
  pointer-events: none;
}
.infos .info:hover::before{
  opacity: 1;
  transform: translateX(0);
}

/* Texto un toque más claro al hover */
.infos .info:hover h2{
  color: #e9f2ff;
}

/* ===== PERSON centrar imagen < 900px ===== */
@media (max-width: 900px) {
  .person {
    flex-direction: column;
    align-items: center;    /* centra hijos en eje horizontal */
    justify-content: center;
    gap: 2rem;
    height: auto;
    text-align: center;
    padding: 50px 0 0 0;    /* si querés mantener el padding-top del #car */
  }

  /* 💥 neutraliza márgenes y posiciones heredadas */
  .person .img-container,
  #car.person .img-container {
    margin: 0 auto !important;          /* centra por margen */
    align-self: center !important;      /* por si el padre usa otro align */
    display: block;                     /* evita rarezas de flex anidado */
    position: relative !important;      /* quita absolute heredado */
    left: auto !important;
    right: auto !important;
    transform: none !important;         /* por si había translateX */
    width: min(60%, 300px);             /* tamaño controlado */
  }

  .person .img-container img {
    display: block;                     /* saca el gap inline */
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Quita el empuje de desktop */
  #car .img-container { margin-right: 0 !important; }

  .person .person-info {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .info p {
    display: block !important;
    opacity: 1;
    transform: none;
    animation: none;
    margin-top: 0.5rem;
    color: gray;
    transition: color 0.3s ease;
  }

  .info {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1rem;
  }

  .info:hover {
    background: rgba(255, 255, 255, 0.05);
    height: auto; 
  }
  
.info p {
  display: block; 
  color: rgba(255, 255, 255, 0.251);
  transition: color 0.3s ease;
}

.info:hover p {
  color: rgba(255, 255, 255, 1); 
}

}

@media (max-width: 900px) {
  .brand-core__row {
    flex-wrap: wrap;
    gap: 3rem;
  }
  .brand-core__inner {
    max-width: 90%;
  }
}

/* Responsive: en pantallas chicas se apilan */
@media (max-width: 707px) {
  .brand-core__row {
    flex-direction: column;
    align-items: center;
  }
}

/* Centrar y evitar desbordes de our-story + timeline */
.our-story { 
  width: 100%;
  margin-inline: auto;
}

.timeline{
  width: 100%;
  max-width: 400px;     /* antes: min(400px, 90vw) */
  margin-inline: auto;  /* fuerza centrado */
}

/* Opcional: achicar padding del wrapper solo en mobile chico */
@media (max-width: 505px){
  .wrapper{ padding: 0 1rem; } /* si ves que aún queda “corrida”, activalo */
}

.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 .2s ease, box-shadow .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;
  }
}