/* =========================================================
   UMBRAL Gestores — Sitio institucional (HTML/CSS)
   Tokens de marca tomados del diseño (PSD)
   ========================================================= */
:root {
  --green-950: #16251d;
  --green-900: #1b2d24;
  --green-800: #23382d;
  --green-700: #2f4a3c;
  --mint: #b5f4c9;
  --mint-100: #d9f9e3;
  --mint-50: #eefcf2;
  --coral: #f2735a;
  --coral-600: #e25a40;
  --orange: #e4670a;
  --teal: #00a99d;
  --purple: #9b6bd3;
  --lime: #8cd657;
  --ink: #1d2a24;
  --text: #3a4741;
  --muted: #6b7a72;
  --line: #e3e9e5;
  --bg: #ffffff;
  --bg-soft: #f4f6f5;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 37, 29, .10);
  --shadow-lg: 0 24px 60px rgba(22, 37, 29, .18);
  --container: 1200px;
  --header-h: 92px;
  --font: "Pathway Extreme", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.6em; border-radius: 999px; border: 0;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-600); }
.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-950); }
.btn--mint { background: var(--mint); color: var(--green-900); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.btn--ghost:hover { background: #fff; color: var(--green-900); }
.btn--sm { padding: .55em 1.1em; font-size: .8rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.06); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .25s; }
.site-header.is-scrolled .container { height: 74px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px;
  font-size: .92rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #46524c;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-800); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--green-800); margin: 6px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Floating social bar & WhatsApp ---------- */
.social-rail {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 10px; padding: 16px 12px;
  background: var(--orange); border-radius: 0 16px 16px 0; box-shadow: var(--shadow);
}
.social-rail a { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .2s; }
.social-rail a:hover { transform: scale(1.12); }
.social-rail svg { width: 16px; height: 16px; fill: var(--orange); }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Hero slider (Home) ---------- */
.hero { position: relative; height: clamp(520px, 78vh, 700px); overflow: hidden; background: var(--green-900); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,26,20,.82) 0%, rgba(14,26,20,.55) 38%, rgba(14,26,20,0) 70%);
}
.hero__content {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center;
}
.hero__text { max-width: 560px; color: #fff; }
.hero__text h1, .hero__text h2 {
  color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: .35em;
}
.hero__text p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 430px; }
.hero__bar { width: 130px; height: 6px; border-radius: 6px; background: var(--coral); margin: 22px 0 30px; }
.hero__slide .hero__text > * { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.hero__slide.is-active .hero__text > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__text > *:nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__text > *:nth-child(3) { transition-delay: .22s; }
.hero__slide.is-active .hero__text > *:nth-child(4) { transition-delay: .32s; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); transition: width .3s, background .3s; padding: 0; }
.hero__dots button.is-active { width: 34px; background: var(--coral); }
.hero__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s;
}
.hero__arrow:hover { background: var(--coral); }
.hero__arrow--prev { left: 72px; }
.hero__arrow--next { right: 24px; }
.hero__arrow svg { width: 20px; height: 20px; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 5; margin-top: -78px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; max-width: 980px; margin-inline: auto; }
.stat {
  background: var(--mint); border-radius: 16px; padding: 22px 18px; min-height: 172px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow); transition: transform .3s;
}
.stat:hover { transform: translateY(-6px); }
.stat__icon { height: 70px; width: auto; margin-bottom: 10px; }
.stat__row { display: flex; align-items: center; gap: 8px; }
.stat__num { font-family: var(--font-display); font-weight: 900; color: var(--coral); font-size: 2.5rem; line-height: 1; }
.stat__num--xl { font-size: 3.4rem; }
.stat__label { font-family: var(--font-display); font-weight: 800; color: var(--green-800); font-size: .84rem; line-height: 1.15; text-align: left; }
.stat__label--c { text-align: center; font-size: 1.05rem; margin-top: 4px; }
.stat__years { font-family: var(--font-display); font-weight: 900; color: var(--coral); font-size: 2.6rem; line-height: .95; text-transform: uppercase; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--tight { padding: 70px 0; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--mint); }
.section--dark { background: var(--green-800); color: #dfe9e3; }
.eyebrow { display: inline-block; color: var(--coral); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-bottom: 12px; }
.section-title { text-align: center; max-width: 860px; margin: 0 auto 50px; }
.section-title h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-title--coral h2 { color: var(--coral); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.section-title p { font-size: 1.12rem; color: var(--text); }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--text); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { border-radius: var(--radius); overflow: hidden; background: var(--green-800); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar__img { aspect-ratio: 3/3.7; overflow: hidden; }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pillar:hover .pillar__img img { transform: scale(1.06); }
.pillar__body { padding: 22px 18px 28px; text-align: center; flex: 1; }
.pillar__body h3 { color: var(--coral); font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.pillar__body p { color: #fff; font-size: 1.02rem; margin: 0; line-height: 1.4; }

/* ---------- Generic slider (testimonials, featured) ---------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; padding: 12px 4px 20px; }
.slider__track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.22,.7,.2,1); }
.slider__track > * { flex: 0 0 calc((100% - 48px) / 3); }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green-800); color: var(--coral);
  display: grid; place-items: center; box-shadow: var(--shadow); transition: background .2s;
}
.slider__btn:hover { background: var(--coral); color: #fff; }
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn--prev { left: -62px; }
.slider__btn--next { right: -62px; }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: #c9d2cd; transition: background .2s, transform .2s; }
.slider__dots button.is-active { background: var(--green-800); transform: scale(1.15); }

.testimonial { margin: 0;
  display: grid; grid-template-columns: 44% 1fr; gap: 18px; align-items: center;
  background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 6px 22px rgba(0,0,0,.09);
}
.testimonial img { border-radius: 10px; aspect-ratio: 1/1; object-fit: cover; width: 100%; filter: grayscale(1); }
.testimonial blockquote { margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: var(--text); }
.testimonial cite { font-style: normal; display: block; font-size: .85rem; line-height: 1.25; }
.testimonial cite b { color: var(--lime); display: block; }
.testimonial cite span { color: var(--teal); }

/* ---------- Map / regions ---------- */
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.regions__map { position: relative; }
.regions__map img { width: min(100%, 400px); margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(22,37,29,.18)); }
.regions__title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.regions__title .big { font-family: var(--font-display); font-weight: 900; color: var(--coral); font-size: 4.2rem; line-height: 1; }
.regions__title .lbl { font-family: var(--font-display); font-weight: 900; color: var(--green-900); font-size: 1.8rem; line-height: 1; text-transform: uppercase; }
.region-list { list-style: none; padding: 0; margin: 0 0 34px; columns: 2; column-gap: 30px; max-width: 420px; }
.region-list li { break-inside: avoid; }
.region-list a {
  font-family: var(--font-display); font-weight: 800; color: #47705a; letter-spacing: .06em; text-transform: uppercase; font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; transition: color .2s;
}
.region-list a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.region-list a:hover { color: var(--coral-600); }
.sectors-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: var(--green-900); font-size: 1.35rem; line-height: 1.05; margin-bottom: 18px; }
.sectors-title span { color: var(--coral); display: block; }
.sectors { display: flex; flex-wrap: wrap; gap: 22px; }
.sector { text-align: center; width: 84px; }
.sector__icon { width: 66px; height: 66px; border-radius: 50%; background: var(--green-800); display: grid; place-items: center; margin: 0 auto 8px; transition: transform .25s, background .25s; }
.sector:hover .sector__icon { transform: translateY(-4px); background: var(--coral); }
.sector__icon svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sector__name { font-size: .78rem; font-weight: 600; color: var(--green-900); line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.sector__num { font-family: var(--font-display); font-weight: 900; color: var(--coral); font-size: 1.9rem; line-height: 1; }

/* ---------- Project cards ---------- */
.project-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.07); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--green-800); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__badge { position: absolute; top: 12px; left: 12px; }
.project-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.project-card__title { color: var(--coral); font-size: 1.02rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.project-card__meta { font-size: .86rem; color: var(--muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.project-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.project-card__meta svg { width: 14px; height: 14px; stroke: var(--coral); fill: none; stroke-width: 2; }
.project-card__amount { font-weight: 700; color: var(--green-800); font-size: .95rem; margin-bottom: 14px; }
.project-card__amount small { font-weight: 500; color: var(--muted); display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.project-card .btn { margin-top: auto; align-self: flex-start; }

/* Placeholder tile (projects without photo) */
.tile {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(circle at 85% 15%, rgba(181,244,201,.22), transparent 45%),
    linear-gradient(135deg, var(--green-800), var(--green-950));
  color: var(--mint); text-align: center; padding: 20px; position: relative; overflow: hidden;
}
.tile::before, .tile::after {
  content: ""; position: absolute; width: 120px; height: 138px; opacity: .1; background: var(--mint);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.tile::before { right: -30px; bottom: -40px; }
.tile::after { left: -40px; top: -50px; width: 90px; height: 104px; }
.tile svg { width: 58px; height: 58px; stroke: var(--mint); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

.badge { display: inline-block; padding: .35em .8em; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.badge--culminado { background: var(--coral); }
.badge--ejecucion { background: var(--green-800); }
.badge--expediente { background: var(--purple); }
.badge--aprobacion { background: var(--teal); }

/* ---------- Page banner ---------- */
.page-banner { position: relative; height: clamp(260px, 36vw, 400px); display: grid; place-items: center; overflow: hidden; background: var(--green-900); }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,30,.55), rgba(20,40,30,.72)); }
.page-banner__inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 20px; }
.page-banner h1 { color: #fff; font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 10px; letter-spacing: .04em; }
.breadcrumbs a:hover { color: var(--mint); }

/* ---------- Timeline (Nosotros) ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 30px; }
.timeline--3 { grid-template-columns: repeat(3, 1fr); margin-top: 60px; }
.hito__img { aspect-ratio: 1.15/1; display: grid; place-items: center; margin-bottom: 14px; }
.hito__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s; }
.hito:hover .hito__img img { transform: scale(1.04) rotate(-1deg); }
.hito__year { display: flex; align-items: center; gap: 0; margin-bottom: 16px; }
.hito__year b { background: var(--green-800); color: #fff; font-weight: 800; font-size: 1.1rem; padding: 6px 16px; clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%); padding-right: 26px; }
.hito__year i { flex: 1; height: 2px; background: var(--green-800); opacity: .35; }
.hito h3 { color: var(--orange); font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.hito ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; line-height: 1.45; }
.hito li { position: relative; padding-left: 14px; margin-bottom: 5px; }
.hito li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.hito li b { color: var(--green-800); }

.purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1000px; margin-inline: auto; }
.purpose h3 { color: var(--coral); font-weight: 500; font-size: 1.5rem; margin-bottom: 8px; }
.purpose p { font-size: 1.1rem; }
.divider-title { display: flex; align-items: center; gap: 20px; justify-content: center; margin-bottom: 50px; }
.divider-title::before, .divider-title::after { content: ""; width: 70px; height: 2px; background: var(--coral); }
.divider-title h2 { margin: 0; font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.3rem); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .3s; }
.value:hover { transform: translateY(-6px); }
.value__letter {
  width: 58px; height: 66px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-800); color: var(--mint); font-family: var(--font-display); font-weight: 900; font-size: 1.8rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.value h3 { font-size: 1.2rem; }
.value p { font-size: .97rem; margin: 0; }

.team-band { background: var(--mint); position: relative; }
.team { display: grid; grid-template-columns: 330px 1fr 1fr; align-items: end; gap: 40px; }
.team__founders { margin-top: -110px; }
.team__founders img { width: 100%; }
.team__intro { align-self: center; }
.team__intro h2 { font-weight: 400; font-size: 2.3rem; line-height: 1.05; margin-bottom: 16px; }
.team__intro h2 b { font-weight: 800; display: block; }
.team__intro .names { color: var(--coral); font-weight: 700; font-size: 1.3rem; margin: 0; }
.team__intro .role { margin: 0; color: var(--green-800); }
.team__members { display: flex; gap: 22px; align-self: center; }
.member { text-align: center; width: 180px; }
.member img { border-radius: 12px; aspect-ratio: 1/1.18; object-fit: cover; width: 100%; filter: grayscale(1); box-shadow: var(--shadow); margin-bottom: 10px; }
.member b { display: block; color: var(--ink); }
.member span { font-size: .85rem; color: var(--teal); }

/* ---------- Modelo OxI ---------- */
.steps { background: var(--bg-soft); border-radius: 24px; padding: 56px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 60px; max-width: 1040px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 38px 1fr; gap: 6px 14px; }
.step__n { width: 34px; height: 34px; border-radius: 7px; background: var(--green-800); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; margin-top: 4px; }
.step h3 { color: var(--coral); font-size: 1.75rem; margin: 0; font-weight: 700; }
.step p { grid-column: 2; margin: 0; font-size: 1.06rem; }

.ecosystem { position: relative; background: var(--mint); clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%); padding: 50px 9% 0; display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: end; }
.ecosystem__photo img { width: 100%; max-width: 520px; }
.eco-diagram { position: relative; padding: 30px 0 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; justify-items: center; align-self: center; }
.eco-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--green-900); color: var(--coral); font-weight: 700; font-size: .92rem; }
.eco-pill svg { width: 18px; height: 18px; stroke: var(--mint); fill: none; stroke-width: 1.8; }
.eco-box { background: var(--green-800); color: #fff; border-radius: 6px; padding: 16px 18px; text-align: center; width: 200px; box-shadow: var(--shadow); }
.eco-box svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.5; margin: 0 auto 6px; display: block; }
.eco-box b { color: var(--coral); display: block; line-height: 1.15; }
.eco-box small { font-size: .82rem; color: #d5e2da; }
.eco-center { grid-column: 1 / -1; background: var(--green-800); width: 230px; height: 220px; display: grid; place-items: center; text-align: center; padding: 20px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); color: #fff; }
.eco-center b { color: var(--coral); font-size: 1.45rem; line-height: 1.05; display: block; margin-bottom: 6px; }
.eco-center small { font-size: .85rem; color: #d5e2da; line-height: 1.3; display: block; }
.eco-top { grid-column: 1 / -1; }
.eco-link { grid-column: 1 / -1; width: 2px; height: 26px; background: var(--green-800); margin: -14px 0; }

.cta-band { background: var(--green-800); border-radius: 24px; padding: 54px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 270px; background: var(--mint); opacity: .08; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #cfe0d6; }

/* ---------- Proyectos (listado) ---------- */
.search-box { max-width: 640px; margin: 0 auto 26px; position: relative; }
.search-box input { width: 100%; padding: 18px 22px 18px 58px; border-radius: 999px; border: 1.5px solid #cfd8d3; font: inherit; font-size: 1.05rem; transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { outline: 0; border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(35,56,45,.1); }
.search-box svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; stroke: var(--green-800); fill: none; stroke-width: 2; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.tab { border: 0; padding: 10px 18px; border-radius: 4px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: .55; transition: opacity .2s, transform .2s, box-shadow .2s; }
.tab:hover { opacity: .85; }
.tab.is-active { opacity: 1; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.tab--todos { background: var(--green-950); }
.tab--culminado { background: var(--coral); }
.tab--ejecucion { background: var(--green-800); }
.tab--expediente { background: var(--purple); }
.tab--aprobacion { background: var(--teal); }
.tab b { font-weight: 800; margin-left: 4px; opacity: .85; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; }
.filters select { padding: 11px 40px 11px 16px; border-radius: 10px; border: 1.5px solid #cfd8d3; font: inherit; font-size: .95rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323382d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; appearance: none; min-width: 210px; color: var(--ink); }
.filters .btn-reset { background: none; border: 0; color: var(--coral-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.results-info { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 34px; }
.results-info b { color: var(--green-800); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.load-more { display: flex; justify-content: center; margin-top: 44px; }
.load-more .btn svg { width: 16px; height: 16px; stroke: var(--coral); fill: none; stroke-width: 2.5; }

/* ---------- Proyecto (detalle) ---------- */
.project-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: start; }
.project-hero__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.project-hero__media img, .project-hero__media .tile { width: 100%; height: 100%; object-fit: cover; }
.project-hero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 10px 0 8px; }
.cui { font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.cui b { color: var(--green-800); letter-spacing: .04em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 26px; }
.fact { background: #fff; padding: 16px 18px; }
.fact small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact b { color: var(--ink); font-size: 1.05rem; }
.fact--wide { grid-column: 1 / -1; background: var(--mint-50); }
.fact--wide b { color: var(--green-800); font-size: 1.5rem; font-family: var(--font-display); font-weight: 800; }
.formal { background: var(--bg-soft); border-left: 4px solid var(--coral); padding: 18px 22px; border-radius: 0 12px 12px 0; font-size: .98rem; margin-bottom: 26px; }
.formal small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; }
.post-feature h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; margin-bottom: 12px; }
.post-meta { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; }
.post-meta b { color: var(--ink); font-weight: 600; }
.post-feature__img { border-radius: 14px; overflow: hidden; margin-bottom: 26px; aspect-ratio: 16/8; }
.post-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-feature:hover .post-feature__img img { transform: scale(1.04); }
.post-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 34px; border-bottom: 1px solid var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.post-card { display: flex; flex-direction: column; }
.post-card__img { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; margin-bottom: 16px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card .cat { color: var(--coral); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 { font-size: 1.2rem; margin: 6px 0 8px; transition: color .2s; }
.post-card:hover h3 { color: var(--coral-600); }
.post-card p { font-size: .95rem; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.sidebar .widget { background: var(--bg-soft); border-radius: 16px; padding: 26px; margin-bottom: 26px; }
.sidebar h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; color: var(--green-800); }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list button { width: 100%; text-align: left; background: none; border: 0; padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--text); transition: color .2s; }
.cat-list button:hover, .cat-list button.is-active { color: var(--coral-600); font-weight: 600; }
.mini-post { display: grid; grid-template-columns: 74px 1fr; gap: 12px; margin-bottom: 16px; align-items: center; }
.mini-post img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.mini-post b { font-size: .9rem; line-height: 1.3; display: block; color: var(--ink); }
.mini-post small { color: var(--muted); font-size: .78rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination button { width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); }
.pagination button.is-active { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.article { max-width: 820px; margin-inline: auto; }
.article h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; }
.article__img { border-radius: 16px; overflow: hidden; margin: 10px 0 34px; }
.article p { font-size: 1.08rem; line-height: 1.8; }
.article h2 { font-size: 1.6rem; margin-top: 1.4em; }
.article blockquote { margin: 30px 0; padding: 24px 30px; background: var(--mint-50); border-left: 5px solid var(--coral); border-radius: 0 14px 14px 0; font-size: 1.2rem; color: var(--green-800); font-style: italic; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; }
.contact h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--green-800); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 14px 16px; border-radius: 10px; border: 1.5px solid #d6ddd9; background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green-800); background: #fff; box-shadow: 0 0 0 4px rgba(35,56,45,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral-600); background: #fff6f4; }
.field .error { color: var(--coral-600); font-size: .8rem; min-height: 1em; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green-800); }
.consent a { color: var(--coral-600); text-decoration: underline; }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; display: none; }
.form-status.is-ok { display: block; background: var(--mint-50); border: 1px solid var(--mint); color: var(--green-800); }
.contact-info { display: flex; flex-direction: column; gap: 26px; padding-top: 10px; }
.info-item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.info-item__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(242,115,90,.35); }
.info-item__icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.info-item b { color: var(--ink); display: block; margin-bottom: 2px; }
.info-item p, .info-item a { margin: 0; font-size: .95rem; color: var(--muted); }
.info-item a:hover { color: var(--coral-600); }
.map-embed { border-radius: 18px; overflow: hidden; height: 380px; box-shadow: var(--shadow); background: #e6ebe8; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.alliance { background: var(--mint); overflow: hidden; }
.alliance .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; }
.alliance__img img { width: 100%; max-width: 560px; margin-top: 40px; }
.alliance__text { align-self: center; padding: 50px 0; }
.alliance__text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-800); color: #c6d6cc; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .7fr; gap: 50px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 26px; }
.footer-brand h5 { color: var(--coral); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin: 0 0 4px; }
.footer-brand p { font-size: .95rem; max-width: 330px; }
.footer-col h4 { color: var(--coral); font-weight: 500; font-size: 1.15rem; display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--coral); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #fff; font-size: 1.12rem; line-height: 2; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--mint); padding-left: 4px; }
.footer-contact dt { color: #fff; font-weight: 700; font-size: .92rem; margin-top: 12px; }
.footer-contact dd { margin: 0; font-size: .92rem; }
.footer-contact a:hover { color: var(--mint); }
.footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; transition: transform .2s, background .2s; }
.footer-social a:hover { transform: scale(1.1); background: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: var(--green-800); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.footer-bottom a:hover { color: var(--mint); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal ---------- */
.legal { max-width: 860px; margin-inline: auto; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; color: var(--green-800); }
.legal p, .legal li { font-size: 1rem; }
.note { background: #fff8e8; border: 1px solid #f3dca5; border-radius: 12px; padding: 14px 18px; font-size: .9rem; color: #7a5b12; margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .slider__btn--prev { left: -10px; }
  .slider__btn--next { right: -10px; }
}
@media (max-width: 1080px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
  .pillars, .values { grid-template-columns: repeat(2, 1fr); }
  .slider__track > * { flex-basis: calc((100% - 24px) / 2); }
  .regions { grid-template-columns: 1fr; gap: 30px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline--3 { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 260px 1fr; }
  .team__members { grid-column: 1 / -1; justify-content: center; padding-bottom: 40px; }
  .ecosystem { clip-path: none; border-radius: 30px; grid-template-columns: 1fr; padding: 40px 30px 0; }
  .ecosystem__photo { order: 2; display: flex; justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .project-hero { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 20px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
  .site-header.is-scrolled .container { height: var(--header-h); }
  .brand img { height: 38px; }
  .hero__arrow { display: none; }
  .contact { grid-template-columns: 1fr; }
  .alliance .container { grid-template-columns: 1fr; }
  .alliance__img { order: 2; }
  .alliance__text { padding: 50px 0 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .steps { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .hero { height: 600px; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(14,26,20,.25) 0%, rgba(14,26,20,.85) 75%); }
  .hero__content { align-items: flex-end; padding-bottom: 130px; }
  .hero__slide img { object-position: 65% center; }
  .stats__grid { gap: 14px; }
  .stat { min-height: 140px; padding: 16px 10px; }
  .stat__num { font-size: 1.9rem; } .stat__num--xl { font-size: 2.6rem; } .stat__years { font-size: 2rem; }
  .stat__icon { height: 50px; }
  .stat__row { flex-direction: column; gap: 2px; }
  .stat__label { text-align: center; }
  .pillars, .values, .grid-3, .grid-2, .timeline, .timeline--3, .purpose, .form { grid-template-columns: 1fr; }
  .pillar__img { aspect-ratio: 4/3; }
  .hito__img { aspect-ratio: auto; max-width: 300px; margin-inline: auto; }
  .page-banner h1 { letter-spacing: .04em; }
  .slider__track > * { flex-basis: 100%; }
  .slider__btn { display: none; }
  .testimonial { grid-template-columns: 38% 1fr; }
  .regions__title .big { font-size: 3.2rem; } .regions__title .lbl { font-size: 1.35rem; }
  .team { grid-template-columns: 1fr; text-align: center; }
  .team__founders { margin-top: -80px; max-width: 280px; margin-inline: auto; }
  .team__members { flex-wrap: wrap; }
  .member { width: 150px; }
  .eco-diagram { grid-template-columns: 1fr 1fr; gap: 12px; }
  .eco-box { width: 100%; padding: 12px; }
  .eco-center { width: 190px; height: 190px; }
  .eco-pill { font-size: .78rem; padding: 7px 12px; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-social { flex-direction: row; }
  .social-rail { display: none; }
  .filters select { min-width: 0; flex: 1 1 100%; }
}

/* =========================================================
   V2 — Diseño final aprobado (PSD "web umbral final", nov 2026)
   ========================================================= */
:root {
  --dark: #002511;
  --dark-2: #0b3a22;
  --green-800: #002511;
  --green-900: #002511;
  --green-950: #00180b;
  --teal: #00a39a;
  --teal-600: #008c84;
  --purple: #9b72cf;
  --hex-light: #b3d6c3;
  --grey-bar: #809288;
  --ink: #0f2a1c;
  --text: #2e3a33;
  --font-display: var(--font);
  --container: 1240px;
  --header-h: 96px;
}
body { font-size: 17px; }
h1, h2, h3, h4 { font-weight: 600; }
.center { text-align: center; margin-top: 40px; }
.h-section { text-align: center; text-transform: uppercase; font-weight: 600; letter-spacing: .01em; color: var(--dark); font-size: clamp(1.35rem, 2.4vw, 2rem); margin-bottom: 18px; }
.h-light { text-align: center; text-transform: uppercase; font-weight: 400; letter-spacing: .06em; color: var(--ink); font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-bottom: 22px; }
.hex-clip, .hexi { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* Botones */
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-600); }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--line:hover { background: rgba(255,255,255,.12); }
.btn--square { border-radius: 2px; text-transform: uppercase; letter-spacing: .04em; }
.btn--dark.btn--square { background: var(--dark); }
.btn--mint { background: var(--mint); color: var(--dark); }
.btn--more { border-radius: 2px; text-transform: uppercase; font-size: 1.05rem; padding: .7em 1.3em; }
.btn--more svg { stroke: var(--coral); }
.btn--hero { text-transform: uppercase; font-size: clamp(1rem, 1.5vw, 1.45rem); font-weight: 600; padding: .45em .55em .45em .8em; border-radius: 10px; gap: .5em; }
.btn .arrow { width: 1.7em; height: .9em; }
.btn--send { border-radius: 0; padding: .7em 2.2em; font-size: 1.1rem; font-weight: 500; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* Header */
.site-header { background: var(--dark); backdrop-filter: none; border-bottom: 1px solid rgba(181,244,201,.12); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); border-color: transparent; }
.site-header .container { height: var(--header-h); }
.site-header.is-scrolled .container { height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { gap: 4px; }
.nav a { color: #e9f5ee; font-size: .82rem; letter-spacing: .04em; padding: 10px 16px; }
.nav a::after { background: var(--mint); height: 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--mint); }
.nav-toggle span { background: var(--mint); }
.social-rail { display: none; }

/* Hero por página */
.phero { position: relative; height: clamp(440px, 42.3vw, 811px); overflow: hidden; background: var(--dark); color: #fff; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,37,17,0) 30%, rgba(0,37,17,.55) 52%, rgba(0,37,17,.82) 70%, rgba(0,37,17,.9) 100%); }
.phero__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.phero__text { width: min(46%, 560px); margin-right: 2%; }
.phero__title { color: var(--mint); text-transform: uppercase; font-weight: 600; font-size: clamp(1.9rem, 3.3vw, 3.15rem); line-height: 1.08; letter-spacing: .01em; margin: 0 0 .45em; }
.phero__sub { color: #d6f5e2; font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.3rem); line-height: 1.35; margin-bottom: 1.2em; max-width: 520px; }
.phero__sub a { text-decoration: underline; text-underline-offset: 3px; }
.phero__sub a:hover { color: var(--mint); }
.phero--short { height: clamp(300px, 26vw, 460px); }
.phero--short .phero__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

/* Cifras */
.stats { background: var(--mint); margin: 0; padding: 34px 0 30px; }
.stats__grid { grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1080px; }
.stat { background: none; box-shadow: none; border-radius: 0; min-height: 0; padding: 8px 20px; position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; justify-items: center; text-align: center; }
.stat:hover { transform: none; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: rgba(0,37,17,.25); }
.stat__hex { width: 26px; height: 29px; align-self: start; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-top: -4px; }
.stat__hex--dark { background: var(--dark); } .stat__hex--teal { background: var(--teal); } .stat__hex--coral { background: var(--coral); } .stat__hex--purple { background: var(--purple); }
.stat__num { color: var(--dark); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: .01em; }
.stat__label { grid-column: 1 / -1; color: var(--dark); font-family: var(--font); font-weight: 500; font-size: .95rem; text-align: center; margin-top: 6px; }

/* Intro + pilares */
.intro { max-width: 1000px; margin: 0 auto 60px; text-align: center; }
.intro p { font-size: 1.12rem; color: var(--ink); }
.intro-sub { text-align: center; max-width: 720px; margin: 0 auto 44px; color: var(--text); }
.pillars { gap: 36px; max-width: 1100px; margin-inline: auto; padding-top: 10px; }
.pillar { background: none; box-shadow: none; border-radius: 0; overflow: visible; text-align: center; position: relative; padding: 0 18px 46px; transition: transform .35s; }
.pillar::before { content: ""; position: absolute; inset: 37% 0 0 0; background: var(--dark); z-index: 0; }
.pillar--mint::before { background: var(--mint); }
.pillar:hover { transform: translateY(-8px); box-shadow: none; }
.pillar__hex { position: relative; z-index: 1; width: 100%; aspect-ratio: 1/1; padding: 6%; margin: 0 auto 26px; background: #c3e9d1; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.pillar__hex img { width: 100%; height: 100%; object-fit: cover; }
.pillar h3, .pillar p { position: relative; z-index: 1; }
.pillar h3 { text-transform: uppercase; font-size: 1.2rem; font-weight: 700; color: var(--mint); margin-bottom: 10px; letter-spacing: .02em; }
.pillar p { color: #fff; font-size: 1.02rem; line-height: 1.35; margin: 0; }
.pillar--mint h3, .pillar--mint p { color: var(--dark); }

/* Proyectos destacados / tarjetas */
.featured { background: #fff; padding-top: 30px; }
.project-card { border-radius: 0; box-shadow: none; background: transparent; }
.project-card:hover { box-shadow: none; transform: translateY(-4px); }
.project-card__media { aspect-ratio: 16/11; border: 1px solid #d9dfdb; }
.project-card__badge { top: 10px; left: 10px; }
.project-card__body { padding: 20px 4px 10px; }
.project-card__title { color: var(--dark); font-size: 1.12rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.project-card--done .project-card__title { color: var(--coral); }
.project-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.project-card__desc { font-size: .92rem; line-height: 1.4; color: var(--text); margin-bottom: 16px; }
.project-card .btn--sm { border-radius: 0; font-size: .8rem; padding: .55em 1em; }
.badge { border-radius: 2px; }
.badge--ejecucion { background: var(--dark); }
.badge--expediente { background: var(--purple); }
.badge--aprobacion { background: var(--teal); }

/* Mapa y regiones */
.regions-band { background: var(--mint); padding: 80px 0; overflow: hidden; }
.regions { grid-template-columns: .8fr 1.3fr; gap: 30px; align-items: center; }
.regions__map img { width: min(100%, 470px); filter: none; }
.regions__panel { background: var(--dark); color: #fff; padding: 56px 60px 50px 70px; border-radius: 18px; clip-path: polygon(14% 0, 100% 0, 100% 72%, 86% 100%, 0 100%, 0 26%); }
.regions__title { color: var(--mint); text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; text-align: right; margin-bottom: 14px; }
.regions__title span { font-size: 1.25em; }
.regions__sub { text-align: center; color: var(--mint); font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 300; margin-bottom: 24px; }
.sectors { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.sector { width: auto; text-align: center; color: #fff; }
.sector__num { color: var(--coral); font-family: var(--font); font-weight: 600; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; display: block; }
.sector__name { color: #fff; font-size: .95rem; font-weight: 400; min-height: 0; line-height: 1.15; display: block; margin-top: 4px; }
.sector:hover .sector__num { color: var(--mint); }
.regions__pres { color: var(--mint); font-size: 1.3rem; margin-bottom: 8px; }
.region-list { columns: auto; display: flex; flex-wrap: wrap; gap: 4px 20px; max-width: none; margin: 0; }
.region-list a { font-family: var(--font); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mint); font-size: 1.12rem; gap: 7px; }
.region-list a::before { width: 11px; height: 12px; border-radius: 0; background: var(--mint); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.region-list a:hover { color: #fff; }

/* Nosotros */
.timeline-wrap { padding-top: 70px; }
.hito__img { aspect-ratio: auto; height: 230px; }
.hito__img img { max-height: 230px; }
.hito__year b { background: var(--dark); border-radius: 0; clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%); }
.hito__year i { background: var(--dark); opacity: .5; height: 1.5px; }
.hito h3 { color: var(--orange); font-weight: 700; font-size: .95rem; }
.hito li b { color: var(--dark); }
.purpose-wrap { background: #fff; padding-top: 30px; }
.divider-title h2 { color: var(--dark); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); }
.divider-title::before, .divider-title::after { background: var(--coral); height: 1.5px; width: 80px; }
.purpose h3 { color: var(--coral); font-weight: 400; font-size: 1.9rem; }
.purpose p { color: var(--ink); font-size: 1.15rem; }
.team-band { background: var(--mint); margin-top: 120px; padding-bottom: 70px; }
.team { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.team__founders { margin-top: -120px; justify-self: center; }
.team__founders img { width: min(100%, 400px); filter: drop-shadow(0 22px 22px rgba(0,37,17,.18)); }
.team__intro h2 { text-transform: uppercase; color: var(--dark); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .98; margin-bottom: 10px; }
.team__intro .names { color: var(--coral); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.team__intro .role { color: var(--dark); font-size: clamp(1.2rem, 1.8vw, 1.7rem); }
.team__sub { text-align: center; color: var(--dark); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin: 50px 0 18px; }
.managers { list-style: none; padding: 0; margin: 0 auto 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1100px; }
.managers li { background: var(--dark); color: #fff; padding: 14px 20px; min-width: 190px; flex: 1 1 190px; max-width: 230px; text-align: center; clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%); }
.managers b { display: block; color: var(--mint); font-weight: 600; }
.managers span { font-size: .85rem; line-height: 1.25; display: block; }
.members { max-width: 1000px; margin-inline: auto; }
.members .slider__track > * { flex-basis: calc((100% - 72px) / 4); }
.member { margin: 0; width: auto; text-align: center; }
.member img { width: 70%; margin: 0 auto 10px; border-radius: 0; box-shadow: none; filter: none; aspect-ratio: auto; object-fit: contain; }
.member b { color: var(--dark); font-weight: 600; font-size: 1.02rem; }
.member span { display: block; color: var(--dark); font-size: .82rem; line-height: 1.25; }
.members .slider__btn { width: 38px; height: 38px; background: var(--dark); color: var(--coral); }
.members .slider__btn--prev { left: -50px; } .members .slider__btn--next { right: -50px; }

/* Modelo OxI */
.lead-xl { max-width: 1060px; margin: 0 auto 80px; text-align: center; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.6; color: var(--ink); }
.steps { list-style: none; background: none; padding: 0; border-radius: 0; max-width: 1060px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step { display: block; text-align: center; position: relative; padding: 0 16px 36px; }
.step::before { content: ""; position: absolute; inset: 40% 0 0 0; background: var(--mint); }
.step--dark::before { background: var(--dark); }
.step__hex { position: relative; z-index: 1; aspect-ratio: 1/1.02; margin: 0 -16px 24px; background: var(--hex-light); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding-top: 4%; }
.step__n { position: static; width: auto; height: auto; background: none; color: var(--dark); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; line-height: 1; border-radius: 0; margin: 0; }
.step__hex img { width: 46%; height: auto; }
.step h3, .step p { position: relative; z-index: 1; }
.step h3 { color: var(--dark); font-size: 1.12rem; font-weight: 700; margin-bottom: 14px; }
.step p { color: var(--dark); font-size: .95rem; line-height: 1.35; margin: 0; grid-column: auto; }
.step--dark h3, .step--dark p { color: #fff; }
.strategy { background: var(--mint); padding: 60px 0 70px; }
.strategy .h-section { margin-bottom: 30px; }
.strategy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.strategy__item img { width: min(100%, 320px); margin: 0 auto 18px; }
.strategy__item p { text-align: center; color: var(--dark); font-size: .98rem; line-height: 1.45; }
.strategy__item b { font-weight: 700; }

/* Proyectos */
.search-box input { border-radius: 999px; border: 1.5px solid #9aa59f; padding: 18px 22px 18px 64px; }
.search-box svg { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 1.6; left: 22px; }
.tabs { gap: 14px; margin: 40px 0 22px; }
.tab { border-radius: 0; opacity: 1; font-size: .9rem; letter-spacing: .02em; padding: 10px 22px; font-weight: 600; color: var(--dark); background: var(--mint) !important; box-shadow: inset 0 0 0 2px transparent; }
.tab.is-active { background: var(--dark) !important; color: #fff; transform: none; box-shadow: none; }
.tab:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--dark); }
.filters select { border-radius: 2px; }
.filters .btn-reset { color: var(--dark); }

/* Detalle de proyecto */
.project-hero__media { border-radius: 0; box-shadow: none; }
.facts { border-radius: 0; }
.fact--wide b { font-family: var(--font); font-weight: 700; }
.formal { border-left-color: var(--teal); border-radius: 0; }

/* Actualidad */
.blog-wrap { max-width: 980px; }
.post-feature h2 { font-weight: 400; color: var(--ink); }
.post-feature__img { border-radius: 0; }
.cat-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.cat-bar button { border: 0; background: var(--mint); color: var(--dark); padding: 8px 16px; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.cat-bar button.is-active { background: var(--dark); color: #fff; }
.cat-bar button span { opacity: .7; margin-left: 4px; }
.post-card__img { border-radius: 0; }
.post-card .cat { color: var(--coral); }
.pagination button { border-radius: 2px; }
.pagination button.is-active { background: var(--dark); border-color: var(--dark); }

/* Contacto */
.contact { grid-template-columns: 1.5fr 1fr; gap: 70px; max-width: 1000px; }
.contact h2 { font-size: 1.6rem; color: var(--dark); font-weight: 700; }
.contact__intro { font-size: .98rem; max-width: 460px; }
.form { gap: 14px; }
.field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field input, .field select, .field textarea { border-radius: 0; border: 1.5px solid transparent; background: #f2f2f2; font-size: .95rem; padding: 14px 14px; }
.field input::placeholder, .field textarea::placeholder { color: #6f7772; }
.field select { color: #4b544f; }
.contact-info { gap: 0; padding-top: 6px; }
.info-item { grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid #e3e6e4; }
.info-item:last-child { border-bottom: 0; }
.info-item b { font-size: 1rem; }
.hexi { width: 40px; height: 44px; background: var(--dark); display: inline-grid; place-items: center; flex: none; }
.hexi svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; }
.map-embed { border-radius: 0; box-shadow: none; height: 420px; max-width: 1000px; margin: 60px auto 0; }
.alliance { background: var(--mint); padding: 60px 0; }
.alliance__inner { display: grid; grid-template-columns: .85fr 1.4fr; align-items: center; gap: 0; }
.alliance__img { width: 100%; max-width: 520px; position: relative; z-index: 2; margin: 0 -60px 0 0; justify-self: end; }
.alliance__panel { background: var(--dark); color: #d9f7e4; padding: 60px 70px 60px 110px; clip-path: polygon(0 0, 58% 0, 100% 27%, 100% 100%, 39% 100%, 0 70%); border-radius: 14px; }
.alliance__panel h2 { color: var(--mint); text-transform: uppercase; font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.12; max-width: 560px; }
.alliance__panel p { max-width: 520px; font-size: 1.05rem; }
.alliance__panel .btn { float: right; margin-top: 20px; color: var(--dark); font-weight: 600; text-transform: none; font-size: 1.1rem; padding: .8em 1.4em; }

/* Footer */
.site-footer { background: var(--dark); color: #e3f6ea; padding: 0; }
.footer-main { display: grid; grid-template-columns: 200px 1fr auto; gap: 50px; align-items: start; padding: 64px 0 56px; }
.footer-logo { width: 170px; height: auto; margin-top: 10px; }
.footer-cta__q { color: var(--mint); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 500; margin-bottom: 14px; }
.footer-cta__h { color: var(--mint); font-size: 1.35rem; font-weight: 500; margin-bottom: 14px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: .92rem; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .hexi { width: 28px; height: 31px; background: var(--mint); }
.footer-contact .hexi svg { width: 15px; height: 15px; stroke: var(--dark); }
.footer-contact a:hover { color: var(--mint); text-decoration: underline; }
.footer-links { columns: 2; column-gap: 60px; margin-top: 8px; }
.footer-links a { color: #e9f5ee; font-size: 1.02rem; line-height: 2.4; }
.footer-links a:hover { color: var(--mint); padding-left: 0; }
.footer-bar { background: var(--grey-bar); padding: 18px 0 14px; text-align: center; }
.footer-social { flex-direction: row; justify-content: center; gap: 22px; margin-bottom: 8px; display: flex; }
.footer-social a { background: none; width: 34px; height: 34px; }
.footer-social svg { width: 26px; height: 26px; fill: var(--mint); }
.footer-social a:hover { background: none; transform: scale(1.12); }
.footer-legal { margin: 0; font-size: .8rem; color: #eef7f1; }
.footer-legal a:hover, .footer-legal .link-btn:hover { color: var(--dark); }

/* Banner de cookies */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 860px; margin-inline: auto; background: var(--dark); color: #e3f6ea; padding: 20px 24px; display: flex; gap: 22px; align-items: center; box-shadow: 0 18px 50px rgba(0,0,0,.35); border-top: 4px solid var(--mint); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; line-height: 1.45; }
.cookie-banner a { color: var(--mint); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner .btn { border-radius: 2px; padding: .65em 1.2em; }
.wa-float { bottom: 22px; }

/* Responsive v2 */
@media (max-width: 1080px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(3)::before { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .regions { grid-template-columns: 1fr; }
  .regions__map img { width: min(70%, 360px); }
  .team { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main nav { grid-column: 2; grid-row: 1; }
  .footer-cta { grid-column: 1 / -1; }
  .alliance__inner { grid-template-columns: 1fr; }
  .alliance__img { margin: 0 auto -40px; max-width: 380px; justify-self: center; }
  .alliance__panel { clip-path: none; padding: 60px 40px 50px; }
  .members .slider__btn--prev { left: -6px; } .members .slider__btn--next { right: -6px; }
}
@media (max-width: 900px) {
  .nav { background: var(--dark); }
  .nav a { border-bottom-color: rgba(255,255,255,.1); }
  .phero { height: auto; min-height: 520px; }
  .phero > img { object-position: 25% center; }
  .phero::after { background: linear-gradient(180deg, rgba(0,37,17,.1) 20%, rgba(0,37,17,.88) 70%); }
  .phero__inner { align-items: flex-end; justify-content: flex-start; padding: 220px 0 44px; }
  .phero__text { width: 100%; margin: 0; }
  .phero--short { min-height: 320px; }
  .phero--short .phero__inner { padding-top: 160px; }
  .contact { grid-template-columns: 1fr; }
  .strategy__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .regions__panel { clip-path: none; padding: 40px 28px; }
  .regions__title { text-align: left; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 6px 8px; }
  .stat__label { font-size: .82rem; }
  .pillars, .steps { grid-template-columns: 1fr; max-width: 340px; }
  .team { grid-template-columns: 1fr; }
  .team__founders { margin-top: -80px; max-width: 280px; }
  .managers li { max-width: none; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-main nav { grid-column: auto; grid-row: auto; }
  .sectors { justify-content: flex-start; gap: 18px 24px; }
  .hito__img { height: 200px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-banner__actions { width: 100%; } .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   V3 — Ajustes finales (PSD final 13-nov y observaciones de Diego)
   ========================================================= */
:root { --navy: #0d1b33; --wa: #25d366; }

/* Héroes: título blanco y bajada menta (Home mantiene título menta) */
.phero__title { color: #fff; }
.phero__sub { color: var(--mint); }
.phero--home .phero__title { color: var(--mint); }
.phero--contact .phero__sub { font-size: clamp(1.6rem, 2.9vw, 2.9rem); font-weight: 400; line-height: 1.15; }

/* Carrusel del héroe */
.hero-slider::after { display: none; }
.hslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hslide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.hslide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transform: scale(1.04); transition: transform 7s ease-out; }
.hslide.is-active > img { transform: scale(1); }
.hslide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,37,17,0) 30%, rgba(0,37,17,.5) 52%, rgba(0,37,17,.8) 70%, rgba(0,37,17,.9) 100%); }
.hslide .phero__inner { position: relative; z-index: 2; }
.hslide .phero__sub b { color: #fff; font-weight: 600; }
.hdots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 10px; }
.hdot { width: 12px; height: 13px; border: 0; padding: 0; background: rgba(255,255,255,.55); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .2s, transform .2s; }
.hdot.is-active { background: var(--mint); transform: scale(1.25); }
.hpause { position: absolute; z-index: 3; right: 22px; bottom: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,37,17,.45); display: grid; place-items: center; }
.hpause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hpause.is-paused span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* Cifras */
.stat__num { white-space: nowrap; }

/* Intro de pilares */
.intro p b { color: var(--dark); }

/* Testimonios */
.testi { background: #d8d8d8; padding: 64px 0 56px; }
.testi .h-section { margin-bottom: 34px; }
.testi__slider .slider__track > * { flex: 0 0 calc((100% - 48px) / 3); }
.testi-card { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; padding-right: 22px; border-right: 1px solid rgba(0,37,17,.2); }
.testi-card__img img { width: 130px; height: auto; }
.testi-card blockquote { margin: 0 0 12px; font-size: .86rem; line-height: 1.45; color: var(--ink); }
.testi-card figcaption b { display: block; color: var(--dark); font-size: .92rem; }
.testi-card figcaption span { display: block; font-size: .8rem; line-height: 1.3; color: var(--ink); }
.testi .slider__dots { margin-top: 30px; }
.testi .slider__dots button { width: 16px; height: 16px; background: rgba(0,37,17,.35); }
.testi .slider__dots button.is-active { background: var(--dark); }

/* Mapa: textos alineados a la izquierda (obs. Diego) */
.regions__title, .regions__sub, .regions__pres { text-align: left; }

/* Nosotros: tarjeta de línea de tiempo sobre el héroe */
.timeline-wrap { padding-top: 0; }
.timeline-card { position: relative; z-index: 3; background: #fff; margin-top: -110px; padding: 56px 48px 40px; }
.hito__img { height: auto; aspect-ratio: auto; background: none; }
.hito__img img { width: 100%; max-width: 250px; height: auto; max-height: none; border-radius: 14px; object-fit: cover; }
.hito h3 { text-transform: uppercase; font-size: .92rem; letter-spacing: .01em; }
.hito p { font-size: .82rem; line-height: 1.45; text-align: justify; hyphens: auto; color: var(--ink); margin: 0; }
.hito p b { font-weight: 700; color: var(--dark); }

/* Equipo gerencial con fotos */
.members .slider__track > * { flex-basis: calc((100% - 72px) / 4); }
.member img { width: min(100%, 230px); margin: 0 auto 8px; }
.member__ph { width: min(76%, 190px); aspect-ratio: 1/1.08; margin: 40px auto 14px; display: grid; place-items: center; background: var(--dark); color: var(--mint); font-size: 2.6rem; font-weight: 600; letter-spacing: .04em; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.member b { font-size: 1.05rem; }
.member span { font-size: .9rem; }

/* Estrategia general desplegable (obs. Diego) */
.strategy__item { text-align: center; }
.strategy__item summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.strategy__item summary::-webkit-details-marker { display: none; }
.strategy__title { font-weight: 700; color: var(--dark); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; max-width: 300px; line-height: 1.25; }
.strategy__chev { width: 34px; height: 34px; border-radius: 50%; background: var(--dark); position: relative; transition: transform .3s; }
.strategy__chev::after { content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px; border-right: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: translate(-50%, -50%) rotate(45deg); }
.strategy__item[open] .strategy__chev { transform: rotate(180deg); }
.strategy__item summary:hover .strategy__chev, .strategy__item summary:focus-visible .strategy__chev { background: var(--teal); }
.strategy__item p { margin-top: 16px; animation: fadeDown .35s ease; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Proyectos: pestañas con colores del diseño */
.tab--culminado { background: var(--coral) !important; color: #fff; }
.tab--ejecucion { background: var(--navy) !important; color: #fff; }
.tab--expediente { background: #a46fd0 !important; color: #fff; }
.tab--aprobacion { background: #12a89d !important; color: #fff; }
.tab--todos { background: var(--mint) !important; color: var(--dark); }
.tab { opacity: .72; }
.tab.is-active { opacity: 1; box-shadow: 0 0 0 3px #fff, 0 0 0 5px currentColor; }
.tab--todos.is-active { background: var(--dark) !important; color: #fff; box-shadow: none; }
.badge--ejecucion { background: var(--navy); }
.badge--expediente { background: #a46fd0; }
.badge--aprobacion { background: #12a89d; }
.project-card__title { color: var(--navy); }
.project-card__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Proyectos sin foto: tarjeta de marca (provisional) */
.tile { background: var(--dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.tile__hex { width: 86px; height: 94px; display: grid; place-items: center; background: rgba(181,244,201,.12); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.tile__hex svg { width: 46px; height: 46px; }
.tile__sector { color: var(--mint); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
.tile__note { color: rgba(255,255,255,.55); font-size: .7rem; letter-spacing: .04em; }

/* Contacto: WhatsApp destacado (obs. Diego) */
.wa-cta { display: flex; align-items: center; gap: 14px; background: var(--wa); color: #fff; padding: 16px 20px; border-radius: 12px; margin-bottom: 14px; box-shadow: 0 10px 26px rgba(37,211,102,.35); transition: transform .2s, box-shadow .2s; }
.wa-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.45); }
.wa-cta svg { width: 38px; height: 38px; fill: #fff; flex: none; }
.wa-cta b { display: block; font-size: 1.12rem; }
.wa-cta small { display: block; font-size: .8rem; opacity: .9; }

/* Alianza: imagen hexagonal nueva */
.alliance__img { max-width: 430px; }

/* Actualidad: artículo con fuentes */
.article a[target="_blank"] { color: var(--teal-600); text-decoration: underline; }
.article h2 { font-size: 1.3rem; color: var(--dark); margin-top: 1.6em; }
.article__ref { font-size: .78rem; color: #6b746f; margin-top: 6px; }

@media (max-width: 1080px) {
  .testi__slider .slider__track > * { flex-basis: calc((100% - 24px) / 2); }
  .timeline-card { margin-top: -60px; padding: 40px 24px 30px; }
}
@media (max-width: 640px) {
  .testi__slider .slider__track > * { flex-basis: 100%; }
  .testi-card { grid-template-columns: 100px 1fr; border-right: 0; padding-right: 0; }
  .testi-card__img img { width: 100px; }
  .hpause { right: 12px; bottom: 12px; }
  .timeline-card { margin-top: 0; padding: 30px 0 10px; }
}

/* =========================================================
   V4 — Ajustes cliente 16-nov (PPT)
   ========================================================= */
/* Héroes internos: que no se corten caras ni cabezas */
.phero > img { object-position: center top; }

/* Mapa: panel según diseño de Yayo */
.regions { grid-template-columns: .55fr 1.45fr; gap: 10px; }
.regions__map img { width: min(100%, 420px); }
.regions__panel { border-radius: 22px; padding: 70px 48px 70px 70px; clip-path: polygon(0 24%, 24% 0, 100% 0, 100% 74%, 43% 100%, 0 100%); }
.regions__title { display: block; text-align: center; font-weight: 700; color: var(--mint); font-size: clamp(1.5rem, 2.4vw, 2.3rem); margin: 0 0 4px; letter-spacing: .01em; }
.regions__title span { font-size: 1.3em; font-weight: 800; }
.regions__sub { text-align: center; font-weight: 400; font-size: clamp(1.4rem, 2.3vw, 2.2rem); margin-bottom: 40px; }
.sectors { flex-wrap: nowrap; justify-content: space-between; gap: 8px; margin-bottom: 40px; }
.sector { flex: 1 1 0; min-width: 0; }
.sector__num { font-weight: 800; font-size: clamp(2rem, 3.2vw, 3.1rem); }
.sector__name { font-weight: 600; font-size: clamp(.64rem, .78vw, .88rem); white-space: nowrap; }
.sector[href*="Saneamiento"] .sector__name { white-space: nowrap; }
.regions__pres { text-align: left; font-size: 1.5rem; margin-bottom: 6px; }
.region-list { max-width: 640px; }

/* Estrategia: hexágonos del mismo tamaño y títulos alineados */
.strategy__grid { align-items: start; }
.strategy__item img { width: min(100%, 300px); aspect-ratio: 1/1; height: auto; object-fit: contain; margin: 0 auto 6px; }
.strategy__title { min-height: 2.6em; display: flex; align-items: center; justify-content: center; }

/* Pilares: borde hexagonal estable */
.pillar__hex { transform: translateZ(0); }
.pillar__hex img { object-fit: contain; display: block; }
@media (hover: none) { .pillar:hover { transform: none; } }

@media (max-width: 1080px) {
  .regions { grid-template-columns: 1fr; }
  .sectors { flex-wrap: wrap; justify-content: center; gap: 22px 18px; }
  .sector { flex: 0 0 calc(20% - 18px); }
}
@media (max-width: 900px) {
  .regions__panel { clip-path: none; padding: 40px 24px; }
}

/* Móvil: la foto se ve completa arriba y el texto debajo */
@media (max-width: 640px) {
  .phero, .phero--short, .phero--contact { height: auto; min-height: 0; display: flex; flex-direction: column; background: var(--dark); }
  .phero > img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; object-position: center top; }
  .phero::after { display: none; }
  .phero__inner, .phero--short .phero__inner { padding: 26px 0 34px; align-items: flex-start; }
  .phero__title { font-size: 1.75rem; }
  .phero--contact .phero__sub { font-size: 1.35rem; }

  .hero-slider { display: grid; height: auto; min-height: 0; }
  .hslide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column; }
  .hslide > img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 3/2; object-position: center; transform: none; }
  .hslide::after { display: none; }
  .hslide .phero__inner { padding: 24px 0 70px; }
  .hdots { bottom: 26px; }
  .hpause { bottom: 18px; }

  .regions__title { font-size: 1.35rem; }
  .sector { flex: 0 0 calc(33.33% - 12px); }
  .sectors { gap: 18px 12px; }
  .region-list a { font-size: 1rem; }
  .strategy__item img { width: min(80%, 260px); }
}

/* =========================================================
   V5 — Ajustes cliente 17-nov (PPT "Ajustes WEB_17nov")
   ========================================================= */
/* Android: evitar que Chrome invierta colores (modo oscuro automático) */
:root { color-scheme: only light; }

/* Portadas: texto más a la derecha para que se vea la foto */
.phero__text { width: min(36%, 470px); margin-right: 0; }
.phero__inner { padding-right: 0; }
.phero::after, .hslide::after { background: linear-gradient(90deg, rgba(0,37,17,0) 45%, rgba(0,37,17,.55) 62%, rgba(0,37,17,.85) 76%, rgba(0,37,17,.92) 100%); }

/* Mapa: más aire entre el mapa y la caja; sectores sin superponerse */
.regions { grid-template-columns: .5fr 1.5fr; gap: 56px; }
.regions__map img { width: min(100%, 380px); }
.sectors { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px 8px; }
.sector { min-width: 0; }
.sector__name { white-space: normal; }
.sector[href*="Saneamiento"] .sector__name { white-space: normal; }
@media (max-width: 1480px) {
  .sectors { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 12px; }
  .sector__name { font-size: .86rem; }
}

/* Estrategia: hexágonos con borde claro (mismo estilo que los pilares) y títulos alineados arriba */
.strategy__hex { display: block; width: min(100%, 290px); aspect-ratio: 1/1; padding: 5%; margin: 0 auto 14px; background: #e3f9ea; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.strategy__hex img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; aspect-ratio: auto; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.strategy__item summary { justify-content: flex-start; }
.strategy__title { min-height: 3.75em; display: block; align-self: center; }

/* Equipo: un integrante por vista en móvil, dos en tablet */
@media (max-width: 1080px) { .members .slider__track > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  .members .slider__track > * { flex-basis: 100%; }
  .member img { width: min(78%, 240px); }
  .phero--crop > img { aspect-ratio: 4/3; object-position: 12% top; }
  .phero__text { width: 100%; }
  .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .regions { gap: 24px; }
}
@media (max-width: 1080px) and (min-width: 641px) { .phero__text { width: min(50%, 470px); } }
@media (max-width: 900px) and (min-width: 641px) { .phero__text { width: 100%; } }
@media (max-width: 1080px) {
  .regions { grid-template-columns: 1fr; gap: 28px; }
  .regions__map img { width: min(70%, 340px); }
}
@media (max-width: 640px) {
  .strategy__title { min-height: 0; }
  .sector__name { font-size: .78rem; overflow-wrap: normal; }
}

/* Equipo: puntos del carrusel (en escritorio caben los 4, se ocultan) y flechas visibles en celular */
.members .slider__dots { margin-top: 18px; }
.members .slider__dots button { width: 12px; height: 12px; background: rgba(0,37,17,.3); }
.members .slider__dots button.is-active { background: var(--dark); }
@media (min-width: 1081px) { .members .slider__dots { display: none; } }
@media (max-width: 640px) {
  .members .slider__btn { display: grid; place-items: center; top: 38%; }
  .members .slider__btn--prev { left: 4px; } .members .slider__btn--next { right: 4px; }
}

/* =========================================================
   V6 — Ajustes adicionales cliente 19-nov
   ========================================================= */
/* Actualidad: la foto de la nota principal no invade el texto */
.post-feature__img, .post-card__img, .mini-post__img { display: block; position: relative; }
.post-feature__img img { position: absolute; inset: 0; }
/* Nosotros: la línea de tiempo ya no se sube sobre el banner */
.timeline-card { margin-top: 48px; }
@media (max-width: 640px) {
  .timeline-card { margin-top: 24px; }
  /* Portadas Nosotros y Modelo OxI: correr la foto para que no se corten las personas de la izquierda */
  .phero--crop > img { object-position: 0% top; }
}
