:root {
  --navy: #12214a;
  --navy-deep: #09132d;
  --green: #0d7234;
  --green-deep: #0a5a29;
  --gold: #f3c244;
  --gold-soft: rgba(243, 194, 68, 0.16);
  --paper: #f6f8fc;
  --surface: #ffffff;
  --surface-alt: #eef3fb;
  --text: #11203d;
  --muted: #5e6d87;
  --line: rgba(17, 32, 61, 0.12);
  --shadow: 0 24px 64px rgba(8, 21, 52, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1280px;
  --header-height: 106px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 114, 52, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, var(--paper) 100%);
  line-height: 1.6;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  backdrop-filter: blur(18px);
  border-top: 3px solid var(--green);
  border-bottom: 1px solid rgba(17, 32, 61, 0.08);
  box-shadow: 0 14px 36px rgba(8, 21, 52, 0.08);
}

.header-top {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(17, 32, 61, 0.1);
}

.header-shell {
  min-height: calc(var(--header-height) - 44px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  justify-self: start;
}

.brand-logo {
  height: 72px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
  min-width: 0;
  flex-wrap: nowrap;
}

.site-nav a,
.nav-submenu-toggle {
  position: relative;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav a::after,
.nav-submenu-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

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

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-submenu-toggle svg {
  width: 0.9rem;
  height: 0.9rem;
  stroke-width: 2.4;
  transition: transform 0.22s ease;
}

.nav-item.is-open .nav-submenu-toggle svg,
.nav-item:hover .nav-submenu-toggle svg,
.nav-item:focus-within .nav-submenu-toggle svg {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  z-index: 70;
  display: grid;
  min-width: 220px;
  padding: 0.65rem;
  border: 1px solid rgba(17, 32, 61, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 46px rgba(8, 21, 52, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu,
.nav-item.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  color: var(--navy);
}

.nav-submenu a::after {
  display: none;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible,
.nav-submenu a[aria-current="page"] {
  background: rgba(13, 114, 52, 0.08);
  color: var(--green-deep);
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
  min-width: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.contact-link svg,
.social-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
  stroke-width: 1.9;
}

.contact-separator {
  width: 1px;
  height: 24px;
  background: rgba(17, 32, 61, 0.12);
  flex: 0 0 auto;
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 0;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--muted);
}

.social-link svg {
  color: currentColor;
}

.admissions-btn,
.button-primary,
.button-secondary,
.resource-link,
.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.page-home-button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  margin-top: 1.65rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid rgba(18, 33, 74, 0.17);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy-deep);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(8, 21, 52, 0.07);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.page-home-button:hover,
.page-home-button:focus-visible {
  border-color: rgba(13, 114, 52, 0.4);
  background: #f9fcf8;
  box-shadow: 0 16px 34px rgba(8, 21, 52, 0.11);
  transform: translateY(-2px);
}

.page-home-button:focus-visible {
  outline: 3px solid rgba(13, 114, 52, 0.2);
  outline-offset: 2px;
}

.page-home-button svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  stroke-width: 2;
}

.admissions-btn {
  justify-self: end;
  gap: 0.44rem;
  min-height: 48px;
  padding: 0.28rem 0.72rem 0.28rem 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    radial-gradient(circle at 58% 52%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 18%, transparent 44%, rgba(255, 255, 255, 0.06), transparent 48%),
    linear-gradient(135deg, #070a31 0%, var(--navy-deep) 48%, #172b62 100%);
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.04rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.62),
    0 0 20px rgba(141, 163, 255, 0.28);
  text-transform: uppercase;
  box-shadow:
    0 18px 36px rgba(18, 33, 74, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.admissions-btn::before {
  content: "";
  width: 2.28rem;
  height: 2.28rem;
  flex: 0 0 auto;
  border-radius: 7px;
  background: url("../assets/img/sicai-icon.webp") center / cover no-repeat;
  box-shadow:
    0 0 14px rgba(126, 42, 255, 0.34),
    0 10px 20px rgba(9, 19, 45, 0.28);
}

.admissions-btn:hover,
.button-primary:hover,
.button-secondary:hover,
.resource-link:hover,
.contact-action:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: rgba(13, 114, 52, 0.1);
  color: var(--green);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.back-to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 70;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(13, 114, 52, 0.72);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(8, 21, 52, 0.22);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    background-color 0.22s ease,
    transform 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  animation: backToTopFloat 2.4s ease-in-out infinite;
}

.back-to-top:hover {
  background: rgba(10, 90, 41, 0.86);
}

.back-to-top span {
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-1px);
}

@keyframes backToTopFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(8, 16, 36, 0.06) 0%, rgba(8, 16, 36, 0.34) 72%, rgba(8, 16, 36, 0.5) 100%),
    linear-gradient(90deg, rgba(9, 19, 45, 0.48), rgba(9, 19, 45, 0.3)),
    url("../assets/img/portada-colegio.jpg") center / cover;
  color: white;
}

.hero-video-band {
  position: relative;
  height: clamp(600px, 10.8vw, 650px);
  background: #0b1740;
  overflow: hidden;
  isolation: isolate;
}

.hero-video-band video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-video-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(11, 23, 64, 0.08) 0%, rgba(11, 23, 64, 0.34) 100%),
    linear-gradient(90deg, rgba(11, 23, 64, 0.32), rgba(43, 116, 85, 0.16));
  pointer-events: none;
}

.hero-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 78% 24%, rgba(243, 194, 68, 0.18), transparent 24%),
    linear-gradient(135deg, #0b1740 0%, #1a2c63 54%, #2b7455 100%);
}

.hero-video-fallback img {
  width: min(74vw, 520px);
  opacity: 0.18;
  filter: drop-shadow(0 24px 46px rgba(4, 11, 30, 0.28));
}

.hero-welcome {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 72vh, 760px);
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(8rem, 12vw, 11rem);
  text-align: center;
}

.hero-copy {
  max-width: 840px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.hero-copy h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
  max-width: 14ch;
  margin-inline: auto;
  color: white;
  text-wrap: balance;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.hero-lead {
  max-width: 52ch;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  justify-content: center;
}

.button-primary,
.button-secondary,
.contact-action {
  padding: 0.95rem 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #ffd86f 100%);
  color: var(--navy-deep);
  box-shadow: 0 18px 42px rgba(243, 194, 68, 0.24);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-section .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.hero-section .eyebrow::before,
.hero-section .eyebrow::after {
  background: rgba(243, 194, 68, 0.88);
}

.hero-actions .button-secondary {
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  box-shadow: 0 14px 34px rgba(8, 21, 52, 0.12);
}

.hero-actions .button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.shortcut-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.hero-shortcuts {
  position: relative;
  z-index: 1;
  margin-top: clamp(-5.5rem, -7vw, -4rem);
  padding: 0 0 3.4rem;
  background:
    linear-gradient(180deg, transparent 0, transparent 44%, #fbfcff 44%, #fbfcff 100%);
}

.shortcut {
  position: relative;
  min-height: 260px;
  padding: 1.65rem 1.55rem 1.45rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 32, 61, 0.1);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(8, 21, 52, 0.1);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.shortcut::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.shortcut:hover {
  transform: translateY(-4px);
  background: white;
  border-color: rgba(13, 114, 52, 0.28);
  box-shadow: 0 26px 58px rgba(8, 21, 52, 0.14);
}

.shortcut:hover::after {
  transform: scaleX(1);
}

.shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.35rem;
  border-radius: 16px;
  background: rgba(13, 114, 52, 0.1);
  color: var(--green);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.shortcut:hover .shortcut-icon {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

.shortcut-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.shortcut-number {
  position: absolute;
  top: 1.05rem;
  right: 1.2rem;
  color: rgba(18, 33, 74, 0.07);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.shortcut strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.16;
  color: var(--navy);
}

.shortcut-description {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
}

.shortcut-action {
  display: inline-flex;
  align-items: center;
  margin-top: 1.1rem;
  color: var(--green);
  font-weight: 800;
  font-size: 0.92rem;
  transition: color 0.22s ease;
}

.shortcut:hover .shortcut-action {
  color: var(--navy);
}

.section {
  padding: 5rem 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--green);
}

.section-header h2,
.admission-copy h2,
.footer-brand h3 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.section-header h2,
.admission-copy h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  max-width: 14ch;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.college-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.4rem);
  margin-top: 2rem;
}

.identity-overview {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}

.identity-media {
  position: relative;
  margin: 0;
  min-height: clamp(360px, 39vw, 500px);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(8, 21, 52, 0.16);
  background: var(--navy);
}

.identity-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.identity-badge {
  position: absolute;
  left: clamp(1.2rem, 4vw, 2rem);
  bottom: clamp(1.2rem, 4vw, 1.8rem);
  display: grid;
  place-items: center;
  min-width: 190px;
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  color: #fff;
  text-align: center;
  background: var(--green);
  box-shadow: 0 18px 36px rgba(13, 114, 52, 0.24);
}

.identity-badge strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 3.35rem;
  line-height: 1;
  letter-spacing: 0;
}

.identity-badge span {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity-content {
  min-width: 0;
}

.identity-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--green);
}

.identity-content h3 {
  margin: 0;
  max-width: 18ch;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.identity-description {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.identity-description p {
  margin: 0;
}

.identity-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.identity-card {
  padding: 1.6rem;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(8, 21, 52, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.identity-card:hover,
.identity-card:focus-within {
  border-color: rgba(13, 114, 52, 0.22);
  box-shadow: 0 24px 54px rgba(8, 21, 52, 0.13);
  transform: translateY(-8px);
}

.identity-card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1.1rem;
  color: var(--green);
}

.identity-card-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.identity-card h4 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.18;
}

.identity-card strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 1rem;
}

.identity-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.milestones {
  padding-top: 0.6rem;
}

.milestones h3 {
  margin: 0 0 2.1rem;
  color: var(--navy);
  text-align: center;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.25rem;
  line-height: 1.1;
}

.milestone-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 2rem 0 0;
  list-style: none;
}

.milestone-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(13, 114, 52, 0.16), var(--green), rgba(243, 194, 68, 0.35));
}

.milestone-item {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.milestone-item::before {
  content: "";
  position: absolute;
  top: -2.45rem;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border: 4px solid rgba(13, 114, 52, 0.25);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 3px var(--green);
  transform: translateX(-50%);
}

.milestone-year {
  margin-bottom: 0.35rem;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.milestone-item h4 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.2;
}

.milestone-item p {
  margin: 0;
  max-width: 22ch;
  color: var(--muted);
  line-height: 1.45;
}

#nuestro-colegio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 7vw, 7rem) 0;
  background: #f9fcf8;
}

#nuestro-colegio::before {
  content: "";
  position: absolute;
  left: -8vw;
  right: -8vw;
  top: 2.4rem;
  bottom: 2.2rem;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(115deg, #1fa862 0%, #5bc77f 46%, #c3df7a 100%);
  background-size: 180% 180%;
  clip-path: polygon(0 9%, 100% 0, 100% 87%, 72% 94%, 0 100%);
  animation: collegeGreenDrift 12s ease-in-out infinite alternate;
}

#nuestro-colegio::after {
  content: "";
  position: absolute;
  left: -28%;
  top: 18%;
  z-index: 0;
  width: 156%;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 18%, rgba(255, 255, 255, 0.18), transparent 78%);
  filter: blur(12px);
  transform: rotate(-4deg) translateX(-22%);
  animation: collegeLightSweep 10s ease-in-out infinite;
}

#nuestro-colegio .section-header,
#nuestro-colegio .college-campus {
  position: relative;
  z-index: 1;
}

#nuestro-colegio .section-tag {
  color: rgba(255, 255, 255, 0.94);
}

#nuestro-colegio .section-tag::before {
  background: rgba(255, 255, 255, 0.7);
}

.college-campus {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.6rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(13, 114, 52, 0.08), rgba(243, 194, 68, 0.12)),
    var(--surface);
  border: 1px solid rgba(17, 32, 61, 0.08);
  box-shadow: var(--shadow);
}

.college-campus-copy h3 {
  margin: 0 0 0.9rem;
  max-width: 15ch;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.college-campus-copy p {
  margin: 0 0 1.4rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.campus-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.campus-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
  font-weight: 700;
}

.campus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.17rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(13, 114, 52, 0.2);
}

.campus-list li::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.5rem;
  width: 0.35rem;
  height: 0.55rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.college-campus-media {
  padding: 1rem;
  border-radius: 28px;
  background: white;
  box-shadow: 0 20px 50px rgba(8, 21, 52, 0.12);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.college-campus-media:hover,
.college-campus-media:focus-visible {
  box-shadow: 0 28px 62px rgba(8, 21, 52, 0.18);
  transform: translateY(-8px);
}

.college-campus-media img {
  width: 100%;
  height: clamp(360px, 42vw, 520px);
  border-radius: 22px;
  object-fit: contain;
  background: #f7f9fc;
  animation: campusMapFloat 4.8s ease-in-out infinite;
}

@keyframes campusMapFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes collegeGreenDrift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes collegeLightSweep {
  0%,
  28% {
    opacity: 0;
    transform: rotate(-4deg) translateX(-28%);
  }

  48% {
    opacity: 1;
  }

  72%,
  100% {
    opacity: 0;
    transform: rotate(-4deg) translateX(24%);
  }
}

.narrative-panel,
.offer-panel,
.community-panel,
.notice-panel,
.service-panel,
.contact-card,
.contact-form,
.internal-panel,
.resource-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.narrative-panel {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(18, 33, 74, 0.03), rgba(18, 33, 74, 0)),
    var(--surface);
}

.narrative-panel h3,
.offer-panel h3,
.community-panel h3,
.service-panel h3,
.notice-panel h3,
.contact-card h3,
.resource-aside h3 {
  margin: 0 0 0.75rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.1;
}

.narrative-panel p,
.offer-panel p,
.community-panel p,
.service-panel p,
.notice-panel p,
.contact-card p,
.contact-form p,
.resource-aside p {
  margin: 0;
  color: var(--muted);
}

.institutional-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.point {
  padding: 1.45rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 114, 52, 0.04), rgba(18, 33, 74, 0.01));
  border: 1px solid rgba(17, 32, 61, 0.08);
}

.point span,
.offer-panel span,
.community-panel span,
.service-panel span,
.notice-panel span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.point h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-family: "Montserrat", Arial, sans-serif;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.offer-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.72fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.offer-intro h2 {
  margin: 0;
  max-width: 13ch;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.offer-intro h2 span {
  color: var(--green);
}

.offer-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.offer-intro .section-tag {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 1.18rem;
}

.offer-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  background: var(--surface);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.offer-panel:hover,
.offer-panel:focus-within {
  border-color: rgba(13, 114, 52, 0.2);
  box-shadow: 0 28px 58px rgba(8, 21, 52, 0.18);
  transform: translateY(-9px);
}

.offer-panel-media {
  position: relative;
  height: clamp(220px, 19vw, 270px);
  overflow: hidden;
  border-bottom: 4px solid var(--offer-accent, var(--green));
}

.offer-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.28s ease;
}

.offer-panel:hover .offer-panel-media img,
.offer-panel:focus-within .offer-panel-media img {
  transform: scale(1.045);
}

.offer-panel-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 26px rgba(8, 21, 52, 0.18);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.offer-panel-body {
  display: grid;
  align-content: start;
  min-height: 230px;
  padding: 1.35rem;
}

.offer-label {
  margin: 0 0 0.6rem;
  color: var(--offer-accent, var(--green));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.offer-panel-body h3 {
  margin: 0 0 0.7rem;
  color: var(--offer-accent, var(--green));
  font-size: 1.35rem;
  line-height: 1.15;
}

.offer-panel-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.offer-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  color: var(--offer-accent, var(--green));
  font-weight: 800;
}

.offer-panel-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.22s ease;
}

.offer-panel-link:hover svg,
.offer-panel-link:focus-visible svg {
  transform: translateX(4px);
}

.offer-panel.featured {
  --offer-accent: var(--gold);
}

.offer-panel.academic {
  --offer-accent: #0b009e;
}

.offer-panel.national-plan {
  --offer-accent: var(--green);
}

.service-panel ul,
.contact-card ul,
.notice-panel ul,
.internal-links,
.admission-checklist {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.service-panel li,
.contact-card li,
.notice-panel li,
.internal-links li,
.admission-checklist li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--text);
}

.service-panel li::before,
.contact-card li::before,
.notice-panel li::before,
.internal-links li::before,
.admission-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold);
}

.services-section {
  background: var(--surface);
}

.services-header {
  margin-bottom: clamp(2.2rem, 4vw, 3.3rem);
  text-align: center;
}

.services-header h2 {
  display: inline-block;
  position: relative;
  margin: 0;
  padding-bottom: 0.45rem;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.services-header h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 99px;
  background: var(--green);
}

.service-circles {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 180px));
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2.65rem);
  max-width: 1120px;
}

.service-circle {
  text-align: center;
}

.service-circle-photo {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 1.15rem;
  padding: 0.42rem;
  overflow: hidden;
  border: 4px solid var(--green);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(8, 21, 52, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.service-circle:hover .service-circle-photo {
  box-shadow: 0 18px 30px rgba(8, 21, 52, 0.15);
  transform: translateY(-7px);
}

.service-circle-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.service-circle h3 {
  max-width: 12rem;
  margin: 0 auto;
  color: var(--muted);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration-color: rgba(13, 114, 52, 0.55);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.27rem;
}

.admission-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 255, 0.74)),
    linear-gradient(135deg, rgba(13, 114, 52, 0.12), rgba(243, 194, 68, 0.2) 48%, rgba(18, 33, 74, 0.08));
  color: var(--text);
  overflow: hidden;
}

.admission-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 1.4rem;
  align-items: center;
}

.tag-light {
  color: var(--green);
}

.admission-copy p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.admission-copy .section-tag {
  max-width: none;
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 1.18rem;
}

.admission-copy h2 {
  color: var(--navy);
}

.admission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.admission-actions .button-secondary {
  border-color: rgba(13, 114, 52, 0.22);
  background: white;
  color: var(--green-deep);
  box-shadow: 0 14px 34px rgba(8, 21, 52, 0.08);
}

.admission-posters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 224px));
  justify-content: start;
  align-items: center;
  gap: 0.8rem;
}

.admission-poster {
  display: grid;
  gap: 0.42rem;
  padding: 0.35rem;
  border: 1px solid rgba(13, 114, 52, 0.14);
  border-radius: 13px;
  background: white;
  box-shadow: 0 16px 34px rgba(8, 21, 52, 0.1);
  color: var(--green-deep);
  cursor: pointer;
  animation: admissionPosterFloat 4.8s ease-in-out infinite;
}

.admission-poster:nth-child(2) {
  animation-delay: -2.4s;
}

.admission-poster:hover,
.admission-poster:focus-visible {
  border-color: rgba(13, 114, 52, 0.36);
  box-shadow: 0 22px 42px rgba(8, 21, 52, 0.16);
}

.admission-poster:focus-visible {
  outline: 3px solid rgba(13, 114, 52, 0.3);
  outline-offset: 3px;
}

.admission-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 9px;
  object-fit: contain;
}

.admission-poster span {
  padding: 0 0.15rem 0.15rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.52rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.admission-modal {
  width: fit-content;
  max-width: calc(100% - 2rem);
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0.7rem;
  border: 0;
  border-radius: 18px;
  background: white;
  box-shadow: 0 28px 70px rgba(8, 21, 52, 0.32);
  overflow: visible;
}

.admission-modal::backdrop {
  background: rgba(9, 19, 45, 0.68);
  backdrop-filter: blur(4px);
}

.admission-modal-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(8, 21, 52, 0.24);
  color: white;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.admission-modal-close:hover,
.admission-modal-close:focus-visible {
  background: var(--navy);
}

.admission-modal-image {
  display: block;
  width: auto;
  max-width: min(calc(100vw - 3.4rem), 1024px);
  height: auto;
  max-height: calc(100vh - 3.4rem);
  border-radius: 12px;
  object-fit: contain;
}

@keyframes admissionPosterFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.admission-steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  padding: 1.25rem 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 32, 61, 0.1);
  border-left: 4px solid var(--gold);
  box-shadow: 0 16px 38px rgba(8, 21, 52, 0.09);
}

.step strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.admission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.admission-card {
  padding: 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 32, 61, 0.1);
  box-shadow: 0 18px 44px rgba(8, 21, 52, 0.1);
}

.admission-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
}

.admission-card p,
.admission-card li {
  color: var(--muted);
}

.partner-carousel-section {
  padding: 1.00rem 0;
  overflow: hidden;
  background: #fff;
}

.partner-carousel-header {
  text-align: center;
}

.partner-carousel-header .section-tag {
  margin-inline: auto;
}

.partner-carousel-header h2 {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.partner-carousel {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.partner-carousel.is-dragging {
  cursor: grabbing;
}

.partner-carousel::before,
.partner-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: min(16vw, 140px);
  height: 100%;
  pointer-events: none;
}

.partner-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.partner-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.partner-carousel-track {
  display: flex;
  width: max-content;
  animation: partnerLogoSlide 16s linear infinite;
  will-change: transform;
}

.partner-carousel.is-user-controlled .partner-carousel-track {
  animation: none;
  transform: translateX(var(--partner-drag-x, 0px));
}

.partner-carousel-section.is-modal-open .partner-carousel-track {
  animation-play-state: paused;
}

.partner-logo {
  flex: 0 0 clamp(160px, 18vw, 230px);
  display: grid;
  place-items: center;
  height: 96px;
  padding: 0.8rem 1.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.partner-logo:hover,
.partner-logo:focus-visible {
  filter: drop-shadow(0 10px 18px rgba(8, 21, 52, 0.12));
  transform: translateY(-3px);
}

.partner-logo:focus-visible {
  outline: 3px solid rgba(13, 114, 52, 0.24);
  outline-offset: -0.35rem;
}

.partner-logo img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: saturate(0.92);
  pointer-events: none;
}

.partner-modal {
  width: min(calc(100% - 2rem), 520px);
  padding: 2rem;
  border: 1px solid rgba(17, 32, 61, 0.12);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 70px rgba(8, 21, 52, 0.28);
}

.partner-modal::backdrop {
  background: rgba(9, 19, 45, 0.46);
  backdrop-filter: blur(3px);
}

.partner-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 114, 52, 0.09);
  color: var(--green-deep);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.partner-modal-close:hover,
.partner-modal-close:focus-visible {
  background: var(--green);
  color: #fff;
}

.partner-modal-kicker {
  margin: 0 0 0.5rem;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-modal h3 {
  margin: 0 2.5rem 1rem 0;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.15;
}

.partner-modal-brand {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 0 2.5rem 1.1rem 0;
}

.partner-modal-brand img {
  max-width: 180px;
  max-height: 68px;
  object-fit: contain;
}

.partner-modal-message {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.partner-modal-signature {
  margin: 1.4rem 0 0;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.35;
}

@keyframes partnerLogoSlide {
  0%,
  10% {
    transform: translateX(0);
  }

  12.5%,
  22.5% {
    transform: translateX(-6.25%);
  }

  25%,
  35% {
    transform: translateX(-12.5%);
  }

  37.5%,
  47.5% {
    transform: translateX(-18.75%);
  }

  50%,
  60% {
    transform: translateX(-25%);
  }

  62.5%,
  72.5% {
    transform: translateX(-31.25%);
  }

  75%,
  85% {
    transform: translateX(-37.5%);
  }

  87.5%,
  97.5% {
    transform: translateX(-43.75%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.blue-flag-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(5rem, 8vw, 7rem) 0;
  background:
    repeating-linear-gradient(135deg, rgba(31, 173, 218, 0.06) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, #f9fdff 0%, #eef9f5 52%, #f8fbff 100%);
}

.blue-flag-section::before {
  content: "";
  position: absolute;
  inset: auto -8% -5.5rem;
  z-index: -1;
  height: 11rem;
  background: linear-gradient(90deg, rgba(31, 173, 218, 0.18), rgba(13, 114, 52, 0.16), rgba(243, 194, 68, 0.16));
  transform: rotate(-2deg);
  transform-origin: left center;
}

.blue-flag-leaves {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.floating-leaf {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  aspect-ratio: 1.8 / 1;
  border-radius: 90% 0 90% 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 38%),
    linear-gradient(135deg, #8fd85b 0%, #18a65b 52%, #0b7440 100%);
  box-shadow: 0 10px 22px rgba(13, 114, 52, 0.16);
  opacity: 0.62;
  transform: rotate(var(--r));
  animation: blueFlagLeafFloat var(--d) ease-in-out infinite;
  animation-delay: var(--delay);
}

.floating-leaf::after {
  content: "";
  position: absolute;
  inset: 50% 14% auto 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.58);
  transform: rotate(-10deg);
  transform-origin: left center;
}

.blue-flag-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(2rem, 5vw, 4.4rem);
  align-items: center;
}

.blue-flag-copy h2 {
  margin: 0;
  max-width: 13ch;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.blue-flag-lead {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  color: #44516a;
  font-size: 1.12rem;
}

.blue-flag-stars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.blue-flag-stars li {
  position: relative;
  min-height: 122px;
  padding: 1.05rem 1rem 1rem;
  border: 1px solid rgba(31, 173, 218, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(8, 21, 52, 0.08);
}

.blue-flag-stars li::before {
  content: "\2605";
  display: block;
  width: max-content;
  height: auto;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.12rem;
  filter: drop-shadow(0 8px 12px rgba(243, 194, 68, 0.3));
}

.blue-flag-stars li:nth-child(1)::before,
.blue-flag-stars li:nth-child(3)::before {
  content: "\2605\2605";
}

.blue-flag-stars strong {
  display: block;
  color: #118bc2;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.blue-flag-stars span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.28;
}

.blue-flag-stage {
  position: relative;
  min-height: clamp(380px, 40vw, 510px);
  display: grid;
  place-items: center;
}

.blue-flag-stage::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 9%;
  height: 28%;
  border-radius: 55% 45% 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.16)),
    linear-gradient(135deg, rgba(31, 173, 218, 0.24), rgba(13, 114, 52, 0.18));
  filter: blur(0.2px);
}

.blue-flag-sun {
  position: absolute;
  top: 7%;
  right: 19%;
  width: clamp(64px, 8vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7b9, #f3c244);
  box-shadow: 0 16px 34px rgba(243, 194, 68, 0.22);
}

.blue-flag-badge {
  position: relative;
  z-index: 2;
  width: clamp(255px, 28.9vw, 357px);
  aspect-ratio: 358 / 204;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 28px 48px rgba(8, 21, 52, 0.13);
}

.blue-flag-badge::before {
  content: none;
}

.blue-flag-badge::after {
  content: none;
}

.blue-flag-badge-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.badge-hill {
  position: absolute;
  left: 15%;
  right: 15%;
  top: 18%;
  z-index: 2;
  height: 50%;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #18a84f 0%, #9ad24d 100%);
}

.badge-hill::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -16%;
  height: 44%;
  background:
    radial-gradient(58% 98% at 28% 102%, #fff 0 42%, transparent 43%),
    radial-gradient(68% 110% at 73% 104%, #fff 0 47%, transparent 48%);
}

.badge-waves {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 19%;
  z-index: 3;
  display: grid;
  gap: 0.18rem;
  overflow: hidden;
}

.badge-waves span {
  display: block;
  height: 10px;
  background:
    radial-gradient(15px 9px at 15px 10px, transparent 9px, #22a9df 9.6px 12px, transparent 12.6px) repeat-x;
  background-size: 30px 12px;
  animation: blueFlagWave 3.8s ease-in-out infinite;
}

.badge-waves span:nth-child(even) {
  background-position-x: 15px;
}

.badge-waves span:nth-child(2) {
  animation-delay: -1.2s;
}

.badge-waves span:nth-child(3) {
  animation-delay: -2.1s;
}

.badge-waves span:nth-child(4) {
  animation-delay: -0.7s;
}

.badge-waves span:nth-child(5) {
  animation-delay: -1.7s;
}

.blue-flag-plant {
  position: absolute;
  z-index: 3;
  right: -2%;
  bottom: 4%;
  width: clamp(190px, 20vw, 250px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
}

.blue-flag-plant-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 57%;
  filter: drop-shadow(0 20px 20px rgba(8, 21, 52, 0.16));
}

.blue-flag-mini-flag {
  position: absolute;
  z-index: 4;
  left: 7%;
  bottom: 18%;
  width: 178px;
  height: 150px;
  perspective: 560px;
}

.blue-flag-mini-flag::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 2px;
  bottom: 0;
  width: 5px;
  border-radius: 99px;
  background: linear-gradient(180deg, #17234d, #07122d);
  box-shadow: 0 10px 18px rgba(8, 21, 52, 0.22);
}

.mini-flag-cloth {
  position: absolute;
  left: 23px;
  top: 10px;
  width: 138px;
  height: 104px;
  overflow: hidden;
  border-radius: 3px 12px 12px 3px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 12%, rgba(5, 66, 118, 0.2) 30%, transparent 48%, rgba(255, 255, 255, 0.16) 66%, transparent 100%),
    linear-gradient(135deg, #0d72b6 0%, #1d86c7 45%, #2374ad 100%);
  box-shadow:
    0 18px 34px rgba(8, 21, 52, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  animation: blueFlagFlutter 2.8s ease-in-out infinite;
  transform-origin: left center;
}

.mini-flag-cloth::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 4%, transparent 4% 25%, rgba(3, 44, 84, 0.16) 25% 32%, transparent 32% 56%, rgba(255, 255, 255, 0.12) 56% 62%, transparent 62%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.2), transparent 28%);
  pointer-events: none;
}

.mini-flag-cloth::after {
  content: "";
  position: absolute;
  inset: auto -8% -20% 12%;
  height: 42%;
  border-radius: 50%;
  background: rgba(7, 48, 94, 0.16);
  transform: rotate(-6deg);
}

.mini-flag-stars {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  display: flex;
  gap: 4px;
}

.mini-flag-stars span {
  width: 9.5px;
  height: 9.5px;
  background: #fff;
  clip-path: polygon(50% 0, 61% 34%, 98% 34%, 68% 55%, 79% 91%, 50% 69%, 21% 91%, 32% 55%, 2% 34%, 39% 34%);
  filter: drop-shadow(0 2px 3px rgba(8, 21, 52, 0.18));
}

.mini-flag-seal {
  position: absolute;
  left: 50%;
  top: 24px;
  z-index: 2;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 14px rgba(8, 21, 52, 0.18);
  transform: translateX(-50%);
}

.mini-flag-logo {
  width: 100%;
  height: 100%;
  display: block;
}

.mini-flag-name,
.mini-flag-sub {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  z-index: 2;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 5px rgba(8, 21, 52, 0.24);
}

.mini-flag-name {
  top: 80px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1;
}

.mini-flag-sub {
  top: 89px;
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.blue-flag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.3rem);
}

.blue-flag-card {
  position: relative;
  min-height: 218px;
  padding: 1.55rem;
  overflow: hidden;
  border: 1px solid rgba(17, 32, 61, 0.1);
  border-top: 4px solid #23aade;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(8, 21, 52, 0.09);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.blue-flag-card:nth-child(2) {
  border-top-color: var(--green);
}

.blue-flag-card:nth-child(3) {
  border-top-color: var(--gold);
}

.blue-flag-card:hover,
.blue-flag-card:focus-within {
  border-color: rgba(13, 114, 52, 0.2);
  box-shadow: 0 24px 54px rgba(8, 21, 52, 0.13);
  transform: translateY(-8px);
}

.blue-flag-card span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  color: #118bc2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blue-flag-card h3 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.16;
}

.blue-flag-card p {
  margin: 0;
  color: var(--muted);
}

@keyframes blueFlagLeafFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--r));
  }

  44% {
    transform: translate3d(18px, -18px, 0) rotate(calc(var(--r) + 18deg));
  }

  72% {
    transform: translate3d(-12px, 8px, 0) rotate(calc(var(--r) - 10deg));
  }
}

@keyframes blueFlagWave {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(14px);
  }
}

@keyframes blueFlagFlutter {
  0%,
  100% {
    transform: rotateY(-7deg) skewY(0deg);
  }

  50% {
    transform: rotateY(8deg) skewY(-4deg) translateX(2px);
  }
}

.multilingual-section {
  --language-green: #0a6a35;
  --language-green-bright: #57ad24;
  --language-gold: #f4bb00;
  --language-ink: #063f27;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 3.7rem 0 3.2rem;
  background:
    radial-gradient(circle, rgba(11, 44, 28, 0.055) 0 1.2px, transparent 1.35px) center 2.6rem / 10px 10px,
    radial-gradient(ellipse at 52% 10%, rgba(9, 30, 45, 0.035), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdfb 36%, #f5fbf3 100%);
}

.multilingual-section::before,
.multilingual-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.multilingual-section::before {
  left: -6%;
  right: -6%;
  bottom: -1px;
  z-index: -2;
  height: 64%;
  background:
    linear-gradient(167deg, rgba(255, 255, 255, 0.18) 0 13%, transparent 13% 100%),
    linear-gradient(135deg, #06aa61 0%, #33bd67 39%, #72cd5a 73%, #3eb954 100%);
  clip-path: polygon(0 16%, 15% 31%, 30% 29%, 100% 0, 100% 100%, 0 100%);
}

.multilingual-section::after {
  left: -7%;
  right: -7%;
  bottom: -1px;
  z-index: -1;
  height: 39%;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.13) 0 11%, transparent 11%),
    linear-gradient(135deg, #06a35b 0%, #0d8c4b 47%, #067039 100%);
  clip-path: polygon(0 65%, 12% 71%, 30% 56%, 50% 25%, 67% 40%, 100% 17%, 100% 100%, 0 100%);
}

.multilingual-shell,
.language-card-grid {
  position: relative;
  z-index: 1;
}

.multilingual-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(1.6rem, 3vw, 3.2rem);
  align-items: start;
}

.multilingual-copy {
  padding-top: 0.25rem;
}

.multilingual-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0.46rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 106, 53, 0.1);
  color: var(--language-green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.multilingual-pill svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2;
}

.multilingual-copy h2 {
  margin: 0;
  max-width: 10.7ch;
  color: var(--language-ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(3.2rem, 5.1vw, 4.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.94;
}

.multilingual-copy h2 span {
  display: block;
}

.multilingual-copy h2 span + span {
  color: var(--language-green-bright);
}

.multilingual-title-mark {
  display: block;
  width: 4.6rem;
  height: 4px;
  margin: 1.05rem 0 0.85rem;
  border-radius: 999px;
  background: var(--language-gold);
}

.multilingual-lead {
  margin: 0;
  color: #26313b;
  font-size: 1.34rem;
  line-height: 1.25;
}

.multilingual-lead strong {
  color: var(--language-green);
  font-weight: 900;
}

.multilingual-description {
  max-width: 54ch;
  margin: 0.65rem 0 0;
  color: #5f6671;
  font-size: 1.06rem;
}

.multilingual-visual {
  position: relative;
  min-height: 420px;
  margin-top: 0.25rem;
}

.language-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 46px rgba(8, 21, 52, 0.16);
}

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

.language-photo-main {
  top: 0.6rem;
  left: 0;
  z-index: 2;
  width: 78%;
  aspect-ratio: 1.38 / 1;
}

.language-photo-main img {
  object-position: 50% 48%;
}

.language-photo-side {
  top: 9.2rem;
  right: 0;
  z-index: 3;
  width: 29%;
  aspect-ratio: 0.92 / 1;
}

.language-photo-side img {
  object-position: 88% 22%;
}

.language-note-card {
  position: absolute;
  right: 10%;
  bottom: 0.1rem;
  z-index: 4;
  display: grid;
  gap: 0.35rem;
  width: min(17rem, 55%);
  padding: 0.9rem 0.95rem 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(20, 55, 92, 0.12) 0 1px, transparent 1px 1.55rem),
    linear-gradient(180deg, #fffdf6 0%, #f8f2e7 100%);
  color: #223044;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 18px 36px rgba(8, 21, 52, 0.18);
  transform: rotate(-7deg);
}

.language-note-card::before {
  content: "";
  position: absolute;
  left: -0.42rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 0.72rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 18%, #e5ddd0 0 27%, transparent 29%),
    radial-gradient(circle at 50% 50%, #e5ddd0 0 27%, transparent 29%),
    radial-gradient(circle at 50% 82%, #e5ddd0 0 27%, transparent 29%);
}

.language-note-card::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  width: 4.3rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #10151d, #2f3540);
  box-shadow: 0 0.32rem 0 -0.1rem rgba(0, 0, 0, 0.16);
  transform: rotate(34deg);
  transform-origin: right center;
}

.language-note-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  min-height: 1.55rem;
}

.language-note-card .language-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.66rem;
  height: 1.66rem;
  border-radius: 50%;
  object-fit: cover;
}

.language-flag {
  position: relative;
  display: inline-block;
  width: 2.15rem;
  height: 1.4rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(8, 21, 52, 0.12);
}

.flag-spain {
  background: linear-gradient(180deg, #c60b1e 0 26%, #ffc400 26% 74%, #c60b1e 74% 100%);
}

.flag-spain::after {
  content: "";
  position: absolute;
  left: 32%;
  top: 38%;
  width: 0.32rem;
  height: 0.42rem;
  border-radius: 1px;
  background: rgba(134, 48, 30, 0.78);
  transform: translate(-50%, -50%);
}

.flag-uk {
  background:
    linear-gradient(90deg, transparent 0 42%, #fff 42% 58%, transparent 58% 100%),
    linear-gradient(0deg, transparent 0 38%, #fff 38% 62%, transparent 62% 100%),
    linear-gradient(90deg, transparent 0 46%, #c8102e 46% 54%, transparent 54% 100%),
    linear-gradient(0deg, transparent 0 44%, #c8102e 44% 56%, transparent 56% 100%),
    linear-gradient(31deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60% 100%),
    linear-gradient(-31deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60% 100%),
    #012169;
}

.flag-france {
  background: linear-gradient(90deg, #002395 0 33.33%, #fff 33.33% 66.66%, #ed2939 66.66% 100%);
}

.language-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(300px, 0.95fr);
  gap: 1.1rem;
  width: min(calc(100% - 2rem), 1180px);
  margin-top: 1.6rem;
  margin-right: auto;
  margin-left: max(1rem, calc((100% - var(--container)) / 2));
  align-items: center;
}

.language-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 310px;
  padding: 3.1rem 1rem 0.85rem;
  border: 1px solid rgba(17, 32, 61, 0.1);
  border-top: 4px solid var(--language-gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  text-align: center;
  box-shadow: 0 18px 38px rgba(8, 21, 52, 0.11);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.language-card:hover,
.language-card:focus-within {
  box-shadow: 0 24px 52px rgba(8, 21, 52, 0.15);
  transform: translateY(-7px);
}

.language-card-english {
  border-top-color: #2f9b43;
}

.language-card-french {
  border-top-color: #5aab2b;
}

.language-flag-orb {
  position: absolute;
  top: -2.3rem;
  left: 50%;
  display: grid;
  place-items: center;
  width: 4.55rem;
  aspect-ratio: 1;
  border: 1px solid rgba(13, 114, 52, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.88), transparent 34%),
    #f8fff7;
  box-shadow:
    0 16px 28px rgba(8, 21, 52, 0.14),
    inset 0 0 0 0.42rem rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
}

.language-flag-orb .language-flag {
  width: 3.32rem;
  height: 3.32rem;
  border-radius: 50%;
}

.language-flag-orb .language-icon {
  display: block;
  width: 3.32rem;
  height: 3.32rem;
  border-radius: 50%;
  object-fit: cover;
}

.language-card h3 {
  margin: 0;
  color: #1f242c;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.42rem;
  letter-spacing: 0;
  line-height: 1.1;
}

.language-card-kicker {
  min-height: 2.7rem;
  margin: 0.55rem 0 0;
  color: var(--language-green);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.18;
}

.language-card-mark {
  display: block;
  width: 3.85rem;
  height: 2px;
  margin: 0.9rem 0 0.75rem;
  border-radius: 999px;
  background: var(--language-gold);
}

.language-card-english .language-card-mark,
.language-card-french .language-card-mark {
  background: var(--language-green-bright);
}

.language-card > p:not(.language-card-kicker) {
  margin: 0;
  color: #5c6470;
  font-size: 0.88rem;
  line-height: 1.35;
}

.language-card-note {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  min-height: 3.9rem;
  margin-top: auto;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(244, 187, 0, 0.16), rgba(255, 255, 255, 0.78));
  color: #47505c;
  text-align: left;
}

.language-card-english .language-card-note,
.language-card-french .language-card-note {
  background: linear-gradient(135deg, rgba(13, 114, 52, 0.12), rgba(255, 255, 255, 0.78));
}

.language-card-note svg {
  width: 2rem;
  height: 2rem;
  color: var(--language-gold);
  stroke-width: 1.8;
}

.language-card-english .language-card-note svg,
.language-card-french .language-card-note svg {
  color: var(--language-green);
}

.language-card-note span {
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.18;
}

.language-card-action {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 0;
  overflow: visible;
}

.nubi-greeting {
  position: relative;
  flex: 0 0 8.4rem;
  width: 8.4rem;
  height: 10.7rem;
  z-index: 2;
}

.nubi-character {
  --nubi-scale: 1;
  position: absolute;
  right: -0.15rem;
  bottom: 0.05rem;
  width: 8rem;
  height: auto;
  pointer-events: none;
  transform: translate(0, 0) rotate(0deg) scale(var(--nubi-scale));
  transform-origin: 52% 74%;
  animation: nubiPhotoGesture 9s ease-in-out infinite;
}

.nubi-character img,
.nubi-character video {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.2rem 1.25rem rgba(5, 65, 34, 0.24));
}

.nubi-photo-mouth {
  position: absolute;
  left: 49%;
  top: 37.2%;
  width: 1.68rem;
  height: 0.55rem;
  border-radius: 0 0 999px 999px;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(60, 155, 255, 0.22) 0 33%, transparent 34%),
    #050a12;
  box-shadow: 0 0.12rem 0.2rem rgba(3, 8, 18, 0.24);
  opacity: 0.94;
  transform: translate(-50%, -50%) rotate(-2deg) scaleY(0.32);
  transform-origin: 50% 14%;
  animation: nubiPhotoTalk 9s ease-in-out infinite;
}

.nubi-speech {
  position: absolute;
  right: 6.55rem;
  z-index: 3;
  width: max-content;
  max-width: 12rem;
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(13, 114, 52, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #0b4227;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.15;
  box-shadow: 0 0.8rem 1.4rem rgba(8, 21, 52, 0.14);
  opacity: 0;
  transform: translateX(0.25rem) scale(0.94);
  transform-origin: right center;
  animation: nubiSpeech 9s ease-in-out infinite;
}

.nubi-speech::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  top: 50%;
  width: 0.62rem;
  aspect-ratio: 1;
  background: inherit;
  border-top: 1px solid rgba(13, 114, 52, 0.16);
  border-right: 1px solid rgba(13, 114, 52, 0.16);
  transform: translateY(-50%) rotate(45deg);
}

.nubi-speech-es {
  top: 0.35rem;
}

.nubi-speech-en {
  top: 3rem;
  animation-delay: 3s;
}

.nubi-speech-fr {
  top: 5.65rem;
  animation-delay: 6s;
}

.language-cta {
  display: inline-flex;
  flex: 1 1 10.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-width: 0;
  min-height: 3.05rem;
  padding: 0.78rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffce21, #f4b500);
  color: #063f27;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(8, 21, 52, 0.15);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.language-cta:hover,
.language-cta:focus-visible {
  box-shadow: 0 22px 42px rgba(8, 21, 52, 0.2);
  transform: translateY(-2px);
}

.language-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.74);
  outline-offset: 3px;
}

.language-cta svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.2;
}

.exchange-modal {
  --exchange-green: #0a6a35;
  --exchange-green-bright: #57ad24;
  --exchange-gold: #f4bb00;
  width: min(calc(100% - 2rem), 1110px);
  max-width: 1110px;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #ffffff;
  color: #17253d;
  box-shadow: 0 30px 86px rgba(4, 25, 18, 0.32);
}

.exchange-modal[open] {
  animation: exchangeModalIn 0.24s ease-out;
}

.exchange-modal::backdrop {
  background: rgba(5, 23, 18, 0.68);
  backdrop-filter: blur(5px);
}

.exchange-modal-card {
  position: relative;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 100%, rgba(87, 173, 36, 0.08), transparent 28rem),
    #ffffff;
}

.exchange-modal-close {
  position: sticky;
  top: 1rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin: 1rem 1rem -3.8rem auto;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 50%;
  background: rgba(7, 26, 57, 0.54);
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.exchange-modal-close:hover,
.exchange-modal-close:focus-visible {
  background: #ffffff;
  color: var(--exchange-green);
  transform: scale(1.06);
}

.exchange-modal-close:focus-visible {
  outline: 3px solid rgba(244, 187, 0, 0.8);
  outline-offset: 2px;
}

.exchange-modal-hero {
  min-height: clamp(18rem, 34vw, 23rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    url("../assets/img/intercambio-3.png") center / cover no-repeat;
}

.exchange-modal-body {
  display: grid;
  gap: clamp(1.45rem, 2.6vw, 2rem);
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
}

.exchange-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.exchange-highlight {
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(10, 106, 53, 0.1);
  border-radius: 17px;
  background: #f5faf4;
}

.exchange-highlight-icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: rgba(10, 106, 53, 0.11);
  color: var(--exchange-green);
}

.exchange-highlight-icon svg {
  width: 1.42rem;
  height: 1.42rem;
  stroke-width: 1.8;
}

.exchange-highlight h3 {
  margin: 0 0 0.35rem;
  color: #103a26;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
}

.exchange-highlight p {
  margin: 0;
  color: #596879;
  font-size: 0.92rem;
  line-height: 1.42;
}

.exchange-itinerary {
  padding: clamp(1.1rem, 2.7vw, 1.65rem);
  border-radius: 22px;
  background: #f7f9fd;
}

.exchange-section-heading p {
  margin: 0 0 0.3rem;
  color: var(--exchange-green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exchange-section-heading h3 {
  margin: 0;
  color: #12243d;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.46rem);
  line-height: 1.2;
}

.exchange-section-heading > span {
  display: block;
  margin-top: 0.35rem;
  color: #697688;
  font-size: 0.96rem;
}

.exchange-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.exchange-timeline li {
  position: relative;
  min-height: 11.4rem;
  padding: 1.05rem 0.85rem 0.9rem;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 6px 17px rgba(8, 21, 52, 0.04);
}

.exchange-timeline li::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-bottom: 0.72rem;
  border-radius: 999px;
  background: var(--exchange-gold);
}

.exchange-timeline li:nth-child(even)::before {
  background: var(--exchange-green-bright);
}

.exchange-timeline span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--exchange-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.exchange-timeline strong {
  display: block;
  color: #152c49;
  font-size: 0.98rem;
  line-height: 1.24;
}

.exchange-timeline p {
  margin: 0.45rem 0 0;
  color: #697688;
  font-size: 0.85rem;
  line-height: 1.38;
}

.exchange-gallery {
  padding: clamp(0.9rem, 2vw, 1.2rem);
  border: 1px solid rgba(10, 106, 53, 0.11);
  border-radius: 22px;
  background: linear-gradient(125deg, #fbfdfb, #f3faf1);
}

.exchange-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: center;
}

.exchange-photo-slot {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 9.1rem;
  padding: 1rem;
  border: 2px dashed rgba(10, 106, 53, 0.23);
  border-radius: 16px;
  background: #ffffff;
  color: #738090;
  text-align: center;
}

.exchange-photo-slot svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.42rem;
  color: var(--exchange-green-bright);
  stroke-width: 1.6;
}

.exchange-photo-slot strong {
  color: #274237;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.88rem;
}

.exchange-photo-slot span {
  font-size: 0.85rem;
}

.exchange-photo-slot.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
  padding: 0.5rem;
  border-style: solid;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 21, 52, 0.09);
}

.exchange-photo-slot.has-image img {
  width: 100%;
  height: auto;
  border-radius: 11px;
  object-fit: contain;
}

.exchange-photo-slot.has-image:first-child img {
  width: min(100%, 46rem);
}

@keyframes exchangeModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 850px) {
  .exchange-highlights,
  .exchange-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .exchange-modal {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 19px;
  }

  .exchange-modal-card {
    max-height: calc(100dvh - 1rem);
  }

  .exchange-modal-close {
    top: 0.65rem;
    width: 2.55rem;
    height: 2.55rem;
    margin: 0.65rem 0.65rem -3.2rem auto;
  }

  .exchange-modal-hero {
    min-height: clamp(8rem, 34vw, 12rem);
    background-position: center top;
  }

  .exchange-highlights,
  .exchange-timeline,
  .exchange-photo-grid {
    grid-template-columns: 1fr;
  }

  .exchange-timeline li {
    min-height: 0;
  }
}

.language-watermark {
  width: 7.6rem;
  opacity: 0.18;
  filter: brightness(0) invert(1);
}

@keyframes nubiPhotoGesture {
  0%,
  28% {
    transform: translate(-0.42rem, -0.42rem) rotate(-7deg) scale(var(--nubi-scale));
  }

  31% {
    transform: translate(-0.25rem, -0.14rem) rotate(-3deg) scale(var(--nubi-scale));
  }

  33%,
  61% {
    transform: translate(-0.52rem, 0) rotate(-2deg) scale(var(--nubi-scale));
  }

  64% {
    transform: translate(-0.26rem, 0.12rem) rotate(2deg) scale(var(--nubi-scale));
  }

  66%,
  94% {
    transform: translate(-0.4rem, 0.42rem) rotate(6deg) scale(var(--nubi-scale));
  }

  97%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(var(--nubi-scale));
  }
}

@keyframes nubiPhotoTalk {
  0%,
  7%,
  14%,
  21%,
  28%,
  33%,
  40%,
  47%,
  54%,
  61%,
  66%,
  73%,
  80%,
  87%,
  94% {
    transform: translate(-50%, -50%) rotate(-2deg) scaleY(0.28);
  }

  3%,
  10%,
  17%,
  24%,
  36%,
  43%,
  50%,
  57%,
  69%,
  76%,
  83%,
  90% {
    transform: translate(-50%, -50%) rotate(-2deg) scaleY(1);
  }

  31%,
  64%,
  97%,
  100% {
    transform: translate(-50%, -50%) rotate(-2deg) scaleY(0.16);
  }
}

@keyframes nubiSpeech {
  0%,
  28% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  31%,
  100% {
    opacity: 0;
    transform: translateX(0.25rem) scale(0.94);
  }
}

.community-grid,
.notices-grid,
.services-grid,
.contact-layout,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.community-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.community-panel,
.service-panel,
.notice-panel {
  padding: 1.55rem;
}

.community-panel.image-panel {
  padding: 0.9rem;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  background: var(--surface);
}

.community-panel.image-panel img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: contain;
}

.private-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.services-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: start;
}

.service-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.resource-aside {
  padding: 1.7rem;
  background:
    linear-gradient(180deg, rgba(13, 114, 52, 0.06), rgba(13, 114, 52, 0)),
    var(--surface);
}

.resource-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.resource-link,
.contact-action {
  min-height: 52px;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(17, 32, 61, 0.12);
  background: white;
  justify-content: space-between;
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(8, 21, 52, 0.08);
}

.resource-link::after,
.contact-action::after {
  content: ">";
  color: var(--green);
  font-weight: 900;
}

.notices-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.notice-panel {
  background:
    linear-gradient(180deg, rgba(18, 33, 74, 0.02), rgba(18, 33, 74, 0)),
    var(--surface);
}

#contacto {
  position: relative;
  overflow: hidden;
  background: #f4f6f8;
}

#contacto::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -4rem;
  height: 8rem;
  background: #fff;
  transform: rotate(-4deg);
  transform-origin: left center;
}

.contact-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.contact-form,
.contact-card {
  padding: 1.8rem;
}

.contact-form {
  grid-column: 1 / -1;
}

.contact-intro {
  color: var(--text);
}

.contact-intro .section-tag {
  display: none;
}

.contact-intro h2 {
  margin: 0 0 2rem;
  color: #20242b;
  text-align: center;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.25rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.contact-intro h2 span {
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.contact-intro h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 4px;
  border-radius: 99px;
  background: #5dd568;
}

.contact-quick-list {
  display: grid;
  gap: 1.15rem;
}

.contact-quick-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 96px;
  padding: 1.2rem 1.45rem;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 21, 52, 0.1);
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.contact-quick-item:hover,
.contact-quick-item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(13, 114, 52, 0.2);
  box-shadow:
    0 16px 34px rgba(8, 21, 52, 0.14),
    0 4px 14px rgba(8, 21, 52, 0.08);
}

.contact-quick-item:focus-visible {
  outline: 3px solid rgba(13, 114, 52, 0.24);
  outline-offset: 3px;
}

.contact-quick-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #06b85d;
}

.contact-quick-icon svg {
  width: 1.85rem;
  height: 1.85rem;
  stroke-width: 1.8;
}

.contact-quick-item > div > span {
  display: block;
  margin-bottom: 0.25rem;
  color: #20242b;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: underline;
  text-transform: none;
}

.contact-quick-value {
  display: block;
  color: #6f7885;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
}

.contact-map-card {
  overflow: hidden;
  padding: 0;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid rgba(17, 32, 61, 0.1);
  box-shadow: 0 12px 28px rgba(8, 21, 52, 0.12);
}

.contact-map-card iframe {
  width: 100%;
  min-height: 450px;
  border: 0;
  display: block;
}

.contact-map-footer {
  display: none;
}

.contact-map-footer strong {
  display: block;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.15;
}

.contact-map-footer span {
  display: block;
  margin-top: 0.18rem;
  line-height: 1.35;
}

.map-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 32, 61, 0.12);
  border-radius: 16px;
  background: white;
  padding: 0.9rem 1rem;
  color: var(--text);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-submit {
  margin-top: 1.2rem;
  border: 0;
  cursor: pointer;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--navy-deep);
  color: white;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: start;
}

.footer-brand h3 {
  font-size: 2rem;
}

.footer-brand p,
.footer-note {
  color: rgba(255, 255, 255, 0.68);
}

.footer-note {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.internal-panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.internal-panel h4 {
  margin: 0 0 0.5rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.15rem;
}

.internal-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.internal-links li {
  color: white;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.92rem;
}
@media (max-width: 1320px) {
  .header-shell {
    gap: 1rem;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .nav-submenu-toggle {
    font-size: 0.92rem;
  }

  .contact-link {
    font-size: 0.92rem;
  }

  .admissions-btn {
    padding: 0.3rem 0.68rem 0.3rem 0.32rem;
    font-size: 1.82rem;
  }

  .admissions-btn::before {
    width: 2.12rem;
    height: 2.12rem;
  }
}

@media (max-width: 1120px) {
  :root {
    --header-height: 116px;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 0.7rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 0;
    border: 1px solid rgba(13, 114, 52, 0.16);
    background: rgba(13, 114, 52, 0.1);
    color: var(--green-deep);
    box-shadow: 0 10px 24px rgba(8, 21, 52, 0.08);
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: var(--green);
    color: white;
  }

  .admissions-btn {
    order: 2;
    width: auto;
    min-width: max-content;
  }

  .site-nav {
    order: 4;
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    left: 0;
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    color: var(--navy);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    background: rgba(13, 114, 52, 0.08);
  }

  .nav-item {
    display: grid;
    align-items: stretch;
  }

  .nav-submenu-toggle {
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    color: var(--navy);
    text-align: left;
  }

  .nav-submenu-toggle:hover,
  .nav-submenu-toggle:focus-visible {
    background: rgba(13, 114, 52, 0.08);
  }

  .nav-submenu-toggle::after {
    display: none;
  }

  .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0.15rem 0 0.35rem;
    padding: 0.35rem;
    border-radius: 14px;
    background: rgba(13, 114, 52, 0.06);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.is-open .nav-submenu {
    display: grid;
    transform: none;
  }

  .college-layout,
  .college-campus,
  .identity-overview,
  .services-grid,
  .contact-layout,
  .footer-grid,
  .multilingual-shell,
  .blue-flag-wrap,
  .admission-wrap {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .community-grid,
  .notices-grid,
  .blue-flag-grid,
  .admission-grid,
  .shortcut-strip,
  .service-stack,
  .institutional-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header {
    grid-template-columns: 1fr;
  }

  .service-circles {
    grid-template-columns: repeat(3, minmax(140px, 180px));
    row-gap: 2.5rem;
  }

  .identity-content h3 {
    font-size: 2.55rem;
  }

  .offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-intro {
    grid-template-columns: 1fr;
  }

  .multilingual-copy h2 {
    max-width: 12ch;
    font-size: 4rem;
  }

  .multilingual-visual {
    min-height: 390px;
  }

  .language-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 2rem), var(--container));
    margin-top: 1.8rem;
    margin-inline: auto;
  }

  .language-card-action {
    justify-content: start;
    min-height: 8.1rem;
  }

  .language-watermark {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 90px;
  }

  .brand-logo {
    height: 56px;
    max-width: 150px;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.65rem;
  }

  .header-top {
    min-height: auto;
    padding: 0.55rem 0;
  }

  .header-contact {
    gap: 0.7rem;
  }

  .header-contact {
    flex-wrap: wrap;
  }

  .contact-separator {
    display: none;
  }

  .contact-link {
    font-size: 0.82rem;
  }

  .header-social {
    display: none;
  }

  .admissions-btn {
    min-height: 46px;
    gap: 0.34rem;
    padding: 0.28rem 0.62rem 0.28rem 0.3rem;
    font-size: 1.52rem;
  }

  .admissions-btn::before {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 6px;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero-video-band {
    height: 72px;
  }

  .hero-welcome {
    min-height: 520px;
    padding: 4rem 0 6.5rem;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .hero-shortcuts {
    margin-top: -3.75rem;
    padding-bottom: 2.6rem;
    background:
      linear-gradient(180deg, transparent 0, transparent 5rem, #fbfcff 5rem, #fbfcff 100%);
  }

  .hero-lead {
    font-size: 1rem;
  }

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

  .admission-posters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.9rem;
  }

  .admission-poster {
    padding: 0.3rem;
    border-radius: 12px;
  }

  .admission-poster img {
    border-radius: 10px;
  }

  .admission-modal {
    padding: 0.4rem;
  }

  .admission-modal-close {
    top: 0.65rem;
    right: 0.65rem;
  }

  .offer-grid,
  .community-grid,
  .notices-grid,
  .blue-flag-grid,
  .blue-flag-stars,
  .language-card-grid,
  .admission-grid,
  .shortcut-strip,
  .service-stack,
  .institutional-points,
  .identity-cards,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map-card iframe {
    min-height: 300px;
  }

  .offer-panel.featured {
    grid-column: span 1;
  }

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

  .offer-intro h2 {
    font-size: 2rem;
  }

  .partner-carousel-header h2 {
    margin-bottom: 1.3rem;
  }

  .partner-logo {
    flex-basis: 140px;
    height: 82px;
    padding-inline: 1rem;
  }

  .partner-logo img {
    max-height: 48px;
  }

  .offer-intro p {
    font-size: 1rem;
  }

  .services-section {
    padding: 3.7rem 0;
  }

  .services-header {
    margin-bottom: 2rem;
  }

  .service-circles {
    max-width: 326px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.1rem 1rem;
  }

  .service-circle-photo {
    margin-bottom: 0.85rem;
    padding: 0.32rem;
  }

  .service-circle h3 {
    font-size: 0.96rem;
  }

  .offer-panel-media {
    height: 210px;
  }

  .multilingual-section {
    padding: 3.2rem 0 3.4rem;
  }

  .multilingual-section::before {
    height: 70%;
    clip-path: polygon(0 14%, 28% 24%, 100% 4%, 100% 100%, 0 100%);
  }

  .multilingual-section::after {
    height: 43%;
    clip-path: polygon(0 68%, 28% 60%, 54% 34%, 100% 12%, 100% 100%, 0 100%);
  }

  .multilingual-copy h2 {
    max-width: 10.6ch;
    font-size: 3rem;
  }

  .multilingual-pill {
    font-size: 0.9rem;
  }

  .multilingual-lead {
    font-size: 1.22rem;
  }

  .multilingual-description {
    font-size: 1rem;
  }

  .multilingual-visual {
    min-height: 370px;
  }

  .language-photo-main {
    top: 1.8rem;
    width: 88%;
  }

  .language-photo-side {
    top: 12.9rem;
    width: 37%;
  }

  .language-note-card {
    right: 2%;
    bottom: 0.15rem;
    width: min(15.8rem, 70vw);
    font-size: 0.82rem;
    transform: rotate(-5deg);
  }

  .language-card-grid {
    margin-top: 1.9rem;
    gap: 1.15rem;
  }

  .language-card-action {
    justify-content: center;
    min-height: 8.8rem;
  }

  .nubi-greeting {
    flex-basis: 6.2rem;
    width: 6.2rem;
    height: 7.8rem;
  }

  .nubi-character {
    --nubi-scale: 0.82;
    transform-origin: bottom right;
  }

  .nubi-speech {
    right: 4.45rem;
    max-width: 9.8rem;
    font-size: 0.68rem;
  }

  .language-card {
    min-height: 0;
  }

  .language-cta {
    width: min(100%, 320px);
  }

  .language-watermark {
    display: none;
  }

  .blue-flag-section {
    padding: 4.2rem 0;
  }

  .blue-flag-copy h2 {
    font-size: 2.35rem;
  }

  .blue-flag-stars li {
    min-height: 0;
  }

  .blue-flag-stage {
    min-height: 360px;
  }

  .blue-flag-badge {
    width: min(70vw, 306px);
  }

  .blue-flag-plant {
    right: 0;
    transform: scale(0.82);
    transform-origin: bottom right;
  }

  .blue-flag-mini-flag {
    left: 3%;
    transform: scale(0.82);
    transform-origin: bottom left;
  }

  .college-campus {
    padding: 1.35rem;
  }

  .college-campus-media {
    padding: 0.75rem;
  }

  .college-campus-media img {
    height: 360px;
  }

  .identity-media {
    min-height: 340px;
  }

  .identity-badge {
    min-width: 156px;
    padding: 0.9rem 1rem;
  }

  .identity-badge strong {
    font-size: 2.45rem;
  }

  .identity-content h3 {
    font-size: 2.05rem;
  }

  .milestones h3 {
    text-align: left;
    font-size: 1.75rem;
  }

  .milestone-list {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 0 0 0 1.4rem;
  }

  .milestone-list::before {
    top: 0.2rem;
    bottom: 0.2rem;
    left: 0.28rem;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, rgba(13, 114, 52, 0.16), var(--green), rgba(243, 194, 68, 0.35));
  }

  .milestone-item {
    justify-items: start;
    text-align: left;
  }

  .milestone-item::before {
    top: 0.35rem;
    left: -1.12rem;
    transform: none;
  }

  .milestone-year {
    font-size: 1.65rem;
  }

  .contact-form,
  .contact-card,
  .narrative-panel,
  .resource-aside,
  .service-panel,
  .offer-panel,
  .college-campus,
  .community-panel,
  .notice-panel {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-circle-photo {
    transition: none;
  }

  .service-circle:hover .service-circle-photo {
    transform: none;
  }

  .admission-poster {
    animation: none;
  }

  .back-to-top.is-visible,
  .floating-leaf,
  .badge-waves span,
  .college-campus-media img,
  #nuestro-colegio::before,
  #nuestro-colegio::after,
  .partner-carousel-track,
  .nubi-character,
  .nubi-photo-mouth,
  .nubi-speech,
  .mini-flag-cloth {
    animation: none;
  }
}
