:root {
  --azul-principal: #1f4e79;
  --azul-oscuro: #163a5a;
  --verde-principal: #4caf50;
  --verde-oscuro: #388e3c;
  --amarillo-suave: #f4c542;
  --fondo-claro: #f8fafc;
  --fondo-suave: #eef4f8;
  --blanco: #ffffff;
  --texto: #333333;
  --texto-suave: #5b6570;
  --borde: #d9e3ea;
  --sombra: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radio: 18px;
  --ancho-maximo: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", Arial, sans-serif;
  color: var(--texto);
  background-color: var(--fondo-claro);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  font-size: 1rem;
}

h1,
h2,
h3,
.marca-titulo,
.nav a,
.boton,
.hero-etiqueta,
.mini-titulo,
.etiqueta-categoria,
.footer-titulo {
  font-family: "Poppins", Arial, sans-serif;
}

.contenedor {
  width: min(92%, var(--ancho-maximo));
  margin: 0 auto;
}

/* HEADER */

.header {
  background-color: var(--azul-principal);
  color: var(--blanco);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.header-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.marca {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.marca-titulo {
  font-size: 1.2rem;
  font-weight: 700;
}

.marca-subtitulo {
  font-size: 0.85rem;
  opacity: 0.9;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.nav a {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover {
  border-bottom-color: var(--amarillo-suave);
  opacity: 0.95;
}

.boton-menu {
  display: none;
  background: transparent;
  border: none;
  color: var(--blanco);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* HERO */

.hero {
  min-height: 82vh;
  background-image:
    linear-gradient(rgba(18, 47, 74, 0.58), rgba(18, 47, 74, 0.62)),
    url("portate2.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(244, 197, 66, 0.16);
  top: -120px;
  right: -100px;
  filter: blur(10px);
  animation: flotarLento 10s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.12);
  bottom: -80px;
  left: -60px;
  filter: blur(10px);
  animation: flotarLento 12s ease-in-out infinite alternate-reverse;
}

/* CONTADOR EN PORTADA */

.hero-contador-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.contador-visitas-hero {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  color: var(--blanco);
  font-weight: 700;
}

.contador-visitas-hero .contador-etiqueta,
.contador-visitas-hero #contador {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(5px);
}

.hero-overlay {
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-contenido {
  max-width: 820px;
  padding: 110px 0 100px;
  text-align: center;
  margin: 0 auto;
}

.hero-etiqueta {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 0.95rem;
  animation: aparecerHero 0.8s ease both;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  animation: aparecerHero 0.95s ease 0.1s both;
}

.hero-lema {
  margin: 0 0 20px;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  font-weight: 600;
  color: #e8f3ff;
  letter-spacing: 0.01em;
  animation: aparecerHero 1s ease 0.2s both;
}

.hero-texto {
  margin: 0 auto 34px;
  max-width: 720px;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.75;
  animation: aparecerHero 1.05s ease 0.3s both;
}

.hero-botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  animation: aparecerHero 1.1s ease 0.4s both;
}

/* BOTONES */

.boton {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.boton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.boton:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.boton:hover::after {
  left: 140%;
}

.boton-primario {
  background-color: var(--verde-principal);
  color: var(--blanco);
}

.boton-primario:hover {
  background-color: var(--verde-oscuro);
}

.boton-secundario {
  background-color: var(--blanco);
  color: var(--azul-principal);
}

.boton-secundario:hover {
  background-color: #e9f0f7;
}

/* SECCIONES */

.seccion {
  padding: 88px 0;
}

.seccion-suave {
  background-color: var(--fondo-suave);
}

.encabezado-seccion {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
  position: relative;
}

.mini-titulo {
  margin: 0 0 8px;
  color: var(--verde-principal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.encabezado-seccion h2,
.seccion h2 {
  margin: 0 0 14px;
  color: var(--azul-principal);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.encabezado-seccion h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.encabezado-seccion h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--verde-principal), var(--amarillo-suave));
  border-radius: 999px;
  transform: translateX(-50%);
}

.texto-intro,
.texto-principal p,
.tarjeta-noticia p,
.tarjeta-simple p,
.bloque-participa p,
.formulario {
  font-weight: 400;
}

.texto-intro {
  margin: 0 auto;
  color: var(--texto-suave);
  font-size: 1.02rem;
}

/* BLOQUES GENERALES */

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.texto-principal p {
  margin-top: 0;
  margin-bottom: 22px;
  font-size: 1.08rem;
  line-height: 1.8;
}

.bloque-imagen img {
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* NOTICIAS */

.grid-noticias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tarjeta-noticia {
  background-color: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.tarjeta-noticia::before,
.tarjeta-simple::before,
.grado::before,
.card-entrevista::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--verde-principal), var(--amarillo-suave));
  opacity: 0.95;
}

.tarjeta-noticia:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.tarjeta-noticia img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.tarjeta-noticia-contenido {
  padding: 24px;
}

.etiqueta-categoria {
  display: inline-block;
  margin-bottom: 10px;
  background-color: #eaf5ea;
  color: var(--verde-oscuro);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.tarjeta-noticia h3 {
  margin: 0 0 12px;
  color: var(--azul-principal);
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 700;
}

.fecha {
  margin: 0 0 12px;
  color: var(--texto-suave);
  font-size: 0.93rem;
}

.enlace-noticia {
  display: inline-block;
  margin-top: 10px;
  color: var(--verde-oscuro);
  font-weight: 700;
}

.enlace-noticia:hover {
  text-decoration: underline;
}

/* CATEGORÍAS */

.grid-categorias {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.categoria {
  background-color: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--azul-principal);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* GRADOS */

.grid-grados {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grado {
  border-radius: var(--radio);
  padding: 32px 24px;
  box-shadow: var(--sombra);
  position: relative;
  text-align: center;
}

.grado h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: var(--azul-oscuro);
}

.grado p {
  margin: 0;
}

.grado-biologia {
  background: linear-gradient(135deg, #fff3c7, #f6df8c);
}

.grado-fisica {
  background: linear-gradient(135deg, #dff5d8, #bde4ad);
}

.grado-quimica {
  background: linear-gradient(135deg, #dbeeff, #b6daf8);
}

/* SOSTENIBILIDAD */

.grid-sostenibilidad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.tarjeta-simple {
  background-color: var(--blanco);
  border-radius: var(--radio);
  padding: 30px 24px;
  box-shadow: var(--sombra);
  border-top: 5px solid var(--verde-principal);
  position: relative;
  text-align: center;
}

.tarjeta-simple h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--azul-principal);
}

/* ÍCONOS */

.icono-categoria,
.icono-grado,
.icono-tarjeta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 14px;
  background-color: rgba(31, 78, 121, 0.08);
}

.icono-categoria {
  background-color: rgba(76, 175, 80, 0.12);
}

.icono-grado {
  background-color: rgba(255, 255, 255, 0.4);
}

.icono-tarjeta {
  background-color: rgba(76, 175, 80, 0.12);
}

/* CARA A CARA */

#cara-a-cara {
  text-align: center;
}

#cara-a-cara .descripcion-seccion,
#cara-a-cara .texto-intro {
  max-width: 820px;
  margin: 0 auto 34px;
  color: var(--texto-suave);
}

.contenedor-entrevistas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 320px));
  justify-content: center;
  gap: 28px;
  align-items: stretch;
}

.card-entrevista {
  background-color: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-entrevista:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.card-entrevista img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-entrevista .contenido,
.card-entrevista-contenido {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-entrevista h3 {
  margin: 0 0 10px;
  color: var(--azul-principal);
  font-size: 1.24rem;
  line-height: 1.3;
  font-weight: 700;
}

.card-entrevista .rol {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 14px;
  background-color: #eaf5ea;
  color: var(--verde-oscuro);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.card-entrevista .preview {
  margin: 0 0 16px;
  color: var(--texto-suave);
  font-size: 1rem;
  line-height: 1.7;
}

.card-entrevista .boton,
.card-entrevista button {
  margin-top: auto;
  align-self: flex-start;
}

.card-entrevista button {
  display: inline-block;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  background-color: var(--verde-principal);
  color: var(--blanco);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.card-entrevista button:hover {
  transform: translateY(-3px);
  background-color: var(--verde-oscuro);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

/* VIDEO ENTREVISTAS */

.video-entrevista {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
}

.video-entrevista video,
.video-entrevista iframe {
  width: 100%;
  display: block;
  border-radius: 14px;
}

/* GALERÍA */

.galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.galeria img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--sombra);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.galeria img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* PARTICIPA */

.bloque-participa {
  text-align: center;
  max-width: 760px;
}

.bloque-participa h2 {
  margin-bottom: 14px;
}

.bloque-participa p {
  margin-bottom: 24px;
  font-size: 1.04rem;
}

/* FORMULARIO */

.formulario {
  max-width: 780px;
  margin: 0 auto;
  background-color: var(--blanco);
  padding: 36px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  position: relative;
}

.campo {
  margin-bottom: 20px;
}

.campo label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--azul-principal);
}

.campo input,
.campo textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--borde);
  border-radius: 14px;
  font: inherit;
  background-color: #fcfdff;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--azul-principal);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.12);
}

/* MENSAJES DE ENVÍO */

.mensaje-envio {
  max-width: 780px;
  margin: 0 auto 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--sombra);
}

.mensaje-envio.exito {
  background-color: #eaf7ed;
  color: #1f6b35;
  border: 1px solid #b7dfc2;
}

.mensaje-envio.error {
  background-color: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c2c0;
}

/* LEER MÁS */

.leer-mas-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.6);
  color: var(--azul-oscuro);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.leer-mas-btn:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.85);
}

.contenido-leer-mas {
  margin-top: 18px;
}

/* FOOTER */

.footer {
  background-color: var(--azul-principal);
  color: var(--blanco);
  padding: 34px 0;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.footer-titulo {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer p {
  margin: 4px 0;
}

.footer a:hover {
  text-decoration: underline;
}

/* ANIMACIONES SCROLL */

.animar-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animar-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMACIONES GENERALES */

@keyframes aparecerHero {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flotarLento {
  from {
    transform: translateY(0) translateX(0);
  }
  to {
    transform: translateY(14px) translateX(10px);
  }
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .grid-noticias,
  .grid-grados,
  .grid-sostenibilidad {
    grid-template-columns: 1fr 1fr;
  }

  .galeria {
    grid-template-columns: 1fr 1fr;
  }

  .grid-categorias {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contenedor-entrevistas {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-contenido {
    flex-wrap: wrap;
    align-items: center;
  }

  .boton-menu {
    display: block;
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .boton-menu:hover {
    transform: scale(1.05);
  }

  .nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: var(--azul-principal);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding 0.25s ease;
  }

  .nav.abierto {
    max-height: 500px;
    opacity: 1;
    padding: 12px 0 4px;
  }

  .nav a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    opacity: 0;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      background-color 0.2s ease;
  }

  .nav.abierto a {
    transform: translateY(0);
    opacity: 1;
  }

  .nav a:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    min-height: auto;
  }

  .hero-contenido {
    padding: 92px 0 68px;
    text-align: center;
  }

  .hero-botones {
    justify-content: center;
  }

  .contador-visitas-hero {
    padding-top: 14px;
  }

  .grid-noticias,
  .grid-grados,
  .grid-sostenibilidad,
  .grid-categorias,
  .galeria,
  .contenedor-entrevistas {
    grid-template-columns: 1fr;
  }

  .tarjeta-noticia img,
  .galeria img {
    height: auto;
  }

  .card-entrevista img {
    height: auto;
  }

  .footer-contenido {
    flex-direction: column;
  }

  .formulario {
    padding: 24px;
  }

  .seccion {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .marca-titulo {
    font-size: 1rem;
  }

  .marca-subtitulo {
    font-size: 0.78rem;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .boton {
    width: 100%;
    text-align: center;
  }

  .hero-botones {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-texto {
    font-size: 1rem;
    line-height: 1.7;
  }

  .encabezado-seccion {
    margin-bottom: 38px;
  }

  .contador-visitas-hero {
    justify-content: center;
  }

  .tarjeta-noticia-contenido,
  .formulario,
  .grado,
  .tarjeta-simple,
  .card-entrevista .contenido,
  .card-entrevista-contenido {
    padding-left: 20px;
    padding-right: 20px;
  }
  
}
/* =========================
   QUIÉNES SOMOS (NUEVO DISEÑO)
========================= */

.quienes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.quienes-columna {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* VIDEO */

.bloque-video-quienes {
  width: 100%;
}

.video-quienes {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--sombra);
}

/* IMÁGENES INFERIORES */

.quienes-imagen-inferior img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--sombra);
  object-fit: cover;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .quienes-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   VIDEO CON BOTÓN PLAY
========================= */

.video-wrapper {
  position: relative;
  width: 100%;
}

.video-wrapper video {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--sombra);
}

/* BOTÓN PLAY */

.btn-play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 70px;
  height: 70px;
  border-radius: 50%;
  
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 2rem;
  
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-play-video:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}
.acciones-joven-inspira {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  align-items: center;
}

.acciones-joven-inspira a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-instagram {
  background: #e4405f;
  color: #ffffff;
}

.link-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.qr-joven {
  width: 180px;
  height: 180px;
  padding: 10px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-joven img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ingles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.card-ingles-imagenes {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.card-ingles-imagenes h3 {
  color: #1f4e79;
  margin-bottom: 6px;
}

.imagenes-ingles {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.imagenes-ingles img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
@media (max-width: 900px) {
  .ingles-grid {
    grid-template-columns: 1fr;
  }

  .imagenes-ingles img {
    height: auto;
    max-height: none;
  }
}
