/* Mafe Vélez — Storytelling 1:1
   Warm, intimate, editorial. Easy to host anywhere. */

:root {
  --bg: #FDF8F3;
  --bg-soft: #F9F1E7;
  --accent: #E8B86D;
  --accent-dark: #D4A04F;
  --text: #3D2B1F;
  --text-light: #6B4F3A;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(61, 43, 31, 0.08);
  --container: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Soft editorial wash + warm grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(232, 184, 109, 0.22), transparent 55%),
    radial-gradient(900px 600px at 100% 8%, rgba(249, 241, 231, 0.9), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(232, 184, 109, 0.12), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--text);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  position: relative;
  z-index: 2;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  padding: 28px 0 8px;
}

.site-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ig-link {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.ig-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

/* ——— Hero ——— */
.hero {
  padding: 48px 0 72px;
  text-align: center;
}

.hero-photo-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 36px;
}

.hero-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  border: 5px solid var(--white);
  box-shadow: var(--shadow), 0 4px 18px rgba(212, 160, 79, 0.22);
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero .lead {
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
}

.hero .sub {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.75;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: var(--accent);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(212, 160, 79, 0.28);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-dark);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212, 160, 79, 0.36);
}

.btn:active {
  transform: translateY(0);
}

.btn--block {
  width: 100%;
}

/* ——— Explainer ——— */
.explainer {
  padding: 24px 0 80px;
}

.explainer-card {
  background: var(--white);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: 48px 52px;
  max-width: 820px;
  margin-inline: auto;
}

.explainer h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 18px;
}

.explainer p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

/* ——— Precios ——— */
.precios {
  padding: 32px 0 88px;
  scroll-margin-top: 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-light);
  font-weight: 300;
  font-size: 1.02rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid transparent;
}

.card--featured {
  border-color: var(--accent);
  padding-top: 48px;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 6px 16px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(212, 160, 79, 0.3);
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.card-meta {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.card ul {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.card li {
  position: relative;
  padding-left: 1.7em;
  margin-bottom: 12px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
}

.card li::before {
  content: "💛";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.95em;
}

/* ——— Cómo funciona ——— */
.pasos {
  padding: 8px 0 88px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  max-width: 900px;
  margin-inline: auto;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(212, 160, 79, 0.28);
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.step p {
  font-weight: 300;
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ——— Final CTA ——— */
.final-cta {
  padding: 0 0 88px;
}

.final-cta-inner {
  background: var(--bg-soft);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.final-cta p {
  font-weight: 300;
  color: var(--text-light);
  font-size: 1.08rem;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ——— Footer ——— */
.site-footer {
  padding: 8px 0 48px;
  text-align: center;
}

.site-footer p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
}

.site-footer a {
  font-weight: 500;
  color: var(--text);
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .explainer-card {
    padding: 36px 28px;
  }

  .final-cta-inner {
    padding: 48px 24px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 20px 0 4px;
  }

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

  .hero-photo-wrap,
  .hero-photo {
    width: 148px;
    height: 148px;
  }

  .hero .lead {
    font-size: 1.05rem;
  }

  .hero .sub {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .explainer {
    padding-bottom: 64px;
  }

  .explainer-card {
    padding: 28px 22px;
  }

  .precios {
    padding-bottom: 64px;
  }

  .card {
    padding: 28px 22px 24px;
  }

  .card--featured {
    padding-top: 44px;
  }

  .pasos {
    padding-bottom: 64px;
  }

  .final-cta {
    padding-bottom: 64px;
  }

  .btn {
    width: 100%;
    max-width: 360px;
  }

  .hero .btn {
    width: auto;
    min-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .ig-link {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

.card-note {
  margin: 0 0 16px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.55;
}
