/* Casa y Patitas — estilos compartidos */
:root {
  --coral: #E9724C;
  --coral-deep: #C2552F;
  --coral-deeper: #A8441F;
  --cream: #FFF8EF;
  --peach: #FDEBDF;
  --teal: #2F8F83;
  --teal-deep: #24705F;
  --ink: #3A2A22;
  --muted: #6E5E54;
  --line: #EED9CB;
  --white: #FFFFFF;

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --step--1: 0.9375rem;  /* 15 */
  --step-0: 1.0625rem;   /* 17 */
  --step-1: 1.3125rem;   /* 21 */
  --step-2: 1.625rem;    /* 26 */
  --step-3: 2.125rem;    /* 34 */
  --step-4: clamp(2.25rem, 7vw, 3.5rem);

  --wrap: 68rem;
  --text: 36rem;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--text); }

a { color: var(--coral-deep); }
a:hover { color: var(--coral-deeper); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Cabecera */
.site-header { padding: 1rem 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { width: 1.4rem; height: 1.4rem; fill: var(--coral); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: var(--coral-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--coral-deeper);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { background: var(--coral-deeper); color: var(--white); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--coral-deeper); }
.btn--block { width: 100%; }

.reassure {
  margin: 1rem 0 0;
  font-size: var(--step--1);
  color: var(--muted);
}

/* Secciones */
.section { padding: 4rem 0; }
.section--peach { background: var(--peach); }
.section--tight { padding: 2.5rem 0; }

.lead { font-size: var(--step-1); line-height: 1.45; }

/* Hero */
.hero { padding: 0.5rem 0 3.5rem; }
.hero__grid { display: grid; gap: 1.5rem; align-items: center; }
.hero__art {
  position: relative;
  max-width: 26rem;
  margin: 0 auto;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 12% 2% 0;
  background: var(--peach);
  border-radius: 48% 52% 46% 54% / 55% 50% 50% 45%;
  z-index: 0;
}
.hero__art img { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { color: var(--ink); margin-bottom: 1.5rem; }

@media (min-width: 56rem) {
  .hero { padding: 1.5rem 0 5rem; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .hero__art { order: 2; max-width: none; }
}

/* Lista "te suena" */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--flip > :first-child { order: 2; }
}
.figure {
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--cream);
}
.section--peach .figure { background: var(--cream); }

.pains { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pains li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2.2rem;
  border-bottom: 1px dashed var(--line);
}
.pains li:last-child { border-bottom: 0; }
.pains li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 13c-3 0-6 3.5-6 6 0 1.5 1.3 2 2.5 2 1.5 0 2.3-.8 3.5-.8s2 .8 3.5.8c1.2 0 2.5-.5 2.5-2 0-2.5-3-6-6-6zM5.5 12.5c1.2-.4 1.6-2 1-3.4-.6-1.5-2-2.4-3.2-2s-1.6 2-1 3.4c.6 1.5 2 2.4 3.2 2zM9 8.5c1.3 0 2.3-1.5 2.3-3.3S10.3 2 9 2 6.7 3.4 6.7 5.2 7.7 8.5 9 8.5zm6 0c1.3 0 2.3-1.5 2.3-3.3S16.3 2 15 2s-2.3 1.4-2.3 3.2S13.7 8.5 15 8.5zm5.7-1.4c-1.2-.4-2.6.5-3.2 2-.6 1.4-.2 3 1 3.4s2.6-.5 3.2-2c.6-1.4.2-3-1-3.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 13c-3 0-6 3.5-6 6 0 1.5 1.3 2 2.5 2 1.5 0 2.3-.8 3.5-.8s2 .8 3.5.8c1.2 0 2.5-.5 2.5-2 0-2.5-3-6-6-6zM5.5 12.5c1.2-.4 1.6-2 1-3.4-.6-1.5-2-2.4-3.2-2s-1.6 2-1 3.4c.6 1.5 2 2.4 3.2 2zM9 8.5c1.3 0 2.3-1.5 2.3-3.3S10.3 2 9 2 6.7 3.4 6.7 5.2 7.7 8.5 9 8.5zm6 0c1.3 0 2.3-1.5 2.3-3.3S16.3 2 15 2s-2.3 1.4-2.3 3.2S13.7 8.5 15 8.5zm5.7-1.4c-1.2-.4-2.6.5-3.2 2-.6 1.4-.2 3 1 3.4s2.6-.5 3.2-2c.6-1.4.2-3-1-3.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Método: tres ideas */
.method { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.method__item img {
  border-radius: 1.25rem;
  margin-bottom: 1rem;
  background: var(--cream);
}
.method__item p { margin-bottom: 0; }
@media (min-width: 56rem) {
  .method { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* Trilha de 7 días — elemento firma */
.trail {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  position: relative;
}
.trail::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 1.5rem;
  bottom: 1.5rem;
  border-left: 3px dotted var(--coral);
}
.trail li {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.85rem 0;
}
.trail__paw {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--coral-deep);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
}
.trail__paw small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.1rem;
}
.trail li:nth-child(even) .trail__paw { transform: translateX(0.6rem) rotate(8deg); }
.trail li:nth-child(odd) .trail__paw { transform: translateX(-0.2rem) rotate(-6deg); }
.trail h3 { margin: 0.35rem 0 0.15rem; }
.trail p { margin: 0; color: var(--muted); }

@media (min-width: 56rem) {
  .trail {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
  }
  .trail::before {
    left: 2rem;
    right: 2rem;
    top: 1.75rem;
    bottom: auto;
    border-left: 0;
    border-top: 3px dotted var(--coral);
  }
  .trail li { grid-template-columns: 1fr; text-align: left; }
  .trail li:nth-child(even) .trail__paw { transform: translateY(0.9rem) rotate(8deg); }
  .trail li:nth-child(odd) .trail__paw { transform: translateY(-0.2rem) rotate(-6deg); }
  .trail h3 { font-size: 1.05rem; margin-top: 1rem; }
  .trail p { font-size: 0.95rem; }
}

/* Lo que recibes */
.includes { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.includes li {
  padding: 0.9rem 0 0.9rem 2.4rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.includes li:last-child { border-bottom: 0; }
.includes li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.15rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--teal), inset 0 0 0 7px var(--white);
}
.includes strong { font-family: var(--font-display); font-weight: 600; }

/* Para quién */
.fit { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 56rem) { .fit { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.fit__col h3 { display: flex; align-items: center; gap: 0.6rem; }
.fit__col ul { margin: 0; padding-left: 1.2rem; }
.fit__col li { margin-bottom: 0.4rem; }
.fit__col--warn {
  border-left: 4px solid var(--teal);
  padding-left: 1.25rem;
}

/* Oferta */
.offer {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--coral);
  border-radius: 2rem;
  padding: 1.5rem;
}
@media (min-width: 56rem) {
  .offer { grid-template-columns: 0.9fr 1.1fr; padding: 2.5rem 3rem; gap: 3rem; }
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.25rem 0 0.25rem;
  font-family: var(--font-display);
}
.price__amount { font-size: 3.5rem; font-weight: 700; line-height: 1; color: var(--coral-deep); }
.price__note { color: var(--muted); font-size: var(--step--1); }
.guarantee {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
}
.guarantee__seal {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.guarantee p { margin: 0; font-size: var(--step--1); }

/* FAQ */
.faq { max-width: 44rem; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 3px solid var(--coral-deep);
  border-bottom: 3px solid var(--coral-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 1rem; margin: 0; }

/* Cierre */
.closing { text-align: center; }
.closing img { width: 100%; max-width: 40rem; margin: 0 auto 1.5rem; border-radius: 1.5rem; }
.closing p { margin-left: auto; margin-right: auto; }

/* Pie */
.site-footer {
  padding: 2.5rem 0 7rem;
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer p { max-width: 48rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; }

/* Barra fija en el celular */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 248, 239, 0.96);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 3rem; font-size: 1.05rem; box-shadow: none; }
.sticky-cta__price { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
@media (min-width: 56rem) { .sticky-cta { display: none; } }

/* Página de gracias */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.75rem 0 0.75rem 3.25rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.link-decline {
  display: inline-block;
  margin-top: 1rem;
  background: none;
  border: 0;
  padding: 0.5rem 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.declined { display: none; }
.is-declined .upsell { display: none; }
.is-declined .declined { display: block; }

/* Texto legal */
.legal h2 { font-size: var(--step-1); margin-top: 2rem; }
.legal p, .legal li { max-width: 44rem; }
