/* ==========================================================================
   NOVA Producciones — Estilos globales
   Estética moderna, minimal, blanco y negro (estilo Apple / Bizarro)
   ========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-900: #0a0a0a;
  --gray-800: #141414;
  --gray-700: #1e1e1e;
  --gray-500: #6b6b6b;
  --gray-400: #9a9a9a;
  --gray-300: #cfcfcf;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 92px;
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Helvetica Neue", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ==========================================================================
   Tipografía
   ========================================================================== */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }

.display {
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gray-400);
  font-weight: 500;
}

.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--gray-300); font-weight: 300; }

/* ==========================================================================
   Header / Navegación
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img { height: 50px; width: auto; position: relative; top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.2vw, 52px);
  list-style: none;
}
.nav-links a {
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  font-weight: 450;
  letter-spacing: 0.01em;
  color: #e9e9e9;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Sección 1 — Formulario + media rotativa
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  padding-top: var(--header-h);
}

.hero-form-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(48px, 8vh, 104px) clamp(24px, 5vw, 64px) 44px;
}
.hero-form-col .eyebrow { margin-bottom: 14px; }
.hero-form-col h1 { margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3.3rem); }
.hero-form-col .lead { margin-bottom: 28px; max-width: 44ch; }

/* Formulario */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.field { position: relative; }
.field label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  padding: 10px 0;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-500); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--white); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.4;
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.checkbox input:checked { background: var(--white); border-color: var(--white); }
.checkbox input:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 15px 34px;
  border: 1px solid var(--white);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.2s var(--ease);
  align-self: flex-start;
}
.btn:hover { background: transparent; color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }

.form-status { font-size: 0.85rem; color: var(--gray-300); min-height: 1em; }

/* Columna de media rotativa */
.hero-media-col {
  position: relative;
  overflow: hidden;
  background: #000;
}
/* Difuminado izquierdo (funde con el form) + oscurecido superior (integra el menú) */
.hero-media-col::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,0.9) 7%, rgba(0,0,0,0.4) 22%, transparent 42%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 16%),
    linear-gradient(0deg, rgba(0,0,0,0.35) 0%, transparent 18%);
  pointer-events: none;
  z-index: 2;
}
/* Refuerzo de desenfoque real en el borde izquierdo del video */
.hero-media-col::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 17%;
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
}
.media-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 6s linear;
}
.media-slide.active { opacity: 1; transform: scale(1); }
.media-slide img,
.media-slide video {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Video de YouTube en modo portada (cubre toda la columna, recortando bordes) */
.hero-video,
#heroMedia iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: calc((100vh - var(--header-h)) * 16 / 9);
  min-width: 100%;
  min-height: calc(100% * 16 / 9);
  transform: translate(-50%, -58%);
  border: 0;
  pointer-events: none;
}

/* Escudo transparente sobre el video: bloquea la interacción con YouTube
   (evita que aparezcan sus controles de play/pausa/skip) */
.hero-video-shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: default;
}

/* Placeholder cuando aún no hay media */
.media-placeholder {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background:
    radial-gradient(120% 120% at 70% 20%, #2a2a2a 0%, #0d0d0d 60%, #000 100%);
}
.media-placeholder p {
  color: var(--gray-500);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 22ch;
}

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section { padding: clamp(72px, 12vh, 160px) 0; }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 20px; }

/* Placeholder de contenido (secciones aún sin definir) */
.placeholder-block {
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  color: var(--gray-400);
}
.placeholder-block .eyebrow { margin-bottom: 14px; }
.placeholder-block h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 10px; }

/* ==========================================================================
   Sección "Ya confiaron en nosotros" — slider de logos (marquee infinito)
   ========================================================================== */
.trusted { padding: clamp(64px, 11vh, 130px) 0; overflow: hidden; }
.trusted-head { text-align: center; margin-bottom: clamp(40px, 6vh, 72px); }
.trusted-head .eyebrow { display: block; margin-bottom: 14px; }
.trusted-head h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: clamp(34px, 4.4vw, 52px);
  width: auto;
  flex-shrink: 0;
  opacity: 0.62;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.marquee-track img:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* Grid de tarjetas (para servicios / blog) */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--gray-900);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--gray-800); }

/* Imagen del servicio: encuadre uniforme + grado de color coherente */
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-800);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.02) brightness(1.02);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.06);
  filter: saturate(1.15) contrast(1.04) brightness(1.06);
}
.card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.card-body { padding: 26px 28px 30px; }
.card .num { font-size: 0.8rem; color: var(--gray-500); letter-spacing: 0.2em; margin-bottom: 14px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--gray-400); font-size: 0.95rem; font-weight: 300; }

/* ==========================================================================
   Quiénes somos
   ========================================================================== */
.about-photo {
  margin: 0 0 clamp(36px, 6vh, 64px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.about-story { max-width: 780px; }
.about-story .eyebrow { display: block; margin-bottom: 16px; }
.about-story h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); margin-bottom: 20px; }
.about-story p {
  color: var(--gray-300);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.75;
}

/* Misión / Visión */
.mv-card {
  background: var(--gray-900);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(30px, 3vw, 48px);
}
.mv-card .eyebrow { display: block; margin-bottom: 16px; }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.mv-card p { color: var(--gray-300); font-weight: 300; line-height: 1.75; font-size: 1.05rem; }

/* Socios / fundadores */
.founders { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 32px); }
.founder {
  background: var(--gray-900);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  transition: border-color 0.4s var(--ease);
}
.founder:hover { border-color: var(--line-strong); }
.founder-photo {
  flex: 0 0 clamp(210px, 32%, 320px);
  align-self: stretch;
  min-height: 320px;
  background: radial-gradient(120% 120% at 50% 20%, #24242a 0%, #101013 70%, #0a0a0c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder-photo span {
  font-size: 2.6rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gray-500);
}
.founder-body { padding: clamp(28px, 3vw, 48px); flex: 1; }
.founder-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.founder-body .role {
  color: var(--gray-400); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.16em; margin-bottom: 18px;
}
.founder-desc { color: var(--gray-300); font-weight: 300; font-size: 1.08rem; line-height: 1.6; margin-bottom: 14px; }
.founder-highlight {
  display: inline-block;
  font-size: 0.85rem; color: #e9e9e9;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 7px 16px;
}
.edu-title {
  display: block;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gray-500); margin: 28px 0 16px;
}
.edu-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.edu-list li { display: flex; flex-direction: column; gap: 2px; }
.edu-list .place { font-weight: 450; color: #e9e9e9; font-size: 1rem; }
.edu-list .deg { color: var(--gray-400); font-size: 0.92rem; font-weight: 300; }
.edu-list .yr { color: var(--gray-500); font-size: 0.82rem; letter-spacing: 0.02em; }
.founder-body p.placeholder-note { color: var(--gray-500); font-weight: 300; font-size: 0.98rem; line-height: 1.65; }

@media (max-width: 700px) {
  .founder { flex-direction: column; }
  .founder-photo { flex-basis: auto; width: 100%; aspect-ratio: 4 / 5; max-height: 460px; min-height: 0; }
}

/* Page hero (páginas internas) */
.page-hero {
  padding: calc(var(--header-h) + clamp(60px, 12vh, 140px)) 0 clamp(40px, 8vh, 90px);
  border-bottom: 1px solid var(--line);
}
.page-hero .display { margin-bottom: 20px; }
.page-hero .lead { max-width: 60ch; }

/* ==========================================================================
   Blog — artículo
   ========================================================================== */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--gray-500);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--gray-400); transition: color 0.25s var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--gray-300); }
.breadcrumb .sep { color: var(--gray-700); }

.post-head { padding: calc(var(--header-h) + clamp(40px, 8vh, 90px)) 0 0; }
.post-head .container { max-width: 900px; }
.post-eyebrow { margin-bottom: 16px; }
.post-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 36px;
}
.post-meta .author { color: var(--gray-300); }
.post-meta .dot { color: var(--gray-700); }

.post-cover {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(44px, 7vh, 80px) 0 clamp(64px, 10vh, 120px);
}
.post-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.post-body h3 { font-size: 1.15rem; margin: 28px 0 10px; color: #ededed; }
.post-body h4 { font-size: 1.02rem; margin: 22px 0 6px; color: #ededed; font-weight: 500; }
.post-body ol {
  padding-left: 22px;
  margin: 0 0 22px;
  color: var(--gray-300);
  font-weight: 300;
}
.post-body ol li { margin-bottom: 9px; line-height: 1.7; font-size: 1.05rem; padding-left: 4px; }
.post-body p {
  color: var(--gray-300);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 18px;
}
.post-body ul { list-style: none; margin: 0 0 22px; padding: 0; }
.post-body ul li {
  position: relative;
  color: var(--gray-300);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  padding-left: 22px;
  margin-bottom: 10px;
}
.post-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-500);
}
.post-body strong { color: #f2f2f2; font-weight: 500; }
.post-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.post-body a:hover { text-decoration-color: #fff; }

/* Checklist */
.post-body .checklist { list-style: none; }
.post-body .checklist li { padding-left: 30px; }
.post-body .checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
}

/* Bloque destacado / CTA final — se ensancha más allá de la columna de lectura */
.post-cta {
  width: min(1040px, calc(100vw - 40px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 64px 0 0;
  padding: clamp(34px, 4vw, 60px) clamp(30px, 4vw, 64px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--gray-900);
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.post-cta-text { min-width: 0; }
.post-cta h2 { margin-top: 0; }
.post-cta-text p:last-child { margin-bottom: 0; }
.post-cta-action { display: flex; justify-content: center; }
/* El botón no debe heredar el estilo de enlace de la prosa (blanco + subrayado) */
.post-body a.btn { color: var(--black); text-decoration: none; margin-top: 0; white-space: nowrap; }
.post-body a.btn:hover { color: var(--white); text-decoration: none; }

@media (max-width: 720px) {
  .post-cta {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .post-cta-action { justify-content: flex-start; }
}

.post-body figure.inline-note { margin: 0 0 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vh, 100px) 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { color: var(--gray-500); max-width: 34ch; font-size: 0.9rem; font-weight: 300; }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gray-500); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--gray-300); font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--line);
  color: var(--gray-500); font-size: 0.8rem;
}

/* ==========================================================================
   Animación de aparición
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 38px; }
  .hero { grid-template-columns: 1fr; }
  .hero-media-col { min-height: 46vh; order: -1; }
  .hero-media-col::after { background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent 45%); }
  .hero-media-col::before { display: none; }
  .hero-video,
  #heroMedia iframe { transform: translate(-50%, -50%); }
  .grid-3 { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px clamp(20px, 5vw, 64px) 24px;
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 18px 0; font-size: 1.18rem; }
  .nav-links a::after { display: none; }
}

@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
