/* ==================================================================
   MAROA — hoja de estilos única. Mobile-first.
   Orden: tokens · base · utilidades · botones · header · hero ·
          strip · catálogo · ficha · talles · envíos · faq · cta ·
          footer · carrito · toast · animaciones
================================================================== */

:root {
  /* Papel y tinta: todo tira a cálido, nada es gris neutro. */
  --bg:        #f7f2ea;
  --bg-alt:    #efe6d9;
  --card:      #fffdf9;
  --ink:       #2e2620;
  --muted:     #6f6256;
  --line:      #e2d6c4;

  /* Cuero: el color de marca. */
  --leather:   #5c4433;
  --leather-d: #43301f;
  --tan:       #b0804f;

  --ok:        #3f6b4a;
  --sale:      #a4432e;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(46,38,32,.05), 0 8px 24px rgba(46,38,32,.07);
  --shadow-lg: 0 24px 60px rgba(46,38,32,.16);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --pad: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 7.5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--leather); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--leather-d); }

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

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}
.skip:focus { left: 0; top: 0; }

/* ----------------------------- utilidades ----------------------- */

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

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: .9em;
}

.section { padding: 68px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 42ch; margin-bottom: 36px; }
.section__sub { color: var(--muted); }

.lede { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }

/* ------------------------------ botones ------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn--primary { --btn-bg: var(--leather); --btn-fg: #fdfaf5; box-shadow: var(--shadow); }
.btn--primary:hover:not(:disabled) { --btn-bg: var(--leather-d); color: #fdfaf5; }

.btn--ghost { border-color: var(--line); background: var(--card); }
.btn--ghost:hover { border-color: var(--tan); color: var(--ink); }

.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ------------------------------- header ------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(46,38,32,.05); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
/* La Ø es el logo: va dentro de la palabra y también sola en el favicon. */
.logo__o { color: var(--tan); }

.logo--sm { font-size: 1.3rem; margin: 0 0 .2em; }

.nav { display: none; gap: 26px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
@media (min-width: 760px) { .nav { display: flex; } }

.cartbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.cartbtn:hover { border-color: var(--tan); }
.cartbtn.is-bumped { animation: bump .4s ease; }

.cartbtn__count[hidden] { display: none; }

.igbtn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--ink);
  transition: color .2s ease;
}
.igbtn:hover { color: var(--tan); }

.cartbtn__count {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--leather);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* -------------------------------- hero -------------------------- */

.hero { padding: 40px 0 56px; }

.hero__inner { display: grid; gap: 36px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

.hero__note { font-size: .88rem; color: var(--muted); }

.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}
.hero__media img { width: 100%; }

@media (min-width: 880px) {
  .hero { padding: 72px 0 90px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero__media { order: 2; }
}

/* ------------------------------- strip -------------------------- */

.strip { background: var(--leather); color: #f1e7da; }

.strip__list {
  list-style: none;
  margin-block: 0;
  padding-block: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 18px;
}
.strip__list li { display: flex; flex-direction: column; gap: 2px; }
.strip__list strong { font-size: .95rem; font-weight: 600; }
.strip__list span { font-size: .82rem; color: #c9b8a5; line-height: 1.4; }

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

/* ----------------------------- catálogo ------------------------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tan); }

.card__media { position: relative; background: var(--bg-alt); aspect-ratio: 4 / 5; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #fdfaf5;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.card__badge--sale { background: var(--sale); }

.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { margin: 0; font-size: 1.22rem; }
.card__desc { color: var(--muted); font-size: .92rem; margin: 0; }

.card__color { display: flex; align-items: center; gap: 7px; margin: 0; font-size: .93rem; color: var(--muted); }
.dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(46,38,32,.22);
  box-shadow: inset 0 0 0 2px var(--card);
}

.card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}
.card__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.card__was { color: var(--muted); font-size: .9rem; text-decoration: line-through; margin-left: 7px; font-family: var(--sans); font-weight: 400; }
.card__cue { font-size: .85rem; color: var(--tan); font-weight: 500; }

/* -------------------------- ficha de producto ------------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(32,26,21,.5);
  opacity: 0;
  transition: opacity .3s ease;
}
.overlay.is-open { opacity: 1; }

.modal {
  position: fixed;
  z-index: 60;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 940px;
  max-height: 92dvh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: auto;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.22,.8,.3,1);
}
.modal[open] { display: block; }
.modal.is-open { transform: translateY(0); }
.modal::backdrop { background: rgba(32,26,21,.5); animation: fade .3s ease; }

.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { border-color: var(--tan); }

.modal__body { display: grid; }

@media (min-width: 820px) {
  .modal {
    inset: 50% auto auto 50%;
    border-radius: var(--radius-lg);
    transform: translate(-50%, -46%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
  }
  .modal.is-open { transform: translate(-50%, -50%); opacity: 1; }
  .modal__body { grid-template-columns: 1fr 1fr; }
}

/* galería */
.gallery { background: var(--bg-alt); }
.gallery__main { aspect-ratio: 4 / 5; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.gallery__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.gallery__thumbs button {
  flex: 0 0 62px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  overflow: hidden;
  cursor: pointer;
}
.gallery__thumbs button[aria-current="true"] { border-color: var(--leather); border-width: 2px; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* datos */
.sheet { padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 18px; }
.sheet__title { margin: 0; }
.sheet__desc { color: var(--muted); margin: 0; }

.sheet__price { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }

.pick__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.pick__value { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); }
.pick__link { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .85rem; }

.colors { display: flex; flex-wrap: wrap; gap: 9px; }
.colors button {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
  transition: border-color .15s ease;
}
.colors button span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(46,38,32,.2); }
.colors button[aria-pressed="true"] { border-color: var(--leather); border-width: 2px; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button {
  min-width: 48px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.sizes button:hover:not(:disabled) { border-color: var(--tan); }
.sizes button[aria-pressed="true"] { background: var(--leather); border-color: var(--leather); color: #fdfaf5; }
.sizes button:disabled {
  color: #b6a897;
  cursor: not-allowed;
  background: linear-gradient(to top left, transparent calc(50% - 1px), #d8cab6 50%, transparent calc(50% + 1px));
}

/* La gente no mira la guía: el aviso de horma tiene que saltar a la vista. */
.sizes__hint {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--tan);
  border-radius: 0 8px 8px 0;
  background: var(--bg-alt);
  font-size: .88rem;
  color: var(--ink);
}
.sheet__warn { color: var(--sale); font-size: .88rem; margin: -6px 0 0; min-height: 1.3em; }

.sheet__specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; border-top: 1px solid var(--line); padding-top: 18px; }
.sheet__specs li { position: relative; padding-left: 17px; font-size: .92rem; color: var(--muted); }
.sheet__specs li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--tan); }

/* ----------------------------- talles --------------------------- */

.talles { display: grid; gap: 34px; }
@media (min-width: 880px) { .talles { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }

.steps { margin: 0 0 1em; padding-left: 1.3em; color: var(--muted); display: grid; gap: 7px; }
.steps li::marker { color: var(--tan); font-weight: 600; }

.talles__help { font-size: .93rem; }

.talles__aside { display: grid; gap: 20px; }

.talles__foto {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.talles__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.talles__foto figcaption {
  padding: 13px 18px 16px;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45;
}

.talles__table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px 20px 20px;
  box-shadow: var(--shadow);
}
.talles__table table { width: 100%; border-collapse: collapse; }
.talles__table caption {
  text-align: left;
  padding: 12px 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tan);
}
.talles__table th, .talles__table td {
  padding: 11px 4px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.talles__table th { font-size: .82rem; font-weight: 600; color: var(--muted); }
.talles__table tbody tr:last-child td { border-bottom: 0; }
.talles__table td:first-child { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }

/* ----------------------------- envíos --------------------------- */

.cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.col h3 { margin-bottom: .4em; }
.col p { color: var(--muted); font-size: .95rem; }

/* ------------------------------- faq ---------------------------- */

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  padding: 16px 32px 16px 0;
  position: relative;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  translate: 0 -50%;
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--tan);
  transition: rotate .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding: 0 32px 18px 0; margin: 0; }

/* ------------------------------- cta ---------------------------- */

.cta { padding: 72px 0; background: var(--leather); color: #f1e7da; text-align: center; }
.cta__inner { max-width: 48ch; margin-inline: auto; }
.cta h2 { color: #fdfaf5; }
.cta p { color: #cbbba8; margin-bottom: 1.6em; }
.cta__ig { display: block; margin-top: 18px; color: #f1e7da; font-size: .95rem; }
.cta__ig:hover { color: #fff; }
.cta .btn--primary { --btn-bg: #fdfaf5; --btn-fg: var(--leather-d); }
.cta .btn--primary:hover { --btn-bg: #fff; color: var(--leather-d); }

/* ------------------------------ footer -------------------------- */

.footer { background: var(--ink); color: #c7bbae; padding: 46px 0 26px; }
.footer__inner { display: grid; gap: 26px; }
.footer .logo { color: #fdfaf5; }
.footer__tag { font-size: .9rem; margin: 0; }

.footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.footer__links a { color: #c7bbae; text-decoration: none; font-size: .92rem; }
.footer__links a:hover { color: #fdfaf5; text-decoration: underline; }

.footer__legal {
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: #8d8276;
}

@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__links { display: flex; gap: 22px; }
}

/* ------------------------------ carrito ------------------------- */

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(410px, 100%);
  height: 100dvh;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  translate: 100% 0;
  transition: translate .32s cubic-bezier(.22,.8,.3,1);
  visibility: hidden;
}
.drawer.is-open { translate: 0 0; visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { margin: 0; font-size: 1.3rem; }

.drawer__close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px; }

.drawer__empty { color: var(--muted); text-align: center; padding: 44px 10px; font-size: .95rem; }

.line { display: grid; grid-template-columns: 66px 1fr; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line img { width: 66px; aspect-ratio: 4/5; object-fit: cover; border-radius: 9px; background: var(--bg-alt); }
.line__title { margin: 0; font-weight: 500; font-size: .96rem; line-height: 1.3; }
.line__meta { margin: 2px 0 0; font-size: .84rem; color: var(--muted); }
.line__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button {
  width: 30px; height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
.qty button:hover { background: var(--bg-alt); }
.qty span { min-width: 26px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; }

.line__remove { border: 0; background: none; color: var(--muted); font: inherit; font-size: .84rem; text-decoration: underline; cursor: pointer; padding: 0; }
.line__remove:hover { color: var(--sale); }

.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--bg); }
.drawer__row { display: flex; justify-content: space-between; gap: 10px; font-size: .94rem; margin-bottom: 7px; }
.drawer__row--muted strong { color: var(--ok); font-weight: 600; }
.drawer__row--total { font-size: 1.05rem; padding-top: 9px; margin-bottom: 15px; border-top: 1px solid var(--line); }
.drawer__row--total strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.drawer__fine { font-size: .79rem; color: var(--muted); text-align: center; margin: 11px 0 0; line-height: 1.45; }

/* ------------------------------- toast -------------------------- */

.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 80;
  translate: -50% 16px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fdfaf5;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, translate .25s ease;
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* ---------------------------- animaciones ----------------------- */

.reveal { opacity: 0; translate: 0 14px; }
.reveal.is-in {
  opacity: 1;
  translate: 0 0;
  transition: opacity .6s ease var(--d, 0s), translate .6s cubic-bezier(.22,.8,.3,1) var(--d, 0s);
}

/* Intro: telón color cuero con la marca, que sube y deja ver el hero.
   Dura ~1,9 s en total. La clase .con-intro la pone el <script> del <head>. */

.intro { display: none; }

.con-intro .intro {
  clip-path: inset(0 0 0 0);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--leather);
  color: #f3ece2;
  cursor: pointer;
  animation: telon .75s cubic-bezier(.76,0,.24,1) 1.15s forwards;
}

.intro__mark { display: grid; justify-items: center; gap: 14px; }

.intro__word {
  display: flex;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 14vw, 6rem);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  overflow: hidden;
  padding-bottom: .08em;
}
.intro__word span {
  display: inline-block;
  translate: 0 110%;
  animation: letra .6s cubic-bezier(.22,.8,.3,1) forwards;
}
.intro__word span:nth-child(1) { animation-delay: .10s; }
.intro__word span:nth-child(2) { animation-delay: .16s; }
.intro__word span:nth-child(3) { animation-delay: .22s; }
.intro__word span:nth-child(4) { animation-delay: .28s; }
.intro__word span:nth-child(5) { animation-delay: .34s; }

/* La Ø entra última y gira media vuelta: es el logo. */
.intro__word span.intro__o {
  color: var(--tan);
  animation: letra .6s cubic-bezier(.22,.8,.3,1) .28s forwards, girar .9s cubic-bezier(.65,0,.35,1) .45s;
}

.intro__line {
  width: 64px;
  height: 1px;
  background: var(--tan);
  scale: 0 1;
  animation: linea .5s cubic-bezier(.65,0,.35,1) .55s forwards;
}

.intro__tag {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade .5s ease .7s forwards;
}

/* La marca sube un poco con el telón, para que no parezca cortada. */
.con-intro .intro__mark { animation: subir .75s cubic-bezier(.76,0,.24,1) 1.15s forwards; }

/* Tocar el telón lo saltea. */
/* Otro nombre de keyframes para que la animación arranque de cero. */
.con-intro .intro.is-skipped { animation: telon-ya .45s cubic-bezier(.76,0,.24,1) forwards; }
.con-intro .intro.is-skipped .intro__mark { animation: subir-ya .45s cubic-bezier(.76,0,.24,1) forwards; }

/* El hero espera a que suba el telón, y la foto se asienta con un zoom suave. */
.con-intro .hero .reveal.is-in { transition-delay: calc(var(--d, 0s) + 1.4s); }
.con-intro .hero__media img { animation: asentar 1.8s cubic-bezier(.2,.7,.2,1) 1.3s both; }
.con-intro.intro-salteada .hero .reveal.is-in { transition-delay: calc(var(--d, 0s) + .3s); }
.con-intro.intro-salteada .hero__media img { animation-delay: .2s; }

@keyframes letra  { to { translate: 0 0; } }
@keyframes girar  { from { rotate: -180deg; } to { rotate: 0deg; } }
@keyframes linea  { to { scale: 1 1; } }
@keyframes subir  { to { translate: 0 -40px; opacity: 0; } }
@keyframes telon  { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes telon-ya { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes subir-ya { to { translate: 0 -40px; opacity: 0; } }
@keyframes asentar {
  from { scale: 1.12; }
  to   { scale: 1; }
}

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

@keyframes bump {
  0%, 100% { transform: scale(1); }
  35%      { transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; }
  .modal, .drawer, .btn, .card { transition: none; }
  .cartbtn.is-bumped { animation: none; }
  .intro { display: none !important; }
}
