/* FONTS */
@import url(../fonts/clash-display.css);

/* VARIABLES */
:root {
  --c-dark: #212529;
  --c-brand: #3bab05;
  --c-brand-light: #aac79f;
  --c-brand-rgb: 59, 171, 5;
  --c-body: #727272;
  --font-base: "ClashDisplay", sans-serif;
  --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
  --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--c-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 600;
  color: var(--c-dark);
}

a {
  text-decoration: none;
  color: var(--c-brand);
  transition: var(--transition);
}

a:hover {
  color: var(--c-brand-light);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 140px;
}

.theme-shadow {
  box-shadow: var(--box-shadow);
}

body,
html {
  overflow-x: hidden;
}

/* Custom Modal Styles */

.modal-title {
  flex-grow: 1; /* Esto asegura que el título ocupe todo el ancho disponible */
  text-align: center; /* Asegura que el texto esté centrado dentro de su contenedor */
  margin: 0; /* Elimina márgenes que puedan afectar la alineación */
}

.modal-header .btn-close {
  position: absolute;
  right: 1rem; /* Posiciona el botón de cierre en la esquina derecha */
  top: 1rem;
}

.modal-header {
  justify-content: center !important; /* Centrar el título */
  background-color: var(--c-brand); /* Color de fondo para el encabezado */
  border-bottom: none; /* Eliminar el borde predeterminado */
}

/* Modal Title */
.modal-title {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 1.5rem;
  color: white; /* Texto en blanco para el título */
  text-align: center; /* Centrar el texto */
}

/* Modal Body */
.modal-body {
  font-family: var(--font-base);
  color: var(--c-body); /* Usar el color de texto del cuerpo */
}

/* Modal Footer */
.modal-footer {
  border-top: none; /* Eliminar el borde predeterminado */
  justify-content: center; /* Centrar los botones */
}

/* Buttons */
.modal-footer .btn-primary {
  background-color: var(--c-brand); /* Color primario de la marca */
  color: white; /* Color del texto en blanco */
  border: none; /* Eliminar bordes */
  transition: var(--transition); /* Usar la transición principal */
}

.modal-footer .btn-primary:hover {
  background-color: var(
    --c-brand-light
  ); /* Color más claro de la marca al pasar el cursor */
}

.modal-footer .btn-secondary {
  background-color: var(--c-dark); /* Color oscuro para el botón secundario */
  color: white; /* Color del texto en blanco */
  border: none; /* Eliminar bordes */
  transition: var(--transition); /* Usar la transición principal */
}

.modal-footer .btn-secondary:hover {
  background-color: var(
    --c-body
  ); /* Color de texto del cuerpo al pasar el cursor */
}

/************************************ Header css ************************************/

.header {
  background-color: #f8f9fa;
}

.logo img {
  max-height: 50px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  background-color: #e0e0e000;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.icon-item svg {
  fill: var(--c-brand);
  width: 24px;
  height: 24px;
}

.icon-item span {
  font-weight: bold;
  color: #333;
}

/************************************ Navbar ************************************/

.custom-navbar {
  background-color: var(--c-brand) !important;
  color: #fff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.custom-navbar:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.custom-navbar .nav-item .nav-link {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff !important;
  transition:
    color 0.3s,
    background-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  padding: 10px 20px;
  border-radius: 5px;
}

.custom-navbar .nav-item .nav-link:hover {
  color: #fff !important;
  background-color: var(--c-brand-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-navbar .nav-item .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--c-brand-light);
  transition:
    width 0.3s ease,
    left 0.3s ease;
}

.custom-navbar .nav-item .nav-link:hover::before {
  width: 100%;
  left: 0;
}

.custom-navbar .d-flex a {
  font-size: 1rem;
  font-weight: normal;
  color: #fff !important;
}

.custom-navbar .btn-outline-primary,
.custom-navbar .btn-primary {
  font-size: 1rem;
  font-weight: bold;
}

.custom-navbar .btn-outline-primary:hover,
.custom-navbar .btn-primary:hover {
  background-color: #0056b3 !important;
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .custom-navbar .navbar-nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .custom-navbar .d-flex {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .custom-navbar .d-flex a {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .custom-navbar .btn-outline-primary,
  .custom-navbar .btn-primary {
    width: 100%;
  }
}

/* Estilo para mostrar el dropdown al pasar el mouse */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* Ajusta la posición vertical del dropdown */
  background-color: #ffffff; /* Fondo blanco sólido */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Sombra suave */
  border-radius: 8px; /* Esquinas redondeadas */
  transition: all 0.3s ease;
}

/* Estilo para los enlaces dentro del dropdown */
.navbar-nav .dropdown-menu .dropdown-item {
  color: #000; /* Color de texto */
  padding: 10px 20px;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

/* Cambia el color y el fondo al pasar el mouse sobre los enlaces del dropdown */
.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: var(
    --c-brand-light
  ); /* Fondo con color de marca más claro */
  color: #fff; /* Texto blanco */
}

/* Opcional: estilo para el enlace de Equipo cuando se pasa el mouse */
.navbar-nav .dropdown:hover .nav-link {
  color: #007bff; /* Cambia este color según tu preferencia */
}

/* Ajustes adicionales para dispositivos móviles */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    background-color: #ffffff; /* Fondo blanco sólido en móviles */
    border-radius: 0; /* Sin esquinas redondeadas en móviles */
    box-shadow: none; /* Sin sombra en móviles */
  }

  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 10px;
  }
}

/************************************ Custom Hero ************************************/

/* HERO */
#hero.custom-hero {
  position: relative;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.container-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 1;
}

.custom-hero .btn {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px 24px;
}

.custom-hero .btn-brand {
  background-color: var(--c-brand);
  border-color: var(--c-brand);
  color: white;
}

.custom-hero .btn-brand:hover {
  background-color: var(--c-brand-light);
  border-color: var(--c-brand-light);
  color: white;
}

/************************************ Modal ************************************/

.modal-content {
  border-radius: 10px;
}

.modal-header {
  border-bottom: none;
}

.modal-body {
  padding: 0;
}

.modal-tittle {
  text-align: center !important;
}

/* Acordeón Personalizado */
.custom-accordion .accordion-item {
  border: none;
  margin-bottom: 10px;
  box-shadow: var(--box-shadow);
}

.custom-accordion .accordion-button {
  background-color: var(--c-brand-light);
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--c-brand);
  color: var(--c-dark);
}

.custom-accordion .accordion-button:hover {
  background-color: var(--c-brand-light);
  color: white;
}

.custom-accordion .accordion-body {
  background-color: #f8f9fa;
  padding: 20px;
  border-top: 1px solid var(--c-brand-light);
  text-align: center; /* Centra el contenido de la sección del acordeón */
}

.custom-accordion .accordion-body img {
  border-radius: 8px;
  display: block;
  margin: 0 auto; /* Centra la imagen horizontalmente */
}

/* Responsividad */
@media (max-width: 768px) {
  .custom-accordion-container {
    max-width: 100%; /* Ocupa todo el ancho en pantallas pequeñas */
  }
}

/************************************ Custom Stats ************************************/

#estadísticas.custom-stats {
  background:
    linear-gradient(
      rgba(var(--c-brand-rgb), 0.8),
      rgba(var(--c-brand-rgb), 0.8)
    ),
    url(../img/aspiramos\ la\ exelencia.jpg);
  background-position: center;
  background-size: cover;
}

/************************************ Custom Servicios index ************************************/

#services.custom-services .service {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

#services.custom-services .service::after {
  content: "";
  width: 40px;
  height: 40px;
  background: rgba(var(--c-brand-rgb), 0.2);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: var(--transition);
}

#services.custom-services .service:hover::after {
  width: 100%;
  height: 100%;
  background: var(--c-brand);
  z-index: -1;
}

#services.custom-services .service:hover h5,
#services.custom-services .service:hover p {
  color: white;
}

#services.custom-services .service:hover .iconbox {
  background-color: rgba(152, 215, 189, 0.2);
  color: white;
}

/* Estilo personalizado para el botón en la sección de servicios */
.btn-custom {
  background-color: var(--c-brand); /* Color principal */
  color: white; /* Texto en blanco */
  border: none; /* Sin borde */
  padding: 10px 20px; /* Espaciado interno */
  border-radius: 5px; /* Bordes redondeados */
  transition: var(--transition); /* Transición suave */
}

.btn-custom:hover {
  background-color: var(
    --c-brand-light
  ); /* Color más claro al pasar el mouse */
  color: white; /* Mantener el texto en blanco */
  box-shadow: var(--box-shadow); /* Sombra en el hover */
}

/************************************ Custom Team ************************************/

#team.custom-team .team-member-content {
  background-color: var(--c-brand);
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: calc(100% - 50px);
  transform: translateX(-50%);
  padding: 24px;
  transition: var(--transition);
  opacity: 0;
}

#team.custom-team .team-member:hover .team-member-content {
  opacity: 1;
  bottom: 24px;
}

/* IMAGE ZOOM */
.image-zoom {
  position: relative;
  /* overflow: hidden; */
}

.image-zoom-wrapper {
  overflow: hidden;
  position: relative;
}

.image-zoom-wrapper img {
  transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
  transform: scale(1.1);
}

/************************************ Custom Clients ************************************/

/* CLIENTES */
#clients.custom-clients {
  padding: 5px 0;
}

#clients.custom-clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#clients.custom-clients .client-logo img {
  padding: 20px 20px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100%);
}

#clients.custom-clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  #clients.custom-clients .client-logo img {
    padding: 20px;
  }
}

/************************************ Custom Pricing ************************************/

.section-title h2 {
  text-align: center;
  font-weight: 700;
  font-size: 36px;
  color: var(--c-dark);
  margin-bottom: 20px;
}

.section-title p {
  text-align: center;
  color: var(--c-body);
  font-size: 16px;
  margin-bottom: 40px;
}

.pricing .row {
  display: flex;
  justify-content: space-between;
}

.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--c-brand-light), transparent 96%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.pricing .pricing-item h3 {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--c-dark);
  font-size: 20px;
}

.pricing .pricing-item h4 {
  color: var(--c-brand);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 0;
  text-align: center;
}

.pricing .pricing-item h4 sup {
  font-size: 28px;
}

.pricing .pricing-item h4 span {
  color: var(--c-body);
  font-size: 18px;
  font-weight: 500;
}

.pricing .pricing-item .description {
  font-size: 14px;
  color: var(--c-body);
}

.pricing .pricing-item .cta-btn {
  border: 1px solid var(--c-dark);
  color: var(--c-dark);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 20px;
}

.pricing .pricing-item .cta-btn:hover {
  background: var(--c-brand);
  color: white;
  border-color: var(--c-brand);
}

.pricing .pricing-item ul {
  padding: 0;
  list-style: none;
  color: var(--c-body);
  text-align: left;
}

.pricing .pricing-item ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing .pricing-item ul li:last-child {
  padding-bottom: 0;
}

.pricing .pricing-item ul i {
  color: var(--c-brand);
  font-size: 24px;
  padding-right: 3px;
}

.pricing .pricing-item ul .na {
  color: var(--c-body);
}

.pricing .pricing-item ul .na i {
  color: var(--c-body);
}

.pricing .pricing-item ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
  border: 2px solid var(--c-brand);
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--c-brand);
  color: white;
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--c-brand-light), transparent 96%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 2px solid transparent; /* Inicialmente, el borde es transparente */
}

.pricing .pricing-item:hover {
  border: 2px solid var(--c-brand); /* Borde verde al pasar el mouse */
}

/************************************ Custom Footer ************************************/

footer.custom-footer {
  background-color: var(--c-brand) !important;
  color: #fff;
}

footer.custom-footer a {
  color: #fff !important;
  text-decoration: none;
}

footer.custom-footer a:hover {
  text-decoration: underline;
}

footer.custom-footer .text-muted {
  color: white !important;
}

footer.custom-footer h5,
footer.custom-footer h6 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

footer.custom-footer .bi {
  font-size: 1.5rem;
}

/************************************ Custom Nosotros ************************************/

.container.pt-5.custom-nosotros {
  padding: 0 15px;
}

/* Aspiración y principios */
.custom-nosotros .aspiracion {
  font-size: 18pt;
  margin-top: 16px;
}

.custom-nosotros .aspiracion-principios h2 {
  font-size: 28pt;
  margin-bottom: 20px;
}

/* Misión y Visión */
.custom-nosotros .mision.card {
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Galería de Imágenes */
.galeria-imagenes .galeria-img {
  width: 100%;
  height: 200px; /* Ajusta la altura según tus necesidades */
  object-fit: cover; /* Asegura que la imagen cubra el contenedor sin distorsión */
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.galeria-imagenes .image-container {
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.galeria-imagenes .galeria-img:hover {
  transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Ejes estratégicos */
.custom-nosotros .ejes-estrategicos h3 {
  margin-bottom: 30px;
}

.custom-nosotros .ejes-estrategicos .image {
  width: 20%;
  margin-bottom: 10px;
}

.custom-nosotros .ejes-estrategicos .card {
  margin-top: 20px;
}

/************************************ TEAM ************************************/

.team .member {
  position: relative;
}

.team .member .member-img {
  /* tamaño único y responsive */
  width: clamp(180px, 22vw, 260px);
  aspect-ratio: 1 / 1; /* siempre cuadrado */
  height: auto;

  margin: 0 auto; /* centra (reemplaza tus márgenes 0 80px / 0 60px) */
  border-radius: 50%;
  overflow: hidden;

  position: relative;
  border: 4px solid #fff;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 60px;
  }
}

.team .member .member-img img {
  width: 100%;
  height: 100%; /* obliga a llenar el cuadrado */
  object-fit: cover; /* recorta para mantener proporción sin deformar */
  object-position: center; /* centra el rostro */
  display: block;
  position: relative;
  z-index: 1;
}

/* Opcional: si en móvil quieres un poco más grande */
@media (max-width: 576px) {
  .team .member .member-img {
    width: min(240px, 78vw);
  }
}

.team .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.team .member .member-img .social a {
  transition: 0.3s;
  color: #fff;
  font-size: 20px;
  margin: 0 8px;
}

.team .member .member-img .social a:hover {
  color: #e84545;
}

.team .member .member-info {
  margin-top: 30px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.team .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, #212529, transparent 40%);
  margin-bottom: 10px;
}

.team .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.team .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

.member .social a svg {
  fill: white !important; /* Cambia el color de los íconos SVG a blanco */
  width: 32px; /* Ajusta el tamaño del ícono según sea necesario */
  height: 32px;
}

.member .social a:hover svg {
  fill: #f1c40f; /* Cambia el color al pasar el ratón por encima (opcional) */
}

.member .social a {
  margin: 0 10px; /* Ajusta el espacio entre los íconos */
  display: inline-block;
  transition: fill 0.3s ease;
}

/* Estilos específicos para <hr> dentro de la sección del equipo */
hr {
  border: 0;
  height: 2px;
  background: #000; /* Cambia el color a negro o cualquier color deseado */
  margin: 20px 0; /* Ajusta el margen superior e inferior */
  width: 50%; /* Ajusta el ancho */
  margin-left: auto;
  margin-right: auto;
  border-radius: 1px; /* Añade bordes redondeados */
}

/* boton para regresar arriba */
#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  display: none;
  font-size: 24px; /* Tamaño del ícono */
  border: none;
  outline: none;
  background-color: var(--c-brand);
  color: white;
  cursor: pointer;
  width: 60px; /* Ancho del botón */
  height: 60px; /* Alto del botón */
  border-radius: 50%; /* Bordes redondeados */
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* Elimina cualquier padding adicional */
}

#backToTopBtn:hover {
  background-color: var(--c-brand-light);
}

/************************************ Custom Contact ************************************/

/* Section Contacto */
.custom-contact section {
  padding: 3rem 0;
}

.custom-contact .container {
  max-width: 1200px;
  margin: auto;
}

.custom-contact p.lead {
  font-size: 1.25rem;
  color: #6c757d;
}

.custom-contact .card {
  background-color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1rem rgba(66, 202, 152, 0.1);
  overflow: hidden;
}

.custom-contact .card-body {
  padding: 0;
}

.custom-contact .bsb-overlay {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 400px;
}

.custom-contact .bsb-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, var(--bsb-overlay-opacity, 0.5));
}

.custom-contact .contact-info-wrapper {
  position: relative;
  z-index: 1;
}

.custom-contact .contact-info-wrapper h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.custom-contact .contact-info-wrapper p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.custom-contact .contact-info-wrapper h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.custom-contact .form-label {
  font-weight: 600;
}

.custom-contact .input-group-text {
  background-color: var(--c-brand);
  color: #ffffff;
  border: none;
}

.custom-contact .form-control {
  border-radius: 0.375rem;
}

.custom-contact .btn-primary {
  background-color: var(--c-brand);
  border: none;
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
}

.custom-contact .svg-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
  color: var(--c-brand);
}

/************************************ Mapa ************************************/

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: auto;
  overflow: hidden;
  display: flex;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 85%;
  border: 0;
}

#titulo-mapa {
  text-align: center !important;
}

#parrafo-mapa {
  padding: 5%;
}

/************************************ Curso Gestión Contratistas ************************************/

.containerServicios {
  background-color: #fff;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}
.details {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
}
.price {
  color: #007bff;
  font-size: 1.5em;
  font-weight: bold;
}
.whatsapp-button {
  background-color: #25d366;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  width: 100%;
}
.whatsapp-button:hover {
  background-color: #20c15e;
}

#img-gestion {
  background-color: #b4b4b4 !important;
  width: 100%;
}

/* CSS para la sección de capacitaciones */
.custom-capacitaciones {
  margin-top: 20px;
  margin-bottom: 40px;
}

.custom-capacitaciones .course-image {
  height: 500px;
  object-fit: cover;
  width: 100%;
}

.custom-capacitaciones .card {
  margin-bottom: 30px;
}

.custom-capacitaciones .btn {
  width: 100%;
  background-color: var(--c-brand) !important;
}

/* Subscripcion */
#subscripcion .card {
  border: 2px solid transparent; /* Inicia con un borde transparente */
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease; /* Añade una transición suave */
}

#subscripcion .card-img-top {
  width: 100%;
  object-fit: contain; /* Mantiene la relación de aspecto de la imagen */
  padding: 10px; /* Añade un padding interno alrededor de la imagen */
}

#subscripcion .card:hover {
  border-color: #28a745; /* Cambia el borde a verde al pasar el ratón */
  box-shadow: 0 4px 12px rgba(0, 128, 0, 0.3); /* Añade una sombra verde */
}

#subscripcion .card-body {
  padding: 0.5rem 1rem; /* Ajusta el padding interno del cuerpo de la tarjeta */
}

/* Estilos para el botón flotante de WhatsApp */
.float-whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px; /* Define un ancho fijo */
  height: 60px; /* Define una altura fija igual al ancho */
  background-color: #25d366;
  color: white;
  border-radius: 50%; /* Asegura que el botón sea redondo */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.float-whatsapp-button:hover {
  background-color: #1ebe57;
}

.float-whatsapp-button img {
  width: 50%; /* Ajusta el tamaño del icono para que quede bien dentro del botón */
  height: auto;
}

/* Custom Acordeon Index */
/* Título del Acordeón */
.titulo-accordion {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-dark);
  text-align: center;
  margin-bottom: 20px;
}

/* Acordeón Personalizado */
/* Contenedor del Acordeón */
.custom-accordion-container {
  max-width: 85%; /* Máximo ancho del acordeón */
  margin: 0 auto; /* Centra el acordeón horizontalmente */
  padding: 0 15px; /* Padding lateral para dispositivos móviles */
}

/* Título del Acordeón */
.titulo-accordion {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-dark);
  text-align: center;
  margin-bottom: 20px;
}

/* Acordeón Personalizado */
.custom-accordion .accordion-item {
  border: none;
  margin-bottom: 10px;
  box-shadow: var(--box-shadow);
}

.custom-accordion .accordion-button {
  background-color: var(--c-brand-light);
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: var(--transition);
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--c-brand);
  color: var(--c-dark);
}

.custom-accordion .accordion-button:hover {
  background-color: var(--c-brand-light);
  color: white;
}

.custom-accordion .accordion-body {
  background-color: #f8f9fa;
  padding: 20px;
  border-top: 1px solid var(--c-brand-light);
  text-align: center; /* Centra el contenido de la sección del acordeón */
}

.custom-accordion .accordion-body img {
  border-radius: 8px;
  display: block;
  margin: 0 auto; /* Centra la imagen horizontalmente */
}

/* Responsividad */
@media (max-width: 768px) {
  .custom-accordion-container {
    max-width: 100%; /* Ocupa todo el ancho en pantallas pequeñas */
  }
}

/* Sección documento */
#documento {
  padding: 50px 15px;
  background-color: var(--c-brand); /* Fondo sólido del color --c-brand */
  text-align: center;
  box-shadow: var(--box-shadow);
}

#documento h2 {
  font-size: 2rem; /* Tamaño base del título */
  font-weight: 700;
  color: white; /* Cambiar a blanco para contraste */
  margin-bottom: 20px;
}

#documento p {
  font-size: 1.2rem;
  color: white; /* Texto blanco para resaltar sobre el fondo */
  margin-bottom: 40px;
}

#documento iframe {
  border: 2px solid var(--c-brand-light);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 900px;
  height: 500px; /* Altura base para pantallas grandes */
  transition: var(--transition);
}

#documento iframe:hover {
  border-color: var(--c-brand-light);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#documento .btn-download {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background-color: white; /* Fondo blanco para contrastar con --c-brand */
  color: var(--c-brand); /* Texto del color de la marca */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  transition: var(--transition);
}

#documento .btn-download:hover {
  background-color: var(--c-brand-light); /* Fondo claro de la marca */
  color: white; /* Texto blanco */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Sección documento servicios */
#documento_servicios {
  padding: 50px 15px;
  background-color: #fff; /* Fondo sólido del color --c-brand */
  text-align: center;
  box-shadow: var(--box-shadow);
}

#documento_servicios h2 {
  font-size: 2rem; /* Tamaño base del título */
  font-weight: 700;
  color: #000; /* Cambiar a blanco para contraste */
  margin-bottom: 20px;
}

#documento_servicios p {
  font-size: 1.2rem;
  color: #727272; /* Texto blanco para resaltar sobre el fondo */
  margin-bottom: 40px;
}

#documento_servicios iframe {
  border: 2px solid var(--c-brand-light);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 900px;
  height: 500px; /* Altura base para pantallas grandes */
  transition: var(--transition);
}

#documento_servicios iframe:hover {
  border-color: var(--c-brand-light);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#documento_servicios .btn-download {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background-color: var(
    --c-brand
  ); /* Fondo blanco para contrastar con --c-brand */
  color: #000; /* Texto del color de la marca */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  transition: var(--transition);
}

#documento_servicios .btn-download:hover {
  background-color: #727272; /* Fondo claro de la marca */
  color: white; /* Texto blanco */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Reglas responsivas */
@media (max-width: 1024px) {
  #documento h2 {
    font-size: 2rem; /* Reducir el tamaño del título en pantallas medianas */
  }

  #documento iframe {
    height: 400px; /* Reducir la altura del iframe */
  }

  #documento .btn-download {
    padding: 10px 20px; /* Botón más compacto */
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  #documento {
    padding: 30px 10px; /* Reducir el padding en pantallas pequeñas */
  }

  #documento h2 {
    font-size: 1.8rem; /* Tamaño más pequeño del título */
  }

  #documento p {
    font-size: 1rem; /* Reducir el tamaño del texto descriptivo */
  }

  #documento iframe {
    height: 300px; /* Reducir más la altura del iframe */
  }

  #documento .btn-download {
    padding: 8px 15px; /* Botón más compacto */
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  #documento h2 {
    font-size: 1.5rem; /* Ajustar el título en móviles */
  }

  #documento iframe {
    height: 250px; /* Altura del iframe en pantallas muy pequeñas */
  }

  #documento .btn-download {
    padding: 6px 10px;
    font-size: 0.8rem; /* Botón más pequeño para móviles */
  }
}

/* === Miniaturas iguales en la sección Servicios === */
.image-fixed-height {
  height: 650px; /* Misma altura para todas las imágenes */
  overflow: hidden;
}

/* Imágenes recortadas */
.fixed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ajuste en móviles */
@media (max-width: 576px) {
  .image-fixed-height {
    height: 200px;
  }
}

/* === Modal adaptable y responsive sin fondo === */

/* Controla el ancho y centra el modal */
.modal-dialog {
  max-width: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Adapta el modal al ancho de la imagen */
.modal-content {
  width: auto !important;
  max-width: 95vw;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Centra y limita el alto de la imagen */
.modal-body {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 90vh;
  overflow: hidden;
}

/* Imagen perfectamente ajustada al modal y pantalla */
.modal-body img {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
}

/* Footer visible y centrado */
.modal-footer {
  justify-content: center;
  border-top: none;
}

/* Responsivo móvil */
@media (max-width: 576px) {
  .modal-content {
    max-width: 100vw;
  }
  .modal-body img {
    max-width: 100vw;
    max-height: 85vh;
  }
}

/* ==========================================================================
   AESST Modern refresh inspired by performance/gaming design systems
   ========================================================================== */

:root {
  --c-black: #f4fbf6;
  --c-black-soft: #edf7f0;
  --c-surface: #ffffff;
  --c-surface-2: #f7fcf8;
  --c-border: rgba(52, 103, 72, 0.12);
  --c-text: #173221;
  --c-text-soft: #5d7466;
  --c-brand-bright: #8bd868;
  --c-brand-glow: rgba(139, 216, 104, 0.22);
  --box-shadow: 0 20px 50px rgba(77, 125, 94, 0.12);
  --aesst-header-height: 88px;
  --aesst-nav-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--c-text-soft);
  background:
    radial-gradient(circle at top, rgba(var(--c-brand-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, #f8fcf9 0%, #f3faf5 48%, #eef7f1 100%);
}

.site-main {
  background: transparent;
  padding-top: calc(var(--aesst-header-height) + var(--aesst-nav-height));
}

.aesst-showcase {
  position: relative;
}

.section-title .line {
  width: 88px;
  height: 4px;
  margin: 1rem auto 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-brand-bright));
  box-shadow: 0 0 24px var(--c-brand-glow);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.section-title h1,
.section-title h2 {
  color: var(--c-text);
  letter-spacing: -0.03em;
}

p,
li,
span,
.section-title p {
  color: var(--c-text-soft);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1035;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(18px);
  background: rgba(248, 252, 249, 0.92) !important;
}

.logo {
  gap: 0.5rem;
}

.logo img {
  filter: drop-shadow(0 0 20px rgba(var(--c-brand-rgb), 0.2));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-copy strong {
  color: var(--c-text);
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand-kicker {
  color: var(--c-brand);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.header-top {
  gap: 1rem;
  align-items: center;
}

.header-congress-banner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  width: min(100%, 980px);
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(var(--c-brand-rgb), 0.24);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at right, rgba(var(--c-brand-rgb), 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 243, 0.96));
  box-shadow: 0 18px 38px rgba(68, 107, 82, 0.12);
  animation: congressBannerFloat 5.4s ease-in-out infinite;
}

.header-congress-banner::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -18%;
  width: 28%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.52),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(16deg);
  pointer-events: none;
  animation: congressBannerShine 3.8s ease-in-out infinite;
}

.header-congress-banner--inline {
  flex: 0 1 620px;
  min-width: 280px;
  max-width: 620px;
  margin: 0 auto;
  padding: 0.55rem 0.9rem;
  gap: 0.16rem;
  align-items: center;
  text-align: center;
}

.header-congress-banner:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(68, 107, 82, 0.16);
}

.header-congress-banner strong {
  color: var(--c-text);
  font-size: 1.05rem;
  line-height: 1.15;
  text-wrap: balance;
}

.header-congress-banner--inline strong {
  font-size: 0.78rem;
  line-height: 1.08;
}

.header-congress-banner__eyebrow,
.header-congress-banner__cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-congress-banner__eyebrow {
  padding: 0.32rem 0.72rem;
  background: rgba(var(--c-brand-rgb), 0.1);
  color: var(--c-brand);
}

.header-congress-banner__cta {
  padding: 0;
  color: var(--c-text);
}

.header-congress-banner--inline .header-congress-banner__eyebrow,
.header-congress-banner--inline .header-congress-banner__cta {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}

.header-congress-banner--inline .header-congress-banner__eyebrow {
  padding: 0.24rem 0.62rem;
}

.header-congress-banner--inline .header-congress-banner__cta {
  opacity: 0.88;
}

@keyframes congressBannerFloat {
  0%,
  100% {
    box-shadow: 0 18px 38px rgba(68, 107, 82, 0.12);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 22px 44px rgba(68, 107, 82, 0.18);
    transform: translateY(-2px);
  }
}

@keyframes congressBannerShine {
  0% {
    left: -30%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  44% {
    left: 112%;
    opacity: 0.9;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

.icon-item {
  padding: 0.65rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.icon-item span {
  color: var(--c-text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--c-brand-rgb), 0.45);
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-bright) 100%);
  color: #10311c;
  font-weight: 700;
  box-shadow: 0 0 26px var(--c-brand-glow);
}

.header-cta:hover {
  color: #10311c;
  transform: translateY(-1px);
}

.custom-navbar {
  position: fixed;
  top: var(--aesst-header-height);
  left: 0;
  right: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: none;
}

.custom-navbar .nav-item .nav-link {
  padding: 0.8rem 1rem;
  color: #365243 !important;
  border-radius: 999px;
}

.custom-navbar .nav-item .nav-link:hover,
.custom-navbar .nav-item .nav-link.active {
  color: var(--c-text) !important;
  background: rgba(var(--c-brand-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--c-brand-rgb), 0.2);
}

.navbar-nav .dropdown {
  position: relative;
}

.navbar-nav .dropdown:hover .dropdown-menu,
.navbar-nav .dropdown:focus-within .dropdown-menu {
  display: block;
  top: 100%;
  margin-top: 0;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--box-shadow);
}

.navbar-nav .dropdown-menu .dropdown-item {
  color: var(--c-text-soft);
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background: rgba(var(--c-brand-rgb), 0.12);
  color: var(--c-text);
}

#hero.custom-hero {
  min-height: calc(100vh - 130px);
  isolation: isolate;
}

#hero.custom-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(244, 251, 246, 0.9) 0%, rgba(244, 251, 246, 0.52) 42%, rgba(244, 251, 246, 0.78) 100%),
      radial-gradient(circle at 18% 30%, rgba(var(--c-brand-rgb), 0.14), transparent 28%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-visual-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(110, 160, 126, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 160, 126, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 58%, transparent 96%);
  opacity: 0.72;
  animation: gridShift 16s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  animation: heroFloat 14s ease-in-out infinite;
}

.hero-orb-one {
  top: 10%;
  left: 10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(108, 212, 112, 0.38), rgba(108, 212, 112, 0));
}

.hero-orb-two {
  right: 8%;
  top: 14%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(183, 225, 145, 0.36), rgba(183, 225, 145, 0));
  animation-duration: 18s;
}

.hero-orb-three {
  right: 24%;
  bottom: 6%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(62, 152, 93, 0.24), rgba(62, 152, 93, 0));
  animation-duration: 12s;
}

.hero-pillars {
  position: absolute;
  left: 18%;
  top: 12%;
  display: flex;
  gap: 1.1rem;
  align-items: flex-end;
  opacity: 0.95;
}

.hero-pillars span {
  display: block;
  width: clamp(24px, 3vw, 40px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(174, 233, 116, 0.6), rgba(76, 167, 92, 0.12));
  box-shadow: 0 0 28px rgba(139, 216, 104, 0.18);
  animation: pillarPulse 5.4s ease-in-out infinite;
}

.hero-pillars span:nth-child(1) {
  height: clamp(220px, 28vw, 310px);
}

.hero-pillars span:nth-child(2) {
  height: clamp(320px, 38vw, 430px);
  animation-delay: 0.6s;
}

.hero-pillars span:nth-child(3) {
  height: clamp(250px, 31vw, 350px);
  animation-delay: 1.2s;
}

.hero-pillars span:nth-child(4) {
  height: clamp(180px, 22vw, 260px);
  animation-delay: 1.8s;
}

.hero-wordmark {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: 18%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.8vw, 5.2rem);
  line-height: 0.95;
  color: rgba(28, 48, 37, 0.34);
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
  max-width: 46%;
}

.hero-wordmark::after {
  content: "";
  position: absolute;
  inset: auto -2rem 8% auto;
  width: clamp(220px, 24vw, 360px);
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--c-brand-rgb), 0), rgba(var(--c-brand-rgb), 0.6), rgba(var(--c-brand-rgb), 0));
  box-shadow: 0 0 24px rgba(var(--c-brand-rgb), 0.22);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::before {
  right: 12%;
  top: 28%;
  width: 34%;
  height: 34%;
  border: 1px solid rgba(var(--c-brand-rgb), 0.14);
  transform: rotate(-14deg);
}

.hero-visual::after {
  right: 4%;
  bottom: 10%;
  width: 28%;
  height: 28%;
  border: 1px solid rgba(var(--c-brand-rgb), 0.1);
  transform: rotate(-14deg);
}

.hero-overlay-content {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 6vw, 5rem);
  right: clamp(1.25rem, 8vw, 10rem);
  bottom: clamp(2rem, 10vh, 5rem);
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(var(--c-brand-rgb), 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--c-brand);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-overlay-content h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  text-transform: none;
  text-wrap: balance;
}

.hero-overlay-content p {
  max-width: 640px;
  margin-bottom: 1.5rem;
  color: rgba(23, 50, 33, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-bright) 100%);
  color: #10311c;
  box-shadow: 0 0 28px var(--c-brand-glow);
}

.hero-btn-secondary {
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--c-text);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes pillarPulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.78;
  }
  50% {
    transform: scaleY(1.06);
    opacity: 1;
  }
}

@keyframes gridShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(10px, -10px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.custom-accordion-container,
#services,
#team,
#blog,
#pricing,
#documento,
.custom-clients,
.custom-stats {
  position: relative;
}

.custom-accordion-container,
#services .container,
#team .container,
#blog .container,
#pricing .container,
#documento .container,
.custom-clients .container {
  position: relative;
  z-index: 1;
}

.custom-accordion-container,
#services,
#team,
#blog,
#pricing,
#documento {
  margin-inline: clamp(0.75rem, 2vw, 2rem);
  border: 1px solid var(--c-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.76)),
    linear-gradient(180deg, rgba(247, 252, 248, 0.98), rgba(240, 248, 242, 0.98));
  box-shadow: var(--box-shadow);
}

.custom-accordion-container {
  margin-top: -3rem !important;
  padding-block: 2rem;
}

.custom-accordion .accordion-item,
#services.custom-services .service,
.pricing .pricing-item,
#blog .team-member,
#team .team-member {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 244, 0.98));
  box-shadow: none;
}

.custom-accordion .accordion-button,
.custom-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(var(--c-brand-rgb), 0.2), rgba(var(--c-brand-rgb), 0.1));
  color: var(--c-text);
}

.custom-accordion .accordion-body {
  background: transparent;
  border-top: 1px solid var(--c-border);
}

#services.custom-services .service::after {
  background: linear-gradient(135deg, rgba(var(--c-brand-rgb), 0.35), transparent);
}

#services.custom-services .service:hover::after {
  background: linear-gradient(135deg, rgba(var(--c-brand-rgb), 0.85), rgba(var(--c-brand-rgb), 0.15));
}

#services.custom-services .service:hover h5,
#services.custom-services .service:hover p {
  color: white;
}

.btn-custom,
.pricing .pricing-item .cta-btn,
#documento .btn-download,
.modal-footer .btn-primary {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-bright) 100%);
  color: #10311c;
  border: 0;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(var(--c-brand-rgb), 0.26);
}

.btn-custom:hover,
.pricing .pricing-item .cta-btn:hover,
#documento .btn-download:hover,
.modal-footer .btn-primary:hover {
  color: #10311c;
  transform: translateY(-2px);
}

.pricing .pricing-item {
  height: 100%;
}

.pricing .featured {
  border-color: rgba(var(--c-brand-rgb), 0.5);
  box-shadow: 0 0 0 1px rgba(var(--c-brand-rgb), 0.2), 0 0 32px rgba(var(--c-brand-rgb), 0.16);
}

.pricing .featured .popular {
  color: #041107;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-bright) 100%);
}

#estadísticas.custom-stats {
  border-radius: 28px;
  margin-inline: clamp(0.75rem, 2vw, 2rem);
  border: 1px solid rgba(var(--c-brand-rgb), 0.18);
  background:
    linear-gradient(135deg, rgba(104, 170, 120, 0.76), rgba(64, 126, 83, 0.7)),
    url(../img/aspiramos\ la\ exelencia.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: var(--box-shadow);
}

#team.custom-team .team-member-content {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(var(--c-brand-rgb), 0.92), rgba(var(--c-brand-rgb), 0.68));
}

.image-zoom-wrapper {
  border-radius: 24px;
}

#clients.custom-clients .client-logo {
  min-height: 140px;
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
}

#clients.custom-clients .client-logo img {
  opacity: 0.72;
  filter: grayscale(100%) brightness(1.05);
}

#clients.custom-clients .client-logo:hover {
  border-color: rgba(var(--c-brand-rgb), 0.24);
}

#documento {
  background:
    radial-gradient(circle at top, rgba(var(--c-brand-rgb), 0.16), transparent 38%),
    linear-gradient(180deg, rgba(247, 252, 248, 0.98), rgba(239, 247, 241, 0.98));
}

#documento h2 {
  color: var(--c-text);
}

#documento p {
  color: var(--c-text-soft);
}

#documento iframe {
  border-color: rgba(var(--c-brand-rgb), 0.35);
}

.modal-content {
  border: 1px solid var(--c-border) !important;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 244, 0.98)) !important;
}

.modal-header {
  background: transparent;
  border-bottom: 1px solid var(--c-border);
}

.modal-title,
.modal-body,
.modal-body * {
  color: var(--c-text);
}

.btn-close {
  filter: none;
}

footer.custom-footer {
  margin: 2rem;
  border: 1px solid var(--c-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 244, 0.98)) !important;
}

footer.custom-footer h6,
footer.custom-footer p,
footer.custom-footer a {
  color: var(--c-text) !important;
}

footer.custom-footer a:hover {
  color: var(--c-brand-bright) !important;
  text-decoration: none;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 46px);
  gap: 0.8rem;
  justify-content: start;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-icon svg {
  fill: #ffffff !important;
  opacity: 1;
}

.social-icon:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.16);
  filter: saturate(1.05);
}

.social-facebook {
  background: #3b5998;
}

.social-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-linkedin {
  background: #0a66c2;
}

.social-tiktok {
  background: linear-gradient(135deg, #0f0f0f, #181818);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-x {
  background: linear-gradient(135deg, #111111, #242424);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-threads {
  background: linear-gradient(135deg, #111111, #242424);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#backToTopBtn {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-brand-bright) 100%);
  color: #031006;
  box-shadow: 0 0 24px rgba(var(--c-brand-rgb), 0.28);
}

hr {
  background: linear-gradient(90deg, transparent, rgba(var(--c-brand-rgb), 0.65), transparent);
  opacity: 1;
}

@media (max-width: 991.98px) {
  :root {
    --aesst-header-height: auto;
    --aesst-nav-height: 68px;
  }

  .site-main {
    padding-top: 0;
  }

  .header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    padding-top: 1rem;
  }

  .custom-navbar {
    top: 0;
    min-height: var(--aesst-nav-height);
  }

  .custom-navbar .container-fluid {
    justify-content: flex-end;
  }

  .header .logo {
    margin-top: calc(var(--aesst-nav-height) + 0.5rem);
    margin-bottom: 1rem !important;
  }

  .header .logo a {
    display: inline-flex;
    justify-content: center;
  }

  .header .logo img {
    max-height: 58px !important;
    width: auto;
  }

  .header-top {
    align-items: center;
  }

  .navbar-toggler {
    border: 1px solid rgba(var(--c-brand-rgb), 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(77, 125, 94, 0.12);
    padding: 0.55rem 0.75rem;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--c-brand-rgb), 0.18);
  }

  .custom-navbar .navbar-collapse {
    margin-top: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--c-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--box-shadow);
    overflow: hidden;
  }

  .custom-navbar .navbar-nav,
  .custom-navbar .nav-item,
  .custom-navbar .navbar-nav .dropdown {
    width: 100%;
  }

  .custom-navbar .navbar-nav .dropdown-menu {
    position: static;
    inset: auto;
    display: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0.65rem;
    padding: 0.5rem;
    border: 1px solid var(--c-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
  }

  .custom-navbar .navbar-nav .dropdown-menu.show,
  .custom-navbar .navbar-nav .dropdown.show .dropdown-menu,
  .custom-navbar .navbar-nav .dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .custom-navbar .navbar-nav .dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.8rem 0.9rem;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
    text-align: left;
  }

  .brand-copy {
    display: flex;
    margin-left: 0.75rem !important;
  }

  .header-congress-banner {
    width: 100%;
  }

  .header-congress-banner--inline {
    flex: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    margin-top: 0.35rem;
    max-width: none;
    padding: 0.85rem 1rem;
  }

  .info {
    margin-top: 0.75rem;
  }

  .header-cta {
    margin-top: 0.5rem;
  }
  .hero-overlay-content {
    right: 1.25rem;
  }

  .hero-wordmark {
    right: 1.5rem;
    top: 20%;
    font-size: clamp(2rem, 6vw, 3.6rem);
    max-width: 48%;
  }

  .hero-pillars {
    left: 12%;
    top: 14%;
  }
}

@media (max-width: 767.98px) {
  .header {
    padding-top: 0.75rem;
    padding-bottom: 0.85rem;
  }

  .header .logo {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: calc(var(--aesst-nav-height) + 0.25rem);
    margin-bottom: 0.7rem !important;
  }

  .header-congress-banner {
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
  }

  .header-congress-banner--inline {
    flex: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0.72rem 0.85rem;
  }

  .header-congress-banner strong {
    font-size: 0.82rem;
    max-width: 18rem;
  }

  .header-congress-banner__cta {
    margin-top: 0.08rem;
  }

  .info {
    width: 100%;
    margin-top: 0.65rem;
    justify-content: center !important;
  }

  .icon-item {
    margin-right: 0 !important;
  }

  .brand-copy strong {
    font-size: 0.84rem;
  }

  .brand-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .custom-accordion-container,
  #services,
  #team,
  #blog,
  #pricing,
  #documento,
  #estadísticas.custom-stats,
  footer.custom-footer {
    margin-inline: 0.75rem;
    border-radius: 22px;
  }

  .hero-overlay-content h1 {
    font-size: clamp(2.4rem, 13vw, 3.8rem);
  }

  .hero-wordmark {
    right: 1rem;
    left: 46%;
    top: 16%;
    font-size: clamp(1.8rem, 7vw, 2.55rem);
    max-width: none;
    opacity: 0.88;
  }

  .hero-pillars {
    left: 8%;
    top: 12%;
    gap: 0.6rem;
  }

  .hero-pillars span {
    width: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
  }

  footer.custom-footer .row {
    text-align: center;
  }

  .social-grid {
    justify-content: center;
    margin-inline: auto;
  }
}

/* ==========================================================================
   AESST legacy pages modern shell
   ========================================================================== */

.legacy-page-shell {
  padding: clamp(2rem, 5vw, 4rem) 0 3rem;
}

.legacy-page-hero {
  position: relative;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--c-border);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(var(--c-brand-rgb), 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 243, 0.96));
  box-shadow: var(--box-shadow);
}

.legacy-page-eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(var(--c-brand-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--c-brand-rgb), 0.08);
  color: var(--c-brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legacy-page-title {
  margin-bottom: 0.85rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.legacy-page-summary {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 1.05rem;
  color: rgba(23, 50, 33, 0.82);
}

.legacy-page-content > *:first-child {
  margin-top: 0 !important;
}

.aesst-legacy-page .container,
.aesst-legacy-page .container-contact {
  max-width: min(1180px, calc(100% - 1.5rem));
}

.aesst-legacy-page section,
.aesst-legacy-page .container.pt-5.custom-nosotros,
.aesst-legacy-page .custom-contact,
.aesst-legacy-page #subscripcion {
  position: relative;
}

.aesst-legacy-page .custom-nosotros,
.aesst-legacy-page .custom-contact,
.aesst-legacy-page .team.section,
.aesst-legacy-page .pricing,
.aesst-legacy-page .custom-services,
.aesst-legacy-page .map-container,
.aesst-legacy-page #subscripcion {
  margin-inline: clamp(0.75rem, 2vw, 2rem);
  margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--c-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 244, 0.98));
  box-shadow: var(--box-shadow);
}

.aesst-legacy-page .custom-nosotros {
  max-width: min(1180px, calc(100% - 1.5rem));
  margin-left: auto;
  margin-right: auto;
}

.aesst-legacy-page .custom-services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 243, 0.96)) !important;
}

.aesst-legacy-page .section-title,
.aesst-legacy-page .row.text-center.mb-4 {
  margin-bottom: 2rem !important;
}

.aesst-legacy-page .aspiracion {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(var(--c-brand-rgb), 0.08);
  color: var(--c-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aesst-legacy-page .card,
.aesst-legacy-page .mision.card,
.aesst-legacy-page .team .member,
.aesst-legacy-page .pricing-item {
  border: 1px solid rgba(var(--c-brand-rgb), 0.12) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #ffffff, #f4faf6) !important;
  box-shadow: 0 18px 45px rgba(66, 112, 84, 0.1) !important;
}

.aesst-legacy-page .card-body,
.aesst-legacy-page .pricing-item,
.aesst-legacy-page .member-info {
  color: var(--c-text-soft);
}

.aesst-legacy-page .card-title,
.aesst-legacy-page .pricing h3,
.aesst-legacy-page .pricing h4,
.aesst-legacy-page .member-info h4,
.aesst-legacy-page h2,
.aesst-legacy-page h3,
.aesst-legacy-page h4,
.aesst-legacy-page h5 {
  color: var(--c-text);
}

.aesst-legacy-page .image-container,
.aesst-legacy-page .image-fixed-height,
.aesst-legacy-page .member-img {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(68, 107, 82, 0.14);
}

.aesst-legacy-page .team-divider,
.aesst-legacy-page hr {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.5rem auto;
}

.aesst-legacy-page .contact-info-wrapper {
  padding: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.aesst-legacy-page .contact-info-wrapper h2,
.aesst-legacy-page .contact-info-wrapper h4,
.aesst-legacy-page .contact-info-wrapper p,
.aesst-legacy-page .contact-info-wrapper a,
.aesst-legacy-page .contact-info-wrapper address {
  color: #eff9f0 !important;
}

.aesst-legacy-page .contact-info-wrapper svg {
  fill: var(--c-brand-bright) !important;
}

.aesst-legacy-page .form-control,
.aesst-legacy-page .input-group-text,
.aesst-legacy-page textarea {
  border-color: rgba(var(--c-brand-rgb), 0.18);
  border-radius: 16px;
  background: rgba(247, 252, 248, 0.98);
  color: var(--c-text);
}

.aesst-legacy-page .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.aesst-legacy-page .input-group .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.aesst-legacy-page .form-control:focus,
.aesst-legacy-page textarea:focus {
  border-color: rgba(var(--c-brand-rgb), 0.4);
  box-shadow: 0 0 0 0.25rem rgba(var(--c-brand-rgb), 0.12);
}

.aesst-legacy-page .map-container iframe {
  width: 100%;
  height: min(70vh, 560px);
  min-height: 420px;
  border: 0;
  border-radius: 22px;
}

.aesst-legacy-page--contacto .map-container {
  max-width: min(1180px, calc(100% - 1.5rem));
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  display: block;
  height: auto;
  padding-bottom: 1rem;
}

.aesst-legacy-page #titulo-mapa,
.aesst-legacy-page #parrafo-mapa {
  text-align: center;
}

.aesst-legacy-page--contacto .map-container .row,
.aesst-legacy-page--contacto .map-container .col {
  margin: 0;
  padding: 0;
}

.aesst-legacy-page--contacto .map-container iframe {
  position: relative;
  display: block;
  top: auto;
  left: auto;
  width: 100%;
  height: 560px;
  min-height: 560px;
}

@media (max-width: 767.98px) {
  .aesst-legacy-page--contacto .map-container iframe {
    height: 360px;
    min-height: 360px;
  }
}

.aesst-legacy-page .float-whatsapp-button {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  z-index: 1025;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3bab05, #8bd868);
  color: #07200f !important;
  box-shadow: 0 18px 32px rgba(59, 171, 5, 0.28);
}

.aesst-legacy-page .float-whatsapp-button:hover {
  transform: translateY(-2px);
}

.aesst-legacy-page .social a[href="#"],
.aesst-legacy-page .social a[href=""] {
  pointer-events: none;
  opacity: 0.45;
}

.aesst-legacy-page--equipo .team.section,
.aesst-legacy-page--servicios .custom-services,
.aesst-legacy-page--subscripcion #pricing,
.aesst-legacy-page--contacto .custom-contact {
  margin-top: 0;
}

@media (max-width: 767.98px) {
  .legacy-page-hero,
  .aesst-legacy-page .custom-nosotros,
  .aesst-legacy-page .custom-contact,
  .aesst-legacy-page .team.section,
  .aesst-legacy-page .pricing,
  .aesst-legacy-page .custom-services,
  .aesst-legacy-page .map-container,
  .aesst-legacy-page #subscripcion {
    margin-inline: 0.75rem;
    padding: 1.25rem;
    border-radius: 22px;
  }

  .aesst-legacy-page .member-img {
    width: min(240px, 76vw);
    margin-inline: auto;
  }

  .aesst-legacy-page .team .member .member-img {
    margin: 0 auto;
  }

  .aesst-legacy-page .team .member .member-img img {
    object-position: center top;
  }

  .aesst-legacy-page .float-whatsapp-button {
    right: 1rem;
    bottom: 5rem;
  }
}

/* ==========================================================================
   Congreso AESST 2026
   ========================================================================== */

.aesst-congress-page {
  --congress-bg: #f3f8f1;
  --congress-surface: rgba(255, 255, 255, 0.82);
  --congress-surface-strong: rgba(255, 255, 255, 0.96);
  --congress-surface-deep: linear-gradient(180deg, rgba(21, 48, 33, 0.98), rgba(16, 36, 25, 0.96));
  --congress-text: #183325;
  --congress-text-soft: rgba(24, 51, 37, 0.72);
  --congress-border: rgba(59, 171, 5, 0.16);
  --congress-border-strong: rgba(136, 230, 77, 0.26);
  --congress-shadow: 0 28px 90px rgba(50, 87, 62, 0.12);
  background:
    radial-gradient(circle at top left, rgba(142, 201, 120, 0.18), transparent 26%),
    radial-gradient(circle at 80% 15%, rgba(59, 171, 5, 0.12), transparent 20%),
    linear-gradient(180deg, #f7fbf6 0%, #edf5ef 100%);
}

.aesst-congress-page .container {
  width: min(1680px, calc(100vw - 3rem));
  max-width: none;
}

.congress-hero,
.congress-highlights,
.congress-details,
.congress-support,
.congress-contact,
.congress-program,
.congress-story,
.congress-gallery,
.congress-cta {
  position: relative;
  padding: clamp(2rem, 7vw, 5.5rem) 0;
}

.congress-hero {
  overflow: clip;
  padding-top: clamp(2rem, 6vw, 4rem);
}

.congress-hero__grid,
.congress-story__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.congress-hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.congress-hero__content,
.congress-hero__visual,
.congress-story__media,
.congress-story__content,
.congress-cta__panel,
.congress-card,
.congress-stack__item {
  border: 1px solid var(--congress-border);
  background: var(--congress-surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--congress-shadow);
}

.congress-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: 34px;
}

.congress-eyebrow,
.congress-section-heading span,
.congress-section-kicker,
.congress-stack__item span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(var(--c-brand-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--c-brand-rgb), 0.08);
  color: var(--c-brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.congress-hero__content h1,
.congress-section-heading h2,
.congress-story__content h2,
.congress-cta__panel h2 {
  color: var(--congress-text);
  text-wrap: balance;
}

.congress-hero__content h1 {
  margin: 1rem 0 1.15rem;
  font-size: clamp(3rem, 7vw, 6.15rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.congress-hero__lead {
  max-width: 44rem;
  margin-bottom: 1rem;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--congress-text);
}

.congress-hero__copy,
.congress-section-heading p,
.congress-story__content > p,
.congress-card p,
.congress-stack__item p,
.congress-cta__panel p {
  color: var(--congress-text-soft);
}

.congress-hero__copy {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.congress-hero__actions,
.congress-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.congress-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.congress-btn--primary {
  background: linear-gradient(135deg, var(--c-brand) 0%, #a2ef77 100%);
  color: #0a2012;
  box-shadow: 0 20px 40px rgba(59, 171, 5, 0.24);
}

.congress-btn--secondary {
  border: 1px solid var(--congress-border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--congress-text);
}

.congress-btn:hover {
  color: inherit;
  transform: translateY(-2px);
}

.congress-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.75rem;
}

.congress-stat {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(var(--c-brand-rgb), 0.12);
  border-radius: 22px;
  background: var(--congress-surface-strong);
}

.congress-stat strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--congress-text);
  font-size: 1.45rem;
  line-height: 1;
}

.congress-stat span {
  color: var(--congress-text-soft);
  font-size: 0.92rem;
}

.congress-hero__visual {
  position: relative;
  min-height: clamp(420px, 58vw, 740px);
  padding: clamp(1rem, 1.6vw, 1.35rem);
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.82), transparent 44%),
    linear-gradient(180deg, rgba(244, 250, 245, 0.92), rgba(232, 242, 234, 0.88));
}

.congress-hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.65;
  pointer-events: none;
}

.congress-hero__glow--one {
  top: 6%;
  right: 12%;
  width: 180px;
  height: 180px;
  background: rgba(59, 171, 5, 0.18);
}

.congress-hero__glow--two {
  left: -4%;
  bottom: 6%;
  width: 220px;
  height: 220px;
  background: rgba(180, 237, 146, 0.28);
}

.congress-hero__mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.congress-shot {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 242, 0.96));
  box-shadow: 0 22px 50px rgba(56, 88, 67, 0.18);
}

.congress-shot img,
.congress-story__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.congress-shot img {
  height: auto;
}

.congress-gallery__item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.congress-shot--1 {
  min-height: 0;
}

.congress-shot--2,
.congress-shot--3,
.congress-shot--4,
.congress-shot--5,
.congress-shot--6 {
  min-height: 0;
}

.congress-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.congress-section-heading h2,
.congress-story__content h2,
.congress-cta__panel h2 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.congress-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.congress-card {
  padding: 1.5rem;
  border-radius: 28px;
  grid-column: span 4;
}

.congress-card__index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: rgba(24, 51, 37, 0.34);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.congress-card h3,
.congress-stack__item h3 {
  margin-bottom: 0.75rem;
  color: var(--congress-text);
  font-size: 1.35rem;
}

.congress-story__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.congress-story__media {
  min-height: clamp(520px, 46vw, 760px);
  padding: 0.85rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 45%),
    linear-gradient(180deg, rgba(247, 251, 247, 0.98), rgba(236, 244, 238, 0.98));
}

.congress-story__media img {
  border-radius: 28px;
}

.congress-story__content {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 34px;
}

.congress-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.congress-stack__item {
  padding: 1.25rem;
  border-radius: 24px;
}

.congress-stack__item span {
  margin-bottom: 0.85rem;
}

.congress-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.congress-gallery__item {
  width: 100%;
  overflow: hidden;
  padding: 0.45rem;
  border: 1px solid var(--congress-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.92), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 242, 0.98));
  box-shadow: 0 18px 42px rgba(60, 96, 72, 0.1);
}

.congress-gallery__item--1,
.congress-gallery__item--5 {
  min-height: 0;
}

.congress-gallery__item--2,
.congress-gallery__item--4,
.congress-gallery__item--6 {
  min-height: 0;
}

.congress-gallery__item--3 {
  min-height: 0;
}

.congress-details .congress-card:nth-child(4n + 1),
.congress-contact .congress-card:nth-child(4n + 1) {
  background:
    radial-gradient(circle at top right, rgba(59, 171, 5, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 243, 0.98));
}

.congress-details .congress-card,
.congress-contact .congress-card {
  grid-column: span 3;
}

.congress-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.congress-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  border: 1px solid var(--congress-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--congress-text);
  box-shadow: 0 18px 42px rgba(60, 96, 72, 0.08);
}

.congress-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand), #a2ef77);
  box-shadow: 0 0 0 6px rgba(59, 171, 5, 0.12);
}

.congress-program {
  overflow: clip;
}

.congress-program .congress-section-heading {
  max-width: 880px;
}

.congress-program__day {
  position: relative;
  margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid var(--congress-border-strong);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(117, 223, 65, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(19, 42, 29, 0.98), rgba(12, 29, 20, 0.98));
  box-shadow: 0 30px 70px rgba(14, 33, 23, 0.24);
  overflow: hidden;
}

.congress-program__day::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 2rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(162, 239, 119, 0.08), rgba(162, 239, 119, 0.45), rgba(162, 239, 119, 0.08));
}

.congress-program__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(162, 239, 119, 0.16);
}

.congress-program__header .congress-section-kicker {
  background: rgba(162, 239, 119, 0.08);
  border-color: rgba(162, 239, 119, 0.22);
  color: #a2ef77;
}

.congress-program__header h3,
.congress-program__header p {
  grid-column: 1 / -1;
}

.congress-program__header h3 {
  margin: 0;
  color: #f7fff8;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.congress-program__header p {
  margin: 0;
  color: rgba(232, 245, 236, 0.74);
  max-width: 50rem;
}

.congress-program__table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.congress-program__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  padding-left: 3rem;
  border: 1px solid rgba(162, 239, 119, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.congress-program__row::before {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 1.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a2ef77;
  box-shadow: 0 0 0 8px rgba(162, 239, 119, 0.12);
}

.congress-program__row:hover {
  transform: translateY(-3px);
  border-color: rgba(162, 239, 119, 0.28);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.congress-program__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--c-brand) 0%, #a2ef77 100%);
  color: #0b2013;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 14px 28px rgba(59, 171, 5, 0.24);
}

.congress-program__info h4 {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.15;
}

.congress-program__info p {
  margin: 0;
  color: rgba(233, 246, 237, 0.76);
  font-size: 0.98rem;
}

.congress-cta {
  padding-bottom: 5rem;
}

.congress-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(59, 171, 5, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 244, 0.96));
}

@media (max-width: 991.98px) {
  .congress-hero__grid,
  .congress-story__grid,
  .congress-card-grid,
  .congress-cta__panel {
    grid-template-columns: 1fr;
  }

  .congress-details .congress-card,
  .congress-contact .congress-card,
  .congress-card {
    grid-column: span 1;
  }

  .congress-hero__visual,
  .congress-story__media {
    min-height: auto;
  }

  .congress-hero__mosaic {
    min-height: auto;
  }

  .congress-gallery__item--1,
  .congress-gallery__item--2,
  .congress-gallery__item--3,
  .congress-gallery__item--4,
  .congress-gallery__item--5,
  .congress-gallery__item--6 {
    min-height: 0;
  }

  .congress-program__header,
  .congress-program__row {
    grid-template-columns: 1fr;
  }

  .congress-program__row {
    padding-left: 1rem;
  }

  .congress-program__row::before,
  .congress-program__day::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .aesst-congress-page .container {
    width: calc(100vw - 1rem);
  }

  .congress-hero,
  .congress-highlights,
  .congress-details,
  .congress-support,
  .congress-contact,
  .congress-program,
  .congress-story,
  .congress-gallery,
  .congress-cta {
    padding: 1.35rem 0 2rem;
  }

  .congress-hero__content,
  .congress-hero__visual,
  .congress-story__media,
  .congress-story__content,
  .congress-card,
  .congress-stack__item,
  .congress-cta__panel {
    padding: 1.2rem;
    border-radius: 24px;
  }

  .congress-hero__content h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .congress-hero__actions,
  .congress-cta__actions,
  .congress-hero__meta {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .congress-btn {
    width: 100%;
  }

  .congress-hero__mosaic {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .congress-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .congress-gallery__item,
  .congress-gallery__item--1,
  .congress-gallery__item--2,
  .congress-gallery__item--3,
  .congress-gallery__item--4,
  .congress-gallery__item--5,
  .congress-gallery__item--6 {
    min-height: 0;
  }

  .congress-program__day {
    padding: 1rem;
    border-radius: 24px;
  }

  .congress-program__time {
    width: 100%;
  }

  .congress-program__info h4 {
    font-size: 1rem;
  }
}

@media (max-width: 1200px) {
  .congress-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Prevencion 360
   ========================================================================== */

.aesst-podcast-page {
  --podcast-bg: #07120d;
  --podcast-surface: rgba(11, 24, 18, 0.8);
  --podcast-surface-strong: rgba(17, 33, 24, 0.92);
  --podcast-surface-soft: rgba(255, 255, 255, 0.08);
  --podcast-text: #f4fff4;
  --podcast-text-soft: rgba(230, 248, 232, 0.76);
  --podcast-border: rgba(149, 246, 82, 0.16);
  --podcast-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  background:
    radial-gradient(circle at 15% 20%, rgba(123, 255, 0, 0.16), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(0, 153, 73, 0.2), transparent 26%),
    linear-gradient(180deg, #07120d 0%, #0b1811 48%, #050c08 100%);
  color: var(--podcast-text);
}

.aesst-podcast-page .container {
  width: min(1680px, calc(100vw - 3rem));
  max-width: none;
}

.podcast-hero,
.podcast-featured,
.podcast-episodes,
.podcast-cta {
  position: relative;
  padding: clamp(2.4rem, 7vw, 6rem) 0;
}

.podcast-hero {
  overflow: clip;
  padding-top: clamp(2rem, 6vw, 4.5rem);
}

.podcast-hero__grid,
.podcast-featured__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.podcast-hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.podcast-hero__content,
.podcast-hero__visual,
.podcast-featured__panel,
.podcast-player-card,
.podcast-episode-card,
.podcast-feature-list__item,
.podcast-cta__panel {
  border: 1px solid var(--podcast-border);
  background: var(--podcast-surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--podcast-shadow);
}

.podcast-hero__content,
.podcast-featured__panel,
.podcast-player-card,
.podcast-cta__panel {
  border-radius: 34px;
}

.podcast-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.6rem, 3vw, 3rem);
}

.podcast-eyebrow,
.podcast-section-heading span,
.podcast-section-kicker,
.podcast-logo-card__copy span,
.podcast-floating-note span,
.podcast-featured__chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 255, 110, 0.22);
  background: rgba(120, 255, 88, 0.08);
  color: #c8ffa8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.podcast-hero__content h1,
.podcast-section-heading h2,
.podcast-featured__panel h2,
.podcast-cta__panel h2 {
  margin: 1rem 0 1.05rem;
  color: var(--podcast-text);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.podcast-hero__content h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.podcast-hero__lead,
.podcast-hero__copy,
.podcast-section-heading p,
.podcast-featured__panel > p,
.podcast-feature-list__item p,
.podcast-episode-card p,
.podcast-cta__panel p {
  color: var(--podcast-text-soft);
}

.podcast-hero__lead {
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.9vw, 1.32rem);
}

.podcast-hero__copy {
  max-width: 42rem;
  margin-bottom: 1.85rem;
}

.podcast-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.podcast-btn--primary {
  background: linear-gradient(135deg, #7fff4a 0%, #26b53e 45%, #ecffdd 100%);
  color: #08110b;
  box-shadow: 0 22px 44px rgba(73, 190, 68, 0.26);
}

.podcast-btn--secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 255, 181, 0.16);
  color: var(--podcast-text);
}

.podcast-btn:hover {
  color: inherit;
  transform: translateY(-2px);
}

.podcast-hero__actions,
.podcast-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.podcast-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.85rem;
}

.podcast-metric {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 255, 181, 0.12);
}

.podcast-metric strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #d8ffc3;
  font-size: 1.45rem;
  line-height: 1;
}

.podcast-metric span {
  color: var(--podcast-text-soft);
  font-size: 0.92rem;
}

.podcast-hero__visual {
  position: relative;
  min-height: clamp(480px, 58vw, 760px);
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(129, 255, 119, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(10, 18, 13, 0.98), rgba(6, 12, 9, 0.98));
}

.podcast-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.7;
  pointer-events: none;
}

.podcast-hero__orb--one {
  top: 8%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: rgba(134, 255, 61, 0.22);
}

.podcast-hero__orb--two {
  left: -2%;
  bottom: 10%;
  width: 260px;
  height: 260px;
  background: rgba(0, 163, 67, 0.26);
}

.podcast-logo-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  justify-items: center;
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  min-height: 100%;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(121, 255, 95, 0.16), rgba(0, 0, 0, 0));
  border: 1px solid rgba(186, 255, 157, 0.14);
}

.podcast-logo-card img {
  width: min(100%, 350px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.4));
}

.podcast-logo-card__copy {
  max-width: 28rem;
  text-align: center;
}

.podcast-logo-card__copy strong {
  display: block;
  margin: 0.9rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.podcast-logo-card__copy p {
  margin: 0;
  color: var(--podcast-text-soft);
}

.podcast-floating-note {
  position: absolute;
  z-index: 2;
  max-width: 14rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(5, 14, 9, 0.72);
  border: 1px solid rgba(197, 255, 172, 0.12);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.podcast-floating-note strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--podcast-text);
  font-size: 1rem;
}

.podcast-floating-note--top {
  top: 9%;
  left: 4%;
}

.podcast-floating-note--bottom {
  right: 6%;
  bottom: 8%;
}

.podcast-featured__grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.podcast-featured__panel,
.podcast-player-card,
.podcast-cta__panel {
  padding: clamp(1.45rem, 2.8vw, 2.3rem);
}

.podcast-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.podcast-section-heading h2,
.podcast-featured__panel h2,
.podcast-cta__panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.podcast-featured__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.6rem;
}

.podcast-feature-list {
  display: grid;
  gap: 1rem;
}

.podcast-feature-list__item {
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
}

.podcast-feature-list__item h3,
.podcast-episode-card h3 {
  margin-bottom: 0.55rem;
  color: var(--podcast-text);
  font-size: 1.3rem;
}

.podcast-player-card__frame,
.podcast-episode-card__frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
}

.podcast-player-card__frame {
  aspect-ratio: 16 / 9;
}

.podcast-episode-card__frame {
  aspect-ratio: 16 / 9;
  margin-bottom: 1.2rem;
}

.podcast-player-card iframe,
.podcast-episode-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.podcast-jumpbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.7rem;
}

.podcast-jumpbar a,
.podcast-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 255, 145, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #ddffcb;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.podcast-jumpbar a:hover,
.podcast-inline-link:hover {
  color: #08110b;
  background: linear-gradient(135deg, #7fff4a, #d8ffbc);
}

.podcast-episode-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.podcast-episode-card {
  grid-column: span 4;
  padding: 1.25rem;
  border-radius: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.podcast-episode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 255, 171, 0.28);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.34);
}

.podcast-episode-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.podcast-episode-card__topline span {
  color: rgba(206, 255, 185, 0.5);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.podcast-episode-card__topline strong {
  color: #c8ffa8;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.podcast-episode-card__subtitle {
  margin-bottom: 0.65rem;
  color: #edffe2;
  font-weight: 600;
}

.podcast-episode-card__actions {
  margin-top: 1.2rem;
}

.podcast-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(123, 255, 83, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(12, 24, 17, 0.96), rgba(6, 13, 9, 0.96));
}

@media (max-width: 1199.98px) {
  .podcast-hero__grid,
  .podcast-featured__grid {
    grid-template-columns: 1fr;
  }

  .podcast-episode-card {
    grid-column: span 6;
  }
}

@media (max-width: 991.98px) {
  .podcast-hero__metrics {
    grid-template-columns: 1fr;
  }

  .podcast-cta__panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .podcast-floating-note {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .podcast-hero__visual {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .aesst-podcast-page .container {
    width: min(100%, calc(100vw - 1.5rem));
  }

  .podcast-episode-card,
  .podcast-hero__content,
  .podcast-hero__visual,
  .podcast-featured__panel,
  .podcast-player-card,
  .podcast-cta__panel {
    border-radius: 26px;
  }

  .podcast-episode-card {
    grid-column: 1 / -1;
  }

  .podcast-hero__content h1 {
    font-size: clamp(2.45rem, 14vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: pretty;
  }

  .podcast-logo-card {
    padding: 1.15rem;
  }

  .podcast-logo-card img {
    width: min(100%, 260px);
  }

  .podcast-btn,
  .podcast-jumpbar a {
    width: 100%;
  }

  .podcast-hero__actions,
  .podcast-cta__actions {
    flex-direction: column;
  }

  .podcast-hero__content,
  .podcast-hero__visual {
    padding: 1.15rem;
  }

  .podcast-hero__lead,
  .podcast-hero__copy {
    max-width: none;
  }
}

@media (max-width: 479.98px) {
  .aesst-legacy-page .team.section {
    padding-inline: 1rem;
  }

  .aesst-legacy-page .team .member .member-img {
    width: min(220px, 74vw);
  }

  .podcast-hero__content h1 {
    font-size: clamp(2.2rem, 13vw, 3.2rem);
  }

  .podcast-eyebrow,
  .podcast-section-heading span,
  .podcast-section-kicker,
  .podcast-logo-card__copy span,
  .podcast-floating-note span,
  .podcast-featured__chips span {
    letter-spacing: 0.08em;
  }
}
