/* =========================================================
   SERVICIOS Y PROYECTOS TÉCNICOS S.A.S. — SPT
   Hoja de estilos principal
   ========================================================= */

:root {
  /* Navy */
  --navy-950: #06101d;
  --navy-900: #0b1a2e;
  --navy-800: #112540;
  --navy-700: #1b3557;
  --navy-600: #2a4a73;

  /* Grises */
  --steel: #5d6b7e;
  --steel-light: #8c98a8;
  --line: #dde2e9;
  --gray-100: #eceff3;
  --gray-50: #f5f7f9;
  --white: #ffffff;

  /* Acento */
  --gold: #c8a04a;
  --gold-light: #ddb865;
  --gold-dark: #a8852f;

  --ink: #0f1b2b;
  --text: #3d4a5b;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.h2 {
  font-family: var(--f-display);
  font-weight: 750;
  font-stretch: 108%;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
.h2--light { color: var(--white); }
.h3 {
  font-family: var(--f-display); font-weight: 700; font-stretch: 105%;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.015em;
  color: var(--ink); text-wrap: balance;
}
.list-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel); margin: 26px 0 12px;
}

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.section-head__aside { max-width: 380px; color: var(--steel); font-size: 15px; }
.section-head__lead { margin-top: 18px; color: var(--steel); font-size: 17px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-display); font-weight: 650; font-stretch: 105%;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-light); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .35s var(--ease), height .35s var(--ease), box-shadow .35s var(--ease);
}
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255,255,255,.12); transition: opacity .35s;
}
.header.is-scrolled { background: rgba(8, 20, 36, .97); height: 70px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.header.is-scrolled::after { opacity: 0; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); flex: none; }
.brand__logo { height: 34px; width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .brand__logo { height: 30px; }
.brand--footer .brand__logo { height: 44px; }
.brand__name {
  padding-left: 14px; border-left: 1px solid rgba(255,255,255,.28);
  font-family: var(--f-display); font-weight: 600; font-stretch: 100%;
  font-size: 11px; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase;
  opacity: .85;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 11px;
  font-family: var(--f-display); font-weight: 550; font-stretch: 100%;
  font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.78); transition: color .25s; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__mobile-foot { display: none; }
.header__cta { flex: none; }
.header__cta-short { display: none; }

.burger { display: none; width: 44px; height: 44px; position: relative; flex: none; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(760px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--navy-950); isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,16,29,.94) 0%, rgba(6,16,29,.78) 42%, rgba(6,16,29,.25) 100%),
    linear-gradient(0deg, rgba(6,16,29,.9) 0%, rgba(6,16,29,0) 45%),
    linear-gradient(180deg, rgba(6,16,29,.6) 0%, rgba(6,16,29,0) 22%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero__content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 110px; }
.hero__eyebrow { animation: rise .9s var(--ease) .1s both; }
.hero__title {
  font-family: var(--f-display); font-weight: 820; font-stretch: 112%;
  font-size: clamp(38px, 4.9vw, 70px); line-height: .98; letter-spacing: -.03em;
  text-transform: uppercase; max-width: 15ch;
}
.hero__line { display: block; animation: rise 1s var(--ease) both; }
.hero__line:nth-child(1) { animation-delay: .2s; }
.hero__line:nth-child(2) { animation-delay: .35s; }
.hero__line--accent { color: transparent; -webkit-text-stroke: 1.5px var(--gold-light); }
.hero__lead { max-width: 560px; margin-top: 28px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.8); animation: rise 1s var(--ease) .5s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; animation: rise 1s var(--ease) .65s both; }
.hero__coords {
  margin-top: 34px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.45); animation: rise 1s var(--ease) .8s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero__strip-wrap { position: relative; z-index: 2; margin-bottom: -70px; }
.hero__strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); color: var(--text);
  box-shadow: 0 30px 60px -20px rgba(6,16,29,.35);
  animation: rise 1s var(--ease) .9s both;
}
.attr { display: flex; gap: 18px; padding: 30px 32px; border-right: 1px solid var(--line); transition: background .35s; }
.attr:last-child { border-right: 0; }
.attr__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1px solid var(--line); color: var(--navy-900); font-size: 22px; }
.attr__num { font-family: var(--f-mono); font-size: 11px; color: var(--steel-light); letter-spacing: .1em; }
.attr__title { font-family: var(--f-display); font-weight: 750; font-stretch: 110%; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 2px 0 6px; }
.attr__text { font-size: 14px; line-height: 1.55; }
.attr--active { background: var(--navy-900); color: rgba(255,255,255,.75); }
.attr--active .attr__title { color: var(--white); }
.attr--active .attr__icon { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }

/* ---------- Blueprint background ---------- */
.blueprint {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.blueprint--soft { mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 75%); }

/* ---------- About ---------- */
.about { padding-top: calc(var(--section-y) + 70px); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__visual { position: relative; padding: 0 16% 18% 0; }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 4.4; }
.about__img--sub {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1;
  border: 10px solid var(--white); box-shadow: 0 30px 60px -25px rgba(6,16,29,.45);
}
.about__badge {
  position: absolute; left: -1px; bottom: 11%;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 26px; background: var(--navy-900); color: var(--white);
}
.about__badge-num { font-family: var(--f-display); font-weight: 850; font-stretch: 115%; font-size: 58px; line-height: .9; color: var(--gold-light); }
.about__badge-txt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.dim { position: absolute; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--steel-light); }
.dim--v { top: 0; bottom: 18%; right: 7%; width: 1px; border-left: 1px solid var(--line); }
.dim--v::before, .dim--v::after { content: ""; position: absolute; left: -5px; width: 9px; height: 1px; background: var(--steel-light); }
.dim--v::before { top: 0; } .dim--v::after { bottom: 0; }
.dim--v i { position: absolute; top: 50%; left: 8px; font-style: normal; writing-mode: vertical-rl; transform: translateY(-50%); background: var(--white); padding: 6px 0; }

.about__text > p:not(.eyebrow) { margin-top: 18px; }
.about__text .h2 { margin-bottom: 6px; }
.about__text strong { color: var(--ink); font-weight: 600; }
.about__points { margin: 32px 0; display: grid; gap: 18px; }
.about__points li { display: flex; gap: 16px; align-items: flex-start; }
.about__point-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: var(--gray-50); border: 1px solid var(--line); color: var(--gold-dark); font-size: 19px; }
.about__points strong { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 650; font-size: 16px; }
.about__points span { font-size: 14px; color: var(--steel); }
.about__quote {
  margin: 0 0 34px; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--f-display); font-weight: 500; font-stretch: 100%; font-size: 19px; line-height: 1.45; color: var(--ink);
}

/* ---------- Stats ---------- */
.stats { background: var(--navy-950); color: rgba(255,255,255,.7); overflow: hidden; }
.stats .section-head__aside { color: rgba(255,255,255,.6); }
.stats__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14);
}
.stat {
  position: relative; padding: 38px 30px 34px;
  border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .4s;
}
.stat:hover { background: rgba(255,255,255,.03); }
.stat:nth-child(2), .stat--wide { grid-column: span 2; }
.stat__ref { position: absolute; top: 14px; right: 16px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.3); }
.stat__num {
  display: flex; align-items: baseline; flex-wrap: wrap;
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(42px, 4.7vw, 68px); line-height: 1; letter-spacing: -.03em; color: var(--white); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__pre { color: var(--gold-light); margin-right: 2px; }
.stat__unit { margin-left: 14px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.stat__label { margin-top: 14px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; max-width: 26ch; }
.stat--gold { background: var(--gold); color: var(--navy-900); }
.stat--gold:hover { background: var(--gold-light); }
.stat--gold .stat__num, .stat--gold .stat__ref { color: var(--navy-950); }
.stat--gold .stat__ref { opacity: .5; }
.stats__note { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.5); font-style: italic; }

/* ---------- Services ---------- */
.services { background: var(--gray-50); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 14px 16px;
  align-items: start; text-align: left;
  padding: 26px 26px 28px; background: var(--white); border: 1px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.tab::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.tab:hover { border-color: var(--navy-600); transform: translateY(-3px); }
.tab__num { grid-column: 1; font-family: var(--f-mono); font-size: 12px; color: var(--steel-light); letter-spacing: .1em; }
.tab__ic { grid-column: 2; justify-self: end; font-size: 30px; color: var(--gold-dark); stroke-width: 1.3; }
.tab__title { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 700; font-stretch: 104%; font-size: 18px; line-height: 1.25; color: var(--ink); }
.tab.is-active { background: var(--navy-900); border-color: var(--navy-900); }
.tab.is-active::after { width: 100%; }
.tab.is-active .tab__title { color: var(--white); }
.tab.is-active .tab__ic { color: var(--gold-light); }
.tab.is-active .tab__num { color: rgba(255,255,255,.5); }

.panel { display: grid; grid-template-columns: 5fr 7fr; background: var(--white); border: 1px solid var(--line); }
.panel.is-active { animation: fadeIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel__media { position: relative; overflow: hidden; min-height: 320px; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__media figcaption {
  position: absolute; left: 0; top: 0; padding: 10px 16px;
  background: var(--gold); color: var(--navy-950);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.panel__body { padding: clamp(28px, 4vw, 56px); }
.panel__kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.panel__body .h3 + p { margin-top: 16px; }
.panel__body .btn { margin-top: 32px; }
.panel__highlight { margin-top: 26px; padding: 18px 22px; background: var(--gray-50); border-left: 3px solid var(--navy-900); color: var(--ink); font-weight: 500; }

.checklist { display: grid; gap: 10px 28px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
.checklist li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px;
  border-left: 1.8px solid var(--gold-dark); border-bottom: 1.8px solid var(--gold-dark);
  transform: rotate(-45deg) scale(.85); transform-origin: left top;
  translate: 2px 3px;
}

/* ---------- Diferencial ---------- */
.diff { background: var(--navy-900); color: rgba(255,255,255,.72); overflow: hidden; }
.diff__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; margin-bottom: clamp(56px, 7vw, 90px); }
.diff__title {
  font-family: var(--f-display); font-weight: 820; font-stretch: 114%;
  font-size: clamp(36px, 5.6vw, 76px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; color: var(--white);
}
.diff__title span { color: var(--gold-light); }
.diff__sub { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); padding-bottom: 10px; }

.diff__line { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.diff__line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(255,255,255,.18);
}
.diff__line::after {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s;
}
.diff__line.is-drawn::after { transform: scaleX(1); }
.diff__node { position: relative; display: block; width: 15px; height: 15px; background: var(--navy-900); border: 1.5px solid var(--gold); transform: rotate(45deg); margin-bottom: 34px; }
.diff__node::after { content: ""; position: absolute; inset: 3px; background: var(--gold); }
.diff__step .diff__num { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); margin-bottom: 18px; }
.diff__step-title { font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.diff__step p { font-size: 15px; }

/* ---------- Proyectos ---------- */
.projects { background: var(--gray-100); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  padding: 9px 16px; border: 1px solid #c9d0da; background: transparent;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--navy-900); color: var(--navy-900); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip sup { font-size: 9px; margin-left: 3px; color: var(--gold-dark); }
.chip.is-active sup { color: var(--gold-light); }

.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: var(--white); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.pcard.is-hidden { display: none; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(6,16,29,.45); }
.pcard__btn { display: block; width: 100%; text-align: left; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,16,29,.5), transparent 45%); }
.pcard__status { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 10px; background: var(--gold); color: var(--navy-950); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pcard__status--live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-950); margin-right: 7px; vertical-align: 1px; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.pcard__ref { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pcard__body { position: relative; padding: 24px 24px 26px; }
.pcard__loc { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.pcard__title { margin: 10px 0 6px; font-family: var(--f-display); font-weight: 750; font-stretch: 106%; font-size: 21px; line-height: 1.2; color: var(--ink); }
.pcard__spec { font-size: 14px; color: var(--steel); min-height: 2.9em; }
.pcard__data { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-top: 1px solid var(--line); }
.pcard__data div { padding-top: 14px; }
.pcard__data div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.pcard__data dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-light); }
.pcard__data dd { font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: 17px; color: var(--ink); }
.pcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-family: var(--f-display); font-weight: 650; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); }
.pcard__more .ic { transition: transform .3s var(--ease); }
.pcard:hover .pcard__more .ic { transform: translate(3px, -3px); }
.pcard__more::after { content: ""; }

.projects__empty { padding: 56px 32px; text-align: center; background: var(--white); border: 1px dashed #c3cad4; }
.projects__empty-title { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.projects__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid #cfd5de; }
.projects__foot p { font-size: 17px; }
.projects__foot strong { font-family: var(--f-display); color: var(--ink); }

/* ---------- Sectores ---------- */
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector { position: relative; padding: 40px 36px 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .4s; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-900); transform: translateY(101%); transition: transform .5s var(--ease); }
.sector:hover::before { transform: none; }
.sector:hover { color: rgba(255,255,255,.75); }
.sector__ic { font-size: 40px; stroke-width: 1.2; color: var(--gold-dark); margin-bottom: 26px; transition: color .4s; }
.sector:hover .sector__ic { color: var(--gold-light); }
.sector__title { font-family: var(--f-display); font-weight: 750; font-stretch: 110%; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; transition: color .4s; }
.sector:hover .sector__title { color: var(--white); }
.sector p { font-size: 15px; }

/* ---------- Founder ---------- */
.founder { background: var(--gray-50); }
.founder__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.founder__visual { position: sticky; top: 110px; }
.founder__portrait { position: relative; aspect-ratio: 4 / 5; background: var(--navy-900); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 34px 60px -34px rgba(6,16,29,.5); }
.founder__portrait::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px; }
.founder__portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.founder__visual::after { content: ""; position: absolute; top: 22px; left: 22px; right: -22px; bottom: 40px; border: 1px solid var(--gold); z-index: -1; }
.founder__visual { isolation: isolate; }
.founder__tag { position: relative; margin: -40px 28px 0 28px; padding: 20px 24px; background: var(--white); box-shadow: 0 20px 40px -24px rgba(6,16,29,.4); border-left: 3px solid var(--gold); }
.founder__tag-role { font-family: var(--f-display); font-weight: 700; color: var(--ink); }
.founder__tag-co { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.founder__name { font-size: clamp(34px, 4.6vw, 58px); text-transform: uppercase; font-stretch: 112%; }
.founder__role { margin: 14px 0 26px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }
.founder__text > p:not(.eyebrow):not(.founder__role):not(.list-label) { margin-top: 14px; font-size: 17px; }

.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 34px 0 8px; }
.timeline li { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--line); }
.timeline__year { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 26px; line-height: 1; color: var(--navy-900); padding-top: 2px; }
.timeline strong { display: block; font-family: var(--f-display); font-weight: 650; color: var(--ink); line-height: 1.3; font-size: 15px; }
.timeline span { font-size: 13px; color: var(--steel); }

.copnia { display: inline-block; margin: 26px 0 4px; padding: 16px 24px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.copnia__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.copnia__num { margin: 6px 0 2px; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: 17px; color: var(--ink); }
.copnia__date { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--steel); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tags li { padding: 8px 14px; background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--ink); transition: border-color .25s, background .25s; }
.tags li:hover { border-color: var(--gold); }

/* ---------- Cobertura ---------- */
.coverage { background: var(--navy-950); color: rgba(255,255,255,.7); overflow: hidden; }
.coverage__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.coverage__lead { margin-top: 20px; font-size: 17px; max-width: 520px; }
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; }
.region__title { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.18); font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--white); }
.region__title span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .16em; color: var(--gold-light); }
.region li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 18px; cursor: default; transition: color .25s, padding .3s var(--ease); }
.region li::before { content: ""; position: absolute; left: 0; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--gold-light); transition: background .25s; }
.region li em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-950); background: var(--gold); padding: 2px 6px; }
.region li.is-hq::before { background: var(--gold); }
.region li:hover, .region li.is-hover { color: var(--white); padding-left: 24px; }
.region li:hover::before, .region li.is-hover::before { background: var(--gold); }

.map { position: relative; }
.map__svg { width: 100%; max-width: 520px; margin: 0 auto; display: block; overflow: visible; }
.map__dot { fill: rgba(170, 190, 215, .32); }
.map__outline { fill: none; stroke: rgba(221, 184, 101, .55); stroke-width: 1; }
.map__labels path { fill: none; stroke: rgba(255,255,255,.28); stroke-width: .8; }
.map__labels text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; fill: rgba(255,255,255,.75); text-transform: uppercase; paint-order: stroke; stroke: var(--navy-950); stroke-width: 3px; }
.pin { cursor: pointer; }
.pin__dot { fill: var(--navy-950); stroke: var(--gold-light); stroke-width: 1.6; transition: r .3s var(--ease), fill .3s; }
.pin.is-hover .pin__dot, .pin:hover .pin__dot { fill: var(--gold-light); r: 6; }
.pin--hq .pin__dot { fill: var(--gold); stroke: var(--white); }
.pin__pulse { fill: none; stroke: var(--gold); stroke-width: 1.2; transform-origin: 163.2px 49.9px; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.map__legend { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--gold-light); }
.lg--hq { background: var(--gold); border-color: var(--white); }

/* ---------- Textos justificados ---------- */
.about__text > p, .mvv__card p, .values p, .panel__body > p, .panel__highlight,
.section-head__lead, .section-head__aside, .coverage__lead, .cta__lead,
.founder__text > p, .sector p, .crit > p, .diff__step p, .attr__text, .projects__empty p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---------- Misión, visión y valores ---------- */
.mvv { margin-top: clamp(52px, 6vw, 88px); }
.mvv__top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mvv__card { padding: clamp(24px, 3vw, 36px); background: var(--gray-50); border-top: 3px solid var(--gold); }
.mvv__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.mvv__values { margin-top: clamp(36px, 4vw, 56px); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 8px; }
.values li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.values__num { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 24px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-dark); }
.values strong { display: block; margin-bottom: 4px; font-family: var(--f-display); font-weight: 650; font-size: 16px; color: var(--ink); }
.values p { font-size: 15px; }

/* ---------- Criterio de dirección ---------- */
.criteria { background: var(--gray-50); }
.criteria__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.crit { display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); background: var(--white); border: 1px solid var(--line); }
.crit__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.crit__title { font-family: var(--f-display); font-weight: 750; font-stretch: 110%; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.crit__ref { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--steel-light); }
.crit__figure { margin-bottom: 24px; }
.crit__figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.cf-line { fill: none; stroke: var(--navy-700); stroke-width: 2.2; }
.cf-dot { fill: var(--gold); }
.cf-solid rect { fill: #dde4ee; stroke: var(--navy-700); stroke-width: 2; }
.cf-win rect { fill: var(--white); }
.cf-dash { fill: none; stroke: var(--steel-light); stroke-width: 1.3; stroke-dasharray: 5 5; }
.cf-fill { fill: var(--navy-900); }
.cf-ring { fill: var(--navy-900); stroke: var(--gold); stroke-width: 2; }
.cf-node circle { fill: var(--gold); stroke: var(--white); stroke-width: 1.5; }
.cf-box rect { fill: var(--white); stroke: var(--navy-700); stroke-width: 1.5; }
.cf-label { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .1em; fill: var(--steel); }
.cf-tag { font-family: var(--f-mono); font-size: 8px; letter-spacing: .06em; fill: var(--navy-800); }
.cf-in { font-family: var(--f-body); font-size: 8.5px; font-weight: 600; fill: var(--white); }
.crit__scale { display: flex; gap: 6px; margin-bottom: 18px; }
.crit__scale li { display: grid; place-items: center; width: 100%; height: 28px; background: var(--gray-100); color: var(--steel); font-family: var(--f-mono); font-size: 12px; }
.crit__scale li.is-on { background: var(--navy-900); color: var(--white); }
.crit > p { margin-top: auto; font-size: 15px; }

.sensible { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap; margin-top: 20px; padding: 26px clamp(22px, 3vw, 34px); background: var(--navy-900); color: rgba(255,255,255,.75); }
.sensible__ic { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border: 1px solid rgba(255,255,255,.25); color: var(--gold-light); font-size: 26px; }
.sensible__text { flex: 1 1 320px; }
.sensible__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.sensible__lead { color: var(--white); font-size: 17px; }
.sensible__claim { flex: 0 1 300px; padding: 14px 18px; background: var(--gold); color: var(--navy-950); font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 15px; line-height: 1.3; letter-spacing: .03em; text-transform: uppercase; }
.sensible__claim span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Galería y visor de fotografías ---------- */
.shot { display: block; width: 100%; height: 100%; overflow: hidden; background: var(--gray-100); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 56px 76px; background: rgba(6,16,29,.95); animation: fade .25s; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev .ic { transform: rotate(180deg); }
.lightbox__nav--next { right: 16px; }
.lightbox__close, .lightbox__nav { display: grid; place-items: center; width: 50px; height: 50px; color: var(--white); font-size: 22px; background: rgba(255,255,255,.12); transition: background .25s, color .25s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--navy-950); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.7); }

/* ---------- CTA / Mesa técnica ---------- */
.cta { color: rgba(255,255,255,.75); background: var(--navy-950); isolation: isolate; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,29,.96) 0%, rgba(6,16,29,.88) 55%, rgba(6,16,29,.7) 100%); }
.cta__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 90px); align-items: start; scroll-margin-top: 90px; }
.cta__title { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(30px, 4vw, 50px); line-height: 1.06; letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.cta__title span { display: block; margin-top: 8px; color: var(--gold-light); }
.cta__lead { margin-top: 24px; font-size: 17px; max-width: 540px; }
.cta__statement { margin: 30px 0 40px; padding-left: 22px; border-left: 3px solid var(--gold); font-size: 18px; line-height: 1.5; color: rgba(255,255,255,.8); }
.cta__statement strong { color: var(--white); font-weight: 600; }

.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--white); min-width: 0; }
.contact-list .ic { font-size: 20px; color: var(--gold-light); margin-top: 3px; }
.contact-list div { min-width: 0; overflow-wrap: anywhere; }
.contact-list span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.contact-list a:hover { color: var(--gold-light); }

.form-card { position: relative; background: var(--white); padding: clamp(28px, 4vw, 44px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); }
.form-card__ref { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-light); }
.form-card__title { margin: 6px 0 26px; font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.field label span { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--gray-50); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, background .25s, box-shadow .25s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: var(--white); box-shadow: 0 0 0 3px rgba(200,160,74,.25); }
.field.has-error input, .field.has-error select { border-color: #b3261e; background: #fdf3f2; }
.form .btn { margin-top: 6px; }
.form__note { font-size: 12px; color: var(--steel); text-align: center; }
.form__status { font-size: 14px; text-align: center; color: var(--navy-700); font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-error { color: #b3261e; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 72px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.brand--footer { margin-bottom: 30px; }
.footer__slogan { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 24px; line-height: 1.15; text-transform: uppercase; color: var(--white); }
.footer__slogan span { color: var(--gold-light); }
.footer__lines { margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer__head { margin-bottom: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.footer__col li { padding: 5px 0; font-size: 15px; }
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: var(--white); }
.footer__contact li { display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; }
.footer__contact .ic { color: var(--gold-light); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer__top-link:hover { color: var(--white); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #1fa855; color: var(--white); font-size: 26px;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.45);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,16,29,.82); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal__dialog { position: relative; width: 100%; max-width: 980px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--white); animation: rise .45s var(--ease); outline: none; }
.modal__close { position: sticky; top: 0; margin: 0 0 -52px auto; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; background: var(--navy-900); color: var(--white); font-size: 22px; }
.modal__close:hover { background: var(--gold); color: var(--navy-950); }
body.modal-open { overflow: hidden; }

.sheet__hero { position: relative; aspect-ratio: 16 / 7; background: var(--navy-900); overflow: hidden; }
.sheet__hero img { width: 100%; height: 100%; object-fit: cover; }
.sheet__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,16,29,.92), rgba(6,16,29,.1) 65%); }
.sheet__hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px clamp(24px, 4vw, 44px); color: var(--white); }
.sheet__hero-text .pcard__loc { color: var(--gold-light); }
.sheet__title { margin-top: 8px; font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(26px, 4vw, 42px); line-height: 1.05; text-transform: uppercase; }
.sheet__body { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.sheet__specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); align-self: start; }
.sheet__specs div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sheet__specs .span-2 { grid-column: span 2; }
.sheet__specs dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-light); }
.sheet__specs dd { margin-top: 2px; font-family: var(--f-display); font-weight: 650; font-size: 16px; color: var(--ink); line-height: 1.3; }
.sheet__specs dd.is-pending { font-family: var(--f-mono); font-weight: 400; font-size: 12px; color: var(--steel-light); font-style: italic; }
.sheet__desc h3, .sheet__section-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.sheet__desc p { margin-bottom: 14px; }
.sheet__gallery { grid-column: 1 / -1; }
.sheet__gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet__gallery-grid > * { aspect-ratio: 4 / 3; overflow: hidden; }
.sheet__gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.sheet__ph { display: grid; place-items: center; background: var(--gray-50); border: 1px dashed #c3cad4; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-light); }
.sheet__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.sheet__foot small { color: var(--steel); font-size: 13px; }

.profile__head { padding: clamp(28px, 4vw, 48px); background: var(--navy-900); color: rgba(255,255,255,.75);
  display: grid; grid-template-columns: 132px 1fr; column-gap: 32px; align-items: start; }
.profile__photo { grid-row: 1 / 4; width: 132px; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 3px solid var(--gold); }
.profile__head .eyebrow { margin-bottom: 12px; }
.profile__head h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; text-transform: uppercase; color: var(--white); padding-right: 50px; }
.profile__head p { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.profile__kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.profile__kpis div { padding: 18px 16px 0 0; }
.profile__kpis strong { display: block; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(24px, 3vw, 34px); color: var(--white); line-height: 1; }
.profile__kpis span { font-size: 12px; }
.profile__body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 36px; }
.profile__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-light); padding: 0 12px 10px 0; border-bottom: 1px solid var(--navy-900); }
.ptable td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable td:first-child { font-family: var(--f-display); font-weight: 650; color: var(--ink); }
.ptable td:last-child { white-space: nowrap; font-family: var(--f-mono); font-size: 12px; }
.ptable-wrap { overflow-x: auto; }
.plist li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plist strong { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 650; }
.plist span { font-size: 14px; color: var(--steel); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1360px) {
  .brand__name { display: none; }
}

@media (max-width: 1240px) {
  .nav__link { padding: 10px 8px; font-size: 12px; }
  .nav__link::after { left: 8px; right: 8px; }
  .brand__name { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--header-h) + 30px) var(--gutter) 32px;
    background: var(--navy-950);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__link { padding: 16px 0; font-size: clamp(22px, 5vw, 30px); font-weight: 750; font-stretch: 110%; letter-spacing: .02em; color: var(--white); }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--gold-light); }
  .nav__mobile-foot { display: grid; gap: 12px; padding-top: 24px; font-size: 14px; color: rgba(255,255,255,.7); }
  .nav__mobile-foot a { display: flex; align-items: center; gap: 10px; }
  .nav__mobile-foot .ic { color: var(--gold-light); }
  .brand__name { display: block; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { grid-column: span 1; }
  .stat--wide, .stat--gold { grid-column: 1 / -1; }

  .diff__line { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .diff__line::before, .diff__line::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .diff__line::after { transform: scaleY(0); transform-origin: top; }
  .diff__line.is-drawn::after { transform: scaleY(1); }
  .diff__step { position: relative; padding-bottom: 36px; }
  .diff__node { position: absolute; left: -36px; top: 8px; margin: 0; }
  .diff__step .diff__num { font-size: 34px; margin-bottom: 8px; }

  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .criteria__grid { grid-template-columns: 1fr; }
  .crit__figure { max-width: 420px; }
  .cta__grid { grid-template-columns: 1fr; }
  .form-card { max-width: 640px; }
}

@media (max-width: 900px) {
  .hero__strip { grid-template-columns: 1fr; }
  .attr { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 24px; }
  .attr:last-child { border-bottom: 0; }
  .hero__strip-wrap { margin-bottom: -40px; }
  .hero__content { padding-bottom: 60px; }
  .about { padding-top: calc(var(--section-y) + 40px); }
  .hero { min-height: auto; }

  .about__grid, .founder__grid, .coverage__grid, .mvv__top { grid-template-columns: minmax(0, 1fr); }
  .about__visual { max-width: 560px; }
  .founder__visual { position: relative; top: 0; }
  .founder__visual { max-width: 460px; }
  .tabs { grid-template-columns: 1fr; gap: 8px; }
  .tab { grid-template-columns: auto auto 1fr; grid-template-rows: auto; align-items: center; padding: 18px 20px; }
  .tab__ic { grid-column: 2; justify-self: start; font-size: 24px; }
  .tab__title { grid-column: 3; font-size: 16px; }
  .tab:hover { transform: none; }
  .panel { grid-template-columns: 1fr; }
  .panel__media { min-height: 0; aspect-ratio: 16 / 9; }

  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .mvv__top, .values { grid-template-columns: 1fr; }
  .values { gap: 0; }
  .map__svg { max-width: 460px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .sheet__body, .profile__cols { grid-template-columns: 1fr; }
  .profile__kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .founder__name { font-size: clamp(28px, 9vw, 40px); }
  .header__cta-long { display: none; }
  .header__cta-short { display: inline; }
  .header__cta { padding: 0 14px; min-height: 40px; font-size: 12px; }
  .header__cta .ic { display: none; }
  .brand__name { display: none; }
  .brand__logo { height: 28px; }
  .brand--footer .brand__logo { height: 38px; }
  .profile__head { grid-template-columns: 92px 1fr; column-gap: 20px; }
  .profile__photo { width: 92px; }
  .hero__title { font-size: clamp(34px, 10.5vw, 52px); }
  .hero__line--accent { -webkit-text-stroke-width: 1.1px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__coords { display: none; }

  .about__visual { padding: 0 10% 22% 0; }
  .about__badge { padding: 14px 18px; }
  .about__badge-num { font-size: 42px; }
  .dim { display: none; }

  .stats__grid { grid-template-columns: 1fr; }
  .stat { padding: 30px 22px 26px; }
  .stat__num { font-size: clamp(44px, 14vw, 60px); }
  .stat__unit { margin: 8px 0 0; width: 100%; }

  .checklist--2 { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .projects__foot { flex-direction: column; align-items: stretch; }

  .sectors__grid { grid-template-columns: 1fr; }
  .sector { padding: 30px 24px; }
  .timeline { grid-template-columns: 1fr; }
  .founder__tag { margin: -30px 16px 0; }
  .founder__visual::after { top: 14px; left: 14px; right: -10px; }

  .regions { grid-template-columns: 1fr 1fr; gap: 20px; }
  .map__labels text { font-size: 13px; }

  .contact-list { grid-template-columns: 1fr; }
  .sensible { flex-direction: column; align-items: flex-start; }
  .sensible__claim { flex: 1 1 auto; }
  .lightbox { padding: 16px 12px 52px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__img { max-height: calc(100dvh - 120px); }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { width: 50px; height: 50px; font-size: 23px; right: 14px; bottom: 14px; }

  .modal { padding: 0; }
  .modal__dialog { max-height: 100dvh; height: 100dvh; }
  .sheet__hero { aspect-ratio: 4 / 3; }
  .sheet__specs { grid-template-columns: 1fr; }
  .sheet__specs .span-2 { grid-column: auto; }
  .sheet__gallery-grid { grid-template-columns: 1fr 1fr; }
  .ptable td:last-child { white-space: normal; }
}
