/* ============================================
   noviosgift.cl — sitio web
   Marca · marketing · onboarding
   ============================================ */

:root {
  --paper: #F8F4EC;
  --bone: #F4EFE6;
  --cream: #ECE4D2;
  --ink: #2A2620;
  --ink-soft: #4A433B;
  --ink-mute: #8B8275;
  --line: #D9CFBC;
  --hairline: rgba(42, 38, 32, 0.10);
  --sage: #8A9279;
  --sage-deep: #5F6A52;
  --terracotta: #B86A4A;
  --terracotta-soft: #D9947A;
  --gold: #B89968;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
input, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* utility */
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; }
.it { font-family: var(--serif); font-style: italic; font-weight: 300; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 500; color: var(--terracotta);
}
.eyebrow.ink { color: var(--ink-mute); }
.mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-mute);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo .dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  vertical-align: middle;
  margin: 0 1px 4px 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
  flex-shrink: 1;
  flex: 1;
  min-width: 0;
}
.nav-links a { white-space: nowrap; }
.nav-links a {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.nav-code-btn {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  color: var(--ink);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-code-btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lang-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle span:first-child {
  background: var(--ink);
  color: var(--paper);
}
.lang-toggle.is-en span:first-child {
  background: transparent;
  color: var(--ink-mute);
}
.lang-toggle.is-en span:last-child {
  background: var(--ink);
  color: var(--paper);
}
.nav-create-btn {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 18px;
  background: var(--terracotta);
  color: var(--paper);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-create-btn:hover { background: #a25a3d; }
.nav-login-btn {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-login-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

/* ── Hero background photo ────────────────────
   Drop hero-bg.jpg in this folder and it appears
   as a subtle blurred backdrop.
   ─────────────────────────────────────────── */
.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: url("hero-bg.jpg") center top / cover no-repeat;
  filter: blur(14px) brightness(0.90) saturate(0.80);
  transform: scaleX(-1);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(248,244,236,0.60) 0%, rgba(248,244,236,0.42) 100%),
    radial-gradient(circle at 15% 20%, rgba(217, 148, 122, 0.08), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(138, 146, 121, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 32px;
}
.hero-h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 88px;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 24px;
}
.hero-h1 .it { font-style: italic; font-weight: 300; }
.hero-h1 .small { display: inline-block; font-size: 0.85em; }

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 32px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-primary:hover { background: var(--terracotta); transform: translateY(-1px); }
.btn-primary.terra { background: var(--terracotta); }
.btn-primary.terra:hover { background: #a25a3d; }

.btn-ghost {
  padding: 18px 4px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: gap 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost:hover { gap: 16px; }

.hero-card-note {
  margin-top: 26px;
  max-width: 560px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: minmax(124px, max-content) 1fr;
  gap: 18px;
  align-items: baseline;
}
.hero-card-note-kicker {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  white-space: nowrap;
}
.hero-card-note-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink-soft);
}

.hero-meta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  color: var(--ink-mute);
}
.hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .pill .ck {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

/* hero visual: invitation card */
.hero-visual {
  position: relative;
  height: 580px;
  perspective: 1200px;
}
.invite-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(42, 38, 32, 0.12);
  border-radius: 6px;
  overflow: hidden;
  /* box-shadow transition only — transform is driven by JS */
  transition: box-shadow 0.4s ease;
}
.invite-card.main {
  width: 360px;
  height: 540px;
  left: 50%;
  top: 20px;
  transform: translateX(-52%) rotate(-3deg);
  cursor: pointer;
  text-align: inherit;
  will-change: transform;
}
.invite-card.main:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 8px;
}
.invite-card.main:hover {
  box-shadow: 0 40px 100px rgba(42, 38, 32, 0.16);
}
/* JS drives transform via inline style — CSS only sets the default */
.invite-card.back {
  width: 280px;
  height: 420px;
  left: 50%;
  top: 80px;
  transform: translateX(-10%) rotate(6deg);
  z-index: -1;
  background: var(--cream);
  transition: transform 0.55s cubic-bezier(0.34, 1.14, 0.64, 1), opacity 0.4s ease;
}
.flip-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.flip-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.flip-panel.exiting {
  opacity: 0;
  pointer-events: none;
}
.invite-panel {
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.location-panel,
.gifts-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,244,236,0.96)),
    var(--paper);
}
.flip-paper {
  min-height: 100%;
  padding: 54px 34px 38px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-panel .flip-paper {
  justify-content: flex-start;
  padding: 42px 32px 68px;
}
.location-mark {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--terracotta);
  margin-top: 14px;
}
.location-sub,
.gift-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  margin-top: 12px;
}
.location-map {
  height: 132px;
  margin: 20px 0 16px;
  position: relative;
  border: 1px solid var(--hairline);
  background: var(--bone);
  overflow: hidden;
}
.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.68) contrast(0.96);
}
.location-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248,244,236,0.08), rgba(248,244,236,0.18));
}
.location-map-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.location-map-open {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(248,244,236,0.94);
  box-shadow: 0 8px 24px rgba(42,38,32,0.12);
  color: var(--terracotta);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
/* ── Flip hint ──────────────────────────────── */
.flip-hint {
  position: absolute;
  left: 28px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 12px rgba(0,0,0,0.28);
  opacity: 0;
  animation: hint-rise 0.6s var(--ease-out) 1.6s forwards;
  transition: opacity 0.5s ease;
}
.flip-hint.touched {
  opacity: 0 !important;
  animation: none;
  pointer-events: none;
}
@keyframes hint-rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.flip-hint.on-paper {
  position: static;
  justify-content: center;
  margin-top: 26px;
  color: var(--terracotta);
  text-shadow: none;
  opacity: 1;
  animation: none;
}
.flip-hint i {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  position: relative;
  animation: hint-nudge 2s ease-in-out 2.4s infinite;
}
@keyframes hint-nudge {
  0%, 100% { transform: translateX(0); opacity: 1; }
  45%       { transform: translateX(7px); opacity: 0.65; }
  75%       { transform: translateX(3px); opacity: 0.85; }
}
.flip-hint.on-paper i {
  animation: hint-nudge 2s ease-in-out infinite;
}
.flip-hint i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ── Flip dots (progress indicator) ─────────── */
.flip-dots {
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-52%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
}
.flip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.34, 1.14, 0.64, 1),
              background 0.25s ease,
              transform 0.3s ease;
}
.flip-dot:hover { transform: scaleY(1.3); }
.flip-dot.active {
  width: 22px;
  background: var(--terracotta);
}

/* ── Peek cards react to flip ────────────────── */
.card-peek {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  color: var(--ink-mute);
  font-size: 10px;
}
.peek-mini {
  width: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  opacity: 0.82;
}
.peek-kicker {
  width: fit-content;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}
.peek-mini strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  color: var(--ink-soft);
}
.peek-mini em {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.25;
  font-style: italic;
  color: var(--ink-mute);
  text-transform: none;
  letter-spacing: 0;
}
.peek-map-line,
.peek-gift-row {
  display: block;
  width: 72%;
  height: 28px;
  margin-top: 6px;
  border-top: 1px solid rgba(42,38,32,0.14);
  border-bottom: 1px solid rgba(42,38,32,0.10);
  transform: skewY(-7deg);
}
.peek-gift-row {
  height: 12px;
  border-top: 0;
  background: rgba(184,106,74,0.12);
  transform: none;
}
.peek-gift-row.short {
  width: 52%;
  margin-top: 0;
  background: rgba(138,146,121,0.16);
}
.peek-location {
  transform: translateX(-8%) rotate(6deg);
  background:
    radial-gradient(circle at 50% 28%, rgba(138,146,121,0.18), transparent 36%),
    var(--cream);
}
.peek-gifts {
  width: 240px;
  height: 360px;
  top: 124px;
  transform: translateX(-70%) rotate(-9deg);
  background:
    radial-gradient(circle at 30% 30%, rgba(184,106,74,0.14), transparent 36%),
    var(--bone);
}
.peek-location.peek-active {
  transform: translateX(-5%) rotate(3deg) translateY(-14px);
  box-shadow: 0 40px 80px rgba(42,38,32,0.14);
}
.peek-gifts.peek-active {
  transform: translateX(-75%) rotate(-6deg) translateY(-14px);
  box-shadow: 0 40px 80px rgba(42,38,32,0.14);
}
/* ── Event lines (location panel) ──────────── */
.event-lines {
  display: grid;
  gap: 13px;
  margin-top: 6px;
  text-align: left;
}
.event-lines div {
  padding-top: 13px;
  border-top: 1px solid var(--hairline);
}
.event-lines span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 7px;
}
.event-lines strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 300;
  color: var(--ink);
}
.location-panel .flip-hint.on-paper,
.gifts-panel .flip-hint.on-paper {
  margin-top: 12px;
  flex-shrink: 0;
  font-size: 8px;
}

/* ── Gifts panel (new) ──────────────────────── */
.gifts-panel {
  background: var(--paper);
}
.gp-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.gp-head {
  padding: 24px 24px 14px;
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}
.gp-eyebrow {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 5px;
}
.gp-couple {
  width: 100%;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gp-couple span {
  color: var(--terracotta);
  font-style: normal;
}
.gp-gift-entry {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: 16px 18px 14px;
  border-top: 1px solid var(--hairline);
  gap: 12px;
}

.gp-final-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(42,38,32,0.08);
  border-radius: 7px;
  background: rgba(255,255,255,0.44);
}
.gp-final-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.gp-final-item:last-child {
  border-bottom: 0;
}
.gp-final-info {
  min-width: 0;
}
.gp-final-info strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 300;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gp-final-info em {
  display: block;
  margin-top: 2px;
  font-size: 8.5px;
  line-height: 1.1;
  color: var(--ink-mute);
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gp-goal-mini {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(42,38,32,0.10);
  overflow: hidden;
}
.gp-goal-mini b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--terracotta);
}
.gp-final-price {
  font-size: 12px;
  line-height: 1;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.01em;
}

/* Gift list */
.gp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.gp-list::-webkit-scrollbar { display: none; }

.gp-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 16px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 0.18s ease;
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-height: 39px;
}
.gp-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--terracotta);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s ease;
}
.gp-item:hover,
.gp-item.active {
  background: rgba(184,106,74,0.04);
}
.gp-item.active::before {
  transform: scaleY(1);
}
.gp-item--taken {
  opacity: 0.5;
  cursor: pointer;
}
.gp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.gp-item.active .gp-dot {
  transform: scale(1.35);
}
.gp-info {
  flex: 1;
  min-width: 0;
}
.gp-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gp-item.active .gp-name {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.gp-desc {
  font-size: 9.5px;
  color: var(--ink-mute);
  margin-top: 2px;
  line-height: 1.4;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.gp-item.active .gp-desc {
  max-height: 40px;
  opacity: 1;
}
.gp-right {
  flex-shrink: 0;
  text-align: right;
}
.gp-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.gp-item.active .gp-price {
  color: var(--terracotta);
}
.gp-taken-badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--sage);
  font-weight: 500;
}

/* Expandable CTA bar */
.gp-cta-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  background: var(--bone);
  border-top: 1px solid var(--hairline);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.34,1.14,0.64,1),
              opacity 0.25s ease,
              padding 0.3s ease;
}
.gp-cta-bar.show {
  max-height: 54px;
  opacity: 1;
  padding: 10px 16px;
}
.gp-cta-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.gp-cta-btn {
  flex-shrink: 0;
  padding: 7px 14px;
  background: var(--terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.gp-cta-btn:hover { background: #a05840; }

/* Footer */
.gp-footer {
  flex-shrink: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--hairline);
  background: var(--bone);
}
.gp-invite {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  padding-top: 9px;
  border-top: 1px solid var(--hairline);
}
.gp-invite-title {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 5px;
}
.gp-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 146px;
  padding: 6px 8px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  cursor: text;
}
.gp-code-chip span {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.gp-code-chip input {
  width: 58px;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink);
  outline: 0;
}
.gp-invite-static {
  align-items: end;
}
.gp-code-chip-static {
  display: inline-flex;
  align-items: center;
  width: auto;
}
.gp-code-chip-static strong {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.gp-card-signature {
  justify-self: end;
  align-self: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.gp-stat {
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.gp-stat strong {
  color: var(--ink);
  font-weight: 600;
}
.gp-link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 1px;
  transition: opacity 0.15s;
  cursor: pointer;
}
.gp-link:hover { opacity: 0.7; }
.demo-editable {
  border-radius: 4px;
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: background 0.18s ease, outline-color 0.18s ease;
}
.demo-editable:hover,
.demo-editable:focus {
  background: rgba(184,106,74,0.06);
  outline-color: rgba(184,106,74,0.28);
}

.invite-photo {
  height: 66%;
  background:
    linear-gradient(180deg, transparent 42%, rgba(42,38,32,0.58)),
    url("card-photo.jpg") center 40% / cover no-repeat;
  position: relative;
  flex-shrink: 0;
}
.invite-photo-names {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 1;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.invite-photo-names .invite-name-edit {
  display: block;
  min-width: 90px;
}
.invite-photo-names .amp {
  display: block;
  font-style: italic;
  font-size: 20px;
  margin: 5px 0;
  color: rgba(255,255,255,0.76);
}
.invite-body {
  flex: 1;
  min-height: 0;
  padding: 20px 28px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invite-eyebrow {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.invite-names {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.invite-name-edit {
  display: block;
  min-width: 90px;
}
.invite-names .amp {
  display: block;
  font-style: italic;
  font-size: 24px;
  margin: 4px 0;
  color: var(--terracotta);
}
.invite-date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 0;
  text-wrap: balance;
}
.invite-panel .flip-hint {
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  color: var(--terracotta);
  text-shadow: none;
  white-space: nowrap;
}
.invite-panel .flip-hint i {
  width: 24px;
}

/* ============================================
   Trust band — pequeñas pruebas sociales
   ============================================ */
.trust {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bone);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.trust-inner .num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-right: 10px;
}

/* ============================================
   Section base
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section.tight { padding: 80px 0; }
.section.bone { background: var(--bone); }
.section.cream { background: var(--cream); }

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.section-eyebrow {
  margin-bottom: 24px;
}
.section-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}
.section-h2 .it { font-style: italic; }
.section-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================
   Included features — ventajas del producto
   ============================================ */
.included {
  background: var(--paper);
  padding-top: 104px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.feature-card {
  min-height: 246px;
  padding: 34px 28px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.52);
  transform: translateY(-2px);
}
.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  border: 1px solid rgba(184, 106, 74, 0.34);
  border-radius: 999px;
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  padding: 0 10px;
}
.feature-card h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================
   Cómo funciona — 3 pasos para parejas
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.step {
  padding: 56px 40px;
  border-right: 1px solid var(--hairline);
  position: relative;
  transition: background 0.4s;
}
.step:last-child { border-right: none; }
.step:hover { background: rgba(255,255,255,0.4); }

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--terracotta);
  margin-bottom: 32px;
  display: block;
}
.step-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
.step-title .it { font-style: italic; }
.step-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.step-detail {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  border-left: 1px solid var(--terracotta);
  padding-left: 14px;
}

/* ============================================
   Builder preview — armado de la lista
   ============================================ */
.builder {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.builder-text h2 { font-size: 56px; margin-bottom: 24px; }
.builder-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.builder-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.builder-list li:last-child { border-bottom: none; }
.builder-list .ix {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.builder-list .body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}
.builder-list .body .it { font-style: italic; }

/* mock app screen on the right */
.mock-screen {
  background: var(--paper);
  border-radius: 16px;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(42, 38, 32, 0.10);
  overflow: hidden;
  height: 540px;
  display: flex;
  flex-direction: column;
}
.mock-bar {
  height: 36px;
  background: var(--bone);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}
.mock-bar .light {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.mock-bar .url {
  margin-left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
}

.mock-body {
  flex: 1;
  padding: 28px 32px;
  overflow: hidden;
}
.mock-stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.mock-stepper .pip {
  width: 32px; height: 3px;
  background: var(--line);
  border-radius: 100px;
}
.mock-stepper .pip.active { background: var(--terracotta); }

.mock-h {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
}
.mock-h .it { font-style: italic; }
.mock-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0 0 20px;
}

.mock-row {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s var(--ease-out);
}
.mock-row:hover { border-color: var(--terracotta); transform: translateX(4px); }
.mock-row.done { opacity: 0.55; }
.mock-draggable {
  cursor: grab;
  user-select: none;
}
.mock-draggable:active {
  cursor: grabbing;
}
.mock-row.dragging {
  opacity: 0.34;
  transform: scale(0.98);
}
.mock-body.reordering .mock-row:not(.dragging):hover {
  transform: none;
}
.mock-row .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
}
.mock-row.done .check {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--paper);
}
.mock-row .grow { flex: 1; }
.mock-row .name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 15px;
}
.mock-row .name .it { font-style: italic; }
.mock-row .val {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.mock-row .add {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  white-space: nowrap;
}
.mock-row.add-new {
  border-style: dashed;
  background: transparent;
  justify-content: center;
}
.mock-row.add-new .check { display: none; }

.mock-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 106, 74, 0.10), transparent 38%),
    var(--paper);
}
.mock-share-card {
  width: min(270px, 100%);
  border: 1px solid rgba(42, 38, 32, 0.10);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 55px rgba(42, 38, 32, 0.13);
}
.mock-share-photo {
  height: 172px;
  position: relative;
  background:
    linear-gradient(to bottom, rgba(42, 38, 32, 0.03), rgba(42, 38, 32, 0.35)),
    url("card-photo.jpg") center 40% / cover no-repeat;
}
.mock-share-photo > div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 1px 16px rgba(42, 38, 32, 0.34);
}
.mock-share-photo span {
  display: block;
  margin: 4px 0;
  font-size: 17px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.76);
}
.mock-share-meta {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
}
.mock-share-meta span {
  display: block;
  margin-bottom: 6px;
  font-size: 7px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mock-share-meta strong {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-mute);
}
.mock-share-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--hairline);
}
.mock-share-strip span {
  padding: 10px 6px;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-right: 1px solid var(--hairline);
}
.mock-share-strip span:last-child { border-right: 0; }
.mock-share-gifts {
  padding: 12px 14px 14px;
  background: var(--paper);
}
.mock-share-gifts div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(42, 38, 32, 0.08);
}
.mock-share-gifts div:last-child { border-bottom: 0; }
.mock-share-gifts i {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d9947a, #b86a4a);
  flex-shrink: 0;
}
.mock-share-gifts div:nth-child(2) i {
  background: linear-gradient(135deg, #a8b49a, #5f6a52);
}
.mock-share-gifts span {
  flex: 1;
  min-width: 0;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-share-gifts button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--terracotta);
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: 0.06em;
  pointer-events: none;
}
.mock-card-caption {
  max-width: 360px;
  margin: 0;
  color: var(--ink-mute);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

/* ============================================
   Para invitados — code form
   ============================================ */
.guests {
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 148, 122, 0.10), transparent 50%),
    var(--bone);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.guests-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.code-block {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(42, 38, 32, 0.08);
}
.code-block-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 6px;
}
.code-block-title .it { font-style: italic; }
.code-block-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  text-align: center;
  margin: 0 0 28px;
}
.code-cells {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.code-cell {
  width: 48px;
  height: 60px;
  border: 1px solid var(--line);
  background: var(--bone);
  border-radius: 6px;
  text-align: center;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: all 0.3s var(--ease-out);
}
.code-cell:focus {
  border-color: var(--terracotta);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 106, 74, 0.10);
}
.code-cell.filled {
  background: #fff;
  border-color: var(--ink-mute);
}
.code-cell.error {
  border-color: var(--terracotta);
  animation: shake 0.4s;
}
.code-cell.success {
  border-color: var(--sage-deep);
  background: rgba(138, 146, 121, 0.10);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.code-hint {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  min-height: 22px;
  transition: color 0.3s;
  margin-bottom: 24px;
}
.code-hint.error { color: var(--terracotta); }
.code-hint.success { color: var(--sage-deep); }
.code-block-foot {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
}
.code-block-foot span {
  padding: 4px 8px;
  background: var(--bone);
  border: 1px dashed var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.code-block-foot span:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* ============================================
   Galería de invitaciones
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.invite-thumb {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.invite-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(42, 38, 32, 0.10);
}
.invite-thumb-photo {
  height: 200px;
  position: relative;
}
.invite-thumb-photo.warm {
  background:
    repeating-linear-gradient(45deg,
      rgba(184, 106, 74, 0.18) 0px, rgba(184, 106, 74, 0.18) 2px,
      transparent 2px, transparent 4px),
    linear-gradient(135deg, #d4b8a0, #b8916e);
}
.invite-thumb-photo.botanical {
  background:
    repeating-linear-gradient(45deg,
      rgba(138, 146, 121, 0.2) 0px, rgba(138, 146, 121, 0.2) 2px,
      transparent 2px, transparent 4px),
    linear-gradient(135deg, #b8b8a0, #8a9279);
}
.invite-thumb-photo.editorial {
  background:
    repeating-linear-gradient(45deg,
      rgba(0,0,0,0.10) 0px, rgba(0,0,0,0.10) 2px,
      transparent 2px, transparent 4px),
    linear-gradient(135deg, #2a2620, #4a433b);
}
.invite-thumb-body {
  padding: 22px 22px 26px;
  text-align: center;
}
.invite-thumb-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--ink);
}
.invite-thumb-mark .amp { color: var(--terracotta); }
.invite-thumb-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}
.invite-thumb-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  background: var(--bone);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 40px 36px;
  position: relative;
  transition: all 0.4s var(--ease-out);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(42, 38, 32, 0.08);
}
.price-card.feat {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.price-card.feat .price-name,
.price-card.feat .price-num,
.price-card.feat .price-feature {
  color: var(--paper);
}
.price-card.feat .price-meta { color: rgba(244,239,230,0.6); }
.price-card.feat .price-feature::before { background: var(--terracotta-soft); }

.price-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 14px;
}
.price-card.feat .price-tag { color: var(--terracotta-soft); }
.price-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.price-name .it { font-style: italic; }
.price-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0 0 32px;
}
.price-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}
.price-num .small {
  font-size: 16px;
  color: var(--ink-mute);
  margin-left: 6px;
  font-style: italic;
}
.price-features {
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}
.price-feature {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
.price-card.feat .price-feature {
  border-bottom-color: rgba(244,239,230,0.10);
}
.price-feature:last-child { border-bottom: none; }
.price-feature::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
}

.price-cta {
  width: 100%;
  padding: 16px 0;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  transition: background 0.3s;
}
.price-card.feat .price-cta {
  background: var(--terracotta);
  color: var(--paper);
}
.price-cta:hover { background: var(--terracotta); }
.price-card.feat .price-cta:hover { background: #a25a3d; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-q .toggle {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 22px;
  transition: transform 0.3s;
}
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
  padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.faq-item.open .faq-a {
  max-height: 220px;
  padding: 16px 0 4px;
}

/* ============================================
   CTA banner
   ============================================ */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(184, 106, 74, 0.18), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(138, 146, 121, 0.14), transparent 50%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--paper);
}
.cta-banner h2 .it { font-style: italic; }
.cta-banner p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(244,239,230,0.7);
  margin: 0 auto 48px;
  max-width: 460px;
  line-height: 1.5;
}
.cta-banner .btn-primary {
  background: var(--terracotta);
  color: var(--paper);
}
.cta-banner .btn-primary:hover { background: var(--paper); color: var(--ink); }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bone);
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-mark .dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  vertical-align: middle;
  margin: 0 1px 6px 1px;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  max-width: 280px;
  line-height: 1.5;
}
.footer-col-h {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--terracotta); }

.footer-bot {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bot .made {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}

/* ============================================
   Modal (entrada por código)
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: fade-in 0.3s var(--ease-out);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal-shell {
  width: 100%;
  max-width: 480px;
  background: var(--paper);
  border-radius: 12px;
  padding: 48px 40px 40px;
  position: relative;
  animation: pop-up 0.4s var(--ease-out);
}
@keyframes pop-up {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-x {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bone);
  font-size: 20px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-x:hover { background: var(--cream); }

/* ============================================
   reveal-on-scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* responsive — mantener algo legible en angosto */
@media (max-width: 1180px) {
  .nav-inner {
    padding: 16px 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
    gap: 10px;
  }
  .nav-code-btn,
  .nav-login-btn,
  .nav-create-btn,
  .lang-toggle {
    padding: 10px 16px;
    letter-spacing: 0.14em;
  }
  .lang-toggle { padding: 4px; }
}

@media (max-width: 960px) {
  .hero-inner, .builder, .guests-inner { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--hairline); }
  .step:last-child { border-bottom: none; }
  .gallery, .pricing { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-h1 { font-size: 56px; }
  .section-h2 { font-size: 40px; }
  .cta-banner h2 { font-size: 44px; }
  .hero-visual { height: 480px; }
  .hero-card-note {
    max-width: 100%;
  }
  .invite-card.main {
    width: min(340px, 88vw);
    height: 500px;
    left: 50%;
    top: 34px;
    transform: translateX(-50%) rotate(-3deg);
  }
  .invite-card.main:hover {
    box-shadow: 0 40px 100px rgba(42,38,32,0.16);
  }
  .invite-card.back {
    width: min(260px, 70vw);
    height: 390px;
    transform: translateX(-2%) rotate(6deg);
  }
  .peek-gifts {
    width: min(220px, 62vw);
    height: 330px;
    transform: translateX(-70%) rotate(-9deg);
  }
  .location-mark {
    font-size: 44px;
  }
  .flip-paper {
    padding: 48px 28px 32px;
  }
  .location-panel .flip-paper {
    padding: 42px 28px 64px;
  }
  .location-map {
    height: 150px;
  }
  .gift-orbit-legacy {
    min-height: 92px;
    font-size: 17px;
  }
}

@media (max-width: 680px) {
  .nav-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
  }
  .logo {
    width: auto;
    min-width: 0;
    text-align: left;
    font-size: 22px;
  }
  .nav-cta {
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    margin-left: 0;
    gap: 7px;
  }
  .nav-code-btn,
  .nav-login-btn { display: none; }
  .nav-create-btn {
    font-size: 10px;
    padding: 9px 11px;
    letter-spacing: 0.12em;
  }
  .nav-create-btn {
    max-width: 164px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lang-toggle {
    padding: 3px;
    flex-shrink: 0;
  }
  .lang-toggle span {
    min-width: 26px;
    height: 24px;
  }
  .hero {
    min-height: auto;
    padding: 54px 0 72px;
  }
  .hero-inner {
    gap: 34px;
  }
  .hero-eyebrow {
    margin-bottom: 20px;
  }
  .hero-h1 {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
  }
  .hero-sub {
    font-size: 19px;
    line-height: 1.45;
    margin-bottom: 28px;
  }
  .hero-ctas {
    align-items: stretch;
    gap: 12px;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }
  .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 12px 4px 14px;
  }
  .hero-card-note {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
    padding: 15px 0;
  }
  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }
  .hero-visual {
    height: 500px;
    margin: 0 auto;
    width: min(360px, 100%);
  }
  .invite-card.main {
    width: min(314px, 86vw);
    height: 470px;
    top: 8px;
    transform: translateX(-50%) rotate(-2deg);
  }
  .invite-card.back {
    width: min(230px, 64vw);
    height: 350px;
    top: 64px;
    transform: translateX(-1%) rotate(5deg);
  }
  .peek-gifts {
    width: min(210px, 58vw);
    height: 315px;
    top: 112px;
    transform: translateX(-62%) rotate(-7deg);
  }
  .invite-photo-names {
    bottom: 16px;
    font-size: 28px;
  }
  .invite-photo-names .amp {
    font-size: 18px;
    margin: 4px 0;
  }
  .invite-body {
    padding: 16px 22px 42px;
  }
  .invite-eyebrow {
    margin-bottom: 9px;
  }
  .invite-date {
    font-size: 13px;
  }
  .flip-paper {
    padding: 40px 24px 34px;
  }
  .location-panel .flip-paper {
    padding: 30px 22px 52px;
  }
  .location-mark {
    font-size: 36px;
    margin-top: 8px;
  }
  .location-sub,
  .gift-caption {
    font-size: 16px;
    margin-top: 8px;
  }
  .location-map {
    height: 120px;
    margin: 14px 0 12px;
  }
  .event-lines {
    gap: 9px;
  }
  .event-lines div {
    padding-top: 9px;
  }
  .event-lines strong {
    font-size: 14px;
  }
  .gp-head {
    padding: 18px 18px 11px;
  }
  .gp-couple {
    font-size: 17px;
  }
  .gp-gift-entry {
    padding: 12px 12px 12px;
    gap: 9px;
  }
  .gp-final-item {
    min-height: 50px;
    padding: 8px;
  }
  .gp-final-info strong {
    font-size: 12px;
  }
  .gp-final-price {
    font-size: 11px;
  }
  .gp-invite {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gp-card-signature {
    justify-self: start;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 0;
    padding: 28px 24px;
  }
  .hero-card-note-text {
    font-size: 18px;
  }
  .section {
    padding: 72px 0;
  }
  .section.tight {
    padding: 58px 0;
  }
  .section-head {
    margin-bottom: 42px;
  }
  .section-h2,
  .builder-text h2,
  .cta-banner h2 {
    font-size: 38px;
    line-height: 1.06;
  }
  .section-lead {
    font-size: 17px;
  }
  .step {
    padding: 38px 24px;
  }
  .step-num {
    font-size: 60px;
    margin-bottom: 18px;
  }
  .step-title {
    font-size: 25px;
  }
  .builder {
    gap: 36px;
  }
  .builder-list li {
    gap: 14px;
    padding: 14px 0;
  }
  .builder-list .body {
    font-size: 16px;
  }
  .mock-screen {
    height: 470px;
    border-radius: 12px;
  }
  .mock-body {
    padding: 22px 20px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }
  .logo {
    font-size: 20px;
  }
  .nav-create-btn {
    max-width: 132px;
    padding-inline: 10px;
  }
  .hero-h1 {
    font-size: 42px;
  }
  .hero-sub {
    font-size: 18px;
  }
  .hero-visual {
    height: 468px;
  }
  .invite-card.main {
    width: min(292px, 86vw);
    height: 440px;
  }
  .invite-card.back {
    width: min(210px, 62vw);
    height: 320px;
  }
  .peek-gifts {
    width: min(188px, 56vw);
    height: 290px;
  }
}

/* Mobile card fit: keep the hero preview inside short phone screens */
@media (max-width: 680px) {
  .hero-visual {
    width: min(340px, 100%, calc((100vh - 210px) * 0.68));
    width: min(340px, 100%, calc((100svh - 210px) * 0.68));
    width: min(340px, 100%, calc((100dvh - 210px) * 0.68));
    min-width: 0;
    height: auto;
    aspect-ratio: 340 / 500;
  }

  .invite-card.main {
    width: min(314px, 100%);
    height: auto;
    aspect-ratio: 314 / 470;
  }

  .invite-card.back {
    width: min(230px, 72%);
    height: auto;
    aspect-ratio: 230 / 350;
  }

  .peek-gifts {
    width: min(210px, 66%);
    height: auto;
    aspect-ratio: 210 / 315;
  }
}

@media (max-width: 420px) {
  .hero-visual {
    width: min(314px, 100%, calc((100vh - 198px) * 0.68));
    width: min(314px, 100%, calc((100svh - 198px) * 0.68));
    width: min(314px, 100%, calc((100dvh - 198px) * 0.68));
  }

  .invite-card.main {
    width: min(292px, 100%);
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }

  .nav-inner {
    padding-inline: 10px;
  }

  .nav-create-btn {
    max-width: 116px;
    font-size: 9px;
  }

  .hero-h1 {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-visual {
    width: min(292px, 100%, calc((100vh - 188px) * 0.68));
    width: min(292px, 100%, calc((100svh - 188px) * 0.68));
    width: min(292px, 100%, calc((100dvh - 188px) * 0.68));
  }
}
