/*
 * GAS Executive Theme — Page System v1
 * Reusable public-page components. Content stays in WordPress; presentation stays in the theme.
 */

.gas-page-shell--theme-system {
  padding-bottom: 0;
}

.gas-theme-content,
.gas-theme-content > article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.gas-theme-content > article {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gas-theme-page,
.gas-theme-page * {
  box-sizing: border-box;
}

.gas-theme-page {
  --gas-page-ink: var(--gas-text, #3f2b27);
  --gas-page-muted: var(--gas-text-soft, #7e706a);
  --gas-page-panel: var(--gas-panel, #ffffff);
  --gas-page-bg: var(--gas-bg, #f7f7f4);
  --gas-page-soft: var(--gas-bg-soft, #efeee8);
  --gas-page-brown: var(--gas-brown, #4a2a24);
  --gas-page-brown-deep: #2b1a16;
  --gas-page-gold: var(--gas-accent, #c7a25f);
  --gas-page-gold-strong: var(--gas-accent-strong, #b28a45);
  --gas-page-line: var(--gas-line, rgba(58,42,35,.09));
  --gas-page-line-solid: rgba(58,42,35,.12);
  --gas-page-shadow: var(--gas-shadow, 0 24px 60px rgba(55,38,31,.09));
  --gas-page-shadow-soft: var(--gas-shadow-soft, 0 14px 36px rgba(55,38,31,.08));
  --gas-page-radius: var(--gas-radius, 24px);
  --gas-page-radius-lg: var(--gas-radius-lg, 34px);
  --gas-page-container: min(1540px, calc(100vw - 48px));

  position: relative;
  width: 100%;
  overflow: clip;
  color: var(--gas-page-ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(199,162,95,.12), transparent 30%),
    linear-gradient(180deg, #f8f6f1 0%, #f4f1eb 48%, #f8f6f1 100%);
}

.gas-page-container {
  width: var(--gas-page-container);
  margin-inline: auto;
}

.gas-page-section {
  position: relative;
  padding: clamp(54px, 7vw, 112px) 0;
}

.gas-page-section--tight {
  padding: clamp(36px, 5vw, 76px) 0;
}

.gas-page-section--flush-top {
  padding-top: 0;
}

.gas-page-section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(199,162,95,.22), transparent 34%),
    linear-gradient(135deg, #2e1d19 0%, #4a2a24 55%, #2c1b17 100%);
}

.gas-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gas-page-gold-strong);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gas-page-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.gas-page-section--dark .gas-page-eyebrow {
  color: #d9bb80;
}

.gas-page-display,
.gas-page-heading,
.gas-page-subheading {
  margin: 0;
  color: var(--gas-page-brown);
  font-family: Manrope, Inter, system-ui, sans-serif;
  text-wrap: balance;
}

.gas-page-display {
  max-width: 12ch;
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 720;
  line-height: .91;
  letter-spacing: -.058em;
}

.gas-page-heading {
  max-width: 15ch;
  font-size: clamp(34px, 4.6vw, 72px);
  font-weight: 720;
  line-height: .97;
  letter-spacing: -.05em;
}

.gas-page-subheading {
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.gas-page-section--dark .gas-page-display,
.gas-page-section--dark .gas-page-heading,
.gas-page-section--dark .gas-page-subheading {
  color: #fff;
}

.gas-page-lede,
.gas-page-copy {
  margin: 0;
  color: var(--gas-page-muted);
}

.gas-page-lede {
  max-width: 760px;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.65;
}

.gas-page-copy {
  font-size: 16px;
  line-height: 1.78;
}

.gas-page-copy--spaced { margin-top: 22px; }

.gas-page-section--dark .gas-page-lede,
.gas-page-section--dark .gas-page-copy {
  color: rgba(255,255,255,.72);
}

.gas-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gas-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--gas-page-brown);
  box-shadow: 0 14px 34px rgba(58,36,31,.14);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease, color .24s ease, border-color .24s ease;
}

.gas-page-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(58,36,31,.20);
}

.gas-page-btn--gold {
  color: #33211d;
  background: linear-gradient(135deg, #d7ba82, var(--gas-page-gold));
  box-shadow: 0 14px 34px rgba(178,138,69,.22);
}

.gas-page-btn--gold:hover {
  color: #33211d;
  box-shadow: 0 18px 42px rgba(178,138,69,.30);
}

.gas-page-btn--light {
  color: var(--gas-page-brown);
  background: rgba(255,255,255,.86);
  border-color: rgba(58,42,35,.12);
  box-shadow: none;
}

.gas-page-btn--light:hover {
  color: var(--gas-page-brown);
  background: #fff;
  border-color: rgba(58,42,35,.20);
}

.gas-page-btn--ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.gas-page-btn--ghost:hover {
  color: #fff;
  background: rgba(255,255,255,.14);
}

.gas-page-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 54px);
}

.gas-page-card {
  position: relative;
  border: 1px solid var(--gas-page-line);
  border-radius: var(--gas-page-radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--gas-page-shadow-soft);
  overflow: hidden;
}

.gas-page-card--solid {
  background: #fff;
}

.gas-page-kicker-dot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.gas-page-kicker-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63bd7b;
  box-shadow: 0 0 0 6px rgba(99,189,123,.12), 0 0 18px rgba(99,189,123,.46);
}

/* Hero */
.gas-page-hero {
  position: relative;
  min-height: min(860px, 86svh);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: #2e1d19;
}

.gas-page-hero__media,
.gas-page-hero__media img,
.gas-page-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gas-page-hero__media {
  z-index: -3;
  overflow: hidden;
}

.gas-page-hero__media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  will-change: transform;
}

.gas-page-hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(38,23,19,.90) 0%, rgba(45,26,22,.74) 42%, rgba(45,26,22,.18) 78%, rgba(45,26,22,.06) 100%),
    linear-gradient(180deg, rgba(31,20,16,.16) 0%, rgba(31,20,16,.12) 42%, rgba(31,20,16,.72) 100%);
}

.gas-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, rgba(31,20,16,.58));
  pointer-events: none;
}

.gas-page-hero__inner {
  width: var(--gas-page-container);
  margin-inline: auto;
  padding: clamp(150px, 19vh, 230px) 0 clamp(60px, 8vw, 112px);
  color: #fff;
}

.gas-page-hero .gas-page-eyebrow {
  color: #e0c38c;
}

.gas-page-hero .gas-page-display,
.gas-page-hero .gas-page-heading,
.gas-page-hero .gas-page-subheading {
  color: #fff;
  text-shadow: 0 18px 52px rgba(0,0,0,.22);
}

.gas-page-hero .gas-page-lede {
  margin-top: 24px;
  color: rgba(255,255,255,.80);
  text-shadow: 0 14px 36px rgba(0,0,0,.28);
}

.gas-page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.gas-page-hero__meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}

/* Feature strip */
.gas-page-feature-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1420px, calc(100vw - 88px));
  margin: -44px auto 0;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(58,36,31,.14);
  overflow: hidden;
}

.gas-page-feature {
  position: relative;
  min-height: 126px;
  padding: 24px 26px;
  border-right: 1px solid var(--gas-page-line);
  background: rgba(255,255,255,.96);
}

.gas-page-feature:last-child { border-right: 0; }

.gas-page-feature span {
  display: block;
  margin-bottom: 9px;
  color: var(--gas-page-gold-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.gas-page-feature strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gas-page-brown);
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.15;
}

.gas-page-feature small {
  display: block;
  color: var(--gas-page-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Editorial intro */
.gas-page-editorial {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: start;
}

.gas-page-editorial__aside {
  position: sticky;
  top: 118px;
}

.gas-page-editorial__copy {
  display: grid;
  gap: 24px;
  padding-top: 12px;
}

.gas-page-editorial__quote {
  margin: 18px 0 0;
  padding: 26px 28px;
  border-left: 2px solid var(--gas-page-gold);
  border-radius: 0 22px 22px 0;
  background: rgba(255,255,255,.56);
  color: var(--gas-page-brown);
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -.025em;
}

/* People */
.gas-team-leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gas-team-core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gas-person-card {
  position: relative;
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background: #3b2621;
  box-shadow: var(--gas-page-shadow-soft);
  transform: translateZ(0);
}

.gas-person-card--lead {
  min-height: 650px;
}

.gas-person-card__media,
.gas-person-card__media img,
.gas-person-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gas-person-card__media {
  z-index: -3;
  overflow: hidden;
}

.gas-person-card__media img {
  object-fit: cover;
  object-position: center 18%;
  transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .4s ease;
}

.gas-person-card__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(31,20,16,.02) 0%, rgba(31,20,16,.04) 26%, rgba(31,20,16,.34) 57%, rgba(31,20,16,.94) 100%),
    radial-gradient(circle at 84% 10%, rgba(199,162,95,.22), transparent 30%);
}

.gas-person-card:hover .gas-person-card__media img {
  transform: scale(1.025);
}

.gas-person-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  color: #fff;
}

.gas-person-card__role {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #e1c38c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.gas-person-card h3 {
  margin: 0;
  color: #fff;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: clamp(27px, 2.5vw, 42px);
  line-height: .98;
  letter-spacing: -.045em;
}

.gas-team-core-grid .gas-person-card h3 {
  font-size: clamp(25px, 2vw, 33px);
}

.gas-person-card p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.62;
}

.gas-person-card__actions {
  display: flex;
  margin-top: 18px;
}

.gas-person-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: background .24s ease, color .24s ease, transform .24s ease;
}

.gas-person-link:hover {
  color: var(--gas-page-brown);
  background: #fff;
  transform: translateY(-2px);
}

.gas-team-card-alberto .gas-person-card__media img { object-position: center 19%; }
.gas-team-card-juan .gas-person-card__media img { object-position: center 17%; }
.gas-team-card-evgeny .gas-person-card__media img { object-position: center 14%; }
.gas-team-card-luis .gas-person-card__media img { object-position: center 17%; }
.gas-team-card-jaime .gas-person-card__media img { object-position: center 14%; }
.gas-team-card-paula .gas-person-card__media img { object-position: center 20%; }

/* Ecosystem */
.gas-team-ecosystem-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .68fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: 38px;
}

.gas-team-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.gas-team-role-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 25px;
  background: rgba(255,255,255,.065);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.gas-team-role-card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 58px;
  height: 2px;
  background: #d4b06a;
}

.gas-team-role-card b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 7px 0 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.07);
  color: #e0c38c;
  font-size: 12px;
  letter-spacing: .08em;
}

.gas-team-role-card strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.22;
}

.gas-team-role-card span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.58;
}

/* Culture / split media */
.gas-page-split {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: stretch;
}

.gas-page-split__content {
  padding: clamp(30px, 4.2vw, 58px);
}

.gas-page-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.gas-page-mini {
  padding: 22px;
  border: 1px solid var(--gas-page-line);
  border-radius: 21px;
  background: rgba(247,243,237,.64);
}

.gas-page-mini span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--gas-page-gold-strong);
  background: #fff;
  box-shadow: 0 8px 20px rgba(55,38,31,.07);
  font-size: 12px;
  font-weight: 900;
}

.gas-page-mini strong {
  display: block;
  margin-bottom: 7px;
  color: var(--gas-page-brown);
  font-size: 15px;
  line-height: 1.25;
}

.gas-page-mini p {
  margin: 0;
  color: var(--gas-page-muted);
  font-size: 13px;
  line-height: 1.58;
}

.gas-page-split__media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.gas-page-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gas-page-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(42,26,22,.62) 100%);
}

.gas-page-split__caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  color: #fff;
  background: rgba(48,29,24,.58);
  backdrop-filter: blur(12px);
}

.gas-page-split__caption strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 20px;
}

.gas-page-split__caption span {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  line-height: 1.55;
}

/* CTA */
.gas-page-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 4.5vw, 60px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(212,176,106,.24), transparent 30%),
    linear-gradient(135deg, #2f1e1a, #4a2a24);
  box-shadow: 0 30px 80px rgba(50,31,26,.16);
  overflow: hidden;
}

.gas-page-cta h2 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: clamp(31px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.045em;
}

.gas-page-cta p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.70);
  font-size: 15px;
  line-height: 1.65;
}

.gas-page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Motion */
[data-gas-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s cubic-bezier(.2,.75,.25,1), transform .72s cubic-bezier(.2,.75,.25,1);
}

[data-gas-reveal="left"] { transform: translateX(-26px); }
[data-gas-reveal="right"] { transform: translateX(26px); }
[data-gas-reveal].is-visible {
  opacity: 1;
  transform: translate(0,0);
}

[data-gas-reveal-delay="1"] { transition-delay: .07s; }
[data-gas-reveal-delay="2"] { transition-delay: .14s; }
[data-gas-reveal-delay="3"] { transition-delay: .21s; }
[data-gas-reveal-delay="4"] { transition-delay: .28s; }

@media (max-width: 1220px) {
  .gas-theme-page { --gas-page-container: min(100vw - 36px, 100%); }
  .gas-page-section-head,
  .gas-team-ecosystem-intro { grid-template-columns: 1fr; align-items: start; }
  .gas-team-core-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gas-team-ecosystem-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .gas-page-feature-strip { width: min(100vw - 54px, 1180px); grid-template-columns: repeat(2, 1fr); }
  .gas-page-feature:nth-child(2) { border-right: 0; }
  .gas-page-feature:nth-child(-n+2) { border-bottom: 1px solid var(--gas-page-line); }
}

@media (max-width: 900px) {
  .gas-page-display { max-width: 13ch; }
  .gas-page-editorial,
  .gas-page-split,
  .gas-page-cta { grid-template-columns: 1fr; }
  .gas-page-editorial__aside { position: static; }
  .gas-team-leadership-grid { grid-template-columns: 1fr; }
  .gas-team-ecosystem-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gas-page-cta__actions { justify-content: flex-start; }
  .gas-person-card--lead { min-height: 600px; }
  .gas-page-split__media { min-height: 520px; }
}

@media (max-width: 680px) {
  .gas-theme-page { --gas-page-container: min(100vw - 22px, 100%); }
  .gas-page-hero { min-height: 760px; }
  .gas-page-hero__inner { padding-top: 150px; padding-bottom: 80px; }
  .gas-page-hero__veil {
    background:
      linear-gradient(180deg, rgba(43,25,21,.52) 0%, rgba(43,25,21,.43) 36%, rgba(43,25,21,.92) 100%);
  }
  .gas-page-display { font-size: clamp(48px, 15vw, 72px); letter-spacing: -.05em; }
  .gas-page-heading { font-size: clamp(34px, 10vw, 50px); }
  .gas-page-actions { flex-direction: column; align-items: stretch; }
  .gas-page-btn { width: 100%; }
  .gas-page-feature-strip { width: calc(100vw - 22px); grid-template-columns: 1fr; margin-top: -34px; }
  .gas-page-feature { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--gas-page-line); }
  .gas-page-feature:last-child { border-bottom: 0; }
  .gas-team-core-grid,
  .gas-team-ecosystem-grid,
  .gas-page-mini-grid { grid-template-columns: 1fr; }
  .gas-person-card,
  .gas-person-card--lead { min-height: 520px; border-radius: 27px; }
  .gas-person-card__body { padding: 22px; }
  .gas-person-card p { font-size: 13px; }
  .gas-page-card,
  .gas-page-cta { border-radius: 27px; }
  .gas-page-split__content { padding: 26px; }
  .gas-page-split__media { min-height: 460px; }
  .gas-page-split__caption { left: 14px; right: 14px; bottom: 14px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-gas-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gas-page-hero__media img,
  .gas-person-card__media img,
  .gas-page-btn,
  .gas-person-link {
    transition: none !important;
    transform: none !important;
  }
}
