/* =========================================================
   Shevet Capital — styles.css
   Tipografías: Georgia (títulos) · Standerd (párrafos) · DM Sans (nav)
   ========================================================= */

/* Standerd: colocar los archivos en /assets/fonts/ (ver README) */
@font-face {
  font-family: "Standerd";
  src: url("../fonts/Standerd-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Standerd";
  src: url("../fonts/Standerd-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Standerd";
  src: url("../fonts/Standerd-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --cream: #F2EEE4;
  --green: #637769;
  --green-soft: #6E8575;
  --forest: #35483C;
  --forest-deep: #35483C;
  --dark: #171816;
  --dark-2: #1C1D1B;
  --ink: #171816;

  --serif: Georgia, "Gelasio", "Times New Roman", serif;
  --sans: "Standerd", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ui: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --wordmark: "Cormorant Garamond", Georgia, serif;

  --gutter: clamp(22px, 5vw, 72px);
  --radius: 30px;
  --header-h: 106px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
html.i18n-loading body { opacity: 0; animation: i18n-failsafe 0s linear 1.5s forwards !important; }
@keyframes i18n-failsafe { to { opacity: 1; } }
body { transition: opacity .15s ease; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

/* Énfasis: dentro de textos sans, las cursivas pasan a Georgia italic (rasgo del diseño) */
em { font-style: italic; }
.sans-em em, .t-sans em { font-family: var(--serif); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--dark); color: var(--cream); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-dark :focus-visible, .modal :focus-visible { outline-color: var(--cream); }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Componentes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 6px 29px;
  border-radius: 100px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 20px; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--forest); }
.btn--outline { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn--outline:hover { background: var(--cream); color: var(--green); }
.btn--text { color: var(--green); font-size: clamp(20px, 2vw, 28px); background: transparent; }
.btn--text:hover { text-decoration: underline; text-underline-offset: 6px; }

.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 13px; line-height: 1;
  text-transform: uppercase; letter-spacing: .01em;
}
.section-title { font-family: var(--serif); font-size: clamp(36px, 3.4vw, 48px); line-height: 1.1; text-align: center; }

.arrow-list { list-style: none; }
.arrow-list li { position: relative; padding-left: 1.25em; }
.arrow-list li::before { content: "➔"; position: absolute; left: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { width: 166px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > ul { list-style: none; display: flex; gap: 30px; }
.lang-menu[hidden] { display: none; }
.site-nav a, .lang-toggle {
  font-family: var(--ui); font-weight: 500; font-size: 14px; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.site-nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--green); }
.lang { position: relative; }
.lang-toggle {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-toggle svg { width: 10px; height: 10px; transition: transform .2s ease; }
.lang-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu {
  list-style: none; position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--cream); border: 1px solid var(--green); border-radius: 16px;
  padding: 8px; min-width: 140px; box-shadow: 0 12px 30px rgba(23, 24, 22, .12);
}
.lang-menu button {
  width: 100%; text-align: left; background: none; border: 0; border-radius: 10px;
  padding: 8px 12px; cursor: pointer; font-family: var(--ui); font-size: 14px;
}
.lang-menu button:hover { background: rgba(99, 119, 105, .12); }
.lang-menu button[aria-pressed="true"] { color: var(--green); font-weight: 700; }
.menu-toggle { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); }
.footer-inner {
  min-height: 110px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap; padding-block: 24px;
}
.footer-wordmark { font-family: var(--wordmark); font-weight: 500; font-size: 28px; line-height: 1; text-decoration: none; }
.footer-wordmark span { margin-inline: .35em; font-weight: 300; }
.footer-locations { font-family: var(--ui); font-size: 13px; list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-locations li + li::before { content: "•"; margin-right: 10px; }
.footer-copy { width: 100%; font-family: var(--ui); font-size: 12px; opacity: .7; }

/* =========================================================
   HOME
   ========================================================= */
.hero { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); background: var(--green); min-height: 575px; container-type: inline-size; }
.hero__copy { padding: 70px 70px 70px max(var(--gutter), calc(50cqw - 720px + var(--gutter))); display: flex; flex-direction: column; justify-content: center; gap: 28px; color: var(--cream); }
@media (max-width: 960px) { .br-desk { display: none; } }
.hero__title { font-family: var(--serif); font-size: clamp(42px, 5.28vw, 76px); line-height: 1.02; }
.hero__media { position: relative; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% center; }

.pillars {
  background: var(--dark) url("../img/home/camino-bosque-vision-generacional-1440.webp") center bottom / cover no-repeat;
  padding: 126px var(--gutter);
}
.pillars__grid { max-width: 1296px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.pillar {
  background: var(--cream); border: 1px solid var(--green-soft); border-radius: var(--radius);
  padding: 24px; min-height: 180px; display: flex; flex-direction: column; gap: 18px;
}
.pillar__num { font-family: var(--sans); font-weight: 600; font-size: 20px; line-height: 1; color: var(--green-soft); }
.pillar__title { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; max-width: 9ch; }

.statement-band { background: var(--dark); color: var(--cream); padding-block: 72px; }
.statement-band .container { display: flex; align-items: flex-start; gap: 38px; }
.statement-band img { width: 112px; flex: none; }
.statement-band h2 { font-family: var(--serif); font-size: clamp(34px, 3.5vw, 50px); line-height: 1.05; max-width: 931px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-intro { background: var(--dark); color: var(--cream); padding: 70px 0 56px; }
.about-intro h1 { text-align: center; margin-bottom: 52px; }
.about-intro__grid { display: grid; grid-template-columns: minmax(0, 595px) 6px minmax(0, 526px); gap: 33px; align-items: center; justify-content: space-between; max-width: 1268px; }
.about-intro__text { font-size: 20px; line-height: 1.2; display: grid; gap: 12px; }
.vbar { align-self: stretch; width: 6px; background: var(--green); }
.about-intro__quote { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; color: var(--green); }
.about-intro__cta { text-align: center; margin-top: 44px; }

.values { background: var(--green); color: var(--cream); padding: 45px 0 72px; overflow: hidden; }
.values h2 { margin-bottom: 40px; }
.values__grid { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 853px); gap: 33px; align-items: center; justify-content: center; }
.values__intro { display: flex; gap: 22px; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.values__intro .vbar { background: var(--cream); flex: none; }
.values-diagram { position: relative; container-type: inline-size; width: 100%; }
.values-diagram img { width: 100%; }
.values-diagram__label { position: absolute; margin: 0; font-family: var(--sans); font-size: 2.35cqw; line-height: 1.2; color: #fff; }
.values-diagram__label strong { display: block; font-family: var(--serif); font-weight: 400; }
.values-diagram__label.l { text-align: right; }
.values-diagram__label.c { text-align: center; transform: translateX(-50%); }
.v-promote  { right: 62.5%; top: 10%; width: 31%; }
.v-empower  { right: 66.6%; top: 34.6%; width: 25%; }
.v-innovate { right: 62.5%; top: 53.4%; width: 22%; }
.v-produce  { left: 67.3%; top: 10%; width: 20%; }
.v-ensure   { left: 72.3%; top: 34.6%; width: 16%; }
.v-protect  { left: 67.9%; top: 54.6%; width: 16%; }
.v-entertain{ left: 53.3%; top: 77%; width: 22%; }

.wide-photo { height: clamp(200px, 32vw, 467px); overflow: hidden; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }

.track { padding: 45px 0 70px; }
.track h2 { color: var(--green); margin-bottom: 50px; }
.track__rows { display: grid; gap: 14px; max-width: 1296px; margin-inline: auto; }
.track__row { display: flex; gap: 14px; justify-content: center; }
.tcard {
  border: 1px solid var(--ink); border-radius: var(--radius); padding: 40px 20px 22px;
  font-size: clamp(19px, 1.95vw, 28px); line-height: 1.02; min-width: 0;
  display: flex; flex-direction: column; gap: 20px;
}
.tcard strong { font-weight: 600; }
.tcard--bold { font-weight: 600; }
.tcard--row { flex-direction: row; align-items: center; justify-content: space-between; }
.tcard--logo { align-items: center; justify-content: center; min-height: 146px; padding: 20px; }
.tcard--logo img { max-height: 90px; width: auto; }
.tcard .logos-inline { display: flex; align-items: center; gap: 22px; }
.track__row--a .tcard:nth-child(1) { flex: 250; }
.track__row--a .tcard:nth-child(2) { flex: 543; }
.track__row--a .tcard:nth-child(3) { flex: 475; }
.track__row--b .tcard:nth-child(1) { flex: 521; }
.track__row--b .tcard:nth-child(2) { flex: 440; }
.track__row--b .tcard:nth-child(3) { flex: 307; justify-content: center; }
.track__row--c .tcard, .track__row--d .tcard { flex: 0 1 432px; }
.closing { padding: 30px var(--gutter) 70px; text-align: center; font-family: var(--serif); font-size: clamp(24px, 2.1vw, 30px); line-height: 1.1; color: var(--green); }

/* =========================================================
   WHO WE ARE (Team)
   ========================================================= */
.intro-dark { background: var(--dark-2); color: var(--cream); padding-block: 72px; }
.intro-dark .container { display: flex; gap: clamp(32px, 8vw, 120px); align-items: center; }
.intro-dark h1 { font-family: var(--serif); font-size: clamp(38px, 3.4vw, 48px); line-height: 1.08; flex: 0 0 321px; }
.intro-dark p { font-size: clamp(20px, 2.36vw, 34px); line-height: 1.05; font-weight: 400; max-width: 844px; }

.stats { padding: 72px 0; background: var(--dark) url("../img/team/edificio-oficinas-noche-1920.webp") center top / cover no-repeat; }
.stats__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 32px; max-width: 1424px; margin-inline: auto; padding-inline: 56px; }
.stat { padding: 57px 22px 32px; border-radius: var(--radius); background: var(--cream); min-height: 398px; }
.stat__icon { height: 48px; display: flex; align-items: flex-end; margin-bottom: 18px; }
.stat__icon img { max-height: 48px; width: auto; }
.stat h2 { font-family: var(--serif); font-size: clamp(30px, 2.65vw, 38px); line-height: 1; color: var(--forest); margin-bottom: 28px; }
.stat p { font-size: 17px; line-height: 1.4; font-weight: 500; max-width: 340px; }
.stats__cta { text-align: center; padding: 32px var(--gutter) 0; }
.stats__cta .btn { background: var(--cream); width: min(100%, 440px); min-height: 57px; }
.stats__cta .btn:hover { background: #fff; text-decoration: none; }

.future-head { padding: 82px 0 54px; }
.future-head .container { display: flex; align-items: flex-end; gap: 28px; }
.future-head img { width: 46px; flex: none; margin-bottom: 8px; }
.future-head .eyebrow { font-size: 20px; color: var(--green); margin-bottom: 10px; display: block; font-weight: 500; }
.future-head h2 { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; color: var(--green); max-width: 860px; }

.legacy { display: grid; grid-template-columns: minmax(0, 722px) minmax(0, 1fr); gap: clamp(32px, 6.4vw, 92px); align-items: center; padding-bottom: 38px; }
.legacy img { width: 100%; height: auto; border-radius: 0 var(--radius) var(--radius) 0; }
.legacy .arrow-list { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; display: grid; gap: 4px; padding-right: var(--gutter); max-width: 703px; }

.mv { background: var(--dark); color: var(--cream); padding: 30px 0 72px; }
.mv h2 { margin-bottom: 61px; }
.mv__grid { display: flex; gap: 18px; justify-content: center; }
.mv-card { flex: 0 1 456px; min-height: 487px; border: 1px solid var(--green); border-radius: var(--radius); padding: 18px 18px 26px; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.mv-card img { width: 100%; aspect-ratio: 420 / 270; object-fit: cover; border-radius: var(--radius); }
.mv-card h3 { font-family: var(--sans); font-size: clamp(24px, 2.1vw, 30px); line-height: 1.05; text-transform: uppercase; }
.mv-card p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.48; }
.mv-card strong { font-weight: 600; }

.team-band { background: var(--green); color: var(--cream); padding: 30px 0 70px; }
.team-band h2 { margin-bottom: 60px; }
.team-roles { list-style: none; display: flex; justify-content: center; gap: 32px 59px; flex-wrap: wrap; max-width: 1296px; margin-inline: auto; }
.team-role { display: flex; gap: 59px; align-items: flex-start; }
.team-role:nth-child(1) > div { min-width: 200px; }
.team-role:nth-child(2) > div { min-width: 325px; }
.team-role:nth-child(3) > div { min-width: 281px; }
.team-role img { width: 26px; height: auto; margin: 4px 0 0 7px; flex: none; }
.team-role .role { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.2; display: block; margin-bottom: 2px; }
.team-role .names { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.15; }
.team-role .names b { font-weight: 600; }

.profiles { padding: 58px 0 50px; }
.profiles__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 310px)); gap: 18px; justify-content: center; }
.profile { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.profile img { width: 100%; aspect-ratio: 274 / 270; object-fit: cover; border-radius: var(--radius); background: var(--forest); }
.person-name { font-family: var(--sans); font-size: clamp(20px, 1.75vw, 25px); line-height: 1.05; text-transform: uppercase; color: var(--green); font-weight: 400; }
.person-name b { font-weight: 600; }
.person-role { font-family: var(--serif); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.2; color: var(--green-soft); }
.profile p:not(.person-role) { font-size: 15px; line-height: 1.48; }

.partner { position: relative; background: var(--green); color: var(--cream); min-height: 468px; display: flex; align-items: center; overflow: hidden; }
.partner__img { position: absolute; inset: 0 auto 0 0; width: 85%; height: 100%; object-fit: cover; object-position: left center; }
.partner::before { content: ""; position: absolute; inset: 0 0 0 29%; background: linear-gradient(90deg, rgba(99, 119, 105, 0) 0%, var(--green) 31.08%); z-index: 1; }
.partner__copy { position: relative; z-index: 2; margin-left: min(calc(50% + 139px), calc(100% - 430px - var(--gutter))); width: 430px; max-width: 100%; padding: 60px 0; display: grid; gap: 22px; }
.partner__copy .eyebrow { font-weight: 400; font-size: 14px; }
.partner__copy h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.2; }
.partner__copy p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.2; }
.partner__copy p strong { font-weight: 600; }

/* =========================================================
   VERTICALS
   ========================================================= */
.verticals { background: var(--dark); color: var(--cream); padding: 74px 0 76px; }
.verticals__head { display: grid; gap: 22px; margin-bottom: 40px; }
.verticals__head .eyebrow { color: var(--green-soft); }
.verticals__head h1 { font-family: var(--serif); font-size: clamp(40px, 4.45vw, 64px); line-height: 1.04; max-width: 960px; }
.verticals__head p { font-size: 18px; line-height: 1.5; max-width: 720px; }
.vcards { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.vcard { border: 1px solid var(--green-soft); border-radius: var(--radius); padding: 40px 20px 22px; display: flex; flex-direction: column; gap: 20px; min-height: 559px; }
.vcard__num { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1; color: var(--green-soft); }
.vcard h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(22px, 1.95vw, 28px); line-height: 1.02; text-transform: uppercase; }
.vcard .arrow-list, .vcard__text { font-size: 14px; line-height: 1.55; font-weight: 600; }
.vcard__highlight { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.2; font-weight: 500; text-transform: uppercase; }
.vcard__logos { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.vcard__logos img { height: auto; }
.vcard .btn { margin-top: auto; align-self: flex-start; min-width: 192px; }

/* ---------- Modales ---------- */
.modal {
  width: min(1276px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100dvh - 48px);
  padding: 0; border: 1px solid var(--cream); border-radius: var(--radius);
  background: var(--dark); color: var(--cream);
  box-shadow: 0 4px 30px 10px rgba(242, 238, 228, .9);
  overflow: auto;
}
.modal::backdrop { background: rgba(23, 24, 22, .35); -webkit-backdrop-filter: blur(5.3px); backdrop-filter: blur(5.3px); }
.modal[open] { animation: modal-in .25s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__inner { padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px); position: relative; }
.modal__close {
  position: absolute; top: 28px; right: 32px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
}
.modal__close::before, .modal__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 1px; background: var(--cream); }
.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__title { font-family: var(--sans); font-weight: 600; font-size: clamp(22px, 1.95vw, 28px); line-height: 1.02; text-transform: uppercase; }
.modal--venture .modal__title { text-align: center; margin-bottom: 26px; }

.modal:focus { outline: none; }
.facts { width: min(100%, 620px); margin-inline: auto; border-collapse: collapse; font-size: 17px; line-height: 1.63; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 0 6px; border-bottom: .5px solid var(--cream); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { font-weight: 600; width: 52%; padding-right: 28px; }
@media (min-width: 681px) { .facts th { white-space: nowrap; } }
.facts td { font-weight: 400; }

.legacy-step[hidden] { display: none; }
.org-chart { margin-top: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.org-chart__frame { position: relative; min-width: 680px; max-width: 880px; margin-inline: auto; }
.org-chart__frame img { width: 100%; }
.org-hotspot {
  position: absolute; left: 0; top: 40.5%; width: 14.2%; height: 13.6%;
  border: 1px solid transparent; border-radius: 4px; background: transparent; cursor: pointer;
  animation: hotspot 2.4s ease-in-out 3;
}
.org-hotspot:hover, .org-hotspot:focus-visible { border-color: var(--cream); box-shadow: 0 0 18px rgba(242, 238, 228, .45); }
@keyframes hotspot { 0%, 100% { box-shadow: 0 0 0 rgba(242, 238, 228, 0); } 50% { box-shadow: 0 0 18px rgba(242, 238, 228, .55); } }
.org-hint { text-align: center; font-size: 14px; opacity: .75; margin-top: 18px; }

.waiken-head { display: flex; justify-content: center; margin: 4px 0 28px; }
.waiken-head img { width: 176px; }
.wcards { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.wcard { background: var(--cream); color: var(--ink); border: 1px solid var(--green-soft); border-radius: var(--radius); padding: 32px 16px 22px; min-height: 246px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.wcard h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.05; }
.wcard img { width: 100%; max-width: 160px; margin-block: auto; }
.legacy-back { margin-top: 28px; background: none; border: 0; color: var(--cream); cursor: pointer; font-size: 16px; padding: 6px 0; text-decoration: underline; text-underline-offset: 5px; }

/* =========================================================
   ART & PHILANTHROPY
   ========================================================= */
.art-hero { background: var(--dark); color: var(--cream); padding: 70px 0 46px; }
.art-hero h1 { margin-bottom: 76px; }
.foundation { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 690px); gap: 56px; align-items: center; justify-content: center; margin-bottom: 50px; }
.foundation img { width: 150px; margin-inline: auto; }
.foundation h2 { font-family: var(--serif); font-size: clamp(30px, 2.7vw, 39px); line-height: 1.02; margin-bottom: 30px; }
.foundation p { font-size: clamp(20px, 1.95vw, 28px); line-height: 1.15; max-width: 575px; }
.causes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 26px; max-width: 1140px; margin-inline: auto; }
.cause { border: .5px solid var(--cream); border-radius: 13.5px; padding: 8px; display: flex; align-items: center; gap: 7px; }
.cause img { width: 109px; height: 109px; object-fit: cover; border-radius: 13.5px; flex: none; }
.cause span { flex: 1; text-align: center; font-size: 17px; text-transform: uppercase; }

.pampa { position: relative; background: var(--green); color: var(--cream); min-height: 254px; display: flex; align-items: center; overflow: hidden; }
.pampa > img { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 88%); mask-image: linear-gradient(90deg, #000 50%, transparent 88%); }
.pampa__copy { position: relative; z-index: 2; margin-left: min(calc(50% + 131px), calc(100% - 430px - var(--gutter))); padding: 40px var(--gutter) 40px 0; display: grid; gap: 4px; justify-items: start; }
.pampa__copy h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.1; }
.pampa__copy p { font-size: 20px; line-height: 1.1; margin-bottom: 14px; }

.awards { padding: 30px 0 60px; }
.awards > .container > h2 { color: var(--green); margin-bottom: 60px; }
.award { display: grid; grid-template-columns: minmax(0, 274px) minmax(0, 929px); gap: 24px 36px; justify-content: center; padding-bottom: 110px; }
.award__person { display: grid; gap: 14px; align-content: start; }
.award__person img { width: 100%; aspect-ratio: 274 / 270; object-fit: cover; border-radius: var(--radius); }
.award__list { display: grid; gap: 20px; align-content: start; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.2; }
.award__item h3 { font-family: var(--sans); font-weight: 600; font-size: inherit; line-height: inherit; }
.award__item ul { list-style: none; }
.award__item.arrows li::before { content: "→ "; }
.award__roles { list-style: square; padding-left: 1.2em; font-weight: 600; }
.award__roles li span { font-weight: 400; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-hero { background: var(--dark-2); color: var(--cream); padding-block: 72px; min-height: 277px; display: flex; align-items: center; }
.contact-hero h1 { font-family: var(--serif); font-size: 48px; line-height: 1.08; }
.contact-body { padding: 26px 0 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 249px) minmax(0, 448px); gap: 50px; justify-content: center; align-items: center; }
.offices { display: grid; gap: 16px; }
.office {
  min-height: 40px; padding: 8px 24px; border: 1px solid var(--green-soft); border-radius: 30px;
  background: var(--cream); color: var(--ink); text-align: left; cursor: pointer;
  font-family: var(--serif); font-size: 20px; line-height: 1.05;
}
.office[aria-pressed="true"] { background: var(--green); color: var(--cream); }
.office:hover { border-color: var(--green); }
.form { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px 11px; }
.field { grid-column: span 12; position: relative; }
.field--half { grid-column: span 6; }
.field--prefix { grid-column: span 5; }
.field--phone { grid-column: span 7; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 45px; padding: 12px 17px; border: 1px solid var(--green); border-radius: 30px;
  background: transparent; color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.2;
}
.field textarea { min-height: 99px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #1E1E1E; opacity: .9; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(99, 119, 105, .2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #A3402B; }
.field__error { display: block; font-size: 12px; color: #A3402B; padding: 4px 18px 0; min-height: 0; }
.form__actions { grid-column: span 12; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form__status { font-size: 14px; }
.form__status.ok { color: var(--forest); }
.form__status.err { color: #A3402B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .site-nav, .site-nav > ul { gap: 20px; }
  .vcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profiles__grid { grid-template-columns: repeat(2, minmax(0, 310px)); }
  .wcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .causes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__grid { grid-template-columns: 1fr; justify-items: center; }
  .values__intro { max-width: 420px; }
  .track__row--b { flex-wrap: wrap; }
  .track__row--b .tcard:nth-child(3) { flex-basis: 100%; }
}

@media (max-width: 960px) {
  :root { --header-h: 86px; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) { display: block; height: 2px; width: 27px; background: var(--green); transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-inner { justify-content: flex-start; gap: 22px; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 40px;
    padding: 40px var(--gutter); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav > ul { flex-direction: column; gap: 22px; }
  .site-nav a { font-family: var(--serif); font-size: 30px; font-weight: 400; }
  .lang-toggle { display: none; }
  .lang-menu, .lang-menu[hidden] { display: flex; position: static; border: 0; box-shadow: none; padding: 0; gap: 8px; background: none; }
  .lang-menu button { border: 1px solid var(--green); border-radius: 100px; padding: 8px 18px; }
  .lang-menu button[aria-pressed="true"] { background: var(--green); color: var(--cream); }
  body.menu-open { overflow: hidden; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 56px var(--gutter); max-width: none; gap: 16px; }
  .hero__media { aspect-ratio: 402 / 244; }
  .pillars { padding: 36px var(--gutter); background-image: url("../img/home/camino-bosque-vision-generacional-800.webp"); }
  .pillars__grid { grid-template-columns: 1fr; gap: 18px; max-width: 340px; }
  .pillar { min-height: 118px; }
  .pillar__title { font-size: 25px; max-width: none; }
  .statement-band { padding-block: 60px 120px; }
  .statement-band .container { flex-direction: column; }

  .about-intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-intro__grid .vbar { display: none; }
  .about-intro__quote { border-left: 6px solid var(--green); padding-left: 24px; }

  .intro-dark .container { flex-direction: column; align-items: flex-start; gap: 28px; }
  .intro-dark h1 { flex: none; }
  .stats__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 8px var(--gutter) 20px; scrollbar-width: none; }
  .stats__grid::-webkit-scrollbar { display: none; }
  .stats { background-image: url("../img/team/edificio-oficinas-noche-800.webp"); }
  .stat { flex: 0 0 min(78vw, 300px); scroll-snap-align: center; padding: 36px 20px; min-height: 0; }
  .stat h2 { font-size: 26px; margin-bottom: 16px; }
  .stat p { font-size: 15px; }
  .future-head .container { flex-direction: column; align-items: flex-start; gap: 20px; }
  .legacy { grid-template-columns: 1fr; }
  .legacy .arrow-list { padding-inline: var(--gutter); }
  .mv__grid { flex-direction: column; align-items: center; padding-inline: var(--gutter); }
  .mv-card { flex: none; width: 100%; max-width: 456px; }
  .team-roles { flex-direction: column; padding-inline: 16px; gap: 40px; }
  .team-role { gap: 32px; }
  .team-role > div { min-width: 0 !important; }
  .partner { flex-direction: column; min-height: 0; }
  .partner__img { position: static; width: 100%; height: 280px; }
  .partner::before { display: none; }
  .partner__copy { width: 100%; margin-left: 0; padding: 40px var(--gutter); }

  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard { min-height: 0; }

  .foundation { grid-template-columns: 1fr; text-align: left; gap: 24px; }
  .foundation img { margin-inline: 0; }
  .pampa { flex-direction: column; align-items: stretch; }
  .pampa > img { position: static; width: 100%; height: 200px; object-fit: cover; object-position: left center; -webkit-mask-image: none; mask-image: none; }
  .pampa__copy { margin-left: 0; padding: 32px var(--gutter); }
  .award { grid-template-columns: 1fr; padding-bottom: 70px; }
  .award__person { max-width: 310px; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; max-width: 520px; margin-inline: auto; }
  .offices { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .office { text-align: center; padding-inline: 10px; font-size: 18px; }
}

@media (max-width: 680px) {
  .track__row { flex-direction: column; }
  .track__row .tcard { flex: none !important; }
  .tcard--row { flex-direction: column-reverse; align-items: flex-start; }
  .tcard--row img { max-height: 110px; width: auto; }
  .vcards, .wcards { grid-template-columns: 1fr; }
  .causes { grid-template-columns: 1fr; max-width: 300px; }
  .profiles__grid { grid-template-columns: minmax(0, 340px); }
  .field--half, .field--prefix, .field--phone { grid-column: span 12; }
  .offices { grid-template-columns: 1fr; }
  .modal__close { top: 14px; right: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .values-diagram { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .values-diagram img { grid-column: 1 / -1; width: 120%; max-width: none; margin-left: -10%; }
  .values-diagram__label, .values-diagram__label.l, .values-diagram__label.c {
    position: static; width: auto; transform: none; text-align: left; font-size: 15px;
  }
  .values-diagram__label strong { font-size: 18px; }
}



/* =========================================================
   ANIMACIONES Y TRANSICIONES
   (se desactivan solas si el usuario pidió "reducir movimiento")
   ========================================================= */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* Transición suave entre páginas (Chrome/Edge/Safari recientes; el resto navega normal) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Header: sombra al hacer scroll */
.site-header { view-transition-name: site-header; transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 24, 22, .08); }

/* Entrada al cargar: hero y títulos de cabecera */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoom-out { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__copy > *, .verticals__head > *, .intro-dark .container > *,
.about-intro h1, .art-hero h1, .contact-hero h1 { animation: fade-up 1s var(--ease-out) both; }
.hero__copy > :nth-child(2), .verticals__head > :nth-child(2), .intro-dark .container > :nth-child(2) { animation-delay: .15s; }
.verticals__head > :nth-child(3) { animation-delay: .3s; }
.hero__media img { animation: zoom-out 1.8s var(--ease-out) both; }

/* Aparición al hacer scroll (las clases las agrega main.js) */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .reveal--zoom img { transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.js-anim .reveal--zoom.is-in img { transform: scale(1); }

/* Menú: subrayado animado */
.site-nav a { position: relative; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: transparent; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* Menú mobile: links en cascada al abrir */
.site-nav.is-open > ul > li { animation: fade-up .5s var(--ease-out) both; }
.site-nav.is-open > ul > li:nth-child(2) { animation-delay: .05s; }
.site-nav.is-open > ul > li:nth-child(3) { animation-delay: .1s; }
.site-nav.is-open > ul > li:nth-child(4) { animation-delay: .15s; }
.site-nav.is-open > ul > li:nth-child(5) { animation-delay: .2s; }

/* Botones */
.btn { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease; }
.btn:active { transform: translateY(0) scale(.98); }

/* Hover en tarjetas e imágenes (solo con mouse) */
.pillar, .tcard, .stat, .mv-card, .vcard, .cause { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s ease; }
.profile img, .award__person img, .cause img, .mv-card img { transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .pillar:hover, .tcard:hover, .stat:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(23, 24, 22, .14); }
  .mv-card:hover, .vcard:hover { transform: translateY(-6px); border-color: #9FB3A6; }
  .cause:hover { transform: translateY(-4px); }
  .profile:hover img, .award__person:hover img, .cause:hover img { transform: scale(1.04); }
  .mv-card:hover img { transform: scale(1.02); }
}