/* ────────────────────────────────────────────────
   NUTRICIÓN CONSCIENTE · Landing Page
   Estilo: Organic Luxury Minimalism
   Paleta: Sage green + warm beige + deep olive
──────────────────────────────────────────────── */

/* ── VARIABLES ─────────────────────────────────── */
:root {
  --sage:      #7a9e7e;
  --sage-light:#b8d4bb;
  --sage-dark: #4a6e4e;
  --beige:     #f5f0e8;
  --beige-mid: #ede5d8;
  --beige-dark:#d4c5b0;
  --olive:     #3d4a35;
  --text:      #2c2c2c;
  --text-muted:#7a7a72;
  --white:     #ffffff;
  --shadow:    0 4px 32px rgba(60,70,50,.08);
  --radius:    18px;
  --radius-sm: 10px;
  --transition:0.35s cubic-bezier(.4,0,.2,1);
}

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--beige);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; }

/* ── NAV ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5vw;
  background: rgba(245,240,232,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180,165,140,.2);
}
.nav-logo {
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--olive);
}
.nav-logo em { letter-spacing: 0; font-size: 1rem; }
.nav-cta {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  border: 1px solid var(--sage);
  padding: 8px 18px;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
}
.nav-cta:hover { background: var(--sage); color: var(--white); }

.nav-cta-retos {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: #ff7a00;
  border: 1px solid #ff7a00;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all var(--transition);
}

.nav-cta-retos:hover {
  background: #e66900;
  border-color: #e66900;
  color: #fff;
}

/* ── EYEBROW ────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 16px;
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--sage-light), transparent 70%);
  top: -100px; right: -100px;
  animation: drift 12s ease-in-out infinite alternate;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--beige-dark), transparent 70%);
  bottom: -80px; left: -80px;
  animation: drift 16s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  text-align: center;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--olive);
  margin-bottom: 18px;
  animation: fadeUp .8s ease both;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.65;
  animation: fadeUp .8s .15s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── QUIZ CARD ──────────────────────────────────── */
.quiz-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow), 0 1px 0 rgba(255,255,255,.8) inset;
  animation: fadeUp .8s .3s ease both;
  min-height: 260px;
  position: relative;
}

/* Progress bar */
.progress-track {
  height: 3px;
  background: var(--beige-mid);
  border-radius: 99px;
  margin-bottom: 32px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage), var(--sage-dark));
  border-radius: 99px;
  transition: width .45s cubic-bezier(.4,0,.2,1);
}

/* Steps */
.steps-wrapper { position: relative; }
.step {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: stepIn .35s ease;
}
.step.active { display: flex; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--olive);
  margin-bottom: 24px;
  text-align: center;
}

/* Options grid */
.options-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.opt-btn {
  flex: 1 1 120px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--beige);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  font-weight: 400;
  color: var(--text);
}
.opt-icon { font-size: 1.6rem; line-height: 1; }
.opt-btn:hover {
  border-color: var(--sage);
  background: rgba(122,158,126,.07);
  transform: translateY(-2px);
}
.opt-btn.selected {
  border-color: var(--sage-dark);
  background: rgba(74,110,78,.1);
  color: var(--sage-dark);
  font-weight: 500;
}

/* ── RESULT CARD ────────────────────────────────── */
.result-card {
  animation: fadeUp .5s ease both;
}
.result-card.hidden { display: none; }
.result-header { margin-bottom: 20px; text-align: left; }
.result-badge {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: rgba(122,158,126,.12);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
}
.result-problem {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--olive);
  line-height: 1.3;
}

.result-obs {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-obs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.55;
  padding: 12px 16px;
  background: var(--beige);
  border-radius: var(--radius-sm);
}
.result-obs li::before {
  content: '·';
  color: var(--sage);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -1px;
}

.result-rec {
  background: linear-gradient(135deg, rgba(122,158,126,.12), rgba(122,158,126,.05));
  border-left: 3px solid var(--sage);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}
.rec-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  display: block;
  margin-bottom: 6px;
}
.result-rec p { font-size: .92rem; color: var(--text); line-height: 1.6; }

/* ── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--olive);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(60,80,50,.2);
}
.btn-primary.btn-large {
  font-size: 1rem;
  padding: 20px 40px;
  width: auto;
}
.btn-arrow { transition: transform var(--transition); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 100%;
  text-align: center;
  padding: 4px;
  transition: color var(--transition);
}
.btn-ghost:hover { color: var(--text); }

/* ── DEMO CHAT ──────────────────────────────────── */
.demo-chat {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}
.demo-chat.hidden { display: none; }
.chat-msg {
  padding: 12px 18px;
  border-radius: 14px;
  font-size: .88rem;
  max-width: 85%;
  line-height: 1.5;
  animation: fadeUp .4s ease both;
}
.chat-msg.hidden { display: none; }
.chat-user {
  background: var(--white);
  align-self: flex-end;
  border: 1px solid var(--beige-mid);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.chat-system {
  background: var(--sage-dark);
  color: var(--white);
  align-self: flex-start;
}

/* ── SOCIAL PROOF ───────────────────────────────── */
.social-proof {
  padding: 72px 5vw;
  background: var(--white);
  text-align: center;
}
.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--olive);
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--beige-dark);
}
.testimonial {
  max-width: 520px;
  margin: 0 auto;
  border-top: 1px solid var(--beige-mid);
  padding-top: 40px;
}
.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--olive);
  line-height: 1.65;
  margin-bottom: 16px;
}
.testimonial cite {
  font-size: .78rem;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: .06em;
}

/* ── CALCULADORA ────────────────────────────────── */
.calculator-section {
  padding: 80px 5vw;
  background: var(--beige);
}
.calc-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.calc-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--olive);
  line-height: 1.25;
  margin-bottom: 14px;
}
.calc-copy p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.calc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.calc-field input,
.calc-field select {
  padding: 12px 14px;
  border: 1.5px solid var(--beige-mid);
  border-radius: var(--radius-sm);
  background: var(--beige);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.calc-field input:focus,
.calc-field select:focus { border-color: var(--sage); }
.calc-btn { margin-top: 4px; }
.calc-result {
  background: var(--beige);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: center;
  animation: fadeUp .4s ease both;
}
.calc-result.hidden { display: none; }
.calc-kcal {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--sage-dark);
  display: block;
  margin-bottom: 6px;
}
.calc-note {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── CTA FINAL ──────────────────────────────────── */
.cta-final {
  background: var(--olive);
  padding: 96px 5vw;
  text-align: center;
}
.cta-inner { max-width: 520px; margin: 0 auto; }
.cta-final .eyebrow { color: var(--sage-light); }
.cta-final h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-final h2 em { color: var(--sage-light); }
.cta-final p {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 36px;
}
.cta-final .btn-primary {
  background: var(--white);
  color: var(--olive);
  font-weight: 600;
  display: inline-flex;
  width: auto;
}
.cta-final .btn-primary:hover {
  background: var(--beige);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.cta-note {
  display: block;
  margin-top: 18px;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
}

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--olive);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 5vw;
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  color: rgba(255,255,255,.35);
}

/* ── HIDDEN UTILITY ─────────────────────────────── */
.hidden { display: none !important; }

/* ── SOBRE MÍ ───────────────────────────────────── */
.about-section {
  padding: 96px 5vw;
  background: var(--white);
}
.about-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: center;
}
.about-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.photo-frame {
  width: 240px;
  height: 300px;
  border-radius: 120px 120px 80px 80px;
  background: linear-gradient(160deg, var(--sage-light) 0%, var(--beige-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(74,110,78,.15);
}
.photo-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--olive);
  opacity: .45;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--olive);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.badge-icon { font-size: 1rem; }
.about-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--olive);
  line-height: 1.25;
  margin-bottom: 20px;
}
.about-lead {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-body {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.about-credentials {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cred-item { display: flex; flex-direction: column; }
.cred-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--sage-dark);
  line-height: 1;
}
.cred-text {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--beige);
  border: 1px solid var(--beige-dark);
  color: var(--olive);
  font-size: .75rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  transition: background var(--transition), border-color var(--transition);
}
.tag:hover { background: rgba(122,158,126,.12); border-color: var(--sage); }

/* ── TESTIMONIOS ────────────────────────────────── */
.testimonios-section {
  padding: 96px 5vw;
  background: var(--beige);
}
.test-header {
  max-width: 500px;
  margin: 0 auto 56px;
  text-align: center;
}
.test-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--olive);
  line-height: 1.2;
}
.test-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.test-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(60,70,50,.12);
}
.test-card--featured {
  background: var(--olive);
  transform: translateY(-12px);
}
.test-card--featured:hover { transform: translateY(-16px); }
.test-stars {
  font-size: .85rem;
  color: var(--sage);
  letter-spacing: 2px;
}
.test-card--featured .test-stars { color: var(--sage-light); }
.test-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 300;
  font-style: italic;
  color: var(--olive);
  line-height: 1.65;
  flex: 1;
}
.test-card--featured blockquote { color: rgba(255,255,255,.9); }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 600;
  color: var(--sage-dark);
  flex-shrink: 0;
}
.test-avatar::before { content: attr(data-initials); }
.test-card--featured .test-avatar { background: rgba(255,255,255,.15); color: var(--white); }
.test-author strong { display: block; font-size: .88rem; font-weight: 500; color: var(--text); }
.test-card--featured .test-author strong { color: var(--white); }
.test-author span { font-size: .73rem; color: var(--text-muted); }
.test-card--featured .test-author span { color: rgba(255,255,255,.5); }
.test-result { margin-top: 4px; }
.result-chip {
  display: inline-block;
  background: rgba(122,158,126,.12);
  color: var(--sage-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.test-card--featured .result-chip { background: rgba(255,255,255,.12); color: var(--sage-light); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .stats-row { gap: 20px 0; }
  .stat-divider { display: none; }
  .stat { padding: 12px 20px; }
  .calc-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .calc-copy { text-align: center; }
  .quiz-card { padding: 28px 20px; }
  .opt-btn { flex: 1 1 90px; }
  .footer { flex-direction: column; gap: 8px; align-items: center; }
  .btn-primary.btn-large { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .options-grid { flex-direction: column; }
  .opt-btn { max-width: 100%; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px 18px; }
}

/* ── RESPONSIVE — Nuevas secciones ──────────────── */
@media (max-width: 900px) {
  .about-wrapper { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-photo { align-items: center; }
  .about-credentials { justify-content: center; }
  .about-tags { justify-content: center; }
  .test-grid { grid-template-columns: 1fr; max-width: 480px; }
  .test-card--featured { transform: none; }
  .test-card--featured:hover { transform: translateY(-4px); }
}