/* =========================================================================
   te-tela-escocesa.css
   Widgets de temporada de la landing /telas/telas-para-uniformes-escolares/
   tela-escocesa — Arletex Design System v3.5

   Prefijo de clase: te-*   ·   Tokens: los globales --ax-* que ya declara
   landing-producto.css (esta hoja se carga SIEMPRE después de aquélla).

   Bloques:
     00 · Cintillo de temporada  — Almanaque · Postmark · Bleed-edge · ink
     01 · PriceBlock del hero    — Vitrina  · precio dominante + sello
     02 · Sección de precio      — Técnico  · sub-título + lista de requisitos
     03 · FormCard de cotización — Carta    · campos numerados · cream
   ========================================================================= */


/* =========================================================================
   00 · Cintillo de temporada — Almanaque · Postmark · Bleed-edge · INK
   Vive arriba del slide legacy, así que no puede depender de .ax-section.
   ========================================================================= */
.te-cintillo {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: var(--ax-ink, #1F2530);
    color: var(--ax-paper, #FAF6EE);
    border-bottom: 3px solid var(--ax-orange, #F15A29);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
}
.te-cintillo *,
.te-cintillo *::before,
.te-cintillo *::after { box-sizing: border-box; }

.te-cintillo__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(12px, 1.8vw, 18px) clamp(20px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(10px, 1.8vw, 20px);
}
.te-cintillo__stamp {
    flex-shrink: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(0.82rem, 1.3vw, 1rem);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--ax-ink, #1F2530);
    background: var(--ax-orange, #F15A29);
    padding: 0.42rem 0.72rem 0.36rem;
    animation: te-cintillo-pulse 1.8s ease-in-out infinite;
}
.te-cintillo__text {
    flex: 1 1 320px;
    min-width: 0;
    margin: 0;
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    line-height: 1.55;
    color: rgba(250, 246, 238, 0.86);
}
.te-cintillo__text strong {
    display: block;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.15;
    color: var(--ax-paper, #FAF6EE);
    margin-bottom: 2px;
}
.te-cintillo__text em {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    color: var(--ax-orange, #F15A29);
}
.te-cintillo__link {
    flex-shrink: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 10px 18px;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none;
    color: var(--ax-paper, #FAF6EE);
    background: transparent;
    border: 2px solid var(--ax-paper, #FAF6EE);
    border-radius: 0;
    transition: background 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                color 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                transform 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-cintillo__link:hover,
.te-cintillo__link:focus-visible {
    background: var(--ax-orange, #F15A29);
    border-color: var(--ax-orange, #F15A29);
    color: var(--ax-ink, #1F2530);      /* ink sobre orange = AA (no #fff) */
    text-decoration: none;
    transform: translateY(-2px);
}
.te-cintillo :focus-visible { outline: 3px solid var(--ax-yellow, #FFEB3B); outline-offset: 3px; }

@keyframes te-cintillo-pulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(241, 90, 41, 0.55); }
    50%      { box-shadow: 0 0 0 6px rgba(241, 90, 41, 0); }
}
@media (max-width: 720px) {
    .te-cintillo__link { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .te-cintillo__stamp { animation: none; }
    .te-cintillo__link:hover { transform: none; }
}


/* =========================================================================
   01 · PriceBlock del hero — el precio es el elemento dominante
   Se inserta dentro de .ax-hero-content, entre la ficha y el CTA.
   ========================================================================= */
.te-pricebox {
    margin: clamp(20px, 2.6vw, 28px) 0 0;
    padding: clamp(16px, 2.2vw, 22px) clamp(16px, 2.4vw, 24px);
    background: var(--ax-paper, #FAF6EE);
    border: 2px solid var(--ax-ink, #1F2530);
    border-top: 4px solid var(--ax-orange, #F15A29);
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2vw, 22px);
}

.te-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.45rem;
    margin: 0;
    min-width: 0;
    line-height: 1;
}
.te-price__from {
    flex-basis: 100%;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--ax-muted, #6E6A60);
    margin-bottom: 6px;
}
.te-price__currency {
    align-self: flex-start;
    margin-top: 0.4rem;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    color: var(--ax-muted, #6E6A60);
}
.te-price__num {
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(3.1rem, 7vw, 4.6rem);
    line-height: 0.88;
    letter-spacing: -0.02em;
    color: var(--ax-ink, #1F2530);
    font-variant-numeric: tabular-nums;
}
.te-price__unit {
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: clamp(0.85rem, 1.05vw, 0.98rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ax-ink, #1F2530);
}
.te-price__unit em {
    display: block;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: 1.05em;
    color: var(--ax-muted, #6E6A60);
}

/* Sello "pedido mínimo" — doble filete, radius 0, orange-deep para AA. */
.te-seal {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 18px;
    border: 2px solid var(--ax-orange, #F15A29);
    border-radius: 0;
    outline: 1px solid var(--ax-orange, #F15A29);
    outline-offset: 3px;
    color: var(--ax-orange-deep, #B0401A);
    text-align: center;
}
.te-seal__label {
    font-family: var(--ax-font-mono, 'JetBrains Mono', ui-monospace, monospace);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
}
.te-seal__value {
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.te-pricebox__cond {
    flex-basis: 100%;
    margin: 0;
    padding-top: 0.7rem;
    border-top: 1px solid var(--ax-rule, #E5E1D7);
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-muted, #6E6A60);
}
.te-pricebox__cond a {
    color: var(--ax-orange-deep, #B0401A);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.te-pricebox__cond a:hover { color: var(--ax-ink, #1F2530); }

/* Doble CTA dentro del PriceBlock — mayoreo (WhatsApp) + compra directa.
   Las dos rutas de compra viven pegadas al precio, en el mismo bloque. */
.te-pricebox__buy {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--ax-rule, #E5E1D7);
}
/* La CTA de WhatsApp carga sombra chunky: aire extra bajo ella. */
.te-pricebox__buy .ax-btn--whatsapp {
    margin-bottom: 6px;
}
.te-buybtn {
    border-radius: 0;
    border-width: 2px;
}
.te-pricebox__buynote {
    text-align: center;
}
.te-pricebox__buynote i {
    color: var(--ax-orange-deep, #B0401A);
    margin-right: 4px;
}

/* Separador editorial entre las dos rutas de compra — filete + "o" mono. */
.te-pricebox__or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
    font-family: var(--ax-font-mono, 'JetBrains Mono', ui-monospace, monospace);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ax-muted, #6E6A60);
}
.te-pricebox__or::before,
.te-pricebox__or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ax-rule, #E5E1D7);
}

@media (max-width: 420px) {
    .te-pricebox { justify-content: flex-start; }
    .te-seal { width: 100%; }
}


/* =========================================================================
   02 · Sección de precio (dentro de la tarjeta legacy) — Técnico
   Sub-título + lista de datos requeridos para cotizar + CTA al formulario.
   ========================================================================= */
.te-precio__sub {
    margin: clamp(20px, 2.6vw, 28px) 0 clamp(10px, 1.4vw, 14px);
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.15;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    color: var(--ax-ink, #1F2530);
}
.te-precio__list {
    margin: 0 0 clamp(16px, 2vw, 20px);
    padding: 0;
    list-style: none;
    text-align: left;
}
.te-precio__list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.6;
    color: var(--ax-ink, #1F2530);
}
.te-precio__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 12px;
    height: 2px;
    background: var(--ax-orange, #F15A29);
}


/* =========================================================================
   03 · FormCard de cotización (§10.6) — Carta · campos numerados · cream
   Sin backend: valida en cliente y abre WhatsApp con mensaje pre-redactado.
   ========================================================================= */
.te-form-section {
    background: var(--ax-cream, #F2EDE4);
    color: var(--ax-ink, #1F2530);
    padding: clamp(48px, 7vw, 88px) 0;
    /* Header fijo: el salto de ancla no queda tapado (113/104/158px). */
    scroll-margin-top: 130px;
}
@media (max-width: 991px) { .te-form-section { scroll-margin-top: 120px; } }
@media (max-width: 767px) { .te-form-section { scroll-margin-top: 170px; } }

.te-formca-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px) 18px;   /* la sombra del card no se corta */
    box-sizing: border-box;
}
.te-formca {
    position: relative;
    background: var(--ax-paper, #FAF6EE);
    color: var(--ax-ink, #1F2530);
    border: 2px solid var(--ax-ink, #1F2530);
    border-radius: 0;
    box-shadow: 14px 14px 0 var(--ax-ink, #1F2530);
    padding: clamp(24px, 4vw, 52px);
}
.te-formca *,
.te-formca *::before,
.te-formca *::after { box-sizing: border-box; }

.te-formca__rule {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--ax-orange, #F15A29);
}
.te-formca__head { margin-bottom: clamp(24px, 3.5vw, 38px); }
.te-formca__title {
    margin: clamp(12px, 1.8vw, 16px) 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.02;
    font-size: clamp(1.55rem, 3.4vw, 2.5rem);
    color: var(--ax-ink, #1F2530);
}
.te-formca__title em {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0;
    color: var(--ax-orange, #F15A29);
}
.te-formca__lead {
    margin: 0;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.55;
    color: var(--ax-muted, #6E6A60);
    max-width: 56ch;
}

.te-formca__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 3vw, 32px);
}
@media (min-width: 768px) {
    .te-formca__grid { grid-template-columns: 1fr 1fr; }
}
.te-formca__field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.te-formca__field--full { grid-column: 1 / -1; }

.te-formca__label-row { display: inline-flex; align-items: baseline; gap: 10px; }
.te-formca__num {
    flex-shrink: 0;
    font-family: var(--ax-font-mono, 'JetBrains Mono', ui-monospace, monospace);
    color: var(--ax-orange, #F15A29);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}
.te-formca__label {
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: var(--ax-ink, #1F2530);
}
.te-formca__hint {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: 0.88rem;
    color: var(--ax-muted, #6E6A60);
}

.te-formca__input {
    width: 100%;
    background: var(--ax-white, #FFFFFF);
    color: var(--ax-ink, #1F2530);
    border: 2px solid var(--ax-ink, #1F2530);
    border-radius: 0;
    padding: 14px 18px;
    min-height: 44px;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.3;
    box-shadow: 6px 6px 0 var(--ax-ink, #1F2530);
    -webkit-appearance: none;
    appearance: none;
    transition: transform 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                box-shadow 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                border-color 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-formca__input:focus,
.te-formca__input:focus-visible {
    outline: none;
    border-color: var(--ax-orange, #F15A29);
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--ax-ink, #1F2530);
}
.te-formca__input[aria-invalid="true"] {
    border-color: #B3261E;
    box-shadow: 6px 6px 0 #B3261E;
}
.te-formca__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231F2530'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 44px;
}
/* Preview de la variante — miniatura del cuadro junto al select (campo 01).
   Estado vacío visible desde el inicio: sin salto de layout al elegir. */
.te-formca__preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: var(--ax-white, #FFFFFF);
    border: 2px solid var(--ax-ink, #1F2530);
    box-shadow: 4px 4px 0 var(--ax-ink, #1F2530);
    transition: box-shadow 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                transform 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-formca__preview[data-state="filled"] {
    box-shadow: 4px 4px 0 var(--ax-orange, #F15A29);
    cursor: zoom-in;   /* todo el recuadro abre la vista ampliada */
}
/* Hover/foco del recuadro completo — §6.2 lift-orange. :focus-within porque
   el elemento enfocable es el botón interno. */
.te-formca__preview[data-state="filled"]:hover,
.te-formca__preview[data-state="filled"]:focus-within {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--ax-orange, #F15A29);
}
/* La caja de 78px la comparten el placeholder (vacío) y el botón (elegido);
   data-state decide cuál se muestra. */
.te-formca__preview-box {
    position: relative;
    flex-shrink: 0;
    width: 78px;
    height: 78px;
    padding: 0;
    border: 2px solid var(--ax-ink, #1F2530);
    background: var(--ax-cream, #F2EDE4);
    overflow: hidden;
}
.te-formca__preview-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ax-muted, #6E6A60);
}
.te-formca__preview-btn { display: none; cursor: zoom-in; }
.te-formca__preview[data-state="filled"] .te-formca__preview-ph  { display: none; }
.te-formca__preview[data-state="filled"] .te-formca__preview-btn { display: block; }

.te-formca__preview-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Lupa: señal de "esto se amplía". Siempre visible en táctil (no hay hover). */
.te-formca__preview-mag {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--ax-ink, #1F2530);
    color: var(--ax-white, #FFFFFF);
    font-size: 0.62rem;
    line-height: 1;
    transition: background 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-formca__preview:hover .te-formca__preview-mag,
.te-formca__preview-btn:focus-visible .te-formca__preview-mag {
    background: var(--ax-orange, #F15A29);
}
.te-formca__preview-btn:focus-visible {
    outline: 3px solid var(--ax-orange, #F15A29);
    outline-offset: 3px;
}
.te-formca__preview-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.te-formca__preview-code {
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
    font-size: 1rem;
    color: var(--ax-ink, #1F2530);
}
.te-formca__preview[data-state="empty"] .te-formca__preview-code { color: var(--ax-muted, #6E6A60); }
.te-formca__preview-note {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--ax-muted, #6E6A60);
}

.te-formca__error {
    display: none;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-weight: 700;
    font-size: 0.82rem;
    color: #B3261E;
}
.te-formca__field--invalid .te-formca__error { display: block; }

.te-formca__actions {
    margin-top: clamp(28px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.te-formca__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: clamp(16px, 2.2vw, 22px) clamp(22px, 3.6vw, 40px);
    min-height: 44px;
    background: var(--ax-whatsapp, #25D366);
    color: #fff;
    border: 2px solid var(--ax-ink, #1F2530);
    border-radius: 0;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.05;
    cursor: pointer;
    box-shadow: 8px 8px 0 var(--ax-ink, #1F2530);
    transition: transform 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                box-shadow 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-formca__cta i { font-size: 1.45em; line-height: 1; flex-shrink: 0; }
.te-formca__cta:hover  { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ax-ink, #1F2530); }
.te-formca__cta:active { transform: translate(2px, 2px);   box-shadow: 4px 4px 0 var(--ax-ink, #1F2530); }
.te-formca__cta:focus-visible { outline: 3px solid var(--ax-orange, #F15A29); outline-offset: 3px; }

.te-formca__microcopy {
    margin: 0 auto;
    max-width: 60ch;
    text-align: center;
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: clamp(0.92rem, 1.1vw, 1.02rem);
    line-height: 1.55;
    color: var(--ax-muted, #6E6A60);
}
.te-formca__microcopy em {
    font-style: normal;
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-size: 0.86em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--ax-orange-deep, #B0401A);  /* stamp pequeño → AA sobre blanco */
    color: #fff;
    padding: 2px 8px;
}

@media (max-width: 575px) {
    .te-formca { box-shadow: 8px 8px 0 var(--ax-ink, #1F2530); }
    .te-formca__preview { box-shadow: 3px 3px 0 var(--ax-ink, #1F2530); }
    .te-formca__preview[data-state="filled"] { box-shadow: 3px 3px 0 var(--ax-orange, #F15A29); }
    .te-formca__preview-box { width: 66px; height: 66px; }
    .te-formca__input { box-shadow: 4px 4px 0 var(--ax-ink, #1F2530); }
    .te-formca__input:focus,
    .te-formca__input:focus-visible { box-shadow: 7px 7px 0 var(--ax-ink, #1F2530); }
    .te-formca__cta { box-shadow: 6px 6px 0 var(--ax-ink, #1F2530); width: 100%; }
    .te-formca__cta:hover { box-shadow: 9px 9px 0 var(--ax-ink, #1F2530); }
}
@media (prefers-reduced-motion: reduce) {
    .te-formca__input:focus,
    .te-formca__input:focus-visible,
    .te-formca__cta:hover,
    .te-formca__cta:active,
    .te-formca__preview[data-state="filled"]:hover,
    .te-formca__preview[data-state="filled"]:focus-within { transform: none; }
}


/* =========================================================================
   04 · Vista ampliada (#te-zoom) — lightbox de la muestra del formulario
   Modal §10.10: backdrop ink 72%, card paper, radius 0, sombra sólida.
   z-index 1100 → por encima del color sheet (1000) y del header fijo.
   ========================================================================= */
.te-zoom {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 40px);
}
.te-zoom[hidden] { display: none; }
.te-zoom--open { display: flex; }

.te-zoom__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 37, 48, 0.78);   /* ink @ 78% */
    opacity: 0;
    transition: opacity 200ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-zoom--open .te-zoom__backdrop { opacity: 1; }

.te-zoom__panel {
    position: relative;
    margin: 0;
    width: min(520px, 100%);
    max-height: 100%;
    background: var(--ax-paper, #FAF6EE);
    border: 2px solid var(--ax-ink, #1F2530);
    box-shadow: 14px 14px 0 var(--ax-orange, #F15A29);
    padding: clamp(14px, 2.4vw, 20px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 200ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1)),
                transform 200ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-zoom--open .te-zoom__panel { opacity: 1; transform: translateY(0); }

.te-zoom__close {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ax-ink, #1F2530);
    color: var(--ax-white, #FFFFFF);
    border: 2px solid var(--ax-ink, #1F2530);
    border-radius: 0;
    font-family: var(--ax-font-body, 'Lato', system-ui, sans-serif);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 180ms var(--ax-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.te-zoom__close:hover { background: var(--ax-orange, #F15A29); border-color: var(--ax-orange, #F15A29); }
.te-zoom__close:focus-visible { outline: 3px solid var(--ax-orange, #F15A29); outline-offset: 3px; }

.te-zoom__frame {
    border: 2px solid var(--ax-ink, #1F2530);
    background: var(--ax-cream, #F2EDE4);
    line-height: 0;
}
.te-zoom__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.te-zoom__cap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 14px;
}
.te-zoom__code {
    font-family: var(--ax-font-display, 'Anton', 'Arial Narrow', sans-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.05;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: var(--ax-ink, #1F2530);
}
.te-zoom__note {
    font-family: var(--ax-font-accent, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--ax-muted, #6E6A60);
}

@media (max-width: 575px) {
    .te-zoom__panel { box-shadow: 8px 8px 0 var(--ax-orange, #F15A29); }
}
@media (prefers-reduced-motion: reduce) {
    .te-zoom__backdrop,
    .te-zoom__panel { transition: none; }
    .te-zoom__panel { transform: none; }
}
