/*
Theme Name: NutriVan
Description: Plantilla para el sitio de la Lic. en Nutrición Vanesa Bengoa. Estilo sobrio, cálido y minimalista.
Version: 1.0.0
Author: NutriVan
Text Domain: nutrivan
*/

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
/* Fallback con métricas ajustadas para evitar saltos de layout al cargar la fuente. */
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial');
  size-adjust: 113%;
  ascent-override: 85%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --nv-bg: #f8f6f2;
  --nv-bg-soft: #f2efe9;
  --nv-band: #e9ece6;
  --nv-card: #f3f1ec;
  --nv-sage: #667860;
  --nv-sage-dark: #566650;
  --nv-sage-text: #566650;
  --nv-sage-light: #a9b5a2;
  --nv-text: #4a4a47;
  --nv-text-soft: #62625c;
  --nv-line: #dcd9d1;
  --nv-radius: 14px;
  --nv-container: 1300px;
  --nv-font: 'Montserrat', 'Montserrat Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nv-bg);
  color: var(--nv-text);
  font-family: var(--nv-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--nv-sage); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; background: #fff; padding: 8px 14px; z-index: 999; top: 8px; left: 8px;
}

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

/* Tipografía base */
.nv-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--nv-sage-text);
  margin-bottom: 18px;
}
.nv-title {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--nv-text);
}
.nv-title em { font-style: normal; color: var(--nv-sage); }
.nv-lead { color: var(--nv-text); font-size: 17px; line-height: 1.7; max-width: 420px; }

/* Botones */
.nv-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.nv-btn svg { width: 18px; height: 18px; flex: none; }
.nv-btn--primary { background: var(--nv-sage); color: #fff; }
.nv-btn--primary:hover { background: var(--nv-sage-dark); transform: translateY(-1px); }
.nv-btn--outline { border-color: var(--nv-sage); color: var(--nv-text); background: transparent; }
.nv-btn--outline:hover { background: var(--nv-sage); color: #fff; }
.nv-btn--sm { padding: 10px 20px; font-size: 13px; }
.nv-link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px;
  padding-bottom: 6px; border-bottom: 1px solid var(--nv-sage);
}
.nv-link svg { width: 18px; height: 18px; transition: transform .2s; }
.nv-link:hover svg { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 217, 209, .5);
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 70px;
}
.site-brand { display: inline-flex; align-items: center; gap: 8px; justify-self: start; }
.site-brand img { height: 36px; width: auto; max-width: none; }
.nv-logo-text { font-size: 28px; font-weight: 400; color: var(--nv-text); letter-spacing: -.01em; }
.nv-logo-text span { color: var(--nv-sage); font-weight: 400; }
.site-footer .site-brand img { height: 26px; }

.main-nav ul { display: flex; gap: 40px; }
.main-nav a {
  position: relative; display: block; padding: 6px 0;
  font-size: 14px; color: var(--nv-text-soft); transition: color .2s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--nv-sage); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current_page_parent > a, .main-nav .current-menu-ancestor > a { color: var(--nv-text); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after, .main-nav .current_page_parent > a::after, .main-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.header-cta { justify-self: end; }

.nav-toggle {
  display: none; justify-self: end; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; color: var(--nv-text);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; margin: 0 auto; transition: .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.nv-hero {
  position: relative; min-height: 440px; overflow: hidden;
  background: linear-gradient(100deg, #f5f3ee 0%, #efece5 55%, #e6e3db 100%);
}
.nv-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 440px; padding-top: 40px; padding-bottom: 40px;
}
.nv-hero__text .nv-title { font-size: clamp(36px, 4.4vw, 48px); margin-bottom: 26px; }
.nv-hero__text .nv-lead { margin-bottom: 32px; }
.nv-hero__media { position: absolute; inset: 0; z-index: 1; }
.nv-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }

/* Placeholder de imagen */
.nv-ph {
  width: 100%; height: 100%; min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #e7e4dc 0 14px, #ebe8e0 14px 28px);
  color: var(--nv-sage); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}

/* Servicios (home) */
.nv-services { padding: 52px 0 56px; }
.nv-services__inner { display: grid; grid-template-columns: 330px 1fr; gap: 40px; align-items: center; }
.nv-services__intro .nv-title { font-size: 28px; margin-bottom: 20px; }
.nv-services__intro p { font-size: 15px; margin-bottom: 30px; max-width: 290px; }
.nv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nv-card {
  display: flex; flex-direction: column; min-height: 200px;
  padding: 24px 20px 20px;
  background: var(--nv-card); border-radius: var(--nv-radius);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.nv-card:hover { transform: translateY(-4px); background: #efece6; box-shadow: 0 12px 28px rgba(90, 100, 80, .1); }
.nv-card__icon { width: 34px; height: 34px; color: var(--nv-sage); margin-bottom: 18px; }
.nv-card h3 { font-size: 14px; font-weight: 400; line-height: 1.35; margin-bottom: 8px; }
.nv-card p { font-size: 11.5px; line-height: 1.6; color: var(--nv-text-soft); }
.nv-card__arrow { margin-top: auto; padding-top: 16px; width: 18px; box-sizing: content-box; color: var(--nv-text); transition: transform .2s; }
.nv-card:hover .nv-card__arrow { transform: translateX(4px); }

/* Sobre mí (home) */
.nv-about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--nv-bg); }
.nv-about__media { height: 100%; min-height: 360px; }
.nv-about__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-about__text { padding: 40px 70px; max-width: 560px; }
.nv-about__text .nv-title { font-size: 28px; margin-bottom: 24px; }
.nv-about__text p { font-size: 15px; line-height: 1.75; margin-bottom: 32px; }

/* Beneficios */
.nv-benefits { background: var(--nv-band); padding: 48px 0 44px; }
.nv-benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.nv-benefit__icon { width: 34px; height: 34px; margin: 0 auto 18px; color: var(--nv-sage); }
.nv-benefit h3 { font-size: 14px; font-weight: 400; margin-bottom: 8px; }
.nv-benefit p { font-size: 11.5px; line-height: 1.7; color: var(--nv-text-soft); max-width: 190px; margin: 0 auto; }

/* CTA */
.nv-cta { padding: 22px 0 28px; }
.nv-cta__box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  min-height: 240px; border-radius: var(--nv-radius);
  background: #ebe9e2;
}
.nv-cta__text { padding: 34px 28px; position: relative; z-index: 2; }
.nv-cta__text .nv-eyebrow { font-size: 10px; margin-bottom: 14px; color: var(--nv-text-soft); }
.nv-cta__text .nv-title { font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
.nv-cta__text p { font-size: 12px; color: var(--nv-text-soft); margin-bottom: 22px; max-width: 320px; }
.nv-cta__media { position: absolute; inset: 0; z-index: 0; }
.nv-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }

/* Footer */
.site-footer { padding: 18px 0 30px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-nav ul { display: flex; gap: 30px; }
.footer-nav a { font-size: 11px; color: var(--nv-text-soft); transition: color .2s; }
.footer-nav a:hover { color: var(--nv-sage); }
.footer-right { display: flex; align-items: center; gap: 18px; justify-self: end; }
.footer-brand { display: flex; align-items: center; gap: 22px; justify-self: start; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { display: grid; place-items: center; width: 24px; height: 24px; color: var(--nv-text); transition: color .2s; }
.footer-social a:hover { color: var(--nv-sage); }
.footer-social svg { width: 18px; height: 18px; }
.footer-credit { display: inline-flex; align-items: center; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.footer-credit:hover { opacity: 1; }
.footer-credit img { height: 33px; width: auto; }

/* Contenido genérico (index de respaldo) */
.nv-page { padding: 64px 0; }
.nv-post { margin-bottom: 48px; }
.nv-post h2 { font-size: 26px; font-weight: 400; margin-bottom: 12px; }

/* Responsive (base) */
@media (max-width: 1024px) {
  .nv-services__inner { grid-template-columns: 1fr; gap: 32px; }
  .nv-services__intro p { max-width: 480px; }
  .nv-cards { grid-template-columns: repeat(2, 1fr); }
  .nv-about__text { padding: 40px 36px; }
  .main-nav ul { gap: 26px; }
}
@media (max-width: 820px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--nv-bg); border-bottom: 1px solid var(--nv-line);
    padding: 12px 24px 24px; display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 12px 0; font-size: 15px; }
  .main-nav a::after { display: none; }

  .nv-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 300px; }
  .nv-hero__media { top: auto; height: 280px; }
  .nv-hero__media img { object-position: 85% center; }
  .nv-about { grid-template-columns: 1fr; }
  .nv-about__media { min-height: 280px; }
  .nv-about__text { padding: 40px 24px; max-width: none; }
  .nv-benefits__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .nv-cta__box { grid-template-columns: 1fr; }
  .nv-cta__text { padding-bottom: 150px; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; }
  .footer-nav ul { flex-wrap: wrap; justify-content: center; gap: 18px 24px; }
  .footer-brand { justify-self: center; }
  .footer-right { justify-self: center; flex-direction: column; gap: 14px; }
}
@media (max-width: 520px) {
  .nv-cards { grid-template-columns: 1fr; }
  .nv-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Modal de turnos */
html.modal-open { overflow: hidden; }
.nv-modal {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: min(640px, 100%); margin: auto; color: var(--nv-text);
}
.nv-modal::backdrop { background: rgba(60, 64, 56, .5); }
.nv-modal__panel {
  position: relative; background: var(--nv-bg); border-radius: 20px;
  padding: 36px 36px 28px; max-height: calc(100vh - 32px); overflow-y: auto;
  box-shadow: 0 30px 80px rgba(40, 46, 36, .25); margin: 16px;
}
.nv-modal__close {
  position: absolute; top: 14px; right: 16px; width: 40px; height: 40px;
  border: 0; background: none; font-size: 28px; line-height: 1; color: var(--nv-text-soft); cursor: pointer; border-radius: 50%;
}
.nv-modal__close:hover { background: var(--nv-card); color: var(--nv-text); }
.nv-booking .nv-title { font-size: 26px; margin-bottom: 22px; }
.nv-field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.nv-field legend { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--nv-sage-text); margin-bottom: 12px; padding: 0; }
.nv-hint { font-size: 13px; color: var(--nv-text-soft); margin-bottom: 10px; }
.nv-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.nv-day {
  flex: none; width: 62px; padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font: inherit; background: var(--nv-card); border: 1px solid transparent; border-radius: 12px; color: var(--nv-text); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.nv-day small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--nv-text-soft); }
.nv-day strong { font-size: 20px; font-weight: 500; line-height: 1.2; }
.nv-day:hover:not(:disabled) { border-color: var(--nv-sage-light); }
.nv-day:disabled { opacity: .35; cursor: not-allowed; }
.nv-day.is-selected { background: var(--nv-sage); color: #fff; }
.nv-day.is-selected small { color: #fff; }
.nv-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.nv-slot {
  font: inherit; font-size: 14px; padding: 10px 0; background: transparent; color: var(--nv-text);
  border: 1px solid var(--nv-line); border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.nv-slot:hover { border-color: var(--nv-sage); }
.nv-slot.is-selected { background: var(--nv-sage); border-color: var(--nv-sage); color: #fff; }
.nv-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nv-fields__full { grid-column: 1 / -1; }
.nv-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--nv-text-soft); }
.nv-fields input, .nv-fields select {
  font: inherit; font-size: 15px; color: var(--nv-text); padding: 12px 14px;
  background: #fff; border: 1px solid var(--nv-line); border-radius: 10px;
}
.nv-fields input:focus, .nv-fields select:focus { outline: 2px solid var(--nv-sage); outline-offset: 1px; border-color: var(--nv-sage); }
.nv-error { color: #a4452c; font-size: 13px; margin-bottom: 12px; }
.nv-booking__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nv-summary { font-size: 13px; color: var(--nv-text); }
.nv-summary::first-letter { text-transform: uppercase; }
.nv-booking-done { text-align: center; padding: 24px 0 8px; }
.nv-booking-done__icon { width: 44px; height: 44px; color: var(--nv-sage); margin: 0 auto 16px; }
.nv-booking-done .nv-title { font-size: 26px; margin-bottom: 12px; }
.nv-booking-done p { max-width: 420px; margin: 0 auto 24px; font-size: 15px; }
@media (max-width: 560px) {
  .nv-modal__panel { padding: 28px 20px 22px; }
  .nv-fields { grid-template-columns: 1fr; }
  .nv-booking__footer .nv-btn { width: 100%; justify-content: center; }
}

/* Referencias */
.nv-reviews { padding: 64px 0 56px; }
.nv-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.nv-reviews__head .nv-title { font-size: 28px; }
.nv-reviews__nav { display: flex; gap: 10px; }
.nv-reviews__btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--nv-text); border: 1px solid var(--nv-line); border-radius: 50%;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.nv-reviews__btn svg { width: 18px; height: 18px; }
.nv-reviews__btn:first-child svg { transform: scaleX(-1); }
.nv-reviews__btn:hover:not(:disabled) { background: var(--nv-sage); border-color: var(--nv-sage); color: #fff; }
.nv-reviews__btn:disabled { opacity: .35; cursor: default; }
.nv-reviews__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 16px; scrollbar-width: none;
}
.nv-reviews__track::-webkit-scrollbar { display: none; }
.nv-review {
  flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px; padding: 28px 26px 24px;
  background: var(--nv-card); border-radius: var(--nv-radius);
}
.nv-stars { display: flex; gap: 3px; color: #c9a45c; }
.nv-stars svg { width: 16px; height: 16px; }
.nv-review__text { font-size: 14px; line-height: 1.75; flex: 1; }
.nv-review__who { display: flex; align-items: center; gap: 12px; }
.nv-review__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--nv-band); color: var(--nv-sage-dark); font-weight: 500;
}
.nv-review__who strong { display: block; font-size: 14px; font-weight: 500; }
.nv-review__who small { display: block; font-size: 11.5px; color: var(--nv-text-soft); }
@media (max-width: 1024px) { .nv-review { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) {
  .nv-reviews { padding: 48px 0 40px; }
  .nv-review { flex-basis: 88%; }
  .nv-reviews__head { align-items: flex-start; flex-direction: column; }
}

/* ===== Páginas internas ===== */
.nv-container--narrow { max-width: 820px; }
.nv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
section[id], article[id] { scroll-margin-top: 90px; }
article.nv-svc[id] { scroll-margin-top: 150px; }

.nv-pagehero {
  padding: 72px 0 56px;
  background: linear-gradient(100deg, #f5f3ee 0%, #efece5 55%, #e6e3db 100%);
}
.nv-pagehero .nv-title { font-size: clamp(32px, 4vw, 44px); margin-bottom: 18px; }
.nv-pagehero .nv-lead { max-width: 560px; margin: 0; }
.nv-pagehero--article { padding: 56px 0 40px; }
.nv-pagehero--article .nv-title { font-size: clamp(28px, 3.6vw, 40px); }
.nv-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--nv-text-soft); margin-bottom: 28px; }
.nv-back svg { width: 16px; height: 16px; transform: scaleX(-1); }
.nv-back:hover { color: var(--nv-sage); }
.nv-section-head { margin-bottom: 36px; }
.nv-section-head .nv-title { font-size: 28px; }
.nv-section-head p { margin-top: 10px; font-size: 14px; color: var(--nv-text-soft); }

/* Servicios */
.nv-subnav {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(248, 246, 242, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 217, 209, .6);
}
.nv-subnav ul { display: flex; gap: 8px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.nv-subnav ul::-webkit-scrollbar { display: none; }
.nv-subnav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--nv-line);
  color: var(--nv-text); transition: background .2s, color .2s, border-color .2s;
}
.nv-subnav svg { width: 17px; height: 17px; color: var(--nv-sage); }
.nv-subnav a:hover { border-color: var(--nv-sage); }
.nv-subnav a.is-active { background: var(--nv-sage); border-color: var(--nv-sage); color: #fff; }
.nv-subnav a.is-active svg { color: #fff; }

.nv-svc-list { padding: 40px 0 56px; }
.nv-svc {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: stretch;
  padding: 40px; margin-bottom: 24px;
  background: var(--nv-card); border-radius: 20px;
}
.nv-svc:last-child { margin-bottom: 0; }
.nv-svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.nv-svc__icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--nv-sage); }
.nv-svc__icon svg { width: 28px; height: 28px; }
.nv-svc__num { font-size: 12px; letter-spacing: .14em; color: var(--nv-sage-text); }
.nv-svc__main .nv-title { font-size: 30px; margin-bottom: 14px; }
.nv-svc__lead { font-size: 15.5px; line-height: 1.75; margin-bottom: 20px; max-width: 520px; }
.nv-svc__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.nv-svc__meta li { font-size: 12px; padding: 6px 14px; border-radius: 999px; background: var(--nv-band); color: var(--nv-sage-dark); }
.nv-svc__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.nv-svc__side { background: #fff; border-radius: var(--nv-radius); padding: 32px; align-self: stretch; }
.nv-svc__side h3 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-sage-text); margin-bottom: 20px; }
.nv-checks { display: grid; gap: 16px; }
.nv-checks li { display: flex; gap: 14px; font-size: 14.5px; line-height: 1.55; }
.nv-checks svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: var(--nv-band); color: var(--nv-sage-dark); }

.nv-help { padding: 8px 0 40px; }
.nv-help__box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 32px 40px; border: 1px solid var(--nv-line); border-radius: 20px;
}
.nv-help__box h2 { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.nv-help__box p { font-size: 14.5px; color: var(--nv-text-soft); }
.nv-help__box .nv-btn svg { width: 20px; height: 20px; }

.nv-steps { padding: 64px 0; }
.nv-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.nv-steps__grid li { position: relative; }
.nv-steps__grid li:not(:last-child)::before { content: ''; position: absolute; top: 20px; left: 52px; right: -16px; height: 1px; background: var(--nv-sage-light); }
.nv-steps__n {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--nv-sage); color: #fff; font-size: 15px;
}
.nv-steps__grid h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.nv-steps__grid p { font-size: 13.5px; color: var(--nv-text-soft); line-height: 1.7; }

.nv-faq { padding: 64px 0 40px; }
.nv-faq__inner { display: grid; grid-template-columns: 320px 1fr; gap: 56px; }
.nv-faq__list details { border-bottom: 1px solid var(--nv-line); padding: 20px 0; }
.nv-faq__list summary { cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.nv-faq__list summary::-webkit-details-marker { display: none; }
.nv-faq__list summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--nv-sage); transition: transform .2s; }
.nv-faq__list details[open] summary::after { transform: rotate(45deg); }
.nv-faq__list details p { margin-top: 12px; font-size: 14.5px; line-height: 1.75; color: var(--nv-text-soft); max-width: 640px; }

/* Sobre mí */
.nv-about--page { background: var(--nv-bg); }
.nv-about--page .nv-about__text { max-width: 620px; }
.nv-about--page .nv-prose p { font-size: 15.5px; }
.nv-about--page .nv-btn { margin-top: 8px; }
.nv-stats { padding: 40px 0; }
.nv-stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 24px; }
.nv-stats strong { display: block; font-size: 40px; font-weight: 300; color: var(--nv-sage-dark); line-height: 1.2; }
.nv-stats span { font-size: 13px; color: var(--nv-text-soft); }
.nv-values { padding: 64px 0 24px; }
.nv-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nv-card--static { min-height: 0; padding: 30px 28px; }
.nv-card--static:hover { transform: none; box-shadow: none; background: var(--nv-card); }
.nv-card--static h3 { font-size: 17px; }
.nv-card--static p { font-size: 14px; }
.nv-studies { padding: 48px 0 56px; }
.nv-studies__inner { display: grid; grid-template-columns: 320px 1fr; gap: 56px; }
.nv-timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--nv-line); }
.nv-timeline li > span { font-size: 13px; color: var(--nv-sage-text); letter-spacing: .04em; }
.nv-timeline strong { display: block; font-weight: 500; font-size: 15.5px; }
.nv-timeline small { color: var(--nv-text-soft); font-size: 13px; }

/* Contacto */
.nv-contact { padding: 56px 0 72px; }
.nv-contact__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.nv-info { display: grid; gap: 4px; margin-bottom: 32px; }
.nv-info li { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--nv-line); }
.nv-info svg { width: 24px; height: 24px; color: var(--nv-sage); flex: none; }
.nv-info small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-text-soft); }
.nv-info a, .nv-info span { font-size: 15.5px; }
.nv-info a:hover { color: var(--nv-sage); }
.nv-contact__book { background: var(--nv-card); border-radius: var(--nv-radius); padding: 28px; }
.nv-contact__book h2 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.nv-contact__book p { font-size: 14px; color: var(--nv-text-soft); margin-bottom: 18px; }
.nv-contact__form { background: #fff; border: 1px solid var(--nv-line); border-radius: 20px; padding: 36px; }
.nv-contact__form .nv-title { font-size: 24px; margin-bottom: 24px; }
.nv-fields textarea {
  font: inherit; font-size: 15px; color: var(--nv-text); padding: 12px 14px; resize: vertical;
  background: #fff; border: 1px solid var(--nv-line); border-radius: 10px;
}
.nv-fields textarea:focus { outline: 2px solid var(--nv-sage); outline-offset: 1px; border-color: var(--nv-sage); }
.nv-contact__form form > .nv-btn { margin-top: 22px; }
.nv-form-msg { margin-top: 16px; font-size: 14px; padding: 12px 16px; border-radius: 10px; }
.nv-form-msg.is-ok { background: #e6eee2; color: #3d5a36; }
.nv-form-msg.is-error { background: #f6e3df; color: #8a2b1f; }

/* Blog */
.nv-blog { padding: 48px 0 72px; }
.nv-blog--related { padding-top: 24px; background: var(--nv-bg-soft); }
.nv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.nv-chips a { font-size: 13px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--nv-line); transition: .2s; }
.nv-chips a:hover { border-color: var(--nv-sage); }
.nv-chips a.is-active { background: var(--nv-sage); border-color: var(--nv-sage); color: #fff; }
.nv-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nv-post-card { display: flex; flex-direction: column; background: var(--nv-card); border-radius: var(--nv-radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.nv-post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(90, 100, 80, .1); }
.nv-post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nv-band); }
.nv-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nv-ph--leaf { background: var(--nv-band); }
.nv-ph--leaf svg { width: 44px; height: 44px; color: var(--nv-sage-light); }
.nv-post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nv-post-card__meta { display: flex; gap: 12px; font-size: 11.5px; color: var(--nv-text-soft); }
.nv-post-card__meta span { color: var(--nv-sage-text); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.nv-post-card h2 { font-size: 18px; font-weight: 500; line-height: 1.35; }
.nv-post-card h2 a:hover { color: var(--nv-sage-dark); }
.nv-post-card__excerpt { font-size: 14px; color: var(--nv-text-soft); line-height: 1.7; flex: 1; }
.nv-post-card .nv-link { align-self: flex-start; }
.nv-empty { text-align: center; color: var(--nv-text-soft); padding: 40px 0; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--nv-line); border-radius: 999px; font-size: 14px; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--nv-sage); border-color: var(--nv-sage); color: #fff; }

/* Entrada y contenido */
.nv-article__meta { font-size: 13px; color: var(--nv-text-soft); }
.nv-article__img { margin: 40px 0 0; border-radius: var(--nv-radius); overflow: hidden; }
.nv-prose { font-size: 16.5px; line-height: 1.85; }
.nv-article .nv-prose { padding: 40px 0 8px; }
.nv-prose h2 { font-size: 24px; font-weight: 500; margin: 36px 0 12px; line-height: 1.3; }
.nv-prose h3 { font-size: 19px; font-weight: 500; margin: 28px 0 10px; }
.nv-prose p { margin-bottom: 18px; }
.nv-prose ul, .nv-prose ol { margin: 0 0 18px 1.2em; }
.nv-prose ul { list-style: disc; }
.nv-prose ol { list-style: decimal; }
.nv-prose li { margin-bottom: 6px; }
.nv-prose a:not(.nv-btn) { color: var(--nv-sage-dark); text-decoration: underline; text-underline-offset: 3px; }
.nv-article__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 32px 0 64px; padding: 24px 28px; background: var(--nv-card); border-radius: var(--nv-radius); }
.nv-page-body { padding: 56px 24px 72px; }

/* Responsive (páginas internas) */
@media (max-width: 1024px) {
  .nv-svc { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .nv-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .nv-steps__grid li::before { display: none; }
  .nv-faq__inner, .nv-studies__inner, .nv-contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .nv-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nv-pagehero { padding: 48px 0 36px; }
  .nv-values__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nv-svc { padding: 24px 20px; }
  .nv-svc__side { padding: 24px 20px; }
  .nv-svc__main .nv-title { font-size: 26px; }
  .nv-help__box { padding: 28px 24px; }
  .nv-help__box .nv-btn { width: 100%; justify-content: center; }
  .nv-post-grid, .nv-steps__grid { grid-template-columns: 1fr; }
  .nv-stats__grid { grid-template-columns: 1fr; }
  .nv-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .nv-contact__form { padding: 24px 20px; }
}