/* ─────────────────────────────────────────────────────────────────
   IMMAC — PÁGINAS INTERIORES (Servicios, Aprende sobre mezclas, I+D+I)
   Usa los mismos tokens de style.css: texto negro/blanco, acentos del logo.
───────────────────────────────────────────────────────────────── */
body.pg {
  background: #F4F6F8;
  color: #0E1318;
  overflow-x: hidden;
}

.pg main:focus { outline: none; }


/* ── Hero ── */
.pg-hero {
  position: relative;
  min-height: max(560px, 78vh);
  display: flex;
  align-items: flex-end;
  padding: 150px 0 clamp(72px, 10vh, 120px);
  color: #fff;
  background: #05101C;
  overflow: hidden;
  isolation: isolate;
}

.pg-hero__media,
.pg-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.pg-hero__media img {
  animation: pg-hero-zoom 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}
/* El oscurecimiento inicial es una capa negra que se desvanece (antes: filter: brightness, costoso) */
.pg-hero__media::after { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; animation: pg-hero-dim 1.2s cubic-bezier(0.23, 1, 0.32, 1) both; pointer-events: none; }
@keyframes pg-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes pg-hero-dim { from { opacity: 0.3; } to { opacity: 0; } }

.pg-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.9) 0%, rgba(3, 10, 18, 0.72) 38%, rgba(3, 10, 18, 0.2) 75%, rgba(3, 10, 18, 0.1) 100%),
    linear-gradient(180deg, rgba(3, 10, 18, 0.7) 0%, rgba(3, 10, 18, 0) 26%, rgba(3, 10, 18, 0) 62%, rgba(3, 10, 18, 0.78) 100%);
}

.pg-hero__content > * {
  animation: pg-rise 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.pg-hero__content > :nth-child(2) { animation-delay: 60ms; }
.pg-hero__content > :nth-child(3) { animation-delay: 120ms; }
.pg-hero__content > :nth-child(4) { animation-delay: 180ms; }

/* el título se lee desde el primer instante (entra al 40 % y sube): el contenido principal no espera a la animación */
@keyframes pg-rise {
  from { opacity: 0.4; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.pg-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 12px rgba(63, 180, 230, 0.8);
}

.pg-hero__title {
  max-width: 820px;
  font-size: clamp(36px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
}

.pg-hero__title span { color: var(--accent-on-dark); }

.pg-hero__lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.pg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.pg-chip {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}


.pg-chip:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.9);
  transform: translateY(-2px);
}
@media (hover: hover) and (pointer: fine) {
  .pg-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.9);
    transform: translateY(-2px);
  }
}

/* ── Secciones ── */
.pg-section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  scroll-margin-top: 40px;
}

.pg-section--alt { background: #ECEFF3; }

.pg-section--dark {
  color: #fff;
  background: radial-gradient(circle at 85% 10%, rgba(63, 180, 230, 0.16), transparent 55%), linear-gradient(160deg, #04182C 0%, #071F38 55%, #0A2747 100%);
}

.pg-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.pg-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-on-light);
  background: rgba(63, 180, 230, 0.1);
  border: 1px solid rgba(10, 95, 154, 0.35);
}

.pg-kicker--dark {
  color: var(--accent-on-dark);
  background: rgba(63, 180, 230, 0.1);
  border-color: rgba(63, 180, 230, 0.4);
}

.pg-h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0E1318;
}

.pg-h2 span { color: var(--accent-on-light); }
.pg-h2--dark { color: #fff; }
.pg-h2--dark span { color: var(--accent-on-dark); }

.pg-desc {
  margin-top: 18px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
  color: #4A5568;
}

.pg-desc--dark { color: rgba(255, 255, 255, 0.8); }

.pg-h3 {
  margin: clamp(48px, 6vw, 72px) 0 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4A5568;
}

/* ── Rejillas y tarjetas ── */
.pg-grid { display: grid; gap: 20px; }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pg-card,
.pg-machine,
.pg-article,
.pg-tech {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(14, 19, 24, 0.08);
  box-shadow: 0 1px 2px rgba(14, 19, 24, 0.04), 0 18px 40px -28px rgba(14, 19, 24, 0.3);
  transition: translate 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease, border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pg-card:hover,
.pg-machine:hover,
.pg-article:hover,
.pg-tech:hover {
    translate: 0 -4px;
    border-color: rgba(10, 95, 154, 0.3);
    box-shadow: 0 1px 2px rgba(14, 19, 24, 0.04), 0 28px 50px -26px rgba(10, 60, 110, 0.35);
  }
}

.pg-card__tag,
.pg-article__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-on-light);
}

.pg-card__title,
.pg-machine__title,
.pg-tech__title {
  margin: 10px 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0E1318;
}

.pg-card__text,
.pg-machine__text,
.pg-tech__text,
.pg-article__text {
  font-size: 15px;
  line-height: 1.65;
  color: #4A5568;
}

.pg-tags,
.pg-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.pg-tags li,
.pg-models li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #134371;
  background: rgba(63, 180, 230, 0.12);
}

.pg-models li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #0E1318;
  background: #F1F3F6;
  border: 1px solid rgba(14, 19, 24, 0.08);
}

.pg-machine__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-on-light);
}

.pg-machine__title { font-size: 19px; }

/* Accesos al inicio (catálogo, planta, calculadora) */
.pg-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pg-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 56px 22px 24px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(150deg, #0A2747 0%, #0A5F9A 100%);
  overflow: hidden;
  transition: translate 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}

.pg-link-card span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.pg-link-card strong { font-size: 17px; font-weight: 700; line-height: 1.3; }

.pg-link-card svg {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}


.pg-link-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -24px rgba(10, 95, 154, 0.75);
}
@media (hover: hover) and (pointer: fine) {
  .pg-link-card:hover {
    translate: 0 -3px;
    box-shadow: 0 24px 44px -24px rgba(10, 95, 154, 0.75);
  }
}

@media (hover: hover) and (pointer: fine) {
  .pg-link-card:hover svg { transform: translate(4px, -50%); }
}

/* Dos columnas: texto + lista */
.pg-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.pg-split--center { align-items: center; }

.pg-figure {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px -30px rgba(0, 0, 0, 0.45);
}

.pg-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pg-steps { list-style: none; display: grid; gap: 14px; }

.pg-step {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(14, 19, 24, 0.08);
}

.pg-step__icon,
.pg-tech__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #0A5F9A;
  background: rgba(63, 180, 230, 0.12);
}

.pg-step__title { font-size: 18px; font-weight: 700; color: #0E1318; }
.pg-step__text { margin-top: 6px; font-size: 15px; line-height: 1.6; color: #4A5568; }

/* ── Guía de selección (Aprende) ── */
.pg-guide {
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(14, 19, 24, 0.08);
  box-shadow: 0 30px 60px -40px rgba(14, 19, 24, 0.35);
}

.pg-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: #F1F3F6;
  overflow-x: auto;
  scrollbar-width: none;
}

.pg-tabs::-webkit-scrollbar { display: none; }

.pg-tab {
  flex: none;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #4A5568;
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pg-tab:hover { color: #0E1318; }
}

.pg-tab[aria-selected="true"] {
  color: #fff;
  background: #0A5F9A;
  box-shadow: 0 8px 18px -10px rgba(10, 95, 154, 0.9);
}

.pg-tab:focus-visible,
.pg-tabpanel:focus-visible {
  outline: 2px solid #0A5F9A;
  outline-offset: 2px;
}

.pg-tabpanel { padding: 22px 4px 4px; }
.pg-tabpanel:not([hidden]) { animation: pg-tab-in 180ms cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes pg-tab-in { from { opacity: 0; transform: translateY(6px); } }

.pg-tabpanel__sub { margin-bottom: 18px; font-size: 16px; color: #4A5568; }

.pg-recs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pg-rec {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #F7F8FA;
  border: 1px solid rgba(14, 19, 24, 0.08);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}


.pg-rec:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px -28px rgba(10, 60, 110, 0.45);
}
@media (hover: hover) and (pointer: fine) {
  .pg-rec:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 46px -28px rgba(10, 60, 110, 0.45);
  }
}

.pg-rec__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }

.pg-rec__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); /* zoom de foto grande: algo más lento que la UI */
}

@media (hover: hover) and (pointer: fine) {
  .pg-rec:hover .pg-rec__img img { transform: scale(1.05); }
}

.pg-rec__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }

.pg-rec__num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent-on-light); }
.pg-rec__title { font-size: 20px; font-weight: 800; color: #0E1318; }
.pg-rec__text { font-size: 15px; line-height: 1.55; color: #4A5568; }

.pg-rec__go,
.pg-article__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-on-light);
}

/* Glosario */
.pg-glossary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(14, 19, 24, 0.1);
  border: 1px solid rgba(14, 19, 24, 0.1);
}

.pg-term { padding: 24px; background: #fff; }
.pg-term dt { font-size: 17px; font-weight: 800; color: #0E1318; }
.pg-term dt::before { content: ''; display: block; width: 22px; height: 3px; margin-bottom: 14px; border-radius: 2px; background: #3FB4E6; }
.pg-term dd { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #4A5568; }

/* Artículos */
.pg-article { display: flex; flex-direction: column; }
.pg-article__title { margin: 12px 0 10px; font-size: 20px; font-weight: 800; line-height: 1.28; }

.pg-article__title a { color: #0E1318; text-decoration: none; }
.pg-article__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pg-article__title a:focus-visible { outline: none; }
.pg-article:focus-within { outline: 2px solid #0A5F9A; outline-offset: 3px; }

.pg-article__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 19, 24, 0.08);
  font-size: 13px;
  color: #5A6778;
}

.pg-article__text { margin-bottom: 18px; }
.pg-article__go { margin: 0; padding: 0; flex: none; }

/* ── I+D+I ── */
.pg-process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}

.pg-process__item {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(14, 19, 24, 0.08);
}

.pg-process__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px;
  right: -21px;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #3FB4E6, rgba(63, 180, 230, 0));
}

.pg-process__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #0A5F9A;
  box-shadow: 0 0 0 6px rgba(63, 180, 230, 0.15);
}

.pg-process__title { margin: 18px 0 8px; font-size: 19px; font-weight: 800; color: #0E1318; }
.pg-process__text { font-size: 15px; line-height: 1.6; color: #4A5568; }

.pg-pillars {
  margin-top: 40px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0E1318;
}

.pg-pillars strong { color: var(--accent-on-light); }

.pg-free { list-style: none; display: grid; gap: 12px; }

.pg-free li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pg-free__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #0B1A2B;
  background: #B6CD20;
}

.pg-tech__icon { margin-bottom: 18px; }
.pg-tech__title { font-size: 19px; }

.pg-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-on-light);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .pg-more:hover svg { transform: translateX(4px); }
}
.pg-more svg { transition: transform 200ms ease; }

/* ── Botones ── */
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: translate 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease, background 200ms ease;
}

.pg-btn--light { color: #0B1A2B; background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .pg-btn--light:hover { translate: 0 -2px; box-shadow: 0 18px 36px -18px rgba(63, 180, 230, 0.9); }
}
.pg-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
@media (hover: hover) and (pointer: fine) {
  .pg-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
}
.pg-btn:focus-visible, .pg-chip:focus-visible, .pg-link-card:focus-visible, .pg-rec:focus-visible, .pg-more:focus-visible {
  outline: 2px solid #3FB4E6;
  outline-offset: 3px;
}

/* ── Banda de cotización ── */
.pg-cta {
  padding: clamp(64px, 8vw, 104px) 0;
  color: #fff;
  background: radial-gradient(circle at 12% 0%, rgba(63, 180, 230, 0.22), transparent 50%), linear-gradient(135deg, #04182C 0%, #0A2747 60%, #0A3E6B 100%);
}

.pg-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 36px;
  align-items: center;
}

.pg-cta__title {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.pg-cta__title span { color: var(--accent-on-dark); }
.pg-cta__text { max-width: 560px; margin-top: 16px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); }
.pg-cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Aparición al hacer scroll ── */
.js .pg-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--d, 0s), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--d, 0s);
}

.js .pg-reveal.is-in {
  opacity: 1;
  transform: none;
  /* después de aparecer, el hover (translate, sombra, borde) responde en 200 ms */
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--d, 0s), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) var(--d, 0s),
    translate 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

/* ── Adaptación ── */
@media (max-width: 1100px) {
  .pg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-process__item::after { display: none; }
}

@media (max-width: 900px) {
  .pg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-links { grid-template-columns: 1fr; }
  .pg-split { grid-template-columns: 1fr; }
  .pg-recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-cta__inner { grid-template-columns: 1fr; }
  .pg-cta__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .pg-hero { min-height: max(520px, 82svh); padding-top: 120px; }
  .pg-hero__shade {
    background: linear-gradient(180deg, rgba(3, 10, 18, 0.7) 0%, rgba(3, 10, 18, 0.45) 30%, rgba(3, 10, 18, 0.82) 70%, rgba(3, 10, 18, 0.94) 100%);
  }
  .pg-grid--2, .pg-grid--3, .pg-grid--4, .pg-recs, .pg-glossary, .pg-process { grid-template-columns: 1fr; }
  .pg-card, .pg-machine, .pg-article, .pg-tech { padding: 22px; }
  .pg-chip { height: 40px; padding: 0 15px; font-size: 13.5px; }
  .pg-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-hero__media img, .pg-hero__content > * { animation: none; }
  .pg-tabpanel:not([hidden]) { animation: rm-fade 150ms ease both !important; }
  .js .pg-reveal { transform: none; } /* aparece con un fundido corto, sin desplazarse */
}

/* Hero alineado con el logo del menú (igual que el inicio) y fundido hacia el contenido */
.pg-hero .pg-wrap { max-width: none; padding: 0 clamp(24px, 4vw, 64px); }
.pg-hero__title { max-width: 900px; font-size: clamp(34px, 4.6vw, 66px); }
.pg-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--fx-fade, 240px);
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(244, 246, 248, 0) 0%,
    rgba(244, 246, 248, 0.08) 25%,
    rgba(244, 246, 248, 0.35) 55%,
    rgba(244, 246, 248, 0.78) 82%,
    #F4F6F8 100%);
  pointer-events: none;
}
.pg-hero__media img[data-k="idi"] { object-position: 72% 50%; }
@media (max-width: 640px) {
  .pg-hero .pg-wrap { padding: 0 16px; }
  .pg-hero__media img[data-k="idi"] { object-position: 60% 50%; }
}

/* Celulares angostos (iPhone SE): palabras largas como "INFRAESTRUCTURA" caben en una línea */
@media (max-width: 400px) {
  .pg-hero__title { font-size: 29px; }
  .pg-h2, .pg-cta__title { font-size: 26px; }
}

/* ═════════════════════════════════════════════════════════════════
   CONTÁCTENOS
═════════════════════════════════════════════════════════════════ */
.pg-hero--contact { min-height: max(520px, 66vh); padding-bottom: clamp(150px, 20vh, 210px); }

.pg-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pg-status__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9AA5B1;
}

.pg-status.is-open .pg-status__dot { background: #B6CD20; }
.pg-status.is-open .pg-status__dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(182, 205, 32, 0.6);
  animation: pg-ping 2s ease-out infinite;
}

@keyframes pg-ping {
  from { transform: scale(0.5); opacity: 1; }
  to { transform: scale(1.6); opacity: 0; }
}

/* Formulario + canales, montados sobre el borde del hero */
.pg-contact { position: relative; z-index: 2; margin-top: clamp(-170px, -16vh, -110px); padding-bottom: clamp(64px, 8vw, 104px); }

.pg-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.pg-formcard {
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(14, 19, 24, 0.07);
  box-shadow: 0 2px 4px rgba(14, 19, 24, 0.04), 0 40px 80px -40px rgba(4, 24, 44, 0.45);
}

.pg-formcard__head { margin-bottom: 30px; }
.pg-formcard__head .pg-desc { margin-top: 12px; font-size: 15.5px; }
.pg-h2--sm { font-size: clamp(26px, 2.6vw, 38px); }

.pg-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A5568;
}

.pg-picks { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.pg-picks__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-pick { position: relative; cursor: pointer; }
.pg-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.pg-pick span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #2D3748;
  background: #F1F3F6;
  box-shadow: inset 0 0 0 1px rgba(14, 19, 24, 0.08);
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .pg-pick:hover span { box-shadow: inset 0 0 0 1px rgba(10, 95, 154, 0.45); }
}
.pg-pick input:checked + span { color: #fff; background: #0A5F9A; box-shadow: 0 10px 22px -12px rgba(10, 95, 154, 0.9); }
.pg-pick input:focus-visible + span { outline: 2px solid #0A5F9A; outline-offset: 3px; }

.pg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-field { position: relative; }
.pg-field--full { grid-column: 1 / -1; }

.pg-field input,
.pg-field textarea {
  display: block;
  width: 100%;
  padding: 26px 16px 10px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  color: #0E1318;
  background: #F4F6F8;
  box-shadow: inset 0 0 0 1px rgba(14, 19, 24, 0.1);
  transition: box-shadow 200ms ease, background 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.pg-field textarea { resize: vertical; min-height: 128px; line-height: 1.55; }
.pg-field input { height: 60px; }

.pg-field label {
  position: absolute;
  left: 17px;
  top: 19px;
  font-size: 16px;
  color: #5A6778;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1), color 0.22s ease;
}

.pg-field label em { font-style: normal; color: #718096; }

.pg-field input:focus,
.pg-field textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2px #0A5F9A, 0 0 0 4px rgba(63, 180, 230, 0.18);
}

.pg-field input:focus + label,
.pg-field input:not(:placeholder-shown) + label,
.pg-field textarea:focus + label,
.pg-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(0.76);
  color: #0A5F9A;
  font-weight: 600;
}

.pg-field.is-invalid input,
.pg-field.is-invalid textarea { box-shadow: inset 0 0 0 2px #C53030; background: #FFF8F8; }
.pg-field.is-invalid label { color: #C53030; }

.pg-error { margin-top: 7px; font-size: 13.5px; font-weight: 600; color: #C53030; }
.pg-count { margin-top: 6px; text-align: right; font-size: 12px; color: #718096; font-variant-numeric: tabular-nums; }

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

.pg-consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #4A5568;
  cursor: pointer;
}

.pg-consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }

.pg-consent__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  color: transparent;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(14, 19, 24, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.pg-consent__box svg { width: 15px; height: 15px; }
.pg-consent input:checked + .pg-consent__box { color: #fff; background: #0A5F9A; box-shadow: none; }
.pg-consent input:focus-visible + .pg-consent__box { outline: 2px solid #0A5F9A; outline-offset: 3px; }
.pg-consent.is-invalid .pg-consent__box { box-shadow: inset 0 0 0 2px #C53030; }

.pg-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 28px;
}

.pg-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0A5F9A 0%, #134371 100%);
  box-shadow: 0 18px 34px -16px rgba(10, 95, 154, 0.9);
  cursor: pointer;
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}

.pg-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .pg-submit:hover { transform: translateY(-2px); box-shadow: 0 24px 40px -16px rgba(10, 95, 154, 0.95); }
}
@media (hover: hover) and (pointer: fine) {
  .pg-submit:hover::before { transform: translateX(100%); }
}
.pg-submit svg { transition: transform 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .pg-submit:hover svg { transform: translateX(4px); }
}
.pg-submit:focus-visible { outline: 2px solid #0A5F9A; outline-offset: 4px; }

.pg-form__note { flex: 1 1 220px; font-size: 13px; line-height: 1.5; color: #5A6778; }
.pg-form__note strong { color: #0E1318; }

/* Confirmación */
.pg-sent { padding: 20px 0 8px; text-align: left; animation: pg-rise 0.6s cubic-bezier(0.23, 1, 0.32, 1) both; }
.pg-sent:focus { outline: none; }

.pg-sent__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #0B1A2B;
  background: #B6CD20;
  box-shadow: 0 0 0 10px rgba(182, 205, 32, 0.18);
}

.pg-sent__icon svg { width: 30px; height: 30px; }
.pg-sent__title { margin-top: 26px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: #0E1318; }
.pg-sent__text { max-width: 560px; margin-top: 12px; font-size: 16px; line-height: 1.65; color: #4A5568; }
.pg-sent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.pg-btn--dark { color: #fff; background: #0E1318; }
@media (hover: hover) and (pointer: fine) {
  .pg-btn--dark:hover { background: #0A5F9A; }
}
.pg-btn--line { color: #0E1318; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(14, 19, 24, 0.2); border: 0; font: inherit; font-weight: 700; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .pg-btn--line:hover { box-shadow: inset 0 0 0 1.5px #0A5F9A; color: #0A5F9A; }
}
button.pg-btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.pg-btn.is-done, .pg-copy.is-done { background: #B6CD20; color: #0B1A2B; }

/* Canales directos (columna oscura) */
.pg-channels {
  position: sticky;
  top: 100px;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(circle at 100% 0%, rgba(63, 180, 230, 0.22), transparent 55%), linear-gradient(165deg, #06213D 0%, #04182C 100%);
  box-shadow: 0 40px 80px -40px rgba(4, 24, 44, 0.7);
}

.pg-channels__h {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.pg-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}


a.pg-channel:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.7);
  transform: translateX(3px);
  outline: none;
}
@media (hover: hover) and (pointer: fine) {
  a.pg-channel:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.7);
    transform: translateX(3px);
    outline: none;
  }
}

.pg-channel__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #3FB4E6;
  background: rgba(63, 180, 230, 0.14);
}

.pg-channel__txt { display: flex; flex-direction: column; min-width: 0; }
.pg-channel__txt small { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.66); }
.pg-channel__txt strong { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.pg-channel__go { margin-left: auto; color: rgba(255, 255, 255, 0.6); transition: transform 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  a.pg-channel:hover .pg-channel__go { color: #3FB4E6; transform: translateX(3px); }
}

.pg-hours { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pg-hours ul { list-style: none; display: grid; gap: 6px; }

.pg-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
}

.pg-hours li span:last-child { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; text-align: right; }
.pg-hours li.is-today { background: rgba(182, 205, 32, 0.14); box-shadow: inset 3px 0 0 #B6CD20; color: #fff; }

.pg-channels__social { display: flex; gap: 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pg-channels__social a { font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .pg-channels__social a:hover { color: #3FB4E6; }
}
.pg-channels__social a:focus-visible { outline: 2px solid #3FB4E6; outline-offset: 3px; border-radius: 4px; }

/* Unidades industriales */
.pg-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.pg-site {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(14, 19, 24, 0.08);
  box-shadow: 0 30px 60px -40px rgba(14, 19, 24, 0.4);
}

.pg-map {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #3FB4E6;
  background: radial-gradient(circle at 50% 58%, rgba(63, 180, 230, 0.2), transparent 55%), linear-gradient(160deg, #0A2747 0%, #04182C 100%);
}

.pg-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-map__dash { animation: pg-dash 18s linear infinite; }
@keyframes pg-dash { to { stroke-dashoffset: -440; } }

.pg-map__pin {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #B6CD20;
  box-shadow: 0 0 0 5px rgba(182, 205, 32, 0.3), 0 0 30px rgba(182, 205, 32, 0.7);
}

.pg-map__pin span {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(182, 205, 32, 0.55);
  animation: pg-ping 2.4s ease-out infinite;
}

.pg-map__load {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #0B1A2B;
  background: #fff;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pg-map__load:hover { transform: translate(-50%, -2px); }
}
.pg-map__load:focus-visible { outline: 2px solid #3FB4E6; outline-offset: 3px; }

.pg-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pg-map.is-live iframe { opacity: 1; }
.pg-map.is-loading .pg-map__pin span { animation-duration: 0.9s; }

.pg-site__body { padding: 26px 28px 28px; }
.pg-site__tag { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-on-light); }
.pg-site__title { margin-top: 8px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: #0E1318; }
.pg-site__addr { margin-top: 6px; font-size: 16px; color: #4A5568; }
.pg-site__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pg-site__actions .pg-btn { min-height: 46px; padding: 0 20px; font-size: 14px; }

.pg-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #0E1318;
  background: #F1F3F6;
  box-shadow: inset 0 0 0 1px rgba(14, 19, 24, 0.1);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pg-copy:hover { background: #E6EBF1; }
}
.pg-copy:focus-visible { outline: 2px solid #0A5F9A; outline-offset: 3px; }

/* Lista para cotizar */
.pg-checklist { list-style: none; display: grid; gap: 12px; }

.pg-check {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(14, 19, 24, 0.08);
}

.pg-check__n { flex: none; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent-on-light); padding-top: 3px; }
.pg-check strong { font-size: 17px; color: #0E1318; }
.pg-check p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: #4A5568; }
.pg-split .pg-link-card { margin-top: 8px; max-width: 420px; }


@media (max-width: 1024px) {
  .pg-contact__grid { grid-template-columns: 1fr; }
  .pg-channels { position: static; }
}

@media (max-width: 760px) {
  .pg-sites { grid-template-columns: 1fr; }
  .pg-fields { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pg-hero--contact { padding-bottom: 140px; }
  .pg-contact { margin-top: -96px; }
  .pg-formcard { padding: 22px 18px; border-radius: 20px; }
  .pg-channels { padding: 22px 18px; }
  .pg-submit { width: 100%; justify-content: center; }
  .pg-site__body { padding: 22px 20px 24px; }
  .pg-site__actions > * { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-status.is-open .pg-status__dot::after, .pg-map__pin span, .pg-map__dash { animation: none; }
  .pg-submit, .pg-submit::before, .pg-channel, .pg-sent { transition: none; animation: none; }
}
.pg-site:nth-child(2) .pg-map__art { transform: scale(-1, 1); }
.pg-hero--contact .pg-chips { margin-top: 18px; }
.pg-chip svg { width: 17px; height: 17px; margin-right: 8px; }
.pg-chip--solid { color: #0B1A2B; background: #fff; box-shadow: none; }
 .pg-chip--solid:focus-visible { background: #fff; color: #0A5F9A; }
@media (hover: hover) and (pointer: fine) {
  .pg-chip--solid:hover { background: #fff; color: #0A5F9A; }
}
.pg-hours li span:last-child { white-space: nowrap; }
@media (max-width: 400px) {
  .pg-channel { gap: 12px; padding: 12px; }
  .pg-channel__icon { width: 40px; height: 40px; }
  .pg-channel__go { display: none; }
  .pg-channel__txt strong { font-size: 15px; overflow-wrap: normal; }
  .pg-hours li { font-size: 13.5px; padding: 10px 8px; }
}

/* ═════════════════════════════════════════════════════════════════
   SERVICIOS — Selector de maquinaria (mismo diseño de la guía de Aprende)
═════════════════════════════════════════════════════════════════ */
.pg-tab__n {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #4A5568;
  background: rgba(14, 19, 24, 0.07);
  font-variant-numeric: tabular-nums;
  transition: background 200ms ease, color 200ms ease;
}

.pg-tab[aria-selected="true"] .pg-tab__n { color: #0A5F9A; background: #fff; }

@media (min-width: 901px) {
  .pg-tabs--wrap { flex-wrap: wrap; overflow: visible; }
}

.pg-tabpanel__count {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #0A5F9A;
  background: rgba(63, 180, 230, 0.12);
}

.pg-rec--machine { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .pg-rec--machine:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -28px rgba(10, 60, 110, 0.45); }
}

/* Placeholder mientras carga (o si falta) la foto */
.pg-rec__img--machine {
  position: relative;
  background:
    radial-gradient(circle at 50% 60%, rgba(63, 180, 230, 0.18), transparent 60%),
    linear-gradient(160deg, #E9EEF3 0%, #DCE3EA 100%);
}

.pg-rec__img--machine::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  opacity: 0.35;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5F9A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='12' width='13' height='6' rx='1.5'/%3E%3Cpath d='M15 14h4l3 3v1h-7z'/%3E%3Ccircle cx='6' cy='19' r='1.6'/%3E%3Ccircle cx='17' cy='19' r='1.6'/%3E%3Cpath d='M5 12V8h6l2 4'/%3E%3C/svg%3E");
}

.pg-rec__img--machine img { position: relative; opacity: 0; transition: opacity 0.5s ease, transform 0.45s cubic-bezier(0.23, 1, 0.32, 1); }
.pg-rec__img--machine.is-loaded img { opacity: 1; }
.pg-rec__img--machine.is-loaded::before { display: none; }
.pg-rec__img--machine.is-missing img { visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  .pg-rec--machine:hover .pg-rec__img img { transform: scale(1.05); }
}

.pg-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.pg-specs span {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #134371;
  background: rgba(63, 180, 230, 0.12);
}

.pg-rec--machine .pg-rec__go { text-decoration: none; }
.pg-rec--machine .pg-rec__go::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pg-rec--machine .pg-rec__go:focus-visible { outline: none; }
.pg-rec--machine:focus-within { outline: 2px solid #0A5F9A; outline-offset: 3px; }
.pg-rec--machine .pg-rec__go svg { transition: transform 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .pg-rec--machine:hover .pg-rec__go svg { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .pg-rec__img--machine img { transition: none; }
}
/* En celular también se ven todos los tipos de maquinaria (sin scroll oculto) */
@media (max-width: 900px) {
  .pg-tabs--wrap { flex-wrap: wrap; overflow: visible; gap: 6px; }
  .pg-tabs--wrap .pg-tab { height: 38px; padding: 0 12px; font-size: 13px; }
  .pg-tabs--wrap .pg-tab__n { min-width: 20px; height: 20px; margin-left: 6px; font-size: 11px; }
}

/* ═════════════════════════════════════════════════════════════════
   CONTÁCTENOS — Hero en movimiento (fotogramas sobre canvas, sin video)
═════════════════════════════════════════════════════════════════ */


.pg-hero__film {
  position: absolute;
  inset: -2px 0 0;
  z-index: -2;
  overflow: hidden;
  background: #070B10;
  animation: pg-film-in 2.2s cubic-bezier(0.23, 1, 0.32, 1) both;
  will-change: translate;
}

@keyframes pg-film-in {
  from { scale: 1.08; filter: brightness(0.55); }
  to { scale: 1; filter: brightness(1); }
}

.pg-hero__film .pg-hero__media img { animation: none; }

.pg-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.pg-hero__film.is-playing .pg-hero__canvas { opacity: 1; }

/* Viñeta cinematográfica (sin mezcla de capas: no recalcula al animar) */
.pg-hero__film::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 62% 45%, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
}

/* Sobre el fondo en movimiento, cristal sólido en vez de desenfoque en vivo (más fluido) */
.pg--contactenos .pg-hero .pg-status,
.pg--contactenos .pg-hero .pg-chip:not(.pg-chip--solid) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(12, 18, 26, 0.62);
}
@media (hover: hover) and (pointer: fine) {
  .pg--contactenos .pg-hero .pg-chip:not(.pg-chip--solid):hover { background: rgba(28, 40, 54, 0.8); }
}



@media (prefers-reduced-motion: reduce) {
  .pg-hero__film { animation: none; }
  .pg-hero__canvas { display: none; }
}


/* ═════════════════════════════════════════════════════════════════
   CONTÁCTENOS v2 — Diseño "C" con cristal azul IMMAC
   Fondo: secuencia de fotogramas · izquierda: título, canales, plantas
   derecha: formulario en panel de cristal desenfocado
═════════════════════════════════════════════════════════════════ */
.ct-hero {
  --ct-accent: #3FB4E6;
  --ct-ink: #04182C;
  --ct-tint: rgba(6, 30, 56, 0.45);
  --ct-line: rgba(255, 255, 255, 0.16);
  position: relative;
  min-height: max(640px, 100svh);
  color: #fff;
  background: #070B10;
  overflow: hidden;
  isolation: isolate;
}

.ct-hero .pg-hero__film { z-index: -1; }
.ct-hero .pg-hero__film::after {
  background:
    linear-gradient(90deg, rgba(4, 8, 13, 0.7) 0%, rgba(4, 8, 13, 0.32) 42%, rgba(4, 8, 13, 0.08) 64%, rgba(4, 8, 13, 0.4) 100%),
    linear-gradient(180deg, rgba(4, 8, 13, 0.55) 0%, rgba(4, 8, 13, 0) 20%, rgba(4, 8, 13, 0) 70%, rgba(4, 8, 13, 0.6) 100%),
    radial-gradient(ellipse at 60% 45%, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  grid-template-areas: "intro panel" "plants panel";
  column-gap: clamp(24px, 4vw, 72px);
  align-content: center;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  min-height: max(640px, 100svh);
  margin: 0 auto;
  padding: 112px clamp(24px, 4vw, 64px) 48px;
}

.ct-left { grid-area: intro; min-width: 0; align-self: end; }
.ct-plants { grid-area: plants; align-self: start; }
.ct-panel { grid-area: panel; }
.ct-left > *, .ct-panel, .ct-plants { animation: pg-rise 0.6s cubic-bezier(0.23, 1, 0.32, 1) both; }
.ct-left > :nth-child(2) { animation-delay: 0.08s; }
.ct-left > :nth-child(3) { animation-delay: 0.16s; }
.ct-left > :nth-child(4) { animation-delay: 0.24s; }
.ct-left > :nth-child(5) { animation-delay: 0.3s; }
.ct-left > :nth-child(6) { animation-delay: 0.38s; }
.ct-panel { animation-delay: 0.3s; }
.ct-plants { animation-delay: 0.42s; }

.ct-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.ct-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--ct-accent); box-shadow: 0 0 12px var(--ct-accent); }

.ct-title {
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}

.ct-sub { max-width: 470px; margin-top: 18px; font-size: clamp(15.5px, 1.2vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, 0.84); }

/* Canales: botones redondos de cristal */
.ct-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; }
.ct-icons > li { position: relative; }

.ct-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1), color 200ms ease;
}

 .ct-ic:focus-visible, .ct-ic[aria-expanded="true"] {
  color: var(--ct-ink);
  background: var(--ct-accent);
  box-shadow: 0 12px 26px -12px var(--ct-accent);
  transform: translateY(-2px);
  outline: none;
}
@media (hover: hover) and (pointer: fine) {
  .ct-ic:hover {
    color: var(--ct-ink);
    background: var(--ct-accent);
    box-shadow: 0 12px 26px -12px var(--ct-accent);
    transform: translateY(-2px);
    outline: none;
  }
}

.ct-ic:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); }
.ct-ic--dot::after { content: ''; position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ct-accent); box-shadow: 0 0 0 2px rgba(6, 30, 56, 0.8); }
.ct-ic--dot[aria-expanded="true"]::after { background: #fff; }

/* Nombre del canal al pasar el mouse */
.ct-ic[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  translate: -50% 4px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: rgba(4, 12, 22, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, translate 0.2s ease;
}

 .ct-ic[data-tip]:focus-visible::before { opacity: 1; translate: -50% 0; }
@media (hover: hover) and (pointer: fine) {
  .ct-ic[data-tip]:hover::before { opacity: 1; translate: -50% 0; }
}

.ct-hours {
  position: absolute;
  z-index: 5;
  top: calc(100% + 10px);
  left: -60px;
  width: 290px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(6, 24, 44, 0.86);
  box-shadow: inset 0 0 0 1px var(--ct-line), 0 30px 60px -24px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  animation: pg-rise 200ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.ct-hours__h { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.ct-hours ul { list-style: none; display: grid; gap: 4px; }
.ct-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.82); }
.ct-hours li span:last-child { font-weight: 600; color: #fff; white-space: nowrap; }
.ct-hours li.is-today { background: rgba(63, 180, 230, 0.16); box-shadow: inset 3px 0 0 var(--ct-accent); }

/* Estado: bombillo verde (abierto) / rojo (cerrado) */
.ct-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 9px 16px 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ct-status__bulb { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #9AA5B1; transition: background 200ms ease, box-shadow 200ms ease; }
.ct-status.is-open .ct-status__bulb { background: #7CDB5A; box-shadow: 0 0 10px 1px rgba(124, 219, 90, 0.85); }
.ct-status.is-closed .ct-status__bulb { background: #FF4D4F; box-shadow: 0 0 10px 1px rgba(255, 77, 79, 0.85); }
.ct-status.is-open .ct-status__bulb::after,
.ct-status.is-closed .ct-status__bulb::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pg-ping 2s ease-out infinite;
}
.ct-status.is-open .ct-status__bulb::after { color: rgba(124, 219, 90, 0.6); }
.ct-status.is-closed .ct-status__bulb::after { color: rgba(255, 77, 79, 0.6); }

/* Nuestras plantas */
.ct-plants { margin-top: clamp(30px, 4.5vh, 48px); max-width: 500px; scroll-margin-top: 100px; }
.ct-plants__head { display: flex; justify-content: space-between; align-items: center; }
.ct-plants__head h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.ct-plants__nav { display: flex; gap: 8px; }

.ct-arr {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background 200ms ease, opacity 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ct-arr:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); }
}
.ct-arr:disabled { opacity: 0.35; cursor: default; }
.ct-arr:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ct-plants.is-static .ct-plants__nav { visibility: hidden; }

.ct-cards {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.ct-cards::-webkit-scrollbar { display: none; }
.ct-cards:focus { outline: none; }

.ct-card {
  position: relative;
  flex: 0 0 min(236px, 70vw);
  height: 200px;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: start;
  color: var(--ct-accent);
  background: radial-gradient(circle at 50% 58%, rgba(63, 180, 230, 0.22), transparent 60%), linear-gradient(160deg, #0B2744 0%, #061A30 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 50px -24px rgba(0, 0, 0, 0.85);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ct-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.6), 0 30px 56px -24px rgba(0, 0, 0, 0.9); }
}
.ct-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-map__dash { animation: pg-dash 18s linear infinite; }

.ct-card__pin {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #B6CD20;
  box-shadow: 0 0 0 5px rgba(182, 205, 32, 0.28), 0 0 26px rgba(182, 205, 32, 0.7);
}

.ct-card__pin span { position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(182, 205, 32, 0.5); animation: pg-ping 2.4s ease-out infinite; }

.ct-card__top { position: absolute; left: 0; right: 0; top: 0; padding: 14px 16px 30px; background: linear-gradient(180deg, rgba(4, 12, 22, 0.9), transparent); }
.ct-card__top h3 { font-size: 17px; font-weight: 600; color: #fff; }
.ct-card__top p { margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, 0.82); }

.ct-card__route {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #0B1A2B;
  text-decoration: none;
  background: #fff;
  transition: background 200ms ease, color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ct-card__route:hover { background: var(--ct-accent); color: var(--ct-ink); }
}

.ct-card__open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  background: rgba(6, 18, 32, 0.66);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 200ms ease, color 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ct-card__open:hover { background: var(--ct-accent); color: var(--ct-ink); transform: rotate(45deg); }
}
.ct-card__route:focus-visible, .ct-card__open:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Panel de cristal con el formulario */
.ct-panel {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 60%), var(--ct-tint);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  scroll-margin-top: 90px;
}

.ct-panel__title { font-size: clamp(24px, 2vw, 30px); font-weight: 500; letter-spacing: -0.02em; color: #fff; }
.ct-panel__sub { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.74); }
.ct-panel__sub strong { color: #fff; }

.ct-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.ct-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ct-chip:hover span { box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.7); }
}
.ct-chip input:checked + span { color: var(--ct-ink); background: var(--ct-accent); box-shadow: 0 10px 22px -12px var(--ct-accent); }
.ct-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.ct-seg {
  display: inline-flex;
  gap: 4px;
  margin: 14px 0 12px;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ct-seg label { position: relative; cursor: pointer; }
.ct-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-seg span { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.74); transition: background 200ms ease, color 200ms ease; }
.ct-seg b { width: 7px; height: 7px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); transition: background 200ms ease, box-shadow 200ms ease; }
.ct-seg input:checked + span { color: #fff; background: rgba(255, 255, 255, 0.15); }
.ct-seg input:checked + span b { background: var(--ct-accent); box-shadow: 0 0 8px var(--ct-accent); }
.ct-seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.ct-f {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 9px;
  padding: 9px 16px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.ct-f:focus-within { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px var(--ct-accent), 0 0 0 4px rgba(63, 180, 230, 0.16); }

.ct-f label { position: static; transform: none; font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, 0.66); pointer-events: auto; }
.ct-f label em { font-style: normal; color: rgba(255, 255, 255, 0.48); }

.ct-f input,
.ct-f textarea {
  width: 100%;
  padding: 0;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.ct-f input { height: 24px; }
.ct-f textarea { min-height: 46px; resize: vertical; line-height: 1.5; }
.ct-f input::placeholder, .ct-f textarea::placeholder { color: rgba(255, 255, 255, 0.4); font-weight: 400; }
.ct-f input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s; }

.ct-f.is-invalid { box-shadow: inset 0 0 0 1.5px #FF6B6B; background: rgba(255, 77, 79, 0.1); }
.ct-f.is-invalid label { color: #FFB3B3; }
.ct-f .pg-error, .ct-panel .pg-error { margin-top: 3px; font-size: 12px; color: #FFB3B3; }
.ct-f .pg-count { position: absolute; right: 14px; top: 9px; margin: 0; font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.ct-f--full { grid-column: 1 / -1; }

.ct-consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 4px; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); cursor: pointer; position: relative; }
.ct-consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }

.ct-consent__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ct-consent input:checked + .ct-consent__box { color: var(--ct-ink); background: var(--ct-accent); box-shadow: none; }
.ct-consent input:focus-visible + .ct-consent__box { outline: 2px solid #fff; outline-offset: 2px; }
.ct-consent.is-invalid .ct-consent__box { box-shadow: inset 0 0 0 2px #FF6B6B; }

.ct-submit {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 0;
  border: 0;
  font: inherit;
  background: none;
  cursor: pointer;
}

.ct-submit__label {
  flex: 1;
  display: grid;
  place-items: center;
  height: 54px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #0B1A2B;
  background: #fff;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}

.ct-submit__round {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--ct-ink);
  background: var(--ct-accent);
  box-shadow: 0 14px 28px -12px var(--ct-accent);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ct-submit:hover .ct-submit__label { transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(255, 255, 255, 0.7); }
}
@media (hover: hover) and (pointer: fine) {
  .ct-submit:hover .ct-submit__round { transform: rotate(45deg); }
}
.ct-submit:focus-visible { outline: none; }
.ct-submit:focus-visible .ct-submit__label { box-shadow: 0 0 0 3px var(--ct-accent); }

/* Confirmación */
.ct-sent { padding: 8px 0 4px; animation: pg-rise 0.6s cubic-bezier(0.23, 1, 0.32, 1) both; }
.ct-sent:focus { outline: none; }
.ct-sent__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 50%; color: var(--ct-ink); background: var(--ct-accent); box-shadow: 0 0 0 10px rgba(63, 180, 230, 0.18); }
.ct-sent__icon svg { width: 28px; height: 28px; }
.ct-sent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.ct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.ct-btn--light { color: #0B1A2B; background: #fff; box-shadow: none; }
.ct-btn.is-done { color: var(--ct-ink); background: var(--ct-accent); }
.ct-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Mapa en grande (ventana) */
.ct-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 12, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: ct-fade 0.3s ease both;
}

@keyframes ct-fade { from { opacity: 0; } to { opacity: 1; } }

.ct-modal__box {
  width: min(960px, 100%);
  overflow: hidden;
  border-radius: 24px;
  background: #06172A;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 50px 100px -30px rgba(0, 0, 0, 0.9);
  animation: pg-rise 250ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.ct-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px 16px 24px; }
.ct-modal__head h2 { font-size: 20px; font-weight: 600; color: #fff; }
.ct-modal__head p { margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }
.ct-modal__close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; background: rgba(255, 255, 255, 0.1); }
@media (hover: hover) and (pointer: fine) {
  .ct-modal__close:hover { background: rgba(255, 255, 255, 0.2); }
}
.ct-modal__close:focus-visible { outline: 2px solid #3FB4E6; outline-offset: 2px; }
.ct-modal__map { position: relative; aspect-ratio: 16 / 9; max-height: 70vh; width: 100%; background: #0B2744; }
.ct-modal__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Laptop baja: compacta un poco para que todo quepa en una pantalla */
@media (max-height: 820px) and (min-width: 1025px) {
  .ct-grid { padding-top: 96px; padding-bottom: 28px; }
  .ct-title { font-size: clamp(42px, 4.4vw, 62px); }
  .ct-sub { margin-top: 12px; }
  .ct-icons { margin-top: 20px; }
  .ct-plants { margin-top: 24px; }
  .ct-card { height: 176px; }
  .ct-panel { padding: 22px 22px 20px; }
  .ct-f { margin-bottom: 7px; padding-top: 7px; padding-bottom: 6px; }
  .ct-submit { margin-top: 12px; }
}

/* Tableta y celular: una sola columna (intro → formulario → plantas) */
@media (max-width: 1024px) {
  .ct-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "panel" "plants";
    gap: 30px;
    padding-top: 108px;
    min-height: 0;
  }
  .ct-plants { margin-top: 0; max-width: none; }
  .ct-hero .pg-hero__film { bottom: auto; height: 100svh; }
  .ct-hero .pg-hero__film::after {
    background: linear-gradient(180deg, rgba(4, 8, 13, 0.45) 0%, rgba(4, 8, 13, 0.15) 35%, rgba(7, 11, 16, 0.75) 80%, #070B10 100%);
  }
}

@media (max-width: 640px) {
  .ct-grid { padding: 96px 16px 40px; gap: 28px; }
  .ct-title { font-size: 44px; }
  .ct-ic { width: 46px; height: 46px; }
  .ct-panel { padding: 22px 16px 18px; border-radius: 24px; }
  .ct-row { grid-template-columns: 1fr; gap: 0; }
  .ct-hours { left: -120px; }
  .ct-ic[data-tip]::before { display: none; }
}

@media (max-width: 380px) {
  .ct-title { font-size: 38px; }
  .ct-status { font-size: 13px; }
  .ct-hours { left: -150px; width: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-left > *, .ct-panel, .ct-sent, .ct-hours { animation: none; }
  .ct-modal, .ct-modal__box { animation: rm-fade 150ms ease both !important; }
  .ct-status__bulb::after, .ct-card__pin span, .ct-map__dash { animation: none !important; }
  .ct-card, .ct-ic, .ct-submit__label, .ct-submit__round { transition: none; }
}
/* Neutraliza los estilos claros del formulario anterior dentro del cristal */
.ct-f.pg-field input:focus, .ct-f.pg-field textarea:focus,
.ct-f.pg-field.is-invalid input, .ct-f.pg-field.is-invalid textarea { background: transparent; box-shadow: none; }
.ct-f.pg-field label { position: static; transform: none; color: rgba(255, 255, 255, 0.66); font-weight: 500; }
.ct-f.pg-field.is-invalid label { color: #FFB3B3; }
.ct-modal[hidden], .ct-hours[hidden], .ct-sent[hidden], .ct-form[hidden] { display: none !important; }
/* La ventana del horario queda por encima del estado y de las plantas */
.ct-left { position: relative; z-index: 3; }
.ct-icons { position: relative; z-index: 20; }
.ct-hours { background: rgba(5, 20, 38, 0.96); width: 330px; }
.ct-chips { margin-bottom: 14px; }

/* ═════════════════════════════════════════════════════════════════
   CONTÁCTENOS (nuevo) — escena fija con fotogramas y entrada 3D:
   1) formulario  2) texto de contacto  3) mapas de las plantas
═════════════════════════════════════════════════════════════════ */
.c2 {
  --ct-accent: #3FB4E6;
  --ct-ink: #04182C;
  --a: 0; --b: 0; --c: 0;
  position: relative;
  height: 300vh;
  color: #fff;
  background: #141618;
}

.c2-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 1400px;
  isolation: isolate;
}

.c2-poster, .c2-poster img, .c2-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.c2-poster img { object-fit: cover; object-position: 80% 50%; transform: translateX(-20%) scale(1.02); }
.c2-canvas { opacity: 0; transition: opacity 0.6s ease; }
.c2.is-ready .c2-canvas { opacity: 1; }

.c2-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.2) 0%, rgba(10, 12, 14, 0.04) 34%, rgba(10, 12, 14, 0.55) 58%, rgba(10, 12, 14, 0.86) 100%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.6) 0%, rgba(10, 12, 14, 0) 22%, rgba(10, 12, 14, 0) 64%, rgba(10, 12, 14, 0.8) 100%);
}

.c2-panel { position: absolute; z-index: 2; will-change: transform, opacity; }
.c2-panel.is-off { visibility: hidden; }

/* 1 · Formulario (derecha) */
.c2-form-wrap {
  right: clamp(28px, 7vw, 120px);
  top: calc(50% + 34px);
  width: min(400px, 36vw);
  text-align: center;
  /* transform y opacidad los escribe js/contacto-3d.js en cada fotograma */
  transform-origin: 100% 50%;
  transform: translateY(-50%);
}

.c2-hello { font-size: clamp(26px, 2.2vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: #fff; margin-bottom: 18px; }

.c2-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.c2-chip { position: relative; cursor: pointer; }
.c2-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c2-chip span {
  display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: background 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .c2-chip:hover span { background: rgba(255, 255, 255, 0.18); }
}
.c2-chip input:checked + span { color: #111; background: #fff; box-shadow: none; }
.c2-chip input:focus-visible + span { outline: 2px solid var(--ct-accent); outline-offset: 2px; }

.c2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.c2-f { position: relative; margin-bottom: 10px; text-align: left; }
.c2-f input, .c2-f textarea {
  display: block; width: 100%; height: 46px; padding: 0 40px 0 14px; border: 0; border-radius: 8px;
  font: inherit; font-size: 14px; font-weight: 500; color: #1B2230;
  background: rgba(236, 238, 245, 0.95); box-shadow: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.c2-f textarea { height: 64px; padding-top: 12px; resize: none; line-height: 1.45; }
.c2-f input::placeholder, .c2-f textarea::placeholder { color: #6B7180; }
.c2-f input:focus, .c2-f textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(63, 180, 230, 0.55); }
.c2-f__ic { position: absolute; right: 13px; top: 14px; color: #8A90A0; pointer-events: none; }
.c2-f.is-invalid input, .c2-f.is-invalid textarea { background: #FFF1F1; box-shadow: 0 0 0 2px #FF6B6B; }
.c2-f .pg-error, .c2-err { margin-top: 4px; font-size: 12px; font-weight: 600; color: #FFB3B3; text-align: left; }
.c2-err { margin: -6px 0 8px; }

/* El formulario anterior tenía estilos claros para .pg-field: aquí se neutralizan */
.c2-f.pg-field label { position: absolute !important; }

.c2-consent { position: relative; display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 14px; font-size: 11.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); text-align: left; cursor: pointer; }
.c2-consent input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.c2-consent__box { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); transition: background 0.2s ease, color 0.2s ease; }
.c2-consent__box svg { width: 13px; height: 13px; }
.c2-consent input:checked + .c2-consent__box { color: #111; background: #fff; box-shadow: none; }
.c2-consent input:focus-visible + .c2-consent__box { outline: 2px solid var(--ct-accent); outline-offset: 2px; }
.c2-consent.is-invalid .c2-consent__box { box-shadow: inset 0 0 0 2px #FF6B6B; }

.c2-submit {
  width: 100%; height: 48px; border: 0; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 700; color: #111; background: #fff;
  box-shadow: 0 14px 30px -14px rgba(255, 255, 255, 0.55);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .c2-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(255, 255, 255, 0.7); }
}
.c2-submit:focus-visible { outline: 3px solid var(--ct-accent); outline-offset: 2px; }

.c2-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; font-size: 11.5px; color: rgba(255, 255, 255, 0.66); }
.c2-or::before, .c2-or::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.3); }

.c2-alt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.c2-alt a {
  display: grid; place-items: center; height: 46px; border-radius: 8px; color: #0A5F9A;
  background: rgba(236, 238, 245, 0.95); transition: transform 0.25s ease, background 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .c2-alt a:hover { transform: translateY(-2px); background: #fff; }
}
.c2-alt a:focus-visible { outline: 3px solid var(--ct-accent); outline-offset: 2px; }

.c2-foot { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.76); }
.c2-foot a { font-weight: 700; color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .c2-foot a:hover { color: var(--ct-accent); }
}

.c2-form[hidden], .c2-sent[hidden], .c2-sent [data-sent-mode][hidden] { display: none !important; }
.c2-sent a { color: inherit; }
.c2-sent { text-align: center; }
.c2-sent:focus { outline: none; }
.c2-sent__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 50%; color: #111; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14); }
.c2-sent__icon svg { width: 28px; height: 28px; }
.c2-sent p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.c2-sent strong { color: #fff; }
.c2-sent__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.c2-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 8px; font: inherit; font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.c2-btn--light { color: #111; background: #fff; box-shadow: none; }
.c2-btn.is-done { color: #04182C; background: #3FB4E6; }

/* 2 · Texto (abajo a la izquierda) */
.c2-text, .c2-maps { left: clamp(28px, 6vw, 96px); bottom: clamp(48px, 9vh, 92px); width: min(500px, 40vw); }

.c2-text {
  transform-origin: 0% 100%;
}

.c2-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.c2-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--ct-accent); box-shadow: 0 0 10px var(--ct-accent); }
.c2-title { font-size: clamp(30px, 3vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; color: #fff; }
.c2-sub { max-width: 440px; margin-top: 12px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.c2-facts { display: grid; grid-template-columns: auto auto; gap: 12px 28px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.c2-facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ct-accent); }
.c2-facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: #fff; }
.c2-facts a { color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .c2-facts a:hover { color: var(--ct-accent); }
}
.c2-text .ct-status { margin-top: 18px; }

/* 3 · Mapas */
.c2-maps {
  transform-origin: 0% 100%;
}
/* Antes de que el script tome el control, los bloques no se ven (evita un destello) */
.js .c2-panel { opacity: 0; }
.c2-cards { display: flex; gap: 14px; }
.c2-cards .ct-card { flex: 1 1 0; height: 210px; }

/* Indicadores */
.c2-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}
.c2-hint i { width: 1px; height: 34px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7)); animation: mx-drop 1.8s ease-in-out infinite; transform-origin: top; }

.c2-steps { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 2; display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; opacity: 0; }
.c2-steps li { width: 38px; height: 3px; border-radius: 2px; font-size: 0; background: rgba(255, 255, 255, 0.25); transition: background 200ms ease; }
.c2-steps li.is-on { background: #fff; }

@keyframes mx-drop {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(14px); opacity: 0; }
}

/* Pantallas bajas: todo cabe sin recortar el formulario */
@media (min-width: 1025px) and (max-height: 860px) {
  .c2-hello { font-size: 24px; margin-bottom: 12px; }
  .c2-chips { margin-bottom: 10px; }
  .c2-f { margin-bottom: 8px; }
  .c2-f input { height: 40px; }
  .c2-f__ic { top: 11px; }
  .c2-f textarea { height: 52px; padding-top: 10px; }
  .c2-submit { height: 44px; }
  .c2-or { margin: 14px 0 10px; }
  .c2-alt a { height: 40px; }
  .c2-foot { margin-top: 12px; }
  .c2-cards .ct-card { height: 180px; }
}

/* ── Tableta vertical y celular: una columna; los fotogramas avanzan de fondo ── */
@media (max-width: 1024px) {
  .c2 { height: auto; background: transparent; }
  .c2-stage { position: relative; height: auto; overflow: visible; padding: 104px 16px 56px; display: flex; flex-direction: column; gap: 44px; perspective: 1000px; }
  .c2-poster, .c2-canvas, .c2-shade { position: fixed; z-index: -1; }
  .c2-poster img { transform: none; object-position: 50% 50%; }
  .c2-shade { background: linear-gradient(180deg, rgba(10, 12, 14, 0.55) 0%, rgba(10, 12, 14, 0.25) 25%, rgba(10, 12, 14, 0.75) 60%, rgba(10, 12, 14, 0.88) 100%); }
  .c2.is-past .c2-poster, .c2.is-past .c2-canvas, .c2.is-past .c2-shade { visibility: hidden; }
  .c2-panel, .c2-form-wrap, .c2-text, .c2-maps {
    position: relative; inset: auto; width: auto; max-width: 560px; margin: 0 auto; left: auto; right: auto; bottom: auto; top: auto;
    transform-origin: 50% 0%;
    transform: none;
  }
  .c2-form-wrap { margin-top: 34vh; width: 100%; }
  .c2-text, .c2-maps { width: 100%; }
  .c2-panel.is-off { visibility: visible; }
  .c2-hint, .c2-steps { display: none; }
  .c2-cards { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .c2-cards::-webkit-scrollbar { display: none; }
  .c2-cards .ct-card { flex: 0 0 min(280px, 78vw); scroll-snap-align: start; }
}

@media (max-width: 640px) {
  .c2-facts { grid-template-columns: 1fr; }
  .c2-row { grid-template-columns: 1fr; gap: 0; }
  .c2-title { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .c2-hint i { animation: none; }
  .c2-panel { filter: none !important; }
}
/* Ajustes Contáctenos (nuevo) */
.c2-f textarea { min-height: 0; }
.c2-text::before, .c2-maps::before {
  content: '';
  position: absolute;
  inset: -90px -140px -80px -120px;
  z-index: -1;
  pointer-events: none;
  /* La sombra llega a transparente antes de cada borde de su caja: sin cortes rectos */
  background: radial-gradient(closest-side at 45% 55%, rgba(8, 10, 12, 0.7) 0%, rgba(8, 10, 12, 0.5) 40%, rgba(8, 10, 12, 0.18) 75%, rgba(8, 10, 12, 0) 100%);
}
.c2-title, .c2-sub, .c2-facts { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
@media (max-width: 1024px) {
  .c2-stage { overflow-x: clip; } /* el giro 3D de los bloques no debe ensanchar la página */
  .c2-form-wrap { margin-top: 8px; }
  .c2-text::before, .c2-maps::before { display: none; }
}

/* ── Contáctenos en secuencia (data-seq): contenido a la izquierda, persona e íconos a la derecha.
   data-still (foto fija) usa la misma disposición y oculta el lienzo de fotogramas ── */
.c2[data-still] .c2-canvas { display: none; }
.c2[data-still] .c2-poster img { transform: none; object-position: 72% 50%; transform-origin: 78% 62%; will-change: transform; }
.c2[data-seq] .c2-poster img { transform: scale(1.02); object-position: 50% 50%; }
@media (min-width: 1025px) {
  .c2:is([data-seq], [data-still]) .c2-shade {
    background:
      linear-gradient(90deg, rgba(8, 10, 12, 0.86) 0%, rgba(8, 10, 12, 0.7) 26%, rgba(8, 10, 12, 0.3) 42%, rgba(8, 10, 12, 0) 54%),
      linear-gradient(180deg, rgba(8, 10, 12, 0.55) 0%, rgba(8, 10, 12, 0) 20%, rgba(8, 10, 12, 0) 72%, rgba(8, 10, 12, 0.55) 100%);
  }
  .c2:is([data-seq], [data-still]) .c2-form-wrap { right: auto; left: clamp(28px, 6vw, 96px); transform-origin: 0% 50%; }
  .c2:is([data-seq], [data-still]) .c2-text,
  .c2:is([data-seq], [data-still]) .c2-maps { bottom: auto; top: calc(50% + 34px); width: min(500px, 38vw); transform-origin: 0% 50%; }
  .c2:is([data-seq], [data-still]) .c2-steps { left: clamp(28px, 6vw, 96px); translate: none; align-items: flex-start; }
  /* la indicación de scroll va centrada abajo, fuera de la columna del contenido */
  .c2:is([data-seq], [data-still]) .c2-hint { left: 50%; right: auto; translate: -50% 0; align-items: center; text-align: center; }
}

/* ── Servicios, Aprende e I+D+I: transiciones fundidas entre secciones ──
   Cada cambio de fondo pasa por un degradado en lugar de un corte seco.
   Solo color de fondo: no cambia contenido, tamaños ni posiciones. */
:is(.pg--servicios, .pg--aprende, .pg--idi) {
  --fx-page: 244, 246, 248;   /* #F4F6F8, fondo de la página */
  --fx-alt: 236, 239, 243;    /* #ECEFF3, banda gris de Pavimentación */
  --fx-fade: 240px;           /* Exacto degradado suave de 240px unificado */
}
/* Hero → primera sección: la foto se disuelve en el gris de la página */
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-hero { padding-bottom: calc(clamp(72px, 10vh, 120px) + 60px); }
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-hero::after {
  height: var(--fx-fade);
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(var(--fx-page), 0) 0%, rgba(var(--fx-page), 0.08) 25%, rgba(var(--fx-page), 0.35) 55%,
    rgba(var(--fx-page), 0.78) 82%, rgb(var(--fx-page)) 100%);
}
/* Banda gris (Pavimentación, Glosario): entra y sale suave con el mismo degradado de 240px */
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-section--alt {
  background: linear-gradient(180deg,
    rgb(var(--fx-page)) 0, rgb(var(--fx-alt)) var(--fx-fade),
    rgb(var(--fx-alt)) calc(100% - var(--fx-fade)), rgb(var(--fx-page)) 100%);
}
/* Última sección → Cotiza: el azul oscuro sube desde abajo con el degradado de 240px */
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-cta { position: relative; isolation: isolate; padding-top: calc(clamp(64px, 8vw, 104px) + 60px); }
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-cta::before,
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-cta::after { content: ''; position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; }
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-cta::before {
  top: 0;
  height: var(--fx-fade);
  background: linear-gradient(180deg,
    rgb(var(--fx-page)) 0%, rgba(var(--fx-page), 0.82) 18%, rgba(var(--fx-page), 0.45) 45%,
    rgba(var(--fx-page), 0.14) 75%, rgba(var(--fx-page), 0) 100%);
}
/* Cotiza → Pie: el azul baja al negro del pie con 240px */
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-cta::after {
  bottom: 0;
  height: var(--fx-fade);
  background: linear-gradient(180deg, rgba(6, 11, 17, 0) 0%, rgba(6, 11, 17, 0.45) 50%, #060B11 100%);
}
/* I+D+I: la banda azul oscura ("sin costo") sube desde el gris y vuelve a él con 240px */
.pg--idi .pg-section--dark {
  position: relative;
  isolation: isolate;
  padding-top: calc(clamp(72px, 10vw, 128px) + 60px);
  padding-bottom: calc(clamp(72px, 10vw, 128px) + 60px);
}
.pg--idi .pg-section--dark::before,
.pg--idi .pg-section--dark::after { content: ''; position: absolute; left: 0; right: 0; z-index: -1; height: var(--fx-fade); pointer-events: none; }
.pg--idi .pg-section--dark::before {
  top: 0;
  background: linear-gradient(180deg,
    rgb(var(--fx-page)) 0%, rgba(var(--fx-page), 0.82) 18%, rgba(var(--fx-page), 0.45) 45%,
    rgba(var(--fx-page), 0.14) 75%, rgba(var(--fx-page), 0) 100%);
}
.pg--idi .pg-section--dark::after {
  bottom: 0;
  background: linear-gradient(0deg,
    rgb(var(--fx-page)) 0%, rgba(var(--fx-page), 0.82) 18%, rgba(var(--fx-page), 0.45) 45%,
    rgba(var(--fx-page), 0.14) 75%, rgba(var(--fx-page), 0) 100%);
}

/* ── Contáctenos: fundidos suaves de 240px ──
   Escena oscura → "Para cotizar" (gris) → pie (negro). */
.pg--contactenos {
  --fx-alt: 236, 239, 243;
  --fx-fade: 240px;
  --fx-scene: 20, 22, 24;            /* fondo de la escena en escritorio (#141618) */
}
@media (max-width: 1024px) { .pg--contactenos { --fx-scene: 11, 14, 18; } }   /* #0B0E12 en celular */
.pg--contactenos #cotizar {
  isolation: isolate;
  padding-top: calc(clamp(72px, 10vw, 128px) + 60px);
  padding-bottom: calc(clamp(72px, 10vw, 128px) + 60px);
}
.pg--contactenos #cotizar::before,
.pg--contactenos #cotizar::after { content: ''; position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; }
.pg--contactenos #cotizar::before {
  top: 0;
  height: var(--fx-fade);
  background: linear-gradient(180deg,
    rgb(var(--fx-scene)) 0%, rgba(var(--fx-scene), 0.82) 18%, rgba(var(--fx-scene), 0.45) 45%,
    rgba(var(--fx-scene), 0.14) 75%, rgba(var(--fx-scene), 0) 100%);
}
.pg--contactenos #cotizar::after {
  bottom: 0;
  height: var(--fx-fade);
  background: linear-gradient(180deg, rgba(6, 11, 17, 0) 0%, rgba(6, 11, 17, 0.45) 50%, #060B11 100%);
}

/* ═════════════════════════════════════════════════════════════════
   Contáctenos en celular y tableta: cabecera con imagen
   - Los fotogramas dejan de ser un fondo fijo oscurecido y pasan a ser la imagen de
     cabecera: la persona completa y los íconos, que salen del portátil al abrir
     (js/contacto-3d.js → autoplay). Fotogramas cuadrados en frames-contacto-v2/m/.
   - El texto entra sobre el degradado inferior de la imagen.
   - Los datos de contacto van en una tarjeta de vidrio con íconos; teléfono y correo
     ocupan toda la fila al tocarlos.
═════════════════════════════════════════════════════════════════ */
@keyframes c2m-settle { from { transform: scale(1.08); } to { transform: none; } }
@media (max-width: 1024px) {
  .c2 {
    --hero-h: min(calc(100vw + 56px), 76svh);
    background:
      radial-gradient(90% 22% at 100% 52%, rgba(63, 180, 230, 0.12), rgba(63, 180, 230, 0) 70%),
      radial-gradient(80% 20% at 0% 82%, rgba(63, 180, 230, 0.08), rgba(63, 180, 230, 0) 70%),
      #0B0E12;
  }
  .c2-poster, .c2-canvas, .c2-shade {
    position: absolute;
    inset: 0 0 auto 0;
    width: 100%;
    height: var(--hero-h);
    z-index: 0;
  }
  .c2-poster img { object-fit: cover; object-position: 50% 100%; }
  .c2-canvas { transform-origin: 60% 70%; }
  .c2.is-ready .c2-canvas { animation: c2m-settle 5s cubic-bezier(0.23, 1, 0.32, 1) both; }
  /* La sombra se alarga 40 px bajo la imagen: cubre su borde mientras la imagen se asienta (escala) */
  .c2-shade {
    height: calc(var(--hero-h) + 40px);
    background:
      linear-gradient(180deg, rgba(11, 14, 18, 0.92) 0%, rgba(11, 14, 18, 0.35) 12%, rgba(11, 14, 18, 0) 24%,
        rgba(11, 14, 18, 0) 48%, rgba(11, 14, 18, 0.55) 68%, rgba(11, 14, 18, 0.92) 82%, #0B0E12 90%, #0B0E12 95%, rgba(11, 14, 18, 0) 100%);
  }
  .c2.is-past .c2-poster, .c2.is-past .c2-canvas, .c2.is-past .c2-shade { visibility: visible; }
  .c2-stage { padding-top: calc(var(--hero-h) - 92px); }
  .c2-panel { z-index: 1; }

  /* Texto */
  .c2-title {
    font-size: clamp(32px, 8.6vw, 44px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    background: linear-gradient(100deg, #fff 30%, #BFE7F8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
  .c2-sub { font-size: 15.5px; color: rgba(255, 255, 255, 0.72); text-shadow: none; }

  /* Datos de contacto: tarjeta de vidrio */
  .c2-facts {
    display: block;
    margin-top: 24px;
    padding: 4px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-shadow: none;
  }
  .c2-facts > div {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr 16px;
    column-gap: 12px;
    align-items: center;
    padding: 13px 14px;
  }
  .c2-facts > div + div { border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .c2-facts > div::before {
    content: '';
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(63, 180, 230, 0.12) center / 20px 20px no-repeat;
    box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.22);
  }
  .c2-facts > div:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233FB4E6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
  .c2-facts > div:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233FB4E6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
  .c2-facts > div:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233FB4E6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
  .c2-facts > div:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233FB4E6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
  .c2-facts dt, .c2-facts dd { grid-column: 2; min-width: 0; }
  .c2-facts dt { font-size: 10.5px; letter-spacing: 0.16em; }
  .c2-facts dd { margin-top: 3px; font-size: clamp(13.5px, 3.75vw, 15px); line-height: 1.4; overflow-wrap: anywhere; }
  /* Teléfono y correo: toda la fila se toca, con flecha a la derecha */
  .c2-facts > div:has(a)::after {
    content: '';
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .c2-facts a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
  .c2-facts a:focus-visible { outline: none; }
  .c2-facts > div:has(a:focus-visible) { outline: 2px solid var(--ct-accent); outline-offset: -2px; border-radius: 14px; }
  .c2-facts > div:has(a:active) { background: rgba(255, 255, 255, 0.05); }

  .c2-text .ct-status { display: flex; width: 100%; margin-top: 14px; padding: 12px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; }
}

/* ═════════════════════════════════════════════════════════════════
   Contáctenos · Formulario "editorial de línea fina" (opción B)
   Sin tarjeta:
   - título grande en dos pesos;
   - intereses como pestañas numeradas;
   - campos de una sola línea con etiqueta monoespaciada encima; al escribir, la línea
     se pinta de azul de izquierda a derecha;
   - botón blanco redondo con flecha, el teléfono al lado y accesos circulares.
   Los nombres, IDs y validación del formulario no cambian (js/contacto.js).
═════════════════════════════════════════════════════════════════ */
.c2-form-wrap .c2-form, .c2-form-wrap .c2-sent { --fb-line: rgba(255, 255, 255, 0.34); --fb-mute: rgba(255, 255, 255, 0.72); --fb-gap: clamp(10px, 1.6vh, 18px); text-align: left; }
.c2:is([data-seq], [data-still]) .c2-form-wrap { text-align: left; }
@media (min-width: 1025px) {
  .c2:is([data-seq], [data-still]) .c2-form-wrap { width: min(500px, 40vw); }
}

/* Encabezado */
.c2-form-eb {
  display: flex; align-items: center; gap: 12px; margin-bottom: clamp(10px, 1.8vh, 18px);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fb-mute);
}
.c2-form-eb::after { content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, var(--ct-accent), rgba(63, 180, 230, 0)); }
.c2-form .c2-hello {
  margin-bottom: 0;
  font-size: clamp(34px, min(3.2vw, 5.4vh), 48px); font-weight: 300; line-height: 1; letter-spacing: -0.035em; color: #fff;
}
.c2-form .c2-hello b { font-weight: 800; }
.c2-form .c2-hello b span { color: var(--ct-accent); }

/* Pestañas numeradas */
.c2-form .c2-chips {
  justify-content: flex-start; flex-wrap: nowrap; gap: clamp(18px, 2vw, 28px);
  margin: clamp(16px, 2.6vh, 26px) 0 clamp(8px, 1.4vh, 14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.c2-form .c2-chip span {
  position: relative; display: flex; align-items: baseline; gap: 8px; height: auto; padding: 0 0 12px; border-radius: 0;
  font-size: 14px; font-weight: 600; color: var(--fb-mute); background: none; box-shadow: none; white-space: nowrap;
  transition: color 0.25s ease;
}
.c2-form .c2-chip small { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.6); transition: color 0.25s ease; }
.c2-form .c2-chip span::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--ct-accent); box-shadow: 0 0 12px var(--ct-accent);
  transform: scaleX(0); transform-origin: left center; transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.c2-form .c2-chip input:checked + span { color: #fff; background: none; }
.c2-form .c2-chip input:checked + span small { color: var(--ct-accent); }
.c2-form .c2-chip input:checked + span::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .c2-form .c2-chip:hover span { color: rgba(255, 255, 255, 0.85); background: none; }
}
.c2-form .c2-chip input:focus-visible + span { outline: 2px solid var(--ct-accent); outline-offset: 4px; border-radius: 4px; }

/* Campos de línea fina */
.c2-form .c2-row { column-gap: 28px; row-gap: 0; }
.c2-form .c2-f { margin: 0; padding-top: var(--fb-gap); }
.c2-form .c2-f::before, .c2-form .c2-f::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; }
.c2-form .c2-f::before { top: calc(var(--fb-gap) + 56px); background: var(--fb-line); }
.c2-form .c2-f::after {
  top: calc(var(--fb-gap) + 55px); height: 2px;
  background: linear-gradient(90deg, var(--ct-accent), #8FD8F7); box-shadow: 0 0 14px rgba(63, 180, 230, 0.7);
  transform: scaleX(0); transform-origin: left center; transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.c2-form .c2-f:focus-within::after { transform: scaleX(1); }
.c2-form .c2-f.c2-f--ta::before { top: auto; bottom: 0; }
.c2-form .c2-f.c2-f--ta::after { top: auto; bottom: 0; }
.c2-f.pg-field .c2-f__lb {
  position: static !important; display: block; margin-bottom: 6px; transform: none;
  font-size: 14.5px; font-weight: 600; line-height: 20px; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86); transition: color 0.25s ease;
}
.c2-form .c2-f:focus-within .c2-f__lb { color: #7FD0F2; }
.c2-form .c2-f input, .c2-form .c2-f textarea {
  height: 30px; padding: 0; border-radius: 0; background: transparent; box-shadow: none;
  font-size: 17px; font-weight: 500; color: #fff; caret-color: #7FD0F2;
}
.c2-form .c2-f textarea { height: auto; min-height: 30px; max-height: 120px; padding: 4px 0 10px; line-height: 1.45; field-sizing: content; }
.c2-form .c2-f input::placeholder, .c2-form .c2-f textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.c2-form .c2-f input:focus, .c2-form .c2-f textarea:focus { background: transparent; box-shadow: none; }
.c2-form .c2-f__ic { display: none; }
/* Autocompletar del navegador: sin el fondo amarillo/azul */
.c2-form .c2-f input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #12161B inset; transition: background-color 9999s; }
/* Error: la línea en rojo */
.c2-form .c2-f.is-invalid input, .c2-form .c2-f.is-invalid textarea { background: transparent; box-shadow: none; }
.c2-form .c2-f.is-invalid::before { background: #FF6B6B; height: 2px; }
.c2-form .c2-f.is-invalid .c2-f__lb { color: #FFB3B3; }
.c2-form .c2-f .pg-error { margin-top: 6px; }

/* Autorización: círculo con punto azul */
.c2-form .c2-consent { gap: 12px; margin: clamp(14px, 2.2vh, 22px) 0 clamp(16px, 2.6vh, 24px); font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.c2-form .c2-consent__box { width: 18px; height: 18px; border-radius: 50%; color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); margin-top: 1px; position: relative; }
.c2-form .c2-consent__box svg { display: none; }
.c2-form .c2-consent__box::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ct-accent); transform: scale(0); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.c2-form .c2-consent input:checked + .c2-consent__box { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ct-accent), 0 0 12px rgba(63, 180, 230, 0.35); }
.c2-form .c2-consent input:checked + .c2-consent__box::after { transform: scale(1); }
.c2-form .c2-consent.is-invalid .c2-consent__box { box-shadow: inset 0 0 0 2px #FF6B6B; }

/* Botón y teléfono en una fila */
.c2-act { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.c2-form .c2-submit {
  display: inline-flex; align-items: center; gap: 16px; width: auto; height: 58px; padding: 0 8px 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: #0B0E12; background: #fff;
  box-shadow: 0 20px 50px -20px rgba(255, 255, 255, 0.45);
}
.c2-form .c2-submit i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: #0B0E12; transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), background 0.25s ease; }
.c2-form .c2-submit i svg { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) {
  .c2-form .c2-submit:hover { transform: translateY(-2px); box-shadow: 0 24px 54px -18px rgba(255, 255, 255, 0.6); }
  .c2-form .c2-submit:hover i { transform: translateX(3px); background: #0A5F9A; }
}
.c2-form .c2-submit:active { transform: scale(0.98); }
.c2-form .c2-foot { margin: 0; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.74); }
.c2-form .c2-foot a { display: block; font-size: 15px; font-weight: 700; color: #fff; }

/* Accesos circulares */
.c2-reach { display: flex; align-items: center; gap: 10px; margin-top: clamp(16px, 2.8vh, 28px); }
.c2-form .c2-or { margin: 0 6px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.c2-form .c2-or::before, .c2-form .c2-or::after { display: none; }
.c2-form .c2-alt { display: flex; gap: 10px; }
.c2-form .c2-alt a {
  width: 46px; height: 46px; border-radius: 50%; color: #fff; background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.c2-form .c2-alt a svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .c2-form .c2-alt a:hover { transform: translateY(-2px); color: #0B0E12; background: #fff; box-shadow: none; }
}

/* Mensaje de confirmación con el mismo lenguaje */
.c2-form-wrap .c2-sent { text-align: left; }
.c2-form-wrap .c2-sent .c2-hello { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.c2-form-wrap .c2-sent__actions { justify-content: flex-start; }
.c2-form-wrap .c2-btn { border-radius: 999px; }

/* Pantallas bajas de escritorio: todo cabe sin recortar */
@media (min-width: 1025px) and (max-height: 860px) {
  .c2-form .c2-f input { height: 26px; font-size: 16px; }
  .c2-form .c2-f::before { top: calc(var(--fb-gap) + 50px); }
  .c2-form .c2-f::after { top: calc(var(--fb-gap) + 49px); }
  .c2-form .c2-f__lb { margin-bottom: 4px; }
  .c2-form .c2-submit { height: 50px; padding-left: 24px; }
  .c2-form .c2-submit i { width: 36px; height: 36px; }
  .c2-form .c2-alt a { width: 40px; height: 40px; }
}

/* Celular */
@media (max-width: 640px) {
  .c2-form .c2-chips { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .c2-form .c2-chips::-webkit-scrollbar { display: none; }
  .c2-form .c2-chip span { font-size: 13.5px; }
  .c2-form .c2-row { grid-template-columns: 1fr; }
  .c2-reach { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .c2-form .c2-f::after, .c2-form .c2-chip span::after, .c2-form .c2-consent__box::after { transition: none; }
}

/* ── Contáctenos · ¿Cuál planta te queda más cerca? (js/planta-cercana.js) ── */
.ct-near { margin: 4px 0 14px; }
.ct-near__q { font-size: 15px; font-weight: 600; color: #fff; }
.ct-near__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.ct-near__btn,
.ct-near__sel {
  height: 42px;
  border-radius: 999px;
  font: 600 13.5px/1 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
  background: rgba(10, 16, 24, 0.55);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 200ms ease, box-shadow 200ms ease;
}
.ct-near__btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; cursor: pointer; }
.ct-near__btn svg { color: var(--ct-accent); flex: none; }
.ct-near__btn.is-busy svg { animation: ct-near-spin 1.2s linear infinite; }
@keyframes ct-near-spin { to { transform: rotate(360deg); } }
.ct-near__sel {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0 40px 0 16px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.ct-near__sel option { color: #0B1A2B; background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .ct-near__btn:hover, .ct-near__sel:hover { background-color: rgba(10, 16, 24, 0.75); box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.7); }
}
.ct-near__btn:focus-visible, .ct-near__sel:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 3px; }
.ct-near__out { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.ct-near__out:empty { display: none; }
.ct-near__out strong { color: var(--ct-accent); font-weight: 700; }
/* Tarjeta de la planta más cercana */
.ct-card.is-near { box-shadow: inset 0 0 0 2px var(--ct-accent), 0 30px 56px -24px rgba(0, 0, 0, 0.9); }
.ct-card__near {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ct-ink);
  background: var(--ct-accent);
}
@media (prefers-reduced-motion: reduce) { .ct-near__btn.is-busy svg { animation: none; } }

/* Lista de departamentos propia · "vidrio con buscador" (js/planta-cercana.js) */
.ct-dd { position: relative; flex: 1 1 220px; min-width: 0; }
.ct-dd__trig {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0 16px 0 18px;
  background-image: none;
  text-align: left;
}
.ct-dd__trig span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.72); }
.ct-dd__trig.has-value span { color: #fff; }
.ct-dd__trig svg { flex: none; transition: transform 350ms cubic-bezier(0.2, 0.9, 0.2, 1); }
.ct-dd.is-open .ct-dd__trig { box-shadow: inset 0 0 0 1.5px var(--ct-accent); }
.ct-dd.is-open .ct-dd__trig svg { transform: rotate(180deg); }
.ct-dd__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  min-width: 260px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(28, 38, 50, 0.94), rgba(12, 18, 26, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.ct-dd.is-up .ct-dd__panel { top: auto; bottom: calc(100% + 10px); transform-origin: bottom center; transform: translateY(6px) scale(0.98); }
.ct-dd.is-open .ct-dd__panel { opacity: 1; transform: none; }
.ct-dd__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.ct-dd__search:focus-within { box-shadow: inset 0 0 0 1px rgba(63, 180, 230, 0.7); }
.ct-dd__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: 500 15px/1 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;   /* 15px+: sin zoom al enfocar en iPhone */
  color: #fff;
}
.ct-dd__search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.ct-dd__search kbd {
  font: 600 11px/1 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 7px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.ct-dd__list {
  list-style: none;
  max-height: 280px;
  margin: 8px 0 0;
  padding: 4px 2px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 20px), transparent);
}
.ct-dd__list [role="option"] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, padding 250ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.ct-dd__list [role="option"]::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--ct-accent);
  transform: scaleY(0);
  transition: transform 200ms ease;
}
.ct-dd__list [role="option"].is-act { background: rgba(63, 180, 230, 0.12); color: #fff; padding-left: 20px; }
.ct-dd__list [role="option"].is-act::before { transform: scaleY(1); }
.ct-dd__list [role="option"].is-sel::after {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233FB4E6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.ct-dd__empty { padding: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 640px) {
  .ct-dd__list [role="option"] { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-dd__panel, .ct-dd__trig svg, .ct-dd__list [role="option"] { transition: none; }
}

/* ── Aprende · Artículos como portada de revista: uno destacado a foto completa y la lista
   al lado. Al elegir un artículo de la lista pasa al destacado (js/aprende-articulos.js);
   desde el destacado se abre el artículo. ── */
.ap-mag {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.ap-feat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  border-radius: 26px;
  color: #fff;
  background: radial-gradient(120% 90% at 50% 20%, #1B3A55 0%, #0B1724 70%);
  box-shadow: 0 40px 80px -44px rgba(10, 40, 70, 0.65);
  scroll-margin-top: 96px;
}
.ap-feat__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}
/* imagen recortada (máquina sin fondo): centrada arriba sobre el fondo azul */
.ap-feat__img.is-cut { inset: 6% 10% auto; height: 58%; width: 80%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); }
.ap-feat__img.is-leaving { opacity: 0; }
/* infografía: solo la parte de arriba, que se funde con el fondo azul donde va el texto */
.ap-feat.is-poster .ap-feat__img { height: 44%; object-position: center top; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.ap-feat.is-poster::after { background: linear-gradient(180deg, rgba(5, 12, 21, 0) 34%, rgba(5, 12, 21, 0.6) 46%, rgba(5, 12, 21, 0.92) 62%); }
.ap-feat::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 12, 21, 0.05) 20%, rgba(5, 12, 21, 0.55) 52%, rgba(5, 12, 21, 0.92));
}
.ap-feat__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 3vw, 38px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ap-feat__body.is-out { opacity: 0; transform: translateY(10px); }
.ap-feat__tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ap-feat__title { margin: 18px 0 12px; max-width: 20ch; font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.ap-feat__title a { color: #fff; text-decoration: none; }
.ap-feat__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ap-feat__title a:focus-visible { outline: none; }
.ap-feat:focus-within { outline: 2px solid #3FB4E6; outline-offset: 3px; }
.ap-feat__text { max-width: 48ch; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.ap-feat__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.ap-feat__by { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.ap-feat__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #0E1318;
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ap-av {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #1679BE, #0A4F80);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.ap-list {
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 19, 24, 0.06), 0 30px 60px -42px rgba(10, 40, 70, 0.38);
}
.ap-list li + li { border-top: 1px solid #EBEFF3; }
.ap-item {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 22px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.ap-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #3FB4E6, #B6CD20);
  transform: scaleY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ap-item__img { display: block; width: 68px; height: 68px; border-radius: 14px; overflow: hidden; background: #E9EEF3; transition: box-shadow 0.3s ease; }
.ap-item__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.ap-item__img--cut { background: linear-gradient(160deg, #FFFFFF, #E8F0F6); }
.ap-item__img--cut img { object-fit: contain; padding: 6px; }
.ap-item__body { display: flex; flex-direction: column; min-width: 0; }
.ap-item__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #0A5F9A; }
.ap-item__title { margin: 5px 0 3px; font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; color: #0E1318; transition: color 0.25s ease; }
.ap-item__by { font-size: 13px; color: #5F6B78; }
.ap-item__go { color: #B4BEC9; transition: color 0.3s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.ap-item:focus-visible { outline: 2px solid #0A5F9A; outline-offset: -2px; }
.ap-item[aria-current="true"] { background: linear-gradient(90deg, #EEF6FC, #F7FBFE); }
.ap-item[aria-current="true"]::before { transform: none; }
.ap-item[aria-current="true"] .ap-item__title { color: #0A5F9A; }
.ap-item[aria-current="true"] .ap-item__img { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3FB4E6; }
.ap-item[aria-current="true"] .ap-item__go { color: #0A5F9A; }
@media (hover: hover) and (pointer: fine) {
  .ap-feat:hover .ap-feat__img:not(.is-cut) { transform: scale(1.05); }
  .ap-feat:hover .ap-feat__cta { background: #3FB4E6; color: #fff; }
  .ap-item:not([aria-current="true"]):hover { background: #F5F9FC; }
  .ap-item:hover .ap-item__img img { transform: scale(1.07) rotate(-2deg); }
  .ap-item:hover .ap-item__title { color: #0A5F9A; }
  .ap-item:not([aria-current="true"]):hover .ap-item__go { color: #0A5F9A; transform: translateX(-3px); }
}
@media (max-width: 900px) {
  .ap-mag { grid-template-columns: 1fr; }
  .ap-feat { min-height: 480px; }
  .ap-item { grid-template-columns: 60px minmax(0, 1fr) 20px; gap: 14px; padding: 12px 12px; }
  .ap-item__img { width: 60px; height: 60px; }
  .ap-item__title { font-size: 15px; }
  .ap-item__go { transform: rotate(90deg); }
  .ap-item:not([aria-current="true"]):hover .ap-item__go { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ap-feat__img, .ap-feat__body, .ap-item__img img, .ap-item__go, .ap-item::before { transition: none; }
}

/* ── Fondo claro premium (como el index): sobre el gris de la página, un halo azul
   difuminado arriba y un toque lima abajo a la izquierda. Los halos se apagan antes
   de los bordes de la sección, así las uniones con el hero y el Cotiza no cambian. ── */
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-section:not(.pg-section--dark) { isolation: isolate; }
:is(.pg--servicios, .pg--aprende, .pg--idi) .pg-section:not(.pg-section--dark)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(min(1100px, 90vw) 420px at 50% 440px, rgba(63, 180, 230, 0.14) 0%, rgba(63, 180, 230, 0.05) 40%, rgba(63, 180, 230, 0) 70%),
    radial-gradient(min(620px, 70vw) 320px at 6% calc(100% - 300px), rgba(182, 205, 32, 0.11) 0%, rgba(182, 205, 32, 0) 70%);
}

/* ── Aprende · Guía de selección: selector de vidrio + vitrina ── */
.gv.pg-guide { display: block; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.gv .pg-tabpanel { padding: 0; }
.gv .pg-tabpanel:not([hidden]) { animation: none; }
.gv-seg.pg-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 6px;
  border: 0;
  border-radius: 28px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 0 0 1px rgba(14, 19, 24, 0.07), 0 20px 40px -30px rgba(10, 40, 70, 0.45), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
.gv-ind {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, #1679BE, #0A4F80);
  box-shadow: 0 8px 20px -8px rgba(10, 95, 154, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), width 0.5s cubic-bezier(0.22, 1, 0.36, 1), height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gv-ind.is-instant { transition: none; }
.gv .pg-tab {
  position: relative;
  z-index: 1;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: #33404D;
  background: transparent;
  box-shadow: none;
  transition: color 0.3s ease;
}
.gv .pg-tab[aria-selected="true"] { color: #fff; background: transparent; box-shadow: none; }
.gv .pg-tab:not([aria-selected="true"]):hover { color: #0A5F9A; }
.gv .pg-tab:focus-visible { outline: 2px solid #3FB4E6; outline-offset: 2px; }
.js .gv:not(.has-ind) .pg-tab[aria-selected="true"] { background: #0A5F9A; } /* antes de que el indicador se ubique */

.gv-stage { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.gv .pg-tabpanel:not([hidden]) .gv-stage > * { animation: gv-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.gv .pg-tabpanel:not([hidden]) .gv-side { animation-delay: 0.08s; }
@keyframes gv-rise { from { opacity: 0; transform: translateY(14px); } }

.gv-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  min-height: 440px;
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  background: #0B1724;
  box-shadow: 0 40px 80px -44px rgba(10, 40, 70, 0.65);
}
.gv-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.gv-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 12, 21, 0) 28%, rgba(5, 12, 21, 0.55) 60%, rgba(5, 12, 21, 0.9)); }
.gv-hero__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 34px); }
.gv-badge {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.gv-hero__title { margin: 14px 0 8px; font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.gv-hero__text { max-width: 44ch; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.gv-hero__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #0E1318;
  background: #fff;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.gv-hero:focus-visible { outline: 3px solid #3FB4E6; outline-offset: 3px; }

.gv-side { display: flex; flex-direction: column; gap: 14px; }
.gv-need {
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(155deg, #FFFFFF 0%, #EEF6FB 60%, #E8F2E5 100%);
  box-shadow: 0 0 0 1px rgba(14, 19, 24, 0.06);
}
.gv-need__k, .gv-mini__k { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #0A5F9A; }
.gv-need__t { margin-top: 8px; font-size: clamp(22px, 2vw, 27px); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: #0E1318; }
.gv-need__p { margin-top: 6px; line-height: 1.6; color: #4A5562; }
.gv-mini {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 19, 24, 0.06), 0 20px 40px -34px rgba(10, 40, 70, 0.45);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.gv-mini__img { display: block; width: 104px; height: 78px; overflow: hidden; border-radius: 12px; background: #E9EEF3; }
.gv-mini__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.gv-mini__body { display: flex; flex-direction: column; min-width: 0; }
.gv-mini__t { margin: 4px 0 2px; font-size: 17px; font-weight: 800; color: #0E1318; }
.gv-mini__p { font-size: 14px; line-height: 1.45; color: #4A5562; }
.gv-mini > svg { color: #0A5F9A; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.gv-mini:focus-visible { outline: 2px solid #0A5F9A; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .gv-hero:hover img { transform: scale(1.05); }
  .gv-hero:hover .gv-hero__go { background: #3FB4E6; color: #fff; }
  .gv-mini:hover { transform: translateX(4px); box-shadow: 0 0 0 1px rgba(10, 95, 154, 0.14), 0 26px 46px -34px rgba(10, 60, 110, 0.55); }
  .gv-mini:hover .gv-mini__img img { transform: scale(1.07); }
  .gv-mini:hover > svg { transform: translateX(3px); }
}

/* ── Aprende · Glosario: buscador, filtros por tema y términos con monograma ── */
.gl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.gl-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  padding: 0 18px;
  border-radius: 999px;
  color: #5F6B78;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 1px rgba(14, 19, 24, 0.08), 0 16px 34px -26px rgba(10, 40, 70, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s ease;
}
.gl-search:focus-within { box-shadow: 0 0 0 2px #3FB4E6, 0 16px 34px -26px rgba(10, 40, 70, 0.45); }
.gl-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font: 500 16px/1.2 Inter, system-ui, sans-serif; color: #0E1318; }
.gl-search input::placeholder { color: #6B7683; }
.gl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-chip {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  font: 600 13px/1 Inter, system-ui, sans-serif;
  color: #33404D;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(14, 19, 24, 0.09);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.gl-chip[aria-pressed="true"] { color: #fff; background: #0E1318; box-shadow: none; }
.gl-chip:not([aria-pressed="true"]):hover { color: #0A5F9A; background: #fff; }
.gl-chip:focus-visible { outline: 2px solid #0A5F9A; outline-offset: 2px; }
.gl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; border-top: 1px solid rgba(14, 19, 24, 0.12); }
.gl-term { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(14, 19, 24, 0.12); }
.gl-term::before {
  content: attr(data-mono);
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0A5F9A;
  background: linear-gradient(160deg, #FFFFFF, #E6F1F9);
  box-shadow: inset 0 0 0 1px rgba(10, 95, 154, 0.12);
}
.gl-term[hidden] { display: none; }
.gl-term dt { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #0E1318; }
.gl-cat { margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #5E7410; vertical-align: 3px; }
.gl-term dd { margin: 6px 0 0; line-height: 1.6; color: #4A5562; }
.gl-term mark { padding: 0 2px; border-radius: 3px; color: inherit; background: rgba(182, 205, 32, 0.35); }
.gl-empty { padding: 30px 0; color: #5F6B78; }

@media (max-width: 900px) {
  .gv-seg.pg-tabs { flex-wrap: nowrap; justify-content: flex-start; width: 100%; overflow-x: auto; border-radius: 22px; scrollbar-width: none; }
  .gv-seg.pg-tabs::-webkit-scrollbar { display: none; }
  .gv-stage { grid-template-columns: 1fr; }
  .gv-hero { min-height: 400px; }
  .gv-mini { grid-template-columns: 84px minmax(0, 1fr) 18px; gap: 12px; }
  .gv-mini__img { width: 84px; height: 64px; }
  .gl-grid { grid-template-columns: 1fr; }
  .gl-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .gl-chip { flex: none; }
}
@media (max-width: 520px) {
  .gl-term { grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; }
  .gl-term::before { width: 46px; height: 46px; border-radius: 13px; font-size: 16px; }
  .gl-cat { display: block; margin: 4px 0 0; vertical-align: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gv-ind, .gv-hero img, .gv-mini, .gv-mini__img img, .gv-mini > svg { transition: none; }
  .gv .pg-tabpanel:not([hidden]) .gv-stage > * { animation: none; }
}
