/* Expo Potosí Industrial 2027 — landing
   Medidas de escritorio tomadas del diseño original a 1920 px (webflash.pdf / web_final.jpg). */

:root {
  --verde: #006c29;
  --verde-oscuro: #004f22;
  --verde-b2b: #204f2b;
  --verde-franja: #22512d;
  --lima: #7ac02d;
  --rosa: #e62e82;
  --rosa-boton: #d63f84;
  --rosa-onda: #ba1f7f;
  --morado: #972c8c;
  --morado-nav: #7d2b8a;
  --naranja-nav: #df912f;
  --azul-nav: #64a7de;
  --morado-oscuro: #342454;
  --rojo: #dd1221;
  --gris-fondo: #f5f7f4;
  --texto: #3d3d3d;
  --texto-suave: #999;
  --borde: #c9cdd1;

  --contenedor: 1660px;
  --gutter: clamp(16px, 5vw, 40px);
  --radio: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.5;
  color: var(--texto);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.contenedor {
  width: 100%;
  max-width: calc(var(--contenedor) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.antetitulo {
  color: var(--rosa);
  font-weight: 800;
  font-size: clamp(13px, .97vw, 18.6px);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #3d8a2c url("../img/hero-bg-movil.webp") center bottom / cover no-repeat;
  color: #fff;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  background: var(--morado-oscuro);
  border-bottom: 6px solid var(--rosa-onda);
}

.nav__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  min-height: 52px;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .01em;
  color: #fff;
  transition: filter .2s;
}
.nav__item:hover { filter: brightness(1.08); }
.nav__item.is-active { font-weight: 700; }
.nav__item--citas { background: var(--morado-nav); }
.nav__item--piso  { background: var(--naranja-nav); }
.nav__item--conf  { background: var(--azul-nav); }
.nav__item--fill  { display: none; }

/* ---- móvil: flujo vertical ---- */
.hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px var(--gutter) 0;
}

.hero__lema {
  width: min(100%, 560px);
  margin-left: -4%;
}

.hero__marcas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 14px;
  width: min(100%, 520px);
  margin-top: 22px;
}
.hero__expo { flex: 0 0 auto; width: min(80%, 340px); margin-inline: 10%; }
.hero__div--1 { display: none; }
.hero__anio { flex: 0 0 auto; width: min(40%, 170px); }
.hero__div--2 { flex: none; align-self: stretch; width: 3px; background: var(--rosa-onda); border-radius: 2px; }
.hero__centro { flex: 0 0 auto; width: min(45%, 195px); }

.hero__personas {
  width: min(118%, 640px);
  max-width: none;
  margin-top: 16px;
  pointer-events: none;
}

.hero__fecha {
  position: relative;
  z-index: 2;
  width: calc(100% + 2 * var(--gutter));
  margin-top: -2px;
  padding: 16px var(--gutter);
  background: #361f55;
  font-size: clamp(17px, 5vw, 26px);
  font-weight: 800;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.aliados {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 26px;
}
.aliados img { height: 32px; width: auto; }
.aliados .aliado--sedeco { height: 36px; }
.aliados .aliado--genera { height: 34px; }

.hero__aliados {
  width: calc(100% + 2 * var(--gutter));
  padding: 24px var(--gutter) 28px;
  background: rgba(16, 52, 20, .55);
}

/* ---- escritorio: lienzo proporcional 1920×657, igual al diseño ---- */
@media (min-width: 1024px) {
  .hero {
    aspect-ratio: 1920 / 657;
    container-type: inline-size;
    background: #2f6b22 url("../img/hero-bg.webp") 0 0 / 100% 100% no-repeat;
  }

  .nav {
    position: absolute;
    inset: 0 0 auto 0;
    height: 3.854cqw;           /* 74 px a 1920 */
    border-bottom: 0;
    background: transparent;
  }
  .nav__item {
    flex: none;
    min-height: 0;
    padding: 0;
    font-size: 1.76cqw;         /* 33.8 px */
    letter-spacing: -.01em;
  }
  .nav__item--citas { width: 30.36%; padding-left: 3%; }
  .nav__item--piso  { width: 23.02%; }
  .nav__item--conf  { width: 18.65%; }
  .nav__item--fill  { display: block; flex: 1; background: var(--morado-oscuro); }

  .hero__stage { position: absolute; inset: 0; display: block; padding: 0; }
  .hero__stage > * { position: absolute; margin: 0; }

  .hero__lema { left: .18%; top: 34.17%; width: 45%; }

  .hero__marcas { display: contents; }
  .hero__marcas > * { position: absolute; margin: 0; }
  .hero__expo   { left: 5.94%;  top: 56.9%;  width: 19.38%; }
  .hero__anio   { left: 27.6%;  top: 60.6%;  width: 10.26%; max-width: none; }
  .hero__centro { left: 41.41%; top: 54.8%;  width: 12.08%; max-width: none; }
  .hero__div    { display: block; top: 56.47%; width: .21%; height: 20.09%; min-height: 0; background: var(--rosa-onda); border-radius: 0; }
  .hero__div--1 { left: 26.04%; }
  .hero__div--2 { left: 39.27%; }

  .hero__personas { left: 54.17%; top: 0; width: 45.83%; z-index: 4; }

  .hero__fecha {
    left: 56.46%; top: 82.19%;
    width: 43.54%; height: 12.48%;
    z-index: 5;
    display: flex; align-items: center;
    padding: 0 0 0 2.4cqw;
    border-radius: 1.1cqw 0 0 1.1cqw;
    font-size: 2.16cqw;
    text-align: left;
  }

  .hero__aliados {
    left: 3.33%; top: 85.39%;
    width: 50.05%; height: 7.76%;
    padding: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    background: none;
  }
  .hero__aliados li { height: 100%; display: flex; align-items: center; }
  .hero__aliados img, .hero__aliados .aliado--sedeco, .hero__aliados .aliado--genera { height: auto; }
  .hero__aliados .aliado--sedeco   { width: 13.8cqw; }
  .hero__aliados .aliado--genera   { width: 8.28cqw; }
  .hero__aliados .aliado--imatch   { width: 9.17cqw; }
  .hero__aliados .aliado--bajio    { width: 6.25cqw; }
  .hero__aliados .aliado--magazine { width: 8.44cqw; }
}

/* =========================================================
   RESULTADOS 2026
   ========================================================= */
.resultados { padding: clamp(36px, 2.35vw, 45px) 0 28px; }

.resultados__grid {
  display: grid;
  gap: 40px;
}

.resultados__titulo {
  margin-top: 2px;
  color: var(--verde);
  font-weight: 800;
  font-size: clamp(32px, 2.74vw, 52.6px);
  line-height: 1.2;
  letter-spacing: -.005em;
}

.resultados__nota {
  margin-top: clamp(10px, 1.1vw, 22px);
  color: var(--texto-suave);
  font-weight: 600;
  font-size: clamp(12px, .68vw, 13px);
}

.cifras {
  --ih: clamp(48px, 5.8vw, 111px);   /* alto del ícono más alto (citas) */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: clamp(12px, 3.3vw, 64px);
}

.cifra {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cifra__icono {
  height: var(--ih);
  object-fit: contain;
  object-position: center bottom;
  margin-bottom: 6px;
}
/* anchos proporcionales al diseño: así cada ícono conserva su tamaño relativo */
.cifra__icono--visitas  { width: calc(var(--ih) * 124 / 111); }
.cifra__icono--citas    { width: calc(var(--ih) * 113 / 111); }
.cifra__icono--empresas { width: calc(var(--ih) * 99 / 111); height: calc(var(--ih) * .875); margin-top: calc(var(--ih) * .125); }

.cifra__numero {
  width: 100%;
  padding-top: clamp(4px, .3vw, 4px);
  border-top: clamp(4px, .36vw, 7px) solid currentColor;
  font-weight: 800;
  font-size: clamp(30px, 2.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.cifra__etiqueta {
  margin-top: -2px;
  font-weight: 800;
  font-size: clamp(11.5px, .97vw, 18.6px);
  letter-spacing: .04em;
}
.cifra--morado { color: var(--morado); }
.cifra--rosa   { color: var(--rosa); }
.cifra--verde  { color: var(--verde); }

.clientes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
  margin-top: clamp(36px, 3vw, 58px);
}
.clientes img { width: auto; }
.cliente--dayco    { height: clamp(18px, 1.46vw, 28px); }
.cliente--daikin   { height: clamp(24px, 2.14vw, 41px); }
.cliente--gm       { height: clamp(44px, 4.48vw, 86px); }
.cliente--agc      { height: clamp(32px, 3.02vw, 58px); }
.cliente--impro    { height: clamp(26px, 2.45vw, 47px); }
.cliente--target   { height: clamp(32px, 2.86vw, 55px); }
.cliente--automann { height: clamp(30px, 3.02vw, 58px); }

@media (min-width: 900px) {
  .resultados__grid {
    grid-template-columns: minmax(0, 38.2%) minmax(0, 56.2%);
    align-items: end;
    gap: 0;
  }
  .resultados__intro { padding-bottom: clamp(10px, 1.2vw, 22px); }
  .cifras { max-width: 932px; }
  .clientes { justify-content: space-between; flex-wrap: nowrap; gap: 24px; }
}

@media (max-width: 599px) {
  .cifra__etiqueta { letter-spacing: .01em; }
  .clientes { gap: 22px 28px; }
}

/* =========================================================
   ¿CÓMO QUIERES PARTICIPAR?
   ========================================================= */
.participa {
  background: var(--gris-fondo);
  padding: clamp(36px, 1.5vw, 30px) 0 clamp(56px, 4.4vw, 85px);
}

.participa__titulo {
  margin-left: clamp(0px, 1.46vw, 28px);
  color: var(--verde-oscuro);
  font-weight: 800;
  font-size: clamp(26px, 1.96vw, 37.6px);
  line-height: 1.3;
  letter-spacing: -.02em;
}

.tarjetas {
  display: grid;
  gap: clamp(16px, 1.4vw, 27px);
  margin-top: clamp(24px, 1.9vw, 37px);
}

.tarjeta {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 1.98vw, 38px) clamp(24px, 1.98vw, 38px) clamp(28px, 2.1vw, 40px);
  background: #fff;
  border-radius: var(--radio);
  box-shadow: 0 2px 10px rgba(20, 40, 25, .05);
}

.tarjeta__icono {
  display: grid;
  place-items: center;
  width: clamp(56px, 3.65vw, 70px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
}
.tarjeta__icono svg {
  width: 42%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tarjeta__titulo {
  margin-top: clamp(14px, 1.15vw, 22px);
  font-weight: 800;
  font-size: clamp(22px, 1.6vw, 30.5px);
  line-height: 1.25;
}

.tarjeta p {
  margin-top: clamp(10px, .9vw, 17px);
  font-size: clamp(15.5px, 1.07vw, 20.5px);
  line-height: 1.55;
}

.tarjeta__link {
  margin-top: clamp(12px, 1vw, 20px);
  align-self: flex-start;
  font-weight: 800;
  font-size: clamp(15.5px, 1.04vw, 20px);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.tarjeta__link:hover { text-decoration-thickness: 3px; }

.tarjeta--verde  .tarjeta__icono { background: var(--verde); }
.tarjeta--verde  .tarjeta__titulo, .tarjeta--verde  .tarjeta__link { color: var(--verde); }
.tarjeta--rosa   .tarjeta__icono { background: var(--rosa); }
.tarjeta--rosa   .tarjeta__titulo, .tarjeta--rosa   .tarjeta__link { color: var(--rosa); }
.tarjeta--morado .tarjeta__icono { background: var(--morado); }
.tarjeta--morado .tarjeta__titulo, .tarjeta--morado .tarjeta__link { color: var(--morado); }

@media (min-width: 860px) {
  .tarjetas { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   ENCUENTROS B2B
   ========================================================= */
.b2b {
  background: var(--verde-b2b) url("../img/b2b-bg.webp") center / cover no-repeat;
  color: #fff;
  padding: clamp(48px, 4.5vw, 86px) 0 clamp(40px, 1.6vw, 31px);
}

.b2b__grid { display: grid; gap: 32px; }

.b2b__titulo {
  font-weight: 800;
  font-size: clamp(28px, 2.36vw, 45px);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.b2b__titulo img {
  width: clamp(150px, 11.9vw, 228px);
  margin-top: clamp(6px, .55vw, 10px);
}

.b2b__intro p {
  margin-top: clamp(8px, .4vw, 8px);
  max-width: 640px;
  font-size: clamp(15.5px, 1.07vw, 20.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
}

.pasos {
  display: grid;
  gap: clamp(12px, 1.1vw, 21px);
}

.paso {
  padding: clamp(20px, 1.4vw, 27px) clamp(20px, 1.4vw, 27px) clamp(22px, 1.6vw, 30px);
  background: rgba(255, 255, 255, .065);
  border-radius: 10px;
}
.paso__num {
  display: grid;
  place-items: center;
  width: clamp(36px, 2.45vw, 47px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lima);
  color: var(--verde-b2b);
  font-weight: 800;
  font-size: clamp(15px, 1vw, 19px);
}
.paso__titulo {
  margin-top: clamp(12px, 1.05vw, 20px);
  font-weight: 800;
  font-size: clamp(17px, 1.17vw, 22.5px);
  line-height: 1.3;
}
.paso p {
  margin-top: 2px;
  font-size: clamp(14.5px, .97vw, 18.6px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
}

@media (min-width: 640px) and (max-width: 1099px) {
  .pasos { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .b2b__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 60%);
    gap: clamp(32px, 2.4vw, 46px);
    align-items: start;
  }
  .b2b__intro { padding-top: clamp(12px, 1.2vw, 22px); }
  .pasos { grid-template-columns: repeat(3, 1fr); min-height: clamp(220px, 13.5vw, 259px); }
}

/* franja roja con logos */
.franja-roja {
  background: var(--rojo) url("../img/franja-roja-bg.webp") center / cover no-repeat;
  padding: clamp(28px, 2.1vw, 40px) 0;
}
.franja-roja__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5.8vw, 112px);
}
.franja-roja__logos img:first-child { width: clamp(150px, 24.4vw, 468px); }
.franja-roja__logos img:last-child  { width: clamp(110px, 13.75vw, 264px); }
.franja-roja__div {
  align-self: stretch;
  width: clamp(2px, .26vw, 5px);
  min-height: 56px;
  background: #fff;
}

.franja-verde {
  height: clamp(20px, 2.3vw, 45px);
  background: var(--verde-franja) url("../img/b2b-bg.webp") center / cover;
}

@media (max-width: 479px) {
  .franja-roja__logos { gap: 16px; }
}

/* =========================================================
   REGISTRO
   ========================================================= */
.registro { padding: clamp(48px, 4.6vw, 88px) 0 clamp(56px, 4.7vw, 90px); }

.registro__grid { display: grid; gap: 32px; }

.registro__titulo {
  margin-top: clamp(4px, .4vw, 8px);
  color: var(--verde);
  font-weight: 800;
  font-size: clamp(28px, 2.36vw, 45px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.registro__intro > p:last-child {
  margin-top: clamp(14px, 1.3vw, 25px);
  max-width: 660px;
  font-size: clamp(15.5px, 1.07vw, 20.5px);
  line-height: 1.6;
}

.formulario {
  display: grid;
  gap: 18px 20px;
  align-content: start;
}

.campo label {
  display: block;
  margin-bottom: clamp(6px, .55vw, 10px);
  color: #222;
  font-weight: 700;
  font-size: clamp(14px, .94vw, 18px);
}

.campo input,
.campo select {
  width: 100%;
  height: clamp(50px, 3.33vw, 64px);
  padding: 0 18px;
  border: 2px solid var(--borde);
  border-radius: 9px;
  background: #fff;
  font: inherit;
  font-size: clamp(16px, 1.07vw, 20.5px);
  color: #222;
  transition: border-color .15s, box-shadow .15s;
}
.campo select {
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23222' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center / 13px no-repeat;
}
.campo input:focus,
.campo select:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(0, 108, 41, .15);
}
.campo.is-error input { border-color: var(--rojo); }

.aviso {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, .94vw, 18px);
  cursor: pointer;
}
.aviso input {
  flex: none;
  width: 22px; height: 22px;
  margin: 0;
  accent-color: var(--rosa-boton);
}
.aviso a { color: var(--rosa); text-underline-offset: 2px; }
.aviso.is-error span { color: var(--rojo); }

.boton {
  justify-self: start;
  min-width: min(100%, 381px);
  height: clamp(54px, 3.54vw, 68px);
  padding: 0 32px;
  border: 0;
  border-radius: 9px;
  background: var(--rosa-boton);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: clamp(16px, 1.1vw, 21px);
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.boton:hover { background: #c3306f; }
.boton:active { transform: translateY(1px); }
.boton:disabled { opacity: .6; cursor: wait; }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulario__estado {
  font-weight: 600;
  font-size: 15px;
}
.formulario__estado:empty { display: none; }
.formulario__estado.is-ok { color: var(--verde); }
.formulario__estado.is-error { color: var(--rojo); }

@media (min-width: 640px) {
  .formulario { grid-template-columns: 1fr 1fr; }
  .aviso, .boton, .formulario__estado { grid-column: 1 / -1; }
  .aviso { margin-top: 2px; }
}
@media (max-width: 639px) {
  .boton { width: 100%; }
}
@media (min-width: 1000px) {
  .registro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
    gap: clamp(32px, 1.9vw, 36px);
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #2d5a1e url("../img/footer-bg.webp") center / cover no-repeat;
  padding: clamp(48px, 5vw, 96px) var(--gutter) 0;
  color: #fff;
}

/* datos de contacto (mismos que el footer de la página 2026) */
.footer__contacto {
  display: grid;
  gap: 32px;
  padding-inline: 0;
  margin-bottom: clamp(40px, 4.2vw, 80px);
  text-align: center;
}
.footer__bloque { display: flex; flex-direction: column; align-items: center; }
.footer__icono {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--lima);
  color: var(--verde-b2b);
}
.footer__icono svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__bloque h2 {
  margin-bottom: 6px;
  font-weight: 800;
  font-size: clamp(14px, .94vw, 18px);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer__bloque p,
.footer__bloque address {
  font-style: normal;
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}
.footer__bloque a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  overflow-wrap: anywhere;
}
.footer__bloque a:hover { border-bottom-color: #fff; }
.footer__bloque address a { border-bottom: 0; }
.footer__bloque address a:hover { text-decoration: underline; }

.footer__legal {
  margin-top: clamp(40px, 4.2vw, 80px);
  margin-inline: calc(-1 * var(--gutter));
  padding: 18px var(--gutter);
  background: rgba(0, 0, 0, .22);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 255, 255, .8);
}
.footer__legal a { color: #fff; }

@media (min-width: 760px) {
  .footer__contacto { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer__bloque + .footer__bloque { border-left: 1px solid rgba(255, 255, 255, .2); }
}
@media (min-width: 1024px) {
  .footer__aliados { gap: 0 clamp(20px, 1.6vw, 30px); }
  .footer__aliados img { height: auto; }
  .footer__aliados .aliado--sedeco   { width: clamp(180px, 13.85vw, 266px); }
  .footer__aliados .aliado--genera   { width: clamp(108px, 8.28vw, 159px); }
  .footer__aliados .aliado--imatch   { width: clamp(120px, 9.17vw, 176px); }
  .footer__aliados .aliado--bajio    { width: clamp(82px, 6.25vw, 120px); }
  .footer__aliados .aliado--magazine { width: clamp(110px, 8.44vw, 162px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
