/*
Theme Name: MasterPol 2026
Theme URI: https://masterpol.es
Author: Temujin.es
Author URI: https://masterpol.es
Description: Tema desarrollado para masterpol.es
Version: 260722b
Requires at least: 7.0
Tested up to: 7.0
Text Domain: Temujin.es
*/

html {
  overflow-x: hidden;
}

body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
*{
  box-sizing: border-box;
}
a{
  text-decoration: none;
  color: var(--azu1);
}
.wrap{
  width:1290px;
  max-width:100%;
  margin: 0 auto;
}
main{
  > *:not(.full):not(.seccion-hero-full):not(.bloque-compite)
  {
    width:1290px;
    max-width:100%;
    margin: 0 auto;
  }
  .full > div{
    width:1290px;
    max-width:100%;
    margin: 0 auto;
  }
}

/* Estilo personalizado de WordPress: Ancho Completo */
.is-style-full-width,
.full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--azu1);
  &.gc{
    background-color: #0e4d33; 
  }
  &.sp{
    background-color: #8f7714; 
  }
  
  > .wp-block-group__inner-container,
  > div{
    width: 1290px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

header{
  padding: 40px 20px;
  .wrap{
    display:flex;
    justify-content: space-between;
    align-content: center;
    align-items: center; 
    a.logo img{
      height:50px;
    }
    
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 1001;
      
      span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: #1d2634;
        transition: all 0.3s ease;
        border-radius: 2px;
      }
      
      &.active {
        span:nth-child(1) {
          transform: rotate(45deg) translate(7px, 7px);
        }
        span:nth-child(2) {
          opacity: 0;
        }
        span:nth-child(3) {
          transform: rotate(-45deg) translate(7px, -7px);
        }
      }
    }
    
    .campus-mobile {
      display: none !important;
    }
    
    .campus-desktop {
      display: inline-block !important;
    }
    
    nav.nav-menu-container{
      ul {
            list-style: none;
            display: flex;
            gap: 30px;
            margin: 0;
            padding: 0;

            li {
              position: relative;

              a {
                text-decoration: none;
                color: #1d2634;
                font-weight: 700;
                font-size: 16px;
                transition: color 0.3s;

                &:hover {
                  color: #f38218;
                }
              }

              &.current-menu-item {
                a {
                  color: #f38218;
                }
              }

              .sub-menu {
                display: block;
                position: absolute;
                top: 100%;
                left: 0;
                min-width: 240px;
                padding: 12px 0;
                margin: 0;
                list-style: none;
                background: #ffffff;
                border: 1px solid rgba(29, 38, 52, 0.08);
                border-radius: 12px;
                box-shadow: 0 14px 30px rgba(29, 38, 52, 0.14);
                z-index: 10;
                opacity: 0;
                visibility: hidden;
                transform: translateY(10px);
                transition:
                  opacity 0.2s ease,
                  transform 0.2s ease,
                  visibility 0.2s ease;

                li {
                  width: 100%;

                  a {
                    display: block;
                    padding: 11px 20px;
                    color: #1d2634;
                    font-size: 15px;
                    font-weight: 600;
                    white-space: nowrap;
                    transition:
                      background-color 0.2s ease,
                      color 0.2s ease;

                    &:hover {
                      background: rgba(243, 130, 24, 0.08);
                      color: #f38218;
                    }
                  }
                }
              }

              &:hover {
                > .sub-menu {
                  opacity: 1;
                  visibility: visible;
                  transform: translateY(0);
                }
              }
            }
      }
    }
    a.campus{
      display: inline-block;
      background: linear-gradient(90deg, #f39200 0%, #e63312 100%);
      color: white;
      text-decoration: none;
      padding: 12px 25px;
      border-radius: 8px;
      font-weight: 800;
      text-transform: uppercase;
      font-size: 14px;
      transition: transform 0.2s ease;
    }
  }
}

.full{
    color:#fff;
    padding: 48px 0 0;
    
    h1{
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--mpol-white);
        margin: 0 0 12px;
        line-height: 1.2;
    }
    p{
        color: rgba(255, 255, 255, 1);
        font-size: 0.95rem;
        margin: 0 0 24px;
        line-height: 1.6;
    }
    &.pn{
        background-color: var(--azu1);
    }
}

.pestanas{
    padding:0;
    display:flex;
    gap:16px;
    
    li{
        cursor:pointer;
        list-style:none;
        color: #fff;
        font-weight: 700;
        background: transparent;
        border: none;
        padding: 14px 24px;
        font-size: 0.92rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.65);
        cursor: pointer;
        border-bottom: 3px solid transparent;
        transition: color 0.2s, border-color 0.2s;
        white-space: nowrap;
        outline: none;
        &.act{
            color: #fff;
            border-bottom-color: var(--nar1);
            font-weight: 700;
        }
    }
}

.seccion{
    display:none;
    padding: 40px 0;
    color:#333;
    &.activa{
        display:block;
    }
    p{
        margin: 0 0 14px;
        line-height: 1.7;
        font-size: 0.95rem;
    }
}

h2.wp-block-heading{
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--azu1);
    margin: 0 0 16px;
}

.panel_cursos{
    > div{
        background: #ffffff;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        &:first-child{
            h3{
                background-color: #2b6cb0;
            }
        }
    }
    
    h3{
        float:left;
        clear:both;
        background-color: var(--azu1);
        color: #ffffff;
        font-size: 12px;
        font-weight: bold;
        padding: 4px 10px;
        border-radius: 20px;
        align-self: flex-start;
        text-transform: uppercase;
        margin:0;
    }
    h2{
        float:left;
        clear:both;
        font-size: 24px;
        font-weight: 800;
        color: #1a202c;
        margin: 10px 0 10px 0;
    }
    p{
        font-size: 15px;
        color: #4a5568;
        line-height: 1.5;
        margin-bottom: 15px;
    }
}

.que_ofrecemos{
    background: #f5f5f5;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 40px;
    ul{
        column-count:2;
        li{
            font-size: 0.88rem;
            line-height: 1.55;
        }
    }
}

footer{
  background-color: var(--azu1);
  color:#fff;
  padding: 40px 20px;
  a{
    color:#fff;
  }
}

/* =========================================
   INSTALACIONES
========================================= */

.title {
  display: none;
}
.slogan-instalaciones {
  text-align: center !important;
}

.wp-block-cover {
  min-height: 500px;
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: center;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(26, 43, 76, 0.2) 0%,
      rgba(13, 25, 48, 0.9) 100%
    );
    z-index: 1;
  }

  .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    max-width: 1200px !important;
    width: 100%;
    text-align: center;
    color: #ffffff;
  }

  h3 {
    text-align: center;
    font-family: "PoppinsBold", sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px !important;
    color: #ffffff !important;
    opacity: 0.9;
  }

  h2 {
    font-family: "PoppinsBold", sans-serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 auto 20px auto !important;
    max-width: 850px;
    color: #ffffff !important;
  }

  h4 {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #e0e0e0 !important;
    max-width: 700px;
    margin: 0 auto !important;
    line-height: 1.5;
  }

  /* Media Query anidada para .wp-block-cover */
  @media (max-width: 768px) {
    min-height: 400px !important;
    padding: 40px 20px !important;

    &::after {
      background: linear-gradient(
        180deg,
        rgba(26, 43, 76, 0.4) 0%,
        rgba(13, 25, 48, 0.95) 100%
      );
    }

    .wp-block-cover__inner-container {
      padding: 0 10px;
    }

    h3 {
      font-size: 14px !important;
      letter-spacing: 1.5px;
      margin-bottom: 8px !important;
    }

    h2 {
      font-size: 36px !important;
      line-height: 1.2;
      max-width: 100%;
      margin-bottom: 15px !important;
    }

    h4 {
      font-size: 16px !important;
      line-height: 1.4;
      max-width: 100%;
      opacity: 0.9;
    }
  }
}

/* =========================================
   BLOQUE 2 & GALERÍA INSTALACIONES
========================================= */
.galeria-academia {
  .wp-block-cover__image-background {
    object-fit: cover !important;
  }

  .wp-block-columns {
    margin-bottom: 20px !important;
    gap: 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;

    @media (max-width: 768px) {
      flex-direction: column !important;
      gap: 15px !important;
      margin-bottom: 15px !important;
    }
  }

  .wp-block-image {
    margin: 0 !important;

    img {
      width: 100% !important;
      height: auto !important;
      border-radius: 12px;
      display: block;
      transition: all 0.3s ease;

      &:hover {
        transform: scale(1.02);
      }
    }
  }

  figure.size-large {
    margin-bottom: 20px !important;

    img {
      border-radius: 15px !important;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      margin: 15px 0 !important;

      img {
        height: 200px !important;
        width: 95% !important;
        margin: auto !important;

        &:hover {
          transform: none;
          box-shadow: none;
        }
      }
    }
  }

  .wp-block-column {
    margin: 0 !important;

    &[style*="flex-basis:33.33%"] {
      flex: 0 0 33.33% !important;
      flex-basis: 33.33% !important;
      flex-grow: 0 !important;
    }

    &[style*="flex-basis:66.66%"] {
      flex: 0 0 66.66% !important;
      flex-basis: 66.66% !important;
      flex-grow: 0 !important;
    }

    figure {
      height: 100% !important;
      margin: 0 !important;
    }

    img {
      width: 95% !important;
      height: 100% !important;
      object-fit: cover !important;
      border-radius: 12px !important;
      display: block;
      margin: auto !important;

      &:hover {
        transform: translateY(-3px);
      }
    }

    @media (max-width: 768px) {
      &[style*="flex-basis:33.33%"],
      &[style*="flex-basis:66.66%"] {
        flex-basis: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
      }

      img {
        height: 180px !important;
        width: 95% !important;
        margin: auto !important;
        object-fit: cover !important;
      }
    }
  }
}
h1.titulos {
  font-family: "PoppinsBold", sans-serif;
  color: #f39200 !important;
  font-size: 32px !important;
  text-transform: uppercase;
  margin-top: 60px !important;
  margin-bottom: 25px !important;
  letter-spacing: 1px;
  width: 100%;

  @media (max-width: 768px) {
    font-size: 24px !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    text-align: center;
  }
}

/* =========================================
   PÁGINA PLATAFORMA
========================================= */

.seccion-hero-full {
  background-color: #fdfaf7;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  display: flex;

  .columnas-hero-wrapper {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .columna-texto-hero {
    flex-basis: 50% !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding-left: calc((100vw - 1400px) / 2 + 20px) !important;
    padding-right: 50px !important;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: left !important;

    h1 {
      text-align: left;
    }

    .wp-block-button {
      display: inline-block !important;
      margin-top: 20px !important;
    }
  }

  .columna-imagen-hero {
    flex-basis: 50% !important;
    position: relative;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    width: 100% !important;

    img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
      transform: scaleX(1.1);
      transform-origin: right;
      border-radius: 0px !important;
    }
  }

  .hero-titulo {
    font-family: "PoppinsBold", sans-serif;
    font-size: 64px !important;
    line-height: 1.1 !important;
    color: #1a1a1a;
    margin-bottom: 20px !important;
    text-transform: none;
  }

  .hero-subtitulo {
    font-size: 19px;
    color: #666;
    max-width: 480px;
    margin-bottom: 35px !important;
  }
}

.wp-block-heading {
  text-align: center;
  font-weight: 800;
  color: #1a2b4c;
  /* text-transform: uppercase; */
  margin-bottom: 40px;
  font-family:Poppins;
  

  .letra_naranja {
    color: #ff5722;
  }
}

.tarjeta-contador {
  background: #ffffff;
  border: 1px solid #ebebeb;
  padding: 40px 20px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #d1d1d1;
  }

  img,
  i,
  svg {
    max-width: 45px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.6;
  }

  h3,
  .numero {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
  }

  p,
  .descripcion {
    font-size: 14px;
    color: #888;
    margin: 0;
  }
}

.titulo-dual {
  font-family: "PoppinsBold", sans-serif;
  font-size: 54px !important;
  line-height: 0.6 !important;
  margin-bottom: 25px !important;
  color: #1a2b4c;
  text-transform: uppercase;
  
  
  
  
  
  
  
  

  span {
    color: #f39200;
    display: block;
  }
}

.ancho-pagina.wp-block-columns {
  align-items: center !important;
  margin-top: 80px !important;
  margin-bottom: 80px !important;
  gap: 100px !important;
  padding: 10px 30px;

  .texto-descripcion {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px !important;
    max-width: 90%;
  }

  .lista-check {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #333;
    position: relative;
    padding-left: 5px;
    list-style-type: disc;
  }

  .columna-laptop {
    display: flex;
    justify-content: flex-end;

    figure {
      margin: 0 !important;
      width: 110%;
      display: flex;
      justify-content: center
    }

    img {
      height: auto !important;
      width: 80% !important;
      object-fit: contain;
    }
  }
}

/* =========================================
   BLOQUE PERSONALIZA TESTS
========================================= */

.bloque-puntos-plataforma {
  align-items: center !important;
  gap: 120px !important;

  .wp-block-heading {
    font-family: "PoppinsBold", sans-serif;
    font-size: 64px !important;
    line-height: 1.1;
    color: #1a2b4c;
    margin-bottom: 20px !important;
    text-align: left;

    span {
      color: #f39200;
      display: block;
    }
  }

  p {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 30px !important;
  }

  .lista-plataforma-puntos {
    gap: 20px !important;

    ul {
      list-style: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    li {
      font-family: "Poppins", sans-serif;
      font-size: 14px;
      color: #1a2b4c;
      font-weight: 500;
      margin-bottom: 12px !important;
      display: flex;
      align-items: center;

      &::before {
        content: "";
        display: inline-block;
        width: 18px;
        height: 18px;
        margin-right: 10px;
        background-color: #1a2b4c;
        border-radius: 50%;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
        background-size: 12px;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
      }
    }
  }

  .wp-block-column:first-child {
    figure {
      margin: 0 !important;
    }

    img {
      width: 110% !important;
      height: auto;
      mix-blend-mode: multiply;
    }
  }
}

/* =========================================
   BLOQUE COMPITE
========================================= */

.bloque-compite {
  background: linear-gradient(90deg, #f39200 0%, #e94e1b 100%) !important;
  padding: 80px 20px !important;
  text-align: center;
  color: #ffffff !important;
  width: 100%;
  margin: 40px 0 !important;

  h1 {
    font-family: "PoppinsBold", sans-serif;
    font-size: 54px !important;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center !important;
  }

  p {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: #ffffff !important;
    max-width: 700px;
    margin: 0 auto !important;
    line-height: 1.5;
    opacity: 0.95;
  }

  @media (max-width: 768px) {
    padding: 50px 20px !important;

    h1 {
      font-size: 32px !important;
    }

    p {
      font-size: 16px;
    }
  }
}

/* =========================================
   BLOQUE CONTENIDOS
========================================= */

.bloque-contenidos {
  align-items: center !important;
  max-width: 1400px;
  margin: 0 auto !important;

  h1.titulo-naranja {
    font-family: "PoppinsBold", sans-serif;
    font-size: 58px !important;
    line-height: 1.1 !important;
    margin-bottom: 25px !important;
    color: #f39200 !important;
    text-align: left;

    span {
      color: #1a2b4c !important;
      display: block;
    }
  }

  p {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 30px !important;
  }

  ul {
    list-style: none !important;
    padding: 0 !important;
  }

  li {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;

    &::before {
      content: "•";
      color: #1a2b4c;
      font-size: 24px;
      margin-right: 15px;
      line-height: 0;
    }
  }

  .wp-block-column:first-child img {
    width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0px 15px 30px rgba(0, 0, 0, 0.1));
  }

  .columna-texto-contenidos {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* =========================================
   BLOQUE FINAL RESULTADOS
========================================= */

.bloque-final-plataforma {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background: radial-gradient(circle, #1a2b4c 0%, #0d1930 100%) !important;
  padding: 100px 20px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  h2 {
    font-family: "PoppinsBold", sans-serif;
    font-size: 42px !important;
    color: #ffffff !important;
    margin: 0 auto 30px auto !important;
    text-transform: uppercase;
  }

  p {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0 !important;
    max-width: 900px;
    margin: 0 auto 40px auto !important;
  }

  .wp-block-buttons {
    justify-content: center !important;
    display: flex !important;
    width: 100%;
  }

  .wp-block-button__link {
    background: linear-gradient(90deg, #f39200 0%, #e94e1b 100%) !important;
    color: #ffffff !important;
    padding: 18px 45px !important;
    border-radius: 50px !important;
    font-family: "PoppinsBold", sans-serif;
    border: none;
    transition: all 0.3s ease;

    &:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 25px rgba(233, 78, 27, 0.4);
    }
  }
}

/* =========================================
   __________________________ VISTA RESPONSIVE PLATAFORMA __________________________
========================================= */




/* =========================================
   CONTACTO
========================================= */

.wp-block-group:has(.wp-block-heading) {
  text-align: left;
  padding: 0px 20px 20px;
}

.titulo-slogan {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  
  p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-top: 10px !important;
  }
}

h1.wp-block-heading.titulo-contacto {
  font-family: "Poppins", sans-serif !important;
  font-size: 54px !important;
  line-height: 1.1 !important;
  font-weight: 800;
  margin-bottom: 25px !important;
  text-transform: uppercase;
  text-align: left;

  span {
    display: block;
    color: #1a2b4c !important;
  }
}

h1.personaliza {
  line-height: 0.8 !important;
}
.contacto-wrapper {
  margin: 0 auto 80px auto !important;
  padding: 0 20px;
}

/* Contenedor del formulario */
.wf-form {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px 36px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

/* Cada campo */
.wf-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

/* Labels */
.wf-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}

/* Inputs y textarea */
.wf-input,
.wf-select,
.wf-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}

.wf-input:focus,
.wf-select:focus,
.wf-textarea:focus {
  outline: none;
  border-color: #e8800a;
}

/* Select: flecha personalizada */
.wf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Textarea */
.wf-textarea {
  resize: vertical;
  min-height: 130px;
}

/* Botón */
.wf-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #f7941d, #e8800a);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition:
    opacity 0.2s,
    transform 0.1s;
  margin-top: 8px;
}

.wf-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.wf-submit:active {
  transform: translateY(0);
  opacity: 1;
}

.columna-info-contacto {
  display: flex;
  flex-direction: column;

  p {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #1a2b4c !important;
    font-weight: 600;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
  }

  iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 350px;
    border-radius: 15px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 18px 40px rgba(13, 25, 48, 0.12);
    margin-top: 15px;
  }

  @media (max-width: 900px) {
    flex: 0 0 100% !important;
    width: 100% !important;

    iframe {
      height: 300px !important;
    }
  }
}

/* SECCION CURSOS */

/* POLICIA NACIONAL */

/* ── Reset básico dentro del wrapper ── */
.mpol-curso-wrapper *,
.mpol-curso-wrapper *::before,
.mpol-curso-wrapper *::after {
  box-sizing: border-box;
}
.mpol-curso-wrapper {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--mpol-text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ──────────────────────────────────
   HERO
   ────────────────────────────────── */
.mpol-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  border-radius: 0 0 var(--mpol-radius) var(--mpol-radius);
  padding: 48px 40px 0;
  margin-bottom: 0;
}

.mpol-fondo-azul {
  background: var(--mpol-navy);
}

.mpol-hero__content {
  padding-bottom: 0;
  height: 100%;
}

.mpol-hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--mpol-white);
  margin: 0 0 12px;
  line-height: 1.2;
}
.mpol-hero__title--accent {
  color: var(--mpol-orange);
}

.mpol-hero__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 520px;
}

/* Placeholder de media */
.mpol-hero__media {
  margin-bottom: 0;
}

iframe {
  width: 100%;
  height: 434px;
  aspect-ratio: 16/9;
  border-radius: var(--mpol-radius);
}
.mpol-media-placeholder {
  background: #c8c8c8;
  border-radius: var(--mpol-radius);
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mpol-media-placeholder img,
.mpol-media-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--mpol-radius);
}
.mpol-media-placeholder__icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.6);
}
.mpol-media-placeholder--small {
  aspect-ratio: 4/3;
  flex: 0 0 220px;
}
.mpol-media-placeholder--wide {
  aspect-ratio: 16/9;
  flex: 1;
}

/* ──────────────────────────────────
   TABS DE NAVEGACIÓN
   ────────────────────────────────── */
.mpol-tabs {
  display: flex;
  gap: 0;
  margin-top: 32px;
  border-bottom: none;
}

.mpol-tab {
  background: transparent;
  border: none;
  padding: 14px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
  outline: none;
}
.mpol-tab:hover {
  color: var(--mpol-white);
}
.mpol-tab--active {
  color: var(--mpol-white);
  border-bottom-color: var(--mpol-orange);
  font-weight: 700;
}

/* ──────────────────────────────────
   SIDEBAR
   ────────────────────────────────── */
.mpol-sidebar {
  top: 24px;
  padding-bottom: 40px;
}

.mpol-sidebar__card {
  background: var(--mpol-white);
  border-radius: var(--mpol-radius);
  box-shadow: var(--mpol-shadow);
  padding: 24px;
}

.mpol-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mpol-navy);
  margin: 0 0 16px;
}

/* Formulario */
.mpol-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.mpol-form__group {
  width: 100%;
}
.mpol-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mpol-form__input,
.mpol-form__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mpol-gray-bd);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--mpol-text);
  background: var(--mpol-white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.mpol-form__input:focus,
.mpol-form__select:focus {
  border-color: var(--mpol-orange);
}
.mpol-form__input::placeholder {
  color: #aaa;
}

.mpol-form__btn {
  background: var(--mpol-orange);
  color: var(--mpol-white);
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}
.mpol-form__btn:hover {
  background: var(--mpol-orange2);
}
.mpol-form__btn:active {
  transform: scale(0.98);
}

/* Includes list */
.mpol-includes__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mpol-text);
  margin: 0 0 10px;
}
.mpol-includes__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mpol-includes__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--mpol-text-sm);
  padding: 5px 0;
  border-bottom: 1px solid var(--mpol-gray-bg);
}
.mpol-includes__item:last-child {
  border-bottom: none;
}
.mpol-includes__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────
   PANELES DE CONTENIDO
   ────────────────────────────────── */
.mpol-panels {
  padding: 40px 0;
}

.mpol-panel {
  display: none;
  animation: mpol-fadein 0.3s ease;
}
.mpol-panel--active {
  display: block;
}

@keyframes mpol-fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Secciones genéricas ── */
.mpol-section {
  margin-bottom: 40px;
}
.mpol-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mpol-navy);
  margin: 0 0 16px;
}
.mpol-section__subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mpol-navy);
  margin: 0 0 10px;
}
.mpol-section__text p {
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── Caja "¿Qué te ofrecemos?" ── */
.mpol-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 10px;
}
.mpol-producto-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.mpol-producto-badge {
  background-color: #002855;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.mpol-producto-card--rookie .mpol-producto-badge {
  background-color: #2b6cb0;
}
.mpol-producto-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a202c;
  margin: 10px 0 10px 0;
}
.mpol-producto-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}
.mpol-producto-info-btn {
  color: #4a5568;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: default;
}
.mpol-features-box {
  background: var(--mpol-gray-bg);
  border-radius: var(--mpol-radius);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.mpol-features-box__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mpol-navy);
  margin: 0 0 20px;
}
.mpol-features-box__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.mpol-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.mpol-feature p {
  margin: 0;
}
.mpol-feature__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--mpol-navy);
  color: var(--mpol-white);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Listas con flecha ── */
.mpol-arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mpol-arrow-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mpol-text-sm);
}
.mpol-arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--mpol-orange);
  font-weight: 700;
}

/* ── Listas con punto ── */
.mpol-dot-list {
  padding-left: 20px;
  margin: 0;
}
.mpol-dot-list li {
  padding: 4px 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mpol-text-sm);
}

/* ── Lista de requisitos ── */
.mpol-req-list {
  padding-left: 0;
  list-style: none;
  margin: 16px 0 0;
}
.mpol-req-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mpol-text);
  border-bottom: 1px solid var(--mpol-gray-bg);
}
.mpol-req-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--mpol-orange);
  font-weight: 900;
}
.mpol-req-list li:last-child {
  border-bottom: none;
}

/* ──────────────────────────────────
   TARJETAS DE PRUEBA
   ────────────────────────────────── */
.mpol-prueba-card {
  background: var(--mpol-white);
  border: 1px solid var(--mpol-gray-bd);
  border-radius: var(--mpol-radius);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.mpol-prueba-card__header {
  margin-bottom: 20px;
}
.mpol-prueba-card__num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mpol-text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mpol-prueba-card__title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--mpol-navy);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mpol-prueba-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px;
  margin: 12px 0;
}

.mpol-prueba-section {
  margin-bottom: 12px;
}
.mpol-prueba-section__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mpol-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.mpol-prueba-section__title--gender {
  color: var(--mpol-navy);
  font-size: 0.95rem;
  letter-spacing: 0;
}
.mpol-prueba-section p,
.mpol-prueba-section ul {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  color: var(--mpol-text-sm);
}
.mpol-prueba-section ul {
  padding-left: 16px;
}

/* Formula box */
.mpol-formula {
  background: var(--mpol-gray-bg);
  border-left: 4px solid var(--mpol-navy);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 8px 0;
}

/* Badge negro */
.mpol-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 16px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mpol-badge--dark {
  background: var(--mpol-navy);
  color: var(--mpol-white);
}

/* Sub-prueba (psicotécnicos) */
.mpol-sub-prueba {
  background: var(--mpol-gray-bg);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 20px;
}
.mpol-sub-prueba__title {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--mpol-navy);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ──────────────────────────────────
   TEMARIO — media
   ────────────────────────────────── */
/* ──────────────────────────────────
   TEMARIO — Bloques
   ────────────────────────────────── */

/* ──────────────────────────────────
   TEMARIO — Bloques
   ────────────────────────────────── */

.mpol-temario-bloque {
  border: 1px solid var(--mpol-gray-bd);
  border-radius: var(--mpol-radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.mpol-temario-bloque__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
}

.mpol-temario-bloque__header--juridico {
  background: var(--mpol-navy);
}

.mpol-temario-bloque__header--social {
  background: #1f4e79;
}

.mpol-temario-bloque__header--tecnico {
  background: #14375a;
}

.mpol-temario-bloque__num {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.2);
}

.mpol-temario-bloque__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.mpol-temario-bloque__body {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px 40px;
  background: #fff;
}

/* Grupo de subtemas */
.mpol-temario-grupo__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mpol-orange);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mpol-orange);
}

/* Lista numerada de temas */
.mpol-temario-lista {
  padding-left: 20px;
  margin: 0;
}

.mpol-temario-lista li {
  font-size: 0.88rem;
  color: var(--mpol-text-sm);
  line-height: 1.55;
  padding: 5px 0;
  border-bottom: 1px solid var(--mpol-gray-bg);
}

.mpol-temario-lista li:last-child {
  border-bottom: none;
}

.mpol-temario-lista li::marker {
  color: var(--mpol-navy);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Nota informativa final */
.mpol-temario-nota {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff8f0;
  border: 1px solid #f5d9b8;
  border-left: 4px solid var(--mpol-orange);
  border-radius: var(--mpol-radius);
  padding: 16px 20px;
  margin-top: 8px;
}

.mpol-temario-nota__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.mpol-temario-nota p {
  font-size: 0.88rem;
  color: var(--mpol-text-sm);
  line-height: 1.6;
  margin: 0;
}

/* ──────────────────────────────────
   RESEÑAS
   ────────────────────────────────── */
.mpol-reviews {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.mpol-review {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mpol-gray-bd);
}
.mpol-review:last-child {
  border-bottom: none;
}

.mpol-review__avatar {
  width: 44px;
  height: 44px;
  background: var(--mpol-navy);
  color: var(--mpol-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mpol-review__body {
  flex: 1;
}

.mpol-review__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.mpol-review__name {
  font-size: 0.92rem;
  font-weight: 700;
}
.mpol-review__time {
  font-size: 0.8rem;
  color: var(--mpol-text-sm);
}

.mpol-review__stars {
  color: var(--mpol-orange);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.mpol-review__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mpol-text-sm);
  margin: 0;
}

.mpol-ver-mas {
  background: transparent;
  border: 2px solid var(--mpol-navy);
  color: var(--mpol-navy);
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.mpol-ver-mas:hover {
  background: var(--mpol-navy);
  color: var(--mpol-white);
}

/* ──────────────────────────────────
   RESPONSIVE
   ────────────────────────────────── */
@media (max-width: 900px) {
}

@media (max-width: 600px) {
  .mpol-hero__title {
    font-size: 1.6rem;
  }
  .mpol-prueba-card {
    padding: 18px 16px;
  }
  .mpol-form__row {
    grid-template-columns: 1fr;
  }
  .mpol-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mpol-tab {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   MASTERPOL — CURSO GUARDIA CIVIL
   CSS personalizado — adaptado para clases .mgc-
   ============================================================ */

/* ── Variables de color (Verde y Oro Guardia Civil) ── */
:root {
  --mgc-green: #0e4d33; /* Verde corporativo */
  --mgc-gold: #cbb677; /* Dorado/Ocre */
  --mgc-gold-dark: #b09a5b;
  --mgc-white: #ffffff;
  --mgc-gray-bg: #f5f5f5;
  --mgc-gray-lt: #fafafa;
  --mgc-gray-bd: #e0e0e0;
  --mgc-text: #333333;
  --mgc-text-sm: #666666;
  --mgc-radius: 8px;
  --mgc-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ── Reset básico dentro del wrapper ── */
.mgc-curso-wrapper *,
.mgc-curso-wrapper *::before,
.mgc-curso-wrapper *::after {
  box-sizing: border-box;
}
.mgc-curso-wrapper {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--mgc-text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ──────────────────────────────────
   HERO
   ────────────────────────────────── */
.mgc-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  border-radius: 0 0 var(--mgc-radius) var(--mgc-radius);
  padding: 48px 40px 0;
  margin-bottom: 0;
}

.mgc-fondo-verde {
  background: var(--mgc-green);
}

.mgc-hero__content {
  padding-bottom: 0;
}

.mgc-hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--mgc-white);
  margin: 0 0 12px;
  line-height: 1.2;
}
.mgc-hero__title--accent {
  color: var(--mgc-gold);
}

.mgc-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 520px;
}

/* Placeholder de media */
.mgc-hero__media {
  margin-bottom: 0;
}
.mgc-media-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--mgc-radius);
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mgc-media-placeholder img,
.mgc-media-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mgc-media-placeholder__icon {
  font-size: 3rem;
  color: var(--mgc-gold);
}

/* ──────────────────────────────────
   TABS DE NAVEGACIÓN
   ────────────────────────────────── */
.mgc-tabs {
  display: flex;
  gap: 0;
  margin-top: 32px;
  border-bottom: none;
}

.mgc-tab {
  background: transparent;
  border: none;
  padding: 14px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
  outline: none;
}
.mgc-tab:hover {
  color: var(--mgc-white);
}
.mgc-tab--active {
  color: var(--mgc-white);
  border-bottom-color: var(--mgc-gold);
  font-weight: 700;
}

/* ──────────────────────────────────
   SIDEBAR
   ────────────────────────────────── */
.mgc-sidebar {
  top: 24px;
  padding-bottom: 40px;
}

.mgc-sidebar__card {
  background: var(--mgc-white);
  border-radius: var(--mgc-radius);
  box-shadow: var(--mgc-shadow);
  padding: 24px;
}

.mgc-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mgc-green);
  margin: 0 0 16px;
}

/* Formulario */
.mgc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.mgc-form__group {
  width: 100%;
}
.mgc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mgc-form__input,
.mgc-form__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mgc-gray-bd);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--mgc-text);
  background: var(--mgc-white);
  outline: none;
  transition: border-color 0.2s;
}
.mgc-form__input:focus,
.mgc-form__select:focus {
  border-color: var(--mgc-green);
}

.mgc-form__btn {
  background: var(--mgc-gold);
  color: var(--mgc-white);
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}
.mgc-form__btn:hover {
  background: var(--mgc-gold-dark);
}
.mgc-form__btn:active {
  transform: scale(0.98);
}

/* ──────────────────────────────────
   PANELES DE CONTENIDO
   ────────────────────────────────── */
.mgc-panels {
  padding: 40px 0;
}

.mgc-panel {
  display: none;
  animation: mgc-fadein 0.3s ease;
}
.mgc-panel--active {
  display: block;
}

@keyframes mgc-fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Secciones genéricas ── */
.mgc-section {
  margin-bottom: 40px;
}
.mgc-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mgc-green);
  margin: 0 0 16px;
  border-left: 4px solid var(--mgc-gold);
  padding-left: 12px;
}

.mgc-section p {
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Listas adaptadas */
.mgc-section ul {
  list-style: none;
  padding: 0;
}
.mgc-section ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.92rem;
}
.mgc-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mgc-green);
  font-weight: bold;
}

/* ──────────────────────────────────
   BOTONES Y RESEÑAS
   ────────────────────────────────── */
.mgc-ver-mas {
  background: transparent;
  border: 2px solid var(--mgc-green);
  color: var(--mgc-green);
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.mgc-ver-mas:hover {
  background: var(--mgc-green);
  color: var(--mgc-white);
}



/* ── Lista de requisitos ── */
.mgc-req-list {
  padding-left: 0;
  list-style: none;
  margin: 16px 0 0;
}
.mgc-req-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mgc-text);
  border-bottom: 1px solid var(--mgc-gray-bg);
}
.mgc-req-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--mgc-orange);
  font-weight: 900;
}
.mgc-req-list li:last-child {
  border-bottom: none;
}

/* ──────────────────────────────────
   TARJETAS DE PRUEBA
   ────────────────────────────────── */
.mgc-prueba-card {
  background: var(--mgc-white);
  border: 1px solid var(--mgc-gray-bd);
  border-radius: var(--mgc-radius);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.mgc-prueba-card__header {
  margin-bottom: 20px;
}
.mgc-prueba-card__num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mgc-text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mgc-prueba-card__title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--mgc-navy);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mgc-prueba-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px;
  margin: 12px 0;
}

.mgc-prueba-section {
  margin-bottom: 12px;
}
.mgc-prueba-section__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mgc-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.mgc-prueba-section p,
.mgc-prueba-section ul {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  color: var(--mgc-text-sm);
}
.mgc-prueba-section ul {
  padding-left: 16px;
}

/* Formula box */
.mgc-formula {
  background: var(--mgc-gray-bg);
  border-left: 4px solid var(--mgc-navy);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 8px 0;
}

/* Badge oscuro */
.mgc-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 16px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mgc-badge--dark {
  background: var(--mgc-navy);
  color: var(--mgc-white);
}

/* Sub-prueba */
.mgc-sub-prueba {
  background: var(--mgc-gray-bg);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 20px;
}
.mgc-sub-prueba__title {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--mgc-navy);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mgc-temario-bloque {
  border: 1px solid var(--mgc-gray-bd);
  border-radius: var(--mgc-radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.mgc-temario-bloque__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
}

/* Tonos corporativos e institucionales para Guardia Civil */
.mgc-temario-bloque__header--juridico {
  background: var(--mgc-green-dark, #163523); /* Verde oliva oscuro */
}

.mgc-temario-bloque__header--social {
  background: #234e37; /* Verde bosque intermedio */
}

.mgc-temario-bloque__header--tecnico {
  background: #2d3e46; /* Pizarra / Gris azulado oscuro */
}

.mgc-temario-bloque__num {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mgc-temario-bloque__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.mgc-temario-bloque__body {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px 40px;
  background: #fff;
}

/* Grupo de subtemas */
.mgc-temario-grupo__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mgc-orange, #d97706);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--mgc-orange, #d97706);
}

/* Lista numerada de temas */
.mgc-temario-lista {
  padding-left: 20px;
  margin: 0;
}

.mgc-temario-lista li {
  font-size: 0.88rem;
  color: var(--mgc-text-sm);
  line-height: 1.55;
  padding: 5px 0;
  border-bottom: 1px solid var(--mgc-gray-bg);
}

.mgc-temario-lista li:last-child {
  border-bottom: none;
}

.mgc-temario-lista li::marker {
  color: var(--mgc-green-dark, #163523);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Nota informativa final */
.mgc-temario-nota {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff8f0;
  border: 1px solid #f5d9b8;
  border-left: 4px solid var(--mgc-orange, #d97706);
  border-radius: var(--mgc-radius);
  padding: 16px 20px;
  margin-top: 8px;
}

.mgc-temario-nota__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.mgc-temario-nota p {
  font-size: 0.88rem;
  color: var(--mgc-text-sm);
  line-height: 1.6;
  margin: 0;
}

/* Responsive temario */
@media (max-width: 700px) {
  .mgc-temario-bloque__body {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }
  .mgc-temario-bloque__header {
    padding: 16px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ──────────────────────────────────
   RESPONSIVE
   ────────────────────────────────── */
@media (max-width: 900px) {
  .mgc-hero {
    grid-template-columns: 1fr;
    padding: 32px 20px 0;
    gap: 24px;
  }
  .mgc-sidebar {
    position: static;
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .mgc-hero__title {
    font-size: 1.6rem;
  }
  .mgc-form__row {
    grid-template-columns: 1fr;
  }
  .mgc-tabs {
    overflow-x: auto;
  }
  .mgc-tab {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   MASTERPOL — CURSO TROPA Y MARINERÍA (EDICIÓN SOLDADO)
   CSS personalizado — Color de acento: #af911f
   ============================================================ */

/* ── Reset básico dentro del wrapper ── */
.mtropa-curso-wrapper *,
.mtropa-curso-wrapper *::before,
.mtropa-curso-wrapper *::after {
  box-sizing: border-box;
}
.mtropa-curso-wrapper {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--mtropa-text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ──────────────────────────────────
   HERO
   ────────────────────────────────── */
.mtropa-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  border-radius: 0 0 var(--mtropa-radius) var(--mtropa-radius);
  padding: 48px 40px 0;
  margin-bottom: 0;
}

.mtropa-fondo-azul {
  background: var(--mtropa-navy);
}

.mtropa-hero__content {
  padding-bottom: 0;
  height: 100%;
}

.mtropa-hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--mtropa-white);
  margin: 0 0 12px;
  line-height: 1.2;
}
.mtropa-hero__title--accent {
  color: var(--mtropa-orange);
}

.mtropa-hero__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 520px;
}

/* Placeholder de media */
.mtropa-hero__media {
  margin-bottom: 0;
}

iframe {
  width: 100%;
  height: 434px;
  aspect-ratio: 16/9;
  border-radius: var(--mtropa-radius);
}
.mtropa-media-placeholder {
  background: #c8c8c8;
  border-radius: var(--mtropa-radius);
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mtropa-media-placeholder img,
.mtropa-media-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--mtropa-radius);
}
.mtropa-media-placeholder__icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.6);
}
.mtropa-media-placeholder--small {
  aspect-ratio: 4/3;
  flex: 0 0 220px;
}
.mtropa-media-placeholder--wide {
  aspect-ratio: 16/9;
  flex: 1;
}

/* ──────────────────────────────────
   TABS DE NAVEGACIÓN
   ────────────────────────────────── */
.mtropa-tabs {
  display: flex;
  gap: 0;
  margin-top: 32px;
  border-bottom: none;
}

.mtropa-tab {
  background: transparent;
  border: none;
  padding: 14px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
  outline: none;
}
.mtropa-tab:hover {
  color: var(--mtropa-white);
}
.mtropa-tab--active {
  color: var(--mtropa-white);
  border-bottom-color: var(--mtropa-orange);
  font-weight: 700;
}

/* ──────────────────────────────────
   SIDEBAR
   ────────────────────────────────── */
.mtropa-sidebar {
  top: 24px;
  padding-bottom: 40px;
}

.mtropa-sidebar__card {
  background: var(--mtropa-white);
  border-radius: var(--mtropa-radius);
  box-shadow: var(--mtropa-shadow);
  padding: 24px;
}

.mtropa-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mtropa-navy);
  margin: 0 0 16px;
}

/* Formulario */
.mtropa-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.mtropa-form__group {
  width: 100%;
}
.mtropa-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mtropa-form__input,
.mtropa-form__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mtropa-gray-bd);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--mtropa-text);
  background: var(--mtropa-white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.mtropa-form__input:focus,
.mtropa-form__select:focus {
  border-color: var(--mtropa-orange);
}
.mtropa-form__input::placeholder {
  color: #aaa;
}

.mtropa-form__btn {
  background: var(--mtropa-orange);
  color: var(--mtropa-white);
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}
.mtropa-form__btn:hover {
  background: var(--mtropa-orange2);
}
.mtropa-form__btn:active {
  transform: scale(0.98);
}

/* Includes list */
.mtropa-includes__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mtropa-text);
  margin: 0 0 10px;
}
.mtropa-includes__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mtropa-includes__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--mtropa-text-sm);
  padding: 5px 0;
  border-bottom: 1px solid var(--mtropa-gray-bg);
}
.mtropa-includes__item:last-child {
  border-bottom: none;
}
.mtropa-includes__icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────
   PANELES DE CONTENIDO
   ────────────────────────────────── */
.mtropa-panels {
  padding: 40px 0;
}

.mtropa-panel {
  display: none;
  animation: mtropa-fadein 0.3s ease;
}
.mtropa-panel--active {
  display: block;
}

@keyframes mtropa-fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Secciones genéricas ── */
.mtropa-section {
  margin-bottom: 40px;
}
.mtropa-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mtropa-navy);
  margin: 0 0 16px;
}
.mtropa-section__subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mtropa-navy);
  margin: 0 0 10px;
}
.mtropa-section__text p {
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── Caja "¿Qué te ofrecemos?" ── */
.mtropa-features-box {
  background: var(--mtropa-gray-bg);
  border-radius: var(--mtropa-radius);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.mtropa-features-box__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mtropa-navy);
  margin: 0 0 20px;
}
.mtropa-features-box__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.mtropa-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.mtropa-feature p {
  margin: 0;
}
.mtropa-feature__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--mtropa-navy);
  color: var(--mtropa-white);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Listas con flecha ── */
.mtropa-arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mtropa-arrow-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mtropa-text-sm);
}
.mtropa-arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--mtropa-orange);
  font-weight: 700;
}

/* ── Listas con punto ── */
.mtropa-dot-list {
  padding-left: 20px;
  margin: 0;
}
.mtropa-dot-list li {
  padding: 4px 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mtropa-text-sm);
}

/* ── Lista de requisitos ── */
.mtropa-req-list {
  padding-left: 0;
  list-style: none;
  margin: 16px 0 0;
}
.mtropa-req-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mtropa-text);
  border-bottom: 1px solid var(--mtropa-gray-bg);
}
.mtropa-req-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--mtropa-orange);
  font-weight: 900;
}
.mtropa-req-list li:last-child {
  border-bottom: none;
}

/* ──────────────────────────────────
   TARJETAS DE PRUEBA
   ────────────────────────────────── */
.mtropa-prueba-card {
  background: var(--mtropa-white);
  border: 1px solid var(--mtropa-gray-bd);
  border-radius: var(--mtropa-radius);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.mtropa-prueba-card__header {
  margin-bottom: 20px;
}
.mtropa-prueba-card__num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mtropa-text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mtropa-prueba-card__title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--mtropa-navy);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mtropa-prueba-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 32px;
  margin: 12px 0;
}

.mtropa-prueba-section {
  margin-bottom: 12px;
}
.mtropa-prueba-section__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mtropa-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.mtropa-prueba-section__title--gender {
  color: var(--mtropa-navy);
  font-size: 0.95rem;
  letter-spacing: 0;
}
.mtropa-prueba-section p,
.mtropa-prueba-section ul {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  color: var(--mtropa-text-sm);
}
.mtropa-prueba-section ul {
  padding-left: 16px;
}

/* Formula box */
.mtropa-formula {
  background: var(--mtropa-gray-bg);
  border-left: 4px solid var(--mtropa-navy);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 8px 0;
}

/* Badge negro */
.mtropa-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 16px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mtropa-badge--dark {
  background: var(--mtropa-navy);
  color: var(--mtropa-white);
}

/* Sub-prueba (psicotécnicos) */
.mtropa-sub-prueba {
  background: var(--mtropa-gray-bg);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 20px;
}
.mtropa-sub-prueba__title {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--mtropa-navy);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ──────────────────────────────────
   TEMARIO — media
   ────────────────────────────────── */
.mtropa-temario-media {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  align-items: stretch;
}

/* ──────────────────────────────────
   RESEÑAS
   ────────────────────────────────── */
.mtropa-reviews {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.mtropa-review {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mtropa-gray-bd);
}
.mtropa-review:last-child {
  border-bottom: none;
}

.mtropa-review__avatar {
  width: 44px;
  height: 44px;
  background: var(--mtropa-navy);
  color: var(--mtropa-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mtropa-review__body {
  flex: 1;
}

.mtropa-review__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.mtropa-review__name {
  font-size: 0.92rem;
  font-weight: 700;
}
.mtropa-review__time {
  font-size: 0.8rem;
  color: var(--mtropa-text-sm);
}

.mtropa-review__stars {
  color: var(--mtropa-orange);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.mtropa-review__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mtropa-text-sm);
  margin: 0;
}

.mtropa-ver-mas {
  background: transparent;
  border: 2px solid var(--mtropa-navy);
  color: var(--mtropa-navy);
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.mtropa-ver-mas:hover {
  background: var(--mtropa-navy);
  color: var(--mtropa-white);
}

/* ──────────────────────────────────
   RESPONSIVE
   ────────────────────────────────── */
@media (max-width: 900px) {
  .mtropa-hero {
    grid-template-columns: 1fr;
    padding: 32px 20px 0;
    gap: 24px;
  }
  .mtropa-sidebar {
    position: static;
    padding-bottom: 20px;
  }
  .mtropa-features-box__grid {
    grid-template-columns: 1fr;
  }
  .mtropa-temario-media {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .mtropa-hero__title {
    font-size: 1.6rem;
  }
  .mtropa-prueba-card {
    padding: 18px 16px;
  }
  .mtropa-form__row {
    grid-template-columns: 1fr;
  }
  .mtropa-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mtropa-tab {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}



html {
  &::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  &::-webkit-scrollbar-track {
    background: #ffebcc;
  }

  &::-webkit-scrollbar-thumb {
    background-color: #1a2744;
    border-radius: 10px;
    border: 3px solid #ffebcc;

    &:hover {
      background: #1e3157d6;
    }
  }

  /* Scrollbar para Firefox */
  scrollbar-width: thin;
  scrollbar-color: #1a2744 #ffebcc;
}

.titulos {
  background: linear-gradient(90deg, #f09205 0%, #ee3a1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 64px;
  font-family: "PoppinsBold";
  margin: 0px;
}

.h2-azul {
  color: #1e3157;
  font-size: 64px;
  font-family: "PoppinsBold";
  margin: 0px;
  text-align: left !important;
}

.h2-colores {
  background: linear-gradient(90deg, #f09205 0%, #ee3a1c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 64px;
  font-family: "PoppinsBold";
  margin: 0px;
  text-align: left !important;
}

/* ============================================================
   BODY
   ============================================================ */

body {
  font-family: "Poppins";
  margin: 0px;

  /* --- Ancho de página general --- */
  .ancho-pagina {
    max-width: 1400px;
    margin: 0 auto;
  }

  /* --------------------------------------------------------
     HEADER
     -------------------------------------------------------- */

  header {
    padding: 20px 0;
    background-color: #fff;
    font-family: "Arial", sans-serif;
    margin: 20px 40px;

    .contenedor-header-main {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;

      .menu-arriba {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;

        .a-logo {
          .logo {
            img {
              height: 50px;
              display: block;
            }
          }
        }

        #menu_sup {
          ul {
            list-style: none;
            display: flex;
            gap: 30px;
            margin: 0;
            padding: 0;

            li {
              position: relative;

              a {
                text-decoration: none;
                color: #1d2634;
                font-weight: 700;
                font-size: 16px;
                transition: color 0.3s;

                &:hover {
                  color: #f38218;
                }
              }

              &.current-menu-item {
                a {
                  color: #f38218;
                }
              }

              .sub-menu {
                display: block;
                position: absolute;
                top: 100%;
                left: 0;
                min-width: 240px;
                padding: 12px 0;
                margin: 0;
                list-style: none;
                background: #ffffff;
                border: 1px solid rgba(29, 38, 52, 0.08);
                border-radius: 12px;
                box-shadow: 0 14px 30px rgba(29, 38, 52, 0.14);
                z-index: 10;
                opacity: 0;
                visibility: hidden;
                transform: translateY(10px);
                transition:
                  opacity 0.2s ease,
                  transform 0.2s ease,
                  visibility 0.2s ease;

                li {
                  width: 100%;

                  a {
                    display: block;
                    padding: 11px 20px;
                    color: #1d2634;
                    font-size: 15px;
                    font-weight: 600;
                    white-space: nowrap;
                    transition:
                      background-color 0.2s ease,
                      color 0.2s ease;

                    &:hover {
                      background: rgba(243, 130, 24, 0.08);
                      color: #f38218;
                    }
                  }
                }
              }

              &:hover {
                > .sub-menu {
                  opacity: 1;
                  visibility: visible;
                  transform: translateY(0);
                }
              }
            }
          }
        }

        .menu-d {
          .enlace-campus {
            display: inline-block;
            background: linear-gradient(90deg, #f39200 0%, #e63312 100%);
            color: white;
            text-decoration: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 800;
            text-transform: uppercase;
            font-size: 14px;
            transition: transform 0.2s ease;

            &:hover {
              transform: scale(1.03);
              box-shadow: 0 4px 15px rgba(230, 51, 18, 0.3);
            }

            img {
              display: none;
            }

            span {
              letter-spacing: 0.5px;
            }
          }
        }
      }

      .container-menu-button {
        display: none;

        .menu-boton {
          background: none;
          border: none;
          font-size: 24px;
          cursor: pointer;
        }
      }
    }
  }

  @media (max-width: 500px) {
    .menu-arriba {
      flex-direction: column !important;

      div {
        padding: 20px 0px !important;
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE 1
     -------------------------------------------------------- */

  .bloque1 {
    .columnas-bloque1 {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 20px;
      padding: 40px 0px;

      .titulo-academia {
        font-family: "PoppinsSemiBold";
        font-weight: 600;
        font-size: 108px;
        line-height: 1 !important;
        letter-spacing: -2px;
        text-align: left;
        margin: 0;
        background: linear-gradient(to right, #f39200, #e44d26);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-transform:uppercase;
        span {
          background: none;
          -webkit-text-fill-color: #1a2b4c;
          display: block;
        }
      }

      p {
        font-family: "Poppins";
        font-weight: 400;
        font-size: 20px;
        color: #333;
        max-width: 500px;
        text-align: left;
      }

      .estadisticas-bloque1 {
        display: flex;
        flex-direction: row;

        > div {
          width: 100%;
        }

        .estadistica {
          display: flex;
          flex-direction: row;
          align-items: center;
          width: 100%;

          img {
            max-width: 70px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
          }

          h2 {
            font-family: "PoppinsSemiBold";
            font-size: 42px;
            margin: 0px;
          }

          p {
            margin-top: 0px;
          }
        }
      }
    }

    .imagenes-bloque1 {
      display: grid !important;
      grid-template-columns: repeat(12, 1fr) !important;
      grid-template-rows: repeat(12, 1fr) !important;
      width: 100% !important;
      max-width: none !important;
      aspect-ratio: 1 / 1;
      gap: 0 !important;
      margin: 0 !important;

      .foto-principal,
      .foto-superpuesta,
      figure {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
      }

      .foto-principal {
        grid-column: 1 / 11 !important;
        grid-row: 1 / 11 !important;
        z-index: 1;

        img {
          width: 100% !important;
          height: 100% !important;
          object-fit: cover !important;
          border-radius: 30px !important;
          display: block !important;
        }
      }

      .foto-superpuesta {
        grid-column: 7 / 13 !important;
        grid-row: 7 / 13 !important;
        z-index: 2;
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));

        img {
          width: 100% !important;
          height: 100% !important;
          object-fit: cover !important;
          border-radius: 30px !important;
          display: block !important;
        }
      }
    }
  }

  @media (max-width: 1290px) {
    .bloque1 {
      .titulo-academia {
        font-size: 82px !important;
      }

      .columnas-bloque1 {
        .estadisticas-bloque1 {
          .estadistica {
            h2 {
              font-size: 32px !important;
            }
          }
        }
      }
    }
  }

  @media (max-width: 768px) {
    .bloque1 {
      .columnas-bloque1 {
        flex-direction: column !important;
        padding: 20px 10px;
        gap: 40px;

        .wp-block-column {
          flex-basis: 100% !important;
          width: 100% !important;
        }

        .titulo-academia {
          font-size: 54px !important;
          line-height: 1 !important;
          letter-spacing: -1px;
          text-align: center;

          span {
            display: inline;
          }
        }

        p {
          font-size: 18px;
          text-align: center;
          margin: 20px auto;
          max-width: 100%;
        }

        .estadisticas-bloque1 {
          flex-direction: column;
          gap: 20px;

          .estadistica {
            justify-content: center;
            text-align: center;

            img {
              max-width: 150px;
            }

            h2 {
              font-size: 32px;
            }
          }
        }
      }

      .columna-derecha-bloque1 {
        margin-top: 20px;
      }

      .imagenes-bloque1 {
        width: 90% !important;
        margin: 0 auto !important;

        .foto-principal {
          img {
            border-radius: 20px !important;
          }
        }

        .foto-superpuesta {
          img {
            border-radius: 20px !important;
          }
        }
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE 2
     -------------------------------------------------------- */

  .wp-block-group.bloque2 {
    background: linear-gradient(135deg, #102a54 0%, #0a1931 100%);
    padding: 40px 0;
    
    
    
    
    
    
    

    h2,
    p,
    h4 {
      text-align: left;
    }

    .columnas-bloque2 {
      display: flex;
      flex-direction: row;
      justify-content: space-between;

      > div {
        width: 100%;

        .wp-block-image {
          height: 100%;
          display: flex;
          align-items: center;

          img {
            width: 100% !important;
            height: auto !important;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
          }
        }
      }
    }

    h4 {
      font-family: "RobotoBold";
      font-weight: bold;
      background: linear-gradient(90deg, #f09205 0%, #ee3a1c 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    h2 {
      font-family: "PoppinsBold";
      font-size: 64px;
      color: white;
      margin: 0px;
    }

    p {
      color: white;
      font-family: "Poppins";
      font-size: 20px;
      max-width: 500px;
    }

    .boton-contacto {
      background: linear-gradient(90deg, #f09205 0%, #ee3a1c 100%);
      color: #ffffff;
      font-family: "Arial", sans-serif;
      font-weight: bold;
      font-size: 16px;
      padding: 12px 35px;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-block;
      text-align: center;
      text-decoration: none;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(238, 58, 28, 0.4);
        filter: brightness(1.1);
      }
    }
  }

  @media (max-width: 768px) {
    .bloque2 {
      padding: 60px 20px;

      .columnas-bloque2 {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;

        .wp-block-column {
          width: 100% !important;
          flex-basis: 100% !important;
        }

        .wp-block-image {
          width: 100% !important;
          margin: 0 auto;

          img {
            width: 100% !important;
            height: auto !important;
            max-width: 450px;
            margin: 0 auto;
          }
        }
      }

      h4 {
        font-size: 16px !important;
        margin-bottom: 10px;
        text-align: center !important;
      }

      h2 {
        font-size: 42px;
        line-height: 1.1;
        margin: 40px 0px !important;
        text-align: center !important;
      }

      p {
        font-size: 18px;
        margin: 0 auto 30px auto;
        max-width: 100%;
        text-align: center !important;
      }

      .wp-block-buttons {
        justify-content: center;
      }

      .boton-contacto {
        width: 100%;
        max-width: 300px;
        max-height: 60px !important;
        padding: 5px 10px;
        font-size: 18px;
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE 3
     -------------------------------------------------------- */

  .bloque3 {
    width: 100%;
    display: flex;
    justify-content: center;

    > div {
      width: 75%;
    }

    h3 {
      background: linear-gradient(90deg, #f09205 0%, #ee3a1c 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-family: "PoppinsExtraBold";
      font-size: 32px;
    }

    h2 {
      font-family: "PoppinsBold";
      font-size: 97px;
      margin: 0px;
      color: #1b2d56;
      line-height: 110%;

      strong {
        color: #f07705;
      }
    }

    p {
      font-family: "Poppins";
      font-size: 24px;
      color: #05131db2;
    }
  }

  @media (max-width: 768px) {
    .bloque3 {
      padding: 40px 20px;

      > div {
        width: 100% !important;
      }

      h3 {
        font-size: 20px;
        margin-bottom: 10px;
      }

      h2 {
        font-size: 48px;
        line-height: 1.1;
        letter-spacing: -1px;
      }

      p {
        font-size: 18px;
        margin-top: 15px;
        padding: 0 10px;
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE 4
     -------------------------------------------------------- */

  /* =============================================
   FILA PRINCIPAL — Policía Nacional + Guardia Civil
   ============================================= */
  .columnas-cursos-principal {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 16px;

    > div {
      width: 100%;
    }
  }

  /* =============================================
   SEPARADOR
   ============================================= */
  .sep-tambien-preparamos {
    text-align: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #aaa !important;
    margin: 4px 0 14px !important;
  }

  /* =============================================
   FILA SECUNDARIA — Soldado Profesional
   ============================================= */
  .columnas-cursos-secundaria {
    display: flex;
    flex-direction: row;

    > div {
      width: 100%;
    }
  }

  /* =============================================
   TARJETA BASE (común a todas)
   ============================================= */
  .tarjeta-policia-contenedor {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px !important;

    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.85) 100%
      );
      z-index: 1;
    }

    img,
    .wp-block-cover__image-background {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      z-index: 0 !important;
    }

    .wp-block-cover__inner-container {
      position: relative;
      z-index: 2 !important;
      width: 100% !important;
      margin: 0 !important;
    }

    .texto-tarjetas-cursos {
      text-align: left !important;
      margin-left: 0px !important;
    }

    h2,
    p {
      color: white !important;
      font-weight: 800 !important;
      font-size: 1.8rem !important;
      line-height: 1.1;
      margin-bottom: 15px !important;
      text-transform: uppercase;
    }

    .wp-block-button__link {
      background-color: white !important;
      color: black !important;
      border-radius: 50px !important;
      font-weight: bold !important;
      padding: 8px 25px !important;
    }
  }

  /* =============================================
   TARJETA PRINCIPAL (PN y GC) — altura grande
   ============================================= */
  .tarjeta-principal {
    min-height: 500px !important;
  }

  /* =============================================
   TARJETA SECUNDARIA (Soldado) — más baja y apagada
   ============================================= */
  .tarjeta-secundaria {
    min-height: 190px !important;
    opacity: 0.8;

    &::after {
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.85) 100%
      );
    }

    h2 {
      font-size: 1.2rem !important;
      margin-bottom: 8px !important;
    }

    .wp-block-button__link {
      background-color: rgb(255, 255, 255) !important;
      color: rgb(0, 0, 0) !important;
      font-size: 13px !important;
      padding: 6px 18px !important;
    }
  }

  /* =============================================
   BADGE — Destacado en PN
   ============================================= */
  .badge-destacado {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: #e87722;
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
  }

  /* =============================================
   BADGE — Plazas limitadas en Soldado
   ============================================= */
  .badge-plazas-limitadas {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
  }

  /* =============================================
   RESPONSIVE MÓVIL
   ============================================= */
  @media (max-width: 768px) {
    .bloque4 {
      padding: 20px 10px;
    }

    .columnas-cursos-principal {
      flex-direction: column !important;
      gap: 20px;

      .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
      }
    }

    .columnas-cursos-secundaria {
      .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
      }
    }

    .tarjeta-principal {
      min-height: 350px !important;
      border-radius: 15px;

      &::after {
        background: linear-gradient(
          to bottom,
          rgba(0, 0, 0, 0) 30%,
          rgba(0, 0, 0, 0.9) 100%
        );
      }

      h2 {
        font-size: 1.5rem !important;
      }

      .wp-block-button__link {
        padding: 12px 30px !important;
        font-size: 16px !important;
      }
    }

    .tarjeta-secundaria {
      min-height: 160px !important;
      border-radius: 15px;

      h2 {
        font-size: 1.1rem !important;
      }
    }

    .wp-block-buttons {
      justify-content: center !important;
    }
  }

  /* --------------------------------------------------------
     BLOQUE 5
     -------------------------------------------------------- */

  .bloque5 {
    margin-top: 100px;

    .columnas-bloque5 {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 20px;

      > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;

        .wp-block-image {
          img {
            width: 200px !important;
            height: 200px !important;
            max-width: 100% !important;
            border-radius: 50%;
            object-fit: cover;
          }
        }
      }
    }
  }

  @media (max-width: 1024px) {
    .bloque5 {
      .columnas-bloque5 {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 30px 20px;

        > div {
          width: calc(33.333% - 20px) !important;
          flex-basis: calc(33.333% - 20px) !important;
        }
      }
    }
  }

  @media (max-width: 768px) {
    .bloque5 {
      margin-top: 50px;
      padding: 0 20px;

      .columnas-bloque5 {
        gap: 30px 10px;

        > div {
          width: calc(50% - 10px) !important;
          flex-basis: calc(50% - 10px) !important;
        }
      }

      h4 {
        font-size: 18px;
        line-height: 1.2;
        margin-top: 15px;
      }

      p {
        font-size: 14px;
        line-height: 1.4;
        color: #666;
      }

      .wp-block-image {
        img {
          width: 140px !important;
          height: 140px !important;
          max-width: 100% !important;
          object-fit: cover;
        }
      }
    }
  }

  @media (max-width: 480px) {
    .bloque5 {
      .columnas-bloque5 {
        > div {
          width: 100% !important;
          flex-basis: 100% !important;
        }
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE 6
     -------------------------------------------------------- */

  .bloque6 {
    margin-top: 100px;
    padding: 40px 0px 40px 0px;

    h2 {
      font-family: "PoppinsBold";
      font-size: 64px;
      margin: 0px;
    }

    p {
      color: #333;
      font-family: "Poppins";
      font-size: 16px;
      max-width: 600px;
      text-align: left;
    }

    .btn-bloque6 {
      a {
        background: linear-gradient(90deg, #f09205 0%, #ee3a1c 100%);
        color: #ffffff;
        font-family: "Poppins";
        font-weight: bold;
        font-size: 16px;
        padding: 12px 35px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-block;
        text-align: center;
        text-decoration: none;
        width: 200px;
        height: 60px;

        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 5px 15px rgba(238, 58, 28, 0.4);
          filter: brightness(1.1);
        }
      }
    }

    .gslider-image-slider-ed0a6182 .gslider-image-slider-content-wrapper {
      height: 500px !important;
      overflow: hidden !important;
      display: block !important;
      padding: 0 !important;
    }

    .gslider-image-slider-ed0a6182 .gslider-image-item {
      height: 500px !important;
      width: 100% !important;
    }

    .gslider-image-slider-ed0a6182 .gslider-image-item img {
      width: 100% !important;
      height: 500px !important;
      object-fit: cover !important;
      object-position: center center !important;
      display: block !important;
      max-width: none !important;
      max-height: none !important;
    }


    /* NUEVO SLIDER */

    .masterpol-slider-auditorio {
  width: 100%;
}

.masterpol-slider-auditorio .swiper-slide {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
}

.masterpol-slider-auditorio .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

.masterpol-slider-auditorio .swiper-pagination {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .masterpol-slider-auditorio .swiper-pagination {
    display: block;
  }
  .masterpol-slider-auditorio .swiper-pagination-bullet {
    background-color: #333333;
    border-radius: 7px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  .masterpol-slider-auditorio .swiper-pagination-bullet-active {
    background-color: #2563eb;
  }
}
  }

  @media (max-width: 768px) {
    .bloque6 {
      text-align: center !important;
      padding: 15px !important;
      width: 100%;

      h2 {
        font-size: 42px !important;
        line-height: 1.1 !important;
      }

      p {
        font-size: 18px !important;
        margin: 20px auto !important;
        max-width: 100% !important;
      }

      .wp-block-buttons {
        justify-content: center !important;
        margin-bottom: 30px !important;
      }

      .columna1-bloque6 {
        order: 2;
        width: 100% !important;
      }

      .columna2-bloque6 {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden;
        display: block !important;

        .gslider-image-slider-wrapper {
          width: 100% !important;
          max-width: 100% !important;
          margin: 0 auto !important;

          .swiper {
            width: 100% !important;
            max-width: 100% !important;
          }

          .gslider-image-slider-content-wrapper {
            display: flex !important;
            justify-content: center;
            align-items: center;
            width: 100% !important;
          }

          .gslider-image-item {
            img {
              width: 100% !important;
              max-width: 100% !important;
              height: auto !important;
              display: block !important;
            }
          }
        }
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE 7
     -------------------------------------------------------- */

  .bloque7 {
    width: 100%;
    background-color: #ffeee8;
    padding: 60px 0px !important;

    .columnas-plataforma {
      gap: 80px;
      align-items: center;

      h2,
      h5 {
        text-align: left;
      }
    }

    p {
      color: #555 !important;
      text-align: left;
    }

    .titulo-plataforma {
      font-size: 56px;
      font-weight: 900;
      line-height: 1.05;
      margin-bottom: 16px;
      color: #1a2b4c;
      -webkit-text-fill-color: #1a2b4c;
      background: none;

      span {
        display: block;
        background: linear-gradient(to right, #f39200, #e44d26);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
    }

    .wp-block-column > p {
      color: #555 !important;
      font-family: "Poppins", sans-serif;
      font-size: 15px;
      line-height: 1.7;
      margin-bottom: 28px;
    }

    .columna-imagen-bloque7 {
      display: flex;
      align-items: center;
      justify-content: center;

      .wp-block-image img {
        width: 100% !important;
        height: auto !important;
      }
    }

    .columnas-puntos-bloque7 {
      gap: 0 40px;

      h5 {
        font-family: "PoppinsSemiBold", "Poppins", sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #1a2b4c;
        margin-bottom: 4px;
        margin-top: 20px;
        display: flex;
        align-items: center;
        gap: 8px;

        &::before {
          content: "\f058"; /* fa-circle-check */
          font-family: "Font Awesome 6 Free";
          font-weight: 900;
          font-style: normal;
          font-size: 18px;
          color: #1b2d56;
          flex-shrink: 0;
          -webkit-font-smoothing: antialiased;
        }
      }

      p {
        color: #666 !important;
        font-family: "Poppins", sans-serif;
        font-size: 13px;
        line-height: 1.5;
        margin-top: 0px;
        margin-bottom: 0px;
        text-align: left;
      }
    }
  }

  @media (max-width: 1200px) {
    .bloque7 {
      padding: 50px 20px;

      .columnas-plataforma {
        flex-direction: column !important;
        gap: 30px;
      }

      .columna-imagen-bloque7 {
        order: 2;
        width: 100% !important;

        figure {
          width: 100% !important;

          img {
            max-width: 500px;
            margin: 0 auto;
            display: block;
          }
        }
      }

      .titulo-plataforma {
        font-size: 38px !important;
        line-height: 1.1;
        text-align: center !important;

        span {
          display: inline !important;
        }
      }

      .columnas-puntos-bloque7 {
        .wp-block-column {
          width: 100% !important;
          flex-basis: 100% !important;
        }

        h5 {
          font-size: 16px !important;
          margin-top: 20px !important;
          justify-content: center;
        }

        p {
          font-size: 14px !important;
          text-align: center;
        }
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE 8 — Familia Simulacros
     -------------------------------------------------------- */

  .grupo-familia-simulacros {
    display: flex;
    justify-content: center;
    padding: 60px 0px 0px 0px !important;

    h2 {
      font-size: 44px !important;
      line-height: 1.1 !important;
    }

    h2,
    p {
      text-align: left;
      color: #333 !important;
    }

    .caja-unete {
      display: flex;
      justify-content: center;
      align-items: flex-end;
    }

    .titulo-familia {
      padding: 15px 0px !important;
      text-align: left;
      font-size: 91px !important;
      font-family: "PoppinsSemiBold" !important;
      background: linear-gradient(to right, #f39200, #e44d26);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 0px;
      line-height: 0.9 !important;
      span {
        background: none;
        -webkit-text-fill-color: #1a2b4c;
        display: block;
        font-size: 85px !important;
      }
    }

    /* Convierte todo el texto del encabezado a minúsculas */
    .titulo-familia {
      text-transform: lowercase;
    }

    /* Fuerza a que la primerísima letra (la Ú) se mantenga en mayúscula */
    .titulo-familia::first-letter {
      text-transform: uppercase;
    }

    .img-familia {
      width: 100%;

      img {
        width: 100%;
        border-radius: 25px;
      }
    }

    .img-pequena-familia {
      img{
      border-radius: 20px;

      }
    }

    .columna-simulacros {
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.1);
      padding: 50px;

      h1 {
        font-family: "Poppins";
        font-size: 50px !important;
        background: linear-gradient(to right, #f39200, #c30000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin: 0px;
        text-align: left;
        line-height: 1 !important;
      }

      h2 {
        font-size: 32px;
        font-family: "Poppins";
        margin: 0px;
      }

      p {
        font-family: "Poppins";
        font-size: 17px;
        color: #05131db2;
        width: 100%;
      }
    }
  }

  @media (max-width: 768px) {
    .grupo-familia-simulacros {
      padding: 40px 15px;

      .wp-block-columns {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
      }

      .titulo-familia {
        font-size: 48px !important;
        line-height: 1;

        span {
          display: inline;
          font-size: 48px !important;
        }
      }

      .caja-unete {
        justify-content: left !important;
        align-items: center !important;
      }

      .columna-simulacros {
        padding: 30px 20px !important;

        h1 {
          font-size: 42px !important;
        }

        h2 {
          font-size: 24px !important;
        }

        p {
          width: 100% !important;
        }
      }
    }
  }

  /* --------------------------------------------------------
     BLOQUE INGLÉS
     -------------------------------------------------------- */

  .bloque-ingles {
    h1 {
      font-family: "PoppinsExtraBold";
      font-size: 64px;
      background: linear-gradient(to right, #f39200, #e44d26);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 0px;
      line-height: 1 !important;
      text-align: left;

      span {
        background: none;
        -webkit-text-fill-color: #1a2b4c;
        display: block;
      }
    }

    p {
      font-family: "Poppins";
      font-size: 18px;
      color: #05131db2;
      text-align: left;
    }

    .img-ingles {
      width: 100%;
      background: none !important;

      &::after {
        background: none !important;
      }

      img {
        width: 100%;
        border-radius: 25px;
      }
    }
  }

  @media (max-width: 768px) {
    .bloque-ingles {
      display: flex !important;
      flex-direction: column !important;
      padding: 40px 20px;
      gap: 30px;

      .wp-block-column:nth-child(1) {
        order: 2;
        width: 100% !important;
      }

      .wp-block-column:nth-child(2) {
        order: 1;
        width: 100% !important;
        text-align: center;
      }

      h1 {
        font-size: 42px !important;
      }

      p {
        font-size: 16px;
      }
    }
  }
}

/* FOOTER */

footer {
  float: left;
  background-color: #0d1e3a;
  color: #ffffff;
  padding: 40px 0;
  font-family: "Lato", sans-serif;
  width: 100%;
   
  > .wrap > div{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    align-content: space-between;
    align-items: stretch;
    grid-template-rows: auto auto auto;
  }
  .logo-footer{
    img{
      max-height:45px;
    }
    
    .fp-badges {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      padding-top: 12px;
      a{
        background: rgba(243, 146, 0, 0.1);
        border: 1px solid rgba(243, 146, 0, 0.3);
        border-radius: 4px;
        padding: 4px 10px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #f39200;
      }
    }

    .fp-badge {
      background: rgba(243, 146, 0, 0.1);
      border: 1px solid rgba(243, 146, 0, 0.3);
      border-radius: 4px;
      padding: 4px 10px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #f39200;
    }
  }
  a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;

    &:hover {
      color: #f39200;
    }
  }

  /* Franja decorativa superior */
  .fp-divider-top {
    margin-bottom: 20px;
    width: 100%;
    height: 5px;
    background: linear-gradient(
      90deg,
      #f39200 0%,
      #f39200 33%,
      #1a2b4c 33%,
      #1a2b4c 66%,
      #f39200 66%
    );
  }

  .contenedor-footer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 44px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* --- Logo + Contacto --- */
  .container-info-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    .logo-footer img {
      max-width: 200px;
      height: auto;
      display: block;
      margin-bottom: 10px;
    }

    .fp-tagline {
      font-size: 11px;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.4);
      font-weight: 300;
      margin: 0 0 12px;
    }

    .fp-badges {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .fp-badge {
      background: rgba(243, 146, 0, 0.1);
      border: 1px solid rgba(243, 146, 0, 0.3);
      border-radius: 4px;
      padding: 4px 10px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #f39200;
    }

    .contacto_inf {
      display: flex;
      flex-direction: column;
      gap: 14px;
        width:500px;
        max-width:100%;

      p {
        margin: 0;
      }

      a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;

        i {
          width: 32px;
          height: 32px;
          border: 1px solid rgba(243, 146, 0, 0.35);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #f39200;
          font-size: 14px;
        }
      }
    }
  }

  /* --- Columnas --- */
  .fp-cols {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;

    .fp-col {
      flex: 1;
      min-width: 140px;

      h4 {
        font-size: 11px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #f39200;
        font-weight: 700;
        margin-bottom: 14px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(243, 146, 0, 0.2);
      }

      ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 9px;

        li a {
          font-size: 13px;
          color: rgba(255, 255, 255, 0.55);
          display: flex;
          align-items: center;
          gap: 7px;

          &::before {
            content: "";
            display: inline-block;
            width: 4px;
            height: 4px;
            background: #f39200;
            border-radius: 50%;
            flex-shrink: 0;
          }

          &:hover {
            color: #fff;
          }
        }
      }
    }
  }

  /* --- Legal --- */
  .legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    

    p {
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 6px 18px;
    }

    a {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.3);

      &:hover {
        color: rgba(255, 255, 255, 0.7);
      }
    }

    .fp-copy {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.25);

      strong {
        color: #f39200;
        font-weight: 700;
      }
    }
  }

  .fp-col {
    flex: 1;
    min-width: 140px;

    h4 {
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #f39200;
      font-weight: 700;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(243, 146, 0, 0.2);
    }

    ul {
      ul{
        display:none;
      }
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 9px;

      li a {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.55);
        display: flex;
        align-items: center;
        gap: 7px;

        &::before {
          content: "";
          display: inline-block;
          width: 4px;
          height: 4px;
          background: #f39200;
          border-radius: 50%;
          flex-shrink: 0;
        }

        &:hover {
          color: #fff;
        }
      }
    }
  }
    
    .contacto_inf {
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding-top: 4px;
      float: right;
      width: auto;
      align-content: flex-end;
      align-items: flex-end;
      
      
      
      
      
      
      
      

      p {
        margin: 0;
      }

      a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        width: 200px;
        
        
        
        
        
        
        

        i {
          width: 32px;
          height: 32px;
          border: 1px solid rgba(243, 146, 0, 0.35);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #f39200;
          font-size: 14px;
        }
      }
    }
    
  /* --- Legal --- */
  .legal {
    /* display: flex; */
    /* justify-content: space-between; */
    /* align-items: center; */
    /* flex-wrap: wrap; */
    /* gap: 10px; */
    ul{
      float: left;
      padding:0;
      display:flex;
      gap:16px;
      margin: 0;
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      li{
        list-style:none;

    a {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.3);

      &:hover {
        color: rgba(255, 255, 255, 0.7);
      }
    }
      }
    }

    p {
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 6px 18px;
    }


  }
    .fp-copy {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.25);
      text-align: right;
      
      

      strong {
        color: #f39200;
        font-weight: 700;
        margin-left: 8px;
      }
    }
}


.seccion-hero-full {
    background-color: #fdfaf7;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    display: flex;
}

.wp-block-cover {
    h2 {
        font-family: "PoppinsBold", sans-serif;
        font-size: 72px;
        font-weight: 800;
        line-height: 1.1;
        margin: 0 auto 20px auto !important;
        max-width: 850px;
        color: #ffffff !important;
    }
}

