/* ============================================================
   FRENDS BURGER · styles.css
   Identidad: crema/papel + rojo ladrillo · póster · mobile-first
   ============================================================ */

:root {
  /* Paleta Frends */
  --c-primary:   #C0432B;   /* rojo ladrillo */
  --c-primary-2: #A53824;   /* rojo profundo */
  --c-primary-3: #8E2F1E;   /* sombra */
  --c-gold:      #E7A52E;   /* mostaza/dorado para destacados */
  --c-cream:     #F4ECDD;   /* fondo papel */
  --c-cream-2:   #EDE2CD;   /* crema un poco más oscuro */
  --c-surface:   #FBF6EC;   /* tarjetas */
  --c-ink:       #1F1B16;   /* texto principal */
  --c-ink-soft:  #7A6F60;   /* texto suave */
  --c-border:    #E1D4BC;   /* bordes cálidos */
  --c-white:     #FFFFFF;
  --c-wa:        #25D366;   /* WhatsApp */

  /* Tipografías */
  --f-display: 'Anton', system-ui, sans-serif;
  --f-script:  'Caveat', cursive;
  --f-body:    'Inter', system-ui, sans-serif;

  /* Espacios */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem;
  --sp-5:1.25rem; --sp-6:1.5rem; --sp-8:2rem; --sp-10:2.5rem;
  --sp-12:3rem; --sp-16:4rem; --sp-24:6rem;

  --r-sm:10px; --r-md:18px; --r-lg:26px; --r-full:999px;
  --shadow-sm: 0 3px 12px rgba(31,27,22,.08);
  --shadow-md: 0 10px 30px rgba(31,27,22,.12);
  --shadow-lg: 0 22px 55px rgba(31,27,22,.18);

  --t-fast:.15s ease; --t-base:.25s ease; --t-slow:.4s cubic-bezier(.2,.8,.2,1);

  --container-max: 1180px;
  --container-pad: 1.15rem;
  --header-h: 66px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.55;
  overflow-x: hidden;
  /* textura sutil de papel */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.5) 0, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(214,196,160,.25) 0, transparent 40%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { line-height: 1.05; font-weight: 800; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--c-primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }

.script { font-family: var(--f-script); font-weight: 700; }
.text-soft { color: var(--c-ink-soft); }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: .7rem 1.25rem; border-radius: var(--r-full);
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
  position: relative; overflow: hidden; white-space: nowrap; text-align: center;
}
.btn--sm { padding: .5rem .9rem; font-size: .85rem; }
.btn--lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 6px 18px rgba(192,67,43,.35); }
.btn--primary:hover { background: var(--c-primary-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(192,67,43,.45); }
.btn--ghost { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--whatsapp { background: var(--c-wa); color: #07331c; }
.btn--whatsapp:hover { background: #1fb858; transform: translateY(-2px); }
.btn.is-clicked { animation: tap .36s ease; }
@keyframes tap { 0%{transform:scale(1)} 40%{transform:scale(.94)} 100%{transform:scale(1)} }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.2); opacity: 0; } }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-base), box-shadow var(--t-base);
}
.header.is-scrolled { background: rgba(244,236,221,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .55rem; }
.logo__mark { display: inline-flex; }
.logo__text { font-family: var(--f-display); font-size: 1.65rem; color: var(--c-primary); letter-spacing: .04em; line-height: 1; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav > a { font-weight: 600; font-size: .95rem; padding: .5rem .7rem; border-radius: var(--r-sm); color: var(--c-ink); transition: color var(--t-fast), background var(--t-fast); }
.nav > a:hover { color: var(--c-primary); }
.nav__cta { margin-left: .4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--c-primary); border-radius: 2px; transition: transform var(--t-base), opacity var(--t-base); }
.nav-toggle.is-active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity: 0; }
.nav-toggle.is-active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; padding-top: calc(var(--header-h) + 1rem); padding-bottom: var(--sp-8);
  overflow: hidden;
}
.hero__word {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-size: clamp(7rem, 32vw, 22rem);
  color: var(--c-primary); opacity: .14; letter-spacing: .02em; white-space: nowrap;
  pointer-events: none; user-select: none; z-index: 0; line-height: .8;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: var(--sp-6); }
.hero__copy { text-align: center; }
.hero__badge {
  display: inline-block; background: var(--c-surface); border: 1px solid var(--c-border);
  color: var(--c-primary-2); font-weight: 700; font-size: .82rem;
  padding: .4rem .9rem; border-radius: var(--r-full); margin-bottom: var(--sp-4); box-shadow: var(--shadow-sm);
}
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 5rem); letter-spacing: .01em; color: var(--c-ink); line-height: .95;
}
.hero__title .script { display: block; font-size: 1.15em; color: var(--c-primary); font-weight: 700; margin-top: -.1em; }
.hero__sub { margin: var(--sp-4) auto 0; max-width: 30rem; color: var(--c-ink-soft); font-size: 1.05rem; }
.hero__sub strong { color: var(--c-ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: var(--sp-6); }
.hero__img { position: relative; }
.hero__img img {
  width: 100%; max-width: 360px; margin-inline: auto; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/5;
}

/* ============ FRANJA ENCONTRARNOS ============ */
.strip { background: var(--c-primary); color: var(--c-cream); overflow: hidden; padding: .65rem 0; }
.strip__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.strip__text { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .06em; white-space: nowrap; padding-right: .4rem; text-transform: uppercase; }
.strip__text em { font-family: var(--f-script); font-style: normal; text-transform: none; font-size: 1.5em; letter-spacing: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECCIONES ============ */
.section { padding: var(--sp-16) 0; }
.section-head { text-align: center; max-width: 38rem; margin: 0 auto var(--sp-10); }
.eyebrow { display: inline-block; font-family: var(--f-script); font-size: 1.6rem; color: var(--c-primary); line-height: 1; }
.section-head h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 7vw, 3.2rem); color: var(--c-ink); letter-spacing: .01em; margin-top: .1rem; }
.section-note { margin-top: var(--sp-3); color: var(--c-ink-soft); }
.section-note strong { color: var(--c-primary-2); }

/* ============ GRID PRODUCTOS ============ */
.grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid--wide { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--wide { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }

.product {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: pointer;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D8C29A; }
.product.is-clicked { animation: tap .36s ease; }
.product--in-cart { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(192,67,43,.25), var(--shadow-md); }
.product__img { aspect-ratio: 4/5; overflow: hidden; background: var(--c-cream-2); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.product:hover .product__img img { transform: scale(1.06); }
.product__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product__tag { align-self: flex-start; background: var(--c-primary); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .6rem; border-radius: var(--r-full); }
.product__tag--gold { background: var(--c-gold); color: #4a3208; }
.product__body h3 { font-size: 1.25rem; color: var(--c-ink); }
.product__desc { font-size: .9rem; color: var(--c-ink-soft); flex: 1; }

/* Toggle Simple / Doble */
.variant { display: inline-flex; background: var(--c-cream-2); border: 1px solid var(--c-border); border-radius: var(--r-full); padding: 3px; gap: 2px; align-self: flex-start; }
.variant__btn { font-size: .82rem; font-weight: 700; color: var(--c-ink-soft); padding: .32rem .8rem; border-radius: var(--r-full); transition: background var(--t-fast), color var(--t-fast); }
.variant__btn.is-active { background: var(--c-primary); color: #fff; box-shadow: 0 2px 6px rgba(192,67,43,.3); }

.product__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .4rem; }
.product__price { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; color: var(--c-primary-2); letter-spacing: .01em; }

/* ============ INFO / MAPA ============ */
.section--info { background: var(--c-cream-2); }
.info__grid { display: grid; gap: var(--sp-8); align-items: center; }
@media (min-width: 860px) { .info__grid { grid-template-columns: 1fr 1fr; } }
.info__grid h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--c-ink); margin-top: .2rem; }
.info__list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: .7rem; }
.info__list li { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: .7rem .9rem; font-size: .95rem; }
.info__muted { color: var(--c-ink-soft); font-size: .85em; }
.info__cta { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.info__social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.info__social a { font-weight: 600; color: var(--c-primary); border-bottom: 2px solid transparent; transition: border-color var(--t-fast); }
.info__social a:hover { border-color: var(--c-primary); }
.info__map { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--c-border); }
.info__map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ============ FOOTER ============ */
.footer { background: var(--c-primary); color: var(--c-cream); padding-top: var(--sp-12); }
.footer__inner { display: grid; gap: var(--sp-8); grid-template-columns: 1fr; padding-bottom: var(--sp-10); }
@media (min-width: 720px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.logo--footer .logo__text { color: var(--c-cream); font-size: 2rem; }
.footer__slogan { font-size: 1.6rem; color: var(--c-cream); margin: .3rem 0; }
.footer__brand p { color: rgba(244,236,221,.85); font-size: .92rem; }
.footer__col h4 { font-size: 1rem; margin-bottom: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.footer__col a, .footer__col p { display: block; color: rgba(244,236,221,.85); font-size: .92rem; padding: .15rem 0; transition: color var(--t-fast); }
.footer__col a { cursor: pointer; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.18); padding: var(--sp-4) 0; text-align: center; }
.footer__bottom small { color: rgba(244,236,221,.75); }

/* ============ MINI CART ============ */
.mini-cart {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: none; align-items: center; gap: .55rem;
  background: var(--c-primary); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-full);
  box-shadow: var(--shadow-lg); font-weight: 700;
  transform: translateY(120%); transition: transform var(--t-slow);
}
.mini-cart.is-active { display: inline-flex; transform: translateY(0); }
.mini-cart.is-bumping { animation: bump .4s ease; }
@keyframes bump { 0%{transform:scale(1)} 30%{transform:scale(1.12)} 100%{transform:scale(1)} }
.mini-cart__icon { font-size: 1.1rem; }
.mini-cart__count { background: #fff; color: var(--c-primary); border-radius: var(--r-full); min-width: 1.4rem; height: 1.4rem; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; padding: 0 .35rem; }
.mini-cart__label { font-size: .95rem; }
.mini-cart__total { font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; padding-left: .4rem; border-left: 1px solid rgba(255,255,255,.35); }

/* ============ MODALES ============ */
.modal { position: fixed; inset: 0; z-index: 150; display: none; padding: 1rem; background: rgba(31,27,22,.55); backdrop-filter: blur(3px); }
.modal.is-open { display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
@media (min-width: 640px) { .modal.is-open { align-items: center; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__content {
  position: relative; background: var(--c-cream); width: 100%; max-width: 480px;
  border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--sp-6); max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); animation: slideUp .3s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 640px) { .modal__content { border-radius: var(--r-lg); } }
@keyframes slideUp { from { transform: translateY(30px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.modal__content--checkout { max-width: 520px; }
.modal__close { position: absolute; top: .7rem; right: .9rem; font-size: 1.8rem; line-height: 1; color: var(--c-ink-soft); width: 2rem; height: 2rem; border-radius: 50%; transition: background var(--t-fast), color var(--t-fast); }
.modal__close:hover { background: var(--c-cream-2); color: var(--c-ink); }
.modal h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; color: var(--c-ink); margin-bottom: var(--sp-4); padding-right: 2rem; }

/* Modal producto */
.modal__content--product [data-product-modal] img { width: 100%; max-width: 300px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-md); margin: 0 auto var(--sp-4); }
.modal__content--product h2 { margin-bottom: .3rem; }
.modal__product__price { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--c-primary-2); }
.modal__content--product ul { margin: .6rem 0; display: flex; flex-direction: column; gap: .3rem; }
.modal__content--product li { position: relative; padding-left: 1.3rem; font-size: .92rem; }
.modal__content--product li::before { content: '•'; position: absolute; left: .3rem; color: var(--c-primary); font-weight: 700; }
.modal__product__actions { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.modal__product__actions .btn { width: 100%; }

/* Checkout */
.checkout__items { display: flex; flex-direction: column; gap: .6rem; margin-bottom: var(--sp-4); }
.checkout__row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .6rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: .55rem .7rem; }
.checkout__name { font-size: .9rem; font-weight: 600; }
.checkout__line { font-family: var(--f-display); font-weight: 400; font-size: 1rem; color: var(--c-primary-2); }
.checkout__total-row { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) 0; border-top: 2px dashed var(--c-border); border-bottom: 2px dashed var(--c-border); margin-bottom: var(--sp-4); }
.checkout__total-row span { font-weight: 600; }
.checkout__total-row strong { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; color: var(--c-primary); }
.checkout__section { margin-bottom: var(--sp-5); }
.checkout__section h3 { font-size: 1.05rem; margin-bottom: var(--sp-3); }

/* Qty stepper */
.qty { display: inline-flex; align-items: center; gap: .3rem; background: var(--c-cream-2); border-radius: var(--r-full); padding: 2px; }
.qty__btn { width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--c-surface); color: var(--c-primary); font-size: 1.1rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: background var(--t-fast), color var(--t-fast); }
.qty__btn:hover { background: var(--c-primary); color: #fff; }
.qty__val { min-width: 1.4rem; text-align: center; font-weight: 700; }

.payment-option { display: flex; align-items: center; gap: .6rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: .65rem .8rem; margin-bottom: .5rem; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.payment-option:hover { border-color: var(--c-primary); }
.payment-option input { accent-color: var(--c-primary); width: 1.1rem; height: 1.1rem; }

.checkout__cbu { background: var(--c-surface); border: 1px dashed var(--c-primary); border-radius: var(--r-sm); padding: .8rem; margin-top: .6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.checkout__cbu code { font-family: monospace; background: var(--c-cream-2); padding: .2rem .5rem; border-radius: 6px; font-size: .9rem; }
.checkout__cbu small { width: 100%; color: var(--c-ink-soft); }

.field { display: block; margin-bottom: var(--sp-3); }
.field span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; color: var(--c-ink-soft); }
.field input, .field textarea { width: 100%; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: .65rem .8rem; font-family: inherit; font-size: .95rem; color: var(--c-ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); }

.checkout__submit { width: 100%; margin-top: var(--sp-2); }
.checkout__note { display: block; text-align: center; color: var(--c-ink-soft); margin-top: .6rem; }

/* item del carrito con detalle de config */
.checkout__info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.checkout__detail { font-size: .72rem; color: var(--c-ink-soft); line-height: 1.3; }

/* ============ CONFIGURADOR ============ */
.product__price small { font-family: var(--f-body); font-weight: 600; font-size: .62rem; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink-soft); display: block; line-height: 1; margin-bottom: 1px; }
.modal__desc { margin-bottom: var(--sp-3); font-size: .92rem; }
.cfg__base { font-size: .95rem; margin-bottom: var(--sp-2); }
.cfg__warn { background: #FBECCB; border: 1px solid var(--c-gold); color: #7a5510; font-size: .8rem; padding: .4rem .6rem; border-radius: var(--r-sm); margin-bottom: var(--sp-3); }

.cfg__group { border: none; padding: 0; margin: 0 0 var(--sp-5); }
.cfg__group legend { font-weight: 800; font-size: .95rem; color: var(--c-ink); margin-bottom: var(--sp-2); padding: 0; }
.cfg__group--inline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cfg__group--inline legend { width: 100%; }

.cfg__radio { display: flex; align-items: center; gap: .6rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: .6rem .8rem; margin-bottom: .45rem; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.cfg__radio:hover { border-color: var(--c-primary); }
.cfg__radio input { accent-color: var(--c-primary); width: 1.1rem; height: 1.1rem; flex: none; }
.cfg__radio span { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: .5rem; font-size: .92rem; }
.cfg__radio span strong { font-family: var(--f-display); font-weight: 400; color: var(--c-primary-2); font-size: 1.05rem; }
.cfg__radio:has(input:checked) { border-color: var(--c-primary); background: #FCEEE9; box-shadow: 0 0 0 1px var(--c-primary); }

.cfg__radio--chip { margin-bottom: 0; padding: .45rem .7rem; }
.cfg__radio--chip span { width: auto; }

.cfg__opt { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--c-border); }
.cfg__opt:last-child { border-bottom: none; }
.cfg__opt__label { font-size: .92rem; }
.cfg__opt__label small { color: var(--c-ink-soft); font-weight: 600; }

.cfg__foot { position: sticky; bottom: 0; background: var(--c-cream); border-top: 2px dashed var(--c-border); padding-top: var(--sp-4); margin-top: var(--sp-4); display: flex; align-items: center; gap: var(--sp-4); }
.cfg__total { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--c-primary); }
.cfg__foot .btn { flex: 1; }

/* ============ ERROR DE FORMULARIO ============ */
.field__error { display: block; margin-top: .35rem; color: var(--c-primary-2); font-weight: 600; font-size: .82rem; }
.field--invalid input, .field--invalid textarea { border-color: var(--c-primary) !important; box-shadow: 0 0 0 2px rgba(192,67,43,.18); }

/* ============ ANIMACIONES SCROLL ============ */
.fade-in, .fade-in-up { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.fade-in-up { transform: translateY(24px); }
.fade-in.is-visible, .fade-in-up.is-visible { opacity: 1; transform: none; }

/* ============ MOBILE NAV ============ */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-cream); padding: var(--sp-4); box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform var(--t-slow); border-bottom: 1px solid var(--c-border);
  }
  .nav.is-open { transform: translateY(0); }
  .nav > a { padding: .9rem .5rem; border-bottom: 1px solid var(--c-border); font-size: 1.05rem; }
  .nav__cta { margin: var(--sp-3) 0 0; border-bottom: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .strip__track { animation: none; }
  .fade-in, .fade-in-up { opacity: 1; transform: none; }
}
