/* ==========================================================================
   NEWPROTECT — Sistema de diseño · "Quiet Luxury"
   Tokens → base → componentes → secciones por página
   Retícula: 12 col (≥1024) · 8 col (tablet) · 4 col (móvil). Espaciado múltiplos de 4/8.
   ========================================================================== */

/* 1 · TOKENS ------------------------------------------------------------- */
:root {
  --ink: #050B18;          /* azul negro corporativo */
  --carbon: #171717;
  --anthracite: #303030;
  --paper: #F7F6F2;        /* blanco cálido */
  --white: #FFFFFF;
  --stone: #A39F99;
  --mineral: #D8D3CB;
  --warm: #E8E5DF;
  --muted: #66635E;        /* texto secundario (AA sobre paper) */
  --line: #DDDAD4;
  --line-dark: rgba(247, 246, 242, .18);

  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;

  /* escala fluida (Master Brief §11) */
  --fs-hero: clamp(2.5rem, 1.55rem + 3.9vw, 4.75rem);     /* 40 → 76 */
  --fs-h1: clamp(2.125rem, 1.35rem + 3vw, 3.875rem);      /* 34 → 62 */
  --fs-h2: clamp(1.75rem, 1.25rem + 1.9vw, 3rem);         /* 28 → 48 */
  --fs-h3: clamp(1.3125rem, 1.1rem + .8vw, 1.875rem);     /* 21 → 30 */
  --fs-lead: clamp(1.0625rem, .98rem + .35vw, 1.1875rem); /* 17 → 19 */
  --fs-body: clamp(.9375rem, .9rem + .15vw, 1.0625rem);   /* 15 → 17 */
  --fs-nav: .75rem;
  --fs-label: .6875rem;

  --pad: clamp(20px, 4.2vw, 72px);       /* margen lateral */
  --gap: clamp(16px, 2vw, 32px);         /* gutter */
  --section: clamp(72px, 10.5vw, 152px);
  --header-h: 76px;
  --maxw: 1600px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 200ms;
  --t-menu: 320ms;
  --t-reveal: 700ms;
}
@media (max-width: 1023px) { :root { --header-h: 64px; } }

/* 2 · BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--carbon);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 300; letter-spacing: -.012em; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--ink); color: var(--paper); }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 400; background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: .8125rem; transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3 · LAYOUT ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--flush-top { padding-top: 0; }
.bg-warm { background: var(--warm); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink .muted, .bg-ink .lead { color: rgba(247, 246, 242, .72); }
.span-all { grid-column: 1 / -1; }

/* 4 · TIPOGRAFÍA --------------------------------------------------------- */
.label { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; line-height: 1.4; }
.muted { color: var(--muted); }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--anthracite); max-width: 36em; }
.display { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -.022em; font-weight: 300; }
.h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.02em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -.005em; }
.serif.h2, .serif.h1 { line-height: 1.04; }
.prose p + p { margin-top: 1.1em; }
.prose p { max-width: 34em; color: var(--anthracite); }
.bg-ink .prose p { color: rgba(247, 246, 242, .78); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }

/* 5 · BOTONES Y ENLACES --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 30px; border-radius: 0;
  font-size: var(--fs-nav); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; line-height: 1.2; text-align: center;
  border: 1px solid transparent;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 22px; letter-spacing: .14em; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--anthracite); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn--ghost:hover, .bg-ink .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; }
@media (max-width: 559px) { .btn-row .btn { width: 100%; } }

.link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--fs-nav); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding-block: 8px; line-height: 1.3;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: currentColor;
  transition: text-decoration-color var(--t-fast) var(--ease);
}
/* flecha pequeña y fina */
.link::after {
  content: ""; flex: none; width: 22px; height: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9'%3E%3Cpath d='M0 4.5h21M17 .5l4 4-4 4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 9'%3E%3Cpath d='M0 4.5h21M17 .5l4 4-4 4' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
.link:hover { text-decoration-color: transparent; }
.link:hover::after { transform: translateX(6px); }
.link-btn { font-size: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* 6 · IMÁGENES ------------------------------------------------------------ */
.ph { position: relative; overflow: hidden; background: var(--mineral); margin: 0; }
.ph > img { width: 100%; height: 100%; object-fit: cover; }
.ph--zoom > img { transition: transform 1100ms var(--ease); }
a:hover .ph--zoom > img, .ph--zoom:hover > img { transform: scale(1.035); }
.r-169 { aspect-ratio: 16 / 9; } .r-43 { aspect-ratio: 4 / 3; } .r-54 { aspect-ratio: 5 / 4; }
.r-45 { aspect-ratio: 4 / 5; } .r-34 { aspect-ratio: 3 / 4; } .r-11 { aspect-ratio: 1; } .r-219 { aspect-ratio: 21 / 9; }
.caption { font-size: .8125rem; color: var(--muted); line-height: 1.5; margin-top: 14px; max-width: 46em; }
.bg-ink .caption { color: rgba(247, 246, 242, .6); }

/* reveal discreto (350–600 ms) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { opacity: 0; transition: opacity 900ms var(--ease); }
.js .reveal-img.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; }
}

/* 7 · HEADER ------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color var(--t-menu) var(--ease), color var(--t-menu) var(--ease), border-color var(--t-menu) var(--ease); }
.site-header__bar { height: 100%; display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); }
.brand { display: block; flex: none; width: clamp(138px, 12vw, 176px); }
.brand__img { width: 100%; height: auto; }
.brand__img--over { display: none; }
.site-header[data-mode="over"] { background: transparent; color: var(--paper); border-color: transparent; }
.site-header[data-mode="over"] .brand__img--over { display: block; }
.site-header[data-mode="over"] .brand__img--solid { display: none; }
.site-header[data-mode="over"].is-scrolled, .site-header[data-mode="over"].is-open { background: var(--paper); color: var(--ink); border-color: var(--line); }
.site-header[data-mode="over"].is-scrolled .brand__img--over, .site-header[data-mode="over"].is-open .brand__img--over { display: none; }
.site-header[data-mode="over"].is-scrolled .brand__img--solid, .site-header[data-mode="over"].is-open .brand__img--solid { display: block; }

.nav { margin-inline: auto 0; }
.nav__list { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px); height: var(--header-h); }
.nav__item { height: 100%; display: flex; align-items: center; }
.nav__link { position: relative; font-size: var(--fs-nav); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 8px 0; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast) var(--ease); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link[data-current="true"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); margin-left: auto; }
.nav + .site-header__actions { margin-left: 0; }
.site-header[data-mode="over"]:not(.is-scrolled):not(.is-open) .site-header__cta { background: var(--paper); color: var(--ink); }
.menu-toggle { display: none; align-items: center; gap: 12px; min-height: 44px; font-size: var(--fs-nav); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.menu-toggle__bars, .mnav__x { position: relative; width: 22px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.menu-toggle__bars::before { top: 0; } .menu-toggle__bars::after { bottom: 0; }

@media (max-width: 1099px) {
  .nav, .nav__link--contact, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .nav__link--contact { display: none; } }

/* mega menú */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding-block: clamp(32px, 4vw, 56px); opacity: 0; transform: translateY(-8px); transition: opacity var(--t-menu) var(--ease), transform var(--t-menu) var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.mega__col--primary { grid-column: 1 / 5; } .mega__col--secondary { grid-column: 5 / 8; }
.mega__label { font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 500; }
.mega__col--primary a { font-size: 1.375rem; font-weight: 300; line-height: 1; display: inline-block; padding-block: 9px; letter-spacing: -.01em; }
.mega__col--secondary a { font-size: .9375rem; display: inline-block; padding-block: 8px; color: var(--anthracite); }
.mega__col a { border-bottom: 1px solid transparent; transition: border-color var(--t-fast) var(--ease); }
.mega__col a:hover, .mega__col a[aria-current] { border-bottom-color: currentColor; }
.mega__feature { grid-column: 9 / 13; display: grid; grid-template-columns: 1fr; gap: 16px; }
.mega__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mineral); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--ease); }
.mega__feature:hover .mega__img img { transform: scale(1.04); }
.mega__cap { display: grid; gap: 8px; }
.mega__title { font-size: 1.125rem; font-weight: 300; line-height: 1.3; }
.mega-scrim { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(5, 11, 24, .28); z-index: -1; opacity: 0; transition: opacity var(--t-menu) var(--ease); }
.mega-scrim.is-open { opacity: 1; }
.site-header { overflow: visible; }

/* menú móvil: pantalla completa */
.mnav { position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; opacity: 0; transform: translateY(-12px); transition: opacity var(--t-menu) var(--ease), transform var(--t-menu) var(--ease); overflow-y: auto; }
.mnav.is-open { opacity: 1; transform: none; }
.mnav__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; border-bottom: 1px solid var(--line-dark); max-width: none; }
.mnav__close { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--fs-nav); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.mnav__x::before, .mnav__x::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.mnav__x::after { transform: rotate(-45deg); }
.mnav__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 24px 40px; max-width: none; }
.mnav__item { border-bottom: 1px solid var(--line-dark); }
.mnav__top { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 64px; font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem); font-weight: 300; letter-spacing: -.01em; text-align: left; }
.mnav__sign { position: relative; width: 14px; height: 14px; flex: none; }
.mnav__sign::before, .mnav__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform var(--t-fast) var(--ease); }
.mnav__sign::after { transform: rotate(90deg); }
.mnav__toggle[aria-expanded="true"] .mnav__sign::after { transform: rotate(0); }
.mnav__sub { padding: 0 0 20px; display: grid; gap: 2px; }
.mnav__sub a { display: block; padding: 10px 0; font-size: 1rem; color: rgba(247, 246, 242, .78); }
.mnav__foot { display: grid; gap: 28px; }
.mnav__foot .btn { width: 100%; }
.mnav__secondary { display: grid; gap: 4px; }
.mnav__secondary a { display: inline-block; padding: 8px 0; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 246, 242, .78); }
@media (min-width: 1100px) { .mnav { display: none !important; } }

/* 8 · FOOTER -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 104px) 32px; border-top: 1px solid var(--line-dark); }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px var(--gap); }
.site-footer__brand { grid-column: 1 / -1; max-width: 26em; }
.site-footer__logo { width: 176px; margin-bottom: 28px; }
.site-footer__brand p { color: rgba(247, 246, 242, .82); font-size: .9375rem; }
.site-footer__quiet { margin-top: 10px; color: rgba(247, 246, 242, .55) !important; }
.site-footer__col .label { color: var(--stone); margin-bottom: 20px; font-weight: 500; }
.site-footer__col li a { display: inline-block; padding-block: 6px; font-size: .9375rem; color: rgba(247, 246, 242, .88); transition: color var(--t-fast); }
.site-footer__col li a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.site-footer__legal { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: .8125rem; color: rgba(247, 246, 242, .62); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.site-footer__legal a:hover, .site-footer__legal .link-btn:hover { color: var(--white); }
.site-footer__note { margin-top: 20px; font-size: .75rem; color: rgba(247, 246, 242, .4); max-width: 60em; line-height: 1.6; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.7fr repeat(4, 1fr); } .site-footer__brand { grid-column: auto; } }

/* cookies */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); padding: 16px var(--pad); display: grid; gap: 14px 32px; grid-template-columns: 1fr; align-items: center; }
.cookie__title { display: none; }
.cookie__text { font-size: .8125rem; line-height: 1.5; color: var(--anthracite); max-width: 60em; }
.cookie__panel { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .8125rem; }
.cookie__opt { display: flex; gap: 10px; align-items: center; }
.cookie__opt input { accent-color: var(--ink); width: 16px; height: 16px; }
.cookie__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cookie__actions .btn { padding: 0 14px; min-height: 40px; font-size: .6875rem; letter-spacing: .12em; }
.cookie__actions .btn:hover { background: var(--ink); color: var(--paper); }
@media (min-width: 900px) { .cookie { grid-template-columns: 1fr auto; } .cookie__panel { grid-column: 1; } .cookie__actions { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(3, auto); } }

/* 9 · HERO (inicio y B2B) ------------------------------------------------- */
.hero { position: relative; color: var(--paper); height: clamp(560px, 88vh, 940px); min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; background: var(--anthracite); }
.hero > .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(5, 11, 24, var(--veil, .3)); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 6vw, 88px); }
.hero__title { max-width: 12.5ch; margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero__text { max-width: 31em; font-size: var(--fs-lead); color: rgba(247, 246, 242, .92); margin-bottom: clamp(28px, 3vw, 40px); line-height: 1.6; }
.hero__meta { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(40px, 6vw, 88px); text-align: right; font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 246, 242, .85); display: none; }
@media (min-width: 1100px) { .hero__meta { display: block; } }
.hero .btn--primary { background: var(--paper); color: var(--ink); }
.hero .btn--primary:hover { background: var(--white); }
.hero .btn--ghost { color: var(--paper); }
@media (max-width: 719px) {
  .hero { height: min(86svh, 780px); }
  .hero--home > .hero__img { object-position: 66% center; }
}

/* 10 · INICIO ------------------------------------------------------------ */
.story { align-items: start; row-gap: 48px; }
.story__media { grid-column: 1 / -1; }
.story__text { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .story { align-items: end; }
  .story__media { grid-column: 1 / 6; }
  .story__text { grid-column: 7 / 13; padding-bottom: 8px; }
}
.numeral { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px); padding-bottom: 28px; margin-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--line); }
.numeral__n { font-family: var(--serif); font-weight: 300; font-size: clamp(5.5rem, 4rem + 7vw, 10rem); line-height: .78; letter-spacing: -.04em; color: var(--ink); display: inline-flex; }
.numeral__n sup { font-size: .32em; line-height: 1; margin-top: .06em; margin-left: .04em; font-weight: 300; }
.numeral__c { font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.7; padding-bottom: 4px; }
.story .h2 { margin-bottom: clamp(20px, 2.4vw, 32px); }
.story .link { margin-top: clamp(28px, 3vw, 40px); }

.sec-head { display: grid; gap: 20px var(--gap); margin-bottom: clamp(40px, 5.5vw, 88px); align-items: end; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .sec-head { grid-template-columns: repeat(12, 1fr); } .sec-head > :first-child { grid-column: 1 / 8; } .sec-head > :last-child:not(:first-child) { grid-column: 9 / 13; } }
.sec-head .lead { font-size: 1rem; }

.universe { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(44px, 6vw, 96px) var(--gap); }
.uni { display: block; }
.uni__cap { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; margin-top: 20px; align-items: baseline; }
.uni__n { font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); }
.uni__name { font-size: var(--fs-h3); font-weight: 300; line-height: 1.1; }
.uni__txt { grid-column: 2; color: var(--muted); font-size: .9375rem; margin-top: 8px; max-width: 28em; }
.uni .link { grid-column: 2; margin-top: 12px; justify-self: start; }
.uni:hover .link { text-decoration-color: transparent; }
.uni:hover .link::after { transform: translateX(6px); }
.universe > * { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .universe { grid-template-columns: repeat(8, 1fr); }
  .universe .uni--a { grid-column: 1 / 6; } .universe .uni--b { grid-column: 6 / 9; margin-top: 72px; }
  .universe .uni--c { grid-column: 1 / 4; } .universe .uni--d { grid-column: 4 / 9; margin-top: 48px; }
}
@media (min-width: 1024px) {
  .universe { grid-template-columns: repeat(12, 1fr); }
  .universe .uni--a { grid-column: 1 / 8; } .universe .uni--b { grid-column: 9 / 13; margin-top: clamp(72px, 9vw, 144px); }
  .universe .uni--c { grid-column: 2 / 6; } .universe .uni--d { grid-column: 7 / 13; margin-top: clamp(32px, 5vw, 80px); }
}

.demo { align-items: center; row-gap: 40px; }
.demo__media { grid-column: 1 / -1; } .demo__text { grid-column: 1 / -1; }
@media (min-width: 1024px) { .demo__media { grid-column: 1 / 8; } .demo__text { grid-column: 9 / 13; } }
.demo .h2 { margin-bottom: 24px; } .demo .link { margin-top: 32px; }

.collections { display: grid; grid-template-columns: 1fr; }
.coll { padding: clamp(32px, 5vw, 88px) var(--pad); display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 48px); }
.coll--essential { background: var(--white); color: var(--carbon); }
.coll--signature { background: var(--ink); color: var(--paper); }
.coll__top { display: flex; justify-content: space-between; align-items: baseline; }
.coll__top .label { color: var(--muted); } .coll--signature .coll__top .label { color: var(--stone); }
.coll__name { font-size: var(--fs-h2); font-weight: 300; line-height: 1.05; }
.coll__name b { font-weight: 300; font-style: normal; }
.coll__tag { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); margin-top: 10px; opacity: .85; }
.coll__txt { max-width: 30em; color: var(--anthracite); } .coll--signature .coll__txt { color: rgba(247, 246, 242, .78); }
@media (min-width: 900px) { .collections { grid-template-columns: 1fr 1fr; } .coll--essential { padding-left: var(--pad); } }

.pro { position: relative; color: var(--paper); min-height: clamp(540px, 80vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--anthracite); }
.pro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pro::after { content: ""; position: absolute; inset: 0; background: rgba(5, 11, 24, .34); }
.pro__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 6vw, 88px); padding-top: 120px; }
.pro__inner .h2 { max-width: 14ch; margin-bottom: 20px; }
.pro__inner p.lead { color: rgba(247, 246, 242, .92); margin-bottom: 32px; }
@media (max-width: 719px) { .pro > img { object-position: 60% center; } }

.materials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px var(--gap); align-items: start; }
.mat__cap { margin-top: 16px; display: grid; gap: 4px; }
.mat__name { font-size: 1.375rem; font-weight: 300; }
.mat__desc { font-size: .875rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) {
  .materials { grid-template-columns: repeat(4, 1fr); }
  .mat:nth-child(2) { margin-top: 64px; } .mat:nth-child(3) { margin-top: 24px; } .mat:nth-child(4) { margin-top: 96px; }
}
@media (max-width: 899px) { .mat:nth-child(even) { margin-top: 40px; } }

.journal { display: grid; grid-template-columns: 1fr; gap: 56px var(--gap); }
.post { display: block; } .post__cat { color: var(--muted); display: block; margin: 20px 0 10px; }
.post__title { font-size: var(--fs-h3); font-weight: 300; line-height: 1.2; margin-bottom: 12px; }
.post--lead .post__title { font-size: var(--fs-h2); }
.post__txt { color: var(--muted); font-size: .9375rem; max-width: 36em; margin-bottom: 14px; }
.post:hover .link { text-decoration-color: transparent; } .post:hover .link::after { transform: translateX(6px); }
.journal__side { display: grid; gap: 48px; align-content: start; }
@media (min-width: 900px) { .journal { grid-template-columns: repeat(12, 1fr); } .post--lead { grid-column: 1 / 8; } .journal__side { grid-column: 9 / 13; } }
.journal__side .post { display: grid; grid-template-columns: 1fr; }

.cta-final { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 11vw, 168px); }
.cta-final__grid { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; align-items: end; }
.cta-final .display { font-size: var(--fs-h1); max-width: 14ch; }
.cta-final p { color: rgba(247, 246, 242, .78); max-width: 28em; margin-bottom: 32px; }
.cta-final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
@media (min-width: 1024px) { .cta-final__grid { grid-template-columns: repeat(12, 1fr); } .cta-final__grid > :first-child { grid-column: 1 / 8; } .cta-final__grid > :last-child { grid-column: 9 / 13; } }
@media (max-width: 559px) { .cta-final__actions .btn { width: 100%; } }

/* 11 · PÁGINAS INTERIORES ------------------------------------------------- */
.page-top { padding-top: calc(var(--header-h) + clamp(24px, 3vw, 40px)); }
.crumbs { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(40px, 6vw, 96px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.crumbs li + li::before { content: "/"; margin-right: 12px; opacity: .5; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.page-hero { display: grid; gap: 32px var(--gap); grid-template-columns: 1fr; align-items: end; padding-bottom: clamp(48px, 6vw, 96px); }
.page-hero .h1 { max-width: 12ch; }
.page-hero__side { display: grid; gap: 28px; }
@media (min-width: 1024px) { .page-hero { grid-template-columns: repeat(12, 1fr); } .page-hero > :first-child { grid-column: 1 / 8; } .page-hero__side { grid-column: 9 / 13; padding-bottom: 8px; } }
.wide { position: relative; height: clamp(300px, 50vw, 780px); overflow: hidden; background: var(--mineral); }
.wide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 719px) { .wide { height: 74vw; min-height: 300px; } .wide img { object-position: 50% center; } }

.intro-statement { font-size: var(--fs-h3); font-weight: 300; line-height: 1.4; letter-spacing: -.01em; max-width: 30em; }
.intro-statement em { font-family: var(--serif); font-style: italic; font-size: 1.08em; }

/* tipologías */
.typo { display: grid; gap: 32px var(--gap); grid-template-columns: 1fr; }
.typo__list { border-top: 1px solid var(--line); }
.typo__btn { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; width: 100%; text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); min-height: 64px; color: var(--muted); transition: color var(--t-fast) var(--ease), padding var(--t-fast) var(--ease); }
.typo__btn .n { font-size: var(--fs-label); letter-spacing: .2em; }
.typo__btn .t { font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem); font-weight: 300; color: inherit; line-height: 1.2; }
.typo__btn .a { width: 18px; height: 1px; background: currentColor; opacity: 0; transition: opacity var(--t-fast), width var(--t-fast); }
.typo__btn:hover, .typo__btn[aria-selected="true"] { color: var(--ink); }
.typo__btn[aria-selected="true"] .a { opacity: 1; width: 32px; }
.typo__stage { position: relative; }
.typo__stage .ph { aspect-ratio: 4 / 3; }
.typo__stage img { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease); }
.typo__stage img.is-active { opacity: 1; }
.typo__note { margin-top: 14px; color: var(--muted); font-size: .875rem; min-height: 3em; }
@media (min-width: 1024px) {
  .typo { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .typo__list { grid-column: 1 / 6; } .typo__stage { grid-column: 7 / 13; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* conocimiento */
.know { display: grid; gap: 48px var(--gap); grid-template-columns: 1fr; }
.know__media { position: relative; }
.know__list > li { padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 8px 12px; }
.know__list > li:last-child { border-bottom: 1px solid var(--line); }
.know__list .n { font-size: var(--fs-label); letter-spacing: .2em; color: var(--muted); padding-top: 8px; }
.know__list h3 { font-size: var(--fs-h3); margin-bottom: 10px; } .know__list p { color: var(--anthracite); max-width: 34em; grid-column: 2; }
@media (min-width: 1024px) {
  .know { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .know__media { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 24px); } .know__list { grid-column: 7 / 13; }
}

/* compatibilidad (oscuro) */
.compat { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
.compat__list { border-top: 1px solid var(--line-dark); }
.compat__list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-dark); transition: padding var(--t-fast) var(--ease); }
.compat__list .t { font-size: var(--fs-h3); font-weight: 300; line-height: 1.15; }
.compat__list .d { grid-column: 1; color: rgba(247, 246, 242, .6); font-size: .875rem; }
.compat__list .a { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 1px; background: currentColor; transition: width var(--t-fast); }
.compat__list a:hover { padding-left: 12px; } .compat__list a:hover .a { width: 40px; }
.compat__note { margin-top: 28px; font-size: .875rem; color: rgba(247, 246, 242, .7); max-width: 34em; }
@media (min-width: 1024px) { .compat { grid-template-columns: repeat(12, 1fr); } .compat > :first-child { grid-column: 1 / 5; } .compat > :last-child { grid-column: 6 / 13; } }

/* pasos (líneas finas, sin tarjetas) */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.step .n { font-family: var(--serif); font-size: 2.5rem; line-height: 1; font-weight: 300; }
.step h3 { font-size: 1.375rem; } .step p { color: var(--muted); font-size: .9375rem; max-width: 26em; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); border-bottom: 0; } .step { border-bottom: 0; padding: 28px 28px 8px 0; } .step + .step { padding-left: 28px; border-left: 1px solid var(--line); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; min-height: 64px; font-size: clamp(1.0625rem, .95rem + .5vw, 1.3125rem); font-weight: 300; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq .sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq .sign::before, .faq .sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform var(--t-fast) var(--ease); }
.faq .sign::after { transform: rotate(90deg); }
.faq details[open] .sign::after { transform: rotate(0); }
.faq .ans { padding: 0 0 28px; max-width: 40em; color: var(--anthracite); }
.faq-wrap { display: grid; gap: 32px var(--gap); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: repeat(12, 1fr); } .faq-wrap > :first-child { grid-column: 1 / 5; } .faq-wrap > :last-child { grid-column: 6 / 13; } }

/* 12 · PROFESIONALES ------------------------------------------------------ */
.split { display: grid; gap: 36px var(--gap); grid-template-columns: 1fr; align-items: center; }
.split__media, .split__text { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(12, 1fr); }
  .split__media { grid-column: 1 / 7; } .split__text { grid-column: 8 / 13; }
  .split--rev .split__media { grid-column: 7 / 13; order: 2; } .split--rev .split__text { grid-column: 1 / 6; order: 1; }
}
.split__text .h2 { margin-bottom: 22px; } .split__text .lead { margin-bottom: 28px; }
.rows { border-top: 1px solid var(--line); margin-top: 8px; }
.rows li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; display: grid; grid-template-columns: 36px 1fr; color: var(--anthracite); }
.rows li::before { content: counter(r, decimal-leading-zero); counter-increment: r; font-size: var(--fs-label); letter-spacing: .18em; color: var(--muted); padding-top: 4px; }
.rows { counter-reset: r; }
.bg-ink .rows, .bg-ink .rows li { border-color: var(--line-dark); } .bg-ink .rows li { color: rgba(247, 246, 242, .9); } .bg-ink .rows li::before { color: var(--stone); }
.fineprint { margin-top: 20px; font-size: .8125rem; color: var(--muted); max-width: 36em; }

.moments { display: grid; gap: 40px var(--gap); grid-template-columns: 1fr; }
.moments__list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); counter-reset: m; }
.moments__list li { padding: 22px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 56px 1fr; align-items: baseline; font-size: clamp(1.1875rem, 1rem + .8vw, 1.625rem); font-weight: 300; }
.moments__list li::before { content: counter(m, decimal-leading-zero); counter-increment: m; font-size: var(--fs-label); letter-spacing: .2em; color: var(--stone); }
@media (min-width: 1024px) { .moments { grid-template-columns: repeat(12, 1fr); } .moments > :first-child { grid-column: 1 / 5; } .moments > :last-child { grid-column: 6 / 13; } }
@media (min-width: 720px) and (max-width: 1023px) { .moments__list { grid-template-columns: 1fr 1fr; column-gap: var(--gap); } }

.offer { display: grid; gap: 36px var(--gap); grid-template-columns: 1fr; }
.offer__list { border-top: 1px solid var(--line); }
.offer__list > div { display: grid; gap: 6px 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.offer__list dt { font-size: 1.3125rem; font-weight: 300; } .offer__list dd { color: var(--muted); max-width: 34em; font-size: .9688rem; }
@media (min-width: 720px) { .offer__list > div { grid-template-columns: 1fr 1.4fr; align-items: baseline; } }
@media (min-width: 1024px) { .offer { grid-template-columns: repeat(12, 1fr); } .offer > :first-child { grid-column: 1 / 5; } .offer__list { grid-column: 6 / 13; } }

/* 13 · FORMULARIOS -------------------------------------------------------- */
.form-wrap { display: grid; gap: 48px var(--gap); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .form-wrap { grid-template-columns: repeat(12, 1fr); } .form-wrap__intro { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } .form { grid-column: 6 / 13; } }
.form-wrap__intro .h2 { margin-bottom: 20px; } .form-wrap__intro .lead { font-size: 1rem; margin-bottom: 28px; }
.form-wrap__intro .contact-alt { border-top: 1px solid var(--line); padding-top: 20px; font-size: .9375rem; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr; gap: 28px var(--gap); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field > label, .field > legend, .legend { font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--anthracite); padding: 0; }
.field .opt { color: var(--muted); letter-spacing: .1em; text-transform: none; font-weight: 400; font-size: .75rem; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 14px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--stone); border-radius: 0; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color var(--t-fast); appearance: none; -webkit-appearance: none; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none' stroke='%23050B18' stroke-width='1'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field[data-invalid="true"] .input, .field[data-invalid="true"] .select, .field[data-invalid="true"] .textarea { border-bottom-color: #8A2B20; }
.error { font-size: .8125rem; color: #8A2B20; display: none; }
.field[data-invalid="true"] .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 6px; }
.choice { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; min-height: 40px; cursor: pointer; }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.consent { display: grid; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.consent .choice { align-items: flex-start; font-size: .875rem; line-height: 1.5; color: var(--anthracite); } .consent .choice input { margin-top: 3px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.file { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--stone); font-size: .9375rem; color: var(--muted); }
.file input { font: inherit; max-width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 20px 24px; border: 1px solid var(--ink); font-size: .9375rem; display: none; }
.notice.is-visible { display: block; }
.notice strong { font-weight: 600; display: block; margin-bottom: 4px; }
.form-actions { display: grid; gap: 16px; align-content: start; }
.form-actions .small { font-size: .8125rem; color: var(--muted); max-width: 40em; }

/* 14 · 404 / SISTEMA ------------------------------------------------------ */
.system { min-height: 100vh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 48px) 96px; }
.system .display { font-size: var(--fs-h1); max-width: 14ch; margin-bottom: 20px; }
.system p { max-width: 32em; color: var(--muted); margin-bottom: 32px; }
