/* ==========================================================
   STUDIO NAVARRO — Sistema visual
   Editorial · arquitectónico · minimalista · cálido
   Mobile-first
   ========================================================== */

:root {
  /* Paleta oficial */
  --ivory: #F4F0E8;
  --ivory-deep: #EDE7DC;
  --sand: #D8C9B5;
  --sand-soft: #E7DDCF;
  --taupe: #A99A89;
  --brown: #51463D;
  --charcoal: #292929;
  --white: #FFFFFF;

  --text: var(--charcoal);
  --text-soft: #5E554D;
  --line: rgba(81, 70, 61, .18);
  --line-strong: rgba(81, 70, 61, .35);

  /* Tipografía */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala */
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-h3: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-h2: clamp(1.95rem, 1.5rem + 1.8vw, 3.1rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.4vw, 4.7rem);

  /* Espaciado */
  --gutter: 1.25rem;
  --section: clamp(3.25rem, 2.25rem + 3.5vw, 6rem);
  --radius: 2px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 2.5rem; --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; color: var(--charcoal); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--sand); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--charcoal); color: var(--white); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-soft); font-size: var(--fs-sm); }
.note { color: var(--text-soft); font-size: var(--fs-sm); margin-top: 1.25rem; font-style: italic; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
.icon--xl { width: 2rem; height: 2rem; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0 0 1.25rem;
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brown);
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--sand); }
.h2 { font-size: var(--fs-h2); margin-bottom: 1.25rem; max-width: 22ch; }
.h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.lead { font-family: var(--serif); font-size: var(--fs-lg); font-style: italic; color: var(--brown); margin-bottom: 1.5rem; }
.prose { color: var(--text-soft); max-width: 62ch; }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--charcoal); font-weight: 500; }
.prose a { color: var(--brown); }
.prose--large { font-size: var(--fs-md); }
.prose--large p:first-child { font-family: var(--serif); font-size: var(--fs-lg); line-height: 1.45; color: var(--charcoal); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--sm { min-height: 2.75rem; padding: .6rem 1.2rem; }
.btn--dark { background: var(--charcoal); color: var(--ivory); }
.btn--dark:hover { background: var(--brown); }
.btn--outline { border-color: var(--line-strong); color: var(--charcoal); background: transparent; }
.btn--outline:hover { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--charcoal); }
.btn--light:hover { background: var(--sand); }
.btn--ghost-light { border-color: rgba(244, 240, 232, .35); color: var(--ivory); }
.btn--ghost-light:hover { border-color: var(--ivory); background: rgba(244, 240, 232, .08); }
.btn--block { width: 100%; }
@media (max-width: 599px) { .btn--block-mobile { width: 100%; } }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem;
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em;
  text-decoration: none; color: var(--charcoal);
  padding-bottom: .35rem; border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--charcoal); gap: .9rem; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 240, 232, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--charcoal); }
.logo__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.logo__tag { margin-top: .4rem; font-size: .56rem; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); }
.logo__img { height: 44px; width: auto; }
.logo--light { color: var(--ivory); }
.logo--light .logo__tag { color: var(--taupe); }
@media (min-width: 768px) { .logo__name { font-size: 1.55rem; } .logo__tag { font-size: .6rem; } }

.nav, .site-header__cta { display: none; }
.nav__list { display: flex; gap: 2.25rem; list-style: none; }
.nav__link { position: relative; font-size: var(--fs-sm); text-decoration: none; color: var(--text-soft); padding: .5rem 0; transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--charcoal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--charcoal); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; color: var(--charcoal); }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--ivory); overflow-y: auto; padding: 2rem 0 3rem; border-top: 1px solid var(--line); animation: menuIn .4s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu__list { list-style: none; }
.mobile-menu__link { display: block; padding: .9rem 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu__link.is-active { font-style: italic; color: var(--brown); }
.mobile-menu__foot { margin-top: 2.5rem; display: grid; gap: 1rem; text-align: center; }
.mobile-menu__mail { font-size: var(--fs-sm); color: var(--text-soft); }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav, .site-header__cta { display: block; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Marcador de imagen provisional ---------- */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 220px;
  background: var(--sand-soft); color: var(--taupe); overflow: hidden;
}
.ph__art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.ph__label {
  position: absolute; left: 1rem; bottom: 1rem;
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown); background: rgba(244, 240, 232, .85); padding: .35rem .6rem;
}
.tag-provisional {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: .65rem; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(244, 240, 232, .9); color: var(--brown); padding: .35rem .6rem;
}

/* ---------- Hero ---------- */
.hero { padding: 1.75rem 0 clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero__grid { display: grid; gap: 2.5rem; }
.hero__title { font-size: var(--fs-h1); line-height: 1.03; margin-bottom: 1.25rem; max-width: 14ch; }
.hero__title em { color: var(--brown); }
.hero__text { font-size: var(--fs-md); color: var(--text-soft); max-width: 46ch; }
.hero__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-soft); margin: 0; }
.hero__media .ph, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { animation: heroZoom 2.4s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: none; } }
@media (min-width: 900px) {
  .hero { padding-top: 2.5rem; }
  .hero__grid { grid-template-columns: 6fr 5fr; align-items: center; gap: clamp(3rem, 5vw, 5rem); }
  .hero__media { aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h) - 4rem); min-height: 520px; width: 100%; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .5) 0; }
.section--sand { background: var(--sand-soft); }
.section--ivory-deep { background: var(--ivory-deep); }
.section--dark { background: var(--charcoal); color: rgba(244, 240, 232, .75); }
.section--dark h2, .section--dark h3 { color: var(--ivory); }

.section-head { margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 3rem); }
.section-head--row { display: grid; gap: 1.5rem; align-items: end; }
.section-head--row .h2 { margin-bottom: 0; }
.section-head--row .link-arrow { margin-top: 0; justify-self: start; }
.section-head__note { color: var(--text-soft); max-width: 36ch; font-size: var(--fs-sm); margin: 0; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 1fr auto; gap: 4rem; }
  .section-head--row .link-arrow { justify-self: end; }
}

/* Split imagen + texto */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.split__media--portrait { aspect-ratio: 4 / 5; }
.split__media .ph, .split__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 8vw, 8rem); }
  .split--reverse .split__media { order: 2; }
  .split__media { aspect-ratio: 4 / 5; }
}

.wide-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.wide-media--short { aspect-ratio: 16 / 9; }
.wide-media .ph, .wide-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .wide-media { aspect-ratio: 21 / 9; } .wide-media--short { aspect-ratio: 3 / 1; } }

/* Retícula editorial asimétrica */
.editorial { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .editorial { grid-template-columns: 1fr 2fr; gap: 4rem; }
  .editorial__label { padding-top: .6rem; }
}

.duo { display: grid; gap: 3rem; }
.duo__item p:not(.eyebrow) { color: var(--text-soft); }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 6rem; } }

/* ---------- Servicios (inicio) ---------- */
.services-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem 1.6rem; min-height: 260px;
  background: var(--sand-soft); text-decoration: none;
  transition: background-color .5s var(--ease);
}
.service-card:hover { background: var(--ivory); }
.service-card__num { position: absolute; top: 1.75rem; right: 1.75rem; font-family: var(--serif); font-size: 1.1rem; color: var(--taupe); }
.service-card__icon { color: var(--brown); margin-bottom: 1.75rem; }
.service-card__title { font-size: 1.85rem; margin-bottom: .9rem; }
.service-card__text { color: var(--text-soft); font-size: var(--fs-sm); flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }
.service-card__more .icon { transition: transform .35s var(--ease); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } .service-card { min-height: 340px; } }

/* ---------- Proyectos ---------- */
.projects-grid { display: grid; gap: 3rem 2rem; }
@media (min-width: 700px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .projects-grid--editorial .project-card:nth-child(4n+1) .project-card__media { aspect-ratio: 4 / 5; }
  .projects-grid--editorial .project-card:nth-child(4n+2) { margin-top: 8rem; }
  .projects-grid--editorial .project-card:nth-child(4n+3) { margin-top: -6rem; }
}
.project-card.is-hidden { display: none; }
.project-card__link { display: block; text-decoration: none; }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-soft); }
.project-card__media .ph, .project-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card__link:hover .project-card__img { transform: scale(1.04); }
.project-card__body { position: relative; padding: 1.25rem 3rem 0 0; }
.project-card__title { font-size: 1.75rem; margin-bottom: .35rem; }
.project-card__meta { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.project-card__more { position: absolute; right: 0; top: 1.35rem; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color .35s, color .35s, border-color .35s; }
.project-card__link:hover .project-card__more { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.empty { max-width: 100%; margin: 0 auto; padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem); text-align: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.empty .eyebrow { justify-content: center; }
.empty__title { font-size: var(--fs-h3); margin-bottom: 1rem; }
.empty__text { color: var(--text-soft); max-width: 52ch; margin-inline: auto; }

/* Filtros */
.filters { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2.5rem; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex-shrink: 0; padding: .6rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: var(--fs-sm); cursor: pointer; transition: all .3s var(--ease); }
.filter:hover { border-color: var(--charcoal); }
.filter.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.filters-empty { text-align: center; color: var(--text-soft); padding: 3rem 0; }

/* ---------- Filosofía ---------- */
.pillars { display: grid; gap: 1px; background: rgba(244, 240, 232, .14); }
.pillar { background: var(--charcoal); padding: 1.75rem 0; }
.pillar__num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--taupe); margin-bottom: 1rem; }
.pillar__title { font-size: 2.4rem; margin-bottom: 1rem; }
.pillar p { max-width: 38ch; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar { padding: 1rem 3rem 1rem 0; }
  .pillar + .pillar { padding-left: 3rem; }
}

/* ---------- Proceso ---------- */
.process { list-style: none; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.process__step { padding: 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 1rem; }
.process__num { font-family: var(--serif); font-size: 1.35rem; color: var(--taupe); grid-row: span 2; }
.process__title { font-size: 1.6rem; margin-bottom: .5rem; }
.process__text { color: var(--text-soft); font-size: var(--fs-sm); margin: 0; }
@media (min-width: 1000px) {
  .process { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .process__step { display: block; padding: 2rem 1.75rem 0 0; border-bottom: 0; border-top: 1px solid var(--line-strong); }
  .process__num { display: block; margin-bottom: 1.25rem; }
}

/* ---------- Valores ---------- */
.values { display: grid; gap: 2.5rem 3rem; }
.value { border-top: 1px solid var(--line-strong); padding-top: 1.5rem; }
.value__title { font-size: 1.7rem; margin-bottom: .6rem; }
.value p { color: var(--text-soft); font-size: var(--fs-sm); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA ---------- */
.cta { background: var(--brown); color: rgba(244, 240, 232, .8); padding: calc(var(--section) * .85) 0; text-align: center; }
.cta__inner { max-width: 900px; }
.cta .eyebrow { justify-content: center; }
.cta__title { font-size: var(--fs-h2); color: var(--ivory); margin: 0 auto 1.5rem; max-width: 20ch; }
.cta__text { max-width: 48ch; margin-inline: auto; }

/* ---------- Pie ---------- */
.site-footer { background: var(--charcoal); color: rgba(244, 240, 232, .65); padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; font-size: var(--fs-sm); }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--ivory); }
.site-footer__top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(244, 240, 232, .12); }
.site-footer__concept { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--ivory); line-height: 1.3; margin: 1.25rem 0 1.25rem; max-width: 22ch; }
.site-footer__title { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1.25rem; }
.site-footer__col ul { list-style: none; display: grid; gap: .7rem; }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: center; gap: .6rem; word-break: break-word; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: var(--fs-xs); }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 4rem; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 3.5rem; padding: 0 1.1rem;
  background: var(--charcoal); color: var(--ivory);
  border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(244, 240, 232, .28);
  box-shadow: 0 10px 30px -12px rgba(41, 41, 41, .55);
  transition: background-color .3s, transform .3s var(--ease);
}
.wa-float:hover { background: var(--brown); transform: translateY(-2px); }
.wa-float__text { font-size: var(--fs-sm); font-weight: 500; display: none; }
@media (min-width: 768px) { .wa-float { right: 1.75rem; bottom: 1.75rem; } .wa-float__text { display: inline; } }

/* ---------- Cabeceras de página ---------- */
.page-hero { padding: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) 0 clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.page-hero__title { font-size: var(--fs-h1); line-height: 1.02; margin-bottom: 1.5rem; max-width: 16ch; }
.page-hero__title em { color: var(--brown); }
.page-hero__text { font-size: var(--fs-md); color: var(--text-soft); max-width: 54ch; }
.page-hero--404 { min-height: 60vh; display: flex; align-items: center; }
.page-hero--404 .page-hero__title, .page-hero--404 .page-hero__text { margin-inline: auto; }
.page-hero--404 .eyebrow { justify-content: center; }
.page-hero--legal .page-hero__title { font-size: var(--fs-h2); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 2rem; }
.breadcrumb a { text-decoration: none; color: var(--text-soft); }
.breadcrumb a:hover { color: var(--charcoal); }

/* ---------- Página de servicios ---------- */
.service-list { border-top: 1px solid var(--line-strong); }
.service-row { display: grid; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line-strong); }
.service-row__num { font-family: var(--serif); font-size: 1.2rem; color: var(--taupe); }
.service-row__head { display: flex; align-items: center; gap: 1rem; color: var(--brown); }
.service-row__title { font-size: var(--fs-h3); }
.service-row__title a { text-decoration: none; }
.service-row__title a:hover { font-style: italic; }
.service-row__body p { color: var(--text-soft); }
.service-row__body .link-arrow { margin-top: 1.25rem; }
@media (min-width: 1000px) {
  .service-row { grid-template-columns: 4rem 1fr 1.3fr; gap: 3rem; padding: 2.5rem 0; align-items: start; }
  .service-row__head { align-items: flex-start; flex-direction: column; }
}

.check-list { list-style: none; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--text-soft); }
.check-list .icon { color: var(--brown); margin-top: .3em; }
.check-list--compact { gap: .5rem; margin-top: 1.25rem; font-size: var(--fs-sm); }

.deliverables { list-style: none; border-top: 1px solid var(--line-strong); }
.deliverables li { display: flex; gap: 1.5rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: var(--fs-lg); color: var(--charcoal); }
.deliverables span { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .14em; color: var(--taupe); }

.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--charcoal); }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { transition: transform .4s var(--ease); color: var(--brown); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 3rem 1.5rem 0; color: var(--text-soft); }

.other-services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.other-service { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: var(--ivory); text-decoration: none; transition: background-color .3s; }
.other-service:hover { background: var(--sand-soft); }
.other-service span { font-family: var(--serif); color: var(--taupe); }
.other-service strong { flex: 1; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
@media (min-width: 800px) { .other-services { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Perfil de Rashira ---------- */
.profile-hero { padding: clamp(1.75rem, 1.25rem + 2vw, 3.5rem) 0 var(--section); }
.profile-hero__grid { display: grid; gap: 2.5rem; }
.profile-hero__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.profile-hero__media .ph, .profile-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .profile-hero__grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; } .profile-hero__media { max-height: calc(100vh - var(--header-h) - 3rem); min-height: 520px; } }
.quote { margin: 0 0 2rem; font-family: var(--serif); font-size: var(--fs-h3); font-style: italic; line-height: 1.25; color: var(--brown); max-width: 28ch; }
.timeline { list-style: none; border-left: 1px solid var(--line-strong); padding-left: 1.5rem; display: grid; gap: 1.25rem; }
.timeline li { position: relative; color: var(--text-soft); }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 4px); top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brown); }

/* ---------- Proyecto individual ---------- */
.project-hero { padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 0; }
.project-meta { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 0 0 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.project-meta dt { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin-bottom: .25rem; }
.project-meta dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; }
.project-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-cover .ph, .project-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .project-cover { aspect-ratio: 16 / 9; } }
.project-story { display: grid; gap: 3rem; }
@media (min-width: 900px) { .project-story { grid-template-columns: 1fr 1fr; gap: 4rem 6rem; } }
.materials { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.materials li { padding: .45rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-sm); color: var(--text-soft); }

.gallery { display: grid; gap: 1rem; }
.gallery__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery__item .ph, .gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover .gallery__img { transform: scale(1.03); }
@media (min-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .gallery__item:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16 / 9; }
}

.ba { margin: 0 0 3rem; }
.ba figcaption { margin-top: 1rem; font-size: var(--fs-sm); color: var(--text-soft); }
.ba__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; user-select: none; }
.ba__frame .ba__img, .ba__frame .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__label { position: absolute; top: 1rem; z-index: 2; font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; background: rgba(244, 240, 232, .9); padding: .35rem .65rem; pointer-events: none; }
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--ivory); z-index: 2; pointer-events: none; }
.ba__handle .icon { position: absolute; top: 50%; width: 1rem; height: 1rem; color: var(--charcoal); }
.ba__handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; border-radius: 50%; background: var(--ivory); }
.ba__handle .icon:first-child { left: -1rem; margin-top: -.5rem; }
.ba__handle .icon:last-child { left: 0; margin-top: -.5rem; }
.ba__range:focus-visible + .ba__handle::before { outline: 2px solid var(--brown); outline-offset: 2px; }

.project-contact { display: grid; gap: 1.5rem; padding: 2.5rem; background: var(--sand-soft); align-items: center; }
.project-contact .btn-row { margin-top: 0; }
@media (min-width: 900px) { .project-contact { grid-template-columns: 1fr auto; padding: 3rem 3.5rem; } .project-contact .h3 { margin: 0; } }
.project-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-bottom: var(--section); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(28, 26, 24, .96); padding: 4rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; background: none; border: 1px solid rgba(244, 240, 232, .25); border-radius: 50%; color: var(--ivory); cursor: pointer; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: var(--taupe); font-size: var(--fs-sm); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } .contact-info { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact-info { display: grid; gap: .75rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .4); text-decoration: none; transition: border-color .3s, background-color .3s; }
.contact-card:hover { border-color: var(--charcoal); background: var(--white); }
.contact-card span { flex: 1; display: grid; min-width: 0; }
.contact-card small { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.contact-card strong { font-weight: 500; overflow-wrap: anywhere; }
.contact-card > .icon:first-child { color: var(--brown); }
.contact-card--primary { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.contact-card--primary:hover { background: var(--brown); border-color: var(--brown); }
.contact-card--primary > .icon:first-child, .contact-card--primary small { color: var(--sand); }
.contact-card--static:hover { border-color: var(--line); background: rgba(255, 255, 255, .4); }
.contact-info__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-top: .75rem; }
.contact-info__media .ph, .contact-info__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999px) { .contact-info__media { display: none; } }

.contact-form-wrap { background: var(--white); padding: clamp(1.75rem, 4vw, 3.5rem); border: 1px solid var(--line); }
.form { margin-top: 2rem; }
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: .45rem; font-size: var(--fs-sm); font-weight: 500; color: var(--charcoal); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: .75rem .9rem;
  background: var(--ivory); border: 1px solid transparent; border-bottom-color: var(--line-strong);
  border-radius: var(--radius); font-size: 1rem; transition: border-color .3s, background-color .3s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2351463D' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brown); background: var(--white); }
.field [aria-invalid="true"] { border-color: #9c4a3c; background: #fbf3f1; }
.field__error { margin: .4rem 0 0; font-size: var(--fs-xs); color: #9c4a3c; }
.field__error[hidden] { display: none; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); font-weight: 400 !important; color: var(--text-soft) !important; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: .2rem; flex-shrink: 0; accent-color: var(--charcoal); appearance: auto; -webkit-appearance: checkbox; padding: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[type="submit"] { margin-top: 2rem; min-width: 14rem; }
.form__alt { margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--text-soft); }

.spinner { display: none; width: 1rem; height: 1rem; border: 1.5px solid rgba(244, 240, 232, .35); border-top-color: var(--ivory); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-left: 2px solid var(--brown); background: var(--ivory); display: grid; gap: 1rem; justify-items: start; }
.form-status[hidden] { display: none; }
.form-status--ok { border-color: #5d7a5a; background: #eef2ea; }
.form-status--error { border-color: #9c4a3c; background: #fbf3f1; }
.form-status p { margin: 0; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; color: var(--charcoal); }
.legal { max-width: 820px; }

/* ---------- Impresión ---------- */
@media print {
  .site-header, .wa-float, .cta, .site-footer { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero: datos y credencial ---------- */
.hero__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__facts li { display: grid; gap: .2rem; }
.hero__facts strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1; color: var(--charcoal); }
.hero__facts span { font-size: var(--fs-xs); color: var(--text-soft); line-height: 1.35; }
.hero__img, .profile-hero__img { object-position: center 18%; }
.hero__badge { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: grid; gap: .15rem; padding: .8rem 1.1rem; background: rgba(244, 240, 232, .94); }
.hero__badge-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; color: var(--charcoal); }
.hero__badge-role { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); }
.hero__media .ph__label { left: auto; right: 1rem; }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--charcoal); color: var(--ivory); }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.trust__item { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 0; font-size: var(--fs-sm); line-height: 1.35; }
.trust__item .icon { color: var(--sand); width: 1.25rem; height: 1.25rem; }
@media (min-width: 900px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .trust__item { padding: 1.35rem 1.5rem; border-left: 1px solid rgba(244, 240, 232, .12); }
  .trust__item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Introducción en dos columnas ---------- */
.intro { display: grid; gap: 1.5rem; }
.intro .h2, .intro .quote { margin-bottom: 0; }
.intro__sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.intro__sign .link-arrow { margin-top: 0; }
.intro__signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--brown); }
@media (min-width: 900px) { .intro { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }

/* ---------- Valores con imagen ---------- */
.split--values { align-items: start; }
@media (min-width: 1000px) { .values--two { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Ajustes móviles ---------- */
@media (max-width: 599px) {
  .logo__name { font-size: 1.1rem; letter-spacing: .2em; white-space: nowrap; }
  .logo__tag { font-size: .5rem; letter-spacing: .22em; }
  .hero__facts { gap: .75rem; }
  .hero__facts strong { font-size: 1.2rem; }
}
@media (max-width: 899px) {
  .hero__media { order: -1; aspect-ratio: 1 / 1; }
  .hero__grid { gap: 1.75rem; }
  .hero { padding-top: 1rem; }
  .profile-hero__media { aspect-ratio: 1 / 1; }
}
