/* === Reset y tipografía === */
/* grid.css ya pone overflow-x:hidden en body, pero no en html. Con contenido
   que se sale del viewport (p.ej. los duplicados del loop de Swiper en el
   carrusel de testimonios), la página sigue siendo scrolleable en horizontal
   -sobre todo el "bounce" táctil de iOS Safari, que ignora el overflow-x:hidden
   de body si html no lo tiene también-. Al hacer ese scroll lateral, cualquier
   popup (position:fixed, centrado respecto al viewport real) se ve "descentrado"
   porque es el FONDO el que se ha desplazado, no el popup. Bloqueando también
   en html se evita el scroll lateral entero, para los 3 tipos de popup
   (.wrapper-popup: sígueme/newsletter/iconos + #autor-popup) en todas las webs. */
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-size: 14px;
  /* Paridad con producción: el Vue original aplica
     '#app { -webkit-font-smoothing: antialiased }'. Sin esto, el MISMO peso de
     fuente se ve más grueso en macOS (subpixel AA por defecto). Lo ponemos en
     body para que todo el contenido herede el mismo suavizado que producción. */
  -webkit-font-smoothing: antialiased;
}
body.pbody {
  padding-top: 76px;
}
body.pbody .header {
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
}
h1, h2, h3, h4, h5, h6, .erc-h2, .erc-h3 {
  font-weight: 700;
  line-height: 1.1;
}
/* Textos con aspecto de título que no son encabezados (citas, nombres de
   testimonio, títulos de popup): mismo estilo, sin ensuciar el esquema de la
   página para buscadores y lectores de pantalla. */
.erc-h2 { display: block; font-size: 1.5em; margin: .83em 0; padding: 0; border: 0; }
.erc-h3 { display: block; font-size: 1.17em; margin: 1em 0; }
blockquote.erc-h2 { quotes: none; }
h1 {
  font-size: 60px;
  text-transform: none;
}
h2, .erc-h2 {
  text-transform: none;
  font-size: 60px;
}
@media (max-width: 768px) {
  h2, .erc-h2 { font-size: 50px; }
}
@media (max-width: 480px) {
  h2, .erc-h2 { font-size: 30px; }
}
h4 {
  font-size: 16px;
  text-transform: none;
  font-weight: 400;
  line-height: 30px;
}
a {
  text-decoration: none;
}
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.clearfix {
  display: block;
  clear: both;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === Iconos FA stack === */
.fa-stack {
  border-radius: 50%;
  overflow: hidden;
  width: 160px !important;
  height: 160px !important;
  display: inline-block;
  margin: 0px auto;
}

/* === Utilidades === */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.h-100 { height: 100%; }

/* === Botón genérico === */
.boton-generico {
  white-space: normal;
  font-weight: 700;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  line-height: 22px;
  display: inline-block;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* === Button base — previene saltos de altura en hover cuando se aplica border-color dinámico === */
.btn-xl,
.btn {
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* === Slide button === */
.slide-content-btn {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* === Alertas === */
.alert {
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.alert-danger {
  color: #ffffff;
  background-color: #f44336;
  border-color: #f44336;
}
.wpcf7-response-output {
  text-align: center;
  justify-content: center;
  display: flex;
  width: 100%;
}
.wpcf7-response-output .close {
  margin-left: 20px;
}
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}
button.close {
  padding: 0;
  background: 0 0;
  border: 0;
  -webkit-appearance: none;
}

main > section {
  padding: 0;
}

/* === Skip link (W3C) === */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
  z-index: 9999;
  background: white;
  padding: 5px;
}

/* === Bloque wrapper === */
.wrapper-bloque::before {
  content: "";
  display: block;
  padding-top: 76px;
  margin-top: -76px;
}

/* === Global Icons (CTAs) === */
.global-icons {
  display: inline-flex !important;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 26px;
  margin: 0 25px;
  color: white;
  border: 2px solid transparent;
  transition: all ease 0.15s;
  justify-content: center;
  align-items: center;
}
.global-icons.icon-phone { background-color: #8bc34a; border-color: #8bc34a; }
.global-icons.icon-phone:hover { color: #8bc34a; background-color: transparent; }
.global-icons.icon-email { background-color: #ff9800; border-color: #ff9800; }
.global-icons.icon-email:hover { color: #ff9800; background-color: transparent; }
.global-icons.icon-whatsapp { background-color: #00e676; border-color: #00e676; }
.global-icons.icon-whatsapp:hover { color: #00e676; background-color: transparent; }
.global-icons.icon-skype { background-color: #00aff0; border-color: #00aff0; }
.global-icons.icon-skype:hover { color: #00aff0; background-color: transparent; }
.global-icons.icon-video { background-color: #3f51b5; border-color: #3f51b5; }
.global-icons.icon-video:hover { color: #3f51b5; background-color: transparent; }
.global-icons.icon-telegram { border-color: #00bcd4; background: #00bcd4; }
.global-icons.icon-telegram:hover { color: #00bcd4; background-color: transparent; }
.global-icons.icon-agenda { border-color: #b225e2; background: #b225e2; }
.global-icons.icon-agenda:hover { color: #b225e2; background-color: transparent; }
.global-icons:hover { background-color: transparent; }

/* === Formularios === */
form input.form-control {
  display: block;
  width: 100%;
  padding: 20px;
  font-size: 1rem;
  line-height: 1.25;
  color: #495057;
  background-color: #fff;
  background-image: none;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  margin: 0px;
}
form .form-group input {
  padding: 20px;
}
form .form-group.form-floating {
  position: relative;
}
form .form-group.form-floating > input:focus,
form .form-group.form-floating > .form-control:not(:placeholder-shown) {
  padding: 28px 20px 12px;
}
form .form-group.form-floating > .form-control-plaintext::placeholder,
form .form-group.form-floating > .form-control::placeholder {
  color: transparent;
}
form .form-group.form-floating > label {
  position: absolute;
  top: 0;
  left: 8px;
  width: 100%;
  height: 100%;
  padding: 1rem 0.75rem;
  overflow: hidden;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  color: #ddd;
  font-family: Montserrat, Helvetica Neue, Helvetica, Arial, sans-serif;
}
form .form-group.form-floating > .form-control-plaintext ~ label,
form .form-group.form-floating > .form-control:focus ~ label,
form .form-group.form-floating > .form-control:not(:placeholder-shown) ~ label,
form .form-group.form-floating > .form-select ~ label {
  opacity: 1;
  transform: translateY(-6px) translateX(4px) scale(0.7);
}
form .form-control {
  width: 100%;
  margin-bottom: 24px;
}
form .form-control > input {
  width: 100%;
  margin: 0;
  outline: none;
  display: block;
  padding: 20px;
  font-size: 18px;
  line-height: 1.25;
  color: #495057;
  background-color: #fff;
  background-image: none;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 400;
}
form .form-control > textarea {
  width: 100%;
  margin: 0;
  outline: none;
  display: block;
  padding: 20px;
  font-size: 18px;
  line-height: 1.25;
  color: #495057;
  background-color: #fff;
  background-image: none;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 400;
}

/* === Navbar sub === */
.navbar_sub.container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

/* === Nav === */
.nav {
  display: flex;
  align-items: center;
}
.nav .social-buttons {
  display: flex;
  align-items: center;
  margin: 0 0 0 15px;
}
@media (min-width: 993px) {
  .nav .social-buttons { margin-top: 0px; }
}
@media (max-width: 992px) {
  .nav .social-buttons { margin-top: 0; margin-right: 15px; margin-left: 0px; }
}

/* === Header === */
.header {
  padding: 8px 1rem;
  -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
  -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
  transition: padding-top 0.3s, padding-bottom 0.3s;
  background-color: rgba(0, 0, 0, 0.6);
  min-height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1003;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 992px) {
  .header { padding-left: 15px; padding-right: 15px; }
}
.header.header-shadow.fijada {
  -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
}
.header.header-minus ul.menu > li.menu-item > a { text-transform: none; }
.header.header-minus .dropdown-menu a { text-transform: none; }
.header.header-bold ul.menu > li.menu-item > a { font-weight: bold; }
.header.header-bold .dropdown-menu a { font-weight: bold; }

.header #menu-trigger {
  float: right;
  display: none;
  cursor: pointer;
  margin: 0;
}
@media (max-width: 992px) {
  .header #menu-trigger { display: block; font-size: 30px; line-height: 50px; }
}

.header > .navbar_sub > .main-logo {
  text-decoration: none;
  line-height: 50px;
  display: flex;
  align-items: center;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  line-height: inherit;
  white-space: normal;
}
.header > .navbar_sub > .main-logo > img {
  height: 50px;
  width: auto;
  margin-right: 8px;
}
.header > .navbar_sub > .main-logo > span {
  display: inline-block;
  margin-left: 10px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
@media (max-width: 360px) {
  .header > .navbar_sub > .main-logo > span { display: none; }
  .header.fijada .main-logo span { display: none; }
}

/* === Menu === */
.header ul.menu {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
.header ul.menu > li.menu-item > a {
  text-align: center;
}
.header ul.menu > li.menu-item > a.btn-sm {
  line-height: 20px;
  padding: 10px 1.2rem !important;
}
.header ul.menu > li.menu-item.botones.menu-item-0 {
  margin-left: 1.5rem !important;
}

@media (max-width: 992px) {
  .header ul.menu {
    position: absolute;
    top: 70px;
    right: 0;
    z-index: 1001;
    width: 100%;
    height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all ease 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    opacity: 0;
  }
  .header ul.menu:not(.active) { transition: all ease 0.4s; }
  .header ul.menu.active { height: calc(100vh - 70px); opacity: 1; }
}

.header ul.menu > li.menu-item {
  display: flex;
  align-items: center;
  margin: 0;
  position: relative;
}
.header ul.menu > li.menu-item > span.dropdown-toggle {
  position: relative;
  width: 6px;
  justify-content: flex-end;
  pointer-events: none;
  margin-right: 14px;
}

@media (max-width: 992px) {
  .header ul.menu > li.menu-item {
    display: block;
    margin-top: 0;
    padding-left: 15px;
    padding-right: 15px;
    text-align: left;
  }
  .header ul.menu > li.menu-item.menu-item-social {
    display: inline-block;
  }
  .header ul.menu > li.menu-item.menu-item-social a {
    border: none;
  }
}

.header ul.menu > li.menu-item > a {
  display: inline-block;
  transition: all ease 0.4s;
  padding: 20px 14px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 300;
}
@media (max-width: 992px) {
  .header ul.menu > li.menu-item > a {
    padding: 10px 0;
    display: block;
    font-weight: 600 !important;
  }
}

@media (max-width: 768px) {
  .header ul.menu > li.menu-item {
    width: 100%;
    text-align: center;
  }
  .header ul.menu > li.menu-item.botones.menu-item-0 {
    margin-top: 20px;
    margin-left: 0 !important;
  }
  .header ul.menu > li.menu-item > a {
    display: inline-block;
  }
  .header ul.menu > li.menu-item > span.dropdown-toggle {
    position: absolute;
    margin-left: 15px;
    top: 7px;
    right: initial;
    height: initial;
    display: initial;
    align-items: initial;
    width: initial;
    justify-content: initial;
    pointer-events: initial;
  }
  .header ul.menu > li.menu-item > span.dropdown-toggle:after {
    vertical-align: middle;
  }
  .header ul.menu > li.menu-item .dropdown-menu {
    box-shadow: none;
    text-align: center;
  }
  .header ul.menu > li.menu-item .dropdown-menu a {
    border: none;
    font-size: 13px !important;
    font-weight: 600 !important;
  }
  .header ul.menu > li.menu-item.active > .dropdown-menu {
    display: block;
    position: static;
    width: 100%;
    top: initial;
    left: initial;
    float: none;
  }
}

/* === Nav item button === */
.nav-item.nav-item-menu-button a.btn {
  margin-right: 10px;
  line-height: 0;
  padding: 1rem 1.2rem !important;
  text-transform: none !important;
}

/* === Bloque title === */
.bloque-title {
  text-align: center;
  margin: 10px 0 45px 0;
}
.bloque-title-small {
  margin: 0 0 15px;
}

/* === Image full === */
.image-full {
  display: none;
  width: 100%;
  line-height: 0;
}
.image-full img { width: 100%; }
@media (max-width: 991px) {
  .image-full { display: inline-block; }
}

/* === Footer === */
.footer {
  padding: 25px 0 30px 0px;
  font-size: 12px;
}
.footer > .container {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}
@media (max-width: 992px) {
  .footer > .container { display: block; }
}
.footer > .container_bottom {
  border-bottom: none;
  padding: 0;
  margin-top: 10px;
}
.footer .links_personal a {
  margin-right: 30px;
}
/* Sin opacidad: el SCSS del Vue trae `opacity: .7`, pero el CSS compilado de
   producción lo pisa después con `.footer .copyright, .footer .legal {opacity:1}`
   (más específico que el `footer .legal` del .7). Medido en producción: 1. Con
   el .7 el pie salía más apagado aquí que en la web original. */
.footer .legal,
.footer .copyright {
  opacity: 1;
}
.footer .legal a:hover,
.footer .copyright a:hover {
  text-decoration: underline;
}
.footer .unlist {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
}
.footer .unlist li {
  padding: 0 3px;
}
/* A11y (WCAG 2.5.8): área pulsable >=24px en los enlaces del menú legal del footer. */
.footer .unlist li a {
  display: inline-block;
  min-height: 24px;
  padding: 4px 6px;
  line-height: 1.5;
}
@media (max-width: 769px) {
  .footer { text-align: center; }
  .footer .text-right { text-align: center !important; }
  .footer ul.social-buttons { margin-left: 0; }
}

/* === Contenido leyes === */
#contenido_leyes {
  padding: 15px 15px;
  margin-top: 70px;
  word-break: break-word;
}
@media (max-width: 769px) {
  #contenido_leyes { max-width: none; }
}

/* === Cookie banner === */
.Cookie--dark-lime {
  z-index: 999999 !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 30px;
  background: #424851;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.Cookie--dark-lime .Cookie__content {
  flex: 1;
  margin-right: 15px;
}
.Cookie--dark-lime .Cookie__button {
  background: #ffffff !important;
  color: #424851 !important;
  border: 2px solid #ffffff !important;
  font-weight: bold;
  padding: 8px 20px;
  cursor: pointer;
  white-space: nowrap;
}
.Cookie--dark-lime .Cookie__button:hover {
  background: #424851 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

/* === Popup wrapper === */
.wrapper-popup .popup {
  /* base */
}
@media (max-width: 768px) {
  .wrapper-popup .popup { padding: 45px 15px !important; }
}

/* === Swiper === */
.swiper-container-autoheight .swiper-wrapper {
  transition-property: transform;
}
.swiper-slide {
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}
.swiper-wrapper {
  -webkit-transform-style: preserve-3d;
}
.no_slider .swiper-wrapper {
  justify-content: center;
}
.no_slider .swiper-slide-duplicate,
.no_slider .swiper-button-prev,
.no_slider .swiper-button-next,
.no_slider .swiper-pagination {
  display: none !important;
}

/* === Social share === */
.social_share {
  position: fixed;
  top: 20%;
  left: auto;
  float: right;
  right: 0;
  bottom: auto;
  z-index: 100020;
  background: none;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}
@media (max-width: 768px) {
  .social_share {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
  }
  .social_share a[class^="share-network-"] { flex: 1; }
}

iframe { max-width: 100%; }

.geodir-embed-container {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}
.geodir-embed-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* === Share network buttons === */
.share-network-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
}
a[class^="share-network-"],
div[class^="share-network-"] {
  flex: none;
  color: #ffffff;
  background-color: #333;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0;
  width: 48px;
  height: 48px;
  transition: width 0.15s ease-in-out;
}
a[class^="share-network-"]:hover,
div[class^="share-network-"]:hover {
  width: 64px;
}
a[class^="share-network-"] .fah,
div[class^="share-network-"] .fah {
  padding: 12px;
  flex: 0 1 auto;
  font-size: 24px;
}
a[class^="share-network-"] span,
div[class^="share-network-"] span {
  padding: 0 10px;
  flex: 1 1 0%;
  font-weight: 500;
  display: none;
}

/* === Kit Digital footer === */
.footer-kit-digital.grey {
  background: #e8eaee;
  color: #0c0c0c;
  font-size: 12px;
}
.footer-kit-digital.black {
  background: #0c0c0c;
  color: #e8eaee;
  font-size: 12px;
}
.footer-kit-digital .text-kit {
  padding: 35px 0 10px 0;
  font-size: 10px;
  font-weight: 600;
}

/* === Individual (Entrada, Frase, Reto) === */
.individual {
  padding-top: 76px;
}
.individual h1.bloque-title {
  text-transform: none;
}
.individual .date-and-author {
  margin-bottom: 45px;
  font-weight: bold;
}
.individual .img-destacada {
  width: 100%;
}
.individual .text-content {
  text-align: left !important;
  padding-bottom: 75px;
}
.individual .text-content h2 {
  font-size: 30px;
  margin-bottom: 24px;
  display: inline-block;
  width: 100%;
}
.individual .text-content p {
  margin-top: 0;
  margin-bottom: 24px;
}
.individual .text-content .geodir-embed-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.individual .text-content .geodir-embed-container > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.individual .text-autor {
  text-align: center;
  padding-bottom: 75px;
  font-weight: bold;
}

/* === Reto individual === */
.individual .reto-subtitulo {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: flex;
  padding: 5px;
  margin-bottom: 15px;
  min-height: 70px;
  background: #bbb;
}
.individual .reto-subtitulo .resumen-icon {
  width: 10%;
  flex: 0 0 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.individual .reto-subtitulo .resumen-subtitulo {
  width: 10%;
  flex: 0 0 60%;
  display: flex;
  text-align: left;
  padding: 0 15px;
  align-items: center;
  color: #ffffff;
}
.individual .reto-subtitulo .resumen-tiempo {
  width: 10%;
  flex: 0 0 30%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.individual .reto-target {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: flex;
  padding: 5px;
  background: #ccc;
  margin-bottom: 15px;
  min-height: 70px;
}
.individual .reto-target .resumen-icon {
  width: 10%;
  flex: 0 0 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.individual .reto-target .resumen-contenido {
  width: 10%;
  flex: 0 0 60%;
  display: flex;
  text-align: left;
  padding: 0 15px;
  align-items: center;
  color: #ffffff;
}
.individual .reto-content {
  margin-top: 30px;
}
.individual .reto-ayudas_acciones {
  text-align: left;
  margin-bottom: 50px;
}
.individual .reto-ayudas_acciones .subtitle {
  background: rgba(0,0,0,0.1);
  padding: 10px 15px;
  font-weight: bold;
}
.individual .reto-ayudas_acciones .subtitle .icon {
  margin-right: 10px;
}
.individual .reto-ayudas_acciones .lista {
  padding: 10px 15px;
}
.individual .reto-ayudas_acciones .lista .text-bold {
  font-weight: bold;
}
.individual .reto-ayudas_acciones .lista span {
  display: inline-block;
  width: 100%;
}
.individual .reto-ayudas_acciones .reto-ayudas {
  background: #ccc;
  padding: 0;
}
.individual .reto-ayudas_acciones .reto-acciones {
  background: #bbb;
  padding: 0;
}

/* === Política legal === */
.individual-politica {
  padding-top: 126px;
}
.pbody .individual-politica {
  padding-top: 50px;
}

/* === Dropdown menu === */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-menu a:hover {
  opacity: 0.8;
}
.menu-item:hover > .dropdown-menu,
.menu-item.active > .dropdown-menu {
  display: block;
}

/* === Dropdown toggle caret === */
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* === List inline === */
.list-inline {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.list-inline-item {
  display: inline-block;
}
.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

/* === Social buttons === */
ul.social-buttons {
  margin-bottom: 0;
}
ul.social-buttons li,
ul.social-buttons li.list-inline-item:not(:last-child) {
  text-align: center;
  margin: 0;
}
ul.social-buttons li a {
  font-size: 16px;
  line-height: 25px;
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  text-align: center;
  transition: all 0.3s;
}

/* === Bloque Texto (BloqueTexto.vue <style>) === */
.bloque-texto {
  padding-top: 0;
  padding-bottom: 0;
}
.bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.bg-image.bg_contain {
  background-image: none !important;
  display: flex;
  align-items: center;
}
.bg-image.bg_contain .bg_contain {
  display: block;
}
.bloque-texto .servicio p {
  font-size: 16px;
  line-height: 26px;
}
.bloque-texto .geodir_post_meta p {
  font-size: 16px;
  line-height: 22px;
}
.bloque-texto .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.img_entera {
  display: none;
  width: 100%;
}
@media (max-width: 991px) {
  .bg-image.bg_contain .bg_contain,
  .img_entera {
    display: none;
  }
}

/* === Bloque Formulario (BloqueFormulario.vue <style>) === */
.bloque-formulario {
  background-size: cover;
  padding: 50px 0;
}
.bloque-formulario .bloque-title-small {
  margin-bottom: 15px;
}
.bloque-formulario .btn {
  padding: 15px 40px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bloque-formulario .mandatory {
  font-size: 12px;
  opacity: 0.7;
}
.sm-text-center {
  text-align: right;
}
@media (max-width: 768px) {
  .sm-text-center {
    text-align: center !important;
  }
}

/* === Grid utility extra (col-lg-55: 5 columnas) === */
.col-lg-55 {
  flex: 0 0 20%;
  max-width: 20%;
}
@media (max-width: 991px) {
  .col-lg-55 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  .col-lg-55 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* === Bloque Testimonios === */
.bloque-testimonios .testimonio {
  padding: 30px;
  margin-bottom: 20px;
}
.bloque-testimonios .testimonio .stars {
  color: #ffc107;
  margin-bottom: 10px;
}
.bloque-testimonios .testimonio .foto {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* === Bloque Call Actions === */
.bloque-call-actions .contact_fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === Dropdown menu === */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 8px 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.menu-item.active > .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
}
.dropdown-toggle {
  cursor: pointer;
}
.dropdown-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  vertical-align: middle;
  content: "";
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
@media (max-width: 992px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
  }
}

/* === Popup wrapper === */
.wrapper-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.wrapper-popup.p-active {
  display: flex;
}
.wrapper-popup .popup {
  padding: 45px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.wrapper-popup .close-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  /* El Vue compartido (Popup.vue) tenia z-index:99999 en la X; el port a PHP lo
     perdio, asi que el contenido del modal (.animated-modal, que crea contexto de
     apilado y va despues en el DOM) se pintaba ENCIMA de la X y no se veia. */
  z-index: 99999;
}

/* === Autor popup === */
/* Tarjeta de autor / CTA, apilada y CENTRADA: foto redonda arriba al centro y,
   debajo, título + texto + botón centrados. El renderer sólo tenía una
   reconstrucción a medias (max-width:600, display:block, sin anchura para la
   columna de detalles), por lo que el bloque de texto colapsaba a la izquierda
   (texto centrado pero descuadrado respecto a la foto). Centramos a propósito
   (decisión de diseño); no se replica el layout original de dos columnas. */
#autor-popup, #autor-popup-bg {
  display: none;
}
#autor-popup-bg.showing {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 100000;
  cursor: pointer;
}
#autor-popup.showing {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100001;
  width: 90%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
  padding: 45px 40px;
  box-shadow: 1px 0 10px 0 rgba(0,0,0,0.15);
  text-align: center;
}
#autor-popup #autor-popup-close {
  /* Antes solo el glifo (8x12px, area de toque muy por debajo del minimo
     recomendado de 44x44) y bastante mas pequeño que el "x" de los otros
     popups del sistema (.wrapper-popup .close-icon, 28px). Padding + margen
     negativo agranda la zona clicable sin mover el glifo visualmente. */
  position: absolute;
  top: 14px;
  right: 18px;
  margin: -10px;
  padding: 10px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
#autor-popup .autor-popup-img {
  width: 170px;
  height: 170px;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 50%;
}
#autor-popup .autor-popup-img a {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
/* El original oculta el <img> y pinta la foto vía background-image del <a>, pero
   esa URL es un proxy CDN con redirección 301 que aquí no pinta (foto en blanco).
   El <img> (URL de origen directa) sí carga, así que lo mostramos recortado al
   círculo: foto fiable. */
#autor-popup .autor-popup-img a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#autor-popup .autor-popup-details {
  width: 100%;
  padding: 0;
  font-size: 16px;
  text-align: center;
}
/* Los párrafos llegan de la API con style="text-align:left" inline; forzamos el
   centrado. */
#autor-popup .autor-popup-details p {
  text-align: center !important;
}
/* El botón del CTA es largo y viene con white-space:nowrap; en móvil se saldría
   de la tarjeta. Permitimos que parta de línea (en escritorio cabe en una). */
#autor-popup .autor-popup-details a.btn {
  white-space: normal;
}

@media (max-width: 768px) {
  #autor-popup.showing { padding: 40px 24px 48px; }
  #autor-popup .autor-popup-img { width: 130px; height: 130px; margin: 0 auto 16px; }
  #autor-popup .autor-popup-details { font-size: 14px; }
  #autor-popup .autor-popup-details h3 { font-size: 22px; }
  /* grid.css (heredado del diseño original, pensado para un popup de 2 columnas
     con formulario) fuerza height:95vh en este breakpoint. Con el contenido
     actual (foto + texto + botón) eso deja media tarjeta en blanco debajo del
     CTA. auto la ajusta a su contenido real. */
  #autor-popup.showing { height: auto; }
}

/* === Bloque Mapa (Leaflet/OpenStreetMap) ===
   Altura del mapa — equivalente a .leaflet-map { height: 600px } del
   GoogleMapLoader.vue (versión Leaflet) de vue-webs. */
.leaflet-map {
  width: 100%;
  height: 600px;
}

/* Antes de que llegue swiper.min.css (se carga en diferido) las diapositivas
   no deben apilarse en vertical: evita saltos de diseño (CLS) en la cabecera. */
.swiper { overflow: hidden; position: relative; }
.swiper-wrapper { display: flex; }
.swiper-slide { flex-shrink: 0; }
.bloque-slider .swiper:not(.swiper-initialized) .swiper-slide { width: 100%; }
.bloque-slider .swiper:not(.swiper-initialized) .swiper-slide ~ .swiper-slide { display: none; }
