/* =====================================================================
   FAEI × Visión — Sistema diagonal de colores puros (rev. 2)
   Misión FAEI-MUESTRA-SISTEMA-20261126 · 26-11-2026
   - Cero curvas u ondas: solo líneas diagonales pronunciadas (--diag-h)
   - 1 color principal por sección, conexión directa 1-a-1 sin intermedios
   ===================================================================== */

/* ---------- Base ---------- */
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--c-white);
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  border-radius: var(--r-pill);
  background: var(--action-bg);
  color: var(--c-white);
  font-weight: 600;
}

/* ---------- Botones píldora ---------- */
.button,
.site-nav .nav-cta,
.header-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  background: var(--action-bg);
  border: 2px solid var(--action-bg);
  color: var(--c-white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.button:hover,
.site-nav .nav-cta:hover,
.header-nav-cta:hover {
  background: var(--action-bg-hover);
  border-color: var(--action-bg-hover);
  color: var(--c-white);
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  background: transparent;
  color: var(--c-violet-500);
  border: 2px solid var(--c-violet-500);
}

.button-secondary:hover {
  background: var(--c-violet-500);
  border-color: var(--c-violet-500);
  color: var(--c-white);
}

/* ---------- Shell compartido (Grafito superior + Cabecera blanca pura) ---------- */
.demo-banner {
  background: var(--c-graphite-800);
  color: var(--c-graphite-300);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 500;
  padding-block: 0.35rem;
}

.utility-bar {
  background: var(--c-graphite-800);
  color: var(--c-white);
  border: 0;
  font-size: 0.8rem;
}

.utility-inner {
  min-height: 2.35rem;
}

.utility-inner a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--c-white);
  font-weight: 500;
  text-decoration: none;
}

.utility-inner a:hover {
  color: var(--c-orange-400);
}

.utility-icon {
  display: inline-flex;
  align-items: center;
  margin: 0;
  border: 0;
  padding: 0;
}

.utility-icon svg {
  width: 16px;
  height: 16px;
  color: var(--c-orange-400);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  min-height: 4.75rem;
}

.brand-logo {
  width: 196px;
  height: auto;
  max-width: 100%;
}

.site-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-graphite-800);
  text-decoration: none !important;
  padding-block: 0.35rem;
  border-bottom: 3px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--c-graphite-800);
  border-bottom-color: var(--c-orange-500);
  text-decoration: none !important;
}

.site-nav a[aria-current="page"],
.site-nav a.page-current {
  color: var(--c-graphite-800);
  border-bottom-color: var(--c-orange-500);
  text-decoration: none !important;
}

.nav-toggle {
  border-radius: var(--r-pill);
  border: 2px solid var(--c-graphite-800);
  color: var(--c-graphite-800);
  background: var(--c-white);
  font-family: var(--font);
  font-weight: 600;
  padding: 0.45rem 1rem;
}

/* ---------- Pie de página (Blanco puro) ---------- */
.site-footer {
  background: var(--c-white);
  border-top: 0;
  color: var(--c-graphite-500);
  padding-top: 3.5rem;
}

.footer-grid-v2 strong {
  color: var(--c-graphite-800);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-grid-v2 a {
  color: var(--c-graphite-500);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-grid-v2 a:hover {
  color: var(--c-violet-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand {
  display: inline-flex;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 0.9rem;
}

.footer-brand .brand-logo {
  width: 176px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--c-orange-100);
  color: var(--c-orange-500);
}

.footer-social-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  border-top: 1px solid var(--c-line);
  color: var(--c-graphite-500);
  font-size: 0.84rem;
}

/* =====================================================================
   PORTADA (.home-v2)
   Secuencia de colores puros 1-a-1 con divisores diagonales pronunciados:
   1. Hero: NARANJA (#F47721) ↘ BLANCO (#FFFFFF)
   2. Pilares escalera: BLANCO (#FFFFFF) ↗ GRAFITO (#353538)
   3. Experiencia y evidencia: GRAFITO (#353538) ↘ BLANCO (#FFFFFF)
   4. Tres pilares detallados: BLANCO (#FFFFFF) ↗ GRAFITO (#353538)
   5. Metodología: GRAFITO (#353538) ↘ NARANJA (#F47721)
   6. Caso Lago Budi: NARANJA (#F47721) ↗ BLANCO (#FFFFFF)
   7. Equipo (FAEI + Visión) y Recursos: BLANCO (#FFFFFF) ↘ VIOLETA (#93278F)
   8. Cierre CTA: VIOLETA (#93278F) ↗ BLANCO (#FFFFFF)
   9. Pie de página: BLANCO (#FFFFFF)
   ===================================================================== */
.home-v2 {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--c-white);
}

.home-v2 p {
  line-height: var(--lh-body);
}

/* --- 1. APERTURA · NARANJA PURO (#F47721) ↘ BLANCO (#FFFFFF) --- */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-orange-500);
  color: var(--text-on-orange);
  padding: clamp(3.5rem, 5.5vw, 5.25rem) 0 calc(var(--diag-h) + 5rem);
  min-height: 670px;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/media/hero-education.jpg") 82% 40% / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--c-orange-500);
  clip-path: polygon(0 0, 62% 0, 49% 100%, 0 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  top: auto;
  width: 100%;
  height: var(--diag-h);
  border-radius: 0;
  transform: none;
  z-index: 1;
  pointer-events: none;
  background: var(--c-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.home-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 0;
}

.home-hero-copy {
  max-width: 560px;
}

.home-kicker {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1rem;
}

.home-kicker::before {
  content: "+";
  position: static;
  display: inline-flex;
  align-items: center;
  height: 1.19rem;
  flex: none;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-white);
  transform: translateY(-0.5px);
}

.home-v2 .home-display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.025em;
  max-width: 17ch;
  color: var(--c-white);
  margin: 0;
}

.home-hero-text {
  color: var(--c-white);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.6;
  max-width: 44ch;
  margin-top: 1.3rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.85rem;
}

.home-v2 .home-hero .button {
  background: var(--c-violet-500);
  color: var(--c-white);
  border: 3px solid var(--c-white);
  border-radius: var(--r-pill);
  padding: 13px 26px;
}

.home-v2 .home-hero .button:hover {
  background: var(--action-bg-hover);
  border-color: var(--c-white);
  color: var(--c-white);
}

.home-v2 .home-hero .button-secondary {
  background: var(--c-white);
  color: var(--c-violet-900);
  border: 2px solid var(--c-white);
}

.home-v2 .home-hero .button-secondary:hover {
  background: var(--c-orange-100);
  border-color: var(--c-orange-100);
  color: var(--c-violet-900);
}

.home-v2 .home-hero a:focus-visible {
  outline-color: var(--c-white);
}

/* --- 2. TRES PILARES EN ESCALERA (REPLANTEADA) · BLANCO PURO (#FFFFFF) ↗ GRAFITO (#353538) --- */
.home-pillar-nav {
  position: relative;
  z-index: 3;
  background: var(--c-white);
  margin-top: 0;
  padding: 1px 0 calc(var(--diag-h) + 3.5rem);
}

.home-pillar-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-graphite-800);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 0;
}

.home-pillar-nav-grid {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--diag-h) + 28px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.home-pillar-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  min-height: 340px;
  padding: 28px 26px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-fast) var(--ease);
}

.home-pillar-tile.home-pillar-link:nth-child(1) { margin-top: 56px; }
.home-pillar-tile.home-pillar-link:nth-child(2) { margin-top: 28px; }
.home-pillar-tile.home-pillar-link:nth-child(3) { margin-top: 0; }

.home-pillar-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-3);
  border-color: var(--c-orange-500);
}

.home-pillar-number {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 66px;
  height: 52px;
  padding-inline: 14px;
  border-radius: var(--r-tab);
  background: var(--c-orange-500);
  color: var(--text-on-orange);
  font-size: 1.25rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.home-v2 .home-pillar-tile .home-icon-slot {
  align-self: flex-start;
  margin: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: var(--c-orange-100);
  color: var(--c-orange-500);
}

.home-pillar-tile .home-icon-slot svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.9;
}

.home-v2 .home-pillar-tile-title {
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.24;
  max-width: 22ch;
  color: var(--c-graphite-800);
  padding-right: 20px;
  margin-top: 0.2rem;
}

.home-pillar-tile-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--c-graphite-500);
}

.home-pillar-subtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.25rem;
}

.home-pillar-subtags > span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: #F3F3F6;
  color: var(--c-graphite-800);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.3;
}

.home-pillar-subtags > .home-pillar-more {
  background: var(--c-orange-100);
  color: var(--c-orange-500);
  font-weight: 700;
}

.home-pillar-tile-cta {
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-violet-500);
}

.home-pillar-nav-foot {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.home-pillar-nav-foot p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--c-graphite-500);
}

.home-pillar-nav-foot strong {
  color: var(--c-graphite-800);
}

.home-pillar-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 2px solid var(--c-violet-500);
  color: var(--c-violet-500);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.home-pillar-all-link:hover {
  background: var(--c-violet-500);
  color: var(--c-white);
}

/* --- 3. EXPERIENCIA Y EVIDENCIA · GRAFITO PURO (#353538) ↘ BLANCO (#FFFFFF) --- */
.home-trust {
  position: relative;
  background: var(--c-graphite-800);
  color: var(--c-white);
  border: 0;
  padding: clamp(3rem, 5vw, 4.5rem) 0 calc(var(--diag-h) + 4.5rem);
}

.home-trust::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.home-trust-heading .home-section-heading {
  padding: 0 0 2.5rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem 3.5rem;
  align-items: end;
}

.home-trust .home-section-kicker {
  color: var(--c-orange-400);
  letter-spacing: 0.22em;
}

.home-trust .home-section-kicker::before {
  content: "+ ";
  font-weight: 800;
}

.home-v2 .home-trust .home-section-title {
  color: var(--c-orange-400);
  font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.65rem);
  line-height: 1.12;
  max-width: 24ch;
}

.home-trust .home-section-text {
  color: var(--c-white);
  font-size: 1.04rem;
  max-width: 48ch;
}

.home-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border: 0;
  padding: 0;
  margin: 0 0 2.25rem;
}

.home-proof-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: 24px 20px;
  gap: 0.35rem;
}

.home-proof-stat strong {
  font-size: clamp(2.1rem, 2.7vw, 3rem);
  font-weight: 800;
  color: var(--c-orange-400);
  line-height: 1;
}

.home-proof-stat span {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--c-white);
}

.home-proof-stat small {
  font-size: 0.78rem;
  color: var(--c-graphite-300);
}

.home-logo-strip {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-2);
  gap: 18px;
  align-items: stretch;
}

.home-logo-chip {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  min-height: 112px;
  padding: 14px 12px;
  flex: 1 1 145px;
  gap: 0.65rem;
}

.home-logo-chip img {
  max-height: 52px;
  filter: none;
}

.home-logo-chip figcaption {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--c-graphite-500);
  font-weight: 500;
}

/* --- 4. TRES PILARES DETALLADOS · BLANCO PURO (#FFFFFF) ↗ GRAFITO (#353538) --- */
#pilares {
  background: var(--c-white);
  padding-top: 1.5rem;
}

.home-v2 > #pilares .home-section-heading {
  display: block;
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.5rem, 4vw, 3.5rem);
}

.home-v2 > #pilares .home-section-kicker {
  color: var(--c-orange-500);
  letter-spacing: 0.24em;
}

.home-v2 > #pilares .home-section-kicker::before {
  content: "+ ";
  font-weight: 800;
}

.home-v2 > #pilares .home-section-title {
  max-width: none;
  font-size: var(--fs-h2);
  color: var(--c-graphite-800);
  margin: 0.9rem 0 1rem;
}

.home-v2 > #pilares .home-section-text {
  max-width: 56ch;
  margin-inline: auto;
  color: var(--c-graphite-500);
  font-size: 1.06rem;
}

.home-pillar,
.home-pillar--1,
.home-pillar--2,
.home-pillar--3 {
  position: relative;
  padding: 0 0 var(--s-7);
  background: var(--c-white);
  overflow: hidden;
}

.home-pillar--3 {
  padding-bottom: calc(var(--diag-h) + 4rem);
}

.home-pillar--3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-graphite-800);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.home-pillar .home-pillar-layout {
  max-width: none;
  width: 100%;
  padding: 0;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.home-pillar-visual {
  min-height: 490px;
  height: 100%;
  position: relative;
}

.home-pillar-visual > .home-visual,
.home-pillar--2 .home-pillar-visual > .home-visual,
.home-pillar--3 .home-pillar-visual > .home-visual {
  height: 100%;
  min-height: 490px;
  aspect-ratio: auto;
  max-height: none;
  border-radius: 0;
  border: 0;
  padding: 0;
  background: var(--c-graphite-800);
  mask-image: none;
  -webkit-mask-image: none;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

.home-pillar--2 .home-pillar-visual > .home-visual {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%);
}

.home-pillar-inset {
  right: calc(14% - 34px);
  bottom: 24px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-2);
}

.home-pillar--2 .home-pillar-inset {
  left: calc(14% - 34px);
  right: auto;
}

.home-pillar-inset .home-icon-slot {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-orange-100);
  color: var(--c-orange-500);
  border: 0;
}

.home-pillar-copy {
  padding: 52px max(40px, calc((100vw - 1200px) / 2)) 52px 64px;
  align-self: center;
}

.home-pillar--2 .home-pillar-copy {
  padding: 52px 64px 52px max(40px, calc((100vw - 1200px) / 2));
}

.home-pillar-copy .home-section-kicker {
  color: var(--c-orange-500);
  letter-spacing: 0.2em;
  font-size: 0.82rem;
}

.home-pillar-copy .home-section-kicker::before {
  content: "+ ";
  font-weight: 800;
}

.home-pillar-copy h2 {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-graphite-800);
  max-width: 22ch;
  margin: 0.9rem 0 1.2rem;
}

.home-pillar-copy p {
  color: var(--c-graphite-500);
  max-width: 48ch;
  font-size: 1.04rem;
}

.home-topic-list {
  display: block;
  margin: 1.4rem 0 0;
  max-width: 42ch;
}

.home-topic-list li {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 6px 0 6px 20px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--c-graphite-800);
  position: relative;
}

.home-topic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-orange-500);
}

.home-pillar-copy > a,
.home-team-copy > a,
.home-resource-card > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.5rem;
  color: var(--c-violet-500);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.home-pillar-copy > a:hover,
.home-team-copy > a:hover,
.home-resource-card > a:hover {
  border-bottom-color: currentColor;
}

/* --- 5. METODOLOGÍA · GRAFITO PURO (#353538) ↘ NARANJA (#F47721) --- */
.home-process {
  position: relative;
  background: var(--c-graphite-800);
  color: var(--c-white);
  padding: clamp(3rem, 5vw, 4.5rem) 0 calc(var(--diag-h) + 4.5rem);
  isolation: isolate;
}

.home-process::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-orange-500);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.home-process-head .home-section-kicker {
  color: var(--c-orange-400);
  letter-spacing: 0.22em;
}

.home-process-head .home-section-kicker::before {
  content: "+ ";
  font-weight: 800;
}

.home-process-head .home-section-title {
  color: var(--c-white);
  font-size: var(--fs-h2);
  max-width: 24ch;
  line-height: 1.12;
}

.home-process-head .home-section-text {
  color: #E7E7EE;
  font-size: 1.05rem;
  max-width: 58ch;
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-process-step {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  color: var(--c-graphite-500);
  border: 0;
  border-radius: var(--r-md);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow-2);
}

.home-process-step > span:not(.home-icon-slot) {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 58px;
  height: 46px;
  border-radius: var(--r-tab);
  background: var(--c-orange-500);
  color: var(--text-on-orange);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  display: grid;
  place-items: center;
}

.home-process-step .home-icon-slot {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 0;
  background: var(--c-orange-100);
  color: var(--c-orange-500);
  margin-bottom: 1rem;
}

.home-process-step h3 {
  color: var(--c-graphite-800);
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}

.home-process-step p {
  color: var(--c-graphite-500);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

/* --- 6. CASO LAGO BUDI · NARANJA PURO (#F47721) ↗ BLANCO (#FFFFFF) --- */
.home-case {
  position: relative;
  background: var(--c-orange-500);
  padding: clamp(3rem, 5vw, 4.5rem) 0 calc(var(--diag-h) + 4.5rem);
}

.home-case::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.home-case-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.home-case-media .home-visual {
  width: 100%;
  min-width: 0;
  min-height: 380px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  border: 0;
  padding: 0;
  background: var(--c-graphite-800);
  box-shadow: var(--shadow-3);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.home-case-copy {
  background: var(--c-white);
  border: 0;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: clamp(2rem, 3.5vw, 3rem);
}

.home-case-copy .home-section-kicker {
  color: var(--c-orange-500);
  letter-spacing: 0.2em;
}

.home-case-copy .home-section-kicker::before {
  content: "+ ";
  font-weight: 800;
}

.home-case-copy .home-section-title {
  color: var(--c-graphite-800);
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.35rem);
  line-height: 1.16;
  max-width: 22ch;
}

.home-case-copy .home-section-text {
  color: var(--c-graphite-500);
}

.home-case-copy .button {
  margin-top: 1.65rem;
}

/* --- 7. EQUIPO + RECURSOS · BLANCO PURO (#FFFFFF) ↘ VIOLETA (#93278F) --- */
.home-team {
  background: var(--c-white);
  border: 0;
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4rem);
}

.home-team-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.home-team-media .home-visual {
  width: 100%;
  min-width: 0;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  border: 0;
  padding: 0;
  box-shadow: var(--shadow-2);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.home-team-copy .home-section-kicker {
  color: var(--c-orange-500);
  letter-spacing: 0.2em;
}

.home-team-copy .home-section-kicker::before {
  content: "+ ";
  font-weight: 800;
}

.home-team-copy .home-section-title {
  color: var(--c-graphite-800);
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.35rem);
  line-height: 1.16;
  max-width: 22ch;
}

.home-team-copy .home-section-text {
  color: var(--c-graphite-500);
}

.home-sister-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin: 1.75rem 0 0.5rem;
}

.home-sister-brands > * {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.home-sister-brands .home-brand-logo { width: 175px; height: auto; }
.home-sister-brands .vision-brand-logo { width: 210px; }

.home-resources {
  position: relative;
  background: var(--c-white);
  padding: clamp(3rem, 5vw, 4rem) 0 calc(var(--diag-h) + 4.5rem);
}

.home-resources > .container {
  border-top: 1px solid var(--c-line);
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.home-resources::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-violet-500);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.home-resources .home-section-heading {
  display: block;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0;
}

.home-resources .home-section-kicker {
  color: var(--c-orange-500);
  letter-spacing: 0.22em;
}

.home-resources .home-section-kicker::before {
  content: "+ ";
  font-weight: 800;
}

.home-resources .home-section-title {
  color: var(--c-graphite-800);
  font-size: var(--fs-h2);
  max-width: none;
  margin-top: 0.75rem;
}

.home-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-resource-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  padding: 0 0 24px;
  gap: 0.75rem;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.home-resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.home-resource-media > .home-visual {
  border-radius: 0;
  border: 0;
  padding: 0;
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.home-resource-type {
  align-self: flex-start;
  margin: 18px 24px 0;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--c-orange-100);
  color: var(--c-orange-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-resource-card h3 {
  margin: 0 24px;
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--c-graphite-800);
}

.home-resource-card p:not(.home-resource-type) {
  margin: 0 24px;
  font-size: 0.94rem;
  color: var(--c-graphite-500);
}

.home-resource-card > a {
  margin: auto 24px 0;
  padding-top: 0.5rem;
  align-self: flex-start;
}

/* --- 8. CIERRE CTA · VIOLETA PURO (#93278F) ↗ BLANCO (#FFFFFF) --- */
.home-closing {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--c-violet-500);
  color: var(--c-white);
  padding: clamp(3.5rem, 6vw, 5rem) 0 calc(var(--diag-h) + 4.5rem);
  box-shadow: none;
}

.home-closing-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-violet-500);
}

.home-closing::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.home-closing-inner {
  position: relative;
  z-index: 1;
}

.home-closing h2 {
  color: var(--c-white);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  line-height: 1.1;
  max-width: 22ch;
}

.home-closing p {
  color: var(--c-white);
  opacity: 0.94;
  max-width: 48ch;
  font-size: 1.08rem;
}

.home-v2 .home-closing .button {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-violet-500);
  border-radius: var(--r-pill);
  font-weight: 700;
  margin-top: 1.85rem;
}

.home-v2 .home-closing .button:hover {
  background: var(--c-orange-100);
  border-color: var(--c-orange-100);
  color: var(--c-violet-900);
}

.home-v2 .home-closing a:focus-visible {
  outline-color: var(--c-white);
}

/* =====================================================================
   PÁGINAS INTERIORES (11 rutas)
   - Todos los heros divididos por diagonal con foto full-bleed a la derecha
   - Cero bordes de sección de ancho completo (solo separador contenido)
   - Grillas limpias con separación real (cero cajas pegadas)
   - Unión directa sin triángulos blancos entre secciones de color distinto
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-graphite-800);
  color: var(--c-white);
  border: 0 !important;
  padding: clamp(3.5rem, 5.5vw, 5rem) 0 calc(var(--diag-h) + 4.25rem);
  min-height: 500px;
}

/* Foto interior integrada como fondo derecho dividido por diagonal */
.hero:has(.hero-photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--c-graphite-800);
  clip-path: polygon(0 0, 62% 0, 49% 100%, 0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 2;
}

.hero:has(.hero-photo) > .container.split,
.hero .split {
  position: static;
  display: block !important;
}

.hero .hero-copy {
  position: relative;
  z-index: 3;
  max-width: 540px;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 44%;
  width: auto;
  height: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: auto;
  box-shadow: none;
  clip-path: none;
  z-index: 0;
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--c-graphite-300);
  margin-bottom: 1rem;
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  color: var(--c-orange-400);
  font-weight: 600;
  text-decoration: none !important;
  transition: color var(--t-fast) var(--ease);
}

.breadcrumb a:hover {
  color: var(--c-white);
  text-decoration: none !important;
}

.breadcrumb-home svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero .eyebrow {
  color: var(--c-orange-400);
}

.eyebrow,
.section-index {
  color: var(--c-orange-500);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "+ ";
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.09;
  color: var(--c-white);
  max-width: 18ch;
}

.hero .lead {
  color: #E7E7EE;
  font-size: var(--fs-lead);
  line-height: 1.6;
  max-width: 44ch;
}

.hero .button {
  background: var(--c-violet-500);
  border: 2px solid var(--c-white);
  color: var(--c-white);
}

.hero .button:hover {
  background: var(--action-bg-hover);
  border-color: var(--c-white);
}

.hero .button-secondary {
  background: var(--c-white);
  border: 2px solid var(--c-white);
  color: var(--c-graphite-800);
}

.hero .button-secondary:hover {
  background: var(--c-orange-100);
  border-color: var(--c-orange-100);
  color: var(--c-violet-900);
}

/* Secciones interiores: cero bordes de ancho completo, solo separador contenido */
.section,
.section:nth-of-type(even) {
  position: relative;
  padding: clamp(3rem, 5vw, 4.25rem) 0;
  background: var(--c-white);
  border: 0 !important;
  margin: 0;
}

.section:not([data-pattern="base-process"]) + .section:not([data-pattern="base-process"]) > .container,
#formulario > .section > .container {
  border-top: 1px solid var(--c-line);
  padding-top: clamp(3rem, 5vw, 4.25rem);
}

/* Proceso interior: GRAFITO PURO con diagonales limpias */
.section[data-pattern="base-process"] {
  background: var(--c-graphite-800);
  color: var(--c-white);
  padding: calc(var(--diag-h) + 3.5rem) 0 calc(var(--diag-h) + 3.5rem);
  margin: 0 !important;
  border: 0 !important;
}

.section[data-pattern="base-process"] > .container {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.section[data-pattern="base-process"]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.section[data-pattern="base-process"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

/* Unión directa GRAFITO -> VIOLETA sin triángulo blanco intermedio (ej. servicios.html) */
.section[data-pattern="base-process"]:has(+ .cta-band)::after {
  background: var(--c-violet-500) !important;
}

.section[data-pattern="base-process"] + .cta-band {
  padding-top: clamp(2.5rem, 4.5vw, 4rem) !important;
}

.section[data-pattern="base-process"] + .cta-band::before {
  display: none !important;
}

.section[data-pattern="base-process"] .section-index { color: var(--c-orange-400); }
.section[data-pattern="base-process"] h2 { color: var(--c-white); }
.section[data-pattern="base-process"] .section-intro { color: #E7E7EE; }

.section[data-pattern="base-process"] .section-note {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--c-white);
}

.section[data-pattern="base-process"] + .section > .container {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* Encabezados de sección interiores · Opción B (apilado y centrado) */
.section-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  gap: 0.85rem !important;
  max-width: 66ch;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 auto 2.75rem !important;
}

.section-heading h2 {
  font-size: var(--fs-h2);
  color: var(--c-graphite-800);
  max-width: 24ch;
  margin: 0.4rem auto 0;
}

.section-intro {
  color: var(--c-graphite-500);
  font-size: 1.04rem;
  margin: 0 auto;
  max-width: 56ch;
}

.section-note {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-graphite-500);
  font-size: 0.78rem;
  font-weight: 500;
}

/* Grillas con separación real (corrige cajas pegadas y bordes fantasma de faei.css) */
.cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cards:has(> :nth-child(2):last-child),
.cards:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.card,
.step {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--c-white);
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-1) !important;
  padding: 30px 26px 26px !important;
  margin: 0 !important;
}

.card-number {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 54px;
  height: 44px;
  padding-inline: 10px;
  border-radius: var(--r-tab);
  background: var(--c-orange-500);
  color: var(--text-on-orange);
  font-size: 1rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.card h3,
.step h3 {
  padding-right: 52px;
  color: var(--c-graphite-800);
  font-size: 1.2rem;
  margin: 0 !important;
}

.card p,
.step p {
  color: var(--c-graphite-500);
  margin: 0 !important;
}

/* Prosa editorial (#proposito, #trayectoria, privacidad, budi): tarjeta limpia vertical */
.prose-grid,
.section .split {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)) !important;
  gap: 24px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.prose-item,
.split > .prose-item {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.85rem !important;
  background: var(--c-white) !important;
  border: 1px solid var(--c-line) !important;
  border-left: 5px solid var(--c-orange-500) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-1) !important;
  padding: 30px 32px !important;
  margin: 0 auto !important;
  width: 100%;
  max-width: 820px;
}

.prose-item h2,
.prose-item h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--c-graphite-800);
  font-size: 1.28rem;
}

.prose-item p {
  margin: 0 !important;
  max-width: 68ch;
  color: var(--c-graphite-500);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--c-violet-500);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.card-link:hover {
  border-bottom-color: currentColor;
}

/* Grilla de logos en experiencia.html (separada, sin borde contenedor y a color real) */
.logo-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.logo-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-align: center;
  min-height: 152px;
  background: var(--c-white) !important;
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-1) !important;
  padding: 22px 16px !important;
  margin: 0 !important;
}

.logo-item img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: none !important;
}

.logo-item figcaption {
  color: var(--c-graphite-500);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

/* FAQ */
.faq-list {
  display: grid !important;
  gap: 16px !important;
  border: 0 !important;
  margin: 0 !important;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-1) !important;
  padding: 1.15rem 1.4rem !important;
  margin: 0 !important;
}

.faq-item summary {
  font-weight: 700;
  color: var(--c-graphite-800);
  cursor: pointer;
}

.faq-item p {
  color: var(--c-graphite-500);
  margin-top: 0.75rem;
}

/* Contacto: canales, mapa, redes, formulario */
.contact-channel-grid {
  gap: 20px !important;
}

.contact-channel {
  background: var(--c-white);
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-1) !important;
  align-items: center;
  margin: 0 !important;
}

.contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--c-orange-100);
  color: var(--c-orange-500);
}

.contact-channel-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-map-placeholder {
  min-height: 8.5rem;
  border-radius: var(--r-md);
  background: var(--c-graphite-800);
  border: 0;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
}

.contact-map-placeholder strong {
  display: block;
  color: var(--c-white);
  font-size: 1.1rem;
}

.contact-map-placeholder p {
  margin: 0.25rem 0 0;
  color: var(--c-graphite-300);
  font-size: 0.94rem;
}

.contact-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem 0.55rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  background: var(--c-white);
  color: var(--c-graphite-800);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-1);
}

.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-1) !important;
  padding: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.form-field label {
  color: var(--c-graphite-800);
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: var(--r-sm);
  border: 1.5px solid var(--c-graphite-300);
  font-family: var(--font);
  color: var(--c-graphite-800);
  background: var(--c-white);
  padding: 0.75rem 0.9rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-violet-500);
}

.form-result {
  color: var(--c-success);
  font-weight: 600;
}

/* Banda CTA interior · VIOLETA PURO (#93278F) con botón centrado verticalmente */
.cta-band {
  position: relative;
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: var(--c-violet-500);
  color: var(--c-white);
  padding: calc(var(--diag-h) + 3.25rem) 0 calc(var(--diag-h) + 3.5rem);
  box-shadow: none;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--diag-h);
  background: var(--c-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.cta-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 2rem 3rem !important;
  flex-wrap: wrap;
}

.cta-inner > div {
  max-width: 640px;
}

.cta-inner > .button {
  align-self: center !important;
  flex-shrink: 0;
}

.cta-band .eyebrow { color: var(--c-orange-100); }
.cta-band h2 { color: var(--c-white); margin: 0.5rem 0 0.75rem; }
.cta-band p { color: var(--c-white); opacity: 0.94; margin: 0; }

.cta-band .section-note {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--c-white);
  margin-top: 1.15rem;
}

.cta-band .button {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-violet-500);
  font-weight: 700;
}

.cta-band .button:hover {
  background: var(--c-orange-100);
  border-color: var(--c-orange-100);
  color: var(--c-violet-900);
}

.cta-band a:focus-visible { outline-color: var(--c-white); }

/* =====================================================================
   RESPONSIVE (tablet y móvil hasta 320px sin desborde)
   ===================================================================== */
@media (max-width: 1000px) {
  .home-hero::before,
  .hero:has(.hero-photo)::before {
    clip-path: polygon(0 0, 74% 0, 58% 100%, 0 100%);
  }
  .home-pillar-tile.home-pillar-link:nth-child(1),
  .home-pillar-tile.home-pillar-link:nth-child(2),
  .home-pillar-tile.home-pillar-link:nth-child(3) {
    margin-top: 0;
  }
  .home-pillar-nav-grid {
    margin-top: -54px;
  }
  .home-process-grid,
  .home-proof-stats,
  .cards,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .home-pillar-copy,
  .home-pillar--2 .home-pillar-copy {
    padding: 40px 32px;
  }
}

@media (max-width: 760px) {
  .section-heading {
    margin-bottom: 2rem !important;
  }
  .home-pillar-nav-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: -28px;
  }
  .home-pillar-tile {
    min-height: 0;
    padding: 24px 22px;
  }
  .home-trust-heading .home-section-heading,
  .home-pillar .home-pillar-layout,
  .home-case-layout,
  .home-team-layout,
  .home-resource-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .home-pillar--2 .home-pillar-visual {
    order: 0;
  }
  .home-pillar-visual,
  .home-pillar-visual > .home-visual,
  .home-pillar--2 .home-pillar-visual > .home-visual,
  .home-pillar--3 .home-pillar-visual > .home-visual {
    min-height: 0;
    height: 290px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  }
  .home-pillar-copy,
  .home-pillar--2 .home-pillar-copy {
    padding: 16px var(--gutter) 36px;
  }
  .home-pillar-inset,
  .home-pillar--2 .home-pillar-inset {
    left: auto;
    right: 18px;
    bottom: 24px;
    z-index: 2;
  }
  /* Hero interior móvil: misma solución diagonal que portada */
  .hero:has(.hero-photo) {
    min-height: 0;
    padding: 2.5rem 0 0;
  }
  .hero:has(.hero-photo)::before {
    inset: 0 0 215px 0;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  }
  .hero .hero-photo {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    height: 270px;
  }
  .hero:has(.hero-photo) .hero-actions {
    padding-bottom: 275px;
  }
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  .cta-inner {
    align-items: flex-start !important;
  }
}

@media (max-width: 600px) {
  .utility-inner {
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding-block: 0.35rem;
  }
  .utility-inner a {
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .header-inner {
    min-height: 4rem;
  }
  .header-nav-cta {
    display: none;
  }
  .brand-logo {
    width: 158px;
  }
  .home-hero {
    min-height: 0;
    padding: 2.5rem 0 0;
  }
  .home-hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-hero-bg {
    top: auto;
    height: 280px;
    bottom: 0;
    background: url("../assets/media/hero-education.jpg") 65% center / cover no-repeat;
  }
  .home-hero::before {
    inset: 0 0 215px 0;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
  }
  .home-v2 .home-display {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    max-width: 18ch;
  }
  .home-hero-text {
    font-size: 0.98rem;
  }
  .home-hero-actions {
    padding-bottom: 280px;
    gap: 0.7rem;
  }
  .home-v2 .home-hero .button {
    width: 100%;
    max-width: 320px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  .home-pillar-nav-grid {
    margin-top: 16px;
  }
  .home-proof-stats,
  .home-process-grid,
  .cards,
  .cards:has(> :nth-child(2):last-child),
  .cards:has(> :nth-child(4):last-child),
  .steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .home-case-media .home-visual,
  .home-team-media .home-visual {
    min-height: 240px;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  }
  .home-sister-brands .home-brand-logo { width: 145px; }
  .home-sister-brands .vision-brand-logo { width: 175px; }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .home-pillar-tile,
  .home-resource-card,
  .home-pillar-all-link,
  .site-nav a {
    transition: none;
  }
  .home-pillar-tile:hover,
  .home-resource-card:hover {
    transform: none;
  }
}


/* ============================================================================
   PÁGINA DEDICADA · GIRA DE APRENDIZAJE EXPERIENCIAL «3 FRONTERAS»
   ============================================================================ */
.gira-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.gira-list li,
.section[data-pattern="base-process"] .gira-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #4A4A52 !important;
}

.gira-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-orange-500);
}

.gira-sponsor-bar {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding: clamp(1.5rem, 2.8vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--c-white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.gira-sponsor-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
}

.gira-sponsor-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5C5C66;
}

.gira-sponsor-logo {
  height: 40px;
  width: auto;
  display: block;
}

.gira-sponsor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.gira-sponsor-actions .card-link {
  margin-top: 0;
}

@media (max-width: 760px) {
  .gira-sponsor-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .gira-sponsor-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .gira-sponsor-actions .button {
    text-align: center;
  }
}


/* Espacios de fotografía placeholder · Gira 3 Fronteras */
.gira-photo-slot {
  margin: 0.9rem 0 1.15rem;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #F4F4F7;
  border: 1.5px dashed #CECED8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem;
  text-align: center;
}

.gira-photo-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E4E4EC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange-500);
}

.gira-photo-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gira-photo-label,
.section[data-pattern="base-process"] .gira-photo-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #63636E !important;
}

.gira-gallery {
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gira-gallery .gira-photo-slot--wide {
  margin: 0;
  aspect-ratio: 16 / 10;
}

@media (max-width: 820px) {
  .gira-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* ============================================================================
   CARRUSEL DE EXPERIENCIAS RESCATADAS · experiencia.html
   ============================================================================ */
#galeria-experiencias {
  overflow-x: clip;
}

.exp-carousel {
  margin-top: 2.25rem;
}

.exp-carousel-viewport {
  overflow: hidden;
  padding: 24px 24px 48px;
  margin: -24px -24px -32px;
}

.exp-carousel-track {
  position: relative;
  display: flex;
  gap: 36px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.exp-slide {
  flex: 0 0 calc((100% - 72px) / 3);
  min-width: 0;
  background: var(--c-white);
  border-radius: 20px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 22px -6px rgba(0, 0, 0, 0.30);
}

.exp-slide-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ECECF2;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.exp-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exp-slide-media .card-number {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  border-radius: 0 20px 0 16px;
}

.exp-slide-body {
  padding: 1.4rem 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.exp-slide-meta {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange-500) !important;
}

.exp-slide-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--c-graphite-800) !important;
}

.exp-slide-body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #4A4A52 !important;
}

.exp-carousel-dots {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.exp-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.exp-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.exp-carousel-dot.is-active {
  width: 28px;
  background: var(--c-orange-500);
}

a.contact-social-pill {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

a.contact-social-pill:hover {
  border-color: var(--c-violet-500);
  color: var(--c-violet-500);
  transform: translateY(-1px);
}

@media (max-width: 1040px) {
  .exp-slide {
    flex: 0 0 calc((100% - 36px) / 2);
  }
}

@media (max-width: 680px) {
  .exp-carousel-viewport {
    padding: 16px 16px 40px;
    margin: -16px -16px -24px;
  }
  .exp-carousel-track {
    gap: 24px;
  }
  .exp-slide {
    flex: 0 0 100%;
  }
}


/* Sin subrayado en hover para enlaces de pie, utilidades, tarjetas y canales */
.site-footer a,
.site-footer a:hover,
.site-footer a:focus-visible,
.utility-bar a,
.utility-bar a:hover,
.card-link,
.card-link:hover,
.contact-channel-value a,
.contact-channel-value a:hover,
.breadcrumb a,
.breadcrumb a:hover {
  text-decoration: none !important;
}
