@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --navy: #101a3a;
  --navy-soft: #19274d;
  --blue: #0756b6;
  --yellow: #fff24f;
  --yellow-deep: #f3e72b;
  --green: #79d94c;
  --green-deep: #276b33;
  --mint: #edf8e9;
  --cream: #f8f7f1;
  --ink: #11172c;
  --muted: #62697b;
  --line: #dfe2e7;
  --white: #ffffff;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(121, 217, 76, 0.1), transparent 24rem),
    var(--cream);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--yellow);
  color: var(--navy);
}

body,
button,
input,
select {
  font: inherit;
}

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

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

.announcement {
  align-items: center;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.03em;
  min-height: 38px;
  padding: 8px 20px;
  text-align: center;
}

.announcementDot {
  background: var(--navy);
  border-radius: 50%;
  height: 4px;
  width: 4px;
}

.siteHeader {
  align-items: center;
  background: rgba(248, 247, 241, 0.94);
  backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 240px 1fr 330px;
  min-height: 88px;
  padding: 0 clamp(24px, 5vw, 80px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 26, 58, 0.08);
}

.headerActions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-self: end;
}

.languageSwitch {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 26, 58, 0.12);
  border-radius: 999px;
  display: flex;
  gap: 7px;
  padding: 5px 8px;
  box-shadow: 0 7px 20px rgba(16, 26, 58, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.languageSwitch:hover,
.languageSwitch:focus-visible {
  border-color: rgba(16, 26, 58, 0.25);
  box-shadow: 0 10px 24px rgba(16, 26, 58, 0.13);
  outline: none;
  transform: translateY(-1px);
}

.languageCode {
  align-items: center;
  color: rgba(16, 26, 58, 0.35);
  display: flex;
  font-size: 10px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color 180ms ease;
}

.languageSwitch[data-current="es"] .languageCodeEs,
.languageSwitch[data-current="en"] .languageCodeEn {
  color: var(--navy);
}

.languageTrack {
  align-items: center;
  background: rgba(16, 26, 58, 0.08);
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(2, 27px);
  height: 31px;
  padding: 2px;
  position: relative;
  width: 58px;
}

.languageFlag {
  align-items: center;
  display: flex;
  font-size: 17px;
  height: 27px;
  justify-content: center;
  line-height: 1;
  position: relative;
  width: 27px;
  z-index: 1;
}

.languageThumb {
  background: var(--white);
  border: 1px solid rgba(16, 26, 58, 0.18);
  border-radius: 50%;
  box-shadow: 0 3px 9px rgba(16, 26, 58, 0.22);
  height: 27px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 27px;
}

.languageSwitch[data-current="en"] .languageThumb {
  transform: translateX(27px);
}

.brand img {
  height: 58px;
  object-fit: contain;
  object-position: left center;
  width: 210px;
}

nav {
  display: flex;
  gap: clamp(20px, 3vw, 42px);
  justify-content: center;
}

nav a {
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

nav a::after {
  background: var(--green);
  bottom: -8px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.headerCta {
  background: var(--navy);
  border-radius: 999px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  justify-self: end;
  padding: 14px 21px;
}

.hero {
  display: grid;
  gap: clamp(40px, 6vw, 90px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  min-height: 680px;
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) clamp(24px, 7vw, 112px) 92px;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(16, 26, 58, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 26, 58, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to right, transparent, black 75%);
  pointer-events: none;
  position: absolute;
}

.hero::before {
  border: 54px solid rgba(121, 217, 76, 0.15);
  border-radius: 50%;
  content: "";
  height: 300px;
  left: -210px;
  position: absolute;
  top: 45%;
  width: 300px;
}

.heroCopy {
  align-self: center;
  max-width: 760px;
  position: relative;
  z-index: 2;
  animation: introUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Manrope", "DM Sans", sans-serif;
}

h1 {
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 28px;
  max-width: 850px;
}

h1 em {
  color: var(--blue);
  font-style: normal;
  position: relative;
}

h1 em::after {
  background: var(--yellow);
  bottom: 2px;
  content: "";
  height: 15px;
  left: -4px;
  position: absolute;
  transform: rotate(-1deg);
  width: calc(100% + 8px);
  z-index: -1;
}

.heroLead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 650px;
}

.heroActions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  min-height: 56px;
  padding: 16px 25px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible,
.headerCta:hover,
.headerCta:focus-visible {
  box-shadow: 0 12px 30px rgba(16, 26, 58, 0.18);
  transform: translateY(-2px);
}

.buttonPrimary {
  background: var(--yellow);
  color: var(--navy);
}

.buttonDark {
  background: var(--navy);
  color: var(--white);
}

.textLink {
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
  padding: 8px 0;
}

.heroProof {
  display: flex;
  gap: 24px;
  margin-top: 58px;
}

.heroProof div {
  align-items: center;
  border-left: 1px solid var(--line);
  display: flex;
  gap: 10px;
  padding-left: 18px;
}

.heroProof strong {
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 26px;
}

.heroProof span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  max-width: 90px;
}

.heroMedia {
  align-self: center;
  min-height: 500px;
  min-width: 0;
  perspective: 1200px;
  position: relative;
  width: 100%;
  z-index: 3;
}

.heroCarousel {
  aspect-ratio: 16 / 10;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
  width: 100%;
}

.carouselViewport {
  background: var(--navy);
  border: 8px solid var(--white);
  border-radius: 34px;
  box-shadow: 0 35px 90px rgba(16, 26, 58, 0.24);
  height: 100%;
  overflow: hidden;
  position: relative;
  transform: rotate(1.25deg);
}

.carouselSlide {
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.05);
  transition: opacity 650ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
}

.carouselSlide.isActive {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  z-index: 2;
}

.carouselImage {
  height: 100%;
  width: 100%;
}

.carouselImage-cover {
  object-fit: cover;
}

.carouselImage-contain {
  background: linear-gradient(145deg, #f1efe9, #dde9d6);
  object-fit: contain;
}

.carouselSlide figcaption {
  align-items: flex-start;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  left: 18px;
  max-width: calc(100% - 36px);
  padding: 11px 15px;
  position: absolute;
}

.carouselSlide figcaption span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carouselSlide figcaption strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(13px, 1.4vw, 18px);
}

.carouselControls {
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(16, 26, 58, 0.08);
  border-radius: 999px;
  bottom: -28px;
  box-shadow: 0 15px 35px rgba(16, 26, 58, 0.14);
  display: flex;
  gap: 17px;
  left: 50%;
  min-height: 58px;
  padding: 7px 10px;
  position: absolute;
  transform: translateX(-50%);
  z-index: 8;
}

.carouselArrows {
  display: flex;
  gap: 5px;
}

.carouselArrows button {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  transition: background 160ms ease, transform 160ms ease;
  width: 42px;
}

.carouselArrows button:hover,
.carouselArrows button:focus-visible {
  background: var(--blue);
  transform: scale(1.06);
}

.carouselDots {
  align-items: center;
  display: flex;
  gap: 7px;
}

.carouselDots button {
  background: rgba(16, 26, 58, 0.2);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  transition: background 180ms ease, width 180ms ease;
  width: 7px;
}

.carouselDots button.isActive {
  background: var(--green-deep);
  width: 24px;
}

.carouselCount {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  min-width: 38px;
}

.carouselSticker {
  align-items: center;
  background: var(--yellow);
  border: 6px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(16, 26, 58, 0.18);
  display: flex;
  flex-direction: column;
  height: 100px;
  justify-content: center;
  position: absolute;
  right: -22px;
  top: -26px;
  transform: rotate(8deg);
  width: 100px;
  z-index: 9;
}

.carouselSticker span {
  font-size: 10px;
  font-weight: 800;
}

.carouselSticker strong {
  font-size: 24px;
}

.heroGrid {
  background-image: linear-gradient(rgba(16, 26, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 26, 58, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  border: 1px solid rgba(16, 26, 58, 0.08);
  border-radius: 48px;
  inset: 42px 0 24px 56px;
  mask-image: linear-gradient(135deg, black, transparent 88%);
  position: absolute;
  transform: rotate(5deg);
}

.heroMascotCard {
  background: linear-gradient(145deg, #ffffff 0%, #ece9e3 65%, #d7e8ce 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 52% 48% 26px 26px / 34% 34% 26px 26px;
  box-shadow: 0 34px 90px rgba(16, 26, 58, 0.22);
  height: 555px;
  left: 9%;
  overflow: hidden;
  position: absolute;
  top: 0;
  transform: rotate(2deg);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 78%;
  z-index: 3;
}

.heroMascotCard:hover {
  transform: rotate(0deg) translateY(-8px);
}

.heroMascot {
  height: 100%;
  mix-blend-mode: multiply;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.035);
  width: 100%;
  animation: mascotBreath 5s ease-in-out infinite;
}

.mascotHello {
  align-items: center;
  animation: floatLabel 3.2s ease-in-out infinite;
  background: var(--yellow);
  border: 5px solid white;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 26, 58, 0.18);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 10px;
  left: -9px;
  padding: 13px 18px;
  position: absolute;
  top: 34px;
  transform: rotate(-6deg);
  z-index: 4;
}

.mascotHello b {
  color: var(--blue);
}

.mascotName {
  bottom: -12px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Manrope", sans-serif;
  font-size: clamp(62px, 7vw, 104px);
  font-weight: 800;
  left: 50%;
  letter-spacing: -0.08em;
  line-height: 1;
  position: absolute;
  text-shadow: 0 8px 30px rgba(16, 26, 58, 0.18);
  transform: translateX(-50%);
  z-index: 5;
}

.miniSchoolCard {
  align-items: center;
  animation: miniFloat 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  bottom: 4px;
  box-shadow: 0 18px 55px rgba(16, 26, 58, 0.2);
  display: grid;
  gap: 13px;
  grid-template-columns: 84px 1fr;
  left: -16px;
  padding: 10px;
  position: absolute;
  transform: rotate(-4deg);
  width: min(320px, 75%);
  z-index: 6;
}

.miniSchoolCard img {
  border-radius: 14px;
  height: 76px;
  object-fit: cover;
  width: 84px;
}

.miniSchoolCard div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.miniSchoolCard span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.miniSchoolCard strong {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}

.orbitBadge {
  align-items: center;
  background: var(--green);
  border: 6px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(16, 26, 58, 0.2);
  display: flex;
  flex-direction: column;
  height: 126px;
  justify-content: center;
  position: absolute;
  right: -12px;
  top: 72px;
  transform: rotate(9deg);
  width: 126px;
  z-index: 7;
}

.orbitBadge span {
  font-size: 9px;
  font-weight: 800;
  max-width: 88px;
  text-align: center;
}

.orbitBadge b {
  font-size: 25px;
}

.heroImageWrap {
  border-radius: 52% 48% 18% 20% / 42% 42% 18% 18%;
  box-shadow: 0 25px 80px rgba(16, 26, 58, 0.2);
  height: 520px;
  overflow: hidden;
  position: relative;
  transform: rotate(2deg);
  z-index: 2;
}

.heroImageWrap > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.imageTag {
  align-items: center;
  background: var(--white);
  bottom: 22px;
  display: flex;
  font-size: 13px;
  gap: 12px;
  left: 22px;
  line-height: 1.35;
  max-width: 300px;
  padding: 14px 18px;
  position: absolute;
}

.tagIcon {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
}

.sunShape {
  background: var(--yellow);
  border-radius: 50% 50% 0 50%;
  height: 190px;
  position: absolute;
  right: -74px;
  top: -58px;
  transform: rotate(18deg);
  width: 190px;
}

.greenRing {
  border: 42px solid var(--green);
  border-radius: 50%;
  bottom: -72px;
  height: 210px;
  left: -70px;
  position: absolute;
  width: 210px;
}

.trustBar {
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px clamp(24px, 7vw, 112px);
}

.trustBar span {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Manrope", sans-serif;
  font-size: clamp(15px, 1.7vw, 22px);
  font-weight: 700;
  text-align: center;
}

.trustBar span:last-child {
  border: 0;
}

.motionMarquee {
  background: var(--green);
  border-bottom: 1px solid var(--navy);
  border-top: 1px solid var(--navy);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1deg) scale(1.02);
}

.motionMarquee > div {
  align-items: center;
  animation: marqueeMove 24s linear infinite;
  display: flex;
  gap: 26px;
  width: max-content;
}

.motionMarquee span {
  font-family: "Manrope", sans-serif;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.motionMarquee i {
  color: var(--blue);
  font-size: 18px;
  font-style: normal;
}

.section {
  padding: clamp(82px, 10vw, 150px) clamp(24px, 7vw, 112px);
}

.sectionHeading {
  margin: 0 auto 58px;
  max-width: 830px;
  text-align: center;
}

.sectionHeading h2,
.chocoCopy h2,
.programsIntro h2,
.recognitionCopy h2,
.visitCopy h2,
.locationSection h2 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-bottom: 22px;
}

.sectionHeading > p:last-child,
.chocoCopy > p,
.programsIntro > p,
.recognitionCopy > p,
.visitCopy > p,
.locationSection > div > p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.pillarCard {
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 280ms ease;
}

.pillarCard:hover {
  box-shadow: 0 24px 60px rgba(16, 26, 58, 0.14);
  transform: translateY(-9px) rotate(-0.5deg);
}

.pillarNumber {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--navy);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  left: 20px;
  position: absolute;
  top: 20px;
  width: 40px;
  z-index: 3;
}

.pillarIcon {
  font-size: 56px;
  margin: auto 0 28px;
}

.pillarCard h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pillarCard p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.pillarNavy {
  background: var(--navy);
  color: white;
}

.pillarYellow {
  background: var(--yellow);
}

.pillarGreen {
  background: var(--green);
}

.pillarPhoto {
  padding: 0;
}

.pillarPhoto img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
  width: 100%;
}

.pillarPhoto:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045);
}

.photoOverlay {
  background: linear-gradient(180deg, rgba(9, 18, 47, 0) 0%, rgba(9, 18, 47, 0.24) 30%, rgba(9, 18, 47, 0.96) 78%);
  bottom: 0;
  color: white;
  display: flex;
  flex-direction: column;
  left: 0;
  padding: 110px 24px 24px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.photoOverlay span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.photoOverlay h3 {
  color: white;
  font-size: 22px;
  line-height: 1.08;
  margin: 0 0 10px;
}

.photoOverlay p {
  color: rgba(255, 255, 255, 0.83);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chocoSection {
  align-items: center;
  background: var(--yellow);
  display: grid;
  gap: clamp(55px, 8vw, 120px);
  grid-template-columns: minmax(300px, 0.8fr) 1fr;
}

.chocoVideo {
  justify-self: center;
  max-width: 380px;
  position: relative;
  width: 100%;
}

.chocoVideo video {
  aspect-ratio: 9 / 16;
  background: var(--navy);
  border: 12px solid white;
  border-radius: 34px;
  box-shadow: 22px 24px 0 var(--navy);
  object-fit: cover;
  width: 100%;
}

.videoBadge {
  background: var(--green);
  border-radius: 999px;
  font-weight: 800;
  padding: 13px 18px;
  position: absolute;
  right: -40px;
  top: 54px;
  transform: rotate(6deg);
}

.chocoCopy {
  max-width: 680px;
}

.chocoCopy .eyebrow {
  color: var(--navy);
}

.chocoCopy > p {
  color: rgba(16, 26, 58, 0.76);
}

.chocoCopy .button {
  margin-top: 20px;
}

.chocoPortraitRail {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 12px;
  max-width: 560px;
}

.chocoPortraitRail figure {
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(16, 26, 58, 0.12);
  border-radius: 20px;
  margin: 0;
  overflow: hidden;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.chocoPortraitRail figure:nth-child(1) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12)), url("/assets/school/campus-panoramica.jpeg");
}

.chocoPortraitRail figure:nth-child(2) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1)), url("/assets/pdf-images/p02_img01.jpg");
}

.chocoPortraitRail figure:nth-child(3) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)), url("/assets/school/casita-camion.jpeg");
}

.chocoPortraitRail figure:nth-child(2) {
  transform: translateY(15px);
}

.chocoPortraitRail figure:hover {
  box-shadow: 0 18px 35px rgba(16, 26, 58, 0.16);
  transform: translateY(-6px) rotate(2deg);
}

.chocoPortraitRail img {
  aspect-ratio: 0.8;
  mix-blend-mode: multiply;
  object-fit: cover;
  mask-image: radial-gradient(ellipse 72% 80% at center, black 54%, transparent 94%);
  width: 100%;
}

.chocoPortraitRail figcaption {
  background: var(--white);
  bottom: 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  left: 8px;
  padding: 7px 10px;
  position: absolute;
}

.levelsSection {
  background: var(--white);
}

.splitHeading {
  align-items: end;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  max-width: none;
  text-align: left;
}

.splitHeading > p {
  margin-left: auto;
  max-width: 520px;
}

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

.levelCard {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.levelCard:hover {
  box-shadow: 0 24px 60px rgba(16, 26, 58, 0.13);
  transform: translateY(-8px);
}

.levelImage {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.levelImage img {
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.levelCard:hover .levelImage img {
  transform: scale(1.04);
}

.levelImage > span {
  align-items: center;
  background: var(--yellow);
  border-radius: 50%;
  bottom: 18px;
  display: flex;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  left: 18px;
  position: absolute;
  width: 52px;
}

.levelContent {
  padding: 26px;
}

.levelContent h3 {
  font-size: 27px;
  margin-bottom: 12px;
}

.levelContent p {
  color: var(--muted);
  line-height: 1.65;
}

.levelContent a {
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  margin-top: 8px;
}

.prepaSection {
  align-items: center;
  background: var(--navy);
  color: white;
  display: grid;
  gap: clamp(52px, 7vw, 110px);
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
}

.prepaVisual {
  min-height: 700px;
  position: relative;
}

.prepaMainImage {
  border-radius: 140px 28px 28px 28px;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.prepaFlag {
  background: var(--yellow);
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  left: 24px;
  padding: 13px 17px;
  position: absolute;
  text-transform: uppercase;
  top: 24px;
}

.prepaMiniImage {
  background: white;
  border: 8px solid var(--navy);
  border-radius: 24px;
  bottom: 28px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  right: -34px;
  transform: rotate(2deg);
  width: min(320px, 62%);
}

.prepaMiniImage img {
  display: block;
  height: 210px;
  object-fit: cover;
  width: 100%;
}

.prepaMiniImage figcaption {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 12px 15px 14px;
  text-transform: uppercase;
}

.prepaCopy h2 {
  color: white;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  max-width: 720px;
}

.prepaLead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.65;
  max-width: 720px;
}

.prepaRoutes {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.prepaRoute {
  border-left: 2px solid var(--green);
  padding: 10px 18px 12px;
}

.prepaRoute span,
.prepaProject figcaption span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prepaRoute h3 {
  color: white;
  font-size: 22px;
  margin: 9px 0;
}

.prepaRoute p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.prepaSkills {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  margin: 26px 0;
  text-transform: uppercase;
}

.prepaSkills i {
  color: var(--green);
  font-style: normal;
  margin: 0 4px;
}

.prepaProject {
  border-radius: 18px;
  height: 155px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.prepaProject::after {
  background: linear-gradient(90deg, rgba(9, 18, 47, 0.96), rgba(9, 18, 47, 0.18));
  content: "";
  inset: 0;
  position: absolute;
}

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

.prepaProject figcaption {
  display: flex;
  flex-direction: column;
  left: 22px;
  max-width: 330px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.prepaProject figcaption strong {
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.25;
  margin-top: 7px;
}

.prepaButton {
  margin-top: 26px;
}

.programsSection {
  background: var(--mint);
  display: grid;
  gap: clamp(60px, 8vw, 130px);
  grid-template-columns: 0.82fr 1.18fr;
}

.programsIntro img {
  border-radius: var(--radius);
  height: 260px;
  margin-top: 36px;
  object-fit: cover;
  width: 100%;
}

.programItem {
  align-items: center;
  border-bottom: 1px solid rgba(16, 26, 58, 0.16);
  display: grid;
  gap: 20px;
  grid-template-columns: 40px 1fr 30px;
  min-height: 104px;
  padding: 18px 4px;
}

.programItem > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.programItem > span:last-child {
  color: var(--navy);
  font-size: 22px;
}

.programItem div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.programItem strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(19px, 2vw, 25px);
}

.programItem small {
  color: var(--muted);
  font-size: 14px;
}

.recognitionSection {
  align-items: center;
  display: grid;
  gap: clamp(55px, 8vw, 120px);
  grid-template-columns: 1fr 1fr;
}

.recognitionImage {
  background: var(--green);
  border-radius: 50% 50% 24px 24px;
  padding: 30px;
}

.recognitionImage img {
  border-radius: 50% 50% 16px 16px;
  height: 470px;
  object-fit: cover;
  width: 100%;
}

.recognitionCopy {
  max-width: 660px;
}

.ecoBadge {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  height: 92px;
  justify-content: center;
  margin-bottom: 30px;
  text-align: center;
  transform: rotate(-7deg);
  width: 92px;
}

.recognitionCopy small {
  color: var(--muted);
  display: block;
  line-height: 1.5;
  margin-top: 24px;
}

.visitSection {
  background: var(--navy);
  color: white;
  display: grid;
  gap: clamp(60px, 8vw, 120px);
  grid-template-columns: 1fr minmax(360px, 0.78fr);
  padding: clamp(82px, 10vw, 150px) clamp(24px, 7vw, 112px);
}

.eyebrowLight {
  color: var(--green);
}

.visitCopy > p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
}

.visitDetails {
  display: grid;
  gap: 20px;
  margin-top: 50px;
}

.visitDetails > div {
  align-items: center;
  display: flex;
  gap: 20px;
}

.visitDetails > div > span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  flex: 0 0 48px;
  font-size: 12px;
  height: 48px;
  justify-content: center;
}

.visitDetails p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.visitDetails small {
  color: rgba(255, 255, 255, 0.6);
}

.visitForm {
  align-self: start;
  background: white;
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
}

.formHeader {
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
  padding-bottom: 22px;
}

.formHeader span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.formHeader strong {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
}

.visitForm label {
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
}

.visitForm input,
.visitForm select {
  background: #f7f8fa;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  min-height: 50px;
  outline: none;
  padding: 0 14px;
}

.visitForm input:focus,
.visitForm select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 86, 182, 0.12);
}

.formRow {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 0.7fr;
}

.consent {
  align-items: start;
  display: grid !important;
  font-weight: 500 !important;
  grid-template-columns: 20px 1fr;
  line-height: 1.45;
}

.consent input {
  min-height: 18px;
  padding: 0;
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
}

.formButton {
  width: 100%;
}

.placeholderNote {
  color: #a2481b;
  font-size: 11px;
  line-height: 1.5;
  margin: -2px 0 0;
  text-align: center;
}

.locationSection {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 100px);
  grid-template-columns: 0.78fr 1.22fr;
}

.locationCopy {
  max-width: 820px;
}

.locationSection h2 {
  margin-bottom: 14px;
}

.locationMeta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 26px 0 30px;
}

.locationMeta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mapFrame {
  background: var(--navy);
  border: 8px solid white;
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(16, 26, 58, 0.2);
  min-height: 470px;
  overflow: hidden;
  position: relative;
}

.mapFrame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  min-height: 470px;
  position: absolute;
  width: 100%;
}

.mapLabel {
  background: var(--yellow);
  border-radius: 999px;
  bottom: 17px;
  font-size: 11px;
  font-weight: 800;
  left: 17px;
  padding: 10px 14px;
  position: absolute;
  z-index: 2;
}

footer {
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 230px 1fr auto;
  padding: 48px clamp(24px, 7vw, 112px) 34px;
}

footer img {
  height: 65px;
  object-fit: contain;
  object-position: left;
  width: 220px;
}

footer p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

footer div a {
  font-size: 13px;
  font-weight: 700;
}

.cookieSettings {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.cookieSettings:hover,
.cookieSettings:focus-visible {
  text-decoration: underline;
}

.cookieBanner {
  align-items: center;
  background: rgba(16, 26, 58, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  bottom: 18px;
  box-shadow: 0 24px 70px rgba(16, 26, 58, 0.32);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: 980px;
  padding: 22px 24px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  z-index: 80;
}

.cookieBanner[hidden] {
  display: none;
}

.cookieCopy {
  display: grid;
  gap: 4px;
}

.cookieCopy > span {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookieCopy strong {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.cookieCopy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-width: 650px;
}

.cookieActions {
  display: flex;
  gap: 9px;
}

.cookieButton {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 16px;
  white-space: nowrap;
}

.cookieButtonPrimary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}

.cookieButtonSecondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

footer small {
  border-top: 1px solid var(--line);
  color: var(--muted);
  grid-column: 1 / -1;
  padding-top: 22px;
}

.floatingWhatsapp {
  align-items: center;
  background: linear-gradient(135deg, #25d366, #12b954);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 12px 35px rgba(16, 26, 58, 0.24);
  color: white;
  display: flex;
  gap: 12px;
  isolation: isolate;
  min-height: 64px;
  padding: 8px 18px 8px 8px;
  position: fixed;
  right: 22px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  z-index: 30;
}

.floatingWhatsapp:hover,
.floatingWhatsapp:focus-visible {
  box-shadow: 0 18px 45px rgba(18, 185, 84, 0.38);
  transform: translateY(-4px) scale(1.02);
}

.whatsappIcon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  position: relative;
  width: 48px;
  z-index: 2;
}

.whatsappIcon img {
  height: 25px;
  width: 25px;
}

.whatsappLabel {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  position: relative;
  z-index: 2;
}

.whatsappLabel small {
  font-size: 10px;
  margin-bottom: 5px;
  opacity: 0.85;
}

.whatsappLabel strong {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.whatsappPulse {
  animation: whatsappPulse 2.2s ease-out infinite;
  border: 2px solid rgba(37, 211, 102, 0.65);
  border-radius: 999px;
  inset: -1px;
  position: absolute;
  z-index: -1;
}

@keyframes introUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mascotBreath {
  0%, 100% { transform: scale(1.035) translateY(0); }
  50% { transform: scale(1.055) translateY(-5px); }
}

@keyframes floatLabel {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-8px); }
}

@keyframes miniFloat {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-10px); }
}

@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

@keyframes whatsappPulse {
  0% { opacity: 0.8; transform: scale(1); }
  85%, 100% { opacity: 0; transform: scale(1.32); }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(50px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: revealUp linear both;
    animation-range: entry 8% cover 34%;
    animation-timeline: view();
  }
}

@media (max-width: 1080px) {
  .siteHeader {
    grid-template-columns: 210px 1fr;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.78fr;
  }

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

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

  .levelCard {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .levelImage {
    height: 100%;
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .siteHeader {
    min-height: 76px;
    padding: 0 20px;
  }

  .brand img {
    height: 48px;
    width: 175px;
  }

  .headerCta {
    font-size: 12px;
    padding: 12px 15px;
  }

  .hero,
  .chocoSection,
  .prepaSection,
  .programsSection,
  .recognitionSection,
  .visitSection {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .heroMedia {
    min-height: 440px;
  }

  .heroImageWrap {
    height: 450px;
  }

  .trustBar {
    gap: 18px 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .trustBar span:nth-child(2) {
    border: 0;
  }

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

  .splitHeading > p {
    margin-left: 0;
  }

  .chocoVideo {
    max-width: 310px;
  }

  .heroCarousel {
    max-width: 680px;
  }

  .prepaVisual {
    min-height: 600px;
    width: min(100%, 640px);
  }

  .prepaMiniImage {
    right: 18px;
  }

  .recognitionImage img {
    height: 360px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .announcement {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    min-height: 50px;
  }

  .announcementDot {
    display: none;
  }

  .headerCta {
    display: none;
  }

  .cookieBanner {
    align-items: stretch;
    bottom: 10px;
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 18px;
    width: calc(100% - 20px);
  }

  .cookieActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookieButton {
    padding-left: 10px;
    padding-right: 10px;
    white-space: normal;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 45px;
  }

  .heroProof {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .heroProof div {
    width: 100%;
  }

  .heroMedia {
    min-height: 390px;
  }

  .heroImageWrap {
    height: 380px;
  }

  .imageTag {
    left: 12px;
    right: 12px;
  }

  .trustBar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section,
  .visitSection {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .pillarCard {
    min-height: 330px;
  }

  .prepaVisual {
    min-height: 500px;
  }

  .prepaMainImage {
    border-radius: 82px 24px 24px 24px;
  }

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

  .prepaMiniImage {
    bottom: 18px;
    right: 10px;
    width: 72%;
  }

  .prepaMiniImage img {
    height: 150px;
  }

  .levelCard {
    display: block;
  }

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

  .locationSection {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .mapFrame,
  .mapFrame iframe {
    min-height: 390px;
  }

  .floatingWhatsapp {
    border-radius: 50%;
    bottom: 16px;
    height: 62px;
    justify-content: center;
    padding: 0;
    right: 16px;
    width: 62px;
  }

  .whatsappLabel {
    display: none;
  }

  .whatsappIcon {
    background: transparent;
  }

  .heroMedia {
    min-height: 360px;
  }

  .heroCarousel {
    aspect-ratio: 4 / 3;
  }

  .carouselSticker {
    height: 78px;
    right: -5px;
    top: -25px;
    width: 78px;
  }

  .carouselControls {
    bottom: -25px;
    gap: 9px;
    min-height: 52px;
  }

  .carouselArrows button {
    height: 36px;
    width: 36px;
  }

  .carouselCount {
    display: none;
  }

  .carouselSlide figcaption {
    bottom: 12px;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
