/* src/css/contacto.css — Página de contacto (rediseño 2026)
   Hero: artboard 1440×720 portado a vanilla. Diseño Claude Design (Variante C).
   ============================================================================= */

/* =========================================================
   §1 HERO — Hablemos. Como vos prefieras.
   ========================================================= */

.ct-hero {
  position: relative;
  width: 100%;
  min-height: clamp(760px, 60vw, 880px);
  background: var(--color-dark-deep);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

/* SVG de fondo — anclado al top, escala proporcional al ancho (viewBox 1440×720).
   La sección es más alta que el SVG: el fondo oscuro se extiende por debajo. */
.ct-hero__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* Grid de fondo */
.ct-hero__grid line {
  stroke: rgba(232, 236, 236, 0.18);
  stroke-width: 1;
}

/* Watermark del logo — fade in al montar */
.ct-hero__watermark {
  opacity: 0;
  transition: opacity 1.2s ease 0.3s;
}
.ct-hero.is-mounted .ct-hero__watermark {
  opacity: 0.22;
}

/* Branches — líneas con stroke-dashoffset animado */
.ct-hero__line {
  fill: none;
  stroke-width: 1.4;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.ct-hero.is-mounted .ct-hero__branch--01 .ct-hero__line { transition-delay: 0.40s; stroke-dashoffset: 0; }
.ct-hero.is-mounted .ct-hero__branch--02 .ct-hero__line { transition-delay: 0.58s; stroke-dashoffset: 0; }
.ct-hero.is-mounted .ct-hero__branch--03 .ct-hero__line { transition-delay: 0.76s; stroke-dashoffset: 0; }
.ct-hero.is-mounted .ct-hero__branch--04 .ct-hero__line { transition-delay: 0.94s; stroke-dashoffset: 0; }

/* Endpoint dots */
.ct-hero__dot {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.ct-hero.is-mounted .ct-hero__branch--01 .ct-hero__dot { transition-delay: 1.20s; opacity: 1; }
.ct-hero.is-mounted .ct-hero__branch--02 .ct-hero__dot { transition-delay: 1.35s; opacity: 1; }
.ct-hero.is-mounted .ct-hero__branch--03 .ct-hero__dot { transition-delay: 1.50s; opacity: 1; }
.ct-hero.is-mounted .ct-hero__branch--04 .ct-hero__dot { transition-delay: 1.65s; opacity: 1; }

.ct-hero__branch--01 .ct-hero__dot { filter: drop-shadow(0 0 10px rgba(242, 168, 0, 0.8)); }
.ct-hero__branch--02 .ct-hero__dot { filter: drop-shadow(0 0 10px rgba(91, 192, 197, 0.8)); }
.ct-hero__branch--03 .ct-hero__dot { filter: drop-shadow(0 0 10px rgba(95, 212, 133, 0.8)); }
.ct-hero__branch--04 .ct-hero__dot { filter: drop-shadow(0 0 10px rgba(232, 236, 236, 0.8)); }

/* Branch groups — transición de opacidad al seleccionar camino */
.ct-hero__branch {
  transition: opacity 0.35s ease;
}
.ct-hero__branch.is-dimmed {
  opacity: 0.25;
}

/* Partículas que viajan por el path */
.ct-hero__particle {
  opacity: 0;
  transition: opacity 0.6s ease 1.4s;
}
.ct-hero.is-mounted .ct-hero__particle { opacity: 1; }
.ct-hero__branch--01 .ct-hero__particle { filter: drop-shadow(0 0 4px var(--hs-yellow)); }
.ct-hero__branch--02 .ct-hero__particle { filter: drop-shadow(0 0 4px #5BC0C5); }
.ct-hero__branch--03 .ct-hero__particle { filter: drop-shadow(0 0 4px #5FD485); }
.ct-hero__branch--04 .ct-hero__particle { filter: drop-shadow(0 0 4px #E8ECEC); }

/* Endpoint labels (SVG <text>) — heredan el sistema de coords del SVG */
.ct-hero__label-num,
.ct-hero__label-name {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.ct-hero.is-mounted .ct-hero__branch--01 .ct-hero__label-num,
.ct-hero.is-mounted .ct-hero__branch--01 .ct-hero__label-name { transition-delay: 1.30s; opacity: 1; }
.ct-hero.is-mounted .ct-hero__branch--02 .ct-hero__label-num,
.ct-hero.is-mounted .ct-hero__branch--02 .ct-hero__label-name { transition-delay: 1.45s; opacity: 1; }
.ct-hero.is-mounted .ct-hero__branch--03 .ct-hero__label-num,
.ct-hero.is-mounted .ct-hero__branch--03 .ct-hero__label-name { transition-delay: 1.60s; opacity: 1; }
.ct-hero.is-mounted .ct-hero__branch--04 .ct-hero__label-num,
.ct-hero.is-mounted .ct-hero__branch--04 .ct-hero__label-name { transition-delay: 1.75s; opacity: 1; }

.ct-hero__label-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.ct-hero__label-name {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  fill: var(--color-white);
}

/* ── Contenido HTML overlay (izquierda) ────────────────── */

.ct-hero__content {
  position: absolute;
  left: clamp(1.5rem, 5vw, 4.5rem);
  right: clamp(1.5rem, 5vw, 4.5rem);
  top: clamp(7rem, 14vw, 10.5rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 720px;
  pointer-events: none;
}
.ct-hero__content > * { pointer-events: auto; }

.ct-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white-70);
  margin: 0;
}

.ct-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFD96B;
  box-shadow: 0 0 12px rgba(255, 217, 107, 0.8);
  flex-shrink: 0;
}

.ct-hero__heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}

.ct-hero__heading em {
  font-style: italic;
  font-weight: 600;
  color: var(--hs-yellow);
}

.ct-hero__sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.78);
  max-width: 48ch;
  margin: 0;
}

/* Stats horizontales con dividers verticales */
.ct-hero__stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 0.5rem;
}

.ct-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-hero__stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white-50);
}

.ct-hero__stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.375rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.ct-hero__stat-value--accent {
  color: #FFD96B;
}

.ct-hero__divider {
  width: 1px;
  height: 36px;
  background: rgba(250, 250, 248, 0.18);
  flex-shrink: 0;
}

/* ── Caption inferior derecha ────────────────────────── */

.ct-hero__caption {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(2rem, 4vw, 3.5rem);
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.42);
  max-width: 220px;
  line-height: 1.7;
  z-index: 3;
}

.ct-hero__caption-line {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255, 217, 107, 0.4);
  margin-left: auto;
  margin-bottom: 10px;
}

/* ── Reduced motion ──────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .ct-hero__watermark,
  .ct-hero__line,
  .ct-hero__dot,
  .ct-hero__particle,
  .ct-hero__label-num,
  .ct-hero__label-name {
    transition: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
  .ct-hero__watermark { opacity: 0.22 !important; }
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 960px) {
  .ct-hero {
    min-height: 720px;
    padding-block: clamp(7rem, 14vw, 10rem) clamp(3rem, 6vw, 5rem);
  }

  /* En tablet/mobile, las posiciones SVG (que apuntan a la derecha) se descolocan;
     dejamos el SVG visible pero recortado por slice. El contenido pasa a flow normal. */
  .ct-hero__content {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    max-width: 720px;
  }

  .ct-hero__caption {
    position: relative;
    right: 0;
    bottom: 0;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    text-align: left;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    max-width: 720px;
  }

  .ct-hero__caption-line {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .ct-hero__stats {
    gap: 1rem;
  }
  .ct-hero__divider {
    display: none;
  }
  .ct-hero__stat {
    flex-basis: 100%;
  }
}

/* =========================================================
   §2 INTENT ROUTER — Elegí tu camino
   ========================================================= */

.ct-intent-router {
  background: var(--hs-bg);
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
}

/* Header row */
.ct-router-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.ct-router-header__left {
  max-width: 620px;
}

.ct-router-header__left .hs-eyebrow {
  display: block;
}

.ct-router-header__heading {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 20px;
  color: var(--hs-ink);
}

.ct-router-header__heading em {
  font-style: italic;
  color: var(--hs-ink-45);
}

.ct-router-header__desc {
  max-width: 36ch;
  color: var(--hs-ink-60);
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 12px;
  margin: 0;
}

/* Grid de tiles */
.ct-router-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1fr 1fr;
  gap: 18px;
}

/* ── Tile base ─────────────────────────────── */
.ct-intent {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 26px;
  border-radius: 18px;
  border: 1px solid var(--hs-line-light);
  background: var(--color-white);
  cursor: pointer;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .25s ease,
    background .25s ease;
  text-align: left;
  min-height: 240px;
  overflow: hidden;
  isolation: isolate;
  /* Reset button defaults */
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.ct-intent:hover {
  transform: translateY(-4px);
  border-color: var(--hs-ink);
  box-shadow: 0 18px 40px rgba(15, 16, 16, 0.08);
}

.ct-intent:focus-visible {
  outline: 2px solid var(--hs-teal);
  outline-offset: 3px;
}

.ct-intent.is-active {
  border-color: var(--hs-ink);
  box-shadow: 0 0 0 2px var(--hs-ink), 0 22px 50px var(--hs-ink-12);
  transform: translateY(-4px);
}

.ct-intent.is-active::after {
  content: '';
  position: absolute;
  inset: auto auto -40% -20%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 168, 0, 0.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ── Variantes ──────────────────────────────── */
.ct-intent--hot {
  background: var(--color-white);
  border-color: var(--hs-line-light);
  color: var(--hs-ink);
  min-height: 280px;
}

.ct-intent--hot:hover {
  background: var(--hs-yellow);
  border-color: var(--hs-yellow);
}

.ct-intent--hot.is-active {
  background: var(--hs-yellow);
  border-color: var(--hs-yellow);
  box-shadow: 0 0 0 2px var(--hs-ink), 0 22px 50px rgba(242, 168, 0, 0.35);
}

/* cold, wa, mail: misma base var(--color-white) */
.ct-intent--cold,
.ct-intent--wa,
.ct-intent--mail {
  background: var(--color-white);
}

/* ── Número ─────────────────────────────────── */
.ct-intent .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--hs-ink-45);
  text-transform: uppercase;
}

.ct-intent--hot:hover .num,
.ct-intent--hot.is-active .num {
  color: rgba(15, 16, 16, 0.55);
}

/* ── Badge "Lead caliente" ──────────────────── */
.ct-intent__badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--hs-ink);
  color: var(--hs-yellow);
  padding: 4px 8px;
  border-radius: 4px;
}

/* ── Header del tile (número + badge) ─────── */
.ct-intent__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* ── Título y subtítulo ─────────────────────── */
.ct-intent .ttl {
  font-family: var(--hs-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 14px;
  color: var(--hs-ink);
}

.ct-intent .sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--hs-ink-60);
  margin-top: 10px;
}

.ct-intent--hot:hover .sub,
.ct-intent--hot.is-active .sub {
  color: rgba(15, 16, 16, 0.72);
}

/* ── Pie del tile ──────────────────────────── */
.ct-intent .foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hs-ink-60);
  margin-top: 24px;
}

.ct-intent--hot:hover .foot,
.ct-intent--hot.is-active .foot {
  color: rgba(15, 16, 16, 0.7);
}

.ct-intent .foot .arrow {
  transition: transform .3s ease;
}

.ct-intent:hover .foot .arrow {
  transform: translateX(4px);
}

/* ── Ícono en esquina ──────────────────────── */
.ct-intent__icon {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  opacity: 0.5;
  pointer-events: none;
}

/* ── Indicador de camino elegido ───────────── */
.ct-router-status {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1100px) {
  .ct-intent-router {
    padding: 80px 40px 60px;
  }

  .ct-router-header__heading {
    font-size: 44px;
  }

  .ct-router-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ct-intent--hot {
    grid-column: 1 / -1;
    min-height: 200px;
  }
}

@media (max-width: 640px) {
  .ct-intent-router {
    padding: 60px 20px 48px;
  }

  .ct-router-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .ct-router-header__heading {
    font-size: 36px;
  }

  .ct-router-grid {
    grid-template-columns: 1fr;
  }

  .ct-intent--hot {
    grid-column: auto;
    min-height: 240px;
  }
}

/* ── prefers-reduced-motion ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ct-intent {
    transition: none;
  }

  .ct-intent .foot .arrow {
    transition: none;
  }
}

/* =========================================================
   §3 FORM SECTION — Dinámica según camino
   ========================================================= */

/* ── Animaciones ─────────────────────────── */

@keyframes ctSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ctPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 168, 0, 0.5), 0 6px 20px rgba(242, 168, 0, 0.25); }
  60%       { box-shadow: 0 0 0 12px rgba(242, 168, 0, 0), 0 6px 20px rgba(242, 168, 0, 0.25); }
}

.ct-slide-in {
  animation: ctSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ct-pulse {
  animation: ctPulse 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ct-slide-in { animation: none; opacity: 1; }
  .ct-pulse    { animation: none; }
}

/* ── Sección outer ───────────────────────── */

.ct-form-section {
  background: var(--hs-bg);
  padding: 40px var(--section-pad-x) var(--section-pad-y);
}

/* ── Placeholder (sin camino) ────────────── */

.ct-form-placeholder {
  background: var(--hs-bg-alt);
  border-radius: 20px;
  padding: 80px 60px;
  text-align: center;
  border: 1px dashed var(--hs-line-light);
}

.ct-form-placeholder__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--hs-ink-45);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ct-form-placeholder__heading {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--hs-ink-45);
  line-height: 1.25;
}

/* ── Card del form ───────────────────────── */

.ct-form-card {
  background: var(--color-white);
  border-radius: 24px;
  border: 1px solid var(--hs-line-light);
  box-shadow: 0 22px 60px var(--hs-ink-06);
  overflow: hidden;
}

/* ── Top bar ─────────────────────────────── */

.ct-form-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--hs-ink);
  color: var(--color-white);
}

.ct-form-topbar__info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ct-form-topbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ct-form-topbar__path-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.55);
}

.ct-form-topbar__path-title {
  font-family: var(--hs-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.ct-form-topbar__change {
  background: transparent;
  border: 1px solid rgba(250, 250, 248, 0.25);
  color: rgba(250, 250, 248, 0.75);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ct-form-topbar__change:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

.ct-form-topbar__change:focus-visible {
  outline: 2px solid var(--hs-teal);
  outline-offset: 3px;
}

/* ── Form body ───────────────────────────── */

.ct-form-body {
  padding: 48px 56px 56px;
}

/* ── Panels ──────────────────────────────── */

.ct-panel__intro {
  font-size: 15px;
  color: var(--hs-ink-60);
  line-height: 1.65;
  margin-top: -10px;
  margin-bottom: 32px;
  max-width: 60ch;
}

/* ── Section title ───────────────────────── */

.ct-section-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hs-line-light);
}

.ct-section-title__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hs-yellow);
  flex-shrink: 0;
}

.ct-section-title__heading {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  flex: 1;
  color: var(--hs-ink);
}

.ct-section-title__sub {
  font-size: 12px;
  color: var(--hs-ink-45);
  flex-shrink: 0;
}

/* ── Form controls ───────────────────────── */

.ct-fields {
  display: grid;
  gap: 20px;
}

.ct-field {
  display: flex;
  flex-direction: column;
}

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

.ct-field-row--2-1 {
  grid-template-columns: 2fr 1fr;
}

.ct-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hs-ink-60);
  margin-bottom: 8px;
  display: block;
}

.ct-req {
  color: var(--hs-teal);
  margin-left: 2px;
}

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1.5px solid var(--hs-line-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--hs-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: var(--hs-ink-45);
}

.ct-input:focus:not(:focus-visible),
.ct-select:focus:not(:focus-visible),
.ct-textarea:focus:not(:focus-visible) {
  outline: none;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  border-color: var(--hs-ink);
  box-shadow: 0 0 0 3px rgba(15, 16, 16, 0.08);
}

.ct-input:focus-visible,
.ct-select:focus-visible,
.ct-textarea:focus-visible {
  outline: 2px solid var(--hs-teal);
  outline-offset: 2px;
}

.ct-input[aria-invalid="true"],
.ct-select[aria-invalid="true"],
.ct-textarea[aria-invalid="true"] {
  border-color: #C73A2A;
  box-shadow: 0 0 0 3px rgba(199, 58, 42, 0.1);
}

.ct-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.ct-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.ct-textarea--short {
  min-height: 96px;
}

.ct-hint {
  font-size: 12px;
  color: var(--hs-ink-45);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── Choice buttons ──────────────────────── */

.ct-choices {
  display: grid;
  gap: 10px;
}

.ct-choices--2 { grid-template-columns: 1fr 1fr; }
.ct-choices--3 { grid-template-columns: repeat(3, 1fr); }

.ct-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1.5px solid var(--hs-line-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--hs-ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  line-height: 1.4;
}

.ct-choice:hover {
  border-color: var(--hs-ink-45);
}

.ct-choice:focus-visible {
  outline: 2px solid var(--hs-teal);
  outline-offset: 2px;
}

.ct-choice__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--hs-ink-45);
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-choice.is-selected {
  border-color: var(--hs-ink);
  background: var(--hs-ink);
  color: var(--color-white);
}

.ct-choice.is-selected .ct-choice__dot {
  background: var(--color-white);
  border-color: var(--color-white);
}

/* ── Tech cards (paso 2) ─────────────────── */

.ct-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ct-tech-card {
  padding: 20px 22px;
  border-radius: 12px;
  border: 1.5px solid var(--hs-line-light);
  background: var(--color-white);
  color: var(--hs-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.ct-tech-card:hover {
  border-color: var(--hs-ink-45);
}

.ct-tech-card:focus-visible {
  outline: 2px solid var(--hs-teal);
  outline-offset: 2px;
}

.ct-tech-card.is-selected {
  border-color: var(--hs-ink);
  background: var(--hs-ink);
  color: var(--color-white);
}

.ct-tech-card__name {
  font-family: var(--hs-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ct-tech-card__desc {
  font-size: 13px;
  margin-top: 6px;
  opacity: 0.7;
  line-height: 1.5;
}

/* ── Sub-panels condicionales ────────────── */

.ct-sub-panel {
  background: var(--hs-bg-alt);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 20px;
}

.ct-sub-panel--inner {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 4px;
}

.ct-sub-panel__note {
  font-size: 13px;
  color: var(--hs-ink-60);
  margin: 0;
  line-height: 1.55;
}

/* ── Hybrid checkbox toggle ──────────────── */

.ct-hybrid-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  background: var(--color-white);
  border: 1.5px solid var(--hs-line-light);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  user-select: none;
  width: 100%;
}

.ct-hybrid-check:hover {
  border-color: var(--hs-ink-45);
}

.ct-hybrid-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ct-hybrid-check__box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--hs-ink-45);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ct-hybrid-check__box::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 8px;
  border: 1.5px solid var(--color-white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ct-hybrid-check:has(input:checked) {
  border-color: var(--hs-teal);
}

.ct-hybrid-check:has(input:checked) .ct-hybrid-check__box {
  background: var(--hs-teal);
  border-color: var(--hs-teal);
}

.ct-hybrid-check:has(input:checked) .ct-hybrid-check__box::after {
  opacity: 1;
}

.ct-hybrid-check__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-hybrid-check__q {
  font-size: 14px;
  font-weight: 500;
  color: var(--hs-ink);
  line-height: 1.4;
}

.ct-hybrid-check__sub {
  font-size: 12px;
  color: var(--hs-ink-45);
  line-height: 1.45;
}

/* ── Validation ─────────────────────────── */

.ct-input.is-error,
.ct-select.is-error {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.10);
}

.ct-choices.is-error,
.ct-tech-grid.is-error,
.ct-compass-grid.is-error {
  border-radius: 10px;
  outline: 2px solid #C0392B;
  outline-offset: 3px;
}

.ct-form-error {
  font-size: 13px;
  color: #C0392B;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  min-height: 20px;
  line-height: 1.4;
}

.ct-form-error:not([hidden])::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #C0392B;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

@keyframes ct-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.ct-shake { animation: ct-shake 0.35s ease; }

/* ── Stepper ─────────────────────────────── */

.ct-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
  row-gap: 12px;
}

.ct-stepper__step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
}

.ct-stepper__step:disabled {
  cursor: default;
}

.ct-stepper__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
  font-weight: 500;
  transition: color 0.2s ease;
}

.ct-stepper__step:not(:disabled) .ct-stepper__label {
  color: var(--hs-ink);
  font-weight: 600;
}

.ct-stepper__line {
  flex: 0 0 36px;
  height: 1px;
  background: var(--hs-line-light);
  margin: 0 16px;
}

.ct-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--hs-line-light);
  background: var(--color-white);
  color: var(--hs-ink-45);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ct-step-dot.is-current {
  background: var(--hs-ink);
  border-color: var(--hs-ink);
  color: var(--color-white);
}

/* CHECK: not found in HTML — may be JS-applied to .ct-stepper__step */
.ct-dot-current .ct-stepper__label {
  color: var(--hs-ink);
  font-weight: 600;
}

.ct-step-dot.is-done {
  background: var(--hs-teal);
  border-color: var(--hs-teal);
  color: var(--color-white);
}

/* ── Progress bar ────────────────────────── */

.ct-progress {
  height: 3px;
  background: var(--hs-line-light);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 40px;
}

.ct-progress__fill {
  height: 100%;
  width: 25%;
  background: var(--hs-yellow);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Compass ─────────────────────────────── */

.ct-compass-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 16px;
}

.ct-compass-col {
  display: flex;
  flex-direction: column;
}

.ct-compass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 200px;
}

.ct-compass-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 8px;
  border: 1.5px solid var(--hs-line-light);
  background: var(--color-white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--hs-ink-60);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ct-compass-cell:hover {
  border-color: var(--hs-ink-45);
  color: var(--hs-ink);
}

.ct-compass-cell:focus-visible {
  outline: 2px solid var(--hs-teal);
  outline-offset: 2px;
}

.ct-compass-cell.is-selected {
  background: var(--hs-ink);
  border-color: var(--hs-ink);
  color: var(--color-white);
}

.ct-compass-center {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  color: var(--hs-ink-45);
}

.ct-compass-hint-col {
  font-size: 14px;
  color: var(--hs-ink-60);
  line-height: 1.65;
}

.ct-compass-hint-col p { margin: 0; }
.ct-compass-hint-col strong { color: var(--hs-ink); }

.ct-compass-selection {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--hs-yellow);
  margin-top: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Form nav (botones prev/next) ────────── */

.ct-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--hs-line-light);
  gap: 16px;
}

.ct-form-nav--single {
  flex-wrap: wrap;
}

.ct-form-nav__disclaimer {
  font-size: 12px;
  color: var(--hs-ink-45);
  max-width: 360px;
  margin: 0;
  line-height: 1.5;
}

.ct-form-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--hs-ink-45);
  margin-top: 24px;
  text-transform: uppercase;
}

/* ── Success states ──────────────────────── */

.ct-success {
  padding: 64px 8px;
  text-align: center;
}

.ct-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.ct-success__icon--yellow { background: var(--hs-yellow); }
.ct-success__icon--teal   { background: var(--hs-teal); }

.ct-success__heading {
  font-size: 36px;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  color: var(--hs-ink);
}

.ct-success__sub {
  font-size: 16px;
  color: var(--hs-ink-60);
  margin-top: 14px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.ct-success__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--hs-ink-12);
}

.ct-success__meanwhile {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--hs-ink-45);
  margin: 0;
}

.ct-success__explore {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ct-success__explore-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--hs-ink-60);
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid var(--hs-line-light);
  border-radius: 8px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ct-success__explore-link:hover {
  border-color: var(--hs-ink-45);
  color: var(--hs-ink);
}

/* ── Two-col panels (WA y Mail) ──────────── */

.ct-panel-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}

/* ── WhatsApp preview ────────────────────── */

.ct-wa-bubble {
  background: #E5F5DC;
  border-radius: 4px 18px 18px 18px;
  padding: 16px 18px;
  border: 1px solid rgba(37, 168, 82, 0.18);
  box-shadow: 0 6px 24px rgba(15, 16, 16, 0.04);
  margin-bottom: 18px;
}

.ct-wa-bubble__header {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  color: #1A8C3E;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.ct-wa-bubble__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--hs-ink);
  margin: 0;
  min-height: 60px;
}

.ct-wa-bubble__time {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--hs-ink-45);
  margin-top: 12px;
  text-align: right;
}

.ct-wa-launch {
  width: 100%;
  background: #1A8C3E;
  color: var(--color-white);
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.ct-wa-launch:hover { background: #157A35; }

.ct-wa-number {
  font-size: 11px;
  color: var(--hs-ink-45);
  text-align: center;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Mail preview ────────────────────────── */

.ct-mail-card {
  background: var(--color-white);
  border: 1px solid var(--hs-line-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15, 16, 16, 0.04);
  margin-bottom: 18px;
}

.ct-mail-card__header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hs-line-light);
  background: var(--hs-bg-alt);
}

.ct-mail-card__meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--hs-ink-45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ct-mail-card__meta { color: var(--hs-ink-45); }

.ct-mail-card__to {
  font-size: 13px;
  font-weight: 600;
  color: var(--hs-ink);
}

.ct-mail-card__subject-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hs-line-light);
}

.ct-mail-card__label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--hs-ink-45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ct-mail-card__subject {
  font-size: 14px;
  color: var(--hs-ink);
  font-weight: 500;
}

.ct-mail-card__body { padding: 16px 18px; }

.ct-mail-card__pre {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.55;
  color: var(--hs-ink-60);
  margin: 0;
  white-space: pre-wrap;
  min-height: 80px;
}

.ct-mail-launch {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  font-size: 15px;
  text-decoration: none;
  border-radius: 10px;
}

.ct-mail-clients {
  font-size: 11px;
  color: var(--hs-ink-45);
  text-align: center;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 1100px) {
  .ct-form-section { padding: 32px 40px 100px; }
  .ct-form-body    { padding: 40px 40px 48px; }
  .ct-compass-wrapper { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .ct-form-section { padding: 24px 20px 80px; }
  .ct-form-body    { padding: 32px 24px 40px; }
  .ct-form-topbar  { padding: 16px 24px; }

  .ct-panel-cols     { grid-template-columns: 1fr; }
  .ct-tech-grid      { grid-template-columns: 1fr; }
  .ct-field-row,
  .ct-field-row--2-1 { grid-template-columns: 1fr; }
  .ct-choices--3     { grid-template-columns: 1fr; }
  .ct-choices--2     { grid-template-columns: 1fr; }

  .ct-stepper { gap: 8px; }
  .ct-stepper__line { flex: 0 0 20px; margin: 0 8px; }
  .ct-stepper__label { display: none; }

  .ct-form-placeholder { padding: 48px 24px; }
  .ct-form-placeholder__heading { font-size: 28px; }

  .ct-form-nav--single { flex-direction: column; align-items: stretch; }
  .ct-form-nav--single .hs-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-progress__fill { transition: none; }
  .ct-choice,
  .ct-tech-card,
  .ct-compass-cell { transition: none; }
}

/* =========================================================
   §4 SUCURSALES + CONTACTO DIRECTO
   ========================================================= */

.ct-sucursales {
  background: var(--hs-bg-alt);
  padding: var(--section-pad-y) var(--section-pad-x);
}

/* ── Header ──────────────────────────────── */

.ct-suc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.ct-suc-header .hs-eyebrow {
  display: block;
}

.ct-suc-heading {
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-top: 20px;
  max-width: 14ch;
  color: var(--hs-ink);
}

.ct-suc-intro {
  max-width: 36ch;
  color: var(--hs-ink-60);
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 12px;
  margin: 0;
}

/* ── Canales directos ────────────────────── */

.ct-direct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.ct-direct {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--hs-line-light);
  border-radius: 12px;
  background: var(--color-white);
  text-decoration: none;
  color: var(--hs-ink);
  transition: border-color .2s ease, transform .2s ease;
}

.ct-direct:hover {
  border-color: var(--hs-ink);
  transform: translateY(-2px);
}

.ct-direct:focus-visible {
  outline: 2px solid var(--hs-teal);
  outline-offset: 3px;
}

.ct-direct .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hs-ink-06);
  flex-shrink: 0;
}

.ct-direct--wa .ico {
  background: rgba(37, 168, 82, 0.12);
  color: #1A8C3E;
}

.ct-direct--wa {
  border-color: rgba(37, 168, 82, 0.30);
}

.ct-direct--wa:hover {
  border-color: #1A8C3E;
}

.ct-direct__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--hs-ink-45);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ct-direct__label--wa {
  color: #1A8C3E;
  font-weight: 600;
}

.ct-direct__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--hs-ink);
}

.ct-direct__value--sm {
  font-size: 14px;
}

/* ── Divisor "Sucursales" ────────────────── */

.ct-suc-divider {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.ct-suc-divider__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hs-ink-60);
  font-weight: 600;
  flex-shrink: 0;
}

.ct-suc-divider__line {
  flex: 1;
  height: 1px;
  background: var(--hs-line-light);
}

.ct-suc-divider__count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hs-ink-45);
  flex-shrink: 0;
}

/* ── Cards de sucursales ─────────────────── */

.ct-suc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ct-suc-card {
  background: var(--color-white);
  border: 1px solid var(--hs-line-light);
  border-radius: 14px;
  padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.ct-suc-card:hover {
  transform: translateY(-3px);
  border-color: var(--hs-ink);
  box-shadow: 0 16px 36px var(--hs-ink-06);
}

.ct-suc-card.is-main {
  background: var(--hs-ink);
  color: var(--color-white);
  border-color: var(--hs-ink);
}

.ct-suc-card.is-main .ct-suc-meta {
  color: rgba(250, 250, 248, 0.55);
}

.ct-suc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ct-suc-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--hs-ink-06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hs-teal);
  flex-shrink: 0;
}

.ct-suc-card__icon--main {
  background: rgba(242, 168, 0, 0.18);
  color: #FFD96B;
}

.ct-suc-card__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hs-ink-60);
  font-weight: 600;
  background: var(--hs-ink-06);
  padding: 4px 8px;
  border-radius: 4px;
}

.ct-suc-card__tag--main {
  color: #FFD96B;
  background: rgba(242, 168, 0, 0.18);
}

.ct-suc-card__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--hs-ink);
}

.ct-suc-card.is-main .ct-suc-card__name {
  color: var(--color-white);
}

.ct-suc-card__addr {
  font-size: 14px;
  line-height: 1.55;
  color: var(--hs-ink-60);
  margin-top: 8px;
  margin-bottom: 0;
}

.ct-suc-card.is-main .ct-suc-card__addr {
  color: rgba(250, 250, 248, 0.78);
}

.ct-suc-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--hs-ink-45);
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 1100px) {
  .ct-sucursales {
    padding: 80px 40px;
  }
}

@media (max-width: 960px) {
  .ct-direct-grid,
  .ct-suc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ct-sucursales {
    padding: 60px 20px;
  }

  .ct-suc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .ct-suc-heading {
    font-size: 36px;
  }

  .ct-direct-grid,
  .ct-suc-grid {
    grid-template-columns: 1fr;
  }
}

/* ── prefers-reduced-motion ──────────────── */

@media (prefers-reduced-motion: reduce) {
  .ct-suc-card,
  .ct-direct {
    transition: none;
  }
}

/* ============================================================= */
/* §5 CIERRE / CALLBACK                                          */
/* ============================================================= */

.ct-cierre {
  position: relative;
  overflow: hidden;
  background: var(--hs-dark-deep, var(--color-dark-deep));
  color: var(--color-white);
  padding: var(--section-pad-y) var(--section-pad-x);
}

.ct-cierre__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
}

.ct-cierre__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  max-width: 1440px;
  margin-inline: auto;
}

/* ── Copy ── */

.ct-cierre__heading {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--color-white);
  max-width: 18ch;
  margin-top: 20px;
}

.ct-cierre__heading em {
  font-style: normal;
  color: var(--color-yellow, #F2A800);
}

.ct-cierre__body {
  color: rgba(250, 250, 248, 0.68);
  font-size: 16px;
  line-height: 1.7;
  max-width: 52ch;
  margin-top: 24px;
}

/* ── Form ── */

.ct-cierre__form {
  display: grid;
  gap: 14px;
}

.ct-cierre__input,
.ct-cierre__select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(250, 250, 248, 0.06);
  border: 1px solid rgba(250, 250, 248, 0.18);
  border-radius: 10px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.ct-cierre__input:focus:not(:focus-visible),
.ct-cierre__select:focus:not(:focus-visible) {
  outline: none;
}

.ct-cierre__input:focus-visible,
.ct-cierre__select:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

.ct-cierre__input::placeholder {
  color: rgba(250, 250, 248, 0.4);
}

.ct-cierre__select {
  cursor: pointer;
  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='rgba(250,250,248,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.ct-cierre__select option {
  color: #000;
  background: #fff;
}

.ct-cierre__input:focus,
.ct-cierre__select:focus {
  border-color: var(--color-white-50);
}

.ct-cierre__submit {
  padding: 16px 28px;
  font-size: 15px;
  justify-content: center;
  width: 100%;
}

.ct-cierre__disclaimer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-white-50);
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  margin-top: 6px;
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .ct-cierre {
    padding: 80px 32px;
  }

  .ct-cierre__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .ct-cierre__heading {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}

@media (max-width: 640px) {
  .ct-cierre {
    padding: 60px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-cierre.reveal,
  .ct-cierre__copy.reveal,
  .ct-cierre__form.reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   MOBILE — agregados responsive
   ========================================================= */

/* Ocultar ramas SVG en tablet/mobile: el grid y el halo permanecen */
@media (max-width: 960px) {
  .ct-hero__branch { display: none; }
}
