:root {
  --fuchsia: #C8185A;
  --fuchsia-light: #E8366E;
  --fuchsia-dark: #A01048;
  --fuchsia-pale: #FDE8EE;
  --navy: #0D1B2A;
  --ocean: #0D4F6C;
  --ocean-light: #1A7A9E;
  --sand: #F5F0E8;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-muted: #5A6070;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-dropdown {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-current:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.lang-current svg {
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-current svg {
  transform: rotate(180deg);
}

.lang-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.4rem;
  list-style: none;
  min-width: 130px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.lang-dropdown.open .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown--up .lang-options {
  top: auto;
  bottom: calc(100% + 0.5rem);
  transform: translateY(6px);
}

.lang-dropdown--up.open .lang-options {
  transform: translateY(0);
}

.lang-option {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.15s;
  list-style: none;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.lang-option.active {
  color: var(--white);
  background: rgba(200, 24, 90, 0.2);
}

.nav--scrolled {
  background: rgba(13, 27, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav--scrolled .nav-logo img {
  height: 110px;
}

.nav-logo img {
  height: 180px;
  transition: height 0.3s ease;
  filter:
    drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0.7px 0.7px 0 #fff) drop-shadow(-0.7px 0.7px 0 #fff) drop-shadow(0.7px -0.7px 0 #fff) drop-shadow(-0.7px -0.7px 0 #fff);
}

.nav-cta {
  background: var(--fuchsia);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--fuchsia-light);
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0D1B2A;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero_image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(13, 27, 42, 0.88) 0%,
      rgba(13, 27, 42, 0.65) 55%,
      rgba(13, 27, 42, 0.35) 100%);
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: rise linear infinite;
}

.bubble:nth-child(1) {
  width: 8px;
  height: 8px;
  left: 10%;
  bottom: -10%;
  animation-duration: 12s;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 14px;
  height: 14px;
  left: 25%;
  bottom: -10%;
  animation-duration: 16s;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  width: 6px;
  height: 6px;
  left: 40%;
  bottom: -10%;
  animation-duration: 10s;
  animation-delay: 4s;
}

.bubble:nth-child(4) {
  width: 10px;
  height: 10px;
  left: 55%;
  bottom: -10%;
  animation-duration: 14s;
  animation-delay: 1s;
}

.bubble:nth-child(5) {
  width: 18px;
  height: 18px;
  left: 70%;
  bottom: -10%;
  animation-duration: 18s;
  animation-delay: 3s;
}

.bubble:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 85%;
  bottom: -10%;
  animation-duration: 11s;
  animation-delay: 5s;
}

.bubble:nth-child(7) {
  width: 12px;
  height: 12px;
  left: 33%;
  bottom: -10%;
  animation-duration: 15s;
  animation-delay: 7s;
}

.bubble:nth-child(8) {
  width: 5px;
  height: 5px;
  left: 62%;
  bottom: -10%;
  animation-duration: 9s;
  animation-delay: 6s;
}

@keyframes rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-50vh) translateX(20px);
    opacity: 0.3;
  }

  100% {
    transform: translateY(-110vh) translateX(-10px);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 4rem;
  margin-top: 80px;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-block;
  background: rgba(200, 24, 90, 0.2);
  border: 1px solid rgba(200, 24, 90, 0.4);
  color: #F07FAA;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 em {
  font-style: italic;
  color: #F07FAA;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

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

.btn-primary {
  background: var(--fuchsia);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  border: 2px solid var(--fuchsia);
  animation: fadeUp 0.9s ease 0.2s both;
}

.btn-primary:hover {
  background: var(--fuchsia-light);
  border-color: var(--fuchsia-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 24, 90, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s;
  animation: fadeUp 0.9s ease 0.35s both;
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ─── SECTIONS COMMON ─── */
section {
  padding: 6rem 4rem;
}

.section-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fuchsia);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
}

/* ─── ACTIVIDADES ─── */
#actividades {
  background: var(--sand);
  padding-left: 2rem;
  padding-right: 2rem;
}

.actividades-wide {
  max-width: 1600px;
  margin: 0 auto;
}

.actividades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .actividades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .actividades-grid {
    grid-template-columns: 1fr;
  }
}

.actividad-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(200, 24, 90, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.1);
}

.actividad-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}

.actividad-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.actividad-card:hover .actividad-media img {
  transform: scale(1.06);
}

.actividad-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.actividad-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.actividad-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--fuchsia);
  line-height: 1;
  flex-shrink: 0;
}

.actividad-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.actividad-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.actividad-card .tag {
  display: inline-block;
  background: var(--fuchsia-pale);
  color: var(--fuchsia-dark);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  margin-top: 0.85rem;
}

/* ─── CERTIFICADOS ─── */
#certificados {
  background: var(--white);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.certs-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.certs-track {
  display: flex;
  align-items: center;
  gap: 6rem;
  width: max-content;
  animation: certs-scroll 42s linear infinite;
}

.certs-carousel:hover .certs-track {
  animation-play-state: paused;
}

.cert-item {
  flex: 0 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-item img {
  height: 100%;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

@keyframes certs-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── VALORES ─── */
#valores {
  background: var(--white);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3.5rem;
}

.valor-item {
  padding: 0 3rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.valor-item:first-child {
  padding-left: 0;
}

.valor-item:last-child {
  padding-right: 0;
  border-right: none;
}

.valor-icon {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
  display: block;
  line-height: 1;
}

.valor-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
}

.valor-item p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .valores-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .valor-item {
    padding: 2rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .valor-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .valor-item:first-child {
    padding-top: 0;
  }
}

/* ─── EQUIPO ─── */
#equipo {
  background: var(--navy);
  padding: 6rem 4rem;
}

#equipo .section-title {
  color: var(--white);
}

#equipo .section-intro {
  color: rgba(255, 255, 255, 0.6);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}


.equipo-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  transition: background 0.3s;
}

.equipo-card:hover {
  background: rgba(200, 24, 90, 0.1);
  border-color: rgba(200, 24, 90, 0.3);
}

.equipo-avatar {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fuchsia-dark), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  border: 3px solid var(--fuchsia);
  overflow: hidden;
}

.equipo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipo-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.equipo-role {
  font-size: 0.92rem;
  color: #F07FAA;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.equipo-info p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── CTA / FORMULARIO ─── */
#cta {
  background: linear-gradient(180deg, var(--fuchsia-pale) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner .section-intro {
  margin: 0 auto 2.5rem;
}

.cta-success {
  padding: 2rem 1.5rem 1rem;
}

.cta-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--fuchsia-pale);
  color: var(--fuchsia);
  margin-bottom: 1.25rem;
}

.cta-success-message {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  max-width: 420px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  border: 2px solid rgba(200, 24, 90, 0.15);
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1.05rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus {
  border-color: var(--fuchsia);
  box-shadow: 0 0 0 4px rgba(200, 24, 90, 0.1);
}

.interests-dropdown {
  border: 2px solid rgba(200, 24, 90, 0.15);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s;
}

.interests-dropdown[open] {
  border-color: var(--fuchsia);
}

.interests-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  color: var(--text-muted);
  user-select: none;
}

.interests-summary::-webkit-details-marker {
  display: none;
}

.interests-summary-text.has-value {
  color: var(--text-dark);
}

.interests-chevron {
  flex-shrink: 0;
  color: var(--fuchsia);
  transition: transform 0.2s;
}

.interests-dropdown[open] .interests-chevron {
  transform: rotate(180deg);
}

.interests-dropdown[open] .interests-summary {
  border-bottom: 1px solid rgba(200, 24, 90, 0.12);
}

.interests-panel {
  padding: 0.75rem 1.25rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}

.interests-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  cursor: pointer;
}

.interests-option input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--fuchsia);
  cursor: pointer;
}

.newsletter-box {
  background: var(--white);
  border: 1px solid rgba(200, 24, 90, 0.15);
  border-left: 3px solid var(--fuchsia);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  text-align: left;
  box-shadow: 0 4px 16px rgba(160, 16, 72, 0.06);
}

.newsletter-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.newsletter-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fuchsia-pale);
  color: var(--fuchsia);
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-heading {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.newsletter-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.newsletter-consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.5;
  flex: 1;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--fuchsia);
  cursor: pointer;
}

.info-tooltip {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(200, 24, 90, 0.3);
  background: transparent;
  color: var(--fuchsia);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  padding: 0;
  margin-top: 1px;
  transition: background 0.2s, color 0.2s;
}

.info-tooltip:hover,
.info-tooltip:focus-visible {
  background: var(--fuchsia);
  color: var(--white);
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tooltip-content {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 280px;
  max-width: 80vw;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
  z-index: 5;
}

.tooltip-content strong {
  color: var(--white);
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 8px;
  border: 6px solid transparent;
  border-top-color: var(--navy);
}

.info-tooltip:hover+.tooltip-content,
.info-tooltip:focus-visible+.tooltip-content,
.info-tooltip.is-open+.tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lopd-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 1.25rem;
  text-align: left;
}

.lopd-text a {
  color: var(--fuchsia);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-submit:hover {
  background: #162940;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 27, 42, 0.25);
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo img {
  height: 36px;
}

.footer-copy {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #F07FAA;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.social-link:hover {
  border-color: var(--fuchsia);
  color: #F07FAA;
  background: rgba(200, 24, 90, 0.1);
}

/* ─── AVISO LEGAL ─── */
.legal-header {
  background: var(--navy);
  padding: 9rem 4rem 4rem;
  text-align: center;
}

.legal-header .section-title {
  color: var(--white);
}

.legal-header .section-intro {
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--fuchsia);
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: 1.25rem 0 0.4rem;
}

.legal-section p,
.legal-section li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-placeholder {
  background: var(--fuchsia-pale);
  border-left: 3px solid var(--fuchsia);
  padding: 0.7rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: var(--fuchsia-dark);
  font-style: italic;
  margin-bottom: 0.75rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .nav-logo img {
    height: 115px;
  }

  .nav--scrolled .nav-logo img {
    height: 90px;
  }

  nav .lang-current {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .certs-track {
    gap: 2rem;
  }

  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  #equipo {
    padding: 4rem 1.5rem;
  }

  .equipo-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .equipo-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
  }

  .equipo-avatar {
    width: 100px;
    height: 100px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .interests-panel {
    grid-template-columns: 1fr;
  }

  .tooltip-content {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
  }

  .info-tooltip:hover+.tooltip-content,
  .info-tooltip:focus-visible+.tooltip-content,
  .info-tooltip.is-open+.tooltip-content {
    transform: translateX(-50%) translateY(0);
  }

  .tooltip-content::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}