/* Nutrivibe — landing editorial (referencia SKILLFIRE / Apple marketing)
   Blanco dominante, nav flotante, hero centrado, acento morado con calma. */

:root {
  --nv-brand: #6a2c91;
  --nv-brand-deep: #4a1f66;
  --nv-brand-mid: #7d3fa3;
  --nv-brand-glow: #c45c8a;
  --nv-ink: #1d1d1f;
  --nv-ink-secondary: #424245;
  --nv-ink-tertiary: #86868b;
  --nv-ink-muted: #aeaeb2;
  --nv-surface: #ffffff;
  --nv-surface-soft: #f5f5f7;
  --nv-separator: rgba(0, 0, 0, 0.08);
  --nv-hairline: rgba(0, 0, 0, 0.05);
  --nv-radius-lg: 22px;
  --nv-radius-md: 14px;
  --nv-radius-pill: 980px;
  --nv-space-section: clamp(4.5rem, 12vw, 7.5rem);
  --nv-max: 720px;
  --nv-max-wide: 1080px;
  --nv-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nv-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --nv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nv-shadow-nav: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --nv-shadow-soft: 0 2px 14px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);
  --nv-shadow-phone: 0 32px 64px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--nv-font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--nv-ink);
  background: var(--nv-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(106, 44, 145, 0.18);
  color: var(--nv-ink);
}

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

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

.nv-skip {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--nv-ink);
  color: #fff;
  border-radius: 8px;
  z-index: 10000;
}

.nv-skip:focus {
  left: 0.5rem;
  outline: 2px solid var(--nv-brand);
  outline-offset: 2px;
}

.nv-shell {
  width: 100%;
  max-width: var(--nv-max-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.nv-m-0 { margin: 0; }
.nv-mt-md { margin-top: 1rem; }
.nv-mb-md { margin-bottom: 1rem; }

.nv-brand-mark {
  color: var(--nv-brand);
  font-weight: 600;
}

/* ——— Nav flotante (píldora) ——— */
.nv-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px clamp(1rem, 4vw, 1.75rem) 0;
  pointer-events: none;
  transition: padding 0.35s var(--nv-ease-out);
}

.nv-nav-wrap.is-scrolled {
  padding-top: 10px;
}

.nv-float-nav {
  pointer-events: auto;
  max-width: 920px;
  margin-inline: auto;
  min-height: 52px;
  padding: 0 0.35rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--nv-radius-pill);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--nv-shadow-nav);
  transition: background 0.35s var(--nv-ease-out), box-shadow 0.35s var(--nv-ease-out);
}

.nv-nav-wrap.is-scrolled .nv-float-nav {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nv-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--nv-ink);
  flex-shrink: 0;
}

.nv-logo:hover {
  opacity: 0.8;
}

.nv-logo-img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: contain;
}

.nv-nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .nv-nav-links {
    display: flex;
  }
}

.nv-nav-link {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--nv-ink-secondary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--nv-radius-pill);
  transition: background 0.2s var(--nv-ease), color 0.2s var(--nv-ease);
}

.nv-nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--nv-ink);
}

.nv-nav-actions {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

@media (min-width: 900px) {
  .nv-nav-actions {
    display: flex;
  }
}

.nv-nav-ghost {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--nv-ink-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--nv-radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  transition: background 0.2s var(--nv-ease);
}

.nv-nav-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nv-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--nv-ink);
  padding: 0.5rem 1rem 0.5rem 1.15rem;
  border-radius: var(--nv-radius-pill);
  transition: transform 0.2s var(--nv-ease), background 0.2s var(--nv-ease);
}

.nv-nav-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.nv-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}

.nv-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--nv-ink);
  border-radius: 1px;
  transition: transform 0.25s var(--nv-ease), opacity 0.2s;
}

@media (min-width: 900px) {
  .nv-nav-toggle {
    display: none;
  }
}

body.nv-nav-open .nv-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nv-nav-open .nv-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nv-nav-open .nv-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nv-nav-drawer {
  position: fixed;
  top: 78px;
  left: clamp(1rem, 4vw, 1.75rem);
  right: clamp(1rem, 4vw, 1.75rem);
  z-index: 999;
  padding: 1rem 1.25rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--nv-separator);
  box-shadow: var(--nv-shadow-nav);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nv-nav-drawer .nv-nav-link {
  font-size: 17px;
  padding: 0.75rem 0.5rem;
}

.nv-nav-drawer .nv-nav-ghost,
.nv-nav-drawer .nv-nav-cta {
  margin-top: 0.5rem;
  text-align: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .nv-nav-drawer {
    display: none !important;
  }
}

/* ——— Hero landing ——— */
.nv-landing-hero {
  padding-top: clamp(5.5rem, 14vw, 7.5rem);
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}

.nv-landing-hero-inner {
  max-width: var(--nv-max-wide);
}

.nv-hero-display {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--nv-ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2em 0.28em;
}

.nv-hero-word--muted {
  color: var(--nv-ink-muted);
  font-weight: 500;
}

.nv-hero-stage {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
  min-height: clamp(380px, 52vw, 520px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.nv-card-fan {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: min(100%, 640px);
  padding-inline: 0.5rem;
  z-index: 1;
}

.nv-fan-card {
  flex: 1;
  max-width: 148px;
  min-height: 168px;
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  text-align: left;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform-origin: bottom center;
  transition: transform 0.5s var(--nv-ease-out);
}

.nv-fan-card--1 {
  background: linear-gradient(145deg, #e85d4c, #c73e2e);
  transform: rotate(-6deg) translateY(8px);
}

.nv-fan-card--2 {
  background: linear-gradient(145deg, var(--nv-brand-mid), var(--nv-brand-deep));
  transform: rotate(-2deg) translateY(4px);
  min-height: 188px;
}

.nv-fan-card--3 {
  background: linear-gradient(145deg, #3d7dd9, #2456a8);
  transform: rotate(2deg) translateY(4px);
  min-height: 196px;
}

.nv-fan-card--4 {
  background: linear-gradient(145deg, #2d2d30, #1d1d1f);
  transform: rotate(6deg) translateY(8px);
}

@media (hover: hover) {
  .nv-hero-stage:hover .nv-fan-card--1 { transform: rotate(-8deg) translateY(4px); }
  .nv-hero-stage:hover .nv-fan-card--4 { transform: rotate(8deg) translateY(4px); }
}

.nv-fan-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nv-fan-card-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.nv-phone {
  position: relative;
  z-index: 2;
  width: min(280px, 72vw);
  margin-bottom: -8px;
}

.nv-phone-bezel {
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #e8e8ed 0%, #d2d2d7 35%, #86868b 100%);
  box-shadow: var(--nv-shadow-phone);
}

.nv-phone-screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  padding: 16px 16px 20px;
  min-height: 400px;
  background: linear-gradient(165deg, #fafafa 0%, #f0edf3 45%, #e8e0ef 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.nv-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--nv-ink);
}

.nv-phone-notch {
  width: 72px;
  height: 22px;
  border-radius: 12px;
  background: #1d1d1f;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}

.nv-phone-signal {
  width: 48px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--nv-ink) 40%, rgba(0, 0, 0, 0.15));
  opacity: 0.35;
}

.nv-phone-greeting {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--nv-ink-tertiary);
}

.nv-phone-week {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--nv-ink);
}

.nv-phone-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nv-phone-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--nv-ink-secondary);
}

.nv-phone-chip.is-on {
  background: var(--nv-ink);
  color: #fff;
}

.nv-phone-block {
  margin-top: 4px;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--nv-hairline);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nv-phone-block--meal {
  background: linear-gradient(135deg, rgba(106, 44, 145, 0.08), rgba(255, 255, 255, 0.95));
}

.nv-phone-block-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--nv-brand);
}

.nv-phone-block strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--nv-ink);
}

.nv-phone-block span:last-child {
  font-size: 13px;
  color: var(--nv-ink-tertiary);
}

.nv-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, var(--nv-surface) 12%, rgba(255, 255, 255, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.nv-hero-tagline {
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 1.75rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
  color: var(--nv-ink-secondary);
}

.nv-hero-cta {
  display: flex;
  justify-content: center;
}

.nv-app-store {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.35rem 0.7rem 1.1rem;
  border-radius: var(--nv-radius-pill);
  background: var(--nv-ink);
  color: #fff;
  cursor: default;
  user-select: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.nv-app-store--inline {
  margin-top: 1.25rem;
}

.nv-app-store-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nv-app-store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.nv-app-store-copy small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: -0.01em;
}

.nv-app-store-copy strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ——— Tipografía secciones ——— */
.nv-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nv-brand);
}

.nv-headline-lg {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.07;
  color: var(--nv-ink);
}

.nv-headline-md {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--nv-ink);
}

.nv-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--nv-ink-secondary);
  max-width: 28rem;
}

.nv-lead--dark {
  color: var(--nv-ink-secondary);
  max-width: 36rem;
}

.nv-lead--center {
  margin-inline: auto;
  text-align: center;
}

.nv-body {
  margin: 0;
  color: var(--nv-ink-secondary);
  line-height: 1.58;
  letter-spacing: -0.016em;
}

.nv-footnote {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--nv-ink-tertiary);
}

/* ——— Secciones ——— */
.nv-section {
  padding-block: var(--nv-space-section);
}

.nv-section--muted {
  background: var(--nv-surface-soft);
}

.nv-section-intro {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.nv-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nv-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.nv-card {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 1.85rem);
  background: var(--nv-surface);
  border-radius: var(--nv-radius-lg);
  border: 1px solid var(--nv-hairline);
  box-shadow: var(--nv-shadow-soft);
  transition: transform 0.45s var(--nv-ease-out), box-shadow 0.45s var(--nv-ease-out);
}

.nv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .nv-card:hover {
    transform: none;
  }
}

.nv-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(106, 44, 145, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--nv-brand);
}

.nv-card-icon svg {
  width: 22px;
  height: 22px;
}

.nv-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .nv-split {
    grid-template-columns: 1fr 1fr;
  }
}

.nv-ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--nv-ink-secondary);
  line-height: 1.55;
}

.nv-ol li {
  margin-bottom: 1rem;
  padding-left: 0.35rem;
}

.nv-ol strong {
  color: var(--nv-ink);
  font-weight: 600;
}

.nv-panel {
  border-radius: var(--nv-radius-lg);
  border: 1px solid var(--nv-hairline);
  background: var(--nv-surface);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--nv-shadow-soft);
}

.nv-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.nv-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(106, 44, 145, 0.1);
  color: var(--nv-brand-deep);
}

.nv-tag--soft {
  background: rgba(0, 0, 0, 0.05);
  color: var(--nv-ink-secondary);
}

.nv-hr {
  border: none;
  height: 1px;
  background: var(--nv-separator);
  margin: 1.25rem 0;
}

/* ——— CTA band ——— */
.nv-cta-band {
  text-align: center;
  border-top: 1px solid var(--nv-hairline);
}

.nv-cta-band-inner {
  max-width: 40rem;
}

.nv-cta-hint {
  margin: 0 0 0.5rem;
  font-size: 13px;
  color: var(--nv-ink-tertiary);
}

/* ——— Footer ——— */
.nv-footer {
  padding-block: clamp(2.5rem, 6vw, 3.25rem);
  background: var(--nv-surface-soft);
  color: var(--nv-ink-tertiary);
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid var(--nv-hairline);
}

.nv-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nv-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nv-footer-title {
  margin: 0 0 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--nv-ink);
}

.nv-footer a {
  color: var(--nv-ink-secondary);
}

.nv-footer a:hover {
  color: var(--nv-brand);
}

.nv-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nv-footer li {
  margin-bottom: 0.35rem;
}

/* ——— Reveal ——— */
.nv-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.75s var(--nv-ease), transform 0.75s var(--nv-ease);
}

.nv-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .nv-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nv-fan-card {
    transition: none;
  }
  .nv-nav-cta:hover {
    transform: none;
  }
}

/* ——— Mobile hero ——— */
@media (max-width: 599px) {
  .nv-card-fan {
    gap: 6px;
    bottom: 14%;
  }

  .nv-fan-card {
    min-height: 120px;
    max-width: 72px;
    padding: 10px 8px;
  }

  .nv-fan-card--2,
  .nv-fan-card--3 {
    min-height: 140px;
  }

  .nv-fan-card-title {
    font-size: 11px;
  }

  .nv-fan-card-tag {
    font-size: 8px;
  }

  .nv-phone-screen {
    min-height: 360px;
  }
}
