/* Átomo · hoja de estilos
   Concepto: la página entera es correo. Papel crema, tinta azul, lacre rojo, kraft,
   bordes "Por avión", fotos dentro de sellos troquelados y postales escritas a mano. */

:root {
  --paper: #f6eddd;
  --paper-2: #efe1c8;
  --card: #fffaf1;
  --ink: #1e2a52;
  --ink-soft: #46507a;
  --red: #d2452c;
  --red-dark: #b33620;
  --kraft: #c89662;
  --kraft-dark: #a8763f;
  --kraft-light: #dcb385;
  --butter: #f4d47c;
  --mint: #cfe3cf;
  --pink: #f4c3b3;
  --sky: #bcd3ea;
  --line: rgba(30, 42, 82, .18);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --shadow: 0 1px 1px rgba(30, 42, 82, .06), 0 10px 30px -12px rgba(30, 42, 82, .28);
  --airmail: repeating-linear-gradient(-45deg,
      var(--red) 0 14px, transparent 14px 22px,
      var(--ink) 22px 36px, transparent 36px 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* grano de papel */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.02; margin: 0; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--red); font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.nowrap { white-space: nowrap; }

/* ---------- piezas comunes ---------- */
.label {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.label--chip { background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 12px 4px; }
.hand { font-family: var(--f-hand); font-weight: 600; line-height: 1.05; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); max-width: 34em; }

.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--ink); border-radius: 999px; padding: 16px 24px;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--light { --bg: var(--card); --fg: var(--ink); }
.btn--butter { --bg: var(--butter); --fg: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn small { font-weight: 500; opacity: .75; font-size: 14px; }

/* sello troquelado: la foto va dentro, los huecos dejan ver el papel */
.stamp {
  --r: 7px;
  position: relative; display: block;
  padding: calc(2.2 * var(--r));
  background:
    radial-gradient(var(--r), #0000 97%, #fffdf8) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
    linear-gradient(#fffdf8 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
  filter: drop-shadow(0 8px 14px rgba(30, 42, 82, .22));
  transform: rotate(var(--rot, 0deg));
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.stamp img { width: 100%; aspect-ratio: var(--ar, 4 / 5); object-fit: cover; }
.stamp__value {
  position: absolute; right: calc(2.2 * var(--r) + 8px); bottom: calc(2.2 * var(--r) + 6px);
  font: 600 15px/1 var(--f-display); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
a.stamp:hover, .stamp--hover:hover { transform: rotate(0deg) scale(1.04); }

/* matasellos */
.postmark { position: absolute; width: 132px; height: 132px; color: var(--ink); opacity: .78; pointer-events: none; }
.postmark text { font: 500 11.5px var(--f-mono); letter-spacing: .2em; fill: currentColor; }
.postmark .wave { fill: none; stroke: currentColor; stroke-width: 2; }

/* cinta washi */
.washi {
  position: absolute; width: 120px; height: 30px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 6px, transparent 6px 12px), var(--tape, var(--butter));
  opacity: .9; transform: rotate(var(--rot, -6deg));
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 16% 8%, 20% 0, 80% 0, 84% 10%, 88% 0, 92% 8%, 96% 0, 100% 10%, 100% 92%, 96% 100%, 92% 90%, 88% 100%, 84% 92%, 80% 100%, 20% 100%, 16% 90%, 12% 100%, 8% 92%, 4% 100%, 0 90%);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head .hand { font-size: clamp(26px, 2.4vw, 32px); color: var(--red); display: block; margin-bottom: 6px; }
.section__head h2 { font-size: clamp(40px, 5.4vw, 68px); }
.section__head p { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ---------- cinta superior ---------- */
.ribbon {
  background: var(--ink); color: var(--paper); overflow: hidden; position: relative;
  border-bottom: 6px solid transparent;
  border-image: var(--airmail) 6;
}
.ribbon__track { display: flex; gap: 48px; width: max-content; padding: 9px 0; animation: marquee 38s linear infinite; }
.ribbon__track span { font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ribbon__track span::after { content: "✉"; color: var(--butter); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 40px; transform: rotate(-6deg); transition: transform .3s; }
.logo:hover svg { transform: rotate(4deg); }
.logo span { font: italic 500 30px/1 var(--f-display); letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15.5px; background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 2px; padding-bottom: 3px; transition: background-size .25s; }
.nav__links a:hover { background-size: 100% 2px; }
.nav .btn { padding: 12px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--ink); }
.nav__toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.nav__toggle svg { width: 20px; height: 20px; }

/* ---------- héroe ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 120px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); margin: 22px 0 24px; }
.hero h1 .hand { font-size: .62em; color: var(--red); display: block; transform: rotate(-3deg); transform-origin: left; margin-bottom: 4px; letter-spacing: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-soft); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--red); }

/* el sobre de la cabecera */
.desk { position: relative; aspect-ratio: 1 / .92; }
.env { position: absolute; left: 8%; right: 6%; bottom: 8%; aspect-ratio: 1.5; }
.env__back { position: absolute; inset: 0; background: var(--kraft-dark); border-radius: 6px; }
.env__flap { position: absolute; left: 0; right: 0; bottom: 100%; height: 62%; background: var(--kraft-dark); clip-path: polygon(0 100%, 50% 6%, 100% 100%); filter: brightness(.95); }
.env__seal { position: absolute; left: 50%; bottom: calc(100% + 34%); translate: -50% 50%; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e8664c, var(--red) 45%, #8f2414); box-shadow: 0 3px 6px rgba(0,0,0,.25), inset 0 0 0 5px rgba(0,0,0,.08); display: grid; place-items: center; color: rgba(255,255,255,.75); font: italic 600 24px/1 var(--f-display); z-index: 1; }
.env__front {
  position: absolute; inset: 0; border-radius: 6px; z-index: 3;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(0,0,0,.12) 50%, transparent calc(50% + 1px)) 0 100% / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - 1px), rgba(0,0,0,.12) 50%, transparent calc(50% + 1px)) 100% 100% / 50% 100% no-repeat,
    var(--kraft);
  clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 20px 40px -18px rgba(30,42,82,.5);
}
.env__front::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 6L6 0' stroke='%23000' stroke-opacity='.05'/%3E%3C/svg%3E"); }
.env__label { position: absolute; z-index: 4; left: 50%; translate: -50% 0; text-align: center; white-space: nowrap; bottom: 12%; font: 500 11px/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(30,42,82,.7); }
.env__label b { display: block; font: italic 500 26px/1 var(--f-display); letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-top: 4px; }

.postcard {
  position: relative; background: var(--card); border-radius: 4px;
  box-shadow: var(--shadow);
}
.env .postcard { position: absolute; z-index: 2; left: 7%; right: 7%; top: -46%; height: 108%; padding: 22px 24px; transform: rotate(-3deg); animation: cardOut 1.4s .3s cubic-bezier(.2, .9, .25, 1.15) backwards; }
@keyframes cardOut { from { transform: translateY(46%) rotate(0deg); } }
.postcard__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; height: 100%; }
.postcard__msg { font: 600 clamp(16px, 1.55vw, 21px)/1.12 var(--f-hand); color: var(--ink); border-right: 1.5px solid var(--line); padding-right: 16px; }
.postcard__msg p + p { margin-top: 8px; }
.postcard__msg .sign { color: var(--red); }
.postcard__to { display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; padding-top: 6px; }
.postcard__to .stamp { --r: 4px; width: 62px; align-self: flex-end; --rot: 4deg; }
.postcard__to .stamp img { --ar: 4 / 5; }
.postcard__lines span { display: block; border-bottom: 1.5px dashed var(--line); height: 26px; font: 600 20px/26px var(--f-hand); color: var(--ink-soft); }

.desk > .stamp { position: absolute; z-index: 5; }
.desk .s1 { width: 25%; left: -3%; top: 50%; --rot: -9deg; animation: drop .9s .9s cubic-bezier(.2, .9, .3, 1.2) backwards; }
.desk .s2 { width: 23%; right: -3%; top: 56%; --rot: 8deg; animation: drop .9s 1.05s cubic-bezier(.2, .9, .3, 1.2) backwards; }
@keyframes drop { from { opacity: 0; transform: translateY(-30px) rotate(-20deg) scale(1.1); } }
.desk .washi { z-index: 6; }
.desk .w1 { left: 3%; top: 48%; --rot: -32deg; --tape: var(--mint); width: 90px; }
.desk .w2 { right: 2%; top: 54%; --rot: 28deg; --tape: var(--pink); width: 80px; }
.desk .postmark { z-index: 4; right: -8%; top: 30%; transform: rotate(-12deg); }
.desk__note { position: absolute; z-index: 6; left: 24%; bottom: -3%; font-size: 26px; color: var(--red); transform: rotate(-6deg); display: flex; align-items: flex-end; gap: 4px; }
.desk__note svg { width: 54px; height: 40px; margin-bottom: 14px; }

/* ---------- qué trae ---------- */
.inside { background: var(--card); border-block: 1.5px solid var(--line); }
.inside__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.items { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1.5px solid var(--line); }
.items li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1.5px solid var(--line); align-items: start; }
.items .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--butter)); border: 1.5px solid var(--ink); }
.items .ico svg { width: 20px; height: 20px; }
.items b { display: block; font-size: 17px; }
.items span { color: var(--ink-soft); font-size: 15.5px; }
.flatlay { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 30px; padding: 20px; position: relative; }
.flatlay figure { margin: 0; position: relative; }
.flatlay figure:nth-child(even) { margin-top: 44px; }
.flatlay .stamp { --r: 8px; }
.flatlay .hand { position: absolute; left: 50%; bottom: -14px; translate: -50% 0; font-size: 27px; background: var(--butter); padding: 2px 14px 4px; border-radius: 4px; transform: rotate(var(--trot, -3deg)); white-space: nowrap; box-shadow: 0 2px 0 rgba(30,42,82,.15); z-index: 2; }

/* ---------- cómo funciona ---------- */
.how { background: var(--ink); color: var(--paper); overflow: hidden; }
.how .section__head .hand { color: var(--butter); }
.how .lead { color: rgba(246, 237, 221, .75); }
.route { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 160px; color: rgba(246, 237, 221, .3); pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; position: relative; }
.step { background: var(--card); color: var(--ink); border-radius: 6px; padding: 30px 28px 32px; position: relative; transform: rotate(var(--rot, 0deg)); box-shadow: 0 24px 40px -24px rgba(0,0,0,.6); transition: transform .3s; }
.step:hover { transform: rotate(0deg) translateY(-4px); }
.step:nth-child(1) { --rot: -1.5deg; }
.step:nth-child(2) { --rot: 1deg; margin-top: 36px; }
.step:nth-child(3) { --rot: -.8deg; }
.step__num { font: italic 400 84px/.8 var(--f-display); color: var(--red); font-variation-settings: "SOFT" 100, "WONK" 1; }
.step h3 { font-size: 28px; margin: 18px 0 12px; }
.step p { color: var(--ink-soft); font-size: 16px; }
.step .postmark { width: 96px; height: 96px; right: 14px; top: 12px; color: var(--red); opacity: .55; transform: rotate(14deg); }
.step .postmark text { font-size: 13px; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--airmail); border-radius: 6px 6px 0 0; }

/* ---------- planes ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.12fr; gap: 28px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.plan { border-radius: var(--radius); padding: clamp(28px, 3.6vw, 44px); position: relative; display: flex; flex-direction: column; border: 2px solid var(--ink); }
.plan--free { background: var(--card); border-style: dashed; }
.plan--paid { background: var(--ink); color: var(--paper); box-shadow: 10px 10px 0 var(--red); }
.plan--paid::before { content: ""; position: absolute; inset: 12px; border-radius: 12px; padding: 7px; background: var(--airmail); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .9; pointer-events: none; }
.plan__tag { position: absolute; top: -20px; right: 28px; background: var(--butter); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px; font: 700 22px/1 var(--f-hand); transform: rotate(4deg); z-index: 2; }
.plan .label { opacity: .8; }
.plan h3 { font-size: clamp(32px, 3.4vw, 42px); margin: 14px 0 8px; }
.plan__for { opacity: .8; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 22px; padding-bottom: 22px; border-bottom: 1.5px dashed currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.price b { font: 500 clamp(56px, 6vw, 76px)/.9 var(--f-display); letter-spacing: -.03em; }
.price span { font-size: 16px; opacity: .8; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 11px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--red); }
.plan--paid .ticks svg { color: var(--butter); }
.plan .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
.plan--paid .btn { --bg: var(--butter); --fg: var(--ink); border-color: var(--paper); box-shadow: 0 4px 0 var(--paper); }
.plan--paid .btn:hover { box-shadow: 0 6px 0 var(--paper); }
.plans__note { text-align: center; margin-top: 40px; color: var(--ink-soft); }
.plans__note a { font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.plan .stamp { position: absolute; width: 96px; right: -26px; bottom: 34%; --rot: 10deg; --r: 5px; z-index: 2; }

/* ---------- carta gratis (postal con formulario) ---------- */
.free { background: var(--red); color: #fff; overflow: hidden; }
.free::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.12), transparent 40%), radial-gradient(circle at 90% 90%, rgba(0,0,0,.12), transparent 45%); pointer-events: none; }
.free .section__head .hand { color: var(--butter); }
.free .lead { color: rgba(255,255,255,.85); }
.bigcard { position: relative; max-width: 980px; margin: 0 auto; background: var(--card); color: var(--ink); border-radius: 6px; padding: clamp(26px, 4vw, 48px); box-shadow: 0 40px 60px -30px rgba(0,0,0,.55); transform: rotate(-1.2deg); }
.bigcard__grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: clamp(24px, 4vw, 48px); }
.bigcard__rule { background: var(--line); }
.bigcard__msg { font: 600 clamp(22px, 2.3vw, 28px)/1.2 var(--f-hand); }
.bigcard__msg p + p { margin-top: 12px; }
.bigcard__msg .sign { color: var(--red); font-size: 1.2em; }
.bigcard__corner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.bigcard__corner .stamp { width: 86px; --r: 5px; --rot: 5deg; }
.bigcard .postmark { position: relative; width: 104px; height: 104px; transform: rotate(-10deg); color: var(--red); }
.form { display: grid; gap: 18px; }
.field label { display: block; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input { width: 100%; border: 0; border-bottom: 2px dashed var(--line); background: transparent; padding: 10px 2px 8px; font: 600 26px/1.1 var(--f-hand); color: var(--ink); border-radius: 0; }
.field input::placeholder { color: rgba(30,42,82,.35); }
.field input:focus { outline: none; border-bottom: 2px solid var(--red); }
.field input:user-invalid { border-bottom-color: var(--red); }
.form .btn { justify-self: start; margin-top: 6px; }
.form__small { font-size: 14px; color: var(--ink-soft); }
.form__ok { display: none; font: 700 28px/1.2 var(--f-hand); color: var(--red); }
.form.is-sent .field, .form.is-sent .btn { display: none; }
.form.is-sent .form__ok { display: block; }
.free .washi { top: -12px; left: 50%; margin-left: -70px; width: 140px; height: 34px; --rot: 3deg; --tape: var(--butter); z-index: 2; }

/* ---------- regalar ---------- */
.gift__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.gift__photo { position: relative; max-width: 420px; }
.gift__photo .stamp { --r: 9px; --rot: -4deg; }
.gift__photo .stamp img { --ar: 4 / 5; }
.gift__photo .washi { top: -10px; right: 18%; --rot: 12deg; --tape: var(--sky); }
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 36px 0 0; padding: 0; }
.tag {
  position: relative; background: var(--c); color: var(--ink); padding: 54px 20px 24px; text-align: center;
  clip-path: polygon(22% 0, 78% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
  border-radius: 0 0 14px 14px; transform: rotate(var(--rot)); transition: transform .3s cubic-bezier(.3,1.4,.5,1);
  filter: drop-shadow(0 10px 12px rgba(30,42,82,.15));
}
.tag:hover { transform: rotate(0deg) translateY(-6px); }
.tag::before { content: ""; position: absolute; top: 18px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px rgba(30,42,82,.25); }
.tag:nth-child(1) { --c: var(--butter); --rot: -3deg; }
.tag:nth-child(2) { --c: var(--mint); --rot: 2deg; margin-top: 26px; }
.tag:nth-child(3) { --c: var(--pink); --rot: -1.5deg; }
.tag h3 { font-size: 30px; }
.tag p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.tag b { display: block; font: 500 44px/1 var(--f-display); margin: 14px 0 16px; letter-spacing: -.02em; }
.tag a { font-weight: 700; font-size: 15px; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.tag a:hover { color: var(--red); }

/* ---------- preguntas ---------- */
.faq { background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside .stamp { width: 190px; --rot: -5deg; margin-top: 36px; --r: 7px; }
.qa { background: var(--card); border-radius: 14px; margin-bottom: 14px; border: 1.5px solid var(--line); overflow: hidden;
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(30,42,82,.07) 31px 32px); background-position: 0 14px; }
.qa summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font: 500 21px/1.25 var(--f-display); position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--butter); border: 1.5px solid var(--ink); display: grid; place-items: center; font: 500 22px/1 var(--f-body); transition: transform .25s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--pink); }
.qa div { padding: 0 24px 24px; color: var(--ink-soft); }
.qa:first-of-type { border-top: 6px solid var(--red); }

/* ---------- cierre y pie ---------- */
.closing { background: var(--butter); text-align: center; overflow: hidden; }
.closing h2 { font-size: clamp(44px, 6.4vw, 88px); max-width: 10em; margin-inline: auto; }
.closing p { margin: 20px auto 34px; max-width: 30em; font-size: 18px; }
.closing .stamp { position: absolute; width: clamp(110px, 13vw, 170px); --r: 7px; }
.closing .c1 { left: 3%; top: 10%; width: clamp(100px, 10vw, 140px); --rot: -12deg; }
.closing .c2 { right: 5%; bottom: 14%; --rot: 9deg; }
.closing .wrap { position: relative; z-index: 2; }

.footer { background: var(--ink); color: var(--paper); padding: 0 0 28px; position: relative; }
.footer::before { content: ""; display: block; height: 10px; background: var(--airmail), var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding: 64px 0 48px; }
.footer .logo span { font-size: 40px; }
.footer .logo svg { width: 40px; height: 48px; }
.footer__tag { margin-top: 14px; color: rgba(246,237,221,.7); max-width: 22em; }
.footer h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 18px; color: var(--butter); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: rgba(246,237,221,.85); }
.footer ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__big { font: italic 400 clamp(90px, 22vw, 320px)/.8 var(--f-display); letter-spacing: -.05em; color: rgba(246,237,221,.08); text-align: center; margin: 0 0 18px; user-select: none; font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(246,237,221,.15); font-size: 14px; color: rgba(246,237,221,.6); }
.footer__base a { color: inherit; }

/* ---------- aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-reveal="2"] { transition-delay: .12s; }
.js [data-reveal="3"] { transition-delay: .24s; }

/* ---------- tableta ---------- */
@media (max-width: 1023px) {
  .nav__links { gap: 20px; }
  .hero__grid, .inside__grid, .gift__grid, .faq__grid { grid-template-columns: 1fr; }
  .desk { max-width: 620px; width: 100%; margin: 30px auto 0; }
  .faq__aside { position: static; }
  .faq__aside .stamp { display: none; }
  .gift__photo { max-width: 340px; margin: 0 auto; }
  .flatlay { max-width: 620px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav.is-open .nav__links { display: grid; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); padding: 20px var(--gutter) 28px; gap: 6px; border-bottom: 1.5px solid var(--line); box-shadow: 0 20px 30px -20px rgba(30,42,82,.3); }
  .nav.is-open .nav__links a { font: 500 28px/1.5 var(--f-display); }
  .nav.is-open .nav__cta { display: inline-flex; position: absolute; top: 74px; right: var(--gutter); margin-top: 24px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 22px; }
  .step:nth-child(2) { margin-top: 0; }
  .route { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .bigcard__grid { grid-template-columns: 1fr; }
  .bigcard__rule { height: 1px; }
}

/* ---------- móvil ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 28px; }
  .hero__ctas .btn { width: 100%; }
  .desk { aspect-ratio: 1 / 1.05; }
  .env { left: 4%; right: 4%; bottom: 10%; }
  .env .postcard { padding: 14px 14px; top: -52%; height: 112%; }
  .postcard__grid { grid-template-columns: 1fr; }
  .postcard__to { display: none; }
  .postcard__msg { border-right: 0; padding-right: 0; font-size: 15px; }
  .env__label b { font-size: 20px; }
  .env__seal { width: 42px; height: 42px; font-size: 19px; }
  .desk .s1 { width: 27%; left: -2%; top: 54%; }
  .desk .s2 { width: 25%; right: -2%; top: 60%; }
  .desk .postmark { width: 90px; height: 90px; right: -3%; top: 12%; }
  .desk__note { font-size: 22px; left: 28%; bottom: -5%; }
  .postcard__msg p:first-child { display: none; }
  .gift__photo { max-width: 260px; }
  .flatlay { gap: 22px 16px; padding: 6px; }
  .flatlay .hand { font-size: 22px; }
  .tags { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .tag:nth-child(2) { margin-top: 0; }
  .plan .stamp { width: 74px; right: -10px; bottom: auto; top: 54px; }
  .plan--paid { box-shadow: 6px 6px 0 var(--red); }
  .bigcard { transform: none; }
  .bigcard .postmark { width: 84px; height: 84px; }
  .closing .stamp { opacity: .35; }
  .closing .c1 { left: -30px; top: 24px; }
  .closing .c2 { right: -30px; bottom: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .qa summary { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}

/* Logo Átomo Mail Club (imagen: avión + nombre en dos líneas) */
.logo img { display: block; height: 50px; width: auto; transition: transform .3s; }
.logo:hover img { transform: rotate(-2deg); }
.footer .logo img { height: 66px; }
@media (max-width: 640px) { .logo img { height: 40px; } }
/* Insignia azul redonda en la postal de la carta gratis */
.bigcard__corner .badge { width: 92px; height: 92px; border-radius: 50%; transform: rotate(6deg); box-shadow: 0 4px 10px rgba(30,42,82,.22); }
/* Las ilustraciones ya traen fondo crema: que no se recorten dentro del sello */
.stamp img[src*="/ilus/"] { object-fit: contain; background: #f3ebdd; }
.postcard__msg p + p { margin-top: 5px; }
/* el sello del plan de pago, abajo a la derecha para no tapar la lista */
.plan--paid .stamp { bottom: 7%; top: auto; }
@media (max-width: 640px) { .plan--paid .stamp { bottom: 4%; top: auto; right: -6px; } }
/* campo trampa antispam del formulario (invisible para personas) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
