/* ══════════════════════════════════════════════════════════════
   LOS MBASSA — style.css
   Arquitectura: tokens → reset → layout → componentes → secciones → utilidades
   ══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --black:      #0D0D0D;
  --off-white:  #F8F8F8;
  --gray-dim:   #1A1A1A;
  --gray-mid:   #3A3A3A;
  --gray-soft:  #888888;

  --blue:       #2563EB;
  --purple:     #7C3AED;
  --pink:       #D946EF;
  --lime:       #84CC16;

  --grad-hero:  linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);

  --font:       'Plus Jakarta Sans', system-ui, sans-serif;

  --r-sm:  12px;
  --r-md:  24px;
  --r-lg:  40px;
  --r-xl:  80px;
  --r-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 72px;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── CONTENEDOR ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}

/* ── SECCIÓN BASE ────────────────────────────────────────────── */
.section {
  padding-block: clamp(5rem, 12vw, 9rem);
}

/* ── TIPOGRAFÍA ──────────────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 1.5rem;
}
.section-label--light { color: rgba(248,248,248,0.45); }

.section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.section-header { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* ── BOTONES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--off-white);
  color: var(--black);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255,255,255,0.18);
}
.btn--ghost {
  background: transparent;
  color: var(--off-white);
  border: 1.5px solid rgba(248,248,248,0.3);
}
.btn--ghost:hover {
  background: rgba(248,248,248,0.06);
  border-color: rgba(248,248,248,0.6);
  transform: translateY(-3px);
}
.btn--white {
  background: var(--off-white);
  color: var(--black);
  font-size: 1rem;
  padding: 1rem 2.5rem;
}
.btn--white:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(255,255,255,0.22);
}
.btn--ghost-light {
  background: transparent;
  color: var(--off-white);
  border: 1.5px solid rgba(248,248,248,0.35);
  font-size: 1rem;
  padding: 1rem 2.5rem;
}
.btn--ghost-light:hover {
  background: rgba(248,248,248,0.08);
  border-color: rgba(248,248,248,0.7);
  transform: translateY(-4px);
}

/* ── TAGS ────────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--gray-mid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-soft);
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover { border-color: var(--off-white); color: var(--off-white); }

/* ── ANIMACIONES SCROLL REVEAL ───────────────────────────────── */
.reveal-up,
.reveal-fade {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-up  { transform: translateY(40px); }
.reveal-fade { transform: translateY(12px); }

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

/* ═══════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav__mark {
  width: 36px;
  height: auto;
  color: var(--off-white);
}
.nav__wordmark {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-soft);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--off-white); }

.nav__cta {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  background: var(--off-white);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* Imagen fotográfica de fondo */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Overlay oscuro degradado para legibilidad del texto */
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(13,13,13,0.82) 0%, rgba(13,13,13,0.35) 70%, rgba(13,13,13,0.15) 100%),
    linear-gradient(to bottom, rgba(13,13,13,0.3)  0%, rgba(13,13,13,0.0)  50%, rgba(13,13,13,0.6) 100%);
}

/* Elementos flotantes decorativos */
.hero__floats { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute;
  border-radius: var(--r-full);
  animation: floatDrift 8s ease-in-out infinite;
}
.float--1 {
  width: 6px; height: 6px;
  background: var(--purple);
  top: 20%; right: 12%;
  animation-delay: 0s;
}
.float--2 {
  width: 4px; height: 4px;
  background: var(--blue);
  bottom: 30%; left: 8%;
  animation-delay: 2.5s;
}
.float--3 {
  width: 8px; height: 8px;
  background: var(--pink);
  top: 60%; right: 25%;
  animation-delay: 5s;
}

@keyframes floatDrift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50%       { transform: translateY(-18px) scale(1.2); opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: var(--nav-h) clamp(1.25rem, 5vw, 5rem) 4rem;
  color: var(--off-white);
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(248,248,248,0.5);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--off-white);
}

.hero__subtitle {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,248,248,0.5);
  margin-bottom: 1.25rem;
}

.hero__desc {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(248,248,248,0.65);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Indicador scroll */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.25rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(248,248,248,0.35);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(248,248,248,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about { background: var(--black); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}
.about__heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.about__body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(248,248,248,0.6);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* Visual abstracto */
.about__visual {
  position: relative;
  height: 420px;
}
.about__block {
  position: absolute;
  border-radius: var(--r-xl);
}
.about__block--large {
  width: 78%;
  height: 78%;
  background: var(--gray-dim);
  top: 0; right: 0;
}
.about__block--accent {
  width: 44%;
  height: 44%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  bottom: 10%;
  left: 0;
  border-radius: var(--r-lg);
  opacity: 0.85;
}
.about__block--small {
  width: 28%;
  height: 24%;
  background: var(--gray-mid);
  top: 55%;
  right: 5%;
  border-radius: var(--r-md);
}
.about__visual-text {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.8;
  color: rgba(248,248,248,0.35);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURED CARDS
═══════════════════════════════════════════════════════════════ */
.featured { background: var(--black); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.card--large {
  grid-column: 1 / 3;
  grid-row: 1;
}

.card {
  position: relative;
  background: var(--gray-dim);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
  outline: none;
}
.card:hover, .card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
}
.card:focus-visible { outline: 3px solid var(--purple); }

.card__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 110%, rgba(124,58,237,0.22) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover .card__glow { opacity: 1; }

.card__cat {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 1rem;
}
.card__cat--light { color: rgba(248,248,248,0.5); }

.card__title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.card__title--light { color: var(--off-white); }

.card__desc {
  font-size: 0.9rem;
  color: var(--gray-soft);
  line-height: 1.6;
  flex: 1;
}
.card__desc--light { color: rgba(248,248,248,0.6); }

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.5rem;
}
.card__read {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-soft);
  transition: color 0.2s, gap 0.2s;
}
.card:hover .card__read { color: var(--off-white); }
.card__read--light { color: rgba(248,248,248,0.55); }
.card:hover .card__read--light { color: var(--off-white); }

.card__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
}
.card__num--light { color: rgba(255,255,255,0.08); }

.card--accent {
  background: linear-gradient(145deg, var(--purple) 0%, var(--blue) 100%);
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   MADRID → MUNDO
═══════════════════════════════════════════════════════════════ */
.world {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.world__header { margin-bottom: clamp(3rem, 6vw, 5rem); }
.world__title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.world__arrow {
  display: inline-block;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.world__intro {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(248,248,248,0.5);
  max-width: 540px;
  line-height: 1.7;
  margin-top: 1.25rem;
}
.world__map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
}
.world__svg { width: 100%; height: auto; display: block; }

/* Nodos y líneas SVG animados */
.world-node {
  animation: nodePulse 2.5s ease-in-out infinite;
}
.world-node:nth-child(2)  { animation-delay: 0.4s; }
.world-node:nth-child(3)  { animation-delay: 0.8s; }
.world-node:nth-child(4)  { animation-delay: 1.2s; }
.world-node:nth-child(5)  { animation-delay: 1.6s; }
.world-node:nth-child(6)  { animation-delay: 2.0s; }

@keyframes nodePulse {
  0%, 100% { r: 6; opacity: 0.8; }
  50%       { r: 9; opacity: 1; }
}

.world-line {
  stroke-dashoffset: 0;
  animation: dashFlow 2.5s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -24; }
}

/* Anillos de pulso del nodo Madrid */
.pulse-ring {
  transform-origin: 300px 240px;
  animation: ringPulse 2.5s ease-out infinite;
}
.pulse-ring--2 { animation-delay: 1s; }
@keyframes ringPulse {
  0%   { transform: scale(0.8); opacity: 0.3; }
  60%  { transform: scale(1.2); opacity: 0.1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.world__caption {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--gray-soft);
  text-align: center;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════ */
.stats { background: var(--gray-dim); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat__num {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-soft);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   GALERÍA
═══════════════════════════════════════════════════════════════ */
.gallery { background: var(--black); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 1rem;
}
.gal-item { border-radius: var(--r-lg); overflow: hidden; }
.gal-item--tall { grid-row: 1 / 3; }
.gal-item--wide { grid-column: 2 / 4; }

.gal-item__inner {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: transform 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.gal-item__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s;
}
.gal-item:hover .gal-item__inner {
  transform: scale(1.04);
}
.gal-item:hover .gal-item__inner::after {
  background: rgba(0,0,0,0.15);
}
.gal-item__label {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,248,248,0.6);
  background: rgba(0,0,0,0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIOS
═══════════════════════════════════════════════════════════════ */
.testimonials { background: var(--gray-dim); }
.testimonials .container { margin-bottom: 3rem; }

.testimonials__slider-wrap { overflow: hidden; }
.testimonials__slider {
  display: flex;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.tcard {
  min-width: 360px;
  max-width: 400px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.tcard__quote {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(248,248,248,0.75);
  font-style: italic;
  flex: 1;
}
.tcard__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  flex-shrink: 0;
  opacity: 0.7;
}
.tcard__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}
.tcard__author span {
  font-size: 0.75rem;
  color: var(--gray-soft);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  color: var(--off-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.slider-btn:hover { background: rgba(255,255,255,0.18); transform: scale(1.1); }
.slider-btn:focus-visible { outline: 3px solid var(--purple); }

.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
}
.slider-dot.active {
  background: var(--off-white);
  width: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════════════════ */
.cta-final {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.cta-final__shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-final__shape svg { width: 100%; height: 100%; object-fit: cover; }

.cta-final__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.cta-final__title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.cta-final__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-final__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(248,248,248,0.55);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--gray-dim);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 4rem 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer__mark {
  width: 40px;
  color: var(--off-white);
  margin-bottom: 1rem;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--gray-soft);
  font-style: italic;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__link {
  font-size: 0.85rem;
  color: rgba(248,248,248,0.45);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--off-white); }
.footer__link:focus-visible { outline: 2px solid var(--purple); border-radius: 2px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(248,248,248,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* 1024px */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .card--large { grid-column: 1 / 3; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { height: 300px; order: -1; }
  .footer__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* 768px */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Nav */
  .nav__links {
    position: fixed;
    inset-block-start: var(--nav-h);
    inset-inline: 0;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease-out);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__link, .nav__cta {
    display: block;
    padding: 1rem 2rem;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav__cta {
    background: transparent;
    color: var(--off-white);
    margin: 0.5rem 2rem;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: var(--r-full);
    text-align: center;
  }
  .nav__toggle { display: flex; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }
  .card--large { grid-column: 1; }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 180px);
  }
  .gal-item--tall { grid-row: 1 / 3; }
  .gal-item--wide { grid-column: 1 / 3; }

  /* Testimonials */
  .tcard { min-width: 280px; }

  /* Footer */
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* 480px */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(3.5rem, 18vw, 6rem); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
  .gal-item--tall  { grid-row: auto; }
  .gal-item--wide  { grid-column: 1; }
  .footer__nav { grid-template-columns: 1fr; }
  .tcard { min-width: 260px; }
}
