/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { background: #0A0A0A; }
body { background: #0A0A0A; color: #E8E8E8; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }

/* ── Display / Heading font — Space Grotesk exclusivamente para títulos ── */
h1, h2,
.hero-headline,
.section-title,
.service-title,
.proj-title,
.modal-proj-title,
.course-title,
.academia-stat-num,
.bim-name {
  font-family: 'Space Grotesk', sans-serif;
}

/* ── Accent utilities ── */
.accent-line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: #008f4c;
}

/* ── Nav glass ── */
.nav-glass {
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ── Nav link hover ── */
.nav-link {
  position: relative;
  color: #A1A1AA;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #008f4c;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-link:hover { color: #E8E8E8; }
.nav-link:hover::after { width: 100%; }

/* ── Portal YARE button ── */
.btn-yare {
  border: 1px solid rgba(237,28,36,0.35);
  color: #ed1c24;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 3px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn-yare:hover {
  background: rgba(237,28,36,0.1);
  border-color: #ed1c24;
  color: #E8E8E8;
}

/* ── Mobile menu ── */
#mobile-menu {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
}

/* ── Hero ── */
.hero-section {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Video/image placeholder container */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Replace this div content with <video> or <img> when ready */
.hero-media-inner {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(0,143,76,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(0,143,76,0.06) 0%, transparent 70%),
    #0A0A0A;
}

/* Overlay oscuro sobre el media — multicapa para garantizar legibilidad */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Base layer: oscurece uniformemente el video */
  background:
    linear-gradient(
      to right,
      rgba(10,10,10,0.95) 0%,
      rgba(10,10,10,0.80) 40%,
      rgba(10,10,10,0.60) 70%,
      rgba(10,10,10,0.45) 100%
    ),
    rgba(10,10,10,0.40);
  z-index: 1;
}

/* Hero grid — eliminado para estética galería */
.hero-grid { display: none; }

/* Hero content sits above everything */
.hero-content { position: relative; z-index: 10; }

/* ── Hero line reveal mask ── */
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-line-inner {
  display: block;
}

/* ── Headline ── */
.hero-headline {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #EFEFEF;
}
.hero-headline .word-accent {
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,143,76,0.55);
}

/* ── CTA primary ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #008f4c;
  color: #0A0A0A;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
  background: #007040;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,143,76,0.25);
}

/* ── CTA secondary ── */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #A1A1AA;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.btn-secondary:hover { color: #E8E8E8; }

/* ── Stats / pill ── */
.stat-pill {
  border: 1px solid #1C1C1C;
  background: rgba(17,17,17,0.7);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
}

/* ── Scroll indicator ── */
.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, #008f4c, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Animaciones migradas a GSAP — CSS eliminado ──
   .fade-up, .reveal, .delay-*, .reveal-delay-*
   son ahora selectores semánticos manejados por GSAP/ScrollTrigger.
   El estado inicial (opacity:0, y:offset) lo setea gsap.set() en JS.
── */

/* ══════════════════════════════
   SERVICIOS
══════════════════════════════ */
.services-section {
  background: #050505;
  padding: 12rem 0 12rem;
  position: relative;
}

/* Glow ambiental muy tenue — reemplaza dot grid */
.services-section::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 55%;
  height: 60%;
  background: radial-gradient(ellipse 70% 60% at 80% 0%, rgba(0,143,76,0.028) 0%, transparent 70%);
  pointer-events: none;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.section-eyebrow span {
  color: #A1A1AA;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #EFEFEF;
  line-height: 1.0;
  margin-bottom: 2rem;
}
.section-subtitle {
  color: #A1A1AA;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.85;
  max-width: 40rem;
}

/* ── Service Card ── */
.service-card {
  background: #0D0D0D;
  border: none;
  border-radius: 0;
  padding: 3.25rem 2.75rem 2.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform   0.4s cubic-bezier(0.4,0,0.2,1),
              box-shadow  0.4s cubic-bezier(0.4,0,0.2,1),
              background  0.4s ease;
  cursor: default;
}

/* Radial glow bottom-left on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 100%, rgba(0,143,76,0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

/* Accent bottom line slide-in */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #008f4c, rgba(0,143,76,0.3));
  transition: width 0.55s cubic-bezier(0.4,0,0.2,1);
}

.service-card:hover {
  background: #111111;
  transform: translateY(-5px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.6);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { width: 100%; }

/* Icon wrapper */
.service-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B5563;
  transition: color 0.35s ease;
  flex-shrink: 0;
}
.service-card:hover .service-icon-wrap { color: #008f4c; }

/* Card index number */
.service-num {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
  transition: color 0.35s ease;
}
.service-card:hover .service-num { color: rgba(0,143,76,0.45); }

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #E8E8E8;
  letter-spacing: -0.02em;
  margin: 2rem 0 1rem;
}

.service-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: #A1A1AA;
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6B7280;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease, gap 0.3s ease;
  margin-top: auto;
}
.service-card:hover .service-link {
  color: #008f4c;
  gap: 0.75rem;
}
.service-link svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.service-card:hover .service-link svg { transform: translateX(3px); }

/* ── Divisor sutil entre header y grid ── */
.services-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #1C1C1C 20%, #1C1C1C 80%, transparent);
  margin: 6.5rem 0;
}

/* ══════════════════════════════
   POR QUÉ ANTORR
══════════════════════════════ */
.why-section {
  background: #050505;
  padding: 10rem 0;
  position: relative;
}
.why-header { max-width: 40rem; margin-bottom: 4.5rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #1C1C1C;
}
.why-card {
  background: #080808;
  padding: 2.75rem 2rem;
  border-right: 1px solid #1C1C1C;
  transition: background 0.3s ease;
}
.why-card:last-child { border-right: none; }
.why-card:hover { background: #0E0E0E; }
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.18em;
  color: #008f4c;
  margin-bottom: 1.75rem;
}
.why-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: #E8E8E8; line-height: 1.35;
  margin-bottom: 1rem;
}
.why-desc {
  font-size: 0.825rem;
  color: #6B7280; line-height: 1.8;
}
@media (max-width: 1024px) {
  .why-section { padding: 6rem 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { border-bottom: 1px solid #1C1C1C; }
  .why-card:nth-child(2) { border-right: none; }
  .why-card:nth-child(3), .why-card:nth-child(4) { border-bottom: none; }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; border-bottom: 1px solid #1C1C1C; }
  .why-card:last-child { border-bottom: none; }
}

/* ══════════════════════════════
   PROYECTOS
══════════════════════════════ */
.projects-section {
  background: #050505;
  padding: 12rem 0 12rem;
  position: relative;
}

/* Grid asimétrico tipo mosaico — galería editorial */
.proj-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin-top: 0;
}
.proj-card { height: 300px; }

@media (min-width: 640px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-card { height: 380px; }
}
@media (min-width: 1024px) {
  .proj-grid { grid-template-columns: repeat(12, 1fr); }
  .proj-card:nth-child(1) { grid-column: span 7; height: 520px; }
  .proj-card:nth-child(2) { grid-column: span 5; height: 520px; }
  .proj-card:nth-child(3) { grid-column: span 5; height: 400px; }
  .proj-card:nth-child(4) { grid-column: span 7; height: 400px; }
}

/* ── Project Card — sin bordes, estilo galería ── */
.proj-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: none;
  cursor: pointer;
  display: block;
}
.proj-card:focus-visible { outline: 1.5px solid #008f4c; outline-offset: 2px; }

/* Imagen */
.proj-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.proj-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.5);
  transform: scale(1.04);
  transition: filter 0.8s ease, transform 1s cubic-bezier(0.25,0,0,1);
}
.proj-card:hover .proj-img {
  filter: brightness(0.68) saturate(0.85);
  transform: scale(1.08);
}

/* Overlay — gradiente profundo, texto emerge limpiamente */
.proj-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(3,3,3,0.98) 0%,
      rgba(3,3,3,0.6)  35%,
      rgba(3,3,3,0.05) 70%,
      transparent      100%
    );
  z-index: 1;
  transition: background 0.6s ease;
}
.proj-card:hover .proj-overlay {
  background:
    linear-gradient(
      to top,
      rgba(3,3,3,0.95) 0%,
      rgba(3,3,3,0.4)  40%,
      transparent      75%
    );
}

/* Contenido — padding generoso, texto bien anclado abajo */
.proj-content {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2.75rem;
}

.proj-category-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,143,76,0.85);
  margin-bottom: 0.6rem;
}

.proj-title {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 700;
  color: #F0F0F0;
  letter-spacing: -0.025em;
  line-height: 1.1;
  transition: color 0.4s ease;
}
.proj-card:hover .proj-title { color: #fff; }

/* CTA — aparece en hover */
.proj-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #008f4c;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.proj-card:hover .proj-cta { opacity: 1; transform: translateY(0); }
.proj-cta svg { transition: transform 0.3s ease; }
.proj-card:hover .proj-cta svg { transform: translateX(4px); }

/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(4,4,4,0.87);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 6px;
  width: 100%;
  max-width: 64rem;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  transform: scale(0.96) translateY(18px);
  transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 0.5px rgba(0,143,76,0.08);
}
.modal-backdrop.open .modal-box { transform: scale(1) translateY(0); }

@media (min-width: 768px) {
  .modal-box { grid-template-columns: 55% 45%; max-height: 88vh; }
}

/* Imagen del modal */
.modal-img-panel {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
@media (min-width: 768px) { .modal-img-panel { min-height: unset; } }

.modal-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.85);
  transition: filter 0.5s ease;
}
.modal-backdrop.open .modal-img { filter: brightness(0.82) saturate(0.9); }

/* Degradado sobre imagen en modal */
.modal-img-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.35) 0%, transparent 60%);
  pointer-events: none;
}

/* Año flotante sobre imagen */
.modal-year {
  position: absolute;
  bottom: 1.25rem; left: 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

/* Contenido del modal */
.modal-content-panel {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 2rem;
  overflow-y: auto;
  position: relative;
}

/* Botón cerrar */
.modal-close-btn {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  color: #444;
  border: 1px solid #222;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  z-index: 10;
}
.modal-close-btn:hover { color: #E8E8E8; border-color: #444; background: rgba(255,255,255,0.04); }
.modal-close-btn:focus-visible { outline: 1.5px solid #008f4c; outline-offset: 2px; }

/* Tags de disciplina */
.modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.modal-tag {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid #2A2A2A;
  border-radius: 2px;
  color: #A1A1AA;
}

.modal-proj-title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #EFEFEF;
  line-height: 1.15;
  margin-bottom: 1rem;
  padding-right: 2.5rem; /* espacio para el X */
}

.modal-category {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,143,76,0.75);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.modal-category::before {
  content: '';
  display: block; width: 1.5rem; height: 1px;
  background: #008f4c; opacity: 0.5;
}

.modal-desc {
  font-size: 0.9rem; font-weight: 300;
  color: #A1A1AA; line-height: 1.85;
  flex-grow: 1;
  margin-bottom: 2.5rem;
}

/* Botón "Ver Recorrido Virtual" */
.btn-virtual {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(0,143,76,0.4);
  color: #008f4c;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: 3px;
  align-self: flex-start;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-virtual:hover {
  background: rgba(0,143,76,0.08);
  border-color: #008f4c;
  color: #E8E8E8;
}

/* Scrollbar minimal para el panel de contenido */
.modal-content-panel::-webkit-scrollbar { width: 3px; }
.modal-content-panel::-webkit-scrollbar-track { background: transparent; }
.modal-content-panel::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 2px; }

/* ══════════════════════════════
   SERVICIOS — TABS
══════════════════════════════ */
.services-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 3.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.services-tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  position: relative;
  flex-shrink: 0;
  padding: 0.9rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7280;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: #008f4c;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.tab-btn:hover { color: #7A7A7A; }
.tab-btn.active { color: #E8E8E8; }
.tab-btn.active::after { width: 100%; }

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
              transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.tab-panel.active { display: grid; }
.tab-panel.fade-in { opacity: 1; transform: translateY(0); }

.tab-sub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
@media (min-width: 640px)  { .tab-sub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tab-sub-grid { grid-template-columns: repeat(3, 1fr); } }

.tab-sub-item {
  background: rgba(255,255,255,0.018);
  padding: 2rem 1.75rem;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.tab-sub-item:hover {
  background: rgba(255,255,255,0.032);
  box-shadow: inset 0 0 0 1px rgba(0,143,76,0.1);
}

.tab-sub-icon {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  color: #4B5563;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}
.tab-sub-item:hover .tab-sub-icon { color: #008f4c; }

.tab-sub-title {
  font-size: 0.9rem; font-weight: 700;
  color: #CECECE; letter-spacing: -0.01em; line-height: 1.3;
}
.tab-sub-desc {
  font-size: 0.775rem; font-weight: 300;
  color: #6B7280; line-height: 1.72; flex-grow: 1;
}
.tab-sub-tags {
  display: flex; flex-wrap: wrap;
  gap: 0.35rem; margin-top: 0.6rem;
}
.tab-sub-tag {
  font-size: 0.575rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(0,143,76,0.5);
  border: 1px solid rgba(0,143,76,0.12);
  padding: 0.18rem 0.55rem; border-radius: 2px;
}

/* ══════════════════════════════
   ENTORNOS INMERSIVOS
══════════════════════════════ */
.immersive-section {
  background: #050505;
  padding: 12rem 0 12rem;
  position: relative;
  overflow: hidden;
}
.immersive-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0,143,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════
   ENTORNOS INMERSIVOS — Carousel
══════════════════════════════ */
.imm-wrap {
  position: relative;
  width: 100%;
  margin-top: 4rem;
  overflow: hidden;
}
.imm-viewport { overflow: hidden; width: 100%; }
.imm-track {
  display: flex;
  will-change: transform;
}
.imm-group {
  flex-shrink: 0;
  width: 100%;
  display: flex;
}
.imm-card {
  flex: 0 0 50%;
  min-width: 0;
  position: relative;
  background: #080808;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #111;
}
.imm-card:last-child { border-right: none; }

/* Titlebar */
.imm-card-titlebar {
  height: 2.25rem;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid #1D1D1D;
  display: flex; align-items: center;
  padding: 0 1rem; gap: 0.4rem;
  flex-shrink: 0; position: relative; z-index: 5;
}
.viewer-dot { width: 7px; height: 7px; border-radius: 50%; background: #1A1A1A; }
.imm-card-label {
  margin-left: 0.75rem;
  font-size: 0.575rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #6B7280; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.viewer-status {
  font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0,143,76,0.35); flex-shrink: 0;
}

/* Body */
.imm-card-body { flex: 1; position: relative; aspect-ratio: 16 / 9; }
.imm-marz { position: absolute; inset: 0; z-index: 2; }

/* Cover / Placeholder */
.imm-cover {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.4rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,143,76,0.03) 0%, transparent 70%),
    #080808;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.imm-cover.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.viewer-cover-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,143,76,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,143,76,0.022) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.imm-cover-icon {
  color: #2D3748; position: relative; z-index: 1;
  transition: color 0.35s ease;
}
.imm-card:hover .imm-cover-icon { color: #4B5563; }
.imm-cover-label {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #6B7280; text-align: center; position: relative; z-index: 1;
}
.imm-no-src {
  font-size: 0.6rem; color: #4B5563;
  letter-spacing: 0.06em; position: relative; z-index: 1; text-align: center;
}
.imm-no-src code { color: rgba(0,143,76,0.55); font-family: monospace; }

.btn-load-viewer {
  border: 1px solid rgba(0,143,76,0.35); color: #008f4c;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.65rem 1.5rem; border-radius: 3px;
  background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.55rem;
  position: relative; z-index: 1;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn-load-viewer:hover {
  background: rgba(0,143,76,0.08);
  border-color: #008f4c; color: #E8E8E8;
  box-shadow: 0 0 24px rgba(0,143,76,0.12);
}

/* Video */
.imm-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 3;
}

/* Loader */
.imm-loader {
  position: absolute; inset: 0; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  background: #080808; transition: opacity 0.5s ease;
}
.imm-loader.hidden { opacity: 0; pointer-events: none; }
.spinner {
  width: 22px; height: 22px;
  border: 1.5px solid #1D1D1D; border-top-color: #008f4c;
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Card footer */
.imm-card-footer {
  height: 2.75rem;
  background: rgba(8,8,8,0.98); border-top: 1px solid #111;
  display: flex; align-items: center;
  padding: 0 1rem; gap: 0.6rem; flex-shrink: 0;
}
.imm-tag {
  font-size: 0.52rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(0,143,76,0.5);
  padding: 0.18rem 0.45rem;
  border: 1px solid rgba(0,143,76,0.15); border-radius: 2px;
  white-space: nowrap;
}
.imm-expand-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #4B5563; text-decoration: none;
  transition: color 0.25s ease; white-space: nowrap;
}
.imm-expand-btn:hover { color: #E8E8E8; }

/* Carousel arrows */
.imm-arrow {
  position: absolute; top: 50%; transform: translateY(calc(-50% - 1.375rem));
  width: 2.75rem; height: 2.75rem;
  background: rgba(10,10,10,0.92); border: 1px solid #1D1D1D;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #6B7280;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  z-index: 10;
}
.imm-arrow:hover { background: rgba(0,143,76,0.1); border-color: rgba(0,143,76,0.4); color: #E8E8E8; }
.imm-arrow-prev { left: 1.25rem; }
.imm-arrow-next { right: 1.25rem; }

/* Carousel dots */
.imm-dots {
  position: absolute; bottom: 0.85rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.4rem; z-index: 10;
}
.imm-dot {
  width: 24px; height: 3px; padding: 0;
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s ease, width 0.35s ease;
}
.imm-dot.active { background: rgba(0,143,76,0.7); width: 42px; }

/* CTA row */
.imm-cta-row {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 2.5rem; flex-wrap: wrap;
}
.imm-cta-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #E8E8E8; text-decoration: none;
  border: 1px solid rgba(0,143,76,0.4);
  padding: 0.85rem 2rem; border-radius: 3px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.imm-cta-btn:hover {
  background: rgba(0,143,76,0.08); border-color: #008f4c;
  box-shadow: 0 0 32px rgba(0,143,76,0.15);
}
.imm-cta-note {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: #4B5563;
}

/* Mobile: single card */
@media (max-width: 767px) {
  .imm-card { flex: 0 0 100%; border-right: none; }
  .imm-arrow { display: none; }
}

/* ══════════════════════════════
   ANTORR ACADEMIA
══════════════════════════════ */
.academia-section {
  background: #050505;
  padding: 12rem 0 12rem;
  position: relative; overflow: hidden;
}
/* dot grid eliminado — fondo limpio */
.academia-section::after { display: none; }

.academia-header {
  display: grid; grid-template-columns: 1fr;
  gap: 4rem; margin-bottom: 7rem;
}
@media (min-width: 1024px) {
  .academia-header { grid-template-columns: 1fr 1fr; align-items: end; }
}
.academia-stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.academia-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.academia-stat-num {
  font-size: 2rem; font-weight: 800;
  letter-spacing: -0.035em; color: #EFEFEF; line-height: 1;
}
.academia-stat-label {
  font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: #6B7280;
}

.courses-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; background: transparent;
  border: none; border-radius: 0; overflow: visible;
}
@media (min-width: 768px)  { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .courses-grid { grid-template-columns: repeat(3, 1fr); } }
.course-card--featured { grid-column: 1 / -1; }

.course-card {
  background: #0D0D0D;
  padding: 2.75rem 2.25rem 2.25rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.45);
  transition: background 0.3s ease, box-shadow 0.4s ease;
}
.course-card:hover { background: #111111; box-shadow: 0 8px 32px rgba(0,0,0,0.6); }
.course-card--featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, #008f4c, rgba(0,143,76,0.3), transparent);
}

.course-card-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem;
}
.course-level-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.575rem; font-weight: 700;
  transition: color 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.28rem 0.65rem; border-radius: 2px; flex-shrink: 0;
}
.level-avanzado  { color: rgba(251,176,59,0.9);  background: rgba(251,176,59,0.07);  border: 1px solid rgba(251,176,59,0.2);  }
.level-intermedio{ color: rgba(180,140,60,0.85); background: rgba(180,140,60,0.06);  border: 1px solid rgba(180,140,60,0.18); }
.level-fundamentos{ color:rgba(100,180,100,0.85);background: rgba(100,180,100,0.06); border: 1px solid rgba(100,180,100,0.18);}
.level-experto   { color: rgba(220,80,80,0.85);  background: rgba(220,80,80,0.06);   border: 1px solid rgba(220,80,80,0.18);  }

.course-category {
  font-size: 0.575rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(0,143,76,0.5); margin-bottom: 0.6rem;
}
.course-title {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 800; color: #EFEFEF;
  letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.9rem;
}
.course-card--featured .course-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}
.course-desc {
  font-size: 0.825rem; font-weight: 300;
  color: #6B7280; line-height: 1.75; flex-grow: 1; margin-bottom: 1.75rem;
}
.course-meta {
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.course-meta-item {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 500; color: #6B7280; letter-spacing: 0.04em;
}
.course-meta-icon { color: rgba(0,143,76,0.35); }
.btn-temario {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #008f4c; color: #0A0A0A;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 1.4rem; border-radius: 3px;
  border: none; cursor: pointer; align-self: flex-start;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-temario:hover {
  background: #007040;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,143,76,0.22);
}
.course-modules-preview {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #161616;
}
.course-modules-label {
  font-size: 0.575rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #6B7280; margin-bottom: 0.75rem;
}
.course-module-list { display: flex; flex-direction: column; gap: 0.35rem; }
.course-module-item {
  display: flex; align-items: baseline; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 300; color: #6B7280; line-height: 1.5;
}
.course-module-item::before {
  content: ''; display: block;
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(0,143,76,0.3);
  flex-shrink: 0; margin-top: 0.5em;
}

/* ── Academia: program list rows ── */
.academia-programs-list {
  display: flex; flex-direction: column;
  border-top: 1px solid #161616;
}
.academia-program-row {
  display: flex; align-items: center;
  gap: 1.25rem; padding: 1.1rem 0;
  border-bottom: 1px solid #161616;
  flex-wrap: wrap;
  transition: background 0.2s;
}
.academia-program-row:hover { background: rgba(255,255,255,0.015); }

/* ── Badge hover glow per level ── */
.academia-program-row:hover .level-avanzado {
  color: #fbb03b;
  background: rgba(251,176,59,0.15);
  border-color: rgba(251,176,59,0.45);
  box-shadow: 0 0 10px rgba(251,176,59,0.28), 0 0 0 1px rgba(251,176,59,0.08);
}
.academia-program-row:hover .level-intermedio {
  color: #c8a030;
  background: rgba(180,140,60,0.14);
  border-color: rgba(180,140,60,0.42);
  box-shadow: 0 0 10px rgba(180,140,60,0.22);
}
.academia-program-row:hover .level-fundamentos {
  color: #00c46a;
  background: rgba(0,143,76,0.14);
  border-color: rgba(0,143,76,0.42);
  box-shadow: 0 0 10px rgba(0,143,76,0.22);
}
.academia-program-row:hover .level-experto {
  color: #f03a3a;
  background: rgba(237,28,36,0.12);
  border-color: rgba(237,28,36,0.42);
  box-shadow: 0 0 10px rgba(237,28,36,0.22);
}

/* ── Software hint (aparece en hover) ── */
.program-software-hint {
  font-size: 0.6rem;
  color: #3a7a54;
  letter-spacing: 0.06em;
  font-weight: 400;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.25s;
  margin-top: 0;
  line-height: 1.5;
}
.academia-program-row:hover .program-software-hint {
  max-height: 2.5rem;
  opacity: 1;
  margin-top: 0.3rem;
  color: #4aaa6e;
}

/* ── Intensity widget (reemplaza academia-program-meta) ── */
.program-intensity {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}
.intensity-segs {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}
.intensity-seg {
  width: 4px;
  border-radius: 1px;
  background: #1C1C1C;
  transition: background 0.3s, box-shadow 0.3s;
}
.intensity-seg:nth-child(1) { height: 6px; }
.intensity-seg:nth-child(2) { height: 9px; }
.intensity-seg:nth-child(3) { height: 12px; }
.intensity-seg:nth-child(4) { height: 15px; }
.intensity-seg:nth-child(5) { height: 18px; }
.intensity-seg.lit { background: #2a4a36; }
.academia-program-row:hover .intensity-seg.lit {
  background: #008f4c;
  box-shadow: 0 0 5px rgba(0,143,76,0.45);
}
.intensity-hours {
  font-size: 0.6rem;
  font-weight: 500;
  color: #3D3D3D;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.academia-program-row:hover .intensity-hours { color: #6B7280; }
.academia-program-info {
  display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 0;
}
.academia-program-name {
  font-size: 0.875rem; font-weight: 500;
  color: #CFCFCF; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.academia-program-meta {
  font-size: 0.65rem; font-weight: 400;
  color: #3D3D3D; letter-spacing: 0.08em;
  white-space: nowrap; flex-shrink: 0;
}

/* ══════════════════════════════
   CONTACTO
══════════════════════════════ */
.contact-section {
  background: #050505;
  padding: 12rem 0 12rem;
  position: relative;
  overflow: hidden;
}
/* Glow ambiental izquierda */
.contact-section::before {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse 65% 55% at 10% 90%, rgba(0,143,76,0.035) 0%, transparent 70%);
  pointer-events: none;
}

/* Línea divisora entre ítems de contacto */
.contact-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1C1C1C 0%, rgba(28,28,28,0.3) 100%);
}

/* Ítem de contacto grande */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.75rem 0;
  gap: 2rem;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  background-image: linear-gradient(to right, #008f4c, rgba(0,143,76,0.2));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s cubic-bezier(0.4,0,0.2,1);
}
.contact-item:hover {
  background-size: 100% 1px;
}

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.contact-item:hover .contact-item-label { color: rgba(0,143,76,0.75); }

.contact-item-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #E8E8E8;
  line-height: 1;
  transition: color 0.3s ease;
}
.contact-item:hover .contact-item-value { color: #ffffff; }

/* Flecha indicador */
.contact-arrow {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid #1C1C1C;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #4B5563;
  transition: border-color 0.3s ease, color 0.3s ease,
              transform 0.35s cubic-bezier(0.4,0,0.2,1),
              background 0.3s ease;
}
.contact-item:hover .contact-arrow {
  border-color: #008f4c;
  color: #008f4c;
  transform: translate(4px, -4px);
  background: rgba(0,143,76,0.06);
}

/* Bloque dirección */
.contact-address-block {
  border-left: 1px solid #1C1C1C;
  padding-left: 1.75rem;
}
.contact-address-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 0.5rem;
}
.contact-address-text {
  font-size: 0.875rem;
  font-weight: 300;
  color: #9CA3AF;
  line-height: 1.7;
}

/* Badge WhatsApp */
.contact-wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0,143,76,0.08);
  border: 1px solid rgba(0,143,76,0.2);
  color: rgba(0,143,76,0.75);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-top: 0.6rem;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
/* ══════════════════════════════
   FOOTER — Point Innovation style
══════════════════════════════ */
.site-footer {
  background: #050505;
  border-top: 1px solid #008f4c;
  position: relative;
  overflow: visible;  /* permite que el Penrose sobresalga hacia arriba */
}

/* ── Isotipo fondo sección contacto — efecto spark ── */
#contact-isotipo {
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: min(72vw, 680px);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  overflow: visible;
  opacity: 0;
}

.iso-base {
  fill: none;
  stroke-width: 50;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.iso-base-gold  { stroke: rgba(212,160,23,0.13); }
.iso-base-green { stroke: rgba(0,155,85,0.13); }
.iso-base-red   { stroke: rgba(210,30,45,0.13); }

.iso-spark {
  fill: none;
  stroke-width: 60;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 700 38000;
  stroke-dashoffset: 0;
}
.iso-spark-gold  {
  stroke: rgba(212,160,23,0.55);
  filter: url(#iso-glow-gold);
  animation: isoSparkGold  20s linear infinite;
}
.iso-spark-green {
  stroke: rgba(0,155,85,0.55);
  filter: url(#iso-glow-green);
  animation: isoSparkGreen 24s linear infinite 7s;
}
.iso-spark-red   {
  stroke: rgba(210,30,45,0.55);
  filter: url(#iso-glow-red);
  animation: isoSparkRed   22s linear infinite 14s;
}
@keyframes isoSparkGold  { to { stroke-dashoffset: -38700; } }
@keyframes isoSparkGreen { to { stroke-dashoffset: -38700; } }
@keyframes isoSparkRed   { to { stroke-dashoffset: -38700; } }

/* Footer isotipo sobre la cuadrícula */
.footer-pi-isotipo-wrap {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 1.75rem;
}

/* Footer tres columnas */
.footer-pi-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .footer-pi-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}

.footer-pi-col { display: flex; flex-direction: column; }
.footer-pi-left  { align-items: flex-start; }
.footer-pi-center { align-items: center; }
.footer-pi-right  { align-items: flex-end; justify-content: space-between; }

.footer-pi-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #CCCCCC;
}
.footer-pi-sub {
  font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #4B4B4B; margin-top: 0.2rem;
}
.footer-pi-info {
  font-size: 0.82rem; font-weight: 300;
  color: #6B7280; text-decoration: none;
  transition: color 0.2s ease;
}
.footer-pi-info:hover { color: #9CA3AF; }

.footer-pi-nav {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #5A5A6A; text-decoration: none;
  transition: color 0.2s ease;
}
.footer-pi-nav:hover { color: #E8E8E8; }

/* ── Las clases antiguas del footer (kept for footer-bottom-bar, footer-copy) ── */

.footer-logo-text {
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: 0.22em; color: #CCCCCC;
  text-transform: uppercase; display: block; margin-bottom: 0.2rem;
}
.footer-logo-sub {
  font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.25em; color: #6B7280;
  display: block; margin-bottom: 1.4rem;
}
.footer-tagline {
  font-size: 0.875rem; font-weight: 300;
  color: #9CA3AF; line-height: 1.85;
  max-width: 21rem; margin-bottom: 2rem;
}
.footer-socials { display: flex; gap: 0.6rem; }
.social-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: #ffffff;
  color: #111111;
  transition: color 0.22s, background 0.22s, transform 0.22s;
}
.social-btn:hover { background: #E0E0E0; color: #008f4c; transform: translateY(-2px); }
.social-btn:focus-visible { outline: 1.5px solid #008f4c; outline-offset: 2px; }

.footer-col-heading {
  font-size: 0.595rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(0,143,76,0.65);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.footer-col-heading::after {
  content: ''; flex: 1; height: 1px; background: #111;
}
.footer-nav-link {
  display: block; font-size: 0.875rem;
  font-weight: 300; color: #6B7280;
  padding: 0.3rem 0;
  transition: color 0.2s, padding-left 0.25s;
}
.footer-nav-link:hover { color: #707070; padding-left: 0.35rem; }

.footer-contact-row {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem;
}
.footer-contact-icon { color: #008f4c; opacity: 0.45; flex-shrink: 0; margin-top: 2px; }
.footer-contact-text {
  font-size: 0.875rem; font-weight: 300;
  color: #9CA3AF; line-height: 1.65;
}
.footer-contact-text a { transition: color 0.2s; }
.footer-contact-text a:hover { color: #707070; }

.footer-bottom-bar {
  border-top: 1px solid #0F0F0F; padding: 1.5rem 0 2.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-copy { font-size: 0.67rem; color: #3F3F46; letter-spacing: 0.04em; }

/* ══════════════════════════════
   CURSOR PERSONALIZADO
══════════════════════════════ */

/* Ambas capas del cursor comparten base */
.cur-dot,
.cur-ring {
  position: fixed;
  left: 0; top: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;                       /* Invisible hasta primer mousemove  */
  will-change: transform;
  z-index: 10000;
}

/* Punto central — instantáneo, sin lag */
.cur-dot {
  width: 5px;
  height: 5px;
  background: #E8E8E8;
  z-index: 10001;
}

/* Anillo exterior — sigue con micro-lag vía GSAP quickTo */
.cur-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(232,232,232,0.22);
  /* Sólo las propiedades de apariencia con CSS transition; la posición la mueve GSAP */
  transition:
    width        0.45s cubic-bezier(0.4, 0, 0.2, 1),
    height       0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s ease,
    background   0.35s ease;
}

/* Estado hover — sobre imágenes, tarjetas y botones */
.cur-ring.is-hover {
  width: 58px;
  height: 58px;
  background: rgba(0,143,76,0.055);
  border-color: rgba(0,143,76,0.5);
}

/* Estado click — pulso de compresión */
.cur-ring.is-click {
  width: 28px;
  height: 28px;
  background: rgba(0,143,76,0.12);
  border-color: rgba(0,143,76,0.7);
}

/* Ocultar cursor nativo sólo en dispositivos con puntero fino (desktop) */
body.custom-cursor,
body.custom-cursor *,
body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor [role="button"] {
  cursor: none !important;
}

/* ══════════════════════════════
   BOTONES MAGNÉTICOS
══════════════════════════════ */
.btn-primary,
.btn-secondary,
.btn-load-viewer,
.btn-yare {
  will-change: transform;
}

/* ══════════════════════════════
   SERVICIOS OVERVIEW CARDS (Point Innovation style)
══════════════════════════════ */
.services-overview {
  background: #060606;
  padding: 10rem 0 11rem;
  position: relative;
}

/* ── Carrusel infinito ── */
.sov-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
  padding: 2rem 0 3rem;
}
/* Máscaras de desvanecimiento en los bordes */
.sov-carousel::before,
.sov-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.sov-carousel::before {
  left: 0;
  background: linear-gradient(to right, #060606 0%, transparent 100%);
}
.sov-carousel::after {
  right: 0;
  background: linear-gradient(to left, #060606 0%, transparent 100%);
}

.sov-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: sov-scroll 45s linear infinite;
}
/* carrusel siempre activo — sin pausa al hacer hover */

@keyframes sov-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sov-card {
  background: #0D0D0D;
  border: 1px solid #1A1A1A;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  min-width: 310px;
  max-width: 310px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.35s ease, transform 0.38s ease,
              box-shadow 0.38s ease, background 0.35s ease;
}
/* Línea de acento en la parte superior — aparece en hover */
.sov-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, #008f4c, rgba(0,143,76,0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.sov-card:hover::before { transform: scaleX(1); }
.sov-card:hover {
  background: #131313;
  border-color: rgba(0,143,76,0.4);
  transform: translateY(-7px);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.65),
    0 0 0 1px rgba(0,143,76,0.12),
    0 0 40px rgba(0,143,76,0.05) inset;
}
.sov-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(to right, rgba(0,143,76,0.5), transparent);
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.sov-card:hover::after { width: 100%; }

.sov-icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  color: #2E2E2E;
  margin-bottom: 2rem;
  transition: color 0.35s ease, transform 0.35s ease;
}
.sov-card:hover .sov-icon { color: #008f4c; transform: scale(1.12); }

.sov-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: #D0D0D0; letter-spacing: -0.02em;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.sov-card:hover .sov-title { color: #ffffff; }
.sov-desc {
  font-size: 0.85rem; font-weight: 300;
  color: #5A5A6A; line-height: 1.75;
  flex-grow: 1; margin-bottom: 2rem;
  transition: color 0.3s ease;
}
.sov-card:hover .sov-desc { color: #7A7A8A; }
/* ── Cursor direccional en zonas laterales del carrusel ── */
.sov-carousel.sov-zone-prev { cursor: w-resize; }
.sov-carousel.sov-zone-next { cursor: e-resize; }

/* ══════════════════════════════
   SCROLL TO TOP BUTTON
══════════════════════════════ */
#btn-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 49;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(14,14,14,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(232,232,232,0.5);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.2s, color 0.2s;
}
#btn-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#btn-top:hover {
  border-color: rgba(255,255,255,0.18);
  color: rgba(232,232,232,0.9);
}

/* ══════════════════════════════
   PENROSE TRIANGLE — estilos en línea en el HTML (position:fixed)
══════════════════════════════ */

/* ══════════════════════════════
   WHATSAPP CTA FLOTANTE
══════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: rgba(13,13,13,0.88);
  border: 1px solid rgba(0,143,76,0.32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008f4c;
  z-index: 9998;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.45);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, opacity 0.3s ease;
  text-decoration: none;
}
.wa-float:hover {
  border-color: rgba(0,143,76,0.7);
  box-shadow: 0 4px 28px rgba(0,0,0,0.5), 0 0 18px rgba(0,143,76,0.18);
  transform: translateY(-2px);
}
.wa-float.wa-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}
@media (max-width: 640px) {
  .wa-float { bottom: 1.25rem; right: 1.25rem; }
  #btn-top  { bottom: 5.25rem; right: 1.25rem; }
}

/* ══════════════════════════════
   TRUST LOGO BANNER
══════════════════════════════ */
.trust-banner {
  background: #060606;
  padding: 5rem 0 5.5rem;
  border-top: 1px solid rgba(255,255,255,0.028);
  border-bottom: 1px solid rgba(255,255,255,0.028);
  overflow: hidden;
  position: relative;
}

.trust-label {
  text-align: center;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #3A3A3A;
  margin-bottom: 3.25rem;
}

/* Fade de bordes — máscara CSS */
.trust-track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

/* Banda que se desplaza — duplicada para bucle sin corte */
.trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: trust-marquee 36s linear infinite;
  will-change: transform;
}
.trust-track:hover { animation-play-state: paused; }

@keyframes trust-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Cada ítem del carrusel */
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 3.75rem;
  white-space: nowrap;
  cursor: default;
  transition: opacity 0.4s ease;
}

/* Wordmark base */
.trust-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6B7280;
  line-height: 1;
  transition: color 0.3s ease;
}
.trust-item:hover .trust-name { color: #9CA3AF; }

/* Sub-texto de rol de la herramienta */
.trust-role {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2D2D2D;
  transition: color 0.3s ease;
}
.trust-item:hover .trust-role { color: #3F3F46; }

/* Separador entre items */
.trust-sep {
  width: 1px;
  height: 18px;
  background: #1C1C1C;
  flex-shrink: 0;
}

/* ══════════════════════════════
   MOBILE — Mejoras Point Innovation style
══════════════════════════════ */
@media (max-width: 767px) {
  /* Reducir paddings excesivos en móvil */
  .services-section   { padding: 5rem 0 5rem; }
  .services-overview  { padding: 4rem 0 4rem; }
  .projects-section   { padding: 5rem 0 5rem; }
  .immersive-section  { padding: 5rem 0 5rem; }
  .academia-section   { padding: 5rem 0 5rem; }
  .contact-section    { padding: 5rem 0 5rem; }

  /* Hero headline más compacto */
  .hero-headline { font-size: clamp(3rem, 14vw, 5rem); }

  /* Service cards — 1 columna, padding interno reducido */
  .service-card { padding: 2rem 1.5rem 2rem; }
  .sov-card     { padding: 2rem 1.5rem 1.75rem; }

  /* Stat pills: 2 columnas siempre */
  .stat-pill { padding: 1rem 1.2rem; }

  /* Contact items — ocultar arrow en móvil */
  .contact-arrow { display: none; }

  /* Contact value: tamaño móvil */
  .contact-item-value { font-size: clamp(1.5rem, 8vw, 2.2rem); }

  /* Footer: una columna, más compacto */
  .footer-main { padding: 4rem 0 3rem; gap: 2.5rem; }

  /* Social icons: más grandes en táctil */
  .social-btn { width: 42px; height: 42px; }

  /* Isotipo contacto: más pequeño en móvil */
  #contact-isotipo { width: min(95vw, 360px); left: 50%; top: 42%; }

  /* Nav mobile: tamaño de texto más grande */
  #mobile-menu .nav-link { font-size: 1rem; }

  /* Trust banner: texto más pequeño */
  .trust-name { font-size: 0.8rem; }

  /* Sections eyebrow visible */
  .section-eyebrow { margin-bottom: 1.5rem; }

  /* Section title reducido */
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
}

@media (max-width: 479px) {
  /* Hamburger menu: fullwidth */
  #mobile-menu nav { gap: 4rem; padding: 2rem 1.5rem; }

  /* Hero: más espacio vertical */
  .hero-content { padding-top: 7rem; padding-bottom: 6rem; }

  /* SOV grid: todo en 1 columna */
  .sov-grid { gap: 1rem; }
}

/* ══════════════════════════════════════════════
   ACADEMIA NAV DROPDOWN
══════════════════════════════════════════════ */
.nav-dropdown-wrapper {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.8125rem;
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-dropdown-trigger .nav-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-dropdown-wrapper.open .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  min-width: 190px;
  background: rgba(14,14,14,0.97);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-dropdown-wrapper.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  color: #A1A1AA;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(0,143,76,0.1);
  color: #E8E8E8;
}
.nav-dropdown-item svg { opacity: 0.5; flex-shrink: 0; }
.nav-dropdown-item:hover svg { opacity: 1; }

/* ── Mobile accordion ── */
.nav-mobile-group { display: flex; flex-direction: column; }
.nav-mobile-accordion {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  font-family: inherit;
  text-align: left;
}
.nav-mobile-accordion .nav-chevron { transition: transform 0.25s ease; }
.nav-mobile-accordion.open .nav-chevron { transform: rotate(180deg); }
.nav-mobile-sub {
  padding-left: 0.75rem;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-left: 1px solid rgba(0,143,76,0.25);
  margin-left: 0.25rem;
}
.nav-mobile-sub-link {
  color: #6B7280;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.1rem 0;
}
.nav-mobile-sub-link:hover { color: #E8E8E8; }

/* ══════════════════════════════════════════════
   BLOGS TÉCNICOS — CAROUSEL
══════════════════════════════════════════════ */
.blog-section {
  padding: 7rem 0;
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}
.blog-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,143,76,0.3), transparent);
}
.blog-carousel-outer {
  position: relative;
}
.blog-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
  cursor: grab;
}
.blog-carousel-track:active { cursor: grabbing; }
.blog-carousel-track::-webkit-scrollbar { display: none; }
.blog-card {
  flex: 0 0 clamp(270px, 320px, 360px);
  scroll-snap-align: start;
  background: #111;
  border: 1px solid #1C1C1C;
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.blog-card:hover {
  border-color: rgba(0,143,76,0.35);
  transform: translateY(-4px);
}
.blog-card-thumb {
  width: 100%;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0D0D;
  border-bottom: 1px solid #1C1C1C;
  overflow: hidden;
}
.blog-card-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #008f4c;
  background: rgba(0,143,76,0.08);
  border: 1px solid rgba(0,143,76,0.2);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.8rem;
  width: fit-content;
}
.blog-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #E8E8E8;
  margin-bottom: 0.5rem;
}
.blog-card-desc {
  font-size: 0.8125rem;
  color: #6B7280;
  line-height: 1.6;
  flex: 1;
}
.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #008f4c;
  margin-top: 1.1rem;
  transition: gap 0.2s;
}
.blog-card:hover .blog-card-cta { gap: 0.65rem; }
.blog-carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.blog-carousel-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid #1C1C1C;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #A1A1AA;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.blog-carousel-btn:hover {
  border-color: rgba(0,143,76,0.4);
  color: #E8E8E8;
  background: rgba(0,143,76,0.07);
}
.blog-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 640px) {
  .blog-card { flex: 0 0 82vw; }
}

/* ══════════════════════════════════════════════
   THEME TOGGLE BUTTON
══════════════════════════════════════════════ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #6B7280;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s ease, transform 0.4s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { color: #E8E8E8; transform: rotate(18deg); }
.theme-toggle:focus-visible { outline: 1.5px solid #008f4c; outline-offset: 3px; border-radius: 2px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }

/* ══════════════════════════════════════════════
   LIGHT MODE — [data-theme="light"] overrides
══════════════════════════════════════════════ */
html[data-theme="light"] { background: #F5F5F5; }
html[data-theme="light"] body { background: #F5F5F5; color: #111111; }

/* Toggle icon swap */
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="light"] .theme-toggle { color: #4B5563; }
html[data-theme="light"] .theme-toggle:hover { color: #111111; transform: rotate(-18deg); }

/* Tailwind utility overrides */
html[data-theme="light"] .text-antorr-text { color: #111111; }
html[data-theme="light"] .text-antorr-sub  { color: #4B5563; }
html[data-theme="light"] .border-antorr-border { border-color: #E0E0E0; }

/* Preserve hero text (sits on dark video overlay) */
html[data-theme="light"] .hero-section .text-antorr-text { color: #E8E8E8; }
html[data-theme="light"] .hero-section .text-antorr-sub  { color: #A1A1AA; }
html[data-theme="light"] .hero-section .border-antorr-border { border-color: #1C1C1C; }
html[data-theme="light"] .hero-section .stat-pill {
  border-color: #1C1C1C;
  background: rgba(17,17,17,0.7);
}

/* Nav */
html[data-theme="light"] .nav-glass {
  background: rgba(245,245,245,0.88);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
html[data-theme="light"] .nav-link { color: #4B5563; }
html[data-theme="light"] .nav-link:hover { color: #111111; }
html[data-theme="light"] #mobile-menu { background: rgba(245,245,245,0.97); }
html[data-theme="light"] .nav-dropdown-menu {
  background: rgba(245,245,245,0.98);
  border-color: rgba(0,0,0,0.09);
}
html[data-theme="light"] .nav-dropdown-item { color: #4B5563; }
html[data-theme="light"] .nav-dropdown-item:hover { color: #111111; background: rgba(0,143,76,0.07); }
html[data-theme="light"] .nav-mobile-sub-link { color: #4B5563; }
html[data-theme="light"] .nav-mobile-sub-link:hover { color: #111111; }

/* Trust banner */
html[data-theme="light"] .trust-banner { background: #EEEEEE; border-color: rgba(0,0,0,0.05); }
html[data-theme="light"] .trust-label { color: #BBBBBB; }
html[data-theme="light"] .trust-name { color: #374151; }
html[data-theme="light"] .trust-role { color: #9CA3AF; }
html[data-theme="light"] .trust-sep { background: #D1D5DB; }

/* Services overview carousel */
html[data-theme="light"] .services-overview { background: #EFEFEF; }
html[data-theme="light"] .sov-carousel::before { background: linear-gradient(to right, #EFEFEF 0%, transparent 100%); }
html[data-theme="light"] .sov-carousel::after  { background: linear-gradient(to left,  #EFEFEF 0%, transparent 100%); }
html[data-theme="light"] .sov-card { background: #FFFFFF; border-color: #E0E0E0; }
html[data-theme="light"] .sov-card:hover {
  background: #F8F8F8;
  box-shadow: 0 28px 60px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,143,76,0.12), 0 0 40px rgba(0,143,76,0.04) inset;
}
html[data-theme="light"] .sov-icon { color: #C8C8C8; }
html[data-theme="light"] .sov-title { color: #1A1A1A; }
html[data-theme="light"] .sov-card:hover .sov-title { color: #000000; }
html[data-theme="light"] .sov-desc { color: #6B7280; }
html[data-theme="light"] .sov-card:hover .sov-desc { color: #4B5563; }

/* Services section */
html[data-theme="light"] .services-section { background: #F5F5F5; }
html[data-theme="light"] .section-title { color: #111111; }
html[data-theme="light"] .section-subtitle { color: #4B5563; }
html[data-theme="light"] .section-eyebrow span { color: #6B7280; }
html[data-theme="light"] .services-divider {
  background: linear-gradient(to right, transparent, #D1D5DB 20%, #D1D5DB 80%, transparent);
}
html[data-theme="light"] .service-card { background: #FFFFFF; }
html[data-theme="light"] .service-card:hover { background: #F8F8F8; box-shadow: 0 32px 64px rgba(0,0,0,0.08); }
html[data-theme="light"] .service-num { color: #C0C0C0; }
html[data-theme="light"] .service-title { color: #111111; }
html[data-theme="light"] .service-desc { color: #6B7280; }
html[data-theme="light"] .service-icon-wrap { color: #C8C8C8; }
html[data-theme="light"] .service-link { color: #9CA3AF; }

/* Tabs */
html[data-theme="light"] .services-tabs-nav { border-bottom-color: rgba(0,0,0,0.07); }
html[data-theme="light"] .tab-btn { color: #9CA3AF; }
html[data-theme="light"] .tab-btn:hover { color: #6B7280; }
html[data-theme="light"] .tab-btn.active { color: #111111; }
html[data-theme="light"] .tab-sub-item { background: rgba(0,0,0,0.03); }
html[data-theme="light"] .tab-sub-item:hover { background: rgba(0,0,0,0.055); box-shadow: inset 0 0 0 1px rgba(0,143,76,0.12); }
html[data-theme="light"] .tab-sub-icon { color: #C8C8C8; }
html[data-theme="light"] .tab-sub-title { color: #1A1A1A; }
html[data-theme="light"] .tab-sub-desc { color: #6B7280; }

/* Why section */
html[data-theme="light"] .why-section { background: #F0F0F0; }
html[data-theme="light"] .why-grid { border-color: #E0E0E0; }
html[data-theme="light"] .why-card { background: #FAFAFA; border-right-color: #E0E0E0; border-bottom-color: #E0E0E0; }
html[data-theme="light"] .why-card:hover { background: #F3F3F3; }
html[data-theme="light"] .why-title { color: #111111; }
html[data-theme="light"] .why-desc { color: #6B7280; }

/* Projects section */
html[data-theme="light"] .projects-section { background: #F5F5F5; }

/* Immersive section */
html[data-theme="light"] .immersive-section { background: #F0F0F0; }
html[data-theme="light"] .imm-card { background: #FAFAFA; border-right-color: #E0E0E0; }
html[data-theme="light"] .imm-card-titlebar { background: rgba(240,240,240,0.98); border-bottom-color: #E0E0E0; }
html[data-theme="light"] .imm-card-label { color: #9CA3AF; }
html[data-theme="light"] .viewer-dot { background: #D0D0D0; }
html[data-theme="light"] .imm-cover {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,143,76,0.03) 0%, transparent 70%), #F4F4F4;
}
html[data-theme="light"] .imm-cover-icon { color: #D0D0D0; }
html[data-theme="light"] .imm-cover-label { color: #9CA3AF; }
html[data-theme="light"] .imm-no-src { color: #C0C0C0; }
html[data-theme="light"] .imm-card-footer { background: rgba(248,248,248,0.98); border-top-color: #E0E0E0; }
html[data-theme="light"] .imm-arrow { background: rgba(240,240,240,0.92); border-color: #D0D0D0; color: #9CA3AF; }
html[data-theme="light"] .imm-dot { background: rgba(0,0,0,0.1); }
html[data-theme="light"] .imm-loader { background: #F4F4F4; }
html[data-theme="light"] .imm-cta-note { color: #AAAAAA; }
html[data-theme="light"] .imm-cta-btn { color: #111111; }
html[data-theme="light"] .viewer-status { color: rgba(0,143,76,0.5); }

/* Academia section */
html[data-theme="light"] .academia-section { background: #F5F5F5; }
html[data-theme="light"] .academia-stat-num { color: #111111; }
html[data-theme="light"] .academia-stat-label { color: #9CA3AF; }
html[data-theme="light"] .course-card { background: #FFFFFF; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
html[data-theme="light"] .course-card:hover { background: #F8F8F8; box-shadow: 0 8px 32px rgba(0,0,0,0.09); }
html[data-theme="light"] .course-title { color: #111111; }
html[data-theme="light"] .course-desc { color: #6B7280; }
html[data-theme="light"] .course-meta-item { color: #6B7280; }
html[data-theme="light"] .course-modules-preview { border-top-color: #E0E0E0; }
html[data-theme="light"] .course-modules-label { color: #9CA3AF; }
html[data-theme="light"] .course-module-item { color: #6B7280; }
html[data-theme="light"] .academia-programs-list { border-top-color: #E0E0E0; }
html[data-theme="light"] .academia-program-row { border-bottom-color: #E0E0E0; }
html[data-theme="light"] .academia-program-row:hover { background: rgba(0,0,0,0.02); }
html[data-theme="light"] .academia-program-name { color: #1A1A1A; }
html[data-theme="light"] .academia-program-meta { color: #C0C0C0; }
html[data-theme="light"] .intensity-seg { background: #E0E0E0; }
html[data-theme="light"] .intensity-seg.lit { background: #b4d4c3; }
html[data-theme="light"] .academia-program-row:hover .intensity-seg.lit { background: #008f4c; }
html[data-theme="light"] .intensity-hours { color: #C8C8C8; }
html[data-theme="light"] .academia-program-row:hover .intensity-hours { color: #6B7280; }

/* Blog section */
html[data-theme="light"] .blog-section { background: #F5F5F5; }
html[data-theme="light"] .blog-card { background: #FFFFFF; border-color: #E0E0E0; }
html[data-theme="light"] .blog-card:hover { border-color: rgba(0,143,76,0.35); }
html[data-theme="light"] .blog-card-thumb { background: #F0F0F0; border-bottom-color: #E0E0E0; }
html[data-theme="light"] .blog-card-title { color: #111111; }
html[data-theme="light"] .blog-card-desc { color: #6B7280; }
html[data-theme="light"] .blog-carousel-btn { background: #FFFFFF; border-color: #E0E0E0; color: #6B7280; }
html[data-theme="light"] .blog-carousel-btn:hover { background: rgba(0,143,76,0.05); border-color: rgba(0,143,76,0.4); color: #111111; }

/* Modal */
html[data-theme="light"] .modal-backdrop { background: rgba(180,180,180,0.72); }
html[data-theme="light"] .modal-box {
  background: #FFFFFF;
  border-color: #E0E0E0;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,143,76,0.08);
}
html[data-theme="light"] .modal-close-btn { color: #C0C0C0; border-color: #E0E0E0; }
html[data-theme="light"] .modal-close-btn:hover { color: #111111; border-color: #C0C0C0; background: rgba(0,0,0,0.03); }
html[data-theme="light"] .modal-tag { border-color: #E0E0E0; color: #6B7280; }
html[data-theme="light"] .modal-proj-title { color: #111111; }
html[data-theme="light"] .modal-desc { color: #4B5563; }
html[data-theme="light"] .modal-year { color: rgba(0,0,0,0.35); }
html[data-theme="light"] .modal-content-panel::-webkit-scrollbar-thumb { background: #D0D0D0; }

/* Contact section */
html[data-theme="light"] .contact-section { background: #F5F5F5; }
html[data-theme="light"] .contact-divider { background: linear-gradient(to right, #E0E0E0 0%, rgba(224,224,224,0.3) 100%); }
html[data-theme="light"] .contact-item-label { color: #6B7280; }
html[data-theme="light"] .contact-item-value { color: #111111; }
html[data-theme="light"] .contact-item:hover .contact-item-value { color: #000000; }
html[data-theme="light"] .contact-arrow { border-color: #E0E0E0; color: #9CA3AF; }
html[data-theme="light"] .contact-address-block { border-left-color: #E0E0E0; }
html[data-theme="light"] .contact-address-label { color: #9CA3AF; }
html[data-theme="light"] .contact-address-text { color: #4B5563; }

/* Footer */
html[data-theme="light"] .site-footer { background: #EEEEEE; }
html[data-theme="light"] .footer-bottom-bar { border-top-color: #E0E0E0; }
html[data-theme="light"] .footer-copy { color: #AAAAAA; }
html[data-theme="light"] .footer-pi-brand { color: #111111; }
html[data-theme="light"] .footer-pi-sub { color: #AAAAAA; }
html[data-theme="light"] .footer-pi-info { color: #6B7280; }
html[data-theme="light"] .footer-pi-info:hover { color: #4B5563; }
html[data-theme="light"] .footer-pi-nav { color: #6B7280; }
html[data-theme="light"] .footer-pi-nav:hover { color: #111111; }
html[data-theme="light"] .footer-col-heading { color: rgba(0,143,76,0.7); }
html[data-theme="light"] .footer-col-heading::after { background: #E0E0E0; }
html[data-theme="light"] .footer-nav-link { color: #6B7280; }
html[data-theme="light"] .footer-nav-link:hover { color: #4B5563; }
html[data-theme="light"] .footer-logo-text { color: #111111; }
html[data-theme="light"] .footer-logo-sub { color: #AAAAAA; }
html[data-theme="light"] .footer-tagline { color: #6B7280; }
html[data-theme="light"] .footer-contact-text { color: #6B7280; }
html[data-theme="light"] .footer-contact-text a:hover { color: #4B5563; }
html[data-theme="light"] .social-btn { background: #DDDDDD; color: #111111; }
html[data-theme="light"] .social-btn:hover { background: #C8C8C8; color: #008f4c; }

/* Scroll to top */
html[data-theme="light"] #btn-top {
  background: rgba(240,240,240,0.9);
  border-color: rgba(0,0,0,0.1);
  color: rgba(17,17,17,0.5);
}
html[data-theme="light"] #btn-top:hover {
  border-color: rgba(0,0,0,0.2);
  color: rgba(17,17,17,0.85);
}

/* WA float */
html[data-theme="light"] .wa-float {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Cursor */
html[data-theme="light"] .cur-dot { background: #111111; }
html[data-theme="light"] .cur-ring { border-color: rgba(17,17,17,0.18); }
