:root {
  --cream: #fff8f1;
  --pink: #f6c6cc;
  --pink-soft: #fbe3e4;
  --berry: #c9566a;
  --cocoa: #5a2e36;
  --wa: #1fa855;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cocoa);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .6em;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(90, 46, 54, .08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--cocoa);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
}
.brand__icon { width: 28px; height: 28px; color: var(--berry); }
.topbar__cta {
  color: #fff;
  background: var(--berry);
  text-decoration: none;
  font-weight: 700;
  padding: .5rem 1.1rem;
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(circle at 85% 10%, var(--pink-soft) 0, transparent 45%),
    var(--cream);
}
.hero__inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .3rem .9rem;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--berry);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.3rem, 9vw, 4rem); }
.hero h1 em { font-style: italic; color: var(--berry); }
.hero__lead { font-size: 1.15rem; max-width: 32ch; margin: 0 0 1.8rem; }
.hero__deco { width: 220px; margin: 2.5rem auto 0; }
.hero__deco svg { width: 100%; height: auto; display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 168, 85, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 24px; height: 24px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(31, 168, 85, .34); }
.btn--light { background: var(--cream); color: var(--cocoa); box-shadow: none; }
.btn--light:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* Cómo pedir */
.como { padding: 3.5rem 0; background: #fff; }
.como h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); text-align: center; }
.pasos {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.paso {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.paso__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--cocoa);
  margin-bottom: .9rem;
}
.paso__icon svg { width: 28px; height: 28px; }
.paso h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.paso p { margin: 0; }

/* Contacto */
.contacto {
  padding: 3.5rem 0 4rem;
  background: var(--berry);
  color: var(--cream);
  text-align: center;
}
.contacto h2 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
.contacto p { margin: 0 0 1.6rem; font-size: 1.1rem; }

/* Footer */
.footer {
  background: var(--cocoa);
  color: var(--pink-soft);
  text-align: center;
  padding: 1.5rem 0 6rem;
  font-family: "Fraunces", Georgia, serif;
}
.footer p { margin: 0; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 32px; height: 32px; flex-shrink: 0; }
.wa-float span { display: none; }

/* Escritorio */
@media (min-width: 760px) {
  .hero { padding: 5rem 0; }
  .hero__inner { max-width: 1080px; }
  .hero__deco {
    position: absolute;
    right: max(1.25rem, calc((100vw - 1080px) / 2 + 1.25rem));
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    margin: 0;
  }
  .hero__lead { max-width: 38ch; }
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .como, .contacto { padding: 5rem 0; }
  .footer { padding-bottom: 1.5rem; }
  .wa-float {
    width: auto;
    padding: 0 1.3rem;
    right: 1.5rem;
    bottom: 1.5rem;
  }
  .wa-float span { display: inline; }
}
