/* Veralta Partners — identidad: navy medianoche, marfil cálido, un solo acento cobre. */
:root {
  --navy: #101C33;
  --navy-2: #182640;
  --ivory: #F7F3EC;
  --sand: #EFE7DA;
  --paper: #FBF9F5;
  --copper: #B4713D;
  --ink: #101C33;
  --ink-soft: #4A5468;
  --line: rgba(16, 28, 51, .14);
  --line-light: rgba(247, 243, 236, .16);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--navy); color: var(--ivory); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--ivory); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Tipografía */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; margin: 0; color: inherit; }
h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 1.02; }
h1 em { font-style: italic; font-weight: 400; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.12; }
h3 { font-size: 26px; line-height: 1.2; }
p { margin: 0 0 1.1em; }

.eyebrow {
  font: 600 11.5px/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 28px;
}
.label {
  display: block;
  font: 600 11px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.muted { color: var(--ink-soft); }
.strong { font-weight: 600; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--navy);
  transition: background .3s, color .3s, border-color .3s;
  cursor: pointer;
}
.btn-solid { background: var(--navy); color: var(--ivory); }
.btn-solid:hover { background: transparent; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* Logo: la V monograma reemplaza la primera letra del nombre */
.logo { display: inline-grid; grid-template-columns: auto auto; align-items: end; text-decoration: none; color: var(--navy); }
.logo-v { width: 30px; height: 33px; margin-right: 1px; margin-bottom: 1px; }
.logo-word { font: 500 27px/1 var(--serif); letter-spacing: .2em; padding-bottom: 1px; }
.logo-sub {
  grid-column: 1 / -1; justify-self: center;
  font: 600 8.5px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase;
  margin-top: 7px; padding-left: .5em;
  display: flex; align-items: center; gap: 10px;
}
.logo-sub::before, .logo-sub::after { content: ""; width: 18px; height: 1px; background: var(--copper); }
.logo-light { color: var(--ivory); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .96);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  position: relative; transition: color .25s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover { color: var(--navy); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 11vw, 150px) 0 clamp(88px, 12vw, 160px); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 80px; align-items: end; position: relative; z-index: 1; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 34px 0 44px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { max-width: 330px; justify-self: end; padding-bottom: 6px; }
.hero-note .rule { display: block; width: 64px; height: 1px; background: var(--copper); margin-bottom: 26px; }
.note-title { font: 500 23px/1.3 var(--serif); color: var(--navy); }
.hero-note p:last-child { font-size: 14px; color: var(--ink-soft); }
.hero-mark { position: absolute; right: -4vw; top: -2vw; width: min(46vw, 620px); color: var(--navy); opacity: .045; pointer-events: none; }
.hero-mark svg { width: 100%; height: auto; aspect-ratio: 48 / 52; }

/* Secciones */
.section { padding: var(--section) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 88px); }
.section-lede { font-size: 17px; margin-top: 26px; max-width: 620px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }

.problem { background: var(--sand); }
.problem p { color: var(--ink-soft); }
.problem .strong { color: var(--navy); margin-top: 32px; }
.gaps { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.gaps li { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.gaps strong { display: block; font: 500 22px/1.3 var(--serif); color: var(--navy); margin-bottom: 6px; }

/* Manifiesto */
.manifesto { background: var(--navy); color: var(--ivory); text-align: center; }
.manifesto .eyebrow { margin-bottom: 40px; }
blockquote {
  margin: 0 auto; font: 400 clamp(28px, 3.6vw, 46px)/1.28 var(--serif);
  font-style: italic; color: var(--ivory);
}
.etymology { margin-top: 48px; font-size: 14px; letter-spacing: .04em; color: rgba(247, 243, 236, .62); }
.etymology em { font-family: var(--serif); font-size: 19px; color: var(--ivory); }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.card { padding: 48px 40px 20px 0; border-right: 1px solid var(--line); }
.card + .card { padding-left: 40px; }
.card:last-child { border-right: 0; padding-right: 0; }
.card .num { display: block; font: 500 15px/1 var(--serif); color: var(--copper); letter-spacing: .12em; margin-bottom: 44px; }
.card h3 { margin-bottom: 18px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* Método */
.method { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 36px 32px 8px 0; border-top: 1px solid var(--navy); position: relative; }
.steps li + li { padding-left: 32px; }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--ivory); border: 1px solid var(--navy); transform: rotate(45deg); }
.steps li + li::before { left: 32px; }
.step-n { display: block; font: 500 44px/1 var(--serif); color: var(--navy); opacity: .22; margin-bottom: 26px; }
.steps h3 { margin-bottom: 14px; }
.steps p { color: var(--ink-soft); font-size: 15px; }

/* Compromisos */
.promises { margin: 0; border-top: 1px solid var(--line); }
.promises div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.promises dt { font: 500 23px/1.3 var(--serif); margin-bottom: 8px; }
.promises dd { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Socios */
.partners { background: var(--navy); color: var(--ivory); }
.partners .section-lede { color: rgba(247, 243, 236, .7); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.people li { border-top: 1px solid var(--line-light); padding-top: 32px; }
.monogram {
  display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 28px;
  border: 1px solid rgba(180, 113, 61, .7); outline: 1px solid var(--line-light); outline-offset: 6px;
  font: 500 28px/1 var(--serif); letter-spacing: .1em; color: var(--ivory);
}
.people h3 { font-size: 25px; margin-bottom: 6px; }
.people p { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 243, 236, .6); }

/* Contacto */
.contact p { color: var(--ink-soft); }
.contact h2 { margin-bottom: 28px; }
.direct { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.direct a { font: 500 26px/1.2 var(--serif); color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--copper); overflow-wrap: anywhere; }
.form { background: var(--paper); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(16, 28, 51, .3);
  padding: 10px 0; border-radius: 0; appearance: none; -webkit-appearance: none;
  transition: border-color .25s;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--copper); }
.field.invalid input { border-bottom-color: #9B3B2E; }
.form .btn { width: 100%; margin-top: 10px; }
.form-note { font-size: 13px; margin: 16px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(247, 243, 236, .72); padding: 88px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer-desc { margin-top: 22px; font-size: 13px; letter-spacing: .04em; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .label { color: var(--copper); }
.footer-col a { text-decoration: none; transition: color .25s; }
.footer-col a:hover { color: var(--ivory); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 32px; padding-top: 28px; font-size: 12.5px; color: rgba(247, 243, 236, .5); }
.footer-legal p { margin: 0; }

/* Animación de entrada discreta */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .nav-toggle {
    display: grid; gap: 7px; place-content: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--navy); transition: transform .3s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory);
    max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(16, 28, 51, .25);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 22px; min-height: 52px; }

  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; }
  .hero-note { justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .card, .card + .card { padding: 36px 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .card .num { margin-bottom: 22px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li:nth-child(odd) { padding-left: 0; }
  .steps li:nth-child(odd)::before { left: 0; }
  .people { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .header-inner { height: 72px; }
  html { scroll-padding-top: 76px; }
  .logo-v { width: 25px; height: 28px; }
  .logo-word { font-size: 23px; }
  .lede { font-size: 16.5px; }
  .actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; }
  .steps li + li::before { left: 0; }
  .people { gap: 36px 20px; }
  .monogram { width: 68px; height: 68px; font-size: 22px; }
  .people h3 { font-size: 21px; }
  .people p { font-size: 10.5px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-mark { width: 80vw; right: -20vw; top: 2vw; }
}
