:root {
  --ink: #173f37;
  --ink-deep: #0d2d28;
  --ink-soft: #42645e;
  --sand: #e7d5b5;
  --sand-light: #f3ead9;
  --paper: #f9f5ec;
  --paper-bright: #fffdf8;
  --clay: #b85435;
  --clay-light: #d87855;
  --blue: #175b75;
  --blue-deep: #103f52;
  --line: rgba(22, 52, 46, 0.18);
  --line-light: rgba(255, 253, 248, 0.22);
  --shadow: 0 22px 55px rgba(13, 45, 40, 0.11);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Montserrat Navigation", "Segoe UI", Arial, sans-serif;
  --container: 1440px;
  --pad: clamp(22px, 5vw, 82px);
  --page-intro-max: 1320px;
  --page-intro-gutter: clamp(20px, 4.4vw, 66px);
  --page-title-block-max: 780px;
  --page-lead-max: 720px;
  --page-title-size: clamp(37px, calc(29.9px + 1.82vw), 56px);
  --page-lead-size: clamp(16px, 1.2vw, 17px);
  --page-eyebrow-title-gap: clamp(12px, 1vw, 14px);
  --page-title-lead-gap: clamp(20px, 1.55vw, 22px);
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink-deep);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

button,
input,
select,
textarea {
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin-top: 0;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

summary {
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

:focus-visible {
  outline: 3px solid var(--clay-light);
  outline-offset: 4px;
}

:root[data-input-modality="pointer"] :focus-visible {
  outline: none !important;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Retícula transversal del inicio de página. Los arquetipos conservan su
   composición vertical y sus medios; esta shell fija una única coordenada. */
.page-intro-shell.page-intro-shell {
  width: min(100%, var(--page-intro-max));
  margin-inline: auto;
  padding-inline: var(--page-intro-gutter);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--paper-bright);
  color: var(--ink-deep);
  font-weight: 700;
}

.skip-link:focus {
  top: 18px;
}

.section,
.page-section {
  padding-top: clamp(76px, 8vw, 126px);
  padding-bottom: clamp(76px, 8vw, 126px);
}

.page-section + .page-section {
  border-top: 1px solid var(--line);
}

.section--ink,
.page-section--ink {
  background: var(--ink-deep);
  color: var(--paper-bright);
}

.section--sand,
.page-section--sand {
  background: var(--sand-light);
}

.section--paper {
  background: var(--paper-bright);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 27px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.section-heading h2,
.closing-cta h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > p,
.section-heading > div > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.section-heading--compact {
  display: block;
  margin-bottom: 34px;
}

.section-heading--compact h2 {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 52px);
}

.section-heading--light h2,
.section-heading--light > p,
.section--ink .section-heading > p,
.page-section--ink .section-heading > p {
  color: var(--paper-bright);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 14px 20px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--dark,
.button--primary {
  background: var(--ink);
  color: var(--paper-bright);
}

.button--dark:hover,
.button--primary:hover {
  background: var(--clay);
}

.button--light {
  background: var(--sand);
  color: var(--ink-deep);
}

.button--light:hover {
  background: var(--paper-bright);
}

.button--outline {
  border-color: currentColor;
}

.button--outline:hover {
  background: var(--ink);
  color: var(--paper-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.editorial-body {
  max-width: 1040px;
  padding-top: clamp(52px, 7vw, 100px);
  padding-bottom: clamp(52px, 7vw, 100px);
}

.editorial-body > section + section,
.editorial-section + .editorial-section {
  margin-top: 64px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.editorial-body h2,
.editorial-section h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.editorial-body h3 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.editorial-body p,
.editorial-body li,
.editorial-section p,
.editorial-section li {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.72;
}

.editorial-body p + p,
.editorial-section p + p {
  margin-top: 20px;
}

.editorial-body a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.editorial-body--light,
.editorial-body--light h2,
.editorial-body--light p {
  color: var(--paper-bright);
}

.page-section--intro {
  padding-top: 54px;
  padding-bottom: 54px;
}

.page-section--intro > p {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.4;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: clamp(82px, 9vw, 140px);
  padding-bottom: clamp(82px, 9vw, 140px);
}

.closing-cta .eyebrow,
.closing-cta h2 {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
}

@media (max-width: 700px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .section,
  .page-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
