/* ============================================
   Nura Finanzas — Design System
   Paleta e identidad tomadas de @nurafinanzasmujeres
   ============================================ */

:root {
  --cream: #F3EDE4;
  --beige: #E9DFCE;
  --black: #333333;
  --navy: #355070;
  --terracotta: #D9A594;
  --terracotta-soft: #EFDCD3;
  --lime: #A8C686;
  --forest: #3D6147;
  --text: #333333;
  --text-soft: #55504A;
  --white: #FFFFFF;

  --font-head: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Caveat', cursive;

  --max-width: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text-soft); }

.script {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--terracotta);
  font-size: 1.25em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-dark {
  background: var(--navy);
  color: var(--cream);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #D8DCE6; }

.section-black {
  background: var(--black);
  color: var(--cream);
}
.section-black h2, .section-black h3 { color: var(--white); }
.section-black p { color: #D9D4CC; }

.section-beige { background: var(--beige); }

.section-forest {
  background: var(--forest);
  color: var(--cream);
}
.section-forest h2, .section-forest h3 { color: var(--white); }
.section-forest p { color: #DCE6DD; }
.section-forest .eyebrow { color: var(--lime); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.h2-modest { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.section-dark .eyebrow, .section-black .eyebrow { color: var(--lime); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 0 rgba(0,0,0,0.08);
}
.btn-primary:hover { background: #C86B49; }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: #0F1930; }

.btn-outline {
  background: transparent;
  border-color: currentColor;
}

.btn-lime {
  background: var(--lime);
  color: var(--black);
}
.btn-lime:hover { background: #b8ca3f; }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 30px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 88px;
}

.hero-copy .eyebrow { margin-bottom: 18px; }

.hero-copy p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 10px;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-image-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-image-wrap { max-width: 380px; margin: 0 auto; }
}

/* ---------- Pain / chat bubbles ---------- */

.bubble {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  max-width: 620px;
}

.bubble.terracotta {
  background: var(--terracotta-soft);
}

/* ---------- Grid helpers ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.card-outline {
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 32px;
  background: transparent;
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 800;
  flex-shrink: 0;
}

.crosslist li::before { content: "✗"; color: #B4472F; }

/* Las tarjetas blancas dentro de secciones oscuras necesitan texto oscuro,
   aunque el resto de la sección use texto claro */
.section-dark .card,
.section-black .card,
.section-forest .card {
  color: var(--text);
}
.section-dark .card h3,
.section-black .card h3,
.section-forest .card h3 {
  color: var(--text);
}
.section-dark .card p,
.section-black .card p,
.section-forest .card p {
  color: var(--text-soft);
}

/* Sobre fondos oscuros, el texto de las listas necesita ser claro */
.section-dark .checklist li,
.section-black .checklist li,
.section-forest .checklist li {
  color: var(--white);
}
.section-dark .checklist li::before,
.section-black .checklist li::before,
.section-forest .checklist li::before {
  color: var(--lime);
}

/* ---------- Stat block ---------- */

.stat-block {
  text-align: center;
  padding: 56px 24px;
}

.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--lime);
  line-height: 1;
  margin-bottom: 12px;
}

.pictogram {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 22px;
  max-width: 420px;
}

.pictogram svg { width: 34px; height: 34px; flex-shrink: 0; }
.pictogram svg.on path { fill: var(--lime); }
.pictogram svg.off path { fill: rgba(255,255,255,0.28); }

/* ---------- Sobre mi ---------- */

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about img {
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- Timeline (semanas) ---------- */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--lime);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Testimonials / casos ---------- */

.section-testimonials {
  background: var(--forest);
  padding: 100px 0;
  color: var(--cream);
}
.section-testimonials h2 { color: var(--white); }
.section-testimonials .eyebrow { color: var(--lime); }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  box-shadow: 0 14px 34px rgba(51,51,51,0.1);
}

.testimonial-card .quote-mark {
  font-family: var(--font-script);
  font-size: 3.6rem;
  color: var(--terracotta);
  line-height: 0.4;
  display: block;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 1.1rem;
  font-weight: 500;
}

.testimonial-author {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem !important;
  color: var(--terracotta) !important;
  margin-top: 16px;
  margin-bottom: 0 !important;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 34px rgba(51,51,51,0.1);
}

.case-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 14px;
}
.case-avatar.terracotta { background: var(--terracotta); }
.case-avatar.lime { background: var(--lime); color: var(--black); }
.case-avatar.navy { background: var(--navy); }

.case-card .case-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.case-card .case-age {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.08);
  position: relative;
}

.price-card.featured {
  border-color: var(--lime);
  background: var(--white);
  transform: translateY(-14px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

.price-ribbon {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.price-tag {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  margin: 10px 0 4px;
  color: var(--navy);
}

.price-old {
  text-decoration: line-through;
  color: #A69C8F;
  font-size: 1rem;
  font-weight: 600;
}

.price-savings {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 100px;
  margin-top: 8px;
}

.price-deadline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card.featured .price-deadline { color: #B4472F; }

.price-bonus {
  background: var(--terracotta-soft);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  display: inline-block;
  margin-top: 12px;
  color: var(--text);
}

.price-card.is-closed { opacity: 0.5; }
.price-card.is-upcoming { opacity: 0.75; }

.price-closed-label,
.price-upcoming-label {
  display: block;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 22px 0;
}

.faq-item summary {
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-left: 12px;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p { margin-top: 14px; }

/* ---------- Form ---------- */

.reserve-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 520px;
}

.reserve-form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 16px 0 6px;
  color: var(--text);
}

.reserve-form input,
.reserve-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 2px solid #E5DCC9;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  color: var(--text);
}

.reserve-form input:focus,
.reserve-form select:focus {
  outline: none;
  border-color: var(--terracotta);
}

.reserve-form p {
  color: var(--text-soft);
}

.form-success {
  display: none;
  background: var(--lime);
  color: var(--black);
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #A9B0C2;
}

/* ---------- Misc ---------- */

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-60 { max-width: 60ch; }

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}
.tag-row span::after { content: "·"; margin-left: 10px; color: var(--terracotta); }
.tag-row span:last-child::after { content: ""; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

/* ---------- Cookie banner ---------- */

.cookie-banner[hidden] { display: none; }

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background: var(--black);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  max-width: 900px;
  margin: 0 auto;
}

.cookie-banner p {
  color: #E5E0D8;
  margin: 0;
  font-size: 0.92rem;
  flex: 1 1 320px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.cookie-banner .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--cream);
}
