﻿
:root {
  --orange: #f37021;
  --orange-dark: #df5f14;
  --pink: #ec255a;
  --pink-dark: #d9154b;
  --yellow: #ffd22e;
  --dark: #151515;
  --text: #202020;
  --muted: #6f6f6f;
  --white: #ffffff;
  --off-white: #fff9f2;
  --soft-orange: #fff0e5;
  --border: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.22);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --container: 1180px;
  --transition: 230ms ease;

  
  --hero-x: 50%;
  --hero-y: 50%;
}


@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}


.site-header,
.reading-progress span,
.scroll-to-top {
  will-change: transform;
  backface-visibility: hidden;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 4px solid rgba(236, 37, 90, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--dark);
  border-radius: 999px;
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 8vw, 110px) 0;
}

.section-header {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 13px;
  color: var(--orange-dark);
  background: var(--soft-orange);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(236, 37, 90, 0.15);
}

h1,
h2,
h3,
.hero-kicker,
.nav-link,
.btn {
  font-family: system-ui, sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--dark);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.25rem, 4.7vw, 4.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.45rem;
  font-weight: 800;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.highlight-text {
  position: relative;
  display: inline;
  background-image: linear-gradient(transparent 62%, rgba(255, 210, 46, 0.55) 0);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 850ms ease;
}

.visible .highlight-text,
.hero-content.is-ready .highlight-text {
  background-size: 100% 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-pink {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 18px 35px rgba(236, 37, 90, 0.28);
}

.btn-pink::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.34) 48%, transparent 60% 100%);
  transform: translateX(-120%);
  transition: transform 600ms ease;
}

.btn-pink:hover {
  background: var(--pink-dark);
  box-shadow: 0 22px 45px rgba(236, 37, 90, 0.34);
}

.btn-pink:hover::after {
  transform: translateX(120%);
}

.btn-pink span {
  position: relative;
  z-index: 1;
}

.btn-orange {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 18px 35px rgba(243, 112, 33, 0.28);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-outline {
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}


.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  box-shadow: 0 0 18px rgba(236, 37, 90, 0.35);
  transition: width 80ms linear;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 280ms ease, transform 280ms ease, box-shadow 280ms ease;
  will-change: transform, opacity;
}


.site-header.is-hidden {
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
}

.site-header.menu-is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}


.logo-mark {
  width: 112px;
  text-align: center;
  animation: logoFloat 4.5s ease-in-out infinite;
}


.main-nav {
  background: var(--orange);
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  position: relative;
}

.nav-list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  padding: 0 28px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  height: 3px;
  background: var(--yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.05);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


.hero {
  position: relative;
  min-height: calc(100vh - 218px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(90px, 12vw, 170px) 0 clamp(110px, 12vw, 170px);
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.28)),
    url("../img/hero/hero-principal.jpg");
  background-size: 108%;
  background-position: var(--hero-x) var(--hero-y);
  transition: background-position 180ms ease-out;
}



.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 210, 46, 0.25), transparent 270px),
    radial-gradient(circle at 78% 34%, rgba(236, 37, 90, 0.20), transparent 320px);
  animation: softGlow 7s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.34));
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 96px;
  color: var(--off-white);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100% - 32px, 1000px);
  margin-inline: auto;
  color: var(--white);
}

.hero-kicker,
.hero-title,
.hero-description,
.hero .btn {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 760ms ease forwards;
}

.hero-kicker {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 600;
  line-height: 1.04;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.38);
  animation-delay: 180ms;
}

.hero-title {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
  animation-delay: 340ms;
}

.hero-description {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
  font-weight: 800;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
  animation-delay: 520ms;
}

.hero .btn {
  margin-top: 12px;
  min-width: 260px;
  min-height: 64px;
  font-size: 1.26rem;
  border-radius: 8px;
  animation-delay: 700ms;
}

.hero-scroll {
  position: absolute;
  bottom: 84px;
  left: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 2px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.hero-scroll span::after {
  content: "";
  display: block;
  width: 100%;
  height: 12px;
  background: var(--yellow);
  border-radius: inherit;
  animation: scrollHint 1.5s ease-in-out infinite;
}


.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.about-card {
  position: relative;
  min-height: 520px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-card img {
  width: 100%;
  height: 100%;
  min-height: 484px;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 650ms ease;
}

.about-card:hover img {
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  right: -20px;
  bottom: 34px;
  max-width: 260px;
  padding: 22px;
  color: var(--white);
  background: var(--pink);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  animation: badgeFloat 4s ease-in-out infinite;
}

.about-badge strong {
  display: block;
  font-family: sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
}

.about-badge span {
  font-weight: 800;
}

.about-content {
  display: grid;
  gap: 22px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.check-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.check-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-weight: 900;
}


.programs {
  background: var(--white);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.program-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 30px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.program-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  background: rgba(255, 210, 46, 0.24);
  border-radius: 999px;
  transition: transform var(--transition);
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(243, 112, 33, 0.34);
  box-shadow: var(--shadow-md);
}

.program-card:hover::before {
  transform: scale(1.25);
}

.program-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: var(--dark);
  background: #ffe0b9;
  border-radius: 20px;
  font-size: 1.55rem;
  transition: transform var(--transition);
}

.program-card:hover .program-icon {
  transform: rotate(-6deg) scale(1.08);
}

.program-card:nth-child(2) .program-icon {
  background: #ffe0ea;
}

.program-card:nth-child(3) .program-icon {
  background: #fff0b8;
}

.program-card:nth-child(4) .program-icon {
  background: #e7f3ed;
}

.program-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--pink);
  font-weight: 900;
}

.program-card a:hover {
  color: var(--pink-dark);
}


.impact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: clamp(34px, 6vw, 70px);
}

.impact-copy {
  position: sticky;
  top: 180px;
  display: grid;
  gap: 20px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.metric-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.metric-card strong {
  color: var(--orange);
  font-family: sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.metric-card.featured {
  grid-column: span 2;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255, 210, 46, 0.35), transparent 260px),
    var(--orange);
}

.metric-card.featured strong,
.metric-card.featured span {
  color: var(--white);
}


.timeline-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 210, 46, 0.18), transparent 320px),
    radial-gradient(circle at 85% 0%, rgba(236, 37, 90, 0.10), transparent 340px),
    var(--off-white);
}

.timeline {
  position: relative;
  display: grid;
  gap: 34px;
  max-width: 1040px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, var(--pink), var(--orange), var(--yellow));
  border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(243, 112, 33, 0.22);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-media {
  grid-column: 1;
  grid-row: 1;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--white);
  border: 6px solid var(--pink);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(236, 37, 90, 0.10), var(--shadow-sm);
  transform: translate(-50%, -50%);
}

.timeline-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.timeline-card p {
  font-size: 1rem;
}

.timeline-media {
  overflow: hidden;
  min-height: 250px;
  border: 10px solid var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-item:nth-child(even) .timeline-media {
  transform: rotate(1.5deg);
}

.timeline-media:hover {
  transform: rotate(0deg) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.timeline-media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.timeline-media:hover img {
  transform: scale(1.06);
}

.timeline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 46px;
  text-align: center;
}

.timeline-cta p {
  flex: 0 1 100%;
  color: var(--dark);
  font-weight: 900;
}


.team-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 210, 46, 0.18), transparent 310px),
    radial-gradient(circle at 88% 6%, rgba(236, 37, 90, 0.10), transparent 330px),
    var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.team-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  background: rgba(255, 210, 46, 0.32);
  border-radius: 999px;
  transition: transform var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 37, 90, 0.26);
  box-shadow: var(--shadow-md);
}

.team-card:hover::before {
  transform: scale(1.18);
}

.team-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 280px;
  background: #f6e9dc;
  border-radius: 22px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.07);
}

.team-info {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 4px 4px 8px;
}

.team-role {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: var(--white);
  background: var(--pink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-info h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
}

.team-info p {
  font-size: 0.97rem;
}

.team-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.team-social a:hover {
  color: var(--white);
  background: var(--orange);
  transform: translateY(-2px);
}

.team-note {
  max-width: 760px;
  margin: 34px auto 0;
  padding: 20px;
  color: var(--dark);
  background: var(--soft-orange);
  border: 1px solid rgba(243, 112, 33, 0.14);
  border-radius: 22px;
  text-align: center;
  font-weight: 800;
}


.contact {
  background:
    radial-gradient(circle at top left, rgba(236, 37, 90, 0.10), transparent 360px),
    var(--soft-orange);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 56px);
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 20px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  gap: 12px;
  padding: 15px;
  background: var(--off-white);
  border-radius: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.contact-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--pink);
  border-radius: 14px;
  font-weight: 900;
}

.contact-item strong {
  display: block;
  color: var(--dark);
  line-height: 1.2;
}

.contact-item small,
.contact-item a {
  color: var(--muted);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-group {
  display: grid;
  gap: 8px;
}

label {
  color: var(--dark);
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  background: var(--white);
  border-color: rgba(236, 37, 90, 0.42);
  box-shadow: 0 0 0 4px rgba(236, 37, 90, 0.08);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--orange-dark);
  font-weight: 900;
}


.site-footer {
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #1c1c1c;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 900;
}

.footer-links a:hover {
  color: var(--yellow);
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softGlow {
  from {
    opacity: 0.62;
    transform: scale(1);
  }

  to {
    opacity: 0.92;
    transform: scale(1.06);
  }
}

@keyframes scrollHint {
  0% {
    transform: translateY(-14px);
    opacity: 0;
  }

  45% {
    opacity: 1;
  }

  100% {
    transform: translateY(36px);
    opacity: 0;
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}


.timeline-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 210, 46, 0.18), transparent 320px),
    radial-gradient(circle at 85% 0%, rgba(236, 37, 90, 0.10), transparent 340px),
    var(--off-white);
}

.timeline {
  position: relative;
  display: grid;
  gap: 34px;
  max-width: 1040px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, var(--pink), var(--orange), var(--yellow));
  border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 0 24px rgba(243, 112, 33, 0.22);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-media {
  grid-column: 1;
  grid-row: 1;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--white);
  border: 6px solid var(--pink);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(236, 37, 90, 0.10), var(--shadow-sm);
  transform: translate(-50%, -50%);
}

.timeline-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.timeline-card p {
  font-size: 1rem;
}

.timeline-media {
  overflow: hidden;
  min-height: 250px;
  border: 10px solid var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-item:nth-child(even) .timeline-media {
  transform: rotate(1.5deg);
}

.timeline-media:hover {
  transform: rotate(0deg) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.timeline-media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.timeline-media:hover img {
  transform: scale(1.06);
}

.timeline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 46px;
  text-align: center;
}

.timeline-cta p {
  flex: 0 1 100%;
  color: var(--dark);
  font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero {
    background-size: cover;
    background-position: center;
  }
}


@media (max-width: 1080px) {

  .about-grid,
  .impact-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .impact-copy {
    position: relative;
    top: auto;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 76px;
  }

  .logo-mark {
    width: 92px;
  }

  .main-nav-inner {
    justify-content: flex-start;
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-list {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    border-radius: 0 0 20px 20px;
  }

  .nav-list.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-list li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-list.open li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-list.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-list.open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-list.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-list.open li:nth-child(4) { transition-delay: 0.2s; }
  .nav-list.open li:nth-child(5) { transition-delay: 0.25s; }
  .nav-list.open li:nth-child(6) { transition-delay: 0.3s; }
  .nav-list.open li:nth-child(7) { transition-delay: 0.35s; }

  .nav-list li + li::before {
    display: none;
  }

  .nav-link {
    min-height: 56px;
    width: 100%;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--yellow);
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    transform: scaleY(1);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(0);
    padding-left: 28px;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 160px);
    background-size: cover;
  }

  .hero-scroll {
    display: none;
  }

  .about-badge {
    position: static;
    max-width: none;
    margin-top: 16px;
  }

  .program-grid,
  .metrics,
  .form-row {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 320px;
  }


  .metric-card.featured {
    grid-column: span 1;
  }


  .timeline::before {
    left: 14px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 44px;
  }

  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(even) .timeline-media {
    grid-column: auto;
    grid-row: auto;
  }

  .timeline-dot {
    left: 14px;
    top: 32px;
    transform: translateX(-50%);
  }

  .timeline-media,
  .timeline-item:nth-child(even) .timeline-media {
    transform: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 130px;
    background-position: center;
  }

  .hero .btn {
    width: min(100%, 280px);
  }

  .hero-wave {
    height: 70px;
  }

  .about-card {
    min-height: auto;
  }

  .about-card img {
    min-height: 340px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-form-shell {
    padding: 18px;
  }

  .contact-submit {
    align-items: flex-start;
  }
}


:root {
  --orange: #c96f4a;
  --orange-dark: #a75435;
  --pink: #d96f84;
  --pink-dark: #bb5369;
  --yellow: #e5b85c;
  --dark: #2d2621;
  --text: #2d2621;
  --muted: #766b61;
  --off-white: #fffaf3;
  --soft-orange: #f7efe5;
  --border: rgba(68, 46, 34, 0.11);
  --shadow-sm: 0 12px 34px rgba(68, 46, 34, 0.08);
  --shadow-md: 0 22px 58px rgba(68, 46, 34, 0.13);
  --shadow-lg: 0 32px 92px rgba(68, 46, 34, 0.18);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(217, 111, 132, 0.10), transparent 330px),
    radial-gradient(circle at 92% 6%, rgba(229, 184, 92, 0.13), transparent 360px),
    var(--off-white);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.045em;
}

.site-header {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 250, 243, 0.80);
  border: 1px solid rgba(68, 46, 34, 0.10);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(68, 46, 34, 0.10);
  backdrop-filter: blur(20px);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 16px 46px rgba(68, 46, 34, 0.13);
  transform: translateY(-4px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-width: max-content;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(201, 111, 74, 0.18);
  font-weight: 900;
  letter-spacing: -0.04em;
  animation: none;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-list {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  list-style: none;
}

.nav-list li + li::before {
  display: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: rgba(45, 38, 33, 0.70);
  border-radius: 999px;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: none;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(201, 111, 74, 0.10);
  transform: translateY(-1px);
}

.nav-cta {
  min-height: 46px;
  padding-inline: 18px;
  white-space: nowrap;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  position: static;
  width: 46px;
  height: 46px;
  background: rgba(201, 111, 74, 0.10);
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--orange-dark);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.hero {
  min-height: 100vh;
  padding-top: clamp(150px, 15vw, 220px);
  background:
    linear-gradient(rgba(38, 29, 23, 0.22), rgba(38, 29, 23, 0.36)),
    url("../img/hero/hero-principal.jpg");
  background-size: 108%;
  background-position: var(--hero-x) var(--hero-y);
}

.hero-content {
  padding: clamp(26px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 46px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.hero-title {
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.hero-kicker {
  font-family: system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 760ms ease forwards;
  animation-delay: 80ms;
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(229, 184, 92, 0.5);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 760ms ease forwards;
}

.hero-actions {
  margin-top: 8px;
  animation-delay: 630ms;
}

.hero-stats {
  margin-top: 4px;
  animation-delay: 760ms;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  color: var(--yellow);
  font-weight: 900;
}

.about-badge,
.team-role,
.timeline-date,
.check-icon,
.contact-item span {
  background: rgba(201, 111, 74, 0.10);
  color: var(--orange-dark);
  border: 1px solid rgba(201, 111, 74, 0.12);
}

.about-badge {
  background: rgba(255, 255, 255, 0.92);
  border-left: 5px solid var(--orange);
}

.about-badge strong {
  color: var(--orange);
}

.programs,
.team-section {
  background: #fff;
}

.program-card,
.team-card {
  background: var(--off-white);
  border-radius: 30px;
}

.metric-card.featured {
  background:
    radial-gradient(circle at top right, rgba(229, 184, 92, 0.34), transparent 260px),
    linear-gradient(135deg, var(--orange), var(--pink));
}

.contact-card {
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 184, 92, 0.5);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(229, 184, 92, 0);
    transform: scale(1.04);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(229, 184, 92, 0);
    transform: scale(1);
  }
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 250, 243, 0.96);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    min-height: 46px;
    justify-content: center;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 96px;
  }

  .site-header {
    top: 10px;
  }

  .nav-shell {
    min-height: 68px;
    padding: 10px 12px;
    border-radius: 28px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    padding-top: 126px;
    background-size: cover;
  }

  .hero-content {
    border-radius: 32px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: min(100%, 320px);
  }
}

@media (max-width: 700px) {
  .hero-content {
    width: min(100% - 22px, 100%);
    padding: 20px 18px 24px;
    border-radius: 28px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero .btn {
    min-width: 0;
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .quick-contact-label {
    display: none;
  }

  .quick-contact {
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 130px;
    background-position: center;
  }

  .hero .btn {
    width: min(100%, 280px);
  }

  .hero-wave {
    height: 70px;
  }

  .about-card {
    min-height: auto;
  }

  .about-card img {
    min-height: 340px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-form-shell {
    padding: 18px;
  }

  .contact-submit {
    align-items: flex-start;
  }
}


.contact {
  padding-block: clamp(70px, 8vw, 105px);
}

.contact-card {
  max-width: 1120px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 5vw, 58px);
  padding: clamp(34px, 5vw, 58px);
  border-radius: 34px;
  box-shadow: 0 24px 64px rgba(68, 46, 34, 0.10);
}

.contact-info {
  gap: 16px;
  align-content: center;
}

.contact-kicker,
.contact .eyebrow {
  margin-bottom: 4px;
}

.contact-title,
#contact-title {
  max-width: 460px;
  font-size: clamp(2.35rem, 4.3vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.contact-lead,
.contact .lead {
  max-width: 440px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.65;
}

.contact-meta {
  margin-top: 4px;
  gap: 8px;
}

.contact-pill {
  padding: 8px 12px;
  font-size: 0.82rem;
  box-shadow: none;
}

.contact-list {
  max-width: 460px;
  gap: 10px;
  margin-top: 14px;
}

.contact-item {
  align-items: center;
  padding: 13px 14px;
  border-radius: 18px;
  box-shadow: none;
}

.contact-item span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.contact-item strong {
  font-size: 0.95rem;
}

.contact-item small,
.contact-item a {
  font-size: 0.9rem;
  line-height: 1.25;
}

.contact-form-shell {
  align-self: center;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 38px rgba(68, 46, 34, 0.06);
}

.contact-form-head {
  margin-bottom: 16px;
}

.contact-form-head h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.1;
}

.contact-form-head p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-form {
  gap: 14px;
}

.form-row {
  gap: 14px;
}

label {
  font-size: 0.86rem;
  line-height: 1.2;
}

input,
select,
textarea {
  padding: 13px 14px;
  min-height: 54px;
  border-radius: 14px;
  font-size: 0.96rem;
}

textarea {
  min-height: 118px;
}

.contact-submit {
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.contact-submit .btn,
.contact-form .btn {
  width: auto;
  min-width: 210px;
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(217, 111, 132, 0.24);
}

.contact-note {
  max-width: 260px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.form-status {
  min-height: 20px;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .contact-card {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .contact-title,
  #contact-title,
  .contact-lead,
  .contact .lead,
  .contact-list {
    max-width: none;
  }

  .contact-info {
    align-content: start;
  }
}

@media (max-width: 620px) {
  .contact {
    padding-block: 58px;
  }

  .contact-card {
    padding: 22px;
    border-radius: 26px;
  }

  .contact-title,
  #contact-title {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .contact-meta {
    display: grid;
  }

  .contact-form-shell {
    padding: 16px;
    border-radius: 22px;
  }

  .contact-submit .btn,
  .contact-form .btn {
    width: 100%;
    min-width: 0;
  }

  .contact-note {
    max-width: none;
  }
}


.contact {
  background:
    linear-gradient(180deg, #f7f0e8 0%, #f4ece3 100%);
}

.contact::before,
.contact::after {
  display: none;
}

.contact-card {
  max-width: 1080px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 4.5vw, 52px);
  padding: clamp(34px, 4.5vw, 50px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(68, 46, 34, 0.07);
  border-radius: 32px;
  box-shadow: 0 18px 46px rgba(68, 46, 34, 0.08);
  backdrop-filter: blur(8px);
}

.contact-card::before,
.contact-card::after {
  display: none;
}

.contact-info {
  gap: 18px;
  align-content: start;
  padding-top: 4px;
}

.contact-kicker {
  padding: 7px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: rgba(201, 111, 74, 0.08);
}

.contact-title,
#contact-title {
  max-width: 420px;
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-lead,
.contact .lead {
  max-width: 390px;
  font-size: 1rem;
  line-height: 1.7;
  color: #72675d;
}

.contact-meta {
  display: none;
}

.contact-list {
  max-width: 380px;
  gap: 10px;
  margin-top: 8px;
}

.contact-item {
  padding: 12px 14px;
  background: rgba(255, 250, 243, 0.7);
  border: 1px solid rgba(68, 46, 34, 0.05);
  border-radius: 16px;
  box-shadow: none;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(68, 46, 34, 0.04);
}

.contact-item span {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(201, 111, 74, 0.08);
  box-shadow: none;
}

.contact-item strong {
  font-size: 0.94rem;
  font-weight: 900;
}

.contact-item small,
.contact-item a {
  font-size: 0.9rem;
  color: #6f645b;
  font-weight: 700;
}

.contact-form-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-form-shell::before {
  display: none;
}

.contact-form-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(68, 46, 34, 0.08);
}

.contact-form-head small {
  display: none;
}

.contact-form-head h3 {
  font-size: 1.3rem;
  font-family: sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.contact-form-head p {
  font-size: 0.92rem;
  color: #766b61;
  max-width: 520px;
}

.contact-form {
  gap: 14px;
}

.form-row {
  gap: 12px;
}

label {
  font-size: 0.84rem;
  color: #3a302a;
  font-weight: 800;
}

input,
select,
textarea {
  min-height: 52px;
  padding: 13px 14px;
  background: rgba(255, 250, 243, 0.74);
  border: 1px solid rgba(68, 46, 34, 0.10);
  border-radius: 14px;
  box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: rgba(201, 111, 74, 0.32);
  box-shadow: 0 0 0 4px rgba(201, 111, 74, 0.06);
  transform: none;
}

textarea {
  min-height: 112px;
}

.contact-submit {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 4px;
}

.contact-submit .btn,
.contact-form .btn {
  min-width: 190px;
  min-height: 50px;
  padding-inline: 22px;
  box-shadow: 0 14px 28px rgba(217, 111, 132, 0.18);
}

.contact-note {
  display: none;
}

.form-status {
  min-height: 18px;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .contact-card {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .contact-title,
  #contact-title,
  .contact-lead,
  .contact .lead,
  .contact-list {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .contact-card {
    padding: 22px;
    border-radius: 24px;
  }

  .contact-title,
  #contact-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
}


.contact {
  background: linear-gradient(180deg, #f7f0e8 0%, #f3ebe2 100%);
}

.contact::before,
.contact::after {
  display: none;
}

.contact-card {
  max-width: 1020px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 44px);
  padding: clamp(28px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(68, 46, 34, 0.06);
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(68, 46, 34, 0.06);
  backdrop-filter: blur(6px);
}

.contact-card::before,
.contact-card::after {
  display: none;
}

.contact-info {
  gap: 14px;
  align-content: start;
  padding-top: 2px;
}

.contact-kicker {
  padding: 7px 12px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  background: rgba(201, 111, 74, 0.07);
  border: 1px solid rgba(201, 111, 74, 0.10);
  box-shadow: none;
}

.contact-title,
#contact-title {
  max-width: 360px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-lead,
.contact .lead {
  max-width: 340px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #72675d;
}

.contact-meta {
  display: none;
}

.contact-list {
  display: grid;
  gap: 10px;
  max-width: 320px;
  margin-top: 10px;
}

.contact-item {
  padding: 12px 14px;
  align-items: center;
  background: rgba(255, 250, 243, 0.6);
  border: 1px solid rgba(68, 46, 34, 0.05);
  border-radius: 14px;
  box-shadow: none;
}

.contact-item:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(68, 46, 34, 0.08);
}

.contact-item span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(201, 111, 74, 0.08);
  font-size: 0.9rem;
  box-shadow: none;
}

.contact-item strong {
  font-size: 0.92rem;
  margin-bottom: 1px;
}

.contact-item small,
.contact-item a {
  font-size: 0.88rem;
  color: #6f645b;
  font-weight: 700;
}

.contact-form-shell {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-form-shell::before {
  display: none;
}

.contact-form-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(68, 46, 34, 0.07);
}

.contact-form-head h3 {
  margin: 0;
  font-size: 1.12rem;
  font-family: sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text);
}

.contact-form-head p {
  display: none;
}

.contact-form {
  gap: 12px;
}

.form-row {
  gap: 12px;
}

label {
  font-size: 0.82rem;
  color: #3a302a;
  font-weight: 800;
}

input,
select,
textarea {
  min-height: 50px;
  padding: 12px 14px;
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(68, 46, 34, 0.10);
  border-radius: 13px;
  box-shadow: none;
  font-size: 0.95rem;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: rgba(201, 111, 74, 0.26);
  box-shadow: 0 0 0 4px rgba(201, 111, 74, 0.05);
}

textarea {
  min-height: 104px;
}

.contact-submit {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.contact-submit .btn,
.contact-form .btn {
  min-width: 176px;
  min-height: 48px;
  padding-inline: 20px;
  box-shadow: 0 10px 22px rgba(217, 111, 132, 0.14);
}

.contact-note {
  display: none;
}

.form-status {
  min-height: 18px;
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .contact-card {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .contact-title,
  #contact-title,
  .contact-lead,
  .contact .lead,
  .contact-list {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .contact-card {
    padding: 20px;
    border-radius: 22px;
  }

  .contact-title,
  #contact-title {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .contact-list,
  .contact-lead,
  .contact .lead {
    max-width: none;
  }
}



.nav-link.active {
  color: var(--text);
  background: rgba(201, 111, 74, 0.12);
}

.program-target {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: -4px;
  padding: 7px 11px;
  color: var(--terracotta-dark);
  background: rgba(201, 111, 74, 0.08);
  border: 1px solid rgba(201, 111, 74, 0.10);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.trust-strip {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(52px, 7vw, 84px);
  background: linear-gradient(180deg, var(--cream) 0%, #f7f0e8 100%);
}

.trust-strip-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: clamp(22px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(68, 46, 34, 0.07);
  border-radius: 28px;
  box-shadow: 0 16px 38px rgba(68, 46, 34, 0.07);
  backdrop-filter: blur(10px);
}

.trust-strip-card h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.trust-strip-card p {
  max-width: 720px;
  margin-top: 8px;
  font-weight: 700;
}

.quick-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #5f8f73, #4f7d63);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(79, 125, 99, 0.26);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

.quick-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(79, 125, 99, 0.32);
}

.quick-contact-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #4f7d63;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 1rem;
}

.quick-contact.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

@media (max-width: 820px) {
  .trust-strip-card {
    grid-template-columns: 1fr;
  }

  .trust-strip-card .btn {
    width: fit-content;
  }

  .quick-contact {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 15px 0 10px;
    font-size: 0.88rem;
  }

  .quick-contact-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .quick-contact-label {
    display: none;
  }

  .quick-contact {
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }
}


.about-badge {
  display: grid;
  gap: 4px;
  min-width: 245px;
  max-width: 310px;
  padding: 18px 20px;
  text-align: left;
}

.about-badge strong {
  display: inline-block;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.045em;
}

.about-badge span {
  display: block;
  max-width: 250px;
  font-size: 0.94rem;
  line-height: 1.35;
  text-wrap: balance;
}

@media (max-width: 820px) {
  .about-badge {
    min-width: 0;
    max-width: none;
  }

  .about-badge span {
    max-width: none;
  }
}


.about-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  min-width: 250px;
  max-width: 320px;
  padding: 18px 20px;
  text-align: left;
  animation: none !important;
  transform: none !important;
  transition: none !important;
  will-change: auto;
}

.about-badge strong {
  display: inline-block;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  letter-spacing: -0.04em;
}

.about-badge span {
  display: block;
  font-size: 0.94rem;
  line-height: 1.35;
  max-width: 255px;
  white-space: normal;
  word-break: normal;
}

@media (max-width: 820px) {
  .about-badge {
    position: static;
    right: auto;
    bottom: auto;
    min-width: 0;
    max-width: none;
    margin-top: 16px;
  }

  .about-badge span {
    max-width: none;
  }
}


.contact {
  background:
    linear-gradient(180deg, #f8f1e9 0%, #f4ece3 100%);
}

.contact::before,
.contact::after {
  display: none;
}

.contact-card {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
  padding: clamp(30px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(68, 46, 34, 0.07);
  border-radius: 34px;
  box-shadow: 0 20px 54px rgba(68, 46, 34, 0.08);
  backdrop-filter: blur(10px);
}

.contact-card::before,
.contact-card::after {
  display: none;
}

.contact-info {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact-heading {
  display: grid;
  gap: 12px;
}

.contact-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--terracotta-dark);
  background: rgba(201, 111, 74, 0.08);
  border: 1px solid rgba(201, 111, 74, 0.10);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--terracotta);
  border-radius: 999px;
}

.contact-title,
#contact-title {
  max-width: 420px;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-lead,
.contact .lead {
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.7;
  color: #70655c;
}

.contact-list {
  display: grid;
  gap: 12px;
  max-width: 430px;
  margin: 0;
  padding-top: 4px;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid rgba(68, 46, 34, 0.06);
  border-radius: 18px;
  box-shadow: none;
  transition: border-color var(--transition), background var(--transition);
}

.contact-item:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(201, 111, 74, 0.12);
}

.contact-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--terracotta-dark);
  background: rgba(201, 111, 74, 0.08);
  border-radius: 14px;
  font-weight: 900;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 900;
}

.contact-item small,
.contact-item a {
  color: #6f645b;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
}

.contact-form-shell {
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 250, 243, 0.58);
  border: 1px solid rgba(68, 46, 34, 0.07);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.contact-form-shell::before {
  display: none;
}

.contact-form-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(68, 46, 34, 0.08);
}

.contact-form-head small {
  display: inline-flex;
  width: fit-content;
  color: var(--terracotta-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-head h3 {
  margin: 0;
  font-family: sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--text);
}

.contact-form-head p {
  max-width: 520px;
  color: #766b61;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  display: grid;
  gap: 7px;
}

label {
  color: #3a302a;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(68, 46, 34, 0.10);
  border-radius: 14px;
  outline: none;
  box-shadow: none;
  font-size: 0.95rem;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: rgba(118, 107, 97, 0.72);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(201, 111, 74, 0.16);
}

input:focus,
select:focus,
textarea:focus {
  background: #ffffff;
  border-color: rgba(201, 111, 74, 0.34);
  box-shadow: 0 0 0 4px rgba(201, 111, 74, 0.06);
  transform: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-submit .btn,
.contact-form .btn {
  width: auto;
  min-width: 178px;
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(217, 111, 132, 0.16);
}

.contact-note {
  max-width: 250px;
  color: #766b61;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.form-status {
  min-height: 18px;
  color: var(--terracotta-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .contact-card {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .contact-title,
  #contact-title,
  .contact-lead,
  .contact .lead,
  .contact-list {
    max-width: none;
  }

  .contact-info {
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .contact-card {
    padding: 22px;
    border-radius: 24px;
  }

  .contact-title,
  #contact-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .contact-form-shell {
    padding: 16px;
    border-radius: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-submit .btn,
  .contact-form .btn {
    width: 100%;
    min-width: 0;
  }

  .contact-note {
    max-width: none;
  }
}


.contact-card {
  max-width: 760px;
  grid-template-columns: 1fr;
  gap: 0;
  justify-items: stretch;
}

.contact-info {
  display: none;
}

.contact-form-shell {
  max-width: 100%;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 250, 243, 0.70);
  border: 1px solid rgba(68, 46, 34, 0.08);
  border-radius: 26px;
  box-shadow: none;
}

.contact-form-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(68, 46, 34, 0.08);
  text-align: left;
}

.contact-form-head small {
  display: none;
}

.contact-form-head h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.1;
}

.contact-form-head p {
  max-width: 560px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #766b61;
}

.contact-submit {
  justify-content: flex-start;
}

.contact-note {
  display: none;
}

@media (max-width: 620px) {
  .contact-card {
    max-width: 100%;
  }

  .contact-form-shell {
    padding: 18px;
    border-radius: 20px;
  }
}


.hero-content {
  width: min(100% - 32px, 920px);
  gap: 14px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-badge {
  padding: 8px 13px;
  font-family: system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  background: rgba(255, 255, 255, 0.12);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
}

.hero-kicker {
  font-family: system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.26);
}

.hero-title {
  font-family: system-ui, sans-serif;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.30);
}

.hero-description {
  max-width: 660px;
  font-family: system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.65vw, 1.12rem);
  font-weight: 700;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}

.hero-actions {
  margin-top: 6px;
  gap: 10px;
}

.hero .btn {
  min-width: 220px;
  min-height: 56px;
  padding: 0 22px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 999px;
}

.hero-stats {
  margin-top: 6px;
  gap: 10px;
}

.hero-stat {
  padding: 8px 12px;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.11);
}

.hero-stat strong {
  font-size: 1rem;
  font-weight: 900;
}

@media (max-width: 700px) {
  .hero-content {
    width: min(100% - 22px, 100%);
    padding: 20px 18px 24px;
    border-radius: 28px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero .btn {
    min-width: 0;
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}


.quick-contact {
  right: 20px;
  bottom: 20px;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #25d366 0%, #1fb85a 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow:
    0 18px 42px rgba(37, 211, 102, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.08);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.quick-contact:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 22px 48px rgba(37, 211, 102, 0.34),
    0 10px 22px rgba(0, 0, 0, 0.10);
}

.quick-contact:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(37, 211, 102, 0.22),
    0 18px 42px rgba(37, 211, 102, 0.28);
}

.quick-contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  flex: 0 0 auto;
}

.quick-contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.quick-contact-label {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .quick-contact {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 0 15px 0 10px;
    font-size: 0.88rem;
  }

  .quick-contact-icon {
    width: 34px;
    height: 34px;
  }

  .quick-contact-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .quick-contact {
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
  }

  .quick-contact-icon {
    width: 40px;
    height: 40px;
  }
}


.hero-actions .btn-pink {
  min-width: 240px;
  justify-content: center;
}

@media (max-width: 820px) {
  .hero-actions .btn-pink {
    min-width: 0;
  }
}


.highlight-text {
  background: none !important;
  background-image: none !important;
  background-size: 0 100% !important;
  box-shadow: none !important;
}

.visible .highlight-text,
.hero-content.is-ready .highlight-text {
  background: none !important;
  background-image: none !important;
  background-size: 0 100% !important;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: auto;
  min-width: max-content;
}

.logo-mark {
  display: block;
  width: 132px;
  height: auto;
  background: none !important;
  color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  object-fit: contain;
}

.brand-text {
  display: none !important;
}

@media (max-width: 840px) {
  .logo-mark {
    width: 108px;
  }
}

@media (max-width: 560px) {
  .logo-mark {
    width: 96px;
  }
}


.nav-shell {
  gap: 18px;
  min-height: 74px;
  padding: 10px 12px 10px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(68, 46, 34, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(68, 46, 34, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.brand:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(68, 46, 34, 0.08);
}

.logo-mark {
  display: block;
  width: 76px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.site-header.is-scrolled .brand {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 980px) {
  .nav-shell {
    gap: 14px;
  }

  .logo-mark {
    width: 68px;
    max-height: 44px;
  }
}

@media (max-width: 840px) {
  .nav-shell {
    min-height: 70px;
    padding: 10px 12px;
  }

  .brand {
    padding: 5px 7px;
    border-radius: 16px;
  }

  .logo-mark {
    width: 62px;
    max-height: 40px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 66px;
    padding: 8px 10px;
  }

  .brand {
    padding: 4px 6px;
    border-radius: 14px;
  }

  .logo-mark {
    width: 56px;
    max-height: 36px;
  }
}


.nav-shell {
  gap: 16px;
  min-height: 74px;
  padding: 10px 12px 10px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(68, 46, 34, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(68, 46, 34, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  flex: 0 0 auto;
}

.brand:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(68, 46, 34, 0.10);
}

.logo-mark {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  filter: saturate(0.88) contrast(0.95) brightness(1.02);
}

.site-header.is-scrolled .brand {
  background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 980px) {
  .brand {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 840px) {
  .nav-shell {
    min-height: 70px;
    padding: 10px 12px;
  }

  .brand {
    width: 66px;
    height: 66px;
  }

  .logo-mark {
    width: 86%;
    height: 86%;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 66px;
    padding: 8px 10px;
  }

  .brand {
    width: 60px;
    height: 60px;
  }
}


.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 1080px) {
  .hero {
    min-height: 75vh;
  }

  .hero-content {
    width: min(100% - 32px, 760px);
    padding: 0 18px 24px;
  }

  .about-grid,
  .impact-grid,
  .timeline,
  .program-grid,
  .team-grid,
  .contact-card,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: auto;
  }

  .program-card,
  .metric-card,
  .team-card {
    min-height: auto;
  }
}

@media (max-width: 840px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-shell {
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    right: 10px;
    left: 10px;
    z-index: 100;
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.98rem;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 90px;
    background-position: center center;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero .btn {
    width: 100%;
  }

  .about-grid,
  .impact-grid,
  .program-grid,
  .team-grid,
  .timeline,
  .contact-card,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-card,
  .program-card,
  .metric-card,
  .team-card,
  .contact-card {
    min-height: auto;
  }

  .about-card img,
  .team-photo img,
  .timeline-media img {
    min-height: 320px;
  }

  .timeline {
    gap: 28px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 20px;
  }

  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(even) .timeline-media {
    grid-column: auto;
    grid-row: auto;
  }

  .timeline::before {
    left: 18px;
    top: 18px;
  }

  .timeline-dot {
    left: 18px;
    top: 32px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: clamp(48px, 7vw, 64px) 0;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-kicker {
    font-size: 1rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .nav-shell {
    padding: 10px 12px;
  }

  .nav-list {
    right: 8px;
    left: 8px;
  }

  .team-photo {
    height: 280px;
  }

  .contact-form-shell {
    padding: 18px;
  }

  .contact-card {
    padding: 22px;
  }
}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 80px;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 90px;
    background-position: center center;
  }

  .hero-content {
    padding: 24px;
    border-radius: 30px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 8vw, 4.4rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .nav-shell {
    position: relative;
    padding: 10px 16px;
  }

  .menu-toggle {
    display: inline-flex;
    pointer-events: auto;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    right: 10px;
    left: 10px;
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(68, 46, 34, 0.12);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(68, 46, 34, 0.12);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    min-height: 54px;
    padding: 0 20px;
    width: 100%;
    color: var(--dark);
    font-size: 0.96rem;
    border-bottom: 1px solid rgba(68, 46, 34, 0.08);
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .nav-link.active,
  .nav-link:hover {
    background: rgba(201, 111, 74, 0.10);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero .btn {
    width: 100%;
    min-width: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(even) .timeline-media {
    grid-column: auto;
  }

  .timeline-media {
    transform: none;
  }

  .timeline::before {
    left: 14px;
    top: 8px;
  }

  .timeline-dot {
    left: 14px;
  }

  .team-photo {
    height: 260px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: clamp(48px, 8vw, 72px) 0;
  }

  .hero-content {
    width: min(100% - 24px, 100%);
    padding: 20px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .hero-kicker {
    font-size: 1rem;
  }

  .section-header {
    gap: 10px;
  }

  .program-card,
  .team-card,
  .timeline-card,
  .contact-card {
    padding: 22px;
  }

  .contact-form {
    gap: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .logo-mark {
    width: 52px;
    height: 52px;
  }
}


@media (max-width: 1080px) {
  .nav-list {
    justify-content: center;
    gap: 12px;
  }

  .hero-content {
    width: min(100% - 32px, 760px);
  }
}

@media (max-width: 840px) {
  .nav-shell {
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    display: grid;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 22px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 90px;
    background-position: center center;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero .btn {
    width: 100%;
  }

  .about-grid,
  .impact-grid,
  .program-grid,
  .team-grid,
  .timeline,
  .contact-card,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-card,
  .program-card,
  .metric-card,
  .team-card,
  .contact-card {
    min-height: auto;
  }

  .timeline {
    gap: 28px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 18px;
  }

  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(even) .timeline-media {
    grid-column: auto;
    grid-row: auto;
  }

  .timeline::before {
    left: 16px;
    top: 16px;
  }

  .timeline-dot {
    left: 16px;
    top: 32px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: clamp(42px, 7vw, 58px) 0;
  }

  .hero-content {
    padding: 18px;
  }

  .hero-kicker {
    font-size: 1rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .nav-shell {
    padding: 10px 12px;
  }

  .nav-list {
    left: 8px;
    right: 8px;
  }

  .team-photo {
    height: 280px;
  }

  .contact-form-shell {
    padding: 18px;
  }

  .contact-card {
    padding: 22px;
  }
}




.testimonials-section {
  background:
    linear-gradient(90deg, rgba(199, 146, 45, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(199, 146, 45, .04) 1px, transparent 1px),
    radial-gradient(circle at 84% 18%, rgba(255, 210, 46, .14), transparent 360px),
    radial-gradient(circle at 10% 84%, rgba(88, 119, 52, .10), transparent 330px),
    linear-gradient(180deg, #fff 0%, #fffaf3 100%);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  position: relative;
  overflow: hidden;
}

.testimonials-section .section-header {
  margin-bottom: clamp(26px, 4vw, 44px);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-card--accent {
  background: linear-gradient(145deg, var(--orange) 0%, var(--pink-dark) 100%);
  border-color: transparent;
}

.testimonial-card--accent .testimonial-quote,
.testimonial-card--accent .testimonial-text,
.testimonial-card--accent .testimonial-author strong,
.testimonial-card--accent .testimonial-author span {
  color: var(--white) !important;
}

.testimonial-quote {
  font-family: sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 0.6;
  color: var(--orange);
  opacity: 0.35;
  user-select: none;
}

.testimonial-text {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-card--accent .testimonial-author {
  border-top-color: rgba(255,255,255,0.25);
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.testimonial-author strong {
  display: block;
  color: var(--dark);
  font-size: 0.96rem;
  font-weight: 900;
}

.testimonial-author span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 2px;
}

.testimonial-video-carousel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, .58fr) minmax(420px, 1.42fr);
  align-items: end;
  justify-content: center;
  gap: clamp(18px, 3.2vw, 42px);
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid rgba(121, 83, 30, .10);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 247, 232, .78));
  box-shadow:
    0 24px 58px rgba(64, 37, 18, .10),
    inset 0 1px 0 rgba(255, 255, 255, .78);
  isolation: isolate;
}

.testimonial-video-carousel::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(199, 146, 45, .16);
  border-radius: 20px;
  pointer-events: none;
}

.testimonial-video-carousel::after {
  content: "";
  position: absolute;
  left: clamp(24px, 4vw, 52px);
  right: clamp(24px, 4vw, 52px);
  top: 50%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 146, 45, .42), transparent);
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonial-video-showcase {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin-inline: 0;
}

.testimonial-video-showcase--portrait {
  justify-self: end;
  width: min(100%, 320px);
}

.testimonial-video-showcase--featured {
  min-width: 0;
}

.testimonial-video-showcase--wide {
  justify-self: start;
  width: min(100%, 700px);
}

.testimonial-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--testimonial-video-ratio, 10 / 13);
  padding: 0;
  border: 1px solid rgba(91, 54, 28, .10);
  border-radius: 18px;
  background: #fff7e8;
  box-shadow:
    0 18px 38px rgba(32, 22, 14, .12),
    0 0 0 8px rgba(255, 255, 255, .72);
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.testimonial-video-showcase--portrait .testimonial-video-frame {
  --testimonial-video-ratio: 10 / 13;
}

.testimonial-video-showcase--wide .testimonial-video-frame {
  --testimonial-video-ratio: 53 / 30;
}

.testimonial-video-showcase--featured .testimonial-video-frame {
  box-shadow:
    0 24px 52px rgba(32, 22, 14, .14),
    0 0 0 8px rgba(255, 255, 255, .72);
}

.testimonial-video-showcase:hover .testimonial-video-frame {
  transform: translateY(-4px);
  box-shadow:
    0 28px 58px rgba(32, 22, 14, .16),
    0 0 0 8px rgba(255, 255, 255, .82);
  filter: saturate(1.03);
}

.testimonial-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
  background: #fff7e8;
  object-fit: cover;
  box-shadow: none;
}

.testimonial-video.local-video-loader {
  position: relative;
  appearance: none;
  border: 0;
  background: #fff7e8;
}

.testimonial-video.local-video-loader img {
  object-fit: cover;
}

.testimonial-video.local-video-loader::after {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, .02), rgba(0, 0, 0, .18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .18));
}

.testimonial-video.local-video-loader .video-play-control {
  width: 58px;
  height: 58px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 247, 229, .96));
  box-shadow:
    0 16px 34px rgba(32, 22, 14, .24),
    inset 0 1px 0 rgba(255, 255, 255, .88);
  animation: testimonialPlayPulse 2.8s ease-in-out infinite;
}

.testimonial-video.local-video-loader .video-play-control::before {
  border-left-color: #173b22;
}

.testimonial-video-info {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(121, 83, 30, .11);
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 12px 28px rgba(64, 37, 18, .08);
}

.testimonial-video-info span {
  width: fit-content;
  color: #9a6b22;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.testimonial-video-info strong {
  color: #173b22;
  font-family: var(--font-title);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  line-height: 1.05;
}

.testimonial-video-info p {
  margin: 0;
  color: #6b6259;
  font-size: .94rem;
  line-height: 1.55;
}

.testimonial-story-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, 760px);
  margin: clamp(18px, 3vw, 30px) auto 0;
}

.testimonial-story-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(121, 83, 30, .12);
  border-radius: 999px;
  color: #173b22;
  background: rgba(255, 255, 255, .82);
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(64, 37, 18, .07);
}

@keyframes testimonialPlayPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (max-width: 640px) {
  .testimonial-video-carousel {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    padding: 18px;
    border-radius: 20px;
  }

  .testimonial-video-carousel::before {
    inset: 10px;
    border-radius: 16px;
  }

  .testimonial-video-showcase,
  .testimonial-video-showcase--portrait,
  .testimonial-video-showcase--wide {
    justify-self: center;
    width: min(100%, 360px);
  }

  .testimonial-video-frame {
    border-radius: 16px;
    box-shadow:
      0 18px 36px rgba(32, 22, 14, .13),
      0 0 0 6px rgba(255, 255, 255, .72);
  }

  .testimonial-video {
    border-radius: 16px;
  }

  .testimonial-video-info {
    padding: 14px 15px;
  }

  .testimonial-story-strip {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
}


.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-card {
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric-card strong {
  display: block;
  font-family: sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.metric-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink-dark) 100%);
  border-color: transparent;
}

.metric-card.featured strong,
.metric-card.featured span {
  color: var(--white);
}

.metric-card.featured strong {
  font-size: clamp(3.5rem, 6vw, 5rem);
}


.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.footer-brand .footer-copy {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.footer-social-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}


.quick-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  background: #25d366;
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.40);
  font-weight: 900;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 230ms ease, box-shadow 230ms ease, background 230ms ease;
  overflow: hidden;
}

.quick-contact:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55);
  background: #20bc5a;
}

.quick-contact:focus-visible {
  outline: 4px solid rgba(37, 211, 102, 0.5);
  outline-offset: 4px;
}

.quick-contact-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.quick-contact-icon svg {
  width: 26px;
  height: 26px;
}

.quick-contact-label {
  color: var(--white);
  font-family: sans-serif;
}

.quick-contact.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
}

@media (max-width: 480px) {
  .quick-contact {
    bottom: 20px;
    right: 16px;
    padding: 12px;
    border-radius: 50%;
  }

  .quick-contact-label {
    display: none;
  }

  .quick-contact-icon {
    width: 30px;
    height: 30px;
  }
}






.social-dock {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  transition: opacity 300ms ease, transform 300ms ease;
}

.social-dock.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}


.social-dock-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 13px;
  border-radius: 999px;
  color: #fff;
  font-family: sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
  white-space: nowrap;
}

.social-dock-btn:hover {
  transform: scale(1.07) translateX(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.24);
  filter: brightness(1.08);
}

.social-dock-btn:focus-visible {
  outline: 4px solid rgba(255,255,255,0.6);
  outline-offset: 3px;
}


.social-dock-btn--wa  { background: #25d366; box-shadow: 0 6px 22px rgba(37,211,102,0.38); }
.social-dock-btn--ig  {
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  box-shadow: 0 6px 22px rgba(220,39,67,0.35);
}
.social-dock-btn--fb  { background: #1877f2; box-shadow: 0 6px 22px rgba(24,119,242,0.35); }

.social-dock-btn svg {
  flex-shrink: 0;
}


.social-dock-btn:nth-child(1) { animation: dockIn 0.45s 0.05s both ease; }
.social-dock-btn:nth-child(2) { animation: dockIn 0.45s 0.15s both ease; }
.social-dock-btn:nth-child(3) { animation: dockIn 0.45s 0.25s both ease; }

@keyframes dockIn {
  from { opacity: 0; transform: translateX(40px) scale(0.85); }
  to   { opacity: 1; transform: translateX(0)    scale(1);    }
}


@media (max-width: 520px) {
  .social-dock {
    bottom: 18px;
    right: 16px;
    gap: 8px;
  }

  .social-dock-btn {
    padding: 12px;
    border-radius: 50%;
  }

  .social-dock-label {
    display: none;
  }
}


.scroll-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 500;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(236, 37, 90, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 38px rgba(236, 37, 90, 0.45);
}

.scroll-to-top:active {
  transform: translateY(-2px) scale(1.02);
}

.scroll-to-top:focus-visible {
  outline: 4px solid rgba(236, 37, 90, 0.4);
  outline-offset: 4px;
}

.scroll-to-top svg {
  width: 28px;
  height: 28px;
  color: white;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-3px);
  animation: bounceUp 0.6s ease infinite;
}

@keyframes bounceUp {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(-8px); }
}


@media (max-width: 520px) {
  .scroll-to-top {
    left: 16px;
    bottom: 18px;
    width: 50px;
    height: 50px;
  }

  .scroll-to-top svg {
    width: 24px;
    height: 24px;
  }
}



.team-slider-shell{
  margin-top: 36px;
}

.team-slider{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 6px 18px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.team-slider::-webkit-scrollbar{
  display: none;
}

.team-card-modern{
  scroll-snap-align: center;
  overflow: hidden;
  display: grid;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(20,20,20,.08);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.team-card-modern:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.12);
  border-color: rgba(243,112,33,.18);
}

.team-photo-modern{
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.08));
}

.team-photo-modern img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.team-card-modern:hover .team-photo-modern img{
  transform: scale(1.08);
}

.team-chip{
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17,17,17,.48);
  backdrop-filter: blur(10px);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.team-info-modern{
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.team-info-modern p{
  font-size: .98rem;
}

.team-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-meta span{
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  color: var(--muted);
  background: #fff7f0;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
}

.team-slider-controls{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top: 18px;
}

.team-slider-btn{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.08);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--dark);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.team-slider-btn:hover{
  transform: translateY(-2px);
  color: #fff;
  background: var(--orange);
}

.team-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top: 16px;
}

.team-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(17,17,17,.20);
  transition: transform .25s ease, background .25s ease, width .25s ease;
}

.team-dot.active{
  width: 28px;
  background: var(--orange);
}

.video-section{
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 210, 46, 0.15), transparent 280px),
    radial-gradient(circle at 95% 0%, rgba(236, 37, 90, 0.10), transparent 320px),
    var(--off-white);
}

.video-grid-modern{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.video-card-modern{
  overflow: hidden;
  border: 1px solid rgba(20,20,20,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.video-card-modern--impact{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(300px, .68fr) minmax(260px, .32fr);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,247,238,.94));
  border-radius: 24px;
}

.video-frame{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-frame--portrait{
  width: min(100%, 430px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  background: #111;
}

.video-card-modern--impact .video-frame--portrait{
  display: grid;
  place-items: center;
  width: 100%;
  margin-inline: 0;
  min-height: clamp(520px, 58vw, 660px);
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 210, 46, .26), transparent 220px),
    radial-gradient(circle at 82% 16%, rgba(236, 37, 90, .24), transparent 240px),
    linear-gradient(135deg, #1a1512 0%, #332117 54%, #111 100%);
}

.video-card-modern--impact .video-frame--portrait::before{
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  pointer-events: none;
}

.video-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video,
.local-impact-video{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
  border: 0;
}

.local-video-loader {
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  color: inherit;
}

.local-video-loader img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.local-video-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, .08), rgba(0, 0, 0, .34)),
    linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .26));
  pointer-events: none;
}

.local-video-loader:hover img,
.local-video-loader:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.local-video-loader:focus-visible {
  outline: 3px solid rgba(243, 112, 33, .72);
  outline-offset: 4px;
}

.video-play-control {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: clamp(62px, 8vw, 86px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 241, 222, .92));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .75);
}

.video-play-control::before {
  content: "";
  position: absolute;
  left: 53%;
  top: 50%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-block: 14px solid transparent;
  border-left: 21px solid var(--orange);
}

.video-frame--portrait video{
  object-fit: cover;
}

.video-card-modern--impact .video-frame--portrait video{
  position: relative;
  inset: auto;
  z-index: 1;
  box-sizing: border-box;
  width: auto;
  height: min(100%, 580px);
  max-height: calc(100% - 12px);
  max-width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 5px solid rgba(255,255,255,.88);
  border-radius: 22px;
  box-shadow:
    0 24px 54px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.10);
  transform: none;
}

.video-card-modern--impact .video-frame--portrait .local-video-loader {
  position: relative;
  inset: auto;
  z-index: 1;
  box-sizing: border-box;
  width: auto;
  height: min(100%, 580px);
  max-height: calc(100% - 12px);
  max-width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  border: 5px solid rgba(255,255,255,.88);
  border-radius: 22px;
  box-shadow:
    0 24px 54px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,255,255,.10);
}

.video-card-modern--impact .video-body{
  align-content: center;
  padding: clamp(26px, 4vw, 44px);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 46, .18), transparent 180px),
    rgba(255,255,255,.72);
}

.video-card-modern--impact .video-body h3{
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.video-card-modern--mission {
  grid-template-columns: minmax(300px, .62fr) minmax(260px, .38fr);
}

.video-card-modern--mission .video-frame--mission {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 42vw, 520px);
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 210, 46, .24), transparent 230px),
    radial-gradient(circle at 82% 16%, rgba(243, 112, 33, .18), transparent 240px),
    linear-gradient(135deg, #17110d 0%, #3a291d 58%, #111 100%);
}

.video-card-modern--mission .video-frame--mission::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  pointer-events: none;
}

.video-card-modern--mission .video-frame--mission video {
  position: relative;
  inset: auto;
  z-index: 1;
  width: min(100%, 760px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 5px solid rgba(255,255,255,.88);
  border-radius: 20px;
  box-shadow:
    0 24px 54px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.10);
}

.video-card-modern--mission .video-frame--mission .local-video-loader {
  position: relative;
  inset: auto;
  z-index: 1;
  width: min(100%, 760px);
  height: auto;
  aspect-ratio: 4 / 3;
  border: 5px solid rgba(255,255,255,.88);
  border-radius: 20px;
  box-shadow:
    0 24px 54px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.10);
}

.video-lazy{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.video-lazy img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transform: scale(1.02);
  transition: opacity var(--transition), transform var(--transition);
}

.video-lazy::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.34));
}

.video-lazy:hover img,
.video-lazy:focus-visible img{
  opacity: .9;
  transform: scale(1.05);
}

.video-link-card {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.video-link-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transform: scale(1.02);
  transition: opacity var(--transition), transform var(--transition);
}

.video-link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.45));
}

.video-link-card:hover img,
.video-link-card:focus-visible img {
  opacity: .95;
  transform: scale(1.05);
}

.video-channel {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(236, 37, 90, .95);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.video-play{
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(236, 37, 90, .95);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  transform: translate(-50%, -50%);
}

.video-play::before{
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid currentColor;
}

.video-body{
  display:grid;
  gap: 8px;
  padding: 18px 18px 20px;
}

.scroll-top-btn{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display:grid;
  place-items:center;
  border-radius: 50%;
  background: rgba(17,17,17,.92);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.96);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.scroll-top-btn.visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover{
  background: var(--orange);
}

.scroll-top-btn span{
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 900;
}

@media (max-width: 960px){
  .video-grid-modern{
    grid-template-columns: 1fr;
  }

  .video-card-modern--impact{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .video-card-modern--impact .video-frame--portrait{
    min-height: 540px;
    padding: 20px 14px 28px;
  }

  .video-card-modern--impact .video-frame--portrait video,
  .video-card-modern--impact .video-frame--portrait .local-video-loader{
    width: auto;
    height: auto;
    max-width: min(78vw, 300px);
    max-height: 500px;
    border-radius: 18px;
    transform: none;
  }

  .video-card-modern--impact .video-body{
    padding: 22px;
  }

  .video-card-modern--mission .video-frame--mission {
    min-height: 300px;
    padding: 16px;
  }

  .video-card-modern--mission .video-frame--mission video,
  .video-card-modern--mission .video-frame--mission .local-video-loader {
    width: min(100%, 92vw);
    border-radius: 16px;
  }
}

@media (max-width: 720px){
  .team-slider{
    grid-auto-columns: minmax(84%, 1fr);
  }

  .team-photo-modern{
    aspect-ratio: 4 / 4.3;
  }
}



.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: none;
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.menu-backdrop:not([hidden]) {
  display: block;
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 840px) {
  .nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    min-height: 70px;
    border-radius: 24px;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 52px;
    height: 52px;
    padding: 0;
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.94), rgba(236, 37, 90, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 18px 35px rgba(243, 112, 33, 0.25);
    backdrop-filter: blur(14px);
    z-index: 1101;
  }

  .menu-toggle:hover {
    transform: translateY(-1px) scale(1.03);
    background: linear-gradient(135deg, rgba(223, 95, 20, 0.98), rgba(217, 21, 75, 0.96));
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0;
    background: var(--white);
    border-radius: 999px;
    transition:
      transform 260ms ease,
      opacity 220ms ease,
      width 220ms ease;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-list {
    position: fixed;
    top: 94px;
    right: max(16px, env(safe-area-inset-right));
    width: min(88vw, 380px);
    max-height: calc(100vh - 118px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(17, 17, 17, 0.22);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-14px) translateX(18px) scale(0.98);
    pointer-events: none;
    transition: opacity 240ms ease, transform 240ms ease;
    z-index: 1100;
  }

  .nav-list.open {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    pointer-events: auto;
  }

  .nav-list li + li::before {
    display: none;
  }

  .nav-link {
    min-height: 54px;
    width: 100%;
    padding: 0 16px;
    color: var(--dark);
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
    background: transparent;
    justify-content: flex-start;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(243, 112, 33, 0.10);
    transform: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, var(--pink), var(--orange));
    border-radius: 999px;
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    transition: transform 220ms ease;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    transform: translateY(-50%) scaleY(1);
  }
}

@media (max-width: 560px) {
  .nav-list {
    top: 90px;
    width: min(92vw, 360px);
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

main > .section {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

* {
  letter-spacing: 0 !important;
}

.logo-mark,
.hero::before,
.about-badge,
.scroll-to-top:hover svg {
  animation: none;
}

.social-dock-btn {
  animation: none !important;
}

.team-card-modern,
.video-card-modern,
.activity-slide,
.sede-espinal-card,
.foundation-story-card,
.testimonial-card,
.metric-card,
.program-card {
  contain: layout paint;
}

main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 920px;
}

@media (prefers-reduced-motion: reduce) {
  .video-lazy img {
    transition: none;
  }
}

/* Hero despejado: el texto vive en una franja lateral para liberar la foto. */
.hero {
  place-items: end start;
  min-height: min(760px, calc(100vh - 112px));
  padding: clamp(92px, 10vw, 148px) 0 clamp(120px, 12vw, 168px);
  text-align: left;
  background-size: cover;
  background-position: 58% center;
}

.hero::before {
  display: none;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(15, 15, 15, .72) 0%, rgba(15, 15, 15, .48) 34%, rgba(15, 15, 15, .12) 66%, rgba(15, 15, 15, .04) 100%),
    linear-gradient(0deg, rgba(15, 15, 15, .32), rgba(15, 15, 15, .04) 52%);
}

.hero-content {
  width: min(100% - 32px, var(--container));
  max-width: 560px;
  margin-inline: max(16px, calc((100vw - var(--container)) / 2)) auto;
  padding: clamp(24px, 4vw, 38px);
  justify-items: start;
  gap: 13px;
  background: rgba(18, 18, 18, .42);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(10px);
}

.hero-badge {
  background: rgba(255, 255, 255, .92);
}

.hero-kicker {
  font-size: clamp(.95rem, 1.7vw, 1.18rem);
  text-transform: uppercase;
  font-weight: 900;
  opacity: .94;
}

.hero-title {
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
}

.hero-description {
  max-width: 500px;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-weight: 800;
}

.hero-actions {
  justify-content: flex-start;
}

.hero .btn {
  min-width: 0;
  min-height: 52px;
  padding-inline: 22px;
  font-size: 1rem;
}

.program-detail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.program-detail-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.program-back-link {
  color: var(--dark);
  font-weight: 900;
}

.program-detail-hero {
  padding: clamp(70px, 10vw, 118px) 0 clamp(46px, 7vw, 74px);
  background:
    linear-gradient(90deg, rgba(255, 249, 242, .96), rgba(255, 249, 242, .82)),
    url("../img/content/presentacion-cultural.jpg") center / cover;
}

.program-detail-hero .container {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.program-detail-hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.program-detail-section {
  padding: clamp(54px, 7vw, 86px) 0;
  background: var(--white);
}

.program-detail-section--soft {
  background: var(--off-white);
}

.program-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.program-detail-card {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.program-detail-kicker {
  width: fit-content;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-detail-card h1,
.program-detail-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.program-summary {
  margin: 0;
  color: #4f5458;
  font-size: 1.05rem;
}

.program-key-list {
  display: grid;
  gap: 0;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(21, 21, 21, .1);
}

.program-key-list li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 15px 0 15px 30px;
  border-bottom: 1px solid rgba(21, 21, 21, .1);
}

.program-key-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 0 0 5px rgba(243, 112, 33, .12);
}

.program-key-list strong {
  color: var(--dark);
  font-family: var(--font-title);
  font-size: 1.08rem;
  line-height: 1.2;
}

.program-key-list span {
  color: #62676b;
  line-height: 1.55;
}

.program-note {
  margin: 2px 0 0;
  padding-left: 16px;
  color: #5f6468;
  border-left: 3px solid var(--yellow);
}

.program-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 26px;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--pink), var(--yellow));
  border-radius: 999px;
}

.program-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}

.program-timeline li > span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--orange);
  border: 5px solid var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 900;
}

.program-timeline li > div {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.program-timeline h3 {
  margin-bottom: 6px;
  font-size: 1.22rem;
}

.program-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.program-mini-list li {
  padding: 7px 10px;
  color: #4f5458;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(243, 112, 33, .08);
  border: 1px solid rgba(243, 112, 33, .18);
  border-radius: 999px;
}

.program-mini-list--sports {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.program-mini-list--sports li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  color: #4f5458;
  text-align: center;
  background: rgba(243, 112, 33, .08);
  border: 1px solid rgba(243, 112, 33, .18);
  border-radius: 8px;
  box-shadow: none;
}

.program-mini-list--balanced {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.program-mini-list--balanced li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  text-align: center;
  border-radius: 8px;
}

.program-mini-list--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .hero {
    place-items: end center;
    background-position: center;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(15, 15, 15, .12), rgba(15, 15, 15, .72));
  }

  .hero-content {
    max-width: none;
    margin-inline: auto;
  }

  .program-detail-grid {
    grid-template-columns: 1fr;
  }

  .program-detail-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 720px;
    padding-bottom: 112px;
  }

  .hero-content {
    padding: 20px;
    background: rgba(18, 18, 18, .48);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .program-detail-nav {
    min-height: 72px;
  }

  .program-detail-nav .logo-mark {
    width: 68px;
    height: 68px;
  }

  .program-timeline li {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .program-timeline::before {
    left: 21px;
  }

  .program-timeline li > span {
    width: 44px;
    height: 44px;
  }

  .program-mini-list--balanced {
    grid-template-columns: 1fr;
  }

  .program-mini-list--sports {
    grid-template-columns: 1fr;
  }

  .program-mini-list--three {
    grid-template-columns: 1fr;
  }
}

/* Hero sin texto encima: imagen arriba, información debajo. */
.hero {
  place-items: center;
  min-height: clamp(420px, 66vh, 720px);
  padding: 0;
  background-size: cover;
  background-position: center;
}

.hero::after {
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
}

.hero-scroll {
  bottom: 54px;
}

.hero-intro {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 5vw, 62px) 0 clamp(58px, 8vw, 92px);
  background:
    linear-gradient(180deg, #fff 0%, var(--off-white) 100%);
}

.hero-intro .hero-content {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(26px, 5vw, 46px);
  display: grid;
  justify-items: center;
  gap: 12px;
  overflow: hidden;
  color: var(--dark);
  text-align: center;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 17, 17, .09);
}

.hero-intro .hero-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--yellow));
}

.hero-intro .hero-content::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
  width: 88px;
  height: 88px;
  background: radial-gradient(circle, rgba(255, 210, 46, .28), transparent 70%);
  pointer-events: none;
}

.hero-intro .hero-badge {
  color: var(--orange-dark);
  background: var(--soft-orange);
  border: 1px solid rgba(243, 112, 33, .16);
}

.hero-intro .hero-kicker,
.hero-intro .hero-title,
.hero-intro .hero-description {
  color: var(--dark);
  text-shadow: none;
}

.hero-intro .hero-kicker {
  margin-top: 6px;
  color: var(--pink-dark);
  font-size: clamp(.92rem, 1.5vw, 1.08rem);
  font-weight: 900;
}

.hero-intro .hero-title {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: .94;
}

.hero-intro .hero-description {
  max-width: 720px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

.hero-intro .highlight-text {
  color: var(--dark);
}

.hero-intro .hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.hero-intro .btn-secondary {
  color: var(--dark);
  background: #fff7f0;
  border: 1px solid rgba(243, 112, 33, .22);
  box-shadow: none;
}

.hero-intro .btn-secondary:hover {
  background: var(--soft-orange);
}

@media (max-width: 560px) {
  .hero {
    min-height: 440px;
  }

  .hero-scroll {
    bottom: 34px;
  }

  .hero-intro .hero-actions {
    width: 100%;
    display: grid;
  }

  .hero-intro .hero-actions .btn {
    width: 100%;
  }
}

/* Tipografía final: títulos con carácter, lectura tranquila y segura. */
:root {
  --font-title: Georgia, Cambria, "Times New Roman", serif;
  --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

body,
p,
li,
a,
button,
input,
select,
textarea,
.lead,
.nav-link,
.btn,
.eyebrow,
.program-target,
.team-meta,
.form-group label,
.form-status {
  font-family: var(--font-body) !important;
}

h1,
h2,
h3,
.hero-title,
.section-header h2,
.program-detail-hero h1,
.program-detail-card h1,
.program-detail-card h2,
.program-timeline h3,
.metric-card strong,
.about-badge strong,
.testimonial-quote {
  font-family: var(--font-title) !important;
  font-weight: 700;
  letter-spacing: 0 !important;
}

h1,
.hero-title,
.program-detail-hero h1 {
  line-height: .96;
}

h2,
.section-header h2,
.program-detail-card h1,
.program-detail-card h2 {
  line-height: 1.02;
}

h3,
.program-timeline h3 {
  line-height: 1.12;
}

p,
.lead,
.hero-description,
.program-detail-card p,
.program-timeline p,
.testimonial-text {
  line-height: 1.72;
  font-weight: 500;
}

.lead,
.hero-description {
  color: #5f6468;
}

/* Navegación profesional: más ligera, ordenada y delicada. */
.site-header {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  box-shadow: 0 8px 28px rgba(17, 17, 17, .05) !important;
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 74px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px;
  padding-block: 8px !important;
}

.brand {
  flex: 0 0 auto;
}

.logo-mark {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain;
  animation: none !important;
}

.nav-list {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  width: auto !important;
  margin-left: auto !important;
  padding: 6px !important;
  background: rgba(255, 249, 242, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 8px;
}

.nav-list li + li::before {
  display: none !important;
}

.nav-link {
  min-height: 38px !important;
  padding: 0 13px !important;
  color: #303030 !important;
  border-radius: 7px;
  background: transparent !important;
  font-size: .88rem !important;
  font-weight: 750 !important;
  text-transform: none !important;
  line-height: 1;
  transform: none !important;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.nav-link::before,
.nav-link::after {
  display: none !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-dark) !important;
  background: var(--white) !important;
  box-shadow: 0 6px 18px rgba(17, 17, 17, .07);
}

.menu-toggle {
  width: 42px !important;
  height: 42px !important;
  border-radius: 8px !important;
  background: var(--orange) !important;
  box-shadow: 0 10px 24px rgba(243, 112, 33, .22);
}

.menu-toggle span {
  width: 19px !important;
  background: var(--white) !important;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 68px !important;
  }

  .logo-mark {
    width: 64px !important;
    height: 64px !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    position: relative !important;
    right: auto !important;
    margin-left: auto;
  }

  .menu-toggle span {
    margin: 0 !important;
  }

  .nav-list {
    position: fixed !important;
    top: 82px !important;
    right: max(16px, env(safe-area-inset-right)) !important;
    left: auto !important;
    width: min(88vw, 340px) !important;
    max-height: calc(100vh - 104px);
    overflow: auto;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 10px !important;
    background: rgba(255, 255, 255, .97) !important;
    border-radius: 8px !important;
    box-shadow: 0 24px 70px rgba(17, 17, 17, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: flex-start !important;
    padding-inline: 14px !important;
    font-size: .95rem !important;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 62px !important;
    padding-block: 6px !important;
  }

  .logo-mark {
    width: 58px !important;
    height: 58px !important;
  }

  .nav-list {
    top: 74px !important;
    width: min(92vw, 330px) !important;
  }
}

/* Barra superior compacta que no invade la imagen principal. */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.nav-shell {
  min-height: 58px !important;
  padding-block: 4px !important;
}

.logo-mark {
  width: 50px !important;
  height: 50px !important;
}

.nav-list {
  padding: 4px !important;
  gap: 2px !important;
}

.nav-link {
  min-height: 32px !important;
  padding: 0 10px !important;
  font-size: .82rem !important;
}

.menu-toggle {
  width: 38px !important;
  height: 38px !important;
}

.hero {
  margin-top: 0 !important;
  min-height: clamp(430px, 70vh, 740px) !important;
  background-position: center 42% !important;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 56px !important;
  }

  .logo-mark {
    width: 48px !important;
    height: 48px !important;
  }

  .nav-list {
    top: 64px !important;
  }

  .hero {
    background-position: center 38% !important;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 52px !important;
  }

  .logo-mark {
    width: 44px !important;
    height: 44px !important;
  }

  .nav-list {
    top: 60px !important;
  }

  .hero {
    min-height: 430px !important;
    background-position: center 34% !important;
  }
}

/* Navegación final: una sola barra, sin barra interna. */
.site-header {
  height: 56px !important;
  min-height: 56px !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
  box-shadow: 0 4px 18px rgba(17, 17, 17, .04) !important;
}

.nav-shell {
  height: 56px !important;
  min-height: 56px !important;
  padding-block: 0 !important;
}

.logo-mark {
  width: 44px !important;
  height: 44px !important;
}

.nav-list {
  position: static !important;
  width: auto !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.nav-link {
  min-height: 56px !important;
  padding: 0 !important;
  color: #343434 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-dark) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-link::after {
  display: block !important;
  right: 0 !important;
  bottom: 12px !important;
  left: 0 !important;
  height: 2px !important;
  background: var(--orange) !important;
  transform: scaleX(0);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none !important;
}

@media (max-width: 980px) {
  .site-header,
  .nav-shell {
    height: 54px !important;
    min-height: 54px !important;
  }

  .logo-mark {
    width: 42px !important;
    height: 42px !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    margin-left: auto;
  }

  .nav-list {
    position: fixed !important;
    top: 62px !important;
    right: 14px !important;
    left: auto !important;
    width: min(86vw, 320px) !important;
    max-height: calc(100vh - 82px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    padding: 8px !important;
    overflow: auto !important;
    background: rgba(255, 255, 255, .98) !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 48px rgba(17, 17, 17, .16) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
  }

  .nav-list.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .nav-link {
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    justify-content: flex-start !important;
  }

  .nav-link::after {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .site-header,
  .nav-shell {
    height: 50px !important;
    min-height: 50px !important;
  }

  .logo-mark {
    width: 38px !important;
    height: 38px !important;
  }

  .nav-list {
    top: 58px !important;
  }
}

/* Navegación con presencia: grosor cómodo, una sola barra profesional. */
.site-header {
  height: 78px !important;
  min-height: 78px !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
  box-shadow: 0 10px 30px rgba(17, 17, 17, .06) !important;
}

.nav-shell {
  height: 78px !important;
  min-height: 78px !important;
  padding-block: 0 !important;
}

.logo-mark {
  width: 64px !important;
  height: 64px !important;
}

.nav-list {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  gap: 22px !important;
  padding: 0 !important;
}

.nav-link {
  min-height: 78px !important;
  padding: 0 !important;
  font-size: .9rem !important;
  font-weight: 750 !important;
}

.nav-link::after {
  bottom: 20px !important;
}

.hero {
  background-position: center 40% !important;
}

@media (max-width: 980px) {
  .site-header,
  .nav-shell {
    height: 68px !important;
    min-height: 68px !important;
  }

  .logo-mark {
    width: 56px !important;
    height: 56px !important;
  }

  .menu-toggle {
    width: 42px !important;
    height: 42px !important;
  }

  .nav-list {
    top: 76px !important;
  }

  .nav-link {
    min-height: 44px !important;
  }
}

@media (max-width: 560px) {
  .site-header,
  .nav-shell {
    height: 62px !important;
    min-height: 62px !important;
  }

  .logo-mark {
    width: 50px !important;
    height: 50px !important;
  }

  .nav-list {
    top: 70px !important;
  }
}

/* Menú hamburguesa global para toda la navegación. */
.site-header,
.nav-shell {
  height: 76px !important;
  min-height: 76px !important;
}

.nav-shell {
  position: relative;
}

.logo-mark {
  width: 62px !important;
  height: 62px !important;
}

.menu-toggle {
  display: inline-flex !important;
  position: relative !important;
  right: auto !important;
  margin-left: auto;
  width: 44px !important;
  height: 44px !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 8px !important;
  background: var(--orange) !important;
  box-shadow: 0 12px 28px rgba(243, 112, 33, .22);
}

.menu-toggle span {
  width: 20px !important;
  height: 2px !important;
  margin: 0 !important;
  background: var(--white) !important;
}

.nav-list {
  position: fixed !important;
  top: 88px !important;
  right: max(18px, calc((100vw - var(--container)) / 2)) !important;
  left: auto !important;
  width: min(360px, calc(100vw - 36px)) !important;
  max-height: calc(100vh - 112px) !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 10px !important;
  overflow: auto !important;
  background: rgba(255, 255, 255, .98) !important;
  border: 1px solid rgba(0, 0, 0, .08) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(17, 17, 17, .18) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-10px) scale(.98) !important;
  transition: opacity 220ms ease, transform 220ms ease !important;
}

.nav-list.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.nav-list li {
  width: 100%;
}

.nav-link {
  width: 100% !important;
  min-height: 44px !important;
  justify-content: flex-start !important;
  padding: 0 14px !important;
  color: var(--dark) !important;
  border-radius: 7px !important;
  font-size: .96rem !important;
}

.nav-link::after,
.nav-link::before {
  display: none !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange-dark) !important;
  background: var(--soft-orange) !important;
  box-shadow: none !important;
}

@media (max-width: 560px) {
  .site-header,
  .nav-shell {
    height: 66px !important;
    min-height: 66px !important;
  }

  .logo-mark {
    width: 52px !important;
    height: 52px !important;
  }

  .menu-toggle {
    width: 40px !important;
    height: 40px !important;
  }

  .nav-list {
    top: 76px !important;
    right: 12px !important;
    width: calc(100vw - 24px) !important;
  }
}

/* Corrección de capas del menú: el panel queda encima del fondo y es clicable. */
.site-header {
  z-index: 1200 !important;
}

.menu-backdrop {
  z-index: 1100 !important;
}

.menu-toggle {
  z-index: 1220 !important;
}

.nav-list {
  top: 76px !important;
  z-index: 1210 !important;
}

.nav-list.open {
  visibility: visible !important;
}

@media (max-width: 560px) {
  .nav-list {
    top: 66px !important;
  }
}

/* Header a todo el ancho de la página. */
.site-header {
  width: 100% !important;
}

.site-header .nav-shell {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: clamp(16px, 4vw, 44px) !important;
}

.site-header .brand {
  margin-right: auto;
}

.site-header .menu-toggle {
  margin-left: auto;
}

/* Logo flotante y protagonista. */
.site-header .brand {
  position: relative;
  z-index: 1230;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-top: 14px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(17, 17, 17, .14);
}

.site-header .logo-mark {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain;
  border-radius: 999px;
}

@media (max-width: 560px) {
  .site-header .brand {
    width: 72px;
    height: 72px;
    margin-top: 12px;
  }

  .site-header .logo-mark {
    width: 60px !important;
    height: 60px !important;
  }
}

/* Logo integrado dentro de la barra. */
.site-header .brand {
  width: auto !important;
  height: auto !important;
  margin-top: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-header .logo-mark {
  width: 62px !important;
  height: 62px !important;
  border-radius: 0 !important;
}

@media (max-width: 560px) {
  .site-header .logo-mark {
    width: 52px !important;
    height: 52px !important;
  }
}

/* Panel hamburguesa preciso y acorde con los apartados reales. */
.nav-list {
  counter-reset: menu-section;
}

.nav-list::before {
  content: "Apartados";
  display: block;
  padding: 10px 14px 8px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.nav-list li {
  counter-increment: menu-section;
}

.nav-list .nav-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 46px !important;
}

.nav-list .nav-link::before {
  content: counter(menu-section, decimal-leading-zero);
  position: static !important;
  display: inline-grid !important;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: var(--orange-dark);
  background: var(--soft-orange);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  transform: none !important;
}

.nav-list .nav-link.active::before,
.nav-list .nav-link:hover::before {
  color: var(--white);
  background: var(--orange);
}

/* Navegación recta con logo centrado y más protagonista. */
.site-header {
  height: 94px !important;
  min-height: 94px !important;
  background: var(--white) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .08) !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(17, 17, 17, .06) !important;
  overflow: visible !important;
}

.site-header .nav-shell {
  position: relative !important;
  height: 94px !important;
  min-height: 94px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.site-header .brand {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 1230;
  width: 84px !important;
  height: 84px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  background: var(--white) !important;
  border: 1px solid rgba(243, 112, 33, .22) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(17, 17, 17, .08) !important;
  transform: translate(-50%, -50%) !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease !important;
}

.site-header .brand:hover {
  border-color: rgba(236, 37, 90, .34) !important;
  box-shadow: 0 10px 24px rgba(17, 17, 17, .12) !important;
  transform: translate(-50%, -50%) scale(1.02) !important;
}

.site-header .logo-mark {
  width: 76px !important;
  height: 76px !important;
  object-fit: contain !important;
  border-radius: 999px !important;
  animation: none !important;
  mix-blend-mode: normal;
}

.site-header .brand::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 210, 46, .42);
  border-radius: 999px;
  opacity: .8;
  animation: none;
  pointer-events: none;
}

.site-header .menu-toggle {
  margin-left: auto !important;
  border-radius: 4px !important;
}

.site-header .nav-list {
  top: 94px !important;
}

@media (max-width: 560px) {
  .site-header,
  .site-header .nav-shell {
    height: 78px !important;
    min-height: 78px !important;
  }

  .site-header .logo-mark {
    width: 64px !important;
    height: 64px !important;
  }

  .site-header .brand {
    width: 70px !important;
    height: 70px !important;
  }

  .site-header .nav-list {
    top: 78px !important;
  }
}

/* Formulario de contacto profesional y amable. */
.contact-form-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,249,242,.96)) !important;
  border: 1px solid rgba(0, 0, 0, .07) !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 60px rgba(17, 17, 17, .10) !important;
}

.contact-form-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--yellow));
}

.contact-form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.form-eyebrow {
  width: fit-content;
  padding: 7px 10px;
  color: var(--orange-dark);
  background: var(--soft-orange);
  border: 1px solid rgba(243, 112, 33, .16);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form-head h3 {
  color: var(--dark);
  font-size: clamp(1.9rem, 4vw, 2.8rem) !important;
  line-height: 1;
}

.contact-form-head p {
  max-width: 540px;
  color: #62676b;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 18px !important;
}

.form-row {
  gap: 16px !important;
}

.form-group {
  display: grid;
  gap: 8px !important;
}

.form-group label {
  color: #2f3437;
  font-size: .88rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--dark);
  background: var(--white) !important;
  border: 1px solid rgba(0, 0, 0, .12) !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 18px rgba(17, 17, 17, .04);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-form textarea {
  min-height: 138px;
  padding-top: 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa0a6;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(243, 112, 33, .32) !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 4px rgba(243, 112, 33, .14), 0 10px 24px rgba(17, 17, 17, .07);
  transform: translateY(-1px);
}

.contact-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.contact-submit .btn {
  min-height: 54px;
  min-width: 190px;
  border-radius: 8px !important;
  box-shadow: 0 14px 32px rgba(236, 37, 90, .22);
}

.form-status {
  min-height: 24px;
  margin-top: 0;
  font-size: .92rem;
  font-weight: 750;
}

.field-error {
  min-height: 18px;
  color: #b42318;
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.35;
}

.contact-form [aria-invalid="true"] {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, .12) !important;
}

.contact-form [aria-invalid="false"]:not(:placeholder-shown) {
  border-color: rgba(95, 143, 115, .45) !important;
}

@media (max-width: 640px) {
  .contact-submit,
  .contact-submit .btn {
    width: 100%;
  }
}

/* Imagen panorámica más viva: sin opacidad pesada encima. */
.hero {
  background-image: url("../img/hero/hero-principal.jpg") !important;
  filter: saturate(1.08) contrast(1.04) brightness(1.03);
}

.hero::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .08)) !important;
}

.hero-wave {
  opacity: .96;
}

/* Equipo: fotos uniformes, mismo tamaño y recorte profesional. */
.team-slider {
  grid-auto-columns: minmax(260px, 280px) !important;
  align-items: stretch;
}

.team-card-modern {
  grid-template-rows: auto 1fr;
  height: 100%;
  border-radius: 8px !important;
}

.team-photo-modern {
  width: 100%;
  height: 330px !important;
  aspect-ratio: auto !important;
  background: #f4ece3;
}

.team-photo-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-info-modern {
  min-height: 190px;
  align-content: start;
}

.testimonial-avatar {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(236, 37, 90, .2);
}

.team-photo-modern img[src*="brand/logo-fundacion"] {
  object-fit: contain;
  object-position: center;
  padding: 46px;
  background:
    radial-gradient(circle at center, rgba(255, 210, 46, .24), transparent 58%),
    #fff9f2;
}

@media (max-width: 720px) {
  .team-slider {
    grid-auto-columns: minmax(82%, 1fr) !important;
  }

  .team-photo-modern {
    height: 360px !important;
  }
}

/* Pulido adaptivo final: consistencia visual, lectura comoda y mejor respuesta movil. */
:root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --surface: #ffffff;
  --surface-warm: #fff9f2;
  --line-soft: rgba(21, 21, 21, .08);
  --shadow-soft: 0 18px 48px rgba(17, 17, 17, .08);
  --shadow-lift: 0 24px 60px rgba(17, 17, 17, .12);
}

.section {
  padding-block: clamp(58px, 8vw, 108px);
}

.section-header {
  max-width: 820px;
  margin-inline: auto;
}

.section-header .lead {
  max-width: 680px;
  margin-inline: auto;
}

.program-grid {
  align-items: stretch;
  gap: clamp(16px, 2.4vw, 26px) !important;
}

.program-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 249, 242, .94)) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 30px rgba(17, 17, 17, .06);
}

.program-card h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
}

.program-card p {
  color: #60666a;
  line-height: 1.62;
}

.program-card a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 2px;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.program-detail-section {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
}

.program-detail-grid {
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr) !important;
  gap: clamp(28px, 5vw, 64px) !important;
}

.program-detail-card {
  padding: clamp(24px, 3.4vw, 36px) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 249, 242, .96)) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-soft);
}

.program-key-list li {
  padding-block: 14px;
}

.program-timeline {
  gap: clamp(14px, 2vw, 20px) !important;
}

.program-timeline li > div {
  border-color: var(--line-soft) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 30px rgba(17, 17, 17, .06) !important;
}

.program-mini-list li {
  min-width: 0;
}

.contact-card {
  border-radius: var(--radius-md) !important;
}

.contact-form-shell {
  border-radius: var(--radius-md) !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-size: 1rem;
}

.team-slider-shell {
  overflow: hidden;
}

.team-slider {
  scroll-padding-inline: 2px;
}

.team-card-modern {
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(17, 17, 17, .08);
}

.quick-contact,
.scroll-to-top,
.social-dock {
  max-width: calc(100vw - 24px);
}

@media (max-width: 1080px) {
  .program-detail-section {
    min-height: auto;
  }

  .program-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .program-detail-card {
    position: static !important;
    max-width: 820px;
  }
}

@media (max-width: 840px) {
  .section {
    padding-block: clamp(46px, 9vw, 76px);
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .program-card {
    transform: none !important;
  }

  .hero-intro .hero-content {
    padding: clamp(24px, 6vw, 34px) !important;
  }

  .contact-card {
    gap: 24px !important;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container)) !important;
  }

  .program-grid {
    grid-template-columns: 1fr !important;
  }

  .program-card,
  .program-detail-card,
  .program-timeline li > div,
  .contact-form-shell {
    border-radius: var(--radius-sm) !important;
  }

  .program-card {
    padding: 22px !important;
  }

  .program-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.25rem !important;
  }

  .program-detail-section {
    padding-block: 34px !important;
  }

  .program-detail-card h1,
  .program-detail-card h2 {
    font-size: clamp(2rem, 11vw, 2.75rem) !important;
  }

  .program-timeline li {
    grid-template-columns: 42px 1fr !important;
  }

  .program-timeline::before {
    left: 20px !important;
  }

  .program-timeline li > span {
    width: 42px !important;
    height: 42px !important;
    border-width: 4px !important;
  }

  .program-timeline li > div {
    padding: 18px !important;
  }

  .program-mini-list,
  .program-mini-list--balanced,
  .program-mini-list--three {
    grid-template-columns: 1fr !important;
  }

  .team-slider {
    grid-auto-columns: minmax(88%, 1fr) !important;
  }

  .team-photo-modern {
    height: min(360px, 72vw) !important;
  }

  .contact-form input,
  .contact-form select {
    min-height: 50px;
  }

  .contact-form textarea {
    min-height: 126px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container)) !important;
  }

  .hero-intro .hero-title {
    font-size: clamp(2.25rem, 14vw, 3.2rem) !important;
  }

  .hero-intro .hero-actions {
    gap: 10px;
  }

  .program-card h3 {
    font-size: 1.32rem;
  }

  .program-target,
  .program-card p {
    font-size: .95rem;
  }
}

/* Rendimiento: menos memoria y menos trabajo de pintura en contenido fuera de pantalla. */
main > .section,
.program-detail-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.program-card,
.metric-card,
.testimonial-card,
.timeline-card,
.team-card-modern,
.contact-form-shell,
.program-detail-card,
.program-timeline li > div {
  contain: layout paint;
}

.hero {
  filter: none !important;
}

.hero,
.timeline-media img,
.team-photo-modern img {
  backface-visibility: hidden;
}

@media (max-width: 840px), (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .program-card,
  .team-card-modern,
  .timeline-card,
  .metric-card,
  .testimonial-card,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    transition-duration: 120ms !important;
  }

  .program-card:hover,
  .team-card-modern:hover,
  .timeline-card:hover,
  .metric-card:hover,
  .testimonial-card:hover {
    transform: none !important;
  }

  .hero,
  .hero::before,
  .hero::after {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  main > .section,
  .program-detail-section,
  .site-footer {
    contain-intrinsic-size: 1px 760px;
  }

  .program-card,
  .team-card-modern,
  .testimonial-card,
  .timeline-card,
  .program-detail-card,
  .program-timeline li > div,
  .contact-form-shell {
    box-shadow: 0 10px 24px rgba(17, 17, 17, .07) !important;
  }

  .timeline-media img,
  .team-photo-modern img {
    transform: none !important;
  }
}

/* Galería panorámica principal: 4 fotos locales con transición suave. */
.hero {
  background: #17110d !important;
  background-image: none !important;
}

.hero-gallery {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #17110d;
}

.hero::before {
  z-index: 1 !important;
  pointer-events: none;
}

.hero::after {
  z-index: 2 !important;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms ease, transform 5200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.015);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--hero-x) var(--hero-y);
  filter: saturate(1.08) contrast(1.04) brightness(1.03);
}

.hero-slide img[src*="pantalla%20inicio"],
.hero-slide img[src*="pantalla inicio"] {
  object-fit: contain;
  object-position: center;
  padding: clamp(10px, 1.4vw, 18px) clamp(10px, 1.4vw, 18px) clamp(42px, 5vw, 72px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 248, 236, .96), rgba(255, 238, 211, .72)),
    linear-gradient(180deg, #fffaf2 0%, #f7ead4 100%);
  filter: none;
}

.hero-slide:has(img[src*="pantalla inicio"]),
.hero-slide:has(img[src*="pantalla%20inicio"]),
.hero-slide.is-active:has(img[src*="pantalla inicio"]),
.hero-slide.is-active:has(img[src*="pantalla%20inicio"]) {
  transform: none;
}

.hero-slide--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  align-items: center;
  padding: clamp(18px, 3vw, 42px) clamp(16px, 4vw, 68px) clamp(58px, 6vw, 84px);
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 245, 226, .92), transparent 360px),
    linear-gradient(135deg, #fff8ec 0%, #f5e4ca 46%, #fffaf2 100%);
}

.hero-split-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
}

.hero-split-panel img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-position: center;
  filter: none;
  transform: none !important;
}

.hero-split-panel--poster {
  height: min(100%, 820px);
}

.hero-split-panel--poster img {
  width: auto;
  height: 100%;
  object-fit: contain;
  padding: 0;
  background: transparent;
  box-shadow: 0 18px 48px rgba(62, 40, 20, .14);
}

.hero-split-panel--photo {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(91, 54, 28, .16);
  border-radius: 18px;
  background: #fff7e8;
  box-shadow: 0 18px 48px rgba(62, 40, 20, .14);
}

.hero-split-panel--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 41%;
  padding: 0;
  background: transparent;
}

.hero-slide--split.hero-slide img[src*="pantalla inicio"],
.hero-slide--split.hero-slide img[src*="pantalla%20inicio"] {
  padding: 0;
  background: transparent;
}

.hero-slide--single-photo {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 42px) clamp(16px, 4vw, 68px) clamp(58px, 6vw, 84px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 248, 236, .96), rgba(255, 238, 211, .72)),
    linear-gradient(180deg, #fffaf2 0%, #f4e4ca 100%);
}

.hero-slide--single-photo img {
  width: min(100%, 1060px);
  height: auto;
  max-height: calc(100% - 24px);
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 22px 58px rgba(62, 40, 20, .16);
  filter: none;
  transform: none !important;
}

@media (max-width: 860px) {
  .hero-slide--split {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 14px 66px;
  }

  .hero-split-panel--poster {
    height: min(54vh, 540px);
  }

  .hero-split-panel--photo {
    width: min(100%, 520px);
    margin-inline: auto;
  }
}

.hero:has(.hero-slide img[src*="pantalla inicio"]),
.hero:has(.hero-slide img[src*="pantalla%20inicio"]) {
  min-height: clamp(680px, 92vh, 980px) !important;
}

.hero:has(.hero-slide img[src*="pantalla inicio"]) .hero-wave,
.hero:has(.hero-slide img[src*="pantalla%20inicio"]) .hero-wave {
  height: 58px;
}

.hero-slide:nth-child(2) img {
  object-position: center 46%;
}

.hero-slide:nth-child(3) img {
  object-position: center 48%;
}

.hero-slide:nth-child(4) img {
  object-position: center 38%;
}

.hero-gallery-dots {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(84px, 10vw, 128px);
  z-index: 3;
  display: flex;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(17, 17, 17, .25);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero-scroll,
.hero-wave {
  z-index: 4 !important;
}

.hero-gallery-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  transition: width 320ms ease, background 320ms ease;
}

.hero-gallery-dots span.is-active {
  width: 22px;
  background: var(--yellow);
}

@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  .hero-slide,
  .hero-gallery-dots span {
    transition: none !important;
  }

  .hero-slide {
    opacity: 0;
    transform: none;
  }

  .hero-slide.is-active {
    opacity: 1;
  }

  .hero-gallery-dots span.is-active {
    width: 22px;
    background: var(--yellow);
  }
}

@media (max-width: 560px) {
  .hero-gallery-dots {
    right: 50%;
    bottom: 72px;
    transform: translateX(50%);
  }
}

/* Ajustes de alcance: mensaje claro, confianza visible y contacto directo. */
.btn-whatsapp {
  color: #ffffff;
  background: #1f9d55;
  box-shadow: 0 16px 34px rgba(31, 157, 85, .25);
}

.btn-whatsapp:hover {
  background: #188447;
}

.btn-secondary {
  color: var(--dark);
  background: #fff7f0;
  border: 1px solid rgba(243, 112, 33, .22);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--soft-orange);
}

.hero-trust {
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.hero-trust span {
  display: grid;
  gap: 3px;
  min-height: 82px;
  padding: 14px 12px;
  color: #5f6266;
  background: #fffaf4;
  border: 1px solid rgba(243, 112, 33, .16);
  border-radius: 8px;
  font-size: .9rem;
  line-height: 1.35;
}

.hero-trust strong {
  color: var(--dark);
  font-size: 1.1rem;
  line-height: 1;
}

.impact-actions,
.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.impact-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.impact-proof article {
  display: grid;
  gap: 7px;
  padding: 20px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .07);
}

.impact-proof strong {
  color: var(--dark);
  font-size: 1.05rem;
}

.impact-proof span {
  color: var(--muted);
  line-height: 1.55;
}

.contact-quick-actions {
  margin-bottom: 26px;
}

.contact-quick-actions .btn {
  min-height: 50px;
}

@media (max-width: 900px) {
  .hero-trust,
  .impact-proof {
    grid-template-columns: 1fr;
  }

  .hero-trust span {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero-intro .hero-actions,
  .impact-actions,
  .contact-quick-actions {
    display: grid;
    width: 100%;
  }

  .hero-intro .hero-actions .btn,
  .impact-actions .btn,
  .contact-quick-actions .btn {
    width: 100%;
  }
}

/* Chatbot de ayuda rápida flotante, separado de redes y encima de la flecha. */
.site-chatbot {
  position: fixed;
  left: 28px;
  bottom: 96px;
  z-index: 540;
  font-family: var(--font-body);
}

.chatbot-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #7c3aed, #ec255a);
  box-shadow:
    0 18px 42px rgba(124, 58, 237, .30),
    0 0 0 8px rgba(236, 37, 90, .10);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.chatbot-toggle:hover {
  transform: translateY(-4px) scale(1.06);
  filter: brightness(1.06);
  box-shadow:
    0 24px 54px rgba(124, 58, 237, .36),
    0 0 0 10px rgba(255, 210, 46, .18);
}

.chatbot-toggle::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border: 2px solid var(--white);
  border-radius: 999px;
}

.chatbot-robot-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  background: var(--white);
  border-radius: 16px 16px 18px 18px;
  box-shadow: inset 0 -4px 0 rgba(124, 58, 237, .08);
}

.chatbot-robot-face::before,
.chatbot-robot-face::after {
  content: "";
  position: absolute;
  top: 13px;
  width: 7px;
  height: 7px;
  background: #7c3aed;
  border-radius: 999px;
}

.chatbot-robot-face::before {
  left: 10px;
}

.chatbot-robot-face::after {
  right: 10px;
}

.chatbot-robot-face span {
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 18px;
  height: 9px;
  border-bottom: 3px solid #ec255a;
  border-radius: 0 0 999px 999px;
  background: transparent;
  transform: translateX(-50%);
}

.chatbot-robot-face span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -26px;
  width: 2px;
  height: 10px;
  background: var(--white);
  transform: translateX(-50%);
}

.chatbot-robot-face span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -32px;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 999px;
  transform: translateX(-50%);
}

.chatbot-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  width: min(368px, calc(100vw - 56px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px 28px 28px 10px;
  box-shadow: 0 24px 70px rgba(17, 17, 17, .22);
}

.chatbot-panel[hidden] {
  display: none;
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.chatbot-head div {
  display: grid;
  gap: 2px;
}

.chatbot-head strong {
  line-height: 1.1;
}

.chatbot-head span {
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
}

.chatbot-close {
  width: 34px;
  height: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 1.3rem;
  line-height: 1;
}

.chatbot-messages {
  display: grid;
  gap: 10px;
  max-height: 300px;
  padding: 14px;
  overflow-y: auto;
  background: #fffaf4;
}

.chatbot-message {
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  color: #3f4448;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .06);
  font-size: .92rem;
  line-height: 1.45;
}

.chatbot-message--user {
  justify-self: end;
  color: var(--white);
  background: var(--orange);
  border-color: transparent;
}

.chatbot-message a {
  color: var(--pink-dark);
  font-weight: 900;
  text-decoration: underline;
}

.chatbot-quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px 14px 0;
  background: var(--white);
}

.chatbot-quick button {
  min-height: 38px;
  color: var(--orange-dark);
  background: var(--soft-orange);
  border: 1px solid rgba(243, 112, 33, .18);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 850;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px 14px;
  background: var(--white);
}

.chatbot-form input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text);
  background: #fffaf4;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
}

.chatbot-form button {
  min-height: 42px;
  padding: 0 13px;
  color: var(--white);
  background: var(--pink);
  border-radius: 8px;
  font-weight: 900;
}

@media (max-width: 560px) {
  .site-chatbot {
    left: 16px;
    bottom: 88px;
  }

  .chatbot-toggle {
    width: 58px;
    height: 58px;
  }

  .chatbot-robot-face {
    width: 37px;
    height: 34px;
  }

  .chatbot-panel {
    width: min(330px, calc(100vw - 32px));
  }
}

/* Ajuste editorial: tipografia mas delicada, paginas de programa mas visuales y profundidad sutil. */
:root {
  --font-body: "Aptos", "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  --font-title: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --text: #24211f;
  --muted: #68625d;
  --shadow-3d: 0 24px 50px rgba(56, 37, 24, .13), 0 8px 18px rgba(56, 37, 24, .08);
  --shadow-3d-strong: 0 34px 78px rgba(56, 37, 24, .18), 0 12px 24px rgba(56, 37, 24, .11);
}

body {
  font-family: var(--font-body) !important;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

h1,
h2,
h3,
.hero-title,
.section-header h2,
.program-card h3,
.timeline-card h3,
.program-detail-hero h1,
.program-detail-card h1,
.program-detail-card h2 {
  font-family: var(--font-title) !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

h1,
.hero-title {
  line-height: .94;
}

h2,
.section-header h2 {
  line-height: 1;
}

h3,
.program-card h3,
.timeline-card h3 {
  line-height: 1.12;
}

p,
.lead,
.hero-description,
.program-card p,
.timeline-card p,
.check-list li,
.testimonial-text {
  color: var(--muted);
  font-weight: 400 !important;
  line-height: 1.74;
}

.lead {
  font-size: clamp(1.03rem, 1.65vw, 1.16rem);
}

.nav-link,
.btn,
.eyebrow,
.timeline-date,
.program-target,
.hero-badge,
.hero-kicker,
.hero-trust,
.contact-form label,
.chatbot-message {
  font-family: var(--font-body) !important;
  letter-spacing: .01em;
}

.nav-link,
.btn {
  font-weight: 720 !important;
}

.eyebrow,
.hero-kicker {
  font-weight: 720 !important;
  letter-spacing: .12em;
}

.hero-intro {
  perspective: 1200px;
}

.hero-intro .hero-content {
  transform-style: preserve-3d;
  box-shadow:
    0 34px 90px rgba(35, 23, 15, .16),
    inset 0 1px 0 rgba(255, 255, 255, .56);
}

.hero-trust span,
.impact-proof article,
.metric-card,
.testimonial-card,
.contact-form-shell,
.about-card,
.team-card-modern {
  box-shadow: var(--shadow-3d) !important;
}

.hero-trust span:hover,
.impact-proof article:hover,
.metric-card:hover,
.testimonial-card:hover,
.team-card-modern:hover {
  transform: translateY(-5px) translateZ(18px);
  box-shadow: var(--shadow-3d-strong) !important;
}

.program-grid {
  perspective: 1400px;
}

.program-card {
  position: relative;
  grid-template-rows: auto auto 1fr auto;
  overflow: visible !important;
  transform-style: preserve-3d;
  isolation: isolate;
  padding-top: clamp(22px, 3vw, 30px) !important;
  box-shadow: var(--shadow-3d) !important;
}

.program-card::before {
  right: 16px !important;
  top: 18px !important;
  z-index: -1;
  width: 78%;
  height: 58%;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 210, 46, .24), transparent 42%),
    linear-gradient(135deg, rgba(243, 112, 33, .10), rgba(236, 37, 90, .08)) !important;
  border-radius: 18px !important;
  filter: blur(.2px);
  transform: translateZ(-24px) rotate(2deg);
}

.program-card::after {
  content: "";
  position: absolute;
  inset: auto 24px -16px;
  z-index: -2;
  height: 34px;
  background: rgba(55, 36, 24, .18);
  border-radius: 999px;
  filter: blur(18px);
  transform: translateZ(-40px);
  pointer-events: none;
}

.program-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) !important;
  box-shadow: var(--shadow-3d-strong) !important;
}

.program-card:hover::before {
  transform: translateZ(-18px) rotate(4deg) scale(1.04) !important;
}

.program-icon {
  transform: translateZ(42px);
  box-shadow: 0 12px 24px rgba(39, 28, 21, .10);
}

.program-card h3,
.program-card p,
.program-card a,
.program-target {
  position: relative;
  z-index: 4;
  transform: translateZ(24px);
}

.about-card,
.timeline-media,
.contact-card {
  transform-style: preserve-3d;
}

.about-card::after,
.timeline-media::after {
  content: "";
  position: absolute;
  inset: 18px -14px -18px 22px;
  z-index: -1;
  background: rgba(70, 45, 26, .14);
  border-radius: inherit;
  filter: blur(18px);
  transform: translateZ(-30px);
}

.timeline-media {
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-3d) !important;
}

.timeline-media img {
  overflow: hidden;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .program-card:hover,
  .hero-trust span:hover,
  .impact-proof article:hover,
  .metric-card:hover,
  .testimonial-card:hover,
  .team-card-modern:hover {
    transform: translateY(-4px) !important;
  }
}

@media (max-width: 640px) {
  h1,
  .hero-title {
    line-height: 1;
  }

  .program-card {
    overflow: hidden !important;
  }
}

.program-journey {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  min-width: 0;
}

.program-stage-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: 190px 150px 170px;
  gap: 12px;
  min-height: auto;
  margin: 0;
  padding: clamp(14px, 2vw, 20px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 14px;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 210, 46, .30), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(236, 37, 90, .13), transparent 30%),
    linear-gradient(135deg, #fff9f2 0%, #fff0e5 54%, #ffffff 100%);
  box-shadow: var(--shadow-3d);
}

.program-stage-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .45) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .35;
}

.program-stage-collage::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 10px;
  pointer-events: none;
}

.stage-photo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fffaf4;
  border: 6px solid rgba(255, 255, 255, .96);
  border-radius: 10px;
  box-shadow:
    0 18px 38px rgba(38, 27, 20, .16),
    0 2px 0 rgba(255, 255, 255, .75) inset;
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.stage-photo--main {
  grid-column: 1;
  grid-row: 1 / span 2;
  transform: none;
}

.stage-photo--top {
  grid-column: 2;
  grid-row: 1;
  transform: none;
}

.stage-photo--bottom {
  grid-column: 2;
  grid-row: 2;
  transform: none;
}

.stage-photo--wide {
  grid-column: 1;
  grid-row: 3;
  transform: none;
}

.stage-photo--side {
  grid-column: 2;
  grid-row: 3;
  transform: none;
}

.program-stage-collage--semilla .stage-photo--main,
.program-stage-collage--semilla .stage-photo--side,
.program-stage-collage--psicosocial .stage-photo--top,
.program-stage-collage--psicosocial .stage-photo--side {
  object-position: center top;
}

.program-stage-collage--cosecha .stage-photo--main {
  object-position: center 42%;
}

.program-stage-collage--siembra .stage-photo--main,
.program-stage-collage--siembra .stage-photo--bottom {
  object-position: center top;
}

.program-stage-collage--siembra .stage-photo--wide {
  grid-column: 1 / -1;
  object-position: center;
}

.program-stage-collage--siembra {
  grid-template-columns: .92fr 1.08fr;
  grid-template-rows: 340px 280px 280px;
  gap: 14px;
}

.program-stage-collage--siembra .stage-photo {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #fff8ef;
}

.program-stage-collage--siembra .stage-photo--main {
  object-position: center 34%;
}

.program-stage-collage--siembra .stage-photo--main {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.program-stage-collage--siembra .stage-photo--top {
  grid-column: 2;
  grid-row: 1;
}

.program-stage-collage--siembra .stage-photo--bottom {
  grid-column: 2;
  grid-row: 2;
  object-position: center 26%;
}

.program-stage-collage--siembra .stage-photo--wide {
  grid-column: 1 / -1;
  grid-row: 3;
  object-position: center 34%;
}

.stage-doodle {
  position: absolute;
  z-index: 8;
  pointer-events: none;
}

.stage-doodle--heart {
  right: 22px;
  top: 22px;
  width: 34px;
  height: 30px;
  transform: rotate(-12deg);
}

.stage-doodle--heart::before,
.stage-doodle--heart::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, .95);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform-origin: bottom center;
  filter: drop-shadow(0 4px 8px rgba(39, 28, 21, .18));
}

.stage-doodle--heart::before {
  left: 8px;
  transform: rotate(-45deg);
}

.stage-doodle--heart::after {
  right: 8px;
  transform: rotate(45deg);
}

.stage-doodle--spark {
  left: 24px;
  bottom: 26px;
  width: 42px;
  height: 42px;
}

.stage-doodle--spark::before,
.stage-doodle--spark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: solid rgba(255, 255, 255, .92);
  filter: drop-shadow(0 4px 8px rgba(39, 28, 21, .16));
}

.stage-doodle--spark::before {
  border-width: 0 4px 0 0;
  transform: rotate(35deg);
}

.stage-doodle--spark::after {
  border-width: 4px 0 0 0;
  transform: rotate(35deg);
}

.stage-doodle--line {
  right: 24px;
  bottom: 24px;
  width: 66px;
  height: 34px;
  border-top: 4px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: drop-shadow(0 4px 8px rgba(39, 28, 21, .18));
}

.program-stage-collage figcaption {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 4;
  z-index: 9;
  max-width: none;
  padding: 13px 15px;
  color: #3e3833;
  background: rgba(255, 250, 244, .90);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 18px 42px rgba(38, 27, 20, .14);
  backdrop-filter: blur(12px);
}

.program-stage-collage:hover .stage-photo {
  filter: saturate(1.05) contrast(1.02);
  transform: translateY(-2px);
}

.program-stage-collage:hover .stage-photo--main {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(38, 27, 20, .26);
}

@media (max-width: 900px) {
  .program-stage-collage {
    grid-template-rows: 170px 135px 150px;
  }
}

@media (max-width: 640px) {
  .program-stage-collage {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 150px 150px 150px 150px auto;
    gap: 10px;
  }

  .stage-photo {
    border-width: 7px;
  }

  .stage-photo--main,
  .stage-photo--top {
    grid-column: 1;
  }

  .stage-photo--main {
    grid-row: 1;
  }

  .stage-photo--top {
    grid-row: 2;
  }

  .stage-photo--bottom {
    grid-column: 1;
    grid-row: 3;
  }

  .stage-photo--wide {
    grid-column: 1;
    grid-row: 4;
  }

  .stage-photo--side {
    grid-column: 1;
    grid-row: 5;
  }

  .stage-doodle--heart {
    right: 18px;
    top: 18px;
    transform: scale(.82) rotate(-12deg);
  }

  .stage-doodle--spark {
    left: 20px;
    bottom: 72px;
    transform: scale(.82);
  }

  .stage-doodle--line {
    right: 20px;
    bottom: 72px;
    transform: scale(.82) rotate(-18deg);
  }

  .program-stage-collage figcaption {
    grid-row: 6;
    font-size: .88rem;
  }

  .program-stage-collage--siembra {
    grid-template-columns: 1fr;
    grid-template-rows: 460px 260px 440px 280px auto;
    gap: 12px;
  }

  .program-stage-collage--siembra .stage-photo {
    grid-column: 1 !important;
    height: auto;
    padding: 0;
    object-fit: cover;
  }

  .program-stage-collage--siembra .stage-photo--main {
    grid-row: 1;
  }

  .program-stage-collage--siembra .stage-photo--top {
    grid-row: 2;
  }

  .program-stage-collage--siembra .stage-photo--bottom {
    grid-row: 3;
  }

  .program-stage-collage--siembra .stage-photo--wide {
    grid-row: 4;
  }

  .program-stage-collage--siembra figcaption {
    grid-row: 5;
  }
}

/* Informes de gestion: bloque de transparencia institucional. */
.reports-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 210, 46, .18), transparent 300px),
    radial-gradient(circle at 88% 0%, rgba(236, 37, 90, .10), transparent 340px),
    linear-gradient(180deg, #ffffff, var(--off-white));
}

.reports-section::before {
  content: "";
  position: absolute;
  inset: 34px clamp(16px, 4vw, 56px);
  border: 1px solid rgba(21, 21, 21, .07);
  border-radius: 18px;
  pointer-events: none;
}

.reports-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr repeat(2, .92fr);
  gap: clamp(16px, 2.4vw, 24px);
}

.report-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-height: 330px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 249, 242, .94));
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 12px;
  box-shadow: var(--shadow-3d);
}

.report-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 150px;
  height: 150px;
  background: rgba(255, 210, 46, .24);
  border-radius: 999px;
}

.report-card--featured {
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 210, 46, .34), transparent 260px),
    linear-gradient(135deg, var(--orange), var(--pink));
  border-color: transparent;
}

.report-card--featured::before {
  background: rgba(255, 255, 255, .16);
}

.report-year {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--orange-dark);
  font-family: var(--font-title);
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 700;
  line-height: .85;
}

.report-card--featured .report-year {
  color: var(--white);
}

.report-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
}

.report-status {
  width: fit-content;
  padding: 7px 11px;
  color: var(--pink-dark);
  background: rgba(236, 37, 90, .08);
  border: 1px solid rgba(236, 37, 90, .14);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.report-card--featured .report-status {
  color: var(--dark);
  background: var(--yellow);
  border-color: transparent;
}

.report-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.report-card p {
  color: #625b55;
  line-height: 1.65;
}

.report-card--featured h3,
.report-card--featured p {
  color: var(--white);
}

.report-card--featured p {
  color: rgba(255, 255, 255, .86);
}

.report-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  padding: 0 15px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 800;
}

.report-link--disabled {
  color: #746a62;
  background: rgba(21, 21, 21, .05);
  border: 1px solid rgba(21, 21, 21, .08);
}

.report-card--featured .report-link--disabled {
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
}

@media (max-width: 960px) {
  .reports-grid {
    grid-template-columns: 1fr;
  }

  .report-card {
    min-height: auto;
  }
}

/* Informes de gestion: version organizada tipo hub documental. */
.reports-hub {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
  padding: clamp(14px, 2vw, 18px);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 14px;
  box-shadow: var(--shadow-3d);
  backdrop-filter: blur(12px);
}

.reports-summary {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 210, 46, .35), transparent 240px),
    linear-gradient(135deg, var(--orange), var(--pink));
  border-radius: 10px;
}

.reports-summary-label {
  width: fit-content;
  padding: 7px 11px;
  color: var(--dark);
  background: var(--yellow);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.reports-summary h3 {
  max-width: 420px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.reports-summary p {
  max-width: 440px;
  color: rgba(255, 255, 255, .86);
  line-height: 1.68;
}

.reports-list {
  display: grid;
  gap: 12px;
}

.report-row {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  min-height: 132px;
  padding: clamp(18px, 2.6vw, 24px);
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, .06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.report-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 5px;
  background: rgba(243, 112, 33, .28);
  border-radius: 0 999px 999px 0;
}

.report-row--latest {
  border-color: rgba(236, 37, 90, .18);
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 210, 46, .20), transparent 190px),
    rgba(255, 255, 255, .96);
}

.report-row--latest::before {
  background: linear-gradient(180deg, var(--pink), var(--orange));
}

.report-row:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 112, 33, .22);
  box-shadow: var(--shadow-3d);
}

.report-row .report-year {
  color: var(--orange-dark);
  font-size: clamp(2.2rem, 4vw, 3.35rem);
}

.report-row--latest .report-year {
  color: var(--pink-dark);
}

.report-row--legal {
  background:
    radial-gradient(circle at 96% 0%, rgba(243, 112, 33, .16), transparent 190px),
    rgba(255, 255, 255, .96);
}

.report-row--legal::before {
  background: linear-gradient(180deg, #5f8f73, var(--orange));
}

.report-year--document {
  font-family: var(--font-body) !important;
  font-size: clamp(1.85rem, 3vw, 2.55rem) !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
}

.report-row--legal .report-status {
  color: #356347;
  background: rgba(95, 143, 115, .12);
  border-color: rgba(95, 143, 115, .22);
}

/* Semilla: galerias desplegables por actividad, sin superponer fotos. */
.activity-gallery-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.activity-gallery-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 10%, rgba(255, 210, 46, .20), transparent 170px),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 249, 242, .94));
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, .06);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.activity-gallery-card[open] {
  border-color: rgba(243, 112, 33, .26);
  box-shadow: var(--shadow-3d);
}

.activity-gallery-card summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 15px 18px;
  color: var(--dark);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.activity-gallery-card summary::-webkit-details-marker {
  display: none;
}

.activity-gallery-card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(236, 37, 90, .18);
}

.activity-gallery-card[open] summary::after {
  content: "-";
}

.activity-gallery-card > p {
  margin: -4px 18px 14px;
  color: #5d6468;
  font-size: .96rem;
  line-height: 1.6;
}

.activity-collage {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 180px 150px;
  gap: 10px;
  padding: 0 18px 18px;
}

.activity-collage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, .96);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(39, 28, 21, .14);
  transition: transform 220ms ease, filter 220ms ease;
}

.activity-collage img:hover {
  transform: translateY(-3px);
  filter: saturate(1.08) contrast(1.03);
}

.activity-collage img:nth-child(1) {
  grid-row: span 2;
}

.activity-collage img:nth-child(4) {
  grid-column: 1 / -1;
  height: 150px;
}

.activity-collage--compact {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 170px 150px;
}

.activity-collage--compact img:nth-child(1) {
  grid-row: span 2;
}

.activity-collage--compact img:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.activity-collage--full {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-template-rows: none;
  align-items: stretch;
}

.activity-collage--full img,
.activity-collage--full img:nth-child(1),
.activity-collage--full img:nth-child(3),
.activity-collage--full img:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
  height: auto;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at center, rgba(255, 210, 46, .10), transparent 58%),
    #fff7ee;
}

.activity-collage--full img[src*="danza"],
.activity-collage--full img[src*="taekwondo"],
.activity-collage--full img[src*="WhatsApp"],
.activity-collage--full img[src*="karen"],
.activity-collage--full img[src*="andres"] {
  aspect-ratio: 3 / 4;
  min-height: 260px;
}

.activity-collage--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Pulido visual para las galerias de Semilla: composicion editorial sin espacios vacios. */
.programs-detail-page .activity-gallery-card {
  position: relative;
  border: 1px solid rgba(21, 21, 21, .075);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 248, 239, .96)),
    #fff;
  box-shadow: 0 16px 38px rgba(17, 17, 17, .075);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.programs-detail-page .activity-gallery-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 112, 33, .24);
  box-shadow: 0 20px 46px rgba(17, 17, 17, .10);
}

.programs-detail-page .activity-gallery-card[open] {
  border-color: rgba(243, 112, 33, .34);
  box-shadow: 0 24px 54px rgba(17, 17, 17, .12);
}

.programs-detail-page .activity-gallery-card summary {
  min-height: 64px;
  padding: 18px 20px;
  color: #171717;
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-weight: 800;
}

.programs-detail-page .activity-gallery-card summary::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  box-shadow: 0 0 0 6px rgba(243, 112, 33, .10);
}

.programs-detail-page .activity-gallery-card summary::after {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  color: #171717;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(21, 21, 21, .10);
  box-shadow: 0 8px 18px rgba(17, 17, 17, .08);
}

.programs-detail-page .activity-gallery-card > p {
  max-width: 760px;
  margin: -2px 20px 18px;
  color: #555f63;
  font-size: .98rem;
}

.programs-detail-page .activity-collage--full,
.programs-detail-page .activity-collage--three {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(12px, 1.8vw, 18px);
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 244, 231, .82)),
    radial-gradient(circle at 14% 18%, rgba(255, 210, 46, .16), transparent 210px);
  border-top: 1px solid rgba(21, 21, 21, .06);
}

.programs-detail-page .activity-collage--full img,
.programs-detail-page .activity-collage--three img,
.programs-detail-page .activity-collage--full img:nth-child(1),
.programs-detail-page .activity-collage--full img:nth-child(3),
.programs-detail-page .activity-collage--full img:nth-child(4) {
  grid-column: span 4;
  grid-row: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: #fff5ea;
  border: 6px solid rgba(255, 255, 255, .96);
  border-radius: 12px;
  box-shadow:
    0 14px 30px rgba(17, 17, 17, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .82);
  filter: saturate(1.04) contrast(1.02);
  transform: none;
}

.programs-detail-page .activity-collage--full img:nth-child(1) {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.programs-detail-page .activity-collage--full img:nth-child(2) {
  grid-column: span 5;
}

.programs-detail-page .activity-collage--full img:nth-child(3) {
  grid-column: span 5;
}

.programs-detail-page .activity-collage--full img:nth-child(4) {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.programs-detail-page .activity-collage--full img:nth-child(n+5) {
  grid-column: span 6;
}

.programs-detail-page .activity-collage--three img,
.programs-detail-page .activity-collage--three img:nth-child(1),
.programs-detail-page .activity-collage--three img:nth-child(2),
.programs-detail-page .activity-collage--three img:nth-child(3) {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.programs-detail-page .activity-collage--full img.is-portrait,
.programs-detail-page .activity-collage--three img.is-portrait,
.programs-detail-page .activity-collage--full img[src*="ingles/WhatsApp Image 2026-06-14 at 11.29.54 AM"],
.programs-detail-page .activity-collage--three img[src*="taekwondo/WhatsApp Image 2026-06-14 at 10.59.19 AM.jpeg"] {
  aspect-ratio: 3 / 4;
  object-position: center top;
}

.programs-detail-page .activity-collage--full img[src*="danza"],
.programs-detail-page .activity-collage--full img[src*="ingles/WhatsApp Image 2026-06-14 at 11.29.55"],
.programs-detail-page .activity-collage--three img[src*="taekwondo/WhatsApp Image 2026-06-14 at 10.59.19 AM (1)"],
.programs-detail-page .activity-collage--three img[src*="taekwondo/WhatsApp Image 2026-06-14 at 10.59.19 AM (2)"] {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.programs-detail-page .activity-collage--full img:hover,
.programs-detail-page .activity-collage--three img:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 38px rgba(17, 17, 17, .15),
    inset 0 0 0 1px rgba(255, 255, 255, .88);
}

@media (max-width: 720px) {
  .activity-gallery-card summary {
    padding-inline: 14px;
  }

  .activity-gallery-card > p {
    margin-inline: 14px;
  }

  .activity-collage,
  .activity-collage--compact {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    padding: 0 14px 14px;
  }

  .activity-collage img,
  .activity-collage--compact img {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 190px !important;
  }

  .activity-collage--full img,
  .activity-collage--three img {
    height: auto !important;
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .activity-collage--full img[src*="danza"],
  .activity-collage--full img[src*="taekwondo"],
  .activity-collage--full img[src*="WhatsApp"] {
    aspect-ratio: 3 / 4;
    min-height: 260px;
  }

  .programs-detail-page .activity-collage--full,
  .programs-detail-page .activity-collage--three {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .programs-detail-page .activity-collage--full img,
  .programs-detail-page .activity-collage--three img,
  .programs-detail-page .activity-collage--full img:nth-child(1),
  .programs-detail-page .activity-collage--full img:nth-child(2),
  .programs-detail-page .activity-collage--full img:nth-child(3),
  .programs-detail-page .activity-collage--full img:nth-child(4),
  .programs-detail-page .activity-collage--full img:nth-child(n+5),
  .programs-detail-page .activity-collage--three img:nth-child(1),
  .programs-detail-page .activity-collage--three img:nth-child(2),
  .programs-detail-page .activity-collage--three img:nth-child(3) {
    grid-column: auto;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .programs-detail-page .activity-collage--full img.is-portrait,
  .programs-detail-page .activity-collage--three img.is-portrait {
    aspect-ratio: 3 / 4;
  }
}

/* Galerias modernas por etapa: fotos visibles, sin collage ni superposiciones. */
.program-photo-showcase {
  position: relative;
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  padding: clamp(18px, 2.8vw, 28px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 210, 46, .22), transparent 270px),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 249, 242, .94));
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 14px;
  box-shadow: var(--shadow-3d);
}

.program-photo-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 112, 33, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(243, 112, 33, .07) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .42;
  pointer-events: none;
}

.photo-showcase-head,
.photo-showcase-grid {
  position: relative;
  z-index: 1;
}

.photo-showcase-head {
  display: grid;
  gap: 8px;
  max-width: 680px;
}

.photo-showcase-head span {
  width: fit-content;
  padding: 7px 11px;
  color: var(--pink-dark);
  background: rgba(236, 37, 90, .08);
  border: 1px solid rgba(236, 37, 90, .14);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.photo-showcase-head h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.photo-showcase-head p {
  max-width: 620px;
  color: #5f6468;
  line-height: 1.66;
}

.photo-showcase-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  grid-auto-rows: 180px;
  gap: 12px;
}

.photo-showcase-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #fffaf4;
  border: 1px solid rgba(21, 21, 21, .08);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(39, 28, 21, .13);
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .18));
  opacity: .7;
  pointer-events: none;
}

.photo-showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 260ms ease;
}

.photo-showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3d-strong);
}

.photo-showcase-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.photo-showcase-item--large {
  grid-row: span 2;
}

.photo-showcase-item--wide {
  grid-column: 1 / -1;
}

.program-photo-showcase--semilla .photo-showcase-item--large img,
.program-photo-showcase--semilla .photo-showcase-grid .photo-showcase-item:last-child img,
.program-photo-showcase--psicosocial .photo-showcase-grid .photo-showcase-item:nth-child(3) img {
  object-position: center top;
}

.program-photo-showcase--cosecha {
  background:
    radial-gradient(circle at 92% 10%, rgba(236, 37, 90, .13), transparent 270px),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 246, 239, .95));
}

.program-photo-showcase--psicosocial {
  background:
    radial-gradient(circle at 12% 12%, rgba(95, 143, 115, .18), transparent 280px),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 251, 248, .95));
}

.photo-showcase-grid--calm .photo-showcase-item::after {
  background: linear-gradient(180deg, transparent 62%, rgba(28, 67, 47, .20));
}

.photo-showcase-grid--psicologia {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 14px;
}

.photo-showcase-grid--psicologia .photo-showcase-item {
  grid-column: span 4;
  grid-row: span 1;
  border-radius: 14px;
  background: #f7fbf8;
}

.photo-showcase-grid--psicologia .photo-showcase-item--large {
  grid-column: span 7;
  grid-row: span 2;
}

.photo-showcase-grid--psicologia .photo-showcase-item:nth-child(2) {
  grid-column: span 5;
}

.photo-showcase-grid--psicologia .photo-showcase-item:nth-child(3) {
  grid-column: span 5;
}

.photo-showcase-grid--psicologia .photo-showcase-item--portrait {
  grid-column: span 4;
  grid-row: span 2;
}

.photo-showcase-grid--psicologia .photo-showcase-item--wide {
  grid-column: span 8;
  grid-row: span 2;
}

.photo-showcase-grid--psicologia .photo-showcase-item img {
  object-fit: cover;
  object-position: center;
}

.photo-showcase-grid--psicologia .photo-showcase-item--portrait img {
  object-position: center top;
}

.photo-showcase-grid--cosecha-real {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 14px;
}

.photo-showcase-grid--cosecha-real .photo-showcase-item {
  border-radius: 14px;
  background: #fff7ee;
}

.photo-showcase-grid--cosecha-real .photo-showcase-item--portrait {
  grid-column: span 3;
  grid-row: span 2;
}

.photo-showcase-grid--cosecha-real .photo-showcase-item--large {
  grid-column: span 6;
  grid-row: span 2;
}

.photo-showcase-grid--cosecha-real .photo-showcase-item--wide {
  grid-column: span 12;
  grid-row: span 2;
}

.photo-showcase-grid--cosecha-real .photo-showcase-item img {
  object-fit: cover;
  object-position: center;
}

.photo-showcase-grid--cosecha-real .photo-showcase-item--portrait img {
  object-position: center top;
}

@media (max-width: 760px) {
  .program-photo-showcase {
    padding: 16px;
  }

  .photo-showcase-grid,
  .photo-showcase-grid--focus,
  .photo-showcase-grid--calm {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .photo-showcase-item--large,
  .photo-showcase-item--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-showcase-grid--psicologia {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-showcase-grid--psicologia .photo-showcase-item,
  .photo-showcase-grid--psicologia .photo-showcase-item--large,
  .photo-showcase-grid--psicologia .photo-showcase-item--portrait,
  .photo-showcase-grid--psicologia .photo-showcase-item--wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-showcase-grid--psicologia .photo-showcase-item--portrait {
    aspect-ratio: 9 / 14;
  }

  .photo-showcase-grid--cosecha-real {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-showcase-grid--cosecha-real .photo-showcase-item,
  .photo-showcase-grid--cosecha-real .photo-showcase-item--portrait,
  .photo-showcase-grid--cosecha-real .photo-showcase-item--large,
  .photo-showcase-grid--cosecha-real .photo-showcase-item--wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-showcase-grid--cosecha-real .photo-showcase-item--portrait {
    aspect-ratio: 3 / 4;
  }
}

.report-row .report-content {
  gap: 7px;
}

.report-row .report-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.58rem);
}

.report-row .report-content p {
  max-width: 520px;
  color: #625b55;
}

.report-row .report-status {
  padding: 6px 10px;
  font-size: .72rem;
}

.report-row--latest .report-status {
  color: var(--white);
  background: var(--pink);
  border-color: transparent;
}

.report-row .report-link {
  white-space: nowrap;
}

.timeline-media--portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  overflow: hidden !important;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(31, 23, 18, .62), rgba(31, 23, 18, .28)),
    url("../img/content/logro-cierre.jpg") center 58% / cover;
}

.timeline-media--portrait::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  background: url("../img/content/logro-cierre.jpg") center 58% / cover;
  filter: blur(14px) saturate(1.08) brightness(.92);
  transform: scale(1.08);
}

.timeline-media--portrait img {
  position: relative;
  z-index: 1;
  width: auto;
  height: calc(100% - 20px);
  min-height: 0 !important;
  max-width: min(44%, 280px);
  object-fit: contain;
  border: 5px solid rgba(255, 255, 255, .92);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(17, 17, 17, .22);
}

.timeline-media--wide {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, .94), rgba(255, 244, 230, .86)),
    #fff8ef;
}

.timeline-media--wide::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  background: url("../img/content/presentacion-cultural.jpg") center / cover;
  filter: blur(14px) saturate(1.08) brightness(.96);
  opacity: .42;
  transform: scale(1.08);
}

.timeline-media--wide img {
  position: relative;
  z-index: 1;
  width: calc(100% - 20px);
  height: auto;
  max-height: calc(100% - 20px);
  min-height: 0 !important;
  object-fit: contain;
  object-position: center;
  border: 5px solid rgba(255, 255, 255, .94);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 17, 17, .16);
  transform: none !important;
}

@media (max-width: 840px) {
  .timeline-media--portrait img {
    max-width: min(66%, 280px);
  }
}

@media (max-width: 560px) {
  .timeline-media--portrait {
    aspect-ratio: 4 / 3;
  }

  .timeline-media--portrait img {
    max-width: min(72%, 260px);
    height: calc(100% - 18px);
  }
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.report-link--secondary {
  color: var(--orange-dark);
  background: rgba(243, 112, 33, .08);
  border: 1px solid rgba(243, 112, 33, .18);
}

@media (max-width: 980px) {
  .reports-hub {
    grid-template-columns: 1fr;
  }

  .reports-summary {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .reports-hub {
    padding: 10px;
  }

  .report-row {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .report-row .report-link {
    width: 100%;
  }

  .report-actions {
    width: 100%;
    justify-content: stretch;
  }
}

/* Actividades extracurriculares */
.extracurricular-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 210, 46, .18), transparent 280px),
    radial-gradient(circle at 88% 12%, rgba(236, 37, 90, .10), transparent 320px),
    linear-gradient(180deg, #fffaf3 0%, #ffffff 58%, #fff6ec 100%);
}

.extracurricular-carousel {
  display: flex;
  gap: clamp(10px, 1.6vw, 18px);
  min-height: clamp(330px, 38vw, 470px);
  padding: clamp(10px, 1.4vw, 16px);
  border: 1px solid rgba(91, 54, 28, .10);
  border-radius: 26px;
  background: rgba(255, 255, 255, .72);
  box-shadow:
    0 28px 70px rgba(64, 37, 18, .12),
    inset 0 1px 0 rgba(255, 255, 255, .75);
}

.activity-slide {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  isolation: isolate;
  background: #19110d;
  box-shadow: 0 16px 36px rgba(38, 25, 16, .18);
  transition:
    flex .72s cubic-bezier(.22, .8, .25, 1),
    transform .32s ease,
    box-shadow .32s ease;
}

.activity-slide:hover,
.activity-slide:focus-within {
  flex: 4.6 1 0;
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(38, 25, 16, .24);
}

.activity-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(330px, 38vw, 470px);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.04);
  transition: transform .72s cubic-bezier(.22, .8, .25, 1), filter .45s ease;
}

.activity-slide:hover img,
.activity-slide:focus-within img {
  transform: scale(1);
  filter: saturate(1.12) contrast(1.04);
}

.activity-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 13, 9, 0) 0%, rgba(17, 13, 9, .04) 52%, rgba(17, 13, 9, .38) 100%);
  pointer-events: none;
}

.activity-slide-content {
  position: absolute;
  left: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 2;
  display: grid;
  gap: 5px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

.activity-slide-content span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #23160f;
  background: rgba(255, 210, 46, .94);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: none;
}

.activity-slide-content h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
}

.activity-slide-content p {
  max-width: 36ch;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .98rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .32s ease, transform .32s ease;
}

.activity-slide:hover .activity-slide-content p,
.activity-slide:focus-within .activity-slide-content p {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .extracurricular-carousel {
    min-height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 10px;
  }

  .activity-slide,
  .activity-slide:hover,
  .activity-slide:focus-within {
    flex: 0 0 min(82vw, 360px);
    transform: none;
    scroll-snap-align: center;
  }

  .activity-slide img {
    min-height: 420px;
    transform: none;
  }

  .activity-slide-content p {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .extracurricular-carousel {
    margin-inline: -4px;
    border-radius: 20px;
  }

  .activity-slide,
  .activity-slide:hover,
  .activity-slide:focus-within {
    flex-basis: min(86vw, 320px);
    border-radius: 18px;
  }

  .activity-slide img {
    min-height: 360px;
  }
}

/* Sede Espinal */
.sede-espinal-section {
  background:
    radial-gradient(circle at 16% 20%, rgba(243, 112, 33, .12), transparent 300px),
    radial-gradient(circle at 84% 78%, rgba(255, 210, 46, .15), transparent 320px),
    linear-gradient(180deg, #ffffff 0%, #fff8ef 100%);
}

.sede-espinal-card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(91, 54, 28, .10);
  border-radius: 26px;
  background: rgba(255, 255, 255, .82);
  box-shadow:
    0 24px 64px rgba(64, 37, 18, .10),
    inset 0 1px 0 rgba(255, 255, 255, .75);
}

.sede-espinal-copy {
  display: grid;
  gap: 18px;
  padding: clamp(8px, 2vw, 18px);
}

.sede-espinal-copy h2 {
  max-width: 680px;
  margin: 0;
}

.sede-espinal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.sede-espinal-details article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(91, 54, 28, .10);
  border-radius: 18px;
  background: rgba(255, 250, 243, .88);
}

.sede-espinal-details span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #4b2a16;
  background: rgba(255, 210, 46, .82);
  font-size: .74rem;
  font-weight: 900;
}

.sede-espinal-details strong {
  color: var(--dark);
  font-size: 1.05rem;
}

.sede-espinal-details p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

.sede-espinal-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  border-radius: 22px;
  background: #19110d;
  box-shadow: 0 22px 48px rgba(32, 22, 14, .16);
}

.sede-espinal-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.02);
}

.sede-espinal-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  min-width: 126px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 16px;
  color: #fff;
  background: rgba(25, 17, 13, .62);
  backdrop-filter: blur(10px);
}

.sede-espinal-badge strong {
  font-size: 1.15rem;
}

.sede-espinal-badge span {
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
}

@media (max-width: 900px) {
  .sede-espinal-card {
    grid-template-columns: 1fr;
  }

  .sede-espinal-visual {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .sede-espinal-card {
    padding: 12px;
    border-radius: 20px;
  }

  .sede-espinal-details {
    grid-template-columns: 1fr;
  }

  .sede-espinal-visual {
    min-height: 240px;
    border-radius: 18px;
  }
}

/* Historia institucional */
.foundation-story-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 210, 46, .14), transparent 280px),
    radial-gradient(circle at 88% 90%, rgba(88, 119, 52, .10), transparent 320px),
    linear-gradient(180deg, #fffaf3 0%, #ffffff 55%, #fff7ed 100%);
}

.foundation-story-card {
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(121, 83, 30, .20);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .96), rgba(255, 248, 237, .94));
  box-shadow:
    0 28px 72px rgba(64, 37, 18, .12),
    inset 0 0 0 6px rgba(255, 255, 255, .55);
}

.foundation-story-card::before,
.foundation-story-card::after {
  content: "";
  position: absolute;
  width: clamp(120px, 18vw, 210px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .16;
  background:
    radial-gradient(ellipse at center, rgba(181, 135, 36, .32), transparent 62%);
}

.foundation-story-card::before {
  left: -70px;
  top: -76px;
}

.foundation-story-card::after {
  right: -72px;
  bottom: -82px;
}

.foundation-story-header {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.foundation-story-header h2 {
  margin: 0;
  color: #163820;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.foundation-story-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: clamp(24px, 4vw, 42px) auto 0;
  color: #28231e;
  font-family: var(--font-title);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  line-height: 1.68;
}

.foundation-story-body p {
  margin: 0;
}

.foundation-story-quote {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: clamp(26px, 4vw, 44px) auto 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(121, 83, 30, .28);
  border-radius: 18px;
  color: #173b22;
  background: rgba(255, 255, 255, .68);
  font-family: var(--font-title);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.48;
  text-align: center;
  box-shadow: inset 0 0 0 4px rgba(255, 248, 231, .82);
}

.story-book {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 940px;
  margin: clamp(26px, 4vw, 48px) auto 0;
  perspective: 1600px;
}

.story-book-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .78fr) minmax(300px, 1fr);
  min-height: clamp(430px, 48vw, 560px);
  transform: rotateX(2deg) rotateY(-5deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 34px rgba(64, 37, 18, .16));
}

.story-book-cover {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(87, 58, 24, .24);
  border-radius: 22px 8px 8px 22px;
  color: #fff7df;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .18), transparent 22%),
    radial-gradient(circle at 22% 22%, rgba(255, 210, 46, .24), transparent 230px),
    linear-gradient(135deg, #163820 0%, #214f2e 54%, #102818 100%);
  box-shadow:
    inset -12px 0 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .18);
}

.story-book-cover span,
.story-book-cover small {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-book-cover strong {
  max-width: 9ch;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .92;
}

.story-book-pages {
  position: relative;
  z-index: 1;
  min-height: inherit;
  transform-style: preserve-3d;
}

.story-book-pages::before {
  content: "";
  position: absolute;
  inset: 10px -10px 10px 10px;
  z-index: 0;
  border-radius: 8px 22px 22px 8px;
  background:
    repeating-linear-gradient(90deg, #ead9b7 0 2px, #fff6e8 2px 5px);
  transform: translateZ(-16px);
}

.story-book-page {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(121, 83, 30, .20);
  border-left: 0;
  border-radius: 8px 22px 22px 8px;
  background:
    linear-gradient(90deg, rgba(111, 75, 31, .10), transparent 12%),
    radial-gradient(circle at 88% 12%, rgba(255, 210, 46, .14), transparent 210px),
    linear-gradient(180deg, #fffdf7 0%, #fff5e5 100%);
  box-shadow:
    inset 8px 0 16px rgba(90, 61, 25, .10),
    0 16px 34px rgba(64, 37, 18, .10);
  opacity: 0;
  transform: rotateY(-24deg) translateX(-18px) translateZ(-28px);
  transform-origin: left center;
  transition: opacity 320ms ease, transform 520ms cubic-bezier(.2, .74, .22, 1);
  pointer-events: none;
}

.story-book-page.is-active {
  z-index: 3;
  opacity: 1;
  transform: rotateY(0) translateX(0) translateZ(0);
  pointer-events: auto;
}

.story-book-page.is-before {
  opacity: 0;
  transform: rotateY(-95deg) translateX(-20px);
}

.story-book-page.is-after {
  opacity: 0;
  transform: rotateY(22deg) translateX(20px) translateZ(-32px);
}

.story-page-number {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #4b2a16;
  background: rgba(255, 210, 46, .82);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 900;
}

.story-book-page h3 {
  margin: 0;
  color: #173b22;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.story-book-page p,
.story-book-page blockquote {
  margin: 0;
  color: #342a22;
  font-family: var(--font-title);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.62;
}

.story-book-page--quote blockquote {
  color: #173b22;
  font-size: clamp(1.16rem, 2vw, 1.48rem);
  font-style: italic;
  font-weight: 700;
}

.story-book-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.story-book-btn {
  min-width: 118px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(91, 54, 28, .16);
  border-radius: 999px;
  color: #173b22;
  background: #fff;
  font: 800 .92rem/1 var(--font-body);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(64, 37, 18, .08);
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.story-book-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #fff7e8;
}

.story-book-btn:disabled {
  cursor: not-allowed;
  opacity: .44;
}

.story-book-status {
  min-width: 112px;
  color: var(--muted);
  font: 800 .9rem/1 var(--font-body);
  text-align: center;
}

@media (max-width: 680px) {
  .foundation-story-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .foundation-story-body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .foundation-story-quote {
    padding: 20px 16px;
    text-align: left;
  }

  .story-book-shell {
    grid-template-columns: 1fr;
    min-height: 520px;
    transform: none;
  }

  .story-book-cover {
    min-height: 150px;
    border-radius: 18px 18px 8px 8px;
  }

  .story-book-cover strong {
    max-width: none;
    font-size: 2.2rem;
  }

  .story-book-pages {
    min-height: 370px;
  }

  .story-book-page {
    border-left: 1px solid rgba(121, 83, 30, .20);
    border-radius: 8px 8px 18px 18px;
    padding: 24px 20px;
  }
}

/* Libro institucional con hojas 3D */
.foundation-story-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 210, 46, .16), transparent 340px),
    radial-gradient(circle at 86% 18%, rgba(88, 119, 52, .12), transparent 360px),
    radial-gradient(circle at 50% 100%, rgba(243, 112, 33, .10), transparent 420px),
    linear-gradient(180deg, #fffaf3 0%, #ffffff 54%, #fff6e8 100%);
}

.foundation-story-card {
  overflow: visible;
  max-width: 1160px;
  border-color: rgba(121, 83, 30, .18);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .96), rgba(255, 248, 237, .94));
  box-shadow:
    0 28px 72px rgba(64, 37, 18, .12),
    inset 0 0 0 6px rgba(255, 255, 255, .56);
}

.foundation-story-card::before,
.foundation-story-card::after {
  opacity: .16;
  background:
    radial-gradient(ellipse at center, rgba(181, 135, 36, .32), transparent 62%);
}

.foundation-story-header .eyebrow {
  color: var(--orange-dark);
}

.foundation-story-header h2 {
  color: #163820;
  text-shadow: none;
}

.story-book {
  max-width: 990px;
  perspective: 2200px;
}

.story-book-shell {
  display: block;
  width: min(100%, 940px);
  height: clamp(500px, 54vw, 610px);
  min-height: 0;
  margin-inline: auto;
  transform: none;
  filter: drop-shadow(0 30px 34px rgba(64, 37, 18, .16));
}

.story-book-pages {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform-style: preserve-3d;
}

.story-book-pages::before {
  display: none;
}

.story-book-spine {
  position: absolute;
  left: calc(50% - 19px);
  top: 0;
  z-index: 900;
  display: none;
  width: 38px;
  height: 100%;
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      to bottom,
      #c7922d 0,
      #c7922d 20px,
      #fff6df 20px,
      #fff6df 40px
    );
  box-shadow:
    0 0 16px rgba(64, 37, 18, .18),
    inset 0 0 0 1px rgba(91, 54, 28, .22);
}

.story-book-pages.is-open .story-book-spine {
  display: block;
}

.story-book-paper {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2, .72, .2, 1);
}

.story-book-paper.is-flipped {
  transform: rotateY(-180deg);
}

.story-book-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 10px 28px rgba(64, 37, 18, .16);
}

.story-book-face--back {
  transform: rotateY(180deg);
  border-radius: 20px 0 0 20px;
}

.story-book-page {
  position: relative;
  inset: auto;
  z-index: auto;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 18px);
  padding: clamp(28px, 4vw, 42px) clamp(24px, 3vw, 34px);
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  color: #3b1730;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 247, 232, .94)),
    radial-gradient(circle at 18% 14%, rgba(255, 210, 46, .14), transparent 230px),
    linear-gradient(180deg, #fffdf7 0%, #fff2dc 100%);
  box-shadow: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.story-book-page::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(181, 106, 28, .38);
  border-radius: 14px;
  pointer-events: none;
}

.story-book-page::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(199, 146, 45, .12);
  pointer-events: none;
}

.story-book-page--cover {
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #143119;
  background:
    linear-gradient(90deg, rgba(121, 83, 30, .10), transparent 24%),
    radial-gradient(circle at 22% 20%, rgba(255, 210, 46, .26), transparent 230px),
    linear-gradient(135deg, #fff8e8 0%, #f4dfad 54%, #fffaf0 100%);
}

.story-book-page--cover::before {
  border-color: rgba(121, 83, 30, .34);
}

.story-book-logo {
  width: clamp(82px, 10vw, 124px);
  height: clamp(82px, 10vw, 124px);
  object-fit: contain;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(22, 56, 32, .22);
}

.story-page-kicker {
  color: #7a531e;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-book-page--cover h3 {
  max-width: 9ch;
  color: #143119;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: .92;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .82);
}

.story-book-page--cover p {
  max-width: 18ch;
  color: #4b2a16;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  line-height: 1.32;
  text-shadow: none;
}

.story-page-number {
  align-self: center;
  color: #4b2a16;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 0 0 1px rgba(181, 106, 28, .20);
}

.story-book-page h3 {
  position: relative;
  z-index: 1;
  color: #173b22;
  font-size: clamp(1.65rem, 2.9vw, 2.65rem);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, .86);
}

.story-book-page p,
.story-book-page blockquote {
  position: relative;
  z-index: 1;
  color: #342a22;
  font-family: var(--font-title);
  font-size: clamp(.98rem, 1.35vw, 1.16rem);
  line-height: 1.52;
}

.story-book-page--quote blockquote {
  color: #173b22;
  font-size: clamp(1.08rem, 1.75vw, 1.38rem);
}

.story-book-page--empty {
  align-items: center;
  justify-content: center;
}

.story-book-controls {
  margin-top: 4px;
}

.story-book-btn {
  min-width: 126px;
  min-height: 46px;
  border: 0;
  color: #143119;
  background: linear-gradient(135deg, #fff7e5, #e7bf68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .72),
    0 12px 26px rgba(64, 37, 18, .16);
}

.story-book-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #fffaf0, #f0ca74);
}

.story-book-status {
  min-width: 176px;
  color: #6f6256;
}

@media (max-width: 760px) {
  .story-book-shell {
    width: min(100%, 390px);
    height: 560px;
  }

  .story-book-paper {
    left: 0;
    width: 100%;
  }

  .story-book-spine {
    display: none !important;
  }

  .story-book-face,
  .story-book-face--back {
    border-radius: 20px;
  }

  .story-book-page {
    padding: 30px 24px;
  }
}

/* Página Sede Espinal */
.hero {
  height: clamp(520px, calc(100svh - 88px), 820px);
  min-height: 0 !important;
  padding: 0 !important;
  background: #17110d !important;
}

.hero:has(.hero-slide img[src*="duenos-hero-clean"]) {
  height: clamp(520px, calc(100svh - 88px), 820px);
  min-height: 0 !important;
}

.hero::before,
.hero::after {
  display: none !important;
}

.hero-wave {
  display: none !important;
}

.hero-gallery,
.hero-slide,
.hero-slide--single-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  background: transparent !important;
}

.hero-gallery::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 5;
  width: 100%;
  height: clamp(84px, 13vw, 150px);
  background: #fff;
  clip-path: polygon(0 0, 8% 15%, 18% 34%, 30% 52%, 42% 63%, 50% 66%, 58% 63%, 70% 52%, 82% 34%, 92% 15%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-slide--single-photo {
  opacity: 1;
  transform: none !important;
}

.hero-slide--single-photo::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(17, 13, 9, .10), rgba(17, 13, 9, .16)),
    url("../img/hero/duenos-hero-clean.jpg") center / cover no-repeat;
  filter: blur(18px) saturate(1.08) brightness(.92);
  transform: scale(1.04);
}

.hero-slide--single-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .10), transparent 42%),
    linear-gradient(90deg, rgba(17, 13, 9, .20), transparent 18%, transparent 82%, rgba(17, 13, 9, .20));
  pointer-events: none;
}

.hero-slide img[src*="duenos-hero-clean"] {
  position: relative;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center;
  filter: saturate(1.04) contrast(1.02) brightness(1.02);
}

@media (max-width: 720px) {
  .hero {
    height: clamp(420px, 68svh, 640px);
  }

  .hero-gallery::after {
    height: clamp(62px, 18vw, 104px);
    clip-path: polygon(0 0, 10% 12%, 22% 30%, 35% 45%, 46% 54%, 50% 56%, 54% 54%, 65% 45%, 78% 30%, 90% 12%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-slide img[src*="duenos-hero-clean"] {
    object-position: center;
  }

  .hero-slide--single-photo::before {
    inset: -18px;
    filter: blur(14px) saturate(1.06) brightness(.94);
  }

  .hero-slide--single-photo::after {
    background:
      linear-gradient(180deg, rgba(17, 13, 9, .10), transparent 30%, rgba(17, 13, 9, .12));
  }
}

/* Página Sede Espinal */
.sede-page {
  background: #fffaf3;
}

.sede-detail-hero {
  padding: clamp(72px, 9vw, 116px) 0 clamp(48px, 7vw, 86px);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 210, 46, .18), transparent 330px),
    radial-gradient(circle at 86% 10%, rgba(243, 112, 33, .12), transparent 320px),
    linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
}

.sede-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.sede-detail-copy {
  display: grid;
  gap: 18px;
}

.sede-detail-copy h1 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .98;
}

.sede-detail-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(91, 54, 28, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(64, 37, 18, .14);
}

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

.sede-info-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.sede-focus-list {
  display: grid;
  gap: 14px;
}

.sede-focus-list article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(91, 54, 28, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 14px 34px rgba(64, 37, 18, .08);
}

.sede-focus-list span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #4b2a16;
  background: rgba(255, 210, 46, .82);
  font-size: .74rem;
  font-weight: 900;
}

.sede-focus-list h3 {
  margin: 0;
  color: var(--dark);
  font-size: 1.25rem;
}

.sede-focus-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.sede-service-grid {
  margin-top: clamp(22px, 4vw, 34px);
}

.sede-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(91, 54, 28, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(64, 37, 18, .10);
}

.sede-contact-card h2 {
  margin: 0 0 10px;
}

@media (max-width: 860px) {
  .sede-detail-hero-grid,
  .sede-info-grid,
  .sede-contact-card {
    grid-template-columns: 1fr;
  }

  .sede-contact-card .btn {
    width: 100%;
    justify-content: center;
  }
}
