/* =========================================================
   CFCL Neuland — Fundación Boquerón
   ========================================================= */
:root {
  --navy: #002337;
  --navy-2: #0a3350;
  --blue: #1d71b8;
  --blue-soft: #e8f1fa;
  --red: #e6332a;
  --red-dark: #c4251d;
  --ink: #0f1d29;
  --muted: #5a6b7a;
  --line: #e3e8ee;
  --paper: #f7f5f1;
  --white: #ffffff;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 20px 50px -20px rgba(0, 35, 55, .35);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.ico-fill, .ico-fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 24px;
  color: var(--navy);
}
.h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ff7a72; }
.hl { position: relative; white-space: nowrap; color: var(--blue); }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: var(--red); border-radius: 4px; transform: scaleX(0); transform-origin: left;
  transition: transform 1s .45s var(--ease);
}
.is-in .hl::after, .hl.is-in::after { transform: scaleX(1); }
.hl--light { color: #7fc0ff; }
.reveal.is-in .hl::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; line-height: 1;
  transition: transform .4s var(--ease), background .3s, box-shadow .4s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn svg { font-size: 1.15em; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--red { --bg: var(--red); box-shadow: 0 12px 30px -10px rgba(230, 51, 42, .7); }
.btn--red:hover { --bg: var(--red-dark); box-shadow: 0 18px 40px -12px rgba(230, 51, 42, .8); }
.btn--ghost { --bg: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: rgba(255,255,255,.2); }
.btn--ghost svg { transform: none !important; }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }

/* ---------- Progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform-origin: left; transform: scaleX(0); z-index: 200;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .4s var(--ease); }
.nav__brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-right: auto; }
.nav__logo {
  width: 54px; height: 54px; background: #fff; border-radius: 14px; padding: 2px;
  object-fit: contain; transition: width .4s var(--ease), height .4s var(--ease);
}
.nav__brandtext { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.nav__brandtext strong { font-size: 1.2rem; letter-spacing: -.01em; }
.nav__brandtext span { font-size: .8rem; opacity: .8; letter-spacing: .12em; text-transform: uppercase; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  color: rgba(255,255,255,.88); font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; position: relative; transition: color .3s, background .3s;
}
.nav__links a:hover, .nav__links a.is-current { background: rgba(255,255,255,.12); color: #fff; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }

.nav.is-scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,35,55,.3); }
.nav.is-scrolled .nav__inner { height: 70px; }
.nav.is-scrolled .nav__logo { width: 44px; height: 44px; }
.nav.is-scrolled .nav__brand { color: var(--navy); }
.nav.is-scrolled .nav__links a { color: var(--muted); }
.nav.is-scrolled .nav__links a:hover, .nav.is-scrolled .nav__links a.is-current { color: var(--navy); background: var(--blue-soft); }
.nav.is-scrolled .nav__burger span { background: var(--navy); }
.nav.is-hidden { transform: translateY(-100%); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease);
  visibility: hidden;
}
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; letter-spacing: -.03em;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease);
}
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; opacity: 0; transition: opacity .5s .4s; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .25s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .35s; }
.menu-open .nav { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.menu-open .nav__brand { color: #fff !important; }
.menu-open .nav__burger span { background: #fff !important; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: var(--navy); padding-bottom: 40px;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 115%; object-fit: cover; object-position: center 30%;
  transform: scale(1.12); animation: heroZoom 2.4s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,35,55,.55) 0%, rgba(0,35,55,.15) 30%, rgba(0,35,55,.55) 60%, rgba(0,35,55,.96) 100%),
    linear-gradient(90deg, rgba(0,35,55,.85) 0%, rgba(0,35,55,.35) 55%, rgba(0,35,55,0) 85%);
}
.hero__content { position: relative; padding-top: 140px; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3rem, 9.5vw, 8.2rem); line-height: .92; letter-spacing: -.05em;
  margin: 0 0 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; position: relative; }
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); margin: 0 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__eyebrow { color: #fff; }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(230,51,42,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(230,51,42,0); } 100% { box-shadow: 0 0 0 0 rgba(230,51,42,0); } }

.hero__chips { position: relative; display: flex; gap: 12px; margin-top: 64px; flex-wrap: wrap; }
.chip {
  display: flex; align-items: baseline; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px);
  font-size: .92rem;
}
.chip strong { font-family: var(--font-display); font-size: 1.05rem; }
.chip span { color: rgba(255,255,255,.75); }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 44px; width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* hero intro */
[data-hero] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.hero__title [data-hero] { opacity: 1; transform: translateY(110%); }
.is-loaded [data-hero] { opacity: 1; transform: none; }
.is-loaded [data-hero="1"] { transition-delay: .2s; }
.is-loaded [data-hero="2"] { transition-delay: .3s; }
.is-loaded [data-hero="3"] { transition-delay: .42s; }
.is-loaded [data-hero="4"] { transition-delay: .65s; }
.is-loaded [data-hero="5"] { transition-delay: .8s; }
.is-loaded [data-hero="6"] { transition-delay: 1s; }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -18px; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -.02em; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__text p { color: var(--muted); }
.about__text .lead { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.about__media { position: relative; aspect-ratio: 1 / 1.08; }
.about__img { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { inset: 0 22% 26% 0; }
.about__img--b { inset: 38% 0 0 46%; border: 8px solid var(--paper); }
.about__badge {
  position: absolute; left: 4%; bottom: 4%; display: flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; padding: 12px 20px 12px 12px; border-radius: 18px;
  font-family: var(--font-display); font-weight: 600; line-height: 1.15; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.about__badge img { width: 48px; height: 48px; background: #fff; border-radius: 12px; }
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- Section head ---------- */
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.section__head .h2 { margin: 0; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__note { max-width: 360px; color: var(--muted); margin: 0; }

/* ---------- Courses ---------- */
.courses { background: #fff; border-radius: 40px 40px 0 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--muted);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; transform: translateZ(0);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.card--wide { grid-column: span 2; }
.card__img { position: absolute; inset: 0; z-index: -1; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,35,55,0) 30%, rgba(0,35,55,.92) 100%); transition: opacity .5s; }
.card__body { padding: 26px; position: relative; }
.card h3 { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 0; }
.card p {
  margin: 0; color: rgba(255,255,255,.82); font-size: .98rem; line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .5s var(--ease);
}
.card:hover p, .card:focus-within p { max-height: 120px; opacity: 1; margin-top: 10px; }
.card:hover .card__img img { transform: scale(1.08); }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
}
.card--text { background: var(--blue); }
.card--text p { max-height: none; opacity: 1; margin-top: 10px; }
.card__icon { position: absolute; top: -170px; right: 20px; font-size: 120px; opacity: .25; }
.card__icon svg { stroke-width: 1.4; }
.card--cta { background: var(--red); justify-content: space-between; }
.card--cta .card__body { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.card--cta h3 { font-size: 2rem; margin: 0; }
.card--cta p { max-height: none; opacity: 1; margin: 0 0 12px; }
.card--cta .btn { align-self: flex-start; }
.card--cta:hover .btn svg { transform: translateX(4px); }
.card.is-hidden { display: none; }
.card.is-filtering { opacity: 0; transform: scale(.96); }
@media (hover: none) { .card p { max-height: none; opacity: 1; margin-top: 10px; } }

/* ---------- How ---------- */
.how { background: var(--navy); color: #fff; overflow: hidden; }
.how::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; right: -300px; top: -400px;
  background: radial-gradient(circle, rgba(29,113,184,.45), transparent 65%); pointer-events: none;
}
.how .h2 { color: #fff; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.pillar {
  padding: 32px 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .4s, transform .5s var(--ease), border-color .4s;
}
.pillar:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); transform: translateY(-6px); }
.pillar__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--red); font-size: 26px; margin-bottom: 24px; }
.pillar h3 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; margin: 0 0 8px; }
.pillar p { margin: 0; color: rgba(255,255,255,.7); font-size: .98rem; }

.steps { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-top: 96px; padding-top: 64px; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.steps__intro p { color: rgba(255,255,255,.7); margin: 0; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__n { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); }
.step h4 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 4px; }
.step p { margin: 0; color: rgba(255,255,255,.7); font-size: .98rem; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.shot { display: block; width: 100%; margin: 0 0 16px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; position: relative; padding: 0; }
.shot img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.shot::after {
  content: "+"; position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy); font-size: 1.5rem; font-weight: 400;
  transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease);
}
.shot:hover img { transform: scale(1.06); }
.shot:hover::after { transform: scale(1) rotate(0); }

/* ---------- Backing ---------- */
.backing { background: var(--blue-soft); }
.backing__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.backing__logo { background: #fff; border-radius: 32px; aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--shadow); padding: 8%; }
.backing__logo img { width: 100%; }
.backing .lead { color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--red); padding-bottom: 4px; margin-top: 8px; }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; text-align: center; padding: clamp(110px, 16vw, 200px) 0; overflow: hidden; background: var(--navy); }
.cta__bg { position: absolute; inset: -15% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(0,35,55,.4), rgba(0,35,55,.95) 75%); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.045em; margin: 0 0 20px; }
.cta p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin: 0 0 36px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact__cards { display: grid; gap: 12px; margin-top: 12px; }
.ccard {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
a.ccard:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.ccard__ico { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 22px; }
.ccard__ico--wa { background: #25d366; color: #fff; }
.ccard small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.ccard strong { display: block; font-size: 1.1rem; color: var(--navy); word-break: break-word; }
.ccard em { font-style: normal; color: var(--muted); font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 20px; transition: background .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--red); transform: translateY(-4px) rotate(-6deg); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.85); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 80px 0 32px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 84px; height: 84px; background: #fff; border-radius: 20px; padding: 4px; margin-bottom: 16px; }
.footer__brand p { max-width: 280px; margin: 0; }
.footer__col h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin: 0 0 12px; }
.footer__col a { display: block; padding: 3px 0; transition: color .3s; word-break: break-word; }
.footer__col a:hover { color: #fff; }
.footer__partners { display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 56px 0 0; padding: 40px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__partners img { height: 110px; width: auto; opacity: .75; transition: opacity .3s; }
.footer__partners img:hover { opacity: 1; }
.footer__partners img.invert { filter: brightness(0) invert(1); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: .88rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transform: scale(0); transition: transform .5s var(--ease);
}
.fab.is-visible { transform: scale(1); }
.fab:hover { transform: scale(1.08); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,18,30,.94); display: grid; place-items: center; padding: 60px 70px; animation: fadeIn .35s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 10px; object-fit: contain; animation: zoomIn .45s var(--ease); }
.lightbox figcaption { color: rgba(255,255,255,.8); text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 2.6rem; line-height: 1; width: 52px; height: 52px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; color: #fff; font-size: 3rem; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.08); line-height: 1; transition: background .3s; }
.lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 12% 12% 12% round var(--radius)); opacity: 0; transition: clip-path 1.3s var(--ease), opacity .8s; }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; }
.js .shot.reveal-img { clip-path: inset(10% 0 10% 0 round var(--radius-sm)); }
.js .shot.reveal-img.is-in { clip-path: inset(0 round var(--radius-sm)); }
.js .card { opacity: 0; transform: translateY(50px); }
.js .card.is-in { opacity: 1; transform: none; }
.js .card.is-in.is-filtering { opacity: 0; transform: scale(.96); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about__grid, .backing__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: 100%; margin: 0 auto; }
  .backing__logo { max-width: 300px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .nav__inner { height: 72px; }
  .nav__logo { width: 46px; height: 46px; }
  .hero__chips { margin-top: 40px; }
  .chip { padding: 9px 14px; font-size: .85rem; }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card { min-height: 320px; }
  .pillars, .steps__list { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__partners { gap: 24px; }
  .footer__partners img { height: 80px; }
  .lightbox { padding: 60px 12px; }
  .lightbox__nav { top: auto; bottom: 16px; translate: none; }
  .courses { border-radius: 28px 28px 0 0; }
  .fab { width: 54px; height: 54px; font-size: 26px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}
