/* =========================================================================
   miryhoyos.com — hoja de estilo
   Identidad de marca Miry Hoyos. HEX directo, sin CSS variables (regla de marca).
   Paleta: Pink #FFC5D3 superficie · Plum #6D2E4E voz · Navy #1D2B44 texto
           Ivory #FAF7F2 fondo · Gold #C9A66B lujo · Sage #8CA290 atmósfera
   Tipos: Allura (firma/hero) · Cormorant Garamond (cuerpo/H) · Montserrat (eyebrow/botón)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FAF7F2;
  color: #1D2B44;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Tipografía ---------- */
.signature {
  font-family: 'Allura', cursive;
  color: #6D2E4E;
  font-weight: 400;
  line-height: 1;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: #1D2B44;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; font-weight: 500; }
h1 em, h2 em { font-style: italic; color: #6D2E4E; }

p { margin: 0 0 1.1rem; }
a { color: #6D2E4E; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .8125rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #6D2E4E;
  margin: 0 0 1rem;
}
.eyebrow--gold { color: #C9A66B; }
.eyebrow--ivory { color: #C9A66B; }

.lead { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Tagline de posicionamiento — Dios · Hábitos · Balance */
.tagline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: .8125rem;
  font-weight: 400;
  color: #6D2E4E;
}
.tagline .dot { color: #C9A66B; padding: 0 .3em; }
.tagline--ivory { color: #FAF7F2; }
.tagline--ivory .dot { color: #C9A66B; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: .95rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  border: 1px solid #6D2E4E;
  background: #6D2E4E;
  color: #FAF7F2;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .2s ease, transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { opacity: .92; transform: translateY(-1px); }
.btn--outline { background: transparent; color: #6D2E4E; }
.btn--outline:hover { background: #6D2E4E; color: #FAF7F2; opacity: 1; }
.btn--navy { background: #1D2B44; color: #FAF7F2; border-color: #1D2B44; }
.btn--gold { background: #C9A66B; color: #1D2B44; border-color: #C9A66B; }
.btn--ivory { background: #FAF7F2; color: #6D2E4E; border-color: #FAF7F2; }
.btn--ivory:hover { background: transparent; color: #FAF7F2; opacity: 1; }

/* ---------- Layout ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 1.5rem; }
.wrap { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
.center { text-align: center; }

.section--ivory { background: #FAF7F2; }
.section--pink  { background: #FFC5D3; color: #1D2B44; }
.section--pink h1, .section--pink h2, .section--pink h3 { color: #6D2E4E; }
.section--navy  { background: #1D2B44; color: #FAF7F2; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #FAF7F2; }
.section--navy .eyebrow { color: #C9A66B; }
.section--plum  { background: #6D2E4E; color: #FAF7F2; }
.section--plum h1, .section--plum h2, .section--plum h3 { color: #FAF7F2; }
.section--plum .eyebrow { color: #C9A66B; }

/* Divisor dorado */
.gold-divider { width: 80px; height: 1px; background: #C9A66B; border: none; margin: 1.5rem 0; }
.gold-divider--center { margin: 1.75rem auto; }

/* ---------- Header / nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #EBDCE0;
}
.nav .brand { font-family: 'Allura', cursive; color: #6D2E4E; font-size: 2rem; line-height: 1; text-decoration: none; }
.nav .brand img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-family: 'Montserrat', sans-serif; font-size: .75rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.18em; color: #1D2B44; text-decoration: none;
}
.nav-links a:hover { color: #6D2E4E; }
.nav-links .btn { padding: .6rem 1.4rem; color: #FAF7F2; }
.nav-links .btn:hover { color: #FAF7F2; }
.nav-links .btn--outline { color: #6D2E4E; }
@media (max-width: 760px) { .nav-links .nav-link { display: none; } }
@media (max-width: 480px) {
  .nav .brand { font-size: 1.7rem; white-space: nowrap; }
  .nav .brand img { height: 38px; }
  .nav-links .btn { padding: .55rem 1rem; }
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero .sprig { width: 90px; margin: 0 auto 1.5rem; }
.hero h1 { font-style: italic; max-width: 14ch; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 46ch; margin: 1.5rem auto 2rem; }
.hero .btn { margin-bottom: 2rem; }

/* ---------- Pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem 1.5rem;
  margin-top: 3rem;
}
.pillar { text-align: center; }
.pillar img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto .9rem; }
.pillar h3 { font-family: 'Cormorant Garamond', serif; color: #6D2E4E; font-weight: 500; font-size: 1.35rem; margin-bottom: .4rem; }
.pillar p { font-size: 1.05rem; line-height: 1.5; color: #1D2B44; }
.pillar-tool {
  display: inline-block; margin-top: .5rem;
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: #6D2E4E; text-decoration: none;
  border-bottom: 1px solid #C9A66B; padding-bottom: 2px;
}
.pillar-tool:hover { color: #1D2B44; border-color: #6D2E4E; }

/* ---------- Lead magnet / captura ---------- */
.capture-card {
  background: #FAF7F2;
  border: 1px solid #E6D4DA;
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 18px 50px -28px rgba(109, 46, 78, 0.45);
}
.form-row { display: flex; gap: .75rem; margin: 1.75rem 0 1rem; flex-wrap: wrap; }
.form-row input[type="email"], .form-row input[type="text"] {
  flex: 1 1 220px;
  padding: .95rem 1.1rem;
  font-family: 'Montserrat', sans-serif; font-size: .9rem;
  border: 1px solid #C9A0AE; border-radius: 4px;
  background: #FFFFFF; color: #1D2B44;
}
.form-row input::placeholder { color: #9A8A90; }
.form-row input:focus { outline: none; border-color: #6D2E4E; box-shadow: 0 0 0 2px rgba(109,46,78,0.15); }
.form-row .btn { flex: 0 0 auto; border: none; }
@media (max-width: 480px) { .form-row .btn { width: 100%; padding-left: 1.2rem; padding-right: 1.2rem; } }
.reassurance { font-family: 'Montserrat', sans-serif; font-size: .75rem; letter-spacing: .04em; color: #6D2E4E; margin: 0; }

/* Recursos extra (biblioteca de lead magnets) */
.resource-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.resource {
  background: #FAF7F2; border: 1px solid #E6D4DA; border-radius: 8px;
  padding: 1.75rem; text-align: left;
}
.resource .eyebrow { margin-bottom: .5rem; }
.resource h3 { color: #6D2E4E; }
.resource.placeholder { border-style: dashed; border-color: #C9A66B; opacity: .85; }

/* ---------- Historia ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-grid img { border-radius: 8px; box-shadow: 0 20px 50px -25px rgba(0,0,0,0.5); }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } .story-grid .story-photo { order: -1; max-width: 320px; margin: 0 auto; } }

/* ---------- Libro / waitlist ---------- */
.book-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.book-grid .cover { box-shadow: 0 30px 60px -25px rgba(109,46,78,0.55); border-radius: 4px; max-width: 360px; }
@media (max-width: 760px) { .book-grid { grid-template-columns: 1fr; } .book-grid .cover { margin: 0 auto; } }

/* ---------- Pull-quote ---------- */
.pull-quote {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: #6D2E4E; line-height: 1.4;
  padding: 1.5rem 2rem; border-left: 2px solid #C9A66B;
  margin: 2.5rem auto; max-width: 30ch;
  background: linear-gradient(to right, #FFC5D3, transparent 75%);
}
.section--navy .pull-quote, .section--plum .pull-quote { color: #FAF7F2; background: linear-gradient(to right, rgba(201,166,107,0.18), transparent 75%); }

/* ---------- Book hero (el libro, protagonista) ---------- */
.book-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.book-hero__figure { position: relative; display: flex; justify-content: center; }
.book-hero__figure::before {
  content: "";
  position: absolute;
  inset: -10% -8%;
  background: radial-gradient(58% 55% at 50% 42%, rgba(201,166,107,0.38), rgba(255,197,211,0) 72%);
  z-index: 0;
}
.book-hero__cover {
  position: relative; z-index: 1;
  width: 100%; max-width: 340px;
  border-radius: 6px;
  box-shadow: 0 42px 70px -30px rgba(109,46,78,0.65), 0 10px 24px -14px rgba(29,43,68,0.45);
}
.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600; color: #6D2E4E;
  margin: .25rem 0 .1rem;
}
.price small {
  display: block; margin-top: .35rem;
  font-family: 'Montserrat', sans-serif; font-size: .75rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: #1D2B44;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.4rem 0 1.1rem; }
.microcopy {
  font-family: 'Montserrat', sans-serif; font-size: .74rem; line-height: 1.6;
  letter-spacing: .02em; color: #6D2E4E; max-width: 46ch; margin: 0;
}
.book-hero .tagline { display: block; margin-top: 1.8rem; }
@media (max-width: 820px) {
  .book-hero { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .book-hero__figure { order: -1; }
  .book-hero__cover { max-width: 240px; }
  .book-hero .cta-row { justify-content: center; }
  .book-hero .microcopy { margin-left: auto; margin-right: auto; }
}

/* ---------- Qué incluye (checklist del libro) ---------- */
.includes {
  list-style: none; padding: 0;
  margin: 2.25rem auto 0; max-width: 640px;
  display: grid; gap: .9rem; text-align: left;
}
.includes li {
  position: relative; padding-left: 2.1rem;
  font-size: 1.18rem; line-height: 1.5; color: #1D2B44;
}
.includes li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; color: #C9A66B;
}
.includes li strong { color: #6D2E4E; font-weight: 600; }
.section-cta { margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.footer { background: #1D2B44; color: #FAF7F2; padding: clamp(3rem, 6vw, 4.5rem) 1.5rem 2.5rem; }
.footer .signature-ivory { width: 200px; margin: 0 auto 1rem; }
.footer .tagline { display: block; text-align: center; margin-bottom: 2.5rem; }
.crisis {
  max-width: 760px; margin: 0 auto 2rem;
  border: 1px solid #3A4A63; border-radius: 8px; padding: 1.5rem 1.75rem;
  background: #18243A;
}
.crisis h3 { color: #C9A66B; font-family: 'Montserrat', sans-serif; font-size: .8125rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; margin-bottom: .75rem; }
.crisis p { font-size: 1.02rem; margin-bottom: .5rem; }
.crisis a { color: #FAF7F2; }
.disclaimer { max-width: 760px; margin: 0 auto; font-size: .95rem; color: #B9C2D1; text-align: center; line-height: 1.55; }
.footer .copyright { font-family: 'Montserrat', sans-serif; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #6E7C92; text-align: center; margin-top: 2.5rem; }
