/* =============================================
   THE NORMAL POST — Estilos principales
   Paleta: papel cálido, tinta oscura, lacre rojo
   ============================================= */

:root {
  /* Colores principales */
  --paper:       #FBF6EE;
  --paper-dark:  #F0E8DA;
  --ink:         #2B2520;
  --ink-light:   #5C544D;
  --ink-muted:   #8A8279;
  --sealing-wax: #B94A3A;
  --wax-dark:    #963D31;
  --wax-light:   #D4685A;
  --sage:        #6B8F71;
  --sage-dark:   #577358;
  --cream:       #FAF5EB;
  --white:       #FFFFFF;
  --dark-bg:     #1E1B18;
  --dark-card:   #2B2722;

  /* Tipografía */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espaciado */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Bordes */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transiciones */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.3s;
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: #F0E4D0;
  background-image: url("../img/paper-texture.svg");
  background-size: 800px 800px;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration) var(--ease);
}

ul {
  list-style: none;
}

/* ── Contenedores ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 780px;
}

/* ── Navegación ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 237, 223, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 37, 32, 0.08);
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.nav--scrolled {
  background: rgba(245, 237, 223, 0.97);
  box-shadow: 0 2px 20px rgba(43, 37, 32, 0.06);
}

.nav__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.nav__logo-icon {
  font-size: 1.4rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sealing-wax);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--sealing-wax);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  font-weight: 600;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--wax-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--space-md) var(--space-xl);
  background-color: #F0E4D0;
  background-image: url("../img/paper-texture.svg");
  background-size: 800px 800px;
  overflow: hidden;
}

.hero__bg-stamps {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stamp {
  position: absolute;
  font-size: 4rem;
  color: rgba(43, 37, 32, 0.03);
  font-family: var(--font-display);
}

.stamp--1 { top: 15%; left: 8%; font-size: 6rem; }
.stamp--2 { top: 25%; right: 12%; font-size: 3.5rem; }
.stamp--3 { bottom: 20%; left: 15%; font-size: 5rem; }
.stamp--4 { bottom: 30%; right: 8%; font-size: 4rem; }

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__postmark {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sealing-wax);
  border: 2px solid var(--sealing-wax);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.4s forwards;
}

.hero__title em {
  color: var(--sealing-wax);
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-light);
  max-width: 540px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.6s forwards;
}

.hero__cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.8s forwards;
}

.hero__price-hint {
  font-size: 0.9rem;
  color: var(--ink-muted);
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 1s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--ink-muted);
  animation: bounce 2s infinite;
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.btn--primary {
  background: var(--sealing-wax);
  color: var(--white);
  padding: 0.85rem 2rem;
  box-shadow: 0 4px 16px rgba(185, 74, 58, 0.25);
}

.btn--primary:hover {
  background: var(--wax-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(185, 74, 58, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 2rem;
  border: 2px solid rgba(43, 37, 32, 0.2);
}

.btn--secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn--plan {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  padding: 0.9rem 1.5rem;
  margin-top: auto;
}

.btn--plan:hover {
  background: var(--sealing-wax);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 74, 58, 0.3);
}

.btn--plan-featured {
  background: var(--sealing-wax);
  color: var(--white);
}

.btn--plan-featured:hover {
  background: var(--wax-dark);
}

/* ── Secciones ── */
.section {
  padding: var(--space-2xl) 0;
}

.section--cream {
  background-color: #E8D9C2;
  background-image: url("../img/paper-texture-warm.svg");
  background-size: 800px 800px;
}

.section--white {
  background-color: #F0E4D0;
  background-image: url("../img/paper-texture.svg");
  background-size: 800px 800px;
}

.section--dark {
  background: var(--dark-bg);
  color: var(--paper);
}

.section--accent {
  background: var(--sealing-wax);
  color: var(--white);
}

.section--cta {
  background-color: #F0E4D0;
  background-image: url("../img/paper-texture.svg");
  background-size: 800px 800px;
  text-align: center;
  padding: var(--space-2xl) 0;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-lg);
}

.section__label--light {
  color: rgba(251, 246, 238, 0.5);
}

.postmark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink-muted);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

.postmark-badge--light {
  border-color: rgba(251, 246, 238, 0.3);
  color: rgba(251, 246, 238, 0.5);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section__title em {
  color: var(--sealing-wax);
  font-style: italic;
}

.section__title--center {
  text-align: center;
}

.section__title--light {
  color: var(--paper);
}

.section__title--light em {
  color: var(--wax-light);
}

.section__subtitle {
  text-align: center;
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.section__subtitle--light {
  color: rgba(251, 246, 238, 0.6);
}

.section__body {
  font-size: 1.05rem;
  color: var(--ink-light);
  margin-bottom: var(--space-md);
  max-width: 520px;
}

/* ── Split layout (Qué es) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Sobre decorativo CSS */
.envelope-card {
  position: relative;
  width: 300px;
  height: 220px;
  perspective: 600px;
}

.envelope-card__body {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 2px solid rgba(43, 37, 32, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow:
    0 4px 24px rgba(43, 37, 32, 0.08),
    0 1px 3px rgba(43, 37, 32, 0.04);
}

.envelope-card__flap {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 90px;
  background: var(--paper-dark);
  border: 2px solid rgba(43, 37, 32, 0.12);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 85%);
  z-index: 1;
  transition: transform 0.5s var(--ease);
  transform-origin: top center;
}

.envelope-card:hover .envelope-card__flap {
  transform: rotateX(160deg);
}

.envelope-card__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: var(--sealing-wax);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow:
    0 2px 8px rgba(185, 74, 58, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.envelope-card__lines {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.envelope-card__lines span {
  display: block;
  height: 2px;
  background: rgba(43, 37, 32, 0.1);
  border-radius: 1px;
}

.envelope-card__lines span:nth-child(1) { width: 100px; }
.envelope-card__lines span:nth-child(2) { width: 80px; }
.envelope-card__lines span:nth-child(3) { width: 60px; }

.envelope-card__stamp {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 56px;
  background: var(--sage);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--white);
  outline: 1px dashed rgba(43, 37, 32, 0.15);
  outline-offset: 2px;
}

/* ── Pasos (Cómo funciona) ── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-xl);
}

.step {
  text-align: center;
  max-width: 280px;
  padding: 0 var(--space-md);
}

.step__number {
  margin-bottom: var(--space-md);
}

.step__stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px dashed var(--sealing-wax);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--sealing-wax);
  background: rgba(185, 74, 58, 0.05);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step__text {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.7;
}

.step__connector {
  display: flex;
  align-items: center;
  padding-top: 28px;
  color: var(--ink-muted);
  font-size: 1rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0.4;
}

/* ── Pricing ── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.pricing__card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pricing__card-inner {
  background: var(--dark-card);
  border: 1px solid rgba(251, 246, 238, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.pricing__card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing__card--featured .pricing__card-inner {
  border-color: var(--sealing-wax);
  background: linear-gradient(
    160deg,
    var(--dark-card) 0%,
    rgba(185, 74, 58, 0.08) 100%
  );
  box-shadow: 0 0 0 1px var(--sealing-wax);
}

.pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sealing-wax);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing__stamp-corner {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.2rem;
  color: rgba(251, 246, 238, 0.1);
}

.pricing__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 0.4rem;
}

.pricing__desc {
  font-size: 0.9rem;
  color: rgba(251, 246, 238, 0.5);
  margin-bottom: var(--space-md);
}

.pricing__price {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  margin-bottom: 0.2rem;
}

.pricing__amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
}

.pricing__currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(251, 246, 238, 0.6);
  margin-top: 0.5rem;
}

.pricing__period {
  font-size: 0.85rem;
  color: rgba(251, 246, 238, 0.4);
  margin-bottom: var(--space-md);
}

.pricing__features {
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.pricing__features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: rgba(251, 246, 238, 0.7);
  margin-bottom: 0.6rem;
}

.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.pricing__note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(251, 246, 238, 0.4);
  margin-top: var(--space-lg);
}

/* ── Manifiesto ── */
.manifesto {
  text-align: center;
  padding: var(--space-lg) 0;
}

.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.manifesto footer {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  opacity: 0.8;
}

/* ── FAQ ── */
.faq {
  margin-top: var(--space-lg);
}

.faq__item {
  border-bottom: 1px solid rgba(43, 37, 32, 0.1);
}

.faq__question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: var(--space-md) 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--duration) var(--ease);
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sealing-wax);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

details[open] .faq__question::after {
  content: '−';
}

.faq__question:hover {
  color: var(--sealing-wax);
}

.faq__answer {
  padding-bottom: var(--space-md);
}

.faq__answer p {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.8;
}

/* ── CTA Final ── */
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.cta__title em {
  color: var(--sealing-wax);
  font-style: italic;
}

.cta__text {
  font-size: 1.1rem;
  color: var(--ink-light);
  margin-bottom: var(--space-lg);
}

/* ── Sección Regálalo ── */
.gift {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
}

.gift__visual {
  display: flex;
  justify-content: center;
}

.gift__card {
  position: relative;
  width: 260px;
  padding: var(--space-xl) var(--space-lg);
  background: var(--white);
  border: 2px solid rgba(43, 37, 32, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow:
    0 8px 30px rgba(43, 37, 32, 0.08),
    0 1px 3px rgba(43, 37, 32, 0.04);
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease);
}

.gift__card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.gift__card-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  background: var(--sealing-wax);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(185, 74, 58, 0.3);
}

.gift__card-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.gift__card-text em {
  color: var(--sealing-wax);
  font-style: italic;
}

.gift__card-from {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ── Sticky Bar Mobile ── */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem var(--space-md);
  background: rgba(30, 27, 24, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(251, 246, 238, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--sealing-wax);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(185, 74, 58, 0.35);
  transition: background var(--duration) var(--ease);
}

.sticky-bar__btn:hover {
  background: var(--wax-dark);
}

/* ── Footer ── */
.footer {
  background: var(--dark-bg);
  color: rgba(251, 246, 238, 0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: var(--space-sm);
}

.footer__logo-icon {
  font-size: 1.3rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(251, 246, 238, 0.4);
}

.footer__links h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: var(--space-sm);
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(251, 246, 238, 0.5);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover {
  color: var(--paper);
}

.footer__bottom {
  border-top: 1px solid rgba(251, 246, 238, 0.08);
  padding-top: var(--space-md);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(251, 246, 238, 0.3);
}

/* ── Animaciones ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .split__visual {
    order: -1;
  }

  .split__text {
    text-align: center;
  }

  .split__text .section__title {
    text-align: center;
  }

  .split__text .section__body {
    max-width: 100%;
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing__card--featured {
    order: -1;
  }

  .gift {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }

  .gift__text .section__body {
    max-width: 100%;
  }

  .gift__text .btn {
    margin-top: var(--space-sm);
  }

  .gift__visual {
    order: -1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .section__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #F0E4D0;
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(43, 37, 32, 0.1);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav__menu.open {
    transform: translateY(0);
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .step {
    max-width: 100%;
  }

  .step__connector {
    transform: rotate(90deg);
    padding-top: 0;
    margin: -0.5rem 0;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .section__label {
    margin-bottom: var(--space-md);
  }

  .hero {
    min-height: 90vh;
    padding: 100px var(--space-md) var(--space-lg);
  }

  .hero__title {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .hero__subtitle {
    font-size: 1rem;
    padding: 0 var(--space-xs);
  }

  .envelope-card {
    width: 240px;
    height: 180px;
  }

  .envelope-card__flap {
    height: 70px;
  }

  .envelope-card__seal {
    width: 44px;
    height: 44px;
    font-size: 0.6rem;
  }

  .envelope-card__stamp {
    width: 40px;
    height: 48px;
    font-size: 0.65rem;
  }

  .envelope-card__lines span:nth-child(1) { width: 70px; }
  .envelope-card__lines span:nth-child(2) { width: 55px; }
  .envelope-card__lines span:nth-child(3) { width: 40px; }

  .sticky-bar {
    display: block;
  }

  .footer {
    padding-bottom: 5rem;
  }

  .manifesto p {
    font-size: clamp(1.15rem, 4vw, 1.6rem);
    padding: 0 var(--space-xs);
  }

  .gift__card {
    width: 220px;
    padding: var(--space-lg) var(--space-md);
  }

  .gift__card-text {
    font-size: 1.25rem;
  }

  .faq__question {
    font-size: 1rem;
    gap: var(--space-sm);
  }

  .pricing__card-inner {
    padding: var(--space-md);
  }

  .pricing__amount {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn--primary,
  .btn--secondary {
    width: 100%;
    max-width: 280px;
  }

  .hero__postmark {
    font-size: 0.65rem;
    padding: 0.3rem 1rem;
  }

  .section__subtitle {
    font-size: 0.95rem;
    padding: 0 var(--space-xs);
  }

  .cta__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .cta__text {
    font-size: 1rem;
    padding: 0 var(--space-xs);
  }

  .container {
    padding: 0 var(--space-sm);
  }
}
