/* ============================================
   EMPATIC — Design system
   ============================================ */

@view-transition {
  navigation: auto;
}

:root {
  --dark-teal: #0d3b40;
  --dark-teal-2: #0f4e54;
  --dark-teal-3: #123f42;
  --teal: #02a1a1;
  --teal-deep: #068587;
  --teal-soft: #3fb6ac;
  --yellow: #f0ad00;
  --gold-deep: #c9701a;
  --coral: #d9704f;

  --ink: #10302e;
  --ink-soft: #4a615f;
  --line: #ddc9a1;
  --bg-light: #f6efdd;
  --bg-tint: #e9d8b8;
  --surface: #f8f1e2;

  --white: #f6ecd7;
  --text-on-dark: rgba(246, 236, 215, 0.86);
  --text-on-dark-faint: rgba(246, 236, 215, 0.62);

  --font-head: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-brand: "Montserrat", "Segoe UI", sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --container: 1180px;
  --container-narrow: 760px;
  --section-pad: clamp(64px, 9vw, 112px);
  --section-pad-sm: clamp(40px, 6vw, 64px);

  --shadow-sm: 0 1px 2px rgba(16, 48, 46, 0.06);
  --shadow-md: 0 12px 28px rgba(16, 48, 46, 0.10);
  --shadow-dark: 0 20px 44px rgba(3, 16, 17, 0.35);

  --fs-h1: clamp(2.7rem, 4.8vw, 4rem);
  --fs-h2: clamp(2.1rem, 3.5vw, 2.9rem);
  --fs-h3: clamp(1.32rem, 1.8vw, 1.55rem);
  --fs-lead: clamp(1.15rem, 1.5vw, 1.3rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 112.5%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  overflow-x: hidden;
  overflow-wrap: break-word;
  animation: page-fade-in 0.5s ease both;
}

body.is-leaving {
  opacity: 0;
  transition: opacity 0.35s ease;
}

@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  body.is-leaving { transition: none; }
}

/* ---------- Hero / page-header entrance (above the fold, plays on load) ---------- */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-inner > *,
.page-header .container > * {
  animation: hero-fade-up 0.7s cubic-bezier(.2,.8,.2,1) both;
}

.hero-inner > *:nth-child(1), .page-header .container > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2), .page-header .container > *:nth-child(2) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(3), .page-header .container > *:nth-child(3) { animation-delay: 0.27s; }
.hero-inner > *:nth-child(4), .page-header .container > *:nth-child(4) { animation-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *,
  .page-header .container > * {
    animation: none;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

/* Solo se justifican los párrafos que NO son el primero de su sección
   (el texto de entrada/lead bajo cada título se mantiene como estaba). */
p ~ p {
  text-align: justify;
}


a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

section {
  position: relative;
}

.section {
  padding: var(--section-pad) 0;
}

.section-light { background: var(--bg-light); color: var(--ink); }
.section-tint  { background: rgba(2, 161, 161, 0.06); color: var(--ink); }
.section-dark  { background: var(--dark-teal); color: var(--text-on-dark); }

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark .card {
  color: var(--ink);
}

.section-dark .card h4 {
  color: var(--ink);
}

.section-dark .card p {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-dark .eyebrow { color: var(--yellow); }

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: var(--fs-h2);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-dark .section-head p {
  color: var(--text-on-dark);
}

.lede {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(2, 161, 161, 0.28);
}

.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.section-dark .btn-outline {
  color: var(--white);
  border-color: rgba(246, 236, 215, 0.35);
}

.section-dark .btn-outline:hover {
  border-color: var(--white);
  background: rgba(246, 236, 215, 0.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal);
  transition: gap 0.15s ease;
}

.link-arrow:hover {
  gap: 10px;
}

.section-dark .link-arrow { color: var(--yellow); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 59, 64, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(246, 236, 215, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav .brand-mark {
  width: 44px;
  height: 44px;
}

.brand-word {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--text-on-dark);
  opacity: 0.82;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--white);
  border-bottom-color: var(--yellow);
}

.nav-links-academy {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta .btn {
  background: var(--yellow);
  color: var(--dark-teal);
  box-shadow: none;
}

.nav-cta .btn:hover {
  background: #ffbe22;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ============================================
   PAGE HEADER (secciones internas)
   ============================================ */
.page-header {
  background:
    url("images/contour-lines.svg") center 38%/cover no-repeat,
    linear-gradient(160deg, var(--dark-teal-2) 0%, var(--dark-teal) 100%);
  padding: 80px 0 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header--soluciones  { background: linear-gradient(160deg, rgba(15,78,84,.74) 0%, rgba(13,59,64,.84) 100%), url("images/header-soluciones.jpg") center/cover no-repeat; }
.page-header--contacto    { background: linear-gradient(160deg, rgba(15,78,84,.74) 0%, rgba(13,59,64,.84) 100%), url("images/header-contacto.jpg") center/cover no-repeat; }
.page-header--negocios    { background: linear-gradient(160deg, rgba(15,78,84,.74) 0%, rgba(13,59,64,.84) 100%), url("images/team-wide.jpg") center/cover no-repeat; }
.page-header--negocios-sostenibles { background: linear-gradient(160deg, rgba(15,78,84,.74) 0%, rgba(13,59,64,.84) 100%), url("images/header-negocios-sostenibles.jpg") center/cover no-repeat; }
.page-header--novedades   { background: linear-gradient(160deg, rgba(15,78,84,.74) 0%, rgba(13,59,64,.84) 100%), url("images/handshake.jpg") center/cover no-repeat; }

/* Acciones Empáticas: header + banda de stats comparten una sola foto de fondo */
.ae-hero-band {
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 81px);
  background:
    linear-gradient(160deg, rgba(15,78,84,.74) 0%, rgba(13,59,64,.84) 100%),
    url("images/header-experiencia.jpg") center/cover no-repeat;
}

.ae-hero-top.page-header {
  background: transparent;
  padding: 36px 0 24px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ae-hero-top.page-header .container {
  width: 100%;
}

.ae-hero-bottom {
  background: transparent;
  padding: 24px 0 40px;
  transition: opacity 0.3s ease;
}

.ae-hero-bottom.is-hidden {
  display: none;
}

.ae-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 16px;
}

.ae-lockup-mark {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.ae-lockup-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--yellow);
  text-transform: uppercase;
}

/* ---------- Acciones Empáticas: slider del hero ---------- */
.ae-slides {
  position: relative;
  min-height: 260px;
}

.ae-slide {
  display: none;
  max-width: 900px;
  margin: 0 auto;
}

.page-header .ae-slide p {
  max-width: none;
}

.ae-slide.is-active {
  display: block;
  animation: ae-slide-fade 0.5s ease;
}

@keyframes ae-slide-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ae-slide-logo {
  height: 120px;
  width: auto;
  margin: 0 auto 4px;
}

.ae-slide .eyebrow {
  justify-content: center;
  margin-bottom: 4px;
}

.ae-slide h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 6px;
}

.ae-slide p {
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.ae-slide p ~ p {
  text-align: center;
}

.ae-slide-cta {
  margin-top: 8px;
}

.ae-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(246, 236, 215, 0.3);
  background: rgba(10, 44, 47, 0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.ae-slides:hover .ae-slide-arrow {
  opacity: 1;
  visibility: visible;
}

.ae-slide-arrow:hover {
  background: rgba(10, 44, 47, 0.8);
  border-color: var(--white);
}

.ae-slide-arrow svg {
  width: 18px;
  height: 18px;
}

.ae-slide-arrow-prev {
  left: -8px;
}

.ae-slide-arrow-next {
  right: -8px;
}

@media (max-width: 720px) {
  .ae-slide-arrow {
    display: none;
  }
}

.ae-slide-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.ae-slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(246, 236, 215, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ae-slide-dot.is-active {
  background: var(--yellow);
  transform: scale(1.2);
}

@media (max-width: 720px) {
  .ae-hero-band {
    height: auto;
  }

  .ae-hero-top.page-header {
    flex: none;
    overflow: visible;
  }
}

@media (max-width: 620px) {
  .ae-slides {
    min-height: 420px;
  }
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .eyebrow {
  justify-content: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  color: var(--white);
}

.page-header p {
  color: var(--text-on-dark);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.page-header .hero-actions {
  margin-top: 28px;
}

.page-header .btn-primary {
  background: var(--yellow);
  color: var(--dark-teal);
  box-shadow: 0 10px 24px rgba(240, 173, 0, 0.3);
}

.page-header .btn-primary:hover {
  background: #ffbe22;
}

.page-header .btn-outline {
  color: var(--white);
  border-color: rgba(246, 236, 215, 0.4);
}

.page-header .btn-outline:hover {
  border-color: var(--white);
  background: rgba(246, 236, 215, 0.08);
}

/* ============================================
   HOME HERO
   ============================================ */
.hero {
  background:
    url("images/contour-lines.svg") center 38%/cover no-repeat,
    linear-gradient(160deg, var(--dark-teal-2) 0%, var(--dark-teal) 100%);
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4.5vw, 52px);
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero .eyebrow {
  color: var(--teal-soft);
}

.hero h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  color: var(--white);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--text-on-dark);
  max-width: 560px;
  margin: 0 auto 115px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--yellow);
  color: var(--dark-teal);
  box-shadow: 0 10px 24px rgba(240, 173, 0, 0.3);
}

.hero .btn-primary:hover {
  background: #ffbe22;
}

.hero .btn-outline {
  color: var(--white);
  border-color: rgba(246, 236, 215, 0.4);
}

.hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(246, 236, 215, 0.08);
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--dark-teal-2);
  border-top: 1px solid rgba(246, 236, 215, 0.08);
}

.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.stat-strip .stat {
  text-align: center;
}

.stat-strip .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--white);
}

.stat-strip .label {
  font-size: 0.82rem;
  color: var(--text-on-dark-faint);
  margin-top: 2px;
}

/* ============================================
   GRIDS & CARDS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-2 > * {
  min-width: 0;
}

/* Evita que texto/botones sin salto de línea inflen el ancho de las columnas
   (clásico bug de min-width:auto en grid/flex items) */
.grid-3 > *, .grid-4 > *, .footer-grid > *,
.sol-grid > *, .approach-grid > *, .pillars > *, .stat-grid > *,
.photo-grid > *, .mv-mini > *, .team-grid > *, .biz-grid > *,
.ae-teaser-inner > *, .peru-map-section > * {
  min-width: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s cubic-bezier(.2,.8,.2,1), transform 0.28s cubic-bezier(.2,.8,.2,1), border-color 0.28s ease;
}

.card:hover {
  border-color: rgba(2, 161, 161, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(2, 161, 161, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), background 0.28s ease;
}

.card:hover .icon-badge,
.mini-sol:hover .icon-badge {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(2, 161, 161, 0.16);
}

.card:hover .icon-badge.yellow,
.mini-sol:hover .icon-badge.yellow {
  background: rgba(240, 173, 0, 0.2);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
}

.icon-badge.yellow { background: rgba(240, 173, 0, 0.14); }
.icon-badge.yellow svg { stroke: var(--yellow); }

.section-dark .icon-badge { background: rgba(246, 236, 215, 0.1); }
.section-dark .icon-badge svg { stroke: var(--yellow); }

/* ============================================
   HOME — teasers
   ============================================ */
.about-teaser .grid-2 {
  align-items: center;
  gap: 64px;
}

.about-teaser p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.mv-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  margin-top: 40px;
}

.mv-mini .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: var(--dark-teal);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s cubic-bezier(.2,.8,.2,1), transform 0.28s cubic-bezier(.2,.8,.2,1);
}

.mv-mini .item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mv-mini h4 {
  font-size: 1.12rem;
  margin-bottom: 2px;
  color: var(--yellow);
}

.mv-mini p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-on-dark);
}

.visual-panel {
  aspect-ratio: 4/3.4;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(28,74,61,0.5) 0%, rgba(13,59,64,0.3) 55%, rgba(10,44,47,0.55) 100%),
    url("images/linea1-cumplimiento.jpg") center 40%/cover no-repeat;
  box-shadow: var(--shadow-md);
}

/* ---------- Directora Ejecutiva ---------- */
.director-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

.director-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: rgba(246, 236, 215, 0.06);
  border: 1.5px dashed rgba(246, 236, 215, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-size: cover;
  background-position: center;
}

.director-photo svg {
  width: 32%;
  height: 32%;
  stroke: rgba(246, 236, 215, 0.5);
}

.director-photo:has(img) {
  border-style: solid;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-content .eyebrow {
  margin-bottom: 10px;
}

.director-content h2 {
  color: var(--white);
  font-size: var(--fs-h2);
  margin-bottom: 4px;
}

.director-role {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--yellow);
  font-size: 1.02rem;
  margin: 0 0 22px;
}

.director-quote {
  font-family: var(--font-head);
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--white);
  border-left: 3px solid var(--yellow);
  padding-left: 18px;
  margin: 0 0 22px;
}

.director-body {
  color: var(--text-on-dark);
  margin-bottom: 22px;
  text-align: justify;
}

.director-credentials {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  opacity: 0.85;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 236, 215, 0.18);
  margin-bottom: 22px;
}

.director-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a66c2;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease;
}

.director-linkedin:hover {
  transform: translateY(-2px);
}

.director-linkedin svg {
  width: 16px;
  height: 16px;
}

.report-facts {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
}

.report-facts li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.report-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.report-facts strong {
  color: var(--ink);
}

.report-visual {
  background:
    linear-gradient(135deg, rgba(28,74,61,0.5) 0%, rgba(13,59,64,0.3) 55%, rgba(10,44,47,0.55) 100%),
    url("images/acciones-empaticas-cajamarca.jpg") center 30%/cover no-repeat;
}

.community-visual {
  background:
    linear-gradient(135deg, rgba(28,74,61,0.35) 0%, rgba(13,59,64,0.2) 55%, rgba(10,44,47,0.4) 100%),
    url("images/voluntarios-comunidad.jpg") center 42%/cover no-repeat;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.community-actions .btn-outline {
  background: var(--yellow);
  color: var(--dark-teal);
  border-color: var(--yellow);
  box-shadow: 0 10px 24px rgba(240, 173, 0, 0.28);
}

.community-actions .btn-outline:hover {
  background: #ffbe22;
  border-color: #ffbe22;
  color: var(--dark-teal);
}

.solutions-teaser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.mini-sol {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mini-sol:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mini-sol .icon-badge {
  width: 56px;
  height: 56px;
}

.mini-sol .icon-badge svg {
  width: 28px;
  height: 28px;
}

.mini-sol h4 {
  font-size: 1.08rem;
  margin: 18px 0 10px;
  color: var(--ink);
}

.mini-sol p {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.teaser-footer {
  text-align: center;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    url("images/contour-lines-dark.svg") center 55%/cover no-repeat,
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--yellow);
}

.cta-copy {
  position: relative;
  max-width: 560px;
  min-width: 0;
}

.cta-banner h2 {
  font-size: var(--fs-h2);
  color: var(--ink);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--ink-soft);
}

.cta-banner .cta-btn {
  position: relative;
  flex-shrink: 0;
  background: var(--yellow);
  color: var(--dark-teal);
  padding: 17px 34px;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(240, 173, 0, 0.28);
}

.cta-banner .cta-btn:hover {
  background: #ffbe22;
  transform: translateY(-2px);
}

.newsletter-form {
  position: relative;
  flex-shrink: 0;
  display: flex;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  width: 280px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

@media (max-width: 620px) {
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
  }
}

/* ============================================
   NOSOTROS
   ============================================ */
.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.mv-card {
  background: var(--dark-teal);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-on-dark);
}

.mv-card h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.mv-card p {
  color: var(--text-on-dark);
  font-size: 0.95rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.photo-grid .ph {
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.photo-grid .ph:nth-child(1) { background-image: url("images/campo-agua-monitoreo.jpg"); }
.photo-grid .ph:nth-child(2) { background-image: url("images/comunidad-territorio-ods.jpg"); }
.photo-grid .ph:nth-child(3) { background-image: url("images/team-field.jpg"); }
.photo-grid .ph:nth-child(4) { background-image: url("images/hands-plant.jpg"); }
.photo-grid .ph:nth-child(5) { background-image: url("images/handshake.jpg"); }

.photo-grid .ph:hover {
  transform: scale(1.03);
}

.photo-grid .ph.wide {
  grid-column: span 2;
  aspect-ratio: 2.15 / 1;
}

/* ============================================
   SOLUCIONES
   ============================================ */
.sol-section {
  padding: 32px 0 16px;
}

.sol-section + .section {
  padding-top: 24px;
}

.sol-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sol-card {
  display: flex;
  align-items: stretch;
  gap: 56px;
  min-height: calc(100vh - 170px);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.sol-grid > .sol-card:last-child {
  border-bottom: none;
}

.sol-card:nth-child(even) {
  flex-direction: row-reverse;
}

.sol-card-media {
  flex: 0 0 42%;
  align-self: stretch;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(16, 48, 46, 0.06);
}

.sol-card:nth-child(1) .sol-card-media { background-image: url("images/linea1-cumplimiento.jpg"); }
.sol-card:nth-child(2) .sol-card-media { background-image: url("images/campo-mineria-reforestacion.jpg"); }
.sol-card:nth-child(3) .sol-card-media { background-image: url("images/agroindustria-planta.jpg"); }
.sol-card:nth-child(4) .sol-card-media { background-image: url("images/artesania-textil.jpg"); }

.sol-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.sol-card-body > p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.sol-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
}

.sol-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(2, 161, 161, 0.12);
  color: var(--teal-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.sol-kicker {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--teal-deep);
}

.sol-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sol-feature-list li {
  position: relative;
  padding-left: 17px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.sol-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.sol-feature-list li strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .sol-card,
  .sol-card:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 24px 0;
    gap: 24px;
  }

  .sol-card-media {
    width: 100%;
    height: 220px;
    flex: 0 0 auto;
  }

  .sol-kicker {
    font-size: 1.3rem;
  }

  .sol-feature-list {
    grid-template-columns: 1fr;
  }
}

.podcast-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(246, 236, 215, 0.06);
  border: 1px solid rgba(246, 236, 215, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.podcast-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.podcast-play svg {
  width: 22px;
  height: 22px;
  fill: var(--dark-teal);
}

.podcast-banner h3 {
  color: var(--white);
  margin-bottom: 6px;
}

.podcast-banner p {
  color: var(--text-on-dark);
  margin: 0;
}

.podcast-cta {
  margin-top: 28px;
  text-align: center;
}

.section-light .podcast-banner {
  background: var(--bg-tint);
  border: 1px solid var(--line);
}

.section-light .podcast-banner h3 {
  color: var(--ink);
}

.section-light .podcast-banner p {
  color: var(--ink-soft);
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.event-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}

.event-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 44, 47, 0.82) 100%);
}

.event-item span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1;
}

.article-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-tint);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.article-card-tag--ready {
  color: var(--teal-deep);
  background: rgba(2, 161, 161, 0.1);
}

.grid-3 .card .btn {
  margin-top: 16px;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 18px;
}

.biz-card {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--surface);
}

.biz-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.biz-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  opacity: 0.6;
}

.biz-card-logo svg {
  width: 40%;
  height: 40%;
  stroke: var(--ink-soft);
}

.biz-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-tint);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.biz-card-sector {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}

.biz-card h4 {
  margin-bottom: 8px;
}

.biz-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.biz-placeholder-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- Negocios Sostenibles: rotating carousel ---------- */
.biz-carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.biz-row {
  overflow: hidden;
  width: 100%;
}

.biz-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: biz-scroll-left 32s linear infinite;
}

.biz-row:hover .biz-track {
  animation-play-state: paused;
}

.biz-track--reverse {
  animation-name: biz-scroll-right;
  animation-duration: 36s;
}

@keyframes biz-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes biz-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.biz-card-mini {
  flex: 0 0 auto;
  width: 260px;
  min-height: 340px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.biz-card-mini .biz-card-top {
  margin-bottom: auto;
  padding-bottom: 14px;
}

.biz-card-mini h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.biz-card-mini p {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin: 0;
}

.biz-card-mini--photo {
  position: relative;
  border-style: solid;
  border-color: transparent;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.biz-card-mini--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,44,47,0.2) 0%, rgba(10,44,47,0.82) 100%);
}

.biz-card-mini--photo .biz-card-top,
.biz-card-mini--photo .biz-card-sector,
.biz-card-mini--photo h4,
.biz-card-mini--photo p {
  position: relative;
  z-index: 1;
}

.biz-card-mini--photo .biz-card-logo {
  background: rgba(246, 236, 215, 0.9);
  opacity: 1;
}

.biz-card-mini--photo .biz-card-tag {
  background: rgba(246, 236, 215, 0.9);
  color: var(--dark-teal);
}

.biz-card-mini--photo .biz-card-sector {
  color: var(--yellow);
}

.biz-card-mini--photo h4 {
  color: var(--white);
}

.biz-card-mini--photo p {
  color: var(--text-on-dark);
}

@media (prefers-reduced-motion: reduce) {
  .biz-track {
    animation: none;
  }
}

.team-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team-carousel {
  flex: 1;
  overflow: hidden;
}

.team-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}

.team-page {
  width: 33.3333%;
  flex-shrink: 0;
}

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

.team-card {
  text-align: center;
}

.team-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-tint);
  border: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--ink-soft);
  opacity: 0.6;
}

.team-photo svg {
  width: 34%;
  height: 34%;
  stroke: var(--ink-soft);
}

.team-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
  margin: 0;
}

.team-role {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 4px 0 0;
}

/* ---------- Tarjeta de ejemplo: foto, LinkedIn y bio al pasar el cursor ---------- */
.team-photo--avatar {
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  border: none;
  opacity: 1;
}

.team-avatar-initials {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.team-photo--img {
  border: none;
  opacity: 1;
  overflow: hidden;
}

.team-photo--zoom img {
  transform: scale(1.4);
}

.team-photo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 12px auto 0;
  border-radius: 50%;
  background: #0a66c2;
  color: var(--white);
  transition: transform 0.2s ease;
}

.team-linkedin:hover {
  transform: translateY(-2px);
}

.team-linkedin svg {
  width: 13px;
  height: 13px;
}

.team-card--example {
  cursor: default;
}

/* Globo/vineta con la bio: se inserta en <body> vía JS para no quedar
   recortado por el overflow:hidden del carrusel. Posición vertical
   (arriba/abajo de la tarjeta) y horizontal la fija script.js. */
.team-bio-bubble {
  position: fixed;
  z-index: 60;
  width: 220px;
  background: var(--dark-teal);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-dark);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.team-bio-bubble.is-above {
  transform: translate(-50%, -4px);
}

.team-bio-bubble.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.team-bio-bubble p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-on-dark);
  text-align: left;
  margin: 0;
}

.team-bio-bubble-arrow {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--dark-teal);
  transform: translateX(-50%) rotate(45deg);
}

.team-bio-bubble:not(.is-above) .team-bio-bubble-arrow {
  top: -6px;
}

.team-bio-bubble.is-above .team-bio-bubble-arrow {
  bottom: -6px;
}

.team-nav-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.team-nav-btn:hover {
  border-color: var(--teal);
  background: var(--bg-tint);
}

.team-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.sol-btn-accent {
  background: var(--yellow);
  color: var(--dark-teal);
  border-color: var(--yellow);
}

.sol-btn-accent:hover {
  background: #ffbe22;
  border-color: #ffbe22;
  color: var(--dark-teal);
}

.sol-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

/* ---------- Valores (chips condensados) ---------- */
.value-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.value-chips span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--teal);
  background: rgba(2, 161, 161, 0.08);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}

/* ---------- Acciones Empáticas (teaser en Inicio) ---------- */
.ae-teaser-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.ae-teaser-copy p {
  color: var(--ink-soft);
}

.ae-lockup-word--dark {
  color: var(--dark-teal);
}

.ae-teaser-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.ae-teaser-stats .stat {
  text-align: center;
}

.ae-teaser-stats .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--dark-teal);
}

.ae-teaser-stats .label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ============================================
   ENFOQUES + VALORES
   ============================================ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.approach-card {
  text-align: left;
}

.approach-card .icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 22px;
}

.approach-card .icon-badge svg {
  width: 34px;
  height: 34px;
}

.approach-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.value-item {
  display: flex;
  gap: 14px;
  flex: 0 1 calc(33.333% - 18.667px);
  max-width: calc(33.333% - 18.667px);
}

.value-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(2, 161, 161, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal);
}

.value-item h4 {
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.value-item p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section-dark .value-icon {
  background: rgba(246, 236, 215, 0.12);
}

.section-dark .value-icon svg {
  stroke: var(--yellow);
}

.section-dark .value-item p {
  color: var(--text-on-dark);
}

/* ============================================
   EXPERIENCIA
   ============================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  background: rgba(246, 236, 215, 0.06);
  border: 1px solid rgba(246, 236, 215, 0.12);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s cubic-bezier(.2,.8,.2,1);
}

.stat-card:hover {
  background: rgba(246, 236, 215, 0.1);
  border-color: rgba(240, 173, 0, 0.4);
  transform: translateY(-3px);
}

.stat-card .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--yellow);
  line-height: 1;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  margin-top: 8px;
}

.ae-hero-bottom .stat-card {
  background: transparent;
  border: none;
  padding: 6px 12px;
  text-align: center;
}

.ae-hero-bottom .stat-card:hover {
  background: transparent;
  border-color: transparent;
}

.ae-hero-bottom .stat-card .num {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.ae-hero-bottom .stat-grid {
  gap: 8px;
}

.ae-hero-bottom .stat-card .label {
  font-size: 0.78rem;
  margin-top: 4px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-item h4 {
  color: var(--ink);
  font-size: 1rem;
  margin: 16px 0 8px;
}

.pillar-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Acciones Empáticas: proyectos de impacto ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s cubic-bezier(.2,.8,.2,1), transform 0.28s cubic-bezier(.2,.8,.2,1);
}

.program-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.program-logo {
  display: block;
  height: 88px;
  width: auto;
  margin: 0 auto 20px;
}

.program-tag {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.program-audience {
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.program-card > p:last-child {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 960px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mapa de Perú ---------- */
.peru-map-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.peru-map-copy h2 {
  color: var(--white);
}

.peru-map-copy p {
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.peru-stat-highlight {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--yellow);
  margin-bottom: 18px !important;
}

.peru-map-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-style: italic;
  color: var(--teal-soft);
  margin-bottom: 0 !important;
}

.peru-detail {
  margin-top: 22px;
  padding: 16px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  height: 140px;
  overflow: hidden;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.peru-detail.has-content {
  background: rgba(246, 236, 215, 0.06);
  border-color: rgba(246, 236, 215, 0.12);
}

.peru-detail-inner {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.peru-detail-inner.is-visible {
  opacity: 1;
}

.peru-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.peru-detail-region {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.peru-detail-share {
  font-size: 0.78rem;
  color: var(--text-on-dark-faint);
}

.peru-detail-bar {
  display: flex;
  gap: 2px;
  height: 10px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(246, 236, 215, 0.08);
}

.peru-detail-seg--evento       { background: var(--coral); }
.peru-detail-seg--intervencion { background: var(--teal); }
.peru-detail-seg--mentoria     { background: var(--yellow); }
.peru-detail-seg--taller       { background: var(--gold-deep); }
.peru-detail-seg--visita       { background: var(--teal-soft); }

.peru-detail-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.peru-detail-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-on-dark);
}

.peru-detail-legend b {
  color: var(--white);
  font-weight: 700;
}

.peru-detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(246, 236, 215, 0.4);
}

.peru-detail-dot--evento       { background: var(--coral); }
.peru-detail-dot--intervencion { background: var(--teal); }
.peru-detail-dot--mentoria     { background: var(--yellow); }
.peru-detail-dot--taller       { background: var(--gold-deep); }
.peru-detail-dot--visita       { background: var(--teal-soft); }

.peru-map-visual {
  position: relative;
  width: 70%;
  max-width: 70%;
  margin: 0 auto;
}

.peru-map-visual svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.peru-map-visual .peru-region {
  fill: rgba(246, 236, 215, 0.06);
  stroke: rgba(246, 236, 215, 0.22);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.peru-map-visual .peru-region:hover {
  fill: rgba(240, 173, 0, 0.4);
  stroke: var(--yellow);
}

.peru-map-visual .peru-region-active {
  fill: rgba(63, 182, 172, 0.55);
  stroke: var(--teal-soft);
  stroke-width: 1.4;
}

.peru-map-visual .peru-region-active:hover,
.peru-map-visual .peru-region.peru-region-hover {
  fill: rgba(240, 173, 0, 0.75);
  stroke: var(--yellow);
  stroke-width: 1.8;
}

.peru-map-visual .peru-lake {
  fill: rgba(246, 236, 215, 0.1);
  stroke: none;
}

.peru-map-visual .peru-point {
  fill: var(--yellow);
  stroke: var(--dark-teal-2);
  stroke-width: 2.5;
}

.peru-map-visual .peru-point-pulse {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  opacity: 0.6;
  transform-origin: center;
  transform-box: fill-box;
  animation: peru-pulse 2.4s ease-out infinite;
}

@keyframes peru-pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .peru-map-visual .peru-point-pulse { animation: none; opacity: 0; }
}

@media (max-width: 860px) {
  .peru-map-section {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 40px 32px;
  }

  .cta-copy {
    width: 100%;
    max-width: 100%;
  }

  .cta-banner .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
}

.contact-visual {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
  background: url("images/consulta-asesoria.jpg") center 40%/cover no-repeat;
}

.contact-points {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-point svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-point .label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.contact-form {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.contact-form label .req {
  color: var(--yellow-deep, #c98a00);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a615f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(2, 161, 161, 0.15);
}

.contact-form-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark-teal);
  padding-top: 64px;
  color: var(--text-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246, 236, 215, 0.1);
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
}

.footer-brand .brand-word {
  font-size: 1.55rem;
}

.footer-brand p {
  color: var(--text-on-dark-faint);
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(246, 236, 215, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: rgba(246, 236, 215, 0.16);
}

.footer-social svg {
  width: 21px;
  height: 21px;
  stroke: var(--white);
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-faint);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-on-dark-faint);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-word {
    font-size: 1.5rem;
  }

  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-teal);
    padding: 20px 28px 26px;
    gap: 16px;
    border-bottom: 1px solid rgba(246,236,215,0.1);
  }

  .nav-links-academy {
    display: inline-block;
    color: var(--yellow) !important;
    font-weight: 700;
    opacity: 1 !important;
  }
}

@media (max-width: 960px) {
  .grid-2,
  .contact-grid,
  .footer-grid,
  .ae-teaser-inner,
  .director-grid {
    grid-template-columns: 1fr;
  }

  .director-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .grid-3,
  .grid-4,
  .approach-grid,
  .stat-grid,
  .pillars,
  .solutions-teaser {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item {
    flex-basis: calc(50% - 14px);
    max-width: calc(50% - 14px);
  }

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

  .mv-mini {
    grid-template-columns: 1fr;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }

  .event-gallery {
    grid-template-columns: 1fr;
  }

  .podcast-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .stat-strip .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 44px 28px;
  }

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

  .photo-grid .ph.wide {
    grid-column: span 2;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .grid-3,
  .grid-4,
  .approach-grid,
  .stat-grid,
  .pillars,
  .solutions-teaser {
    grid-template-columns: 1fr;
  }

  .value-item {
    flex-basis: 100%;
    max-width: 100%;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .stat-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .page-header {
    padding: 52px 0 40px;
  }

  .page-header h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-header p {
    font-size: 0.94rem;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
  }

  .wa-float-icon {
    width: 22px;
    height: 22px;
  }

}

/* ---------- Legal content (Privacidad / Términos) ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content .legal-updated { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.4rem; color: var(--ink); margin: 44px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; color: var(--ink); margin: 24px 0 10px; }
.legal-content p { color: var(--ink-soft); margin-bottom: 14px; }
.legal-content ul { color: var(--ink-soft); margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--teal-deep); text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  max-width: 640px;
  margin: 0 auto;
  background: var(--dark-teal);
  color: var(--text-on-dark);
  border-radius: var(--radius-md, 14px);
  padding: 20px 24px;
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  animation: cookie-rise 0.4s ease both;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-on-dark);
  flex: 1 1 320px;
  font-family: var(--font-body);
}
.cookie-banner a { color: var(--teal-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.cookie-actions button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--radius-pill, 999px);
  padding: 10px 20px;
  border: none;
}
.cookie-accept { background: var(--yellow); color: var(--dark-teal); font-weight: 600; }
.cookie-accept:hover { background: #ffbe22; }
.cookie-reject { background: transparent; color: var(--text-on-dark-faint); text-decoration: underline; padding: 10px 4px; }
.cookie-reject:hover { color: var(--text-on-dark); }
@keyframes cookie-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
}

/* ---------- Consent checkbox (contact form) ---------- */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}
.form-consent label {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Negocios Sostenibles: banner flotante + modal de postulación ---------- */
.negocios-cta-float {
  display: none;
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 88px;
  z-index: 150;
  max-width: 760px;
  margin: 0 auto;
  background: var(--dark-teal);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px 18px 24px;
  box-shadow: var(--shadow-dark);
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  animation: cookie-rise 0.4s ease both;
}

.negocios-cta-float.is-visible {
  display: flex;
}

.negocios-cta-float p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--white);
  flex: 1 1 240px;
}

.negocios-cta-float-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.negocios-cta-float-actions .btn {
  white-space: nowrap;
}

.negocios-cta-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(246, 236, 215, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.negocios-cta-close:hover {
  background: rgba(246, 236, 215, 0.2);
}

.negocios-cta-close svg {
  width: 14px;
  height: 14px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 44, 47, 0.6);
  backdrop-filter: blur(2px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  animation: modal-rise 0.3s ease both;
}

@keyframes modal-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-tint);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--line);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal h3 {
  font-size: var(--fs-h3);
  margin: 6px 0 10px;
}

.modal-lead {
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-size: 0.94rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 640px) {
  .negocios-cta-float {
    bottom: 80px;
    padding: 16px;
  }

  .negocios-cta-float-actions {
    width: 100%;
    justify-content: space-between;
  }

  .negocios-cta-float-actions .btn {
    white-space: normal;
    text-align: center;
    flex: 1 1 auto;
  }
}

/* ---------- Floating WhatsApp CTA ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 26px rgba(16, 48, 46, 0.32);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 48, 46, 0.4);
}

.wa-float-icon {
  display: flex;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.wa-float-icon svg {
  width: 100%;
  height: 100%;
}

.wa-float-text {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .wa-float-text {
    display: none;
  }

  .wa-float {
    padding: 12px;
  }
}
.form-consent a { color: var(--teal-deep); text-decoration: underline; }

/* ============================================
   CASO DE ÉXITO (Negocios Sostenibles)
   ============================================ */
.case-hero {
  background: linear-gradient(160deg, var(--dark-teal-2) 0%, var(--dark-teal) 100%);
  padding: 48px 0 60px;
}

.case-hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.case-back-link {
  display: block;
  color: var(--text-on-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
  transition: color 0.2s ease;
}

.case-back-link:hover {
  color: var(--yellow);
}

.case-hero-copy .eyebrow {
  color: var(--yellow);
}

.case-hero-copy h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 10px 0 22px;
}

.case-hero-quote {
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--white);
  border-left: 3px solid var(--yellow);
  padding-left: 18px;
  margin-bottom: 10px;
}

.case-hero-attribution {
  color: var(--text-on-dark);
  font-size: 0.86rem;
  padding-left: 21px;
}

.case-sidebar {
  background: rgba(246, 236, 215, 0.06);
  border: 1px solid rgba(246, 236, 215, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.case-sidebar-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(246, 236, 215, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.case-sidebar-logo svg {
  width: 26px;
  height: 26px;
  stroke: var(--dark-teal);
}

.case-sidebar h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.case-sidebar-facts {
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.case-sidebar-facts dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-soft);
  margin-bottom: 2px;
}

.case-sidebar-facts dd {
  margin: 0;
  color: var(--text-on-dark);
  font-size: 0.92rem;
}

.case-sidebar-links {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 236, 215, 0.14);
}

.case-sidebar-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 236, 215, 0.1);
  color: var(--white);
  transition: background 0.2s ease;
}

.case-sidebar-links a:hover {
  background: rgba(246, 236, 215, 0.2);
}

.case-sidebar-links svg {
  width: 16px;
  height: 16px;
}

.case-block .podcast-banner {
  background: var(--bg-tint);
  border: 1px solid var(--line);
}

.case-block .podcast-banner h3 {
  color: var(--ink);
}

.case-block .podcast-banner p {
  color: var(--ink-soft);
}

.case-block {
  margin-bottom: 56px;
}

.case-block:last-child {
  margin-bottom: 0;
}

.case-block > .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.case-block h2 {
  font-size: var(--fs-h2);
  margin-bottom: 18px;
}

.case-block > p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-metric {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.case-metric .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--teal-deep);
  line-height: 1;
  margin-bottom: 8px;
}

.case-metric p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.case-recommended-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.case-recommended-item h4 {
  margin: 4px 0 8px;
  color: var(--ink);
}

.case-recommended-item p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 900px) {
  .case-hero-inner {
    grid-template-columns: 1fr;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }
}

/* ---------- Barra de acceso al aula virtual (Empatic Academy) ---------- */
.academy-access-bar {
  background: var(--dark-teal);
  border-top: 1px solid rgba(246, 236, 215, 0.1);
  border-bottom: 1px solid rgba(246, 236, 215, 0.1);
}

.academy-access-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.academy-access-text {
  display: flex;
  align-items: center;
  gap: 16px;
}

.academy-access-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(240, 173, 0, 0.16);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.academy-access-icon svg {
  width: 20px;
  height: 20px;
}

.academy-access-text strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 2px;
}

.academy-access-text span {
  color: var(--text-on-dark);
  font-size: 0.88rem;
}

.academy-access-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.academy-access-link:hover {
  border-color: var(--yellow);
}

@media (max-width: 640px) {
  .academy-access-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .academy-access-link {
    white-space: normal;
  }
}

/* ---------- Página de detalle de curso (Empatic Academy) ---------- */
.course-hero-photo {
  position: relative;
  background:
    linear-gradient(160deg, rgba(9, 38, 36, 0.9) 0%, rgba(9, 38, 36, 0.78) 100%),
    url("images/team-meeting.jpg") center 30%/cover no-repeat;
  padding-top: 32px;
}

.course-hero-photo .case-back-link {
  margin-bottom: 8px;
}

.course-hero-photo-inner {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 40px;
  align-items: start;
  padding: 28px 0 56px;
}

.course-hero-photo-copy .eyebrow {
  color: var(--yellow);
}

.course-hero-photo-copy h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 10px 0 18px;
}

.course-hero-photo-copy p {
  color: var(--text-on-dark);
  font-size: 1.02rem;
  max-width: 480px;
}

.course-hero-form {
  position: relative;
  background: linear-gradient(165deg, var(--dark-teal-2) 0%, var(--dark-teal) 100%);
  border: 1px solid rgba(240, 173, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px 30px 28px;
  display: grid;
  gap: 15px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.course-hero-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--yellow);
}

.course-hero-form-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark-teal);
  background: var(--yellow);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.course-hero-form h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0;
}

.course-hero-form .form-row {
  gap: 12px;
}

.course-hero-form label {
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.course-hero-form input {
  width: 100%;
  background: rgba(246, 236, 215, 0.1);
  border: 1px solid rgba(246, 236, 215, 0.28);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
}

.course-hero-form input::placeholder {
  color: var(--white);
  opacity: 0.75;
}

.course-hero-form input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(240, 173, 0, 0.2);
}

.course-hero-form .btn-block {
  padding: 16px;
  font-size: 1rem;
  margin-top: 4px;
  box-shadow: 0 12px 26px rgba(240, 173, 0, 0.35);
}

.course-hero-form .contact-form-note {
  color: rgba(246, 236, 215, 0.6);
  font-size: 0.72rem;
  margin: 0;
  text-align: center;
}

.course-hero-form .contact-form-note a {
  color: var(--yellow);
  font-weight: 600;
}

.course-hero-photo--solo .course-hero-photo-inner {
  padding-bottom: 72px;
}

.course-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(246, 236, 215, 0.18);
  list-style: none;
}

.course-meta-row li {
  font-size: 0.88rem;
  color: var(--text-on-dark);
}

.course-meta-row li span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 3px;
}

@media (max-width: 900px) {
  .course-hero-photo-inner {
    grid-template-columns: 1fr;
  }
}
