/* 
  Estilos principales para portfolio de Data Analyst
  - Diseño minimalista y profesional
  - Totalmente responsive
  - Uso de variables CSS para facilitar cambios de tema
*/

/* Variables de tema */
:root {
    --color-bg: #050816;
    --color-bg-alt: #0b1020;
    --color-surface: #10172f;
    --color-surface-soft: #151b33;
    --color-primary: #4f46e5;
    --color-primary-soft: rgba(79, 70, 229, 0.15);
    --color-primary-strong: #818cf8;
    --color-text: #e5e7eb;
    --color-text-soft: #9ca3af;
    --color-border: rgba(148, 163, 184, 0.25);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-full: 999px;
    --container-width: 1120px;
    --transition-fast: 0.18s ease-out;
    --transition-slow: 0.32s ease;
  }
  
  /* Reset base ligero */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  /* Utilidades */
  .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  /* Header y navegación */
  .header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;
    background: linear-gradient(
      to bottom,
      rgba(5, 8, 22, 0.92),
      rgba(5, 8, 22, 0.8),
      transparent
    );
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  }
  
  .header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
  }
  
  .logo {
    width: 40px;
    height: 40px;
    border-radius: 40%;
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--color-primary-strong);
    background: radial-gradient(
      circle at 0% 0%,
      rgba(56, 189, 248, 0.22),
      transparent 50%
    );
  }
  
  /* Navegación */
  .nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  /* Botón hamburguesa (solo móvil) */
  .nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.3), #020617);
    cursor: pointer;
    padding: 0;
  }
  
  .nav__toggle span {
    width: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background-color: var(--color-text);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }
  
  /* Lista de navegación */
  .nav__list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
  }
  
  .nav__link {
    position: relative;
    font-size: 0.92rem;
    color: var(--color-text-soft);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    padding-bottom: 0.15rem;
    transition: color var(--transition-fast);
  }
  
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 0;
    height: 1.5px;
    border-radius: 999px;
    background: linear-gradient(to right, #4f46e5, #22c55e);
    transition: width var(--transition-fast);
  }
  
  .nav__link:hover {
    color: #e5e7eb;
  }
  
  .nav__link:hover::after,
  .nav__link--active::after {
    width: 100%;
  }
  
  .nav__link--active {
    color: #e5e7eb;
  }
  
  /* Hero */
  .hero {
    position: relative;
    padding: 7.5rem 0 5.5rem;
    overflow: hidden;
  }
  
  /* Fondo con gradientes */
  .hero::before,
  .hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.9;
    z-index: -2;
  }
  
  .hero::before {
    width: 520px;
    height: 520px;
    background: radial-gradient(
      circle at 0% 0%,
      rgba(79, 70, 229, 0.9),
      transparent 60%
    );
    top: -140px;
    left: -120px;
  }
  
  .hero::after {
    width: 520px;
    height: 520px;
    background: radial-gradient(
      circle at 100% 0%,
      rgba(45, 212, 191, 0.7),
      transparent 60%
    );
    top: -160px;
    right: -120px;
  }
  
  /* Capa oscura suave encima de los gradientes */
  .hero__content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
  }
  
  /* Columna izquierda: texto */
  .hero__text {
    position: relative;
    z-index: 1;
  }
  
  .hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #a5b4fc;
    margin-bottom: 0.75rem;
  }
  
  .hero__eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(to right, #a5b4fc, transparent);
  }
  
  .hero__title {
    font-size: clamp(2.4rem, 3.2vw + 1rem, 3.4rem);
    letter-spacing: -0.04em;
    margin: 0 0 0.4rem;
  }
  
  .hero__subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-primary-strong);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1.4rem;
  }
  
  .hero__description {
    max-width: 36rem;
    color: var(--color-text-soft);
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
  }
  
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
  }
  
  /* Botones */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background var(--transition-fast), color var(--transition-fast),
      box-shadow var(--transition-fast), border-color var(--transition-fast),
      transform var(--transition-fast);
  }
  
  .btn--primary {
    background: linear-gradient(135deg, #4f46e5, #22c55e);
    color: #f9fafb;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.5);
  }
  
  .btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.7);
  }
  
  .btn--ghost {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.55);
    color: var(--color-text);
  }
  
  .btn--ghost:hover {
    border-color: rgba(129, 140, 248, 0.9);
    background: linear-gradient(
      to right,
      rgba(79, 70, 229, 0.2),
      rgba(15, 23, 42, 0.95)
    );
  }
  
  /* Columna derecha: visual */
  .hero__visual {
    position: relative;
    min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  }
  
.hero__photo {
  position: relative;
  width: min(320px, 90%);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(79, 70, 229, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(15, 23, 42, 0.9),
      rgba(15, 23, 42, 1)
    );
  }
  
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.25),
    rgba(34, 197, 94, 0.05),
    rgba(15, 23, 42, 0.35)
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

  /* Secciones generales */
  .section {
    padding: 4.2rem 0;
  }
  
  .section--alt {
    background: radial-gradient(
        circle at 0% 0%,
        rgba(15, 23, 42, 1),
        transparent 55%
      ),
      radial-gradient(
        circle at 100% 100%,
        rgba(15, 23, 42, 1),
        transparent 55%
      ),
      var(--color-bg-alt);
  }
  
  .section__header {
    text-align: left;
    margin-bottom: 2.6rem;
  }
  
  .section__title {
    font-size: 1.6rem;
    margin: 0 0 0.4rem;
    letter-spacing: -0.03em;
  }
  
  .section__subtitle {
    margin: 0;
    max-width: 36rem;
    font-size: 0.96rem;
    color: var(--color-text-soft);
  }
  
  /* Grid de proyectos */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
  }

.projects-groups {
  display: grid;
  gap: 2.4rem;
}

.projects-group__header {
  margin-bottom: 1rem;
}

.projects-group__title {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.projects-group__subtitle {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}
  
  .project-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.3rem 1.3rem;
    background: radial-gradient(
        circle at 0% 0%,
        rgba(79, 70, 229, 0.27),
        transparent 55%
      ),
      radial-gradient(
        circle at 100% 100%,
        rgba(15, 23, 42, 1),
        rgba(15, 23, 42, 1)
      );
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.8);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow),
      border-color var(--transition-fast), background var(--transition-slow);
    overflow: hidden;
  }
  
  .project-card::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(
      circle at 0% 0%,
      rgba(59, 130, 246, 0),
      transparent
    );
    opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none; /* evita bloquear los enlaces internos */
  }
  
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.95);
    border-color: rgba(129, 140, 248, 0.95);
  }
  
  .project-card:hover::after {
    opacity: 1;
  }
  
  .project-card__header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.7rem;
  }
  
  .project-card__title {
    margin: 0;
    font-size: 1.02rem;
  }
  
  .project-card__tag {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #a5b4fc;
  }
  
  .project-card__description {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    color: var(--color-text-soft);
  }
  
  .project-card__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.9rem;
  }
  
  .project-card__tech li {
    font-size: 0.8rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
  }
  
  .project-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
  position: relative;
  z-index: 1;
  }
  
  .project-card__link {
    font-size: 0.82rem;
    color: #c4b5fd;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding-bottom: 0.06rem;
    border-bottom: 1px dashed rgba(196, 181, 253, 0.7);
    transition: color var(--transition-fast), border-color var(--transition-fast),
      transform var(--transition-fast);
  }
  
  .project-card__link:hover {
    color: #e5e7eb;
    border-color: rgba(244, 244, 245, 0.9);
    transform: translateY(-1px);
  }
  
  /* Sobre mí */
  .about {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2.6rem;
    align-items: flex-start;
  }
  
  .about__text p {
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--color-text-soft);
  }
  
.about__actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

  .about__skills {
    border-radius: var(--radius-lg);
    background: radial-gradient(
        circle at 0% 0%,
        rgba(56, 189, 248, 0.16),
        transparent 56%
      ),
      radial-gradient(
        circle at 100% 100%,
        rgba(15, 23, 42, 1),
        rgba(15, 23, 42, 1)
      );
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.3rem;
  }
  
  .about__skills-title {
    margin: 0 0 1rem;
    font-size: 1.02rem;
  }
  
  .skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
  }
  
  .skills-list__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 0.45rem 0.2rem;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  }
  
  .skills-list__item:last-child {
    border-bottom: none;
  }
  
  .skills-list__label {
    font-weight: 500;
    color: #e5e7eb;
  }
  
  .skills-list__value {
    color: var(--color-text-soft);
    text-align: right;
  }
  
/* Extra (Formación y conocimientos) */
.extra {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.extra__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.extra-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(79, 70, 229, 0.18),
      transparent 55%
    ),
    var(--color-surface);
  padding: 1.4rem 1.3rem 1.35rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow),
    border-color var(--transition-fast);
}

.extra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.85);
  border-color: rgba(129, 140, 248, 0.9);
}

.extra-card__pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c7d2fe;
}

.extra-card__pill--accent {
  background: linear-gradient(120deg, rgba(79, 70, 229, 0.35), rgba(34, 197, 94, 0.2));
  border-color: rgba(129, 140, 248, 0.75);
  color: #e5e7eb;
}

.extra-card__title {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.extra-card__text {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.extra-card__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text);
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}

.extra-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.extra-card__chips span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.5);
  color: #e5e7eb;
  font-size: 0.86rem;
}

/* Contacto */
.section--contact {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(56, 189, 248, 0.08),
      transparent 48%
    ),
    radial-gradient(
      circle at 100% 30%,
      rgba(79, 70, 229, 0.08),
      transparent 45%
    ),
    var(--color-bg);
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact__card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(79, 70, 229, 0.2),
      transparent 60%
    ),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact__card--cta {
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.14), rgba(15, 23, 42, 0.95));
  border-color: rgba(129, 140, 248, 0.55);
}

.contact__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c7d2fe;
  width: fit-content;
}

.contact__pill--accent {
  background: linear-gradient(120deg, rgba(79, 70, 229, 0.35), rgba(34, 197, 94, 0.22));
  border-color: rgba(129, 140, 248, 0.85);
  color: #e5e7eb;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.contact__item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.contact__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 140, 248, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 1.1rem;
}

.contact__label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.contact__value {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

.contact__cta-text {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.96rem;
  max-width: 26rem;
}

.contact__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact__links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.contact__links a {
  color: #c4b5fd;
  text-decoration: none;
  padding-bottom: 0.08rem;
  border-bottom: 1px dashed rgba(196, 181, 253, 0.7);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.contact__links a:hover {
  color: #e5e7eb;
  border-color: rgba(244, 244, 245, 0.9);
}

  /* Footer */
  .footer {
    padding: 1.6rem 0 2.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(2, 6, 23, 0.98);
  }
  
  .footer__content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--color-text-soft);
  }
  
  .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  .footer__link {
    color: var(--color-text-soft);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  .footer__link:hover {
    color: #e5e7eb;
  }
  
  /* Animaciones de entrada para secciones (controladas por JS) */
  .section,
  .hero__content,
  .project-card,
  .about__skills {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  }
  
  .is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* Responsividad */
  
  /* Tablets / pantallas medianas */
  @media (max-width: 960px) {
    .hero {
      padding-top: 6.7rem;
    }
  
    .hero__content {
      grid-template-columns: minmax(0, 1fr);
      gap: 2.4rem;
    }
  
    .hero__visual {
      order: -1;
      min-height: 220px;
    }
  
    .hero__card {
      margin-inline: auto;
    }
  
    .hero__chart--one {
      right: 10%;
      top: 56%;
    }
  
    .hero__chart--two {
      left: 10%;
      top: 8%;
    }
  
    .projects-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
  .projects-group__title {
    font-size: 1.1rem;
  }

    .about {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  
  /* Móviles */
  @media (max-width: 640px) {
    .header__content {
      padding-inline: 0.3rem;
    }
  
    .nav__toggle {
      display: flex;
    }
  
    .nav__list {
      position: absolute;
      right: 1.5rem;
      top: 3.3rem;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.6rem;
      padding: 0.7rem 0.9rem;
      border-radius: var(--radius-lg);
      background: rgba(15, 23, 42, 0.98);
      border: 1px solid rgba(148, 163, 184, 0.55);
      box-shadow: 0 16px 36px rgba(15, 23, 42, 0.9);
      transform-origin: top right;
      transform: scale(0.9);
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--transition-fast), transform var(--transition-fast);
    }
  
    .nav__list--open {
      opacity: 1;
      pointer-events: auto;
      transform: scale(1);
    }
  
    .nav__link {
      font-size: 0.86rem;
    }
  
    .hero__actions {
      gap: 0.7rem;
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    .projects-grid {
      grid-template-columns: minmax(0, 1fr);
    }

  .projects-groups {
    gap: 2rem;
  }
  
    .about__skills {
      margin-top: 0.6rem;
    }

  .extra__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__actions {
    flex-direction: column;
  }

  .contact__links {
    flex-direction: column;
  }
  
    .footer__content {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  /* Estados del botón hamburguesa cuando está activo (controlado por clase via JS) */
  .nav__toggle--open span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }
  
  .nav__toggle--open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }