/* Diseño minimalista para Fundación Real Madrid Clinics
   ----------------------------------------------------
   - No se modifica texto ni imágenes ni estructura del header
   - Solo se sobreescribe estilo sobre las clases existentes
*/

/* -------- Pantalla de Carga -------- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Si la pantalla de carga queda pegada, permitir forzarla oculta */
/* Descomenta la línea `display:block` abajo para reactivar la pantalla si es necesario */
#loading-screen {
  display: none !important;
}

.loading-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loading-logo {
  width: 140px;
  height: auto;
  animation: pulse-logo 2s ease-in-out infinite;
}

.loading-text {
  font-size: 18px;
  color: #0f172a;
  font-weight: 500;
  letter-spacing: 2px;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes pulse-text {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* -------- Base -------- */

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f6fb;
  color: #0f172a;
}

a {
  color: #0f172a;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Quitar exceso de sombras, bordes y fondos pesados de Webflow */
.la---image-wrapper-br-24px-shadow,
.brix---card {
  box-shadow: none !important;
  border-radius: 20px;
}

.section,
.la---cta-section-2,
.brix---section-4 {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
  .section,
  .la---cta-section-2,
  .brix---section-4 {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

/* Contenedores más limpios y centrados */
.la---container-default-3,
.brix---container-default-3,
.brix---container-default-4,
.brix---container-default-7,
.la---container-frm {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* -------- Header / logos superiores (section-2) -------- */
/* Barra superior tipo nav, limpia y moderna */

.section-2 {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5e7eb;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.div-block-4 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.div-block-5 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.div-block-5 > * {
  align-self: center;
}

/* Logos: comportamiento responsive y consistente */
.div-block-4 img,
.div-block-5 img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

/* Logo principal (izquierda) */
.div-block-4 img:first-child {
  max-width: 140px;
  width: 140px;
  height: auto;
}

/* Logo secundario / organizador (derecha) */
.div-block-5 img {
  max-width: 250px;
  width: 250px;
  height: auto;
}

@media (max-width: 1024px) {
  .div-block-4 img:first-child {
    max-width: 130px;
    width: 130px;
  }

  .div-block-5 img {
    max-width: 115px;
    width: 115px;
  }
}

@media (max-width: 768px) {
  .div-block-4 img:first-child {
    max-width: 110px;
    width: 110px;
  }

  .div-block-5 img {
    max-width: 100px;
    width: 100px;
  }
}

@media (max-width: 480px) {
  .div-block-4 img:first-child {
    max-width: 90px;
    width: 90px;
  }

  .div-block-5 img {
    max-width: 90px;
    width: 90px;
  }
}

.paragraph-2 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Estado oculto del header al hacer scroll hacia abajo */
.section-2--hidden {
  transform: translateY(-100%);
  opacity: 0;
}

@media (max-width: 768px) {
  .div-block-4 {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .div-block-4 {
    /* mantener disposición en fila para alinear objetos a extremos */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    gap: 0.75rem;
  }

  .div-block-4 img:first-child {
    max-width: 120px;
    width: auto;
    height: auto;
  }

  .div-block-5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
  }

  .div-block-5 img {
    max-width: 110px;
    height: auto;
    display: block;
  }

  .paragraph-2 {
    margin: 0;
    font-size: 0.78rem;
  }
}

/* Centrar logo en móviles muy pequeños */
@media (max-width: 480px) {
  .div-block-4 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .div-block-4 img:first-child {
    max-width: 110px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .div-block-5 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }

  .div-block-5 img {
    max-width: 100px;
    height: auto;
  }
}

/* -------- Hero principal -------- */
/* Solo nos aseguramos de que la imagen ocupe el 100% del ancho,
   sin bordes redondeados ni recortes, dejando el resto del comportamiento
   al CSS original de Webflow. */

.la---bg-image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

/* -------- Sección Fechas (San Pedro / Tegucigalpa) -------- */

#fechas {
  background: #ffffff;
}

#fechas .la---h2 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* "SÉ PARTE DEL" — subtítulo pequeño y negro */
#fechas .la---h2 > strong {
  display: block;
  font-size: clamp(1rem, 2.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 1.2em;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
  margin-bottom: 0.5rem;
}

/* "REAL SPIRIT" — titular gigante con gradiente */
.text-span-5 {
  display: block;
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 0.05em;
  background: linear-gradient(
    180deg,
    #d4a853 0%,
    #e8c882 30%,
    #f0ddb0 55%,
    #e8d5b8 75%,
    #d6c4a8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#fechas .la---paragraph-default {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.27rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  #fechas {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  #fechas .la---h2 {
    margin-bottom: 1.25rem;
    line-height: 1.15;
  }

  #fechas .la---h2 > strong {
    margin-bottom: 0.75rem;
    font-size: clamp(0.9rem, 2.2vw, 1.8rem);
  }

  .text-span-5 {
    font-size: clamp(2.5rem, 10vw, 6rem);
  }

  #fechas .la---paragraph-default {
    max-width: 100%;
    font-size: 1.15rem;
    line-height: 1.7;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  #fechas {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  #fechas .la---h2 {
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  #fechas .la---h2 > strong {
    margin-bottom: 0.5rem;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    letter-spacing: 0.5em;
  }

  .text-span-5 {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
    line-height: 1.12;
  }

  #fechas .la---paragraph-default {
    font-size: 1.09rem;
    line-height: 1.65;
    padding: 0 0.75rem;
    margin-bottom: 1.75rem;
  }
}

.list {
  list-style: none;
  padding: 0;
  margin: 5.5rem 0 4rem;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, 1fr);
}

.list li {
  display: block;
}

.list li .w-layout-grid {
  background: #fafafa;
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.list li .w-layout-grid > h4:first-of-type {
  width: 100%;
  text-align: center;
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.list li .w-layout-grid > p {
  width: 100%;
  text-align: center;
}

.grey-back {
  border: 1px solid #e5e7eb;
  background: #fafafa;
}

.backlist-dos {
  border-color: #e5e7eb;
  background: #fafafa;
}

.la---h4,
.paragraph {
  margin: 0;
}

.la---h4 {
  font-weight: 600;
  color: #111827;
}

.paragraph {
  font-size: 1.04rem;
  color: #4b5563;
  line-height: 1.5;
}

.list li .paragraph {
  margin-bottom: 0;
}

.h4dos {
  width: 100%;
  text-align: center;
  font-size: 1.27rem;
  color: #111827;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
}

.la---btn-secondary-gold.btn---mini {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fafafa;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
  margin-top: 0.5rem;
}

.la---btn-secondary-gold.btn---mini:hover {
  background: #f59e0b;
  color: #111827;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

@media (max-width: 1024px) {
  .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .list li .w-layout-grid {
    padding: 1.5rem 1.25rem;
  }

  .la---h4,
  .paragraph {
    font-size: 0.98rem;
  }

  .la---btn-secondary-gold.btn---mini {
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
  }
}

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

  .list li .w-layout-grid {
    padding: 1.5rem;
  }

  .la---h4 {
    font-size: 1.15rem;
  }

  .paragraph {
    font-size: 0.98rem;
  }
}

@media (max-width: 768px) {
  .list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .list li .w-layout-grid {
    padding: 1.5rem;
    gap: 0.8rem;
  }

  .list li .w-layout-grid > * {
    text-align: center;
  }

  .list li .w-layout-grid > p {
    display: block;
    justify-content: initial;
    align-items: initial;
  }

  .la---h4 {
    font-size: 1.09rem;
  }

  .paragraph {
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .list {
    margin: 3rem 0 3rem;
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }

  .list li .w-layout-grid {
    padding: 1.5rem 1.25rem;
    gap: 0.75rem;
  }

  .list li .w-layout-grid > h4:first-of-type {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.09rem;
  }

  .list li .w-layout-grid > h4.h4dos {
    border-bottom: none;
    border-top: 1px solid #f0f0f0;
    margin-top: 0.75rem;
    margin-bottom: 0;
    padding-top: 0.75rem;
    padding-bottom: 0;
    font-size: 1.15rem;
  }

  .la---h4 {
    font-size: 1.09rem;
  }

  .paragraph {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .la---btn-secondary-gold.btn---mini {
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .list {
    margin: 2.5rem 0 2.5rem;
    gap: 1.25rem;
  }

  .list li .w-layout-grid {
    padding: 1.25rem 1rem;
    gap: 0.6rem;
  }

  .list li .w-layout-grid > h4:first-of-type {
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.04rem;
  }

  .list li .w-layout-grid > h4.h4dos {
    border-top: 1px solid #f0f0f0;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    font-size: 1.09rem;
  }

  .list li .w-layout-grid > p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .la---btn-secondary-gold.btn---mini {
    padding: 0.6rem 0.9rem;
    font-size: 0.86rem;
  }
}

/* Tipografía reforzada solo para cards de precios */
.list li .w-layout-grid > h4:first-of-type {
  font-size: 1.35rem;
  line-height: 1.25;
}

.list li .w-layout-grid > p {
  font-size: 1.15rem;
  line-height: 1.6;
}

.list li .w-layout-grid > h4.h4dos {
  font-size: 1.5rem;
  line-height: 1.2;
}

.list li .w-layout-grid .la---btn-secondary-gold.btn---mini {
  font-size: 1.08rem;
}

@media (max-width: 768px) {
  .list li .w-layout-grid > h4:first-of-type {
    font-size: 1.22rem;
  }

  .list li .w-layout-grid > p {
    font-size: 1.03rem;
  }

  .list li .w-layout-grid > h4.h4dos {
    font-size: 1.3rem;
  }

  .list li .w-layout-grid .la---btn-secondary-gold.btn---mini {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .list li .w-layout-grid > h4:first-of-type {
    font-size: 1.12rem;
  }

  .list li .w-layout-grid > p {
    font-size: 0.98rem;
  }

  .list li .w-layout-grid > h4.h4dos {
    font-size: 1.2rem;
  }

  .list li .w-layout-grid .la---btn-secondary-gold.btn---mini {
    font-size: 0.94rem;
  }
}

/* -------- Bloques de contenido (programa, objetivos, técnicos, instalaciones) -------- */

.section .w-layout-grid.la---grid-1-column-gap-row-64px {
  gap: 3.25rem;
}

.la---link-content {
  padding: 0;
}

.brix---grid-2-columns-text-left-2,
.la--grid-2-columns-text-right {
  align-items: center;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
}

.la---image-wrapper-br-24px-shadow {
  aspect-ratio: 10 / 9;
  overflow: hidden;
}

.la---image-wrapper-br-24px-shadow .la---image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.la---h3 {
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #0f172a;
}

.la---border-gold {
  width: 56px;
  height: 3px;
  background: #fbbf24;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.la---paragraph-default {
  font-size: 1.21rem;
  line-height: 1.7;
  color: #4b5563;
}

@media (max-width: 1024px) {
  .brix---grid-2-columns-text-left-2,
  .la--grid-2-columns-text-right {
    gap: 2rem;
  }

  .la---h3 {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .la---h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  .brix---grid-2-columns-text-left-2,
  .la--grid-2-columns-text-right {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .la---h3 {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
  }

  .la---image-wrapper-br-24px-shadow {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 479px) {
  .brix---grid-2-columns-text-left-2,
  .la--grid-2-columns-text-right {
    gap: 1rem;
  }

  .la---h3 {
    font-size: 1.3rem;
    line-height: 1.35;
  }

  .la---image-wrapper-br-24px-shadow {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  .brix---grid-2-columns-text-left-2,
  .la--grid-2-columns-text-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
  }

  .brix---grid-2-columns-text-left-2 > .la---image-wrapper-br-24px-shadow,
  .la--grid-2-columns-text-right > .la---image-wrapper-br-24px-shadow {
    order: -1 !important;
  }

  .brix---grid-2-columns-text-left-2 h3,
  .la--grid-2-columns-text-right h3,
  .brix---grid-2-columns-text-left-2 p,
  .la--grid-2-columns-text-right p,
  .brix---grid-2-columns-text-left-2 .la---border-gold,
  .la--grid-2-columns-text-right .la---border-gold {
    text-align: left !important;
  }

  .brix---grid-2-columns-text-left-2 .la---border-gold,
  .la--grid-2-columns-text-right .la---border-gold {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .la---h3.text-right,
  .la---paragraph-default.text-right,
  .la---border-gold.text-right {
    text-align: left;
  }

  .la---border-gold.text-right {
    margin-left: 0;
    margin-right: 0;
  }
}

/* -------- Sección Fundación Real Madrid (cifras) -------- */

.la---cta-bg-overlay {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(251, 191, 36, 0.08) 0%, transparent 60%),
    #0b1120;
  color: #e5e7eb;
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.la---cta-bg-overlay .la---h2 {
  text-align: center;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.la---cta-bg-overlay .text-span {
  font-weight: 700;
  color: #fbbf24;
}

.la---cta-bg-overlay .la---paragraph-default {
  max-width: 640px;
  margin: 1.25rem auto 0;
  text-align: center;
  color: #9ca3af;
}

.la---cta-bg-overlay .la---grid-3-col {
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.la---h3-secondary {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #f9fafb;
}

.la---h3-secondary .text-span-2,
.la---h3-secondary .text-span-3,
.la---h3-secondary .text-span-4 {
  color: #fbbf24;
}

.la---paragraph-default.mt-n10 {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9ca3af;
  -webkit-text-fill-color: #9ca3af;
}

@media (max-width: 1024px) {
  .la---cta-bg-overlay .la---grid-3-col {
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .la---h3-secondary {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .la---cta-bg-overlay .la---grid-3-col {
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .la---h3-secondary {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  }
}

@media (max-width: 540px) {
  .la---cta-bg-overlay .la---grid-3-col {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .la---h3-secondary {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .la---paragraph-default.mt-n10 {
    font-size: 0.75rem;
  }
}

/* -------- Video + galería Instagram -------- */

.la---mg-bottom-40px-2 {
  max-width: 1100px;
  margin: 0 auto;
}

.la---heading-h2-size.la---text-gold {
  font-size: 3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .la---heading-h2-size.la---text-gold {
    line-height: 1.15;
    margin-bottom: 2.03rem;
  }
}

@media (max-width: 480px) {
  .la---heading-h2-size.la---text-gold {
    line-height: 1.21;
    margin-bottom: 1.94rem;
    letter-spacing: 0.05em;
  }
}

.youtube {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.35);
}

/* Masonry / Pinterest gallery */
.brix---grid-instagram-v2 {
  margin-top: 2.75rem;
  display: block;
  columns: 3;
  column-gap: 1.25rem;
}

.brix---grid-instagram-v2 .la---instagram-image {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.la---instagram-image .brix---image,
.la---instagram-image .brix---image-width-100 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

/* Balanced aspect ratios — each column totals the same height
   Col 1 (1,2,3): 4/3 + 1/1 + 3/4  = 0.75 + 1.0 + 1.333 ≈ 3.08
   Col 2 (4,5,6): 3/4 + 4/3 + 1/1  = 1.333 + 0.75 + 1.0 ≈ 3.08
   Col 3 (7,8,9): 1/1 + 3/4 + 4/3  = 1.0 + 1.333 + 0.75 ≈ 3.08  */
.brix---grid-instagram-v2 .la---instagram-image:nth-child(1) { aspect-ratio: 4 / 3; }
.brix---grid-instagram-v2 .la---instagram-image:nth-child(2) { aspect-ratio: 1 / 1; }
.brix---grid-instagram-v2 .la---instagram-image:nth-child(3) { aspect-ratio: 3 / 4; }

.brix---grid-instagram-v2 .la---instagram-image:nth-child(4) { aspect-ratio: 3 / 4; }
.brix---grid-instagram-v2 .la---instagram-image:nth-child(5) { aspect-ratio: 4 / 3; }
.brix---grid-instagram-v2 .la---instagram-image:nth-child(6) { aspect-ratio: 1 / 1; }

.brix---grid-instagram-v2 .la---instagram-image:nth-child(7) { aspect-ratio: 1 / 1; }
.brix---grid-instagram-v2 .la---instagram-image:nth-child(8) { aspect-ratio: 3 / 4; }
.brix---grid-instagram-v2 .la---instagram-image:nth-child(9) { aspect-ratio: 4 / 3; }

.la---instagram-image:hover .brix---image,
.la---instagram-image:hover .brix---image-width-100 {
  transform: scale(1.04);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

@media (max-width: 1024px) {
  .brix---grid-instagram-v2 {
    columns: 3;
    column-gap: 1rem;
  }

  .brix---grid-instagram-v2 .la---instagram-image {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .brix---grid-instagram-v2 {
    columns: 2;
    column-gap: 0.75rem;
  }

  .brix---grid-instagram-v2 .la---instagram-image {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brix---grid-instagram-v2 {
    columns: 1;
    column-gap: 0;
  }

  .brix---grid-instagram-v2 .la---instagram-image {
    margin-bottom: 0.75rem;
  }

  .brix---grid-instagram-v2 .la---instagram-image {
    aspect-ratio: 4 / 3 !important;
  }
}

/* -------- Contacto / WhatsApp -------- */

.brix---grid-contact-v7 {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.brix---heading-h1-size {
  font-size: 2.1rem;
}

.brix---mg-bottom-40px-2 .la---paragraph-default {
  max-width: 480px;
}

.div-block-7 {
  display: flex;
  justify-content: flex-end;
}

.brix---ctav-13-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
  padding: 2.75rem 2.5rem;
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.22), transparent),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  border-radius: 24px;
  color: #f9fafb;
  text-decoration: none;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.brix---ctav-13-link-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.brix---heading-h2-size-5 {
  margin: 0;
}

.brix---btn-download-app-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  align-self: center;
}

.brix---ctav-13-link-card:hover .brix---btn-download-app-white {
  color: #b8804c;
}

.brix---ctav-13-link-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.14) 0, transparent 50%),
    radial-gradient(circle at 100% 0, rgba(15, 23, 42, 0.6) 0, transparent 55%),
    radial-gradient(circle at 0 100%, rgba(255, 255, 255, 0.05) 0, transparent 55%),
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.12) 10%,
      rgba(15, 23, 42, 0.6) 35%,
      rgba(15, 23, 42, 0.9) 60%,
      rgba(255, 255, 255, 0.08) 80%,
      rgba(15, 23, 42, 0.9) 100%
    );
  opacity: 0.36;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.brix---btn-icon-left {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .brix---grid-contact-v7 {
    gap: 2rem;
  }

  .brix---heading-h1-size {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .brix---grid-contact-v7 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .brix---heading-h1-size {
    font-size: 1.5rem;
  }

  .div-block-7 {
    justify-content: flex-start;
  }

  .brix---ctav-13-link-card {
    width: 100%;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .brix---grid-contact-v7 {
    gap: 1rem;
  }

  .brix---heading-h1-size {
    font-size: 1.3rem;
  }

  .brix---ctav-13-link-card {
    padding: 1.25rem 1rem;
  }

  .brix---btn-download-app-white {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

/* -------- FAQ (Preguntas frecuentes) -------- */

.brix---section-4 {
  background: #ffffff;
}

.brix---inner-container-574px---center {
  max-width: 700px;
}

.la---heading-h2-size {
  font-size: 2rem;
}

.brix---accordion-item-wrapper-v2 {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.brix---accordion-item-wrapper-v2:hover {
  background-color: #f9fafb;
  transform: translateY(-1px);
}

.brix---accordion-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.questext {
  font-size: 1rem;
  margin: 0;
}

.paragraph---quest {
  font-size: 1.1rem;
  color: #4b5563;
}

@media (max-width: 1024px) {
  .la---heading-h2-size {
    font-size: 1.8rem;
  }

  .questext {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .la---heading-h2-size {
    font-size: 1.6rem;
  }

  .brix---accordion-item-wrapper-v2 {
    padding: 1rem 0;
  }

  .questext {
    font-size: 0.9rem;
  }

  .paragraph---quest {
    font-size: 1.04rem;
  }

  .brix---accordion-header {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .la---heading-h2-size {
    font-size: 1.4rem;
  }

  .brix---accordion-item-wrapper-v2 {
    padding: 0.75rem 0;
  }

  .questext {
    font-size: 0.85rem;
  }

  .paragraph---quest {
    font-size: 0.92rem;
  }

  .brix---accordion-header {
    gap: 0.5rem;
  }
}

/* -------- Footer / patrocinadores -------- */

.la---footer-wrapper {
  background: #020617;
  color: #e5e7eb;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid #111827;
}

.paragraph-2.white {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

.patrocinadores {
  opacity: 0.9;
}

.gridpatrocinan {
  gap: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
}

.gridfinal {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (max-width: 1024px) {
  .gridpatrocinan {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
  }

  .gridfinal {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .gridpatrocinan {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.5rem;
  }

  .gridfinal {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .gridpatrocinan {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
  }

  .gridfinal {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .paragraph-2.white {
    font-size: 0.7rem;
  }
}

.brix---social-media-grid-right---t-center {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.brix---social-media-grid-right---t-center a {
  border-radius: 999px;
  background: #020617;
  border: 1px solid rgba(251, 191, 36, 0.3);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0.6rem;
}

.brix---social-media-grid-right---t-center a img {
  width: 34px;
  height: 34px;
}

.brix---social-media-grid-right---t-center a:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
  transform: translateY(-1px);
}

/* -------- Quitar animaciones de entrada Webflow para un look más limpio -------- */
[data-w-id] {
  opacity: 1 !important;
  transform: none !important;
}

/* Ocultar sección de patrocinadores a petición */
.gridpatrocinan {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
