:root {
  --bg: #0b1020; /* azul marino oscuro */
  --text: #fff;
  --muted: rgba(255,255,255,.72);
  --stroke: rgba(255,255,255,.18);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}


/* =========================
   DESKTOP NAV
========================= */

.desktop-nav {
  display: flex;
}

.desktop-nav ul {
  display: flex;
  gap: 2.4rem;

  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-nav a {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--text);
  position: relative;

  transition: color .25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0%;
  height: 1px;
  background: var(--gold);

  transition: width .3s ease;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition: transform .4s cubic-bezier(.22,1,.36,1);
}

.site-header.hide {
  transform: translateY(-100%);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
    margin-right: auto;
  }
}

@media (min-width: 901px) {
  .burger {
    display: none;
  }
}



/* =========================
   HEADER / BURGER MENU
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition: transform .4s cubic-bezier(.22,1,.36,1);
}

/* Header hide on scroll */
.site-header.hide {
  transform: translateY(-100%);
}

/* Header inner */

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 6vw;

  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Logo */

.logo {
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text);
}

/* =========================
   BURGER BUTTON
========================= */

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;

  background: none;
  border: none;
  padding: 0;

  cursor: pointer;
  z-index: 1100; /* 🔥 siempre encima */
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--text);

  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    opacity .25s ease;
}

/* Burger active animation */

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   MOBILE MENU OVERLAY
========================= */

.mobile-menu {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity .4s ease;
  z-index: 900;
}

/* Active state */

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

/* Menu list */

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li {
  margin: 1.75rem 0;
}

/* Menu links */

.mobile-menu a {
  font-size: 20px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--text);
  transition: color .25s ease;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* =========================
   ONLY MOBILE
========================= */

@media (max-width: 900px) {
  .burger {
    display: flex;
  }
}



/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(
    1200px 800px at 20% 50%,
    #0f1733 0%,
    #070b17 55%,
    #000 100%
  );
}

.hero-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 4rem;
}

/* TEXTO IZQUIERDA */

.hero-text {
  max-width: 520px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 16px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-text h1 {
  margin: 0 0 1rem;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-text p {
  max-width: 46ch;
  margin-bottom: 2rem;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* CTA */

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 12px 18px;
  border: 1px solid var(--stroke);
  text-decoration: none;
  color: var(--text);

  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;

  transition: all .2s ease;
}

.hero-cta:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-1px);
}

.hero-cta span {
  font-size: 14px;
}

/* VISUAL DERECHA */

.hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-visual {
  position: relative;
  overflow: visible;
}

.hero-visual img {
  width: 110%;
  max-width: 900px;
  margin-left: 12%;
  display: block;

  filter: saturate(1.1) contrast(1.05);
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7,11,23,1) 0%,
    rgba(7,11,23,.85) 20%,
    rgba(7,11,23,.35) 45%,
    rgba(7,11,23,0) 70%
  );
  pointer-events: none;
}

/* =========================
   HERO VIDEO
========================= */

/* Contenedor del media */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

/* Media base (video o imagen) */
.hero-visual > video,
.hero-visual > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  pointer-events: none;
}

/* =========================
   VIDEO ESPECÍFICO
========================= */

.hero-video {
  width: 120%;
  height: 100%;
  margin-left: -10%;

  filter: 
    saturate(1.05)
    contrast(1.05)
    brightness(0.95);

  transform: translateZ(0);
  will-change: transform;
}

/* =========================
   OVERLAY / FADE
========================= */

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(7,11,23,1) 0%,
    rgba(7,11,23,.8) 22%,
    rgba(7,11,23,.35) 48%,
    rgba(7,11,23,0) 72%
  );

  pointer-events: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .hero-visual {
    height: 260px;
    order: -1;
  }

  .hero-video {
    width: 100%;
    margin-left: 0;
  }

  .hero-visual::after {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.15) 0%,
      rgba(0,0,0,.6) 100%
    );
  }
}

/* =========================
   ACCESIBILIDAD
========================= */

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}


/* MOBILE */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .hero-visual img {
    max-width: 420px;
  }

  .hero-text {
    max-width: none;
  }
}
.hero-text > * {
  will-change: transform, opacity;
}

.hero-visual img {
  will-change: transform;
}




/* =========================
   ABOUT / CONÓCENOS
========================= */

.about {
  padding: 8rem 0;
  background: radial-gradient( 1200px 800px at 20% 50%, #0f1733 0%, #070b17 55%, #000 100% );
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 6rem;
}

/* VISUAL */

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGEN DESKTOP */

.about-visual img {
  width: 180%;
  max-width: 620px;
  display: block;

  margin-left: -15%; /* más centrada que antes */
  
  filter: contrast(1.05) saturate(1.05);

  position: relative; /* ❌ ya no sticky */
  top: auto;
  transform: none;
  will-change: auto;
}

/* TEXTO */

.about-content {
  max-width: 480px;
}

.about-content h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-intro {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* TABS */

.about-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-tabs .tab {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);

  position: relative;
}

.about-tabs .tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: var(--text);
  transition: width .25s ease;
}

.about-tabs .tab.active {
  color: var(--text);
}

.about-tabs .tab.active::after {
  width: 100%;
}

/* CTA */

.about-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;

  border: 1px solid var(--stroke);
  color: var(--text);
  text-decoration: none;

  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;

  transition: all .2s ease;
}

.about-cta:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-1px);
}


:root {
  --gold: #c9a24d;
}

/* TAB HOVER + ACTIVE */

.about-tabs .tab {
  position: relative;
  transition: color .25s ease;
}

.about-tabs .tab:hover {
  color: var(--gold);
}

.about-tabs .tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .25s ease;
}

.about-tabs .tab:hover::after,
.about-tabs .tab.active::after {
  width: 100%;
}

/* TEXTO DINÁMICO */

.about-dynamic-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

/* IMAGEN ABOUT */

.about-visual img {
  transition: transform .8s ease, filter .8s ease;
}

.about-visual img:hover {
  transform: scale(1.02);
  filter: saturate(1.15);
}

/* MOBILE */

@media (max-width: 900px) {
  .about {
    padding: 6rem 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-visual {
    justify-content: center;
  }

  .about-visual img {
    width: 100%;
    max-width: 420px;
    margin-left: 0; /* 🔥 centra bien en mobile */
  }

  .about-content {
    max-width: none;
  }
}



/* =========================
   MODALIDADES SCROLL
========================= */

.modalidades-scroll {
  background: radial-gradient(
    1200px 800px at 20% 50%,
    #0f1733 0%,
    #070b17 55%,
    #000 100%
  );
  padding: 10rem 0;
  overflow: hidden;
}

.modalidades-title{
    background:
    radial-gradient(
      800px 300px at 50% 40%,
      rgba(201, 162, 77, 0.12),
      rgba(201, 162, 77, 0.04),
      transparent 70%
    ),
    radial-gradient(
      1200px 800px at 20% 50%,
      #0f1733 0%,
      #070b17 55%,
      #000 100%
    );

}

/* TÍTULO */

.modalidades-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;

  color: #fff;
  position: relative;
  z-index: 1;
}

.modalidades-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 1.25rem auto 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 162, 77, 0.85),
    transparent
  );
}

  

.modalidades-track {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;

  display: flex;
  flex-direction: column;
  gap: 12rem;
}

/* ITEM */

.modalidad-item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  min-height: 420px;
}

/* TEXTO */

.modalidad-content {
  position: relative;
  max-width: 460px;
  z-index: 2;
}

.modalidad-item.left .modalidad-content {
  grid-column: 1 / span 5;
}

.modalidad-item.right .modalidad-content {
  grid-column: 7 / span 5; /* FIX: antes era 8 */
}

/* TEXTO */

.modalidad-content h3 {
  margin: 0 0 1rem;
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}

.modalidad-content p {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

/* CTA */

.modalidad-cta {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid var(--stroke);
  color: var(--text);
  text-decoration: none;

  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;

  transition: all .25s ease;
}

.modalidad-cta:hover {
  border-color: rgba(201,162,77,.6);
  color: #c9a24d;
}

/* =========================
   MODALIDADES TITLE
========================= */

.modalidades-title {
  background: #000;
  padding: 8rem 6vw 2rem;
}

.modalidades-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}


/* IMAGEN */

.modalidad-content img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 40vw, 620px);
  opacity: .95;
  pointer-events: none;
}

/* Imagen derecha */
.modalidad-item.left .modalidad-content img {
  left: 110%;
}

/* Imagen izquierda */
.modalidad-item.right .modalidad-content img {
  right: 110%;
}

/* MOBILE */

@media (max-width: 900px) {
  .modalidades-track {
    gap: 6rem;
  }

  .modalidad-item {
    grid-template-columns: 1fr;
  }

  .modalidad-content {
    max-width: none;
  }

  .modalidad-content img {
    position: static;        /* 🔥 no relative */
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;

    display: block;
    margin: 2.5rem auto 0;  /* espacio natural */
    opacity: 1;
  }
}


/* =========================
   NOVA TRANSITION
========================= */

.nova-transition {
  background: #000;
  padding: 0 0 8rem;
}

/* IMAGEN */

.nova-transition-image {
  width: 100%;
  overflow: hidden;
}

.nova-transition-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;

  /* leve atmósfera */
  filter: contrast(1.05) saturate(1.05);
}

/* TEXTO */

.nova-transition-content {
  max-width: 720px;
  margin: 5rem auto 0;
  padding: 0 6vw;
  text-align: center;
}

.nova-transition-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.nova-transition-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5rem;
}




/* =========================
   CURSOS
========================= */

.cursos {
  padding: 10rem 0 8rem;
}

.cursos-header {
  max-width: 680px;
  margin: 0 auto 5rem;
  text-align: center;
}

.cursos-header h2 {
  font-size: 22px;
  letter-spacing: .4em;
  margin-bottom: 1.5rem;
}

.cursos-header p {
  font-size: 15.5px;
  color: rgba(255,255,255,.75);
}

/* =========================
   WRAPPER
========================= */

.cursos-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;

  display: flex;
  align-items: center;
}

/* =========================
   TRACK
========================= */

.cursos-track {
  display: flex;
  gap: 2.5rem;

  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch;
}

.cursos-track::-webkit-scrollbar {
  display: none;
}

/* =========================
   CARD BASE
========================= */

.curso-card {
  flex: 0 0 calc(50% - 1.25rem); /* Desktop: 2 cards */

  padding: 2.75rem 2.25rem;
  border-radius: 26px;

  background: rgba(255,255,255,.025);
  border: 1px solid rgba(201,162,77,.4);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    transform .4s ease,
    opacity .4s ease;
}

.curso-card h3 {
  margin-bottom: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.curso-card span {
  font-size: 12px;
  opacity: .7;
  letter-spacing: .12em;
}

.curso-card p {
  margin-top: 1rem;
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================
   CTA
========================= */

.modalidad-cta {
  margin-top: 1.5rem;
  display: inline-block;

  padding: 10px 20px;
  border-radius: 999px;

  border: 1px solid rgba(201,162,77,.55);
  color: var(--gold);

  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}

/* =========================
   ARROWS
========================= */

.cursos-arrow {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  background: none;
  border-radius: 50%;
  border: 1px solid rgba(201,162,77,.55);

  color: var(--gold);
  cursor: pointer;

  transition: background .25s ease;
}

.cursos-arrow:hover {
  background: rgba(201,162,77,.08);
}

.cursos-arrow.prev {
  margin-right: 1.5rem;
}

.cursos-arrow.next {
  margin-left: 1.5rem;
}

/* =========================
   MOBILE (SNAP + SUAVIDAD)
========================= */

@media (max-width: 900px) {

  .cursos-track {
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 6vw;
  }

  .curso-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .cursos-arrow {
    width: 38px;
    height: 38px;
  }
}

/* =========================
   DESKTOP (SIN SNAP)
========================= */

@media (min-width: 901px) {
  .cursos-track {
    scroll-snap-type: none;
  }
}

/* =========================
   CONTACTO – NOVA AETHEREUM
========================= */

.contacto {
  position: relative;
  padding: 8rem 6vw;
  overflow: hidden;
  background: #000;
}

/* =========================
   BACKGROUND IMAGE
========================= */

.contacto-bg {
  position: absolute;
  inset: 0;

  background-image: url("../img/space.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 1;
}

/* =========================
   MASK + BLUR (CONTROLADO)
========================= */

.contacto-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  z-index: 2;
}

/* =========================
   CONTENT WRAPPER
========================= */

.contacto-content {
  position: relative;
  z-index: 3;

  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* =========================
   TEXT SIDE
========================= */

.contacto-text h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}

.contacto-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* =========================
   WHATSAPP BUTTON
========================= */

.contacto-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 22px;
  border: 1px solid rgba(201, 162, 77, 0.6);
  color: var(--text);
  text-decoration: none;

  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    border-color .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.contacto-cta:hover {
  border-color: rgba(201, 162, 77, 0.9);
  color: #c9a24d;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.4);
}

/* =========================
   MAP CARD
========================= */

.contacto-map {
  width: 100%;
  height: 420px;

  border-radius: 22px;
  overflow: hidden;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201, 162, 77, 0.35);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.contacto-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(.9);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .contacto {
    padding: 6rem 6vw;
  }

  .contacto-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-right: 0;
    padding-left: 0;
  }

  .contacto-map {
    height: 320px;
  }

  .contacto-overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .contacto {
    padding: 6rem 0;
  }

  .contacto-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contacto-map iframe {
    height: 300px;
  }

  .contacto-orbit {
    top: -18px;
    right: -18px;
    width: 56px;
    height: 56px;
  }
}


/* =========================
   FOOTER
========================= */

.site-footer {
  background: radial-gradient( 1200px 800px at 20% 50%, #0f1733 0%, #070b17 55%, #000 100% );
  border-top: 1px solid rgba(201,162,77,.15);
  padding: 5rem 0 2.5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
}

/* Brand */

.footer-brand h3 {
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 320px;
}

/* Info */

.footer-info h4,
.footer-social h4 {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info li {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: .75rem;
}

/* Social */

.social-icons {
  display: flex;
  gap: 1.25rem;
}

.social-icons a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid rgba(201,162,77,.35);

  color: var(--text);
  text-decoration: none;

  font-size: 14px;
  transition: 
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

.social-icons a:hover {
  border-color: rgba(201,162,77,.8);
  box-shadow: 0 0 18px rgba(201,162,77,.35);
  transform: translateY(-2px);
}

/* Footer bottom */

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);

  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .social-icons {
    justify-content: center;
  }
}

/* =========================
   SCROLL ANIMATIONS – NOVA
========================= */

.animate {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s cubic-bezier(.22,1,.36,1),
    transform .9s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes suaves */
.animate.delay-1 { transition-delay: .15s; }
.animate.delay-2 { transition-delay: .3s; }
.animate.delay-3 { transition-delay: .45s; }

.about-text-wrapper {
  min-height: 160px; /* ajusta si quieres más aire */
  transition: min-height .3s ease;
}

@media (max-width: 900px) {

  /* CONTENEDOR GENERAL */
  .contacto-content {
    text-align: center;
    justify-items: center;
  }

  /* TEXTO */
  .contacto-text {
    max-width: 520px;        /* como About */
    margin: 0 auto;
    padding: 0 1.25rem;     /* aire lateral */
  }

  .contacto-text h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .contacto-text p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA */
  .contacto-cta {
    margin-left: auto;
    margin-right: auto;
  }

  /* MAPA */
  .contacto-map {
    max-width: 520px;       /* mismo ancho que texto */
    margin: 0 auto;
  }

}

@media (max-width: 900px) {

  /* CONTENEDOR GENERAL */
  .contacto-content {
    text-align: center;
    justify-items: center;
  }

  /* TEXTO */
  .contacto-text {
    max-width: 520px;        /* como About */
    margin: 0 auto;
    padding: 0 1.25rem;     /* aire lateral */
  }

  .contacto-text h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .contacto-text p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA */
  .contacto-cta {
    margin-left: auto;
    margin-right: auto;
  }

  /* MAPA */
  .contacto-map {
    max-width: 520px;       /* mismo ancho que texto */
    margin: 0 auto;
  }

}
