:root {
  --petrol: #0B2A30;
  --petrol-deep: #081F24;
  --bone: #F4EFE6;
  --sand: #EAE2D4;
  --ink: #15282C;
  --ink-2: #4E5E60;
  --copper: #9C6A3C;        /* numerales grandes sobre claro */
  --copper-deep: #8A5A30;   /* texto chico sobre claro */
  --copper-light: #C89B6D;  /* acentos sobre petróleo */
  --mist: #A9BDBF;
  --haze: #DCD6CB;
  --rule-light: rgba(21, 40, 44, .16);
  --rule-dark: rgba(169, 189, 191, .22);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(22px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
p, blockquote, dl, dd, ol, ul { margin: 0; }
p, dd, li { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 10px 14px; background: var(--bone); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
.light :focus-visible, .sand :focus-visible { outline-color: var(--copper-deep); }

/* ——— Tipografía de sección ——— */
.kicker {
  margin-bottom: 26px;
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
.dark .kicker { color: var(--copper-light); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; }
.lead { font-size: 1.125em; color: var(--ink-2); max-width: 54ch; }
.dark .lead { color: var(--mist); }
.section { padding-block: var(--section); }
.light { background: var(--bone); }
.sand { background: var(--sand); }
.dark { background: var(--petrol); color: var(--bone); }

/* ——— Header ——— */
.site-header { position: absolute; inset: 0 0 auto; z-index: 3; color: var(--bone); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand-name { font: 500 26px/1 var(--serif); letter-spacing: .01em; }
.brand-by { font: 400 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.nav { display: flex; gap: 32px; font: 400 14px/1 var(--sans); letter-spacing: .03em; }
.nav a { text-decoration: none; color: var(--mist); transition: color .2s; }
.nav a:hover { color: var(--bone); }
.nav .wide { display: none; }
@media (min-width: 900px) { .nav .wide { display: inline; } }
@media (max-width: 419px) { .brand-by { display: none; } }

/* ——— Hero ——— */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100svh, 940px);
  overflow: hidden;
  background: var(--petrol);
  color: var(--bone);
}
.hero-topo, .contact-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-topo { object-position: 72% 50%; opacity: .5; }
@media (min-width: 960px) {
  .hero-topo {
    opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 58%);
    mask-image: linear-gradient(90deg, transparent 10%, #000 58%);
  }
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 128px; padding-bottom: clamp(56px, 9vh, 96px); }
.hero-inner { max-width: 800px; }
.eyebrow {
  margin-bottom: 28px;
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper-light);
}
.hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.03; }
.hero-sub {
  margin-top: 22px;
  max-width: 32ch;
  font: italic 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.32 var(--serif);
  color: var(--mist);
}
.hero-lead { margin-top: 34px; max-width: 46ch; color: var(--haze); }
.hero-lead strong { font-weight: 500; color: var(--bone); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 220px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 500 15px/1 var(--sans);
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-solid { background: var(--copper-light); border-color: var(--copper-light); color: var(--petrol-deep); }
.btn-solid:hover { background: #D6AE85; border-color: #D6AE85; }
.btn-line { border-color: rgba(244, 239, 230, .45); color: var(--bone); }
.btn-line:hover { border-color: var(--bone); }
@media (max-width: 519px) { .actions .btn { flex: 1 1 100%; } }

.corridor {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-dark);
  font: 400 12.5px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}
.corridor { padding-left: 0; }
.corridor li { list-style: none; }
/* Separador al final de cada tramo: si la línea corta, el punto queda al cierre, nunca al inicio. */
.corridor li:not(:last-child)::after { content: "·"; margin: 0 .85em; color: var(--copper-light); }

/* ——— Por qué ——— */
.split { display: grid; gap: 36px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 6fr; gap: 96px; } }
.why-body p { color: var(--ink-2); }
.why-body p + p { margin-top: 1.2em; }
.why-body .first { font: 400 clamp(1.35rem, 2.1vw, 1.65rem)/1.45 var(--serif); color: var(--ink); }

.contrast {
  display: grid;
  gap: 22px;
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 40px;
  border-top: 1px solid var(--rule-light);
}
@media (min-width: 760px) { .contrast { grid-template-columns: 1fr auto 1fr; gap: 48px; } }
.term { margin-bottom: 12px; font: 500 clamp(1.6rem, 2.8vw, 2.3rem)/1.1 var(--serif); }
.contrast p:not(.term):not(.contrast-vs) { max-width: 40ch; color: var(--ink-2); }
.contrast-vs { align-self: center; font: italic 400 1.3rem/1.2 var(--serif); color: var(--copper-deep); }

/* ——— Método ——— */
.method-head { margin-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 960px) { .method-head { align-items: end; } }
.layers { list-style: none; padding: 0; border-top: 1px solid var(--rule-light); }
.layer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 22px;
  padding-block: clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--rule-light);
}
.num { font: 400 clamp(3rem, 6vw, 5.25rem)/.82 var(--serif); color: var(--copper); font-variant-numeric: lining-nums; }
.layer h3 { margin-bottom: 10px; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; }
.layer-body p { max-width: 52ch; color: var(--ink-2); }
.question { grid-column: 1 / -1; font: italic 500 clamp(1.25rem, 1.9vw, 1.55rem)/1.35 var(--serif); color: var(--ink); }
.q-label {
  display: block;
  margin-bottom: 12px;
  font: normal 500 11px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper-deep);
}
@media (min-width: 960px) {
  .layer { grid-template-columns: 150px 1fr 1fr; gap: 48px; }
  .question { grid-column: auto; padding-left: 40px; border-left: 1px solid var(--rule-light); }
}

/* ——— Seis preguntas ——— */
.questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: clamp(56px, 7vw, 88px);
  padding: 0;
  list-style: none;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
@media (min-width: 640px) { .questions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .questions { grid-template-columns: repeat(3, 1fr); } }
.questions li {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--petrol);
}
.qn { font: 500 1.05rem/1 var(--serif); letter-spacing: .1em; color: var(--copper-light); font-variant-numeric: lining-nums; }
.qt { font: 500 clamp(1.5rem, 2.2vw, 1.95rem)/1.18 var(--serif); }

/* ——— Quién soy ——— */
.about-id h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; }
.about-role { margin-top: 14px; font: italic 400 1.4rem/1.35 var(--serif); color: var(--ink-2); }
.creds { margin-top: 36px; padding: 0; list-style: none; border-top: 1px solid var(--rule-light); }
.creds li { padding: 16px 0; border-bottom: 1px solid var(--rule-light); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.creds strong { display: block; font-weight: 500; color: var(--ink); }
.about-body p { color: var(--ink-2); }
.about-body p + p { margin-top: 1.2em; }
.about-body .first { font: 400 clamp(1.35rem, 2.1vw, 1.65rem)/1.45 var(--serif); color: var(--ink); }
.about-quote { margin: clamp(44px, 5vw, 64px) 0; font: italic 500 clamp(1.65rem, 2.9vw, 2.35rem)/1.22 var(--serif); color: var(--ink); }
.figures { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-light); }
@media (min-width: 640px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figure { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--rule-light); }
@media (min-width: 640px) { .figure { border-bottom: 0; } }
.figure dt { font: 500 clamp(2.4rem, 3.6vw, 3rem)/1 var(--serif); color: var(--copper); font-variant-numeric: lining-nums; }
.figure dd { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.about-note { margin-top: 32px; font-size: 15px; color: var(--ink-2); }

/* ——— Contacto ——— */
.contact { position: relative; overflow: hidden; }
.contact-topo { opacity: .32; transform: scaleX(-1); }
.contact .wrap { position: relative; }
.contact h2 { max-width: 17ch; }
.contact .lead { margin-top: 24px; }
.channels { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 56px; }
@media (min-width: 820px) { .channels { grid-template-columns: repeat(3, 1fr); } }
.channel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 150px;
  padding: 26px 28px;
  border: 1px solid rgba(244, 239, 230, .3);
  border-radius: 2px;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.channel:hover { border-color: var(--bone); }
.channel-label { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.channel-value { font: 500 clamp(1.35rem, 1.9vw, 1.6rem)/1.2 var(--serif); overflow-wrap: anywhere; }
.channel.primary { background: var(--copper-light); border-color: var(--copper-light); color: var(--petrol-deep); }
.channel.primary .channel-label { color: var(--petrol); }
.channel.primary:hover { background: #D6AE85; border-color: #D6AE85; }
@media (max-width: 819px) { .channel { min-height: 0; } }

/* ——— Footer ——— */
.site-footer { padding: 56px 0 44px; background: var(--petrol-deep); color: var(--mist); font-size: 14px; line-height: 1.7; }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1fr 2fr; gap: 96px; align-items: start; } }
.site-footer .brand-name { color: var(--bone); }
.legal { max-width: 72ch; }
.legal strong { font-weight: 500; color: var(--haze); }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 13px; }

/* ——— Página 404 ——— */
.notfound { min-height: 100svh; display: flex; align-items: center; }
.notfound p { margin-top: 20px; color: var(--mist); }
.notfound .actions { margin-top: 32px; }

/* ——— Reveal ——— */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
