/* WordPress core: auto-sizes support */
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */

/* WPBakery: scroll-in animation fallback (avoid FOUC if JS fails) */
.wpb_animate_when_almost_visible { opacity: 1; }

/* Site custom CSS (was: WP Customizer "Additional CSS") */
/* GENERAL */

.vc_column-inner{
	padding-top:0 !important;
}

@media (max-width:991px){
.espacio-entre-filas{
	height:calc(50 * var(--pbr-fluid-unit, 1px)) !important;
}
}

@media (min-width:992px){
.bloque-perfiles .q_elements_item{
	padding:calc(50 * var(--pbr-fluid-unit, 1px)) !important;
}
}

@media (max-width:991px){
.bloque-perfiles .q_elements_item .wpb_content_element{
	padding:calc(10 * var(--pbr-fluid-unit, 1px)) calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}
}

.bloque-perfiles{
	margin:calc(50 * var(--pbr-fluid-unit, 1px)) 0 !important;
}

.perfiles .logo2{
	max-width:calc(300 * var(--pbr-fluid-unit, 1px)) !important;
	margin:auto !important;
}

/* SERVICIOS */

.servicio .qode-accordion-holder h5:first-child{
	display:none !important;
}

.servicio .qode-title-holder{
	background-color:#94c0d4 !important;
	border:none !important;
	margin:calc(10 * var(--pbr-fluid-unit, 1px)) 0 !important;
}

.servicio span.qode-tab-title{
	height:auto !important;
}

.servicio span.qode-tab-title-inner{
	color:white !important;
	padding:calc(10 * var(--pbr-fluid-unit, 1px)) calc(20 * var(--pbr-fluid-unit, 1px)) !important;
	text-transform:uppercase !important;
}

@media (min-width:992px){

/* CELIA */

.celia .fondo-rosa-html{
	width:1000%;
	height:170%;
	background-color:#f3b6a1;
	z-index:-100;
	position:absolute;
	top:calc(-50 * var(--pbr-fluid-unit, 1px));
	left:-700%;
}

.celia .full_section_inner{
	max-width:90% !important;
	width:calc(1300 * var(--pbr-fluid-unit, 1px)) !important;
	margin:calc(100 * var(--pbr-fluid-unit, 1px)) auto 0 !important;
}

.celia .fondo-puntitos{
	max-width:calc(175 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-250 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-200 * var(--pbr-fluid-unit, 1px)) !important;
	right:-75% !important;
}

.celia .perfil1{
	position:relative !important;
	top:calc(-100 * var(--pbr-fluid-unit, 1px)) !important;
}

/* ANDRÉS */

.andres .fondo-amarillo-html{
	width:1000%;
	height:170%;
	background-color:#f5ca77;
	z-index:-100;
	position:absolute;
	top:calc(-50 * var(--pbr-fluid-unit, 1px));
	left:-120%;
}

.andres .full_section_inner{
	max-width:90% !important;
	width:calc(1300 * var(--pbr-fluid-unit, 1px)) !important;
	margin:calc(100 * var(--pbr-fluid-unit, 1px)) auto 0 !important;
}

.andres .fondo-puntitos{
	max-width:calc(175 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-400 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-200 * var(--pbr-fluid-unit, 1px)) !important;
	right:-75% !important;
}

.andres .perfil1{
	position:relative !important;
	top:calc(-100 * var(--pbr-fluid-unit, 1px)) !important;
}
}

@media (min-width:769px) and (max-width:991px){

/* CELIA */

.celia .full_section_inner{
	max-width:80% !important;
	margin:auto !important;
}

.celia .fondo-puntitos{
	max-width:calc(150 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-700 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-200 * var(--pbr-fluid-unit, 1px)) !important;
	right:-20% !important;
	z-index:-1 !important;
}
	
.celia .perfil-responsive{
	padding:5% !important;
}
	
.celia .comillas{
	display:flex !important;
	max-width:calc(75 * var(--pbr-fluid-unit, 1px)) !important;
	margin:auto !important;
}

/* ANDRÉS */

.andres .full_section_inner{
	max-width:80% !important;
	margin:auto !important;
}

.andres .fondo-puntitos{
	max-width:calc(150 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-650 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-200 * var(--pbr-fluid-unit, 1px)) !important;
	left:50% !important;
	z-index:-1 !important;
}

.andres .perfil-responsive{
	padding:5% !important;
}
	
.andres .comillas{
	display:flex !important;
	max-width:calc(75 * var(--pbr-fluid-unit, 1px)) !important;
	margin:auto !important;
}
}

@media (max-width:768px){

/* CELIA */

.celia .full_section_inner{
	max-width:80% !important;
	margin:auto !important;
}

.celia .fondo-puntitos{
	max-width:calc(150 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-300 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-200 * var(--pbr-fluid-unit, 1px)) !important;
	right:25% !important;
	z-index:-1 !important;
}
	
.celia .perfil-responsive{
	padding:5% !important;
}
	
.celia .comillas{
	display:flex !important;
	max-width:calc(75 * var(--pbr-fluid-unit, 1px)) !important;
	margin:auto !important;
}

/* ANDRÉS */

.andres .full_section_inner{
	max-width:80% !important;
	margin:auto !important;
}

.andres .fondo-puntitos{
	max-width:calc(150 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-300 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-200 * var(--pbr-fluid-unit, 1px)) !important;
	right:-100% !important;
	z-index:-1 !important;
}

.andres .perfil-responsive{
	padding:5% !important;
}
	
.andres .comillas{
	display:flex !important;
	max-width:calc(75 * var(--pbr-fluid-unit, 1px)) !important;
	margin:auto !important;
}
}

/* CONTACTO */

.contacto .logo{
	max-width:calc(300 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	left:-5% !important;
	top:calc(-50 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-100 * var(--pbr-fluid-unit, 1px)) !important;
}

.contacto .interior-contacto{
	padding:calc(50 * var(--pbr-fluid-unit, 1px)) 10% !important;
}

/* FORMULARIO */

@media only screen and (max-width: 767px) {
	.one-half{
		width:100% !important;
    margin-bottom: calc(20 * var(--pbr-fluid-unit, 1px)) !important;
    }
	
	.one-half.last{
    float: left !important;
		width:100% !important;
}
}

.contacto p{
	margin:0 !important;
	color:black !important;
}

.contacto .politicas span{
	margin-top:calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}

.contacto .wpcf7-list-item{
	margin:0 !important;
}

.contacto .boton-formulario input{
	border:none !important;
	color:white !important;
	margin:calc(10 * var(--pbr-fluid-unit, 1px)) 0 0 !important;
	border-radius:0 !important;
	background:#183b5f !important;
	white-space: pre-wrap !important;
	display:block !important;
	transition: 0.3s !important;
}

.contacto .boton-formulario input:hover{
	background-color:#f18852 !important;
	transition: 0.3s !important;
}

.contacto .texto-legal{
	font-size:calc(10 * var(--pbr-fluid-unit, 1px)) !important;
	line-height:1.2em !important;
	text-align:justify !important;
	float:none !important;
	display:block !important;
	width:100% !important;
	color:black !important;
}

.contacto .wpcf7 .ajax-loader {
    display: flex;
    top: calc(-25 * var(--pbr-fluid-unit, 1px)) !important;
    margin-bottom: calc(-15 * var(--pbr-fluid-unit, 1px)) !important;
}

@media only screen and (min-width: 768px){
.form-izquierda, .form-derecha{
	width:50% !important;
	float:left !important;
}

.form-izquierda{
	width:49% !important;
	margin-right:1% !important;
	float:left !important;
}
}

.form-izquierda .wpcf7-list-item{
	display:block !important;
}

.form-izquierda .one-half{
	width:100% !important;
}

.form-derecha .one-half{
	width:100% !important;
}

.form-derecha textarea{
	min-height:calc(203 * var(--pbr-fluid-unit, 1px)) !important;
}

/* BOTONES */

.boton-azul{
	background-color: #183b5f !important;
	border:1px solid #183b5f !important;
	border-radius:0 !important;
	color:white !important;
	font-family:'Poppins' !important;
	text-transform:none !important;
}

.boton-azul:hover{
	background-color: #f18852 !important;
	border:1px solid #f18852 !important;
}

/* TESTIMONIO */

@media (min-width:992px){
.bloque-testimonio .q_elements_item{
	padding:calc(50 * var(--pbr-fluid-unit, 1px)) !important;
}
}

@media (max-width:991px){
.bloque-testimonio .q_elements_item{
	padding:calc(10 * var(--pbr-fluid-unit, 1px)) calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}
}

.bloque-testimonio{
	margin:calc(50 * var(--pbr-fluid-unit, 1px)) 0 !important;
}

/* CABECERA TIPO */

/* FOTO */

.cabecera .espacio-foto{
	min-height:calc(600 * var(--pbr-fluid-unit, 1px)) !important;
}

/* TEXTO */

@media (min-width:992px){
.cabecera .texto{
	display:grid !important;
	margin-bottom:calc(-400 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-400 * var(--pbr-fluid-unit, 1px)) !important;
}
}

@media (max-width:991px){
.cabecera .texto{
	background-color
	display:grid !important;
	margin-bottom:calc(-100 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	top:calc(-100 * var(--pbr-fluid-unit, 1px)) !important;
}
}

.cabecera .texto .vc_column-inner{
	padding:calc(50 * var(--pbr-fluid-unit, 1px)) !important;
}

/* MODULO 1 */

.modulo1 .logo{
	max-width:calc(300 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	left:-20% !important;
	margin-bottom:calc(-100 * var(--pbr-fluid-unit, 1px)) !important;
	display:grid !important;
}

.modulo1 .rayo{
	max-width:calc(50 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	left:90% !important;
	top:calc(-50 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-50 * var(--pbr-fluid-unit, 1px)) !important;
	display:grid !important;
}

.modulo1 .comillas{
	max-width:calc(100 * var(--pbr-fluid-unit, 1px)) !important;
	position:relative !important;
	left:-15% !important;
	top:calc(-50 * var(--pbr-fluid-unit, 1px)) !important;
	margin-bottom:calc(-100 * var(--pbr-fluid-unit, 1px)) !important;
	display:grid !important;
}

/* MODULO TIPO POPUP */

@media (max-width:999px){
.foto-modulo-popup{
	padding:0px calc(50 * var(--pbr-fluid-unit, 1px)) calc(50 * var(--pbr-fluid-unit, 1px)) !important;
}
	
.modulo-popup2{
	max-width:calc(1100 * var(--pbr-fluid-unit, 1px)) !important;
	margin:auto !important;
}
}

@media (min-width:1000px){
.foto-modulo-popup{
	max-width:calc(350 * var(--pbr-fluid-unit, 1px)) !important;
	float:right !important;
	position:relative !important;
	top:calc(-127 * var(--pbr-fluid-unit, 1px)) !important;
	padding:calc(45 * var(--pbr-fluid-unit, 1px)) !important;
}

	
.modulo-popup2{
	max-width:calc(1100 * var(--pbr-fluid-unit, 1px)) !important;
	max-height:calc(400 * var(--pbr-fluid-unit, 1px)) !important;
	margin: auto auto calc(225 * var(--pbr-fluid-unit, 1px)) auto !important;
}
}

.modulo-popup{
	max-width:calc(1100 * var(--pbr-fluid-unit, 1px)) !important;
	margin: auto !important;
}

@media (max-width:600px){
.q_elements_holder.four_columns .q_elements_item.columna-int{
	display:inline !important;
	width:80% !important;
	margin:auto !important;
}
}

@media (min-width:601px) and (max-width:999px){
.q_elements_holder.four_columns .q_elements_item.columna-int{
	display:inline-flex !important;
	width:50% !important;
}
}

@media (min-width:1000px){
.q_elements_holder.four_columns .q_elements_item.columna-int{
	display:inline-flex !important;
	width:25% !important;
}
}

.modulo-home-3col .icono{
	max-width:calc(75 * var(--pbr-fluid-unit, 1px)) !important;
	margin:0 auto calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}

.modulo-home-3col .epigrafes{
	padding:calc(10 * var(--pbr-fluid-unit, 1px)) !important;
}

@media (min-width:769px){
.modulo-home-3col .epigrafes{
	min-height:calc(130 * var(--pbr-fluid-unit, 1px)) !important;
}

.modulo-home-3col .una-linea{
	margin:calc(53 * var(--pbr-fluid-unit, 1px)) 0 0 !important;
}
}

.modulo-1col{
	max-width:90% !important;
	margin:auto !important;
}

/* TEXTOS */

.titulo1 h1{
	margin-bottom:calc(10 * var(--pbr-fluid-unit, 1px)) !important;
}

.titulo1 h1 span{
	color:black !important;
background: linear-gradient(0deg, #f5ca77 30%, transparent 30%);
	padding:calc(20 * var(--pbr-fluid-unit, 1px)) 0 0
}

.titulo2 h2{
	margin-bottom:calc(10 * var(--pbr-fluid-unit, 1px)) !important;
}

.parrafo p, .parrafo ul{
	margin-bottom:1em !important;
}

.parrafo p{
	font-size:calc(15 * var(--pbr-fluid-unit, 1px)) !important;
	line-height:1.5em !important;
}

/* FOOTER TOP */

.footer_top{
	padding:0 !important;
}

.footer_top h4{
	font-family:'Poppins' !important;
	font-weight:700 !important;
	padding:0 !important;
	line-height:calc(24 * var(--pbr-fluid-unit, 1px)) !important;
}

.footer_top p{
	font-size:calc(16 * var(--pbr-fluid-unit, 1px)) !important;
	line-height:calc(24 * var(--pbr-fluid-unit, 1px)) !important;
}

.footer_top .container_inner{
	width:100% !important;
}

.three_columns>.column1>.column_inner, .three_columns>.column2>.column_inner, .three_columns>.column3>.column_inner{
	padding:0 !important;
}

.footer_top .azul{
	padding:calc(30 * var(--pbr-fluid-unit, 1px)) calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}

/* IZQUIERDA */

.footer_top .column1 .azul{
	background-color:#94c0d4 !important;
}

/* CENTRO */

.footer_top .three_columns .column2 .column_inner>div{
	margin:0 !important;

}

.footer_top .column2 .azul{
	background-color:#f18852 !important;
}

/* DERECHA */

.footer_top .three_columns .column3 .column_inner>div{
	margin:0 !important;
}

.footer_top .column3 .azul{
	background-color:#f3b6a1 !important;
}

/* FOOTER RESPONSIVE */

@media (min-width: 769px){
.footer_top .column1 .azul, .footer_top .column2 .azul, .footer_top .column3 .azul{
	height:calc(60 * var(--pbr-fluid-unit, 1px)) !important;
}
}

@media (min-width:481px) and (max-width: 768px){
.footer_top .column1 .azul, .footer_top .column2 .azul, .footer_top .column3 .azul{
	height:calc(60 * var(--pbr-fluid-unit, 1px)) !important;
}
	
.footer_top .column1, .footer_top .column2, .footer_top .column3 .azul{
	margin:0 !important;
}
}

@media (max-width: 480px){
	.header_bottom, footer .container_inner{
		padding:0 !important;
	}
	
.footer_top .column1.footer_col1, .footer_top .column2.footer_col2, .footer_top .column3.footer_col3{
		margin:0 !important;
	}
	
.footer_top .column_inner>div:not(.qode_separator_widget){
		margin-bottom:0 !important;
	}
}

/* FOOTER BOTTOM */

.footer_bottom img{
	max-width:calc(250 * var(--pbr-fluid-unit, 1px)) !important;
	padding:calc(50 * var(--pbr-fluid-unit, 1px)) 0 calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}

.footer_bottom #menu-legales a{
	font-family:'Poppins' !important;
	letter-spacing:0 !important;
	font-weight:700 !important;
}

.footer_bottom .textwidget{
	padding:10PX 0 calc(10 * var(--pbr-fluid-unit, 1px)) !important;
}

/* MENU */

.mobile_menu_button{
	margin-left:calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}

.mobile_menu_button span{
	color:#183b5f !important;
	font-size:calc(20 * var(--pbr-fluid-unit, 1px)) !important;
}

.page_header:not(.sticky) .header_bottom{
	padding-top:1% !important;
}

.page_header:not(.sticky)
nav.main_menu>ul>li>a{
	margin-top:calc(70 * var(--pbr-fluid-unit, 1px)) !important;
	padding-bottom:calc(20 * var(--pbr-fluid-unit, 1px)) !important;
	line-height:1em !important;
}

.page_header nav a{
	color:#183b5f !important;
}

.page_header nav a:hover{
	color:#f18852 !important;
}

@media (max-width: 480px){
.header_bottom .container_inner{
	width:95% !important;
}
}

/* FONDO */

.fondo-rosa, .fondo-amarillo{
	opacity:0.75 !important;
}

.fondo-rosa.izquierda, .fondo-azul.izquierda{
	position:absolute !important;
	top:calc(250 * var(--pbr-fluid-unit, 1px)) !important;
	max-width:30% !important;
	z-index:-1 !important;
}

.fondo-rosa.izquierda{
	position:absolute !important;
	top:20% !important;
	max-width:30% !important;
	z-index:-1 !important;
}

.fondo-amarillo.derecha{
	position:absolute !important;
	bottom:0 !important;
	max-width:25% !important;
	right:0 !important;
	z-index:-10 !important;
}

.fondo-amarillo.izquierda{
	position:absolute !important;
	bottom:0 !important;
	max-width:30% !important;
	left:0 !important;
	z-index:-10 !important;
}

.fondo-amarillo.izquierda.abajo{
	position:absolute !important;
	top:calc(250 * var(--pbr-fluid-unit, 1px)) !important;
	max-width:30% !important;
	left:0 !important;
	z-index:-1 !important;
}

.fondo-puntos{
	opacity:0.75 !important;

}

.fondo-puntos.abajo-derecha{
	position:absolute !important;
	bottom:10% !important;
	right:0 !important;
	max-width:12% !important;
	text-align:right !important;
}

.fondo-puntos.arriba-izquierda{
	position:absolute !important;
	top:20% !important;
	left:0 !important;
	max-width:12% !important;
	text-align:right !important;
	z-index:-1 !important;
}

@media (max-width:991px){
.fondo-rosa, .fondo-amarillo, .fondo-puntos{
	display:none !important;
}
}

/* COLORES */

.negro p, .negro h1, .negro h2, .negro h3, .negro h4, .negro h5, .negro h6, .negro span, .negro li{
	color:#000000 !important;
}

.blanco p, .blanco h1, .blanco h2, .blanco h3, .blanco h4, .blanco h5, .blanco h6, .blanco span, .blanco li{
	color:#ffffff !important;
}

.azul p, .azul h1, .azul h2, .azul h3, .azul h4, .azul h5, .azul h6, .azul span, .azul li{
	color:#183b5f !important;
}

.rosa p, .rosa h1, .rosa h2, .rosa h3, .rosa h4, .rosa h5, .rosa h6, .rosa span, .rosa li{
	color:#f3b6a1 !important;
}

.naranja p, .naranja h1, .naranja h2, .naranja h3, .naranja h4, .naranja h5, .naranja h6, .naranja span, .naranja li{
	color:#f18852 !important;
}

.celeste p, .celeste h1, .celeste h2, .celeste h3, .celeste h4, .celeste h5, .celeste h6, .celeste span, .celeste li{
	color:#94c0d4 !important;
}

.amarillo p, .amarillo h1, .amarillo h2, .amarillo h3, .amarillo h4, .amarillo h5, .amarillo h6, .amarillo span, .amarillo li{
	color:#f5ca77 !important;
}

/* RESPONSIVE */

@media (max-width:991px){
.min-992{
	display:none !important;
}
}

/* EFECTOS */

.shadow-drop-2-center {
	animation: shadow-drop-2-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes shadow-drop-2-center {
  0% {
    transform: translateZ(0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    transform: translateZ(50px);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
  }
}

.slide-in-elliptic-left-fwd{
	animation: slide-in-elliptic-left-fwd 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-elliptic-left-fwd {
  0% {
    transform: translateX(-800px) rotateY(30deg) scale(0);
    transform-origin: -100% 50%;
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotateY(0) scale(1);
    transform-origin: 1800px 50%;
    opacity: 1;
  }
}

.icono:hover, .comillas:hover, .rayo:hover{
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
  transform:scale(1.2);
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  
  30%, 50%, 70% {
    transform: translate3d(-2px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(2px, 0, 0);
  }
}

/* Enlaces del pie (dirección a Maps y teléfono) */
.footer_top .azul a.footer-link { color: inherit !important; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.footer_top .azul a.footer-link:hover { opacity: .8; }
/* Pie: dirección y teléfono visibles y pulsables */
html body footer .footer_top .azul a.footer-link { color: #183B5F !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; border-bottom: 0; }
html body footer .footer_top .column3 .azul a.footer-link[href^="tel:"] { font-size: calc(20 * var(--pbr-fluid-unit, 1px)); font-weight: 800; text-decoration: none !important; display: inline-block; padding: calc(6 * var(--pbr-fluid-unit, 1px)) calc(18 * var(--pbr-fluid-unit, 1px)); margin-top: calc(4 * var(--pbr-fluid-unit, 1px)); border-radius: calc(100 * var(--pbr-fluid-unit, 1px)); background: #183B5F; color: #fff !important; }
/* Dirección del pie sin subrayado */
html body footer .footer_top .azul a.footer-link[href*="google.com/maps"] { text-decoration: none !important; border-bottom: 0 !important; }
html body footer .footer_top .azul a.footer-link[href*="google.com/maps"]:hover { opacity: .75; }

/* Titulares: reparto equilibrado de líneas (evita palabras sueltas y líneas muy cortas) */
h1, h2, h3, h4,
[class*="-title"], [class$="title"] { text-wrap: balance; }
/* En móvil, los saltos de línea de los titulares se ignoran y el texto se reparte solo */
@media (max-width: 700px) { h1 br.br-escritorio, h2 br.br-escritorio, h3 br.br-escritorio { display: none; } }
/* Cada frase de un titular en su línea (escritorio), repartida sin palabras sueltas; en móvil fluye seguido */
.tl { display: block; text-wrap: balance; }
@media (max-width: 700px) { .tl { display: inline; } }
/* Párrafos: evita una palabra sola en la última línea */
p, li { text-wrap: pretty; }
/* Separación título → entradilla (el reset ".pbr-wrap h2 {margin:0}" de algunas páginas la anulaba) */
.pbr-wrap h2.ppo-title { margin-bottom: calc(20 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap h2.ppo-cierre-title { margin-bottom: calc(20 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap h2.co-title { margin-bottom: calc(20 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap h2.trt-title { margin-bottom: calc(24 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap h2.trt-cierre-title { margin-bottom: calc(16 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap h2.nc-title { margin-bottom: calc(20 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap h2.nc-cierre-title { margin-bottom: calc(18 * var(--pbr-fluid-unit, 1px)); }
/* Márgenes de entradillas y teléfonos anulados por ".pbr-wrap p {margin:0}" */
.pbr-wrap p.ppo-intro { margin-bottom: calc(48 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap p.ppo-phone { margin-top: calc(12 * var(--pbr-fluid-unit, 1px)); }
.pbr-wrap p.nc-phone { margin-top: calc(8 * var(--pbr-fluid-unit, 1px)); }

/* Indicadores del hero en móvil: 4 → cuadrícula 2 × 2; 3 → una sola fila de 3 */
@media (max-width: 700px) {
  html body .hero-stats:has(> :nth-child(4)),
  html body .ppo-stats:has(> :nth-child(4)) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: calc(26 * var(--pbr-fluid-unit, 1px)) calc(16 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .hero-stats:has(> :nth-child(3):last-child),
  html body .ppo-stats:has(> :nth-child(3):last-child) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: calc(12 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .hero-stats > *, html body .ppo-stats > * { min-width: 0 !important; }
  html body .hero-stats:has(> :nth-child(3):last-child) .stat-num,
  html body .ppo-stats:has(> :nth-child(3):last-child) .ppo-stat-num { font-size: calc(19 * var(--pbr-fluid-unit, 1px)) !important; line-height: 1.15 !important; overflow-wrap: normal; hyphens: none; word-break: normal; }
  html body .hero-stats:has(> :nth-child(3):last-child) .stat-label,
  html body .ppo-stats:has(> :nth-child(3):last-child) .ppo-stat-label { font-size: calc(11 * var(--pbr-fluid-unit, 1px)) !important; line-height: 1.35 !important; }
  html body .ppo-stats:has(> :nth-child(3):last-child) { justify-content: stretch !important; }
  html body .ppo-stats:has(> :nth-child(3):last-child) .ppo-stat-num { white-space: normal !important; }
  html body .ppo-stats:has(> :nth-child(3):last-child) .ppo-stat-label { max-width: none !important; }
  /* centrado y tamaño mayor */
  html body .hero-stats:has(> :nth-child(4)) > *,
  html body .ppo-stats:has(> :nth-child(4)) > *,
  html body .hero-stats:has(> :nth-child(3):last-child) > *,
  html body .ppo-stats:has(> :nth-child(3):last-child) > * { text-align: center !important; align-items: center !important; justify-self: center !important; }
  html body .hero-stats:has(> :nth-child(4)) .stat-num,
  html body .ppo-stats:has(> :nth-child(4)) .ppo-stat-num { font-size: calc(24 * var(--pbr-fluid-unit, 1px)) !important; line-height: 1.15 !important; justify-content: center; text-align: center !important; white-space: normal !important; overflow-wrap: break-word; }
  html body .hero-stats:has(> :nth-child(4)) .stat-label,
  html body .ppo-stats:has(> :nth-child(4)) .ppo-stat-label { font-size: calc(14 * var(--pbr-fluid-unit, 1px)) !important; line-height: 1.35 !important; text-align: center !important; margin-top: calc(6 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .hero-stats:has(> :nth-child(3):last-child) .stat-num,
  html body .ppo-stats:has(> :nth-child(3):last-child) .ppo-stat-num { font-size: calc(21 * var(--pbr-fluid-unit, 1px)) !important; text-align: center !important; }
  html body .hero-stats:has(> :nth-child(3):last-child) .stat-label,
  html body .ppo-stats:has(> :nth-child(3):last-child) .ppo-stat-label { font-size: calc(12 * var(--pbr-fluid-unit, 1px)) !important; text-align: center !important; }
  html body .hero-stats:has(> :nth-child(4)), html body .ppo-stats:has(> :nth-child(4)) { gap: calc(32 * var(--pbr-fluid-unit, 1px)) calc(12 * var(--pbr-fluid-unit, 1px)) !important; margin-top: calc(36 * var(--pbr-fluid-unit, 1px)) !important; padding-top: calc(32 * var(--pbr-fluid-unit, 1px)) !important; }
}

/* Móvil: titulares, entradillas, héroes y cierres centrados (listas y textos largos siguen alineados a la izquierda) */
@media (max-width: 700px) {
  html body :is(.hero-inner, .trt-hero-left, .ppo-hero-left, .nc-hero-content) { text-align: center; }
  html body :is(.hero-actions, .trt-hero-btns, .nc-hero-btns, .tec-hero-actions, .ppo-hero-actions) { justify-content: center; }
  html body :is(h2.section-title, h2.s-title, h2.s-title-w, h2.taller-title, h2.trt-title, h2.ppo-title, h2.nc-title, h2.co-title, h2.cierre-title, h2.reviews-title, h2.slogan) { text-align: center; }
  html body [class*="eyebrow"] { text-align: center; justify-content: center; }
  html body :is(.arg-intro, .taller-intro, .intro-text, .s-intro, .section-sub, .section-intro, .ppo-intro, .nc-intro, .co-intro, .tec-intro, .situaciones-intro, .hero-sub, .home-hero-sub, .trt-hero-sub) { text-align: center; margin-left: auto; margin-right: auto; }
  html body :is(.cta-block, .split-text) { text-align: center; }
  html body .home-hero-left { text-align: center; }
  html body .home-hero-left :is(.hero-actions, .home-hero-actions, [class*="btns"], [class*="actions"]) { justify-content: center; }
  html body [class*="eyebrow"] { flex-direction: column; gap: calc(8 * var(--pbr-fluid-unit, 1px)); }
  html body .social-bar { justify-content: center; text-align: center; flex-direction: column; gap: calc(18 * var(--pbr-fluid-unit, 1px)); }
  html body .social-bar > div, html body .social-bar > p { text-align: center; }
  html body .social-sep { display: none; }
  html body :is(.hero-left, .hero-text, .hero-content) { text-align: center; }
  html body :is(.hero-btns, .hero-buttons, .hero-cta) { justify-content: center; }
  html body :is(.ppo-hero-btns, [class$="hero-btns"], [class$="hero-actions"]) { justify-content: center; }
}

/* Acentos de los indicadores del hero: ★ y + en amarillo (naranja en las landings con titular naranja) */
html body .hero-stats .stat-acc { color: #F5CA77 !important; }
html body .hero-stats.acc-orange .stat-acc { color: #F18852 !important; }

/* Heros con foto: indicadores en una sola fila en escritorio (2 × 2 en tablet y móvil) */
@media (min-width: 1101px) {
  html body .hero-with-photo .hero-stats { display: flex !important; flex-wrap: nowrap !important; gap: calc(22 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .hero-with-photo .hero-stats .stat-item { min-width: 0 !important; flex: 0 1 auto; }
  html body .hero-with-photo .hero-stats .stat-num { font-size: clamp(calc(24 * var(--pbr-fluid-unit, 1px)), 2.1vw, calc(32 * var(--pbr-fluid-unit, 1px))) !important; white-space: nowrap; }
  html body .hero-with-photo .hero-stats .stat-label { font-size: calc(12 * var(--pbr-fluid-unit, 1px)) !important; line-height: 1.3; }
}

/* Estilo profesional en móvil: titulares y etiquetas centrados; entradillas y párrafos largos justificados */
@media (max-width: 700px) {
  html body .hero-stats:has(> :nth-child(4)) .stat-num.stat-treatment { font-size: calc(22 * var(--pbr-fluid-unit, 1px)) !important; }
  html body :is(.hero-sub, .home-hero-sub, .trt-hero-sub, .arg-intro, .taller-intro, .intro-text, .s-intro, .section-sub, .section-intro, .ppo-intro, .nc-intro, .co-intro, .tec-intro, .situaciones-intro) {
    text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; margin-left: 0; margin-right: 0;
  }
  html body :is(.cta-block p, .split-text p) { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
  html body :is(.cta-block, .split-text) { text-align: center; }
  html body :is(h1, h2, h3, h4, [class*="eyebrow"], [class*="title"], .stat-num, .stat-label) { hyphens: manual !important; -webkit-hyphens: manual !important; text-justify: auto; }
  html body :is(.tec-intro, .ppo-intro, .nc-intro) > p { text-align: justify !important; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
}

/* Zoom permitido: los campos de formulario a 16 px evitan el salto de zoom automático de iOS al enfocar */
@media (max-width: 700px) {
  html body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), html body select, html body textarea { font-size: calc(16 * var(--pbr-fluid-unit, 1px)) !important; }
  /* Inicio: el hero vuelve a alinearse a la izquierda (el texto justificado dejaba huecos) */
  html body .home-hero-left, html body .home-hero-left * { text-align: left !important; hyphens: manual !important; -webkit-hyphens: manual !important; }
  html body .home-hero-left :is(.hero-actions, .home-hero-actions, [class*="btns"], [class*="actions"]) { justify-content: flex-start !important; }
}

/* Móvil: sin justificar (evita huecos entre palabras); los textos van a la izquierda y solo titulares/etiquetas/botones se centran */
@media (max-width: 700px) {
  html body :is(.hero-sub, .trt-hero-sub, .arg-intro, .taller-intro, .intro-text, .s-intro, .section-sub, .section-intro, .ppo-intro, .nc-intro, .co-intro, .tec-intro, .situaciones-intro, .cta-block p, .split-text p) {
    text-align: left !important; text-justify: auto; hyphens: manual !important; -webkit-hyphens: manual !important;
  }
  html body :is(.tec-intro, .ppo-intro, .nc-intro) > p { text-align: left !important; hyphens: manual !important; -webkit-hyphens: manual !important; }
}

/* Bloque "Cómo visitarnos": horario, metro y autobús */
.info-visita { max-width: calc(840 * var(--pbr-fluid-unit, 1px)); margin: calc(28 * var(--pbr-fluid-unit, 1px)) auto 0; padding: calc(26 * var(--pbr-fluid-unit, 1px)) calc(28 * var(--pbr-fluid-unit, 1px)); background: #fff; border: 1px solid rgba(24,59,95,0.08); border-radius: calc(20 * var(--pbr-fluid-unit, 1px)); box-shadow: 0 10px 30px rgba(24,59,95,0.06); text-align: left; box-sizing: border-box; }
.info-visita .iv-title { display: flex; align-items: center; gap: calc(10 * var(--pbr-fluid-unit, 1px)); font-size: calc(11 * var(--pbr-fluid-unit, 1px)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F18852; margin-bottom: calc(20 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-title::before { content: ''; width: calc(24 * var(--pbr-fluid-unit, 1px)); height: 2px; background: #F18852; display: inline-block; }
.info-visita .iv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(24 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-item { display: flex; gap: calc(14 * var(--pbr-fluid-unit, 1px)); align-items: flex-start; min-width: 0; }
.info-visita .iv-ico { flex: 0 0 44px; width: calc(44 * var(--pbr-fluid-unit, 1px)); height: calc(44 * var(--pbr-fluid-unit, 1px)); border-radius: calc(14 * var(--pbr-fluid-unit, 1px)); background: rgba(243,182,161,0.28); display: flex; align-items: center; justify-content: center; }
.info-visita .iv-ico svg { width: calc(22 * var(--pbr-fluid-unit, 1px)); height: calc(22 * var(--pbr-fluid-unit, 1px)); fill: none; stroke: #183B5F; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-visita .iv-ico svg .dot { fill: #183B5F; stroke: none; }
.info-visita .iv-label { font-size: calc(12 * var(--pbr-fluid-unit, 1px)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #183B5F; margin-bottom: calc(6 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-text { font-size: calc(14.5 * var(--pbr-fluid-unit, 1px)); line-height: 1.6; color: rgba(24,59,95,0.78); font-weight: 400; }
.info-visita .iv-text b { color: #183B5F; font-weight: 700; display: block; }
.info-visita .iv-text .iv-row + .iv-row { margin-top: calc(6 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-chips { display: flex; flex-wrap: wrap; gap: calc(6 * var(--pbr-fluid-unit, 1px)); margin-top: calc(4 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-chip { display: inline-block; padding: calc(3 * var(--pbr-fluid-unit, 1px)) calc(10 * var(--pbr-fluid-unit, 1px)); border-radius: calc(999 * var(--pbr-fluid-unit, 1px)); background: #FDF3EC; border: 1px solid rgba(243,182,161,0.7); color: #183B5F; font-size: calc(12.5 * var(--pbr-fluid-unit, 1px)); font-weight: 700; line-height: 1.5; }
.info-visita .iv-chip.is-urbano { background: #F18852; border-color: #F18852; color: #fff; }
.info-visita .iv-note { margin-top: calc(3 * var(--pbr-fluid-unit, 1px)); font-size: calc(12.5 * var(--pbr-fluid-unit, 1px)); color: rgba(24,59,95,0.6); }
@media (max-width: 760px) {
  .info-visita { padding: calc(22 * var(--pbr-fluid-unit, 1px)) calc(20 * var(--pbr-fluid-unit, 1px)); margin-top: calc(22 * var(--pbr-fluid-unit, 1px)); border-radius: calc(18 * var(--pbr-fluid-unit, 1px)); }
  .info-visita .iv-grid { grid-template-columns: 1fr; gap: calc(20 * var(--pbr-fluid-unit, 1px)); }
  .info-visita .iv-title { justify-content: center; }
}
.nc-cierre-inner .info-visita { margin-bottom: calc(36 * var(--pbr-fluid-unit, 1px)); }
@media (max-width: 700px) { html body .tec-intro :is(h1, h2, h3) { text-align: center !important; } }
.info-visita .iv-link { display: inline-block; margin-top: calc(20 * var(--pbr-fluid-unit, 1px)); padding-top: calc(16 * var(--pbr-fluid-unit, 1px)); border-top: 1px solid rgba(24,59,95,0.08); width: 100%; font-size: calc(14 * var(--pbr-fluid-unit, 1px)); font-weight: 700; color: #183B5F; text-decoration: none; }
.info-visita .iv-link:hover, .info-visita .iv-link:focus-visible { color: #F18852; }
.info-visita .iv-grid > .iv-link { grid-column: 1 / -1; width: auto; margin-top: 0; }

/* "Cómo visitarnos": versión elegante sobre azul oscuro de marca */
.info-visita { position: relative; overflow: hidden; max-width: calc(880 * var(--pbr-fluid-unit, 1px)); padding: calc(34 * var(--pbr-fluid-unit, 1px)) calc(40 * var(--pbr-fluid-unit, 1px)) calc(30 * var(--pbr-fluid-unit, 1px)); border: 0; border-radius: calc(26 * var(--pbr-fluid-unit, 1px)); background: linear-gradient(135deg, #183B5F 0%, #20507c 100%); box-shadow: 0 26px 54px rgba(24,59,95,0.24); color: #fff; }
.info-visita::before { content: ''; position: absolute; top: calc(-90 * var(--pbr-fluid-unit, 1px)); right: calc(-70 * var(--pbr-fluid-unit, 1px)); width: calc(260 * var(--pbr-fluid-unit, 1px)); height: calc(260 * var(--pbr-fluid-unit, 1px)); border-radius: 50%; background: radial-gradient(circle, rgba(245,202,119,0.22) 0%, transparent 70%); pointer-events: none; }
.info-visita > * { position: relative; z-index: 1; }
.info-visita .iv-title { color: #F3B6A1; margin-bottom: calc(26 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-title::before { background: #F3B6A1; }
.info-visita .iv-grid { gap: 0; }
.info-visita .iv-item { padding: 0 calc(30 * var(--pbr-fluid-unit, 1px)); gap: calc(16 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-item:first-child { padding-left: 0; }
.info-visita .iv-item:nth-child(n+2) { border-left: 1px solid rgba(255,255,255,0.14); }
.info-visita .iv-ico { flex: 0 0 46px; width: calc(46 * var(--pbr-fluid-unit, 1px)); height: calc(46 * var(--pbr-fluid-unit, 1px)); border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(243,182,161,0.55); }
.info-visita .iv-ico svg { stroke: #F5CA77; width: calc(22 * var(--pbr-fluid-unit, 1px)); height: calc(22 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-ico svg .dot { fill: #F5CA77; }
.info-visita .iv-label { color: rgba(255,255,255,0.58); letter-spacing: .14em; margin-bottom: calc(8 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-text { color: rgba(255,255,255,0.86); font-size: calc(14.5 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-text b { color: #fff; font-size: calc(15.5 * var(--pbr-fluid-unit, 1px)); font-weight: 700; letter-spacing: .01em; display: block; }
.info-visita .iv-time { display: block; font-family: 'Now','Catamaran',sans-serif; font-weight: 900; font-size: calc(19 * var(--pbr-fluid-unit, 1px)); letter-spacing: -.01em; color: #F5CA77; margin-top: 1px; line-height: 1.3; }
.info-visita .iv-sub { display: block; color: rgba(255,255,255,0.72); }
.info-visita .iv-text .iv-row + .iv-row { margin-top: calc(12 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-chip { background: transparent; border: 1px solid rgba(243,182,161,0.6); color: #fff; padding: calc(3 * var(--pbr-fluid-unit, 1px)) calc(11 * var(--pbr-fluid-unit, 1px)); }
.info-visita .iv-chip.is-urbano { background: #F18852; border-color: #F18852; color: #fff; }
.info-visita .iv-grid > .iv-link, .info-visita .iv-link { display: inline-flex; align-items: center; gap: calc(8 * var(--pbr-fluid-unit, 1px)); margin-top: calc(28 * var(--pbr-fluid-unit, 1px)); padding: calc(12 * var(--pbr-fluid-unit, 1px)) calc(24 * var(--pbr-fluid-unit, 1px)); border: 0; border-radius: calc(999 * var(--pbr-fluid-unit, 1px)); background: #F5CA77; color: #183B5F; font-size: calc(14 * var(--pbr-fluid-unit, 1px)); font-weight: 700; text-decoration: none; width: auto; transition: transform .2s, background .2s; }
.info-visita .iv-grid > .iv-link { grid-column: 1 / -1; justify-self: start; margin-top: calc(30 * var(--pbr-fluid-unit, 1px)); margin-left: 0; }
.info-visita .iv-link:hover, .info-visita .iv-link:focus-visible { background: #F3B6A1; color: #183B5F; transform: translateY(-2px); }
@media (max-width: 760px) {
  .info-visita { padding: calc(26 * var(--pbr-fluid-unit, 1px)) calc(22 * var(--pbr-fluid-unit, 1px)) calc(24 * var(--pbr-fluid-unit, 1px)); border-radius: calc(22 * var(--pbr-fluid-unit, 1px)); }
  .info-visita .iv-item { padding: 0 0 calc(20 * var(--pbr-fluid-unit, 1px)); }
  .info-visita .iv-item:nth-child(n+2) { border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: calc(20 * var(--pbr-fluid-unit, 1px)); }
  .info-visita .iv-grid > .iv-link { margin-top: calc(8 * var(--pbr-fluid-unit, 1px)); justify-self: stretch; justify-content: center; }
}

/* Visita: columnas con el icono arriba para que los textos respiren en anchos estrechos */
@media (min-width: 761px) {
  .info-visita .iv-item { flex-direction: column; gap: calc(16 * var(--pbr-fluid-unit, 1px)); padding: 0 calc(24 * var(--pbr-fluid-unit, 1px)); }
  .info-visita .iv-item:first-child { padding-left: 0; }
  .info-visita .iv-item:last-child { padding-right: 0; }
  .info-visita .iv-text b, .info-visita .iv-time { white-space: nowrap; }
  .info-visita .iv-time { font-size: calc(18 * var(--pbr-fluid-unit, 1px)); }
  .info-visita .iv-sub { white-space: normal; }
}

/* "Cómo visitarnos": acentos en azul cielo y amarillo de la marca (sin rosa) */
.info-visita .iv-title { color: #94C0D4; }
.info-visita .iv-title::before { background: #94C0D4; }
.info-visita .iv-ico { border-color: rgba(148,192,212,0.6); }
.info-visita .iv-chip { border-color: rgba(148,192,212,0.7); }
.info-visita .iv-link, .info-visita .iv-grid > .iv-link { background: #94C0D4; color: #183B5F; }
.info-visita .iv-link:hover, .info-visita .iv-link:focus-visible { background: #F5CA77; color: #183B5F; }
/* Botones de WhatsApp de Contacto y Cita online: azul oscuro de marca en vez de verde */
html body :is(.ct-btn-whatsapp, .co-btn-whatsapp) { background: #183B5F !important; color: #fff !important; border-color: #183B5F !important; box-shadow: 0 8px 20px rgba(24,59,95,0.18); }
html body :is(.ct-btn-whatsapp, .co-btn-whatsapp):hover, html body :is(.ct-btn-whatsapp, .co-btn-whatsapp):focus-visible { background: #94C0D4 !important; color: #183B5F !important; border-color: #94C0D4 !important; }

/* Contacto: más aire sobre "¿Prefieres algo más directo?" */
html body .ct-alt { padding-top: calc(64 * var(--pbr-fluid-unit, 1px)) !important; }
@media (max-width: 700px) { html body .ct-alt { padding-top: calc(52 * var(--pbr-fluid-unit, 1px)) !important; } }

/* L1 urbano: mismo contorno azul cielo que el resto de líneas (sin naranja) */
.info-visita .iv-chip.is-urbano { background: transparent; border-color: rgba(148,192,212,0.7); color: #fff; }

/* Foco visible en el menú móvil */
.mobile_menu_button:focus-visible, .mobile_menu li.has_sub > h3:focus-visible { outline: 2px solid #F18852; outline-offset: 3px; border-radius: calc(6 * var(--pbr-fluid-unit, 1px)); }
.mobile_menu_button { cursor: pointer; }

.pbr-wrap .co-agenda-note { margin: calc(16 * var(--pbr-fluid-unit, 1px)) auto 0; max-width: calc(480 * var(--pbr-fluid-unit, 1px)); font-size: calc(13.5 * var(--pbr-fluid-unit, 1px)); line-height: 1.6; color: rgba(255,255,255,0.62); text-align: center; }

/* Contraste: texto azul oscuro sobre los botones de color claro (naranja, amarillo, azul cielo y melocotón); antes blanco, entre 1,7:1 y 2,5:1 */
html body :is(.btn-hero, .btn-accent, .btn-primary, .nav-cta, .btn-una.btn-sky) { color: #183B5F !important; }
html body :is(.btn-hero, .btn-accent, .btn-primary, .nav-cta, .btn-una.btn-sky) :is(span, svg, i) { color: inherit; }
html body :is(.btn-hero, .btn-accent, .btn-primary, .nav-cta):hover, html body :is(.btn-hero, .btn-accent, .btn-primary, .nav-cta):focus-visible { color: #183B5F !important; }
/* Contacto: énfasis del título con contraste suficiente sobre el fondo crema */
.pbr-wrap .ct-hero h1 em { color: #C9622E !important; }

/* Titulares: interlineado y margen inferior suficientes para que las letras con cola (g, p, y, q) no se recorten ni se solapen con la línea siguiente */
html body .hero h1, html body h1.h1-largo { line-height: 1.22 !important; padding-bottom: .08em; }
html body :is(h1, h2) :is(.highlight, .accent, em) { padding-bottom: .04em; }

/* Cierre con icono que cambia de gesto (triste → feliz) al pasar el ratón por el botón o el teléfono */
.cierre-section .cierre-inner, .cierre-inner, .pbr-cierre-inner, .ppo-cierre-inner { position: relative; }
.mood-icon { position: relative; width: calc(170 * var(--pbr-fluid-unit, 1px)); height: calc(170 * var(--pbr-fluid-unit, 1px)); margin: 0 auto calc(20 * var(--pbr-fluid-unit, 1px)); }
.mood-icon img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s ease, transform .35s ease; }
.mood-icon .mood-feliz { opacity: 0; transform: scale(.92); }
:is(.cierre-inner, .pbr-cierre-inner, .ppo-cierre-inner):has(a:is(:hover, :focus-visible, :active)) .mood-icon .mood-triste { opacity: 0; transform: scale(1.06); }
:is(.cierre-inner, .pbr-cierre-inner, .ppo-cierre-inner):has(a:is(:hover, :focus-visible, :active)) .mood-icon .mood-feliz { opacity: 1; transform: scale(1); }
@media (min-width: 1200px) {
  .mood-icon { --cw: 620px; --m: clamp(210px, 18vw, 320px); position: absolute; top: 50%; width: var(--m); height: var(--m); margin: 0; right: calc((100vw - var(--cw)) / -4 - var(--m) / 2); transform: translateY(-50%); }
  .pbr-cierre-inner .mood-icon, .ppo-cierre-inner .mood-icon { --cw: 700px; }
  .pbr-wrap .cierre-inner .mood-icon { --cw: 640px; }
}
@media (prefers-reduced-motion: reduce) { .mood-icon img { transition: none; } }

/* Hero con foto: la rejilla ocupa toda la altura del hero (min-height 100vh) para que la foto llegue siempre hasta la ola inferior, también en pantallas altas (antes la foto se quedaba en 980 px y quedaba un corte recto) */
@media (min-width: 901px) {
  html body .hero.hero-with-photo { display: flex !important; flex-direction: column; }
  html body .hero.hero-with-photo > .hero-grid { flex: 1 1 auto; }
}

/* Curva lateral de la foto del hero: se estira con la altura del hero (en pantallas altas o con zoom reducido el SVG fijo de 900 px se quedaba corto y dejaba un borde recto en la foto). Sobresale 90 px por abajo, recortada por el contenedor */
html body svg:is(.hero-curve, .hero-visual-curve, .ppo-hero-curve, .trt-hero-curve) { bottom: auto !important; height: calc(100% + calc(90 * var(--pbr-fluid-unit, 1px))) !important; }

/* Hero con ola inferior: el bloque siguiente sube 2 px por encima de la ola para que no pueda verse ninguna rendija entre ambos (subpíxeles, zoom o Safari) */
html body .hero:has(> .curva-hero-bottom) + section, html body .hero:has(.curva-hero-bottom) + section { position: relative; z-index: 3; margin-top: calc(-3 * var(--pbr-fluid-unit, 1px)) !important; }
html body .hero .curva-hero-bottom { bottom: 0 !important; }
html body .hero .curva-hero-bottom svg { transform: translateY(1px); }

/* Al volver desde una landing con la flecha de arriba, el bloque «Encuentra tu caso» queda visible bajo la cabecera fija */
#casos, #unias, #tipos { scroll-margin-top: calc(80 * var(--pbr-fluid-unit, 1px)); }

/* Móvil: la foto del hero empieza justo debajo de la cabecera fija (68 px), sin franja azul antes, y mide 340 px en todas las landings (algunas ocupaban toda la pantalla) */
@media (max-width: 900px) {
  html body:has(.landing-contact-actions) .hero .hero-visual { margin-top: calc(68 * var(--pbr-fluid-unit, 1px)) !important; height: calc(340 * var(--pbr-fluid-unit, 1px)) !important; min-height: 0 !important; }
}

/* Móvil: misma altura de foto de hero (340 px) en todas las páginas con foto, también en las principales y en las de tratamientos */
@media (max-width: 900px) {
  html body .hero-visual, html body .ppo-hero-right, html body .trt-hero-right { height: calc(340 * var(--pbr-fluid-unit, 1px)) !important; min-height: 0 !important; }
}

/* Fisioterapia: el estilo genérico de <nav> dejaba una franja de 29 px (relleno y sombra) del menú móvil cerrado entre la cabecera y la foto */
@media (max-width: 900px) {
  html body nav.mobile_menu { padding: 0 !important; box-shadow: none !important; border: 0 !important; }
}

/* Móvil, landings con foto: primero el titular y el texto, después la foto; el borde superior de la foto es una curva (como en escritorio) y la ola inferior del hero cierra sobre la foto.
   Para volver a «foto arriba y texto debajo», borrar este bloque. */
@media (max-width: 900px) {
  html body:has(.landing-contact-actions) .hero > .hero-grid > .hero-inner { order: 0 !important; padding-top: calc(100 * var(--pbr-fluid-unit, 1px)) !important; padding-bottom: calc(56 * var(--pbr-fluid-unit, 1px)) !important; }
  html body:has(.landing-contact-actions) .hero > .hero-grid > .hero-visual {
    order: 1 !important; margin-top: 0 !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 340' preserveAspectRatio='none'%3E%3Cpath d='M0 26 Q360 0 720 18 Q1080 36 1440 6 L1440 340 L0 340 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 340' preserveAspectRatio='none'%3E%3Cpath d='M0 26 Q360 0 720 18 Q1080 36 1440 6 L1440 340 L0 340 Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}

/* Móvil: indicadores del hero con 3 datos y el tercero largo («Niños y adolescentes», «Actividad física»): 2 arriba y el tercero a todo el ancho debajo */
@media (max-width: 700px) {
  html body .hero-stats.stats-wide3:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: calc(22 * var(--pbr-fluid-unit, 1px)) calc(12 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .hero-stats.stats-wide3 > :nth-child(3) { grid-column: 1 / -1; }
  html body .hero-stats.stats-wide3 .stat-num { font-size: calc(24 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .hero-stats.stats-wide3 .stat-label { font-size: calc(13 * var(--pbr-fluid-unit, 1px)) !important; }
}

/* Móvil, resto de páginas con foto en el hero (Cita online, Contacto, tratamientos y páginas principales): mismo orden que en las landings, texto primero y foto después, con la curva en el borde superior de la foto */
@media (max-width: 900px) {
  html body .co-hero-photo .hero-visual, html body .ct-hero-photo .hero-visual, html body .hero > .hero-grid > .hero-visual, html body .trt-hero > .trt-hero-right { order: 1 !important; margin-top: 0 !important; }
  html body .co-hero-photo .co-hero-inner, html body .ct-hero-photo .ct-hero-inner, html body .trt-hero > .trt-hero-left { order: 0 !important; }
  html body .co-hero-photo .co-hero-inner { padding-top: calc(60 * var(--pbr-fluid-unit, 1px)) !important; padding-bottom: calc(56 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .ct-hero-photo .ct-hero-inner { padding-top: calc(44 * var(--pbr-fluid-unit, 1px)) !important; padding-bottom: calc(50 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .trt-hero > .trt-hero-left { padding-top: calc(48 * var(--pbr-fluid-unit, 1px)) !important; padding-bottom: calc(50 * var(--pbr-fluid-unit, 1px)) !important; }
  html body:not(:has(.landing-contact-actions)) .hero > .hero-grid > .hero-inner { order: 0 !important; padding-top: calc(56 * var(--pbr-fluid-unit, 1px)) !important; padding-bottom: calc(56 * var(--pbr-fluid-unit, 1px)) !important; }
  html body .co-hero-photo .hero-visual, html body .ct-hero-photo .hero-visual, html body .hero > .hero-grid > .hero-visual, html body .trt-hero > .trt-hero-right, html body .ppo-hero-right {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 340' preserveAspectRatio='none'%3E%3Cpath d='M0 26 Q360 0 720 18 Q1080 36 1440 6 L1440 340 L0 340 Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 340' preserveAspectRatio='none'%3E%3Cpath d='M0 26 Q360 0 720 18 Q1080 36 1440 6 L1440 340 L0 340 Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}

/* Móvil: indicadores de 4 datos con palabras largas («Ambulatoria», «Indicada»): letra algo menor para que no se salgan de su celda */
@media (max-width: 700px) {
  html body .hero-stats.stats-long4:has(> :nth-child(4)) .stat-num { font-size: calc(16 * var(--pbr-fluid-unit, 1px)) !important; font-weight: 600 !important; line-height: 1.3 !important; overflow-wrap: normal !important; word-break: normal !important; hyphens: none !important; }
  html body .hero-stats.stats-long4:has(> :nth-child(4)) .stat-label { font-size: calc(13 * var(--pbr-fluid-unit, 1px)) !important; }
}

/* Bloque final de las landings: el texto va en una tarjeta blanca con borde azul oscuro y sombra dura de la marca (alineado a la izquierda, columna de ~780 px); el titular, el botón y el teléfono quedan centrados */
html body .cierre-inner:has(.cierre-card), html body .pbr-cierre-inner:has(.cierre-card), html body .ppo-cierre-inner:has(.cierre-card) { max-width: calc(900 * var(--pbr-fluid-unit, 1px)) !important; }
html body .cierre-card { text-wrap: pretty !important; text-align: left !important; font-size: calc(18 * var(--pbr-fluid-unit, 1px)) !important; line-height: 1.75 !important; color: #3d5873 !important; font-weight: 400 !important; background: #fff; border: 2px solid #183B5F; border-radius: calc(22 * var(--pbr-fluid-unit, 1px)); box-shadow: 8px 8px 0 #183B5F; padding: calc(36 * var(--pbr-fluid-unit, 1px)) calc(44 * var(--pbr-fluid-unit, 1px)); max-width: calc(780 * var(--pbr-fluid-unit, 1px)) !important; margin: 0 auto calc(44 * var(--pbr-fluid-unit, 1px)) !important; }
html body .cierre-inner:has(.cierre-card) :is(.cierre-title, .ppo-cierre-title), html body .pbr-cierre-inner:has(.cierre-card) .cierre-title, html body .ppo-cierre-inner:has(.cierre-card) .ppo-cierre-title { margin-bottom: calc(32 * var(--pbr-fluid-unit, 1px)) !important; }
/* El icono triste/feliz sigue pegado al margen derecho del bloque ensanchado */
html body .cierre-inner:has(.cierre-card) .mood-icon, html body .pbr-cierre-inner:has(.cierre-card) .mood-icon, html body .ppo-cierre-inner:has(.cierre-card) .mood-icon { --cw: 1020px !important; --m: clamp(150px, calc((100vw - 780px) / 2 - 30px), 320px) !important; }
@media (max-width: 700px) { html body .cierre-card { font-size: calc(16.5 * var(--pbr-fluid-unit, 1px)) !important; padding: calc(26 * var(--pbr-fluid-unit, 1px)) calc(22 * var(--pbr-fluid-unit, 1px)); box-shadow: 6px 6px 0 #183B5F; border-radius: calc(18 * var(--pbr-fluid-unit, 1px)); margin-bottom: calc(36 * var(--pbr-fluid-unit, 1px)) !important; } }

/* Textos introductorios de sección más anchos: ocupan el ancho del contenedor en lugar de una columna estrecha de 560-580 px, y sin equilibrado forzado (que los acortaba aún más). Evita líneas cortas partidas en 3-4 renglones. */
html body :is(.arg-intro, .taller-intro, .intro-text, .situaciones-intro, .section-sub, .trt-intro-sec) { max-width: calc(880 * var(--pbr-fluid-unit, 1px)) !important; text-wrap: pretty !important; }
@media (max-width: 700px) { html body :is(.arg-intro, .taller-intro, .intro-text, .situaciones-intro, .section-sub, .trt-intro-sec) { max-width: 100% !important; } }

/* ═══ Escala tipográfica común en móvil (≤ 700 px) ═══
   Jerarquía: titular del hero (30) > títulos de sección y de cierre (26) > texto de introducción (17) > texto corrido (16)
   > indicadores y cifras (24 / 40). Antes los indicadores medían 32 px y la cifra de reseñas 56 px, por encima del titular. */
@media (max-width: 700px) {
  html body :is(.section-title, .taller-title, .trt-title, .nc-title, .s-title, .ppo-title, .cierre-title, .ppo-cierre-title, .trt-cierre-title, .co-title, .ct-title) { font-size: 26px !important; line-height: 1.2 !important; }
  html body :is(.hero-sub, .trt-hero-sub, .ppo-hero-sub, .co-hero-sub, .ct-hero-sub, .hero-inner > p) { font-size: 17px !important; line-height: 1.65 !important; }
  html body :is(.arg-intro, .intro-text, .taller-intro, .trt-intro p, .trt-intro-sec, .s-intro, .ppo-intro, .situaciones-intro, .section-sub, .cierre-sub, .ppo-cierre-sub) { font-size: 17px !important; line-height: 1.65 !important; }
  html body :is(.id-text, .id-conclusion-text, .step-body, .arg-body, .faq-a-content, .svc-lead, .eco-body) { font-size: 16px !important; line-height: 1.65 !important; }
  html body :is(.step-title, .arg-title, .servicio-title, .caso-title, .uso-title) { font-size: 17px !important; }
  html body .svc-card .svc-title { font-size: 20px !important; }
  html body :is(.rating-big) { font-size: 40px !important; }
  html body :is(.hero-stats:not(.stats-long4) .stat-num, .ppo-stats .ppo-stat-num) { font-size: 24px !important; }
  html body :is(.hero-stats .stat-label, .ppo-stats .ppo-stat-label) { font-size: 13px !important; }
  html body :is(.home-hero h1, .hero-title) { font-size: 34px !important; }
  html body.home .section-title, html body .razones-section .section-title, html body .esp-section .section-title { font-size: 28px !important; }
}

/* Indicadores del hero de las 4 páginas de cirugía (mismo formato): 3 datos centrados; en móvil, una sola fila */
html body .hero-stats.stats-clinic { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; max-width: none; text-align: center; position: static; }
html body .hero-stats.stats-clinic .stat-item { min-width: 0; display: flex; flex-direction: column; align-items: center; }
html body .hero-stats.stats-clinic .stat-num { font-size: clamp(20px, 2vw, calc(28 * var(--pbr-fluid-unit, 1px))); white-space: nowrap; margin: 0; }
html body .hero-stats.stats-clinic .stat-label { margin-top: 4px; }
@media (min-width: 1024px) {
  html body .hero[data-pbr-viewport]:has(.stats-clinic) .hero-inner { display: flex; flex-direction: column; align-self: stretch; padding-bottom: calc(var(--pbr-hero-curve, 0px) + 24px) !important; }
  html body .hero .hero-stats.stats-clinic { margin-top: 48px !important; }
  html body .hero[data-pbr-viewport] .hero-stats.stats-clinic { flex: 1 0 auto; align-content: center; margin-top: 48px !important; padding-top: 0 !important; border-top: 0; }
}
@media (max-width: 900px) {
  html body .hero:has(.stats-clinic) .hero-inner { padding-bottom: 56px !important; }
  html body .hero .hero-stats.stats-clinic { margin-top: 24px !important; padding-top: 32px !important; border-top: 0; }
}

/* Logo de la cabecera del tema: tamaño fijado por CSS para que se vea desde el primer momento (antes dependía de un script que tardaba en cargar). */
@media (min-width: 1001px) {
  html body header.page_header:not(.sticky) .q_logo a { height: 90px !important; visibility: visible !important; }
  html body header.page_header:not(.sticky) .q_logo img.normal { height: 100% !important; width: auto !important; }
}

/* Fisioterapia: "Próximamente" mientras el servicio no está abierto (quitar este bloque y las marcas .pbr-soon / .is-soon al abrir). */
.pbr-soon { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #F5CA77; color: #183B5F !important; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.is-soon { position: relative; overflow: hidden !important; }
.is-soon > *:not(.soon-ribbon) { opacity: .55; filter: saturate(.6); }
.is-soon .soon-ribbon { position: absolute; top: 26px; right: -52px; width: 210px; transform: rotate(38deg); background: #183B5F; color: #fff; text-align: center; font: 700 13px/1 'Catamaran', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 8px 0; z-index: 6; box-shadow: 0 3px 0 rgba(24,59,95,.25); pointer-events: none; }

/* Pie: número de registro sanitario con el sello de Salud Madrid (pequeño, a la derecha, a la altura del logo) */
.pbr-sanitario-card { display: inline-flex; flex-direction: column; align-items: flex-start; gap: calc(2 * var(--pbr-fluid-unit, 1px)); padding: calc(6 * var(--pbr-fluid-unit, 1px)) calc(7 * var(--pbr-fluid-unit, 1px)) calc(5 * var(--pbr-fluid-unit, 1px)); background: #fff; border-radius: calc(6 * var(--pbr-fluid-unit, 1px)); }
.pbr-sanitario-card img { display: block; width: calc(50 * var(--pbr-fluid-unit, 1px)); height: auto; }
.pbr-sanitario-num { font-family: 'Catamaran', Arial, sans-serif; font-size: calc(9 * var(--pbr-fluid-unit, 1px)); line-height: 1.1; font-weight: 500; color: #1D2B78; letter-spacing: .01em; }
/* Pie del tema: dentro del bloque azul, a la altura del logo */
.footer_bottom_holder { position: relative; }
.footer_bottom { position: static; }
.footer_bottom > .pbr-sanitario { position: absolute; right: calc(36 * var(--pbr-fluid-unit, 1px)); top: calc(86 * var(--pbr-fluid-unit, 1px)); transform: translateY(-50%); }
/* Landings: a la derecha, en el centro vertical del pie */
footer:not(:has(.footer_inner)) { position: relative; }
footer:not(:has(.footer_inner)) > .pbr-sanitario { position: absolute; right: calc(24 * var(--pbr-fluid-unit, 1px)); top: 50%; transform: translateY(-50%); }
@media (min-width: 901px) { footer:has(> .pbr-sanitario):not(:has(.footer_inner)) { padding-right: calc(110 * var(--pbr-fluid-unit, 1px)); } }
@media (max-width: 900px) {
  .footer_bottom > .pbr-sanitario, footer:not(:has(.footer_inner)) > .pbr-sanitario { position: static; transform: none; display: flex; justify-content: center; padding-top: calc(22 * var(--pbr-fluid-unit, 1px)); padding-bottom: calc(26 * var(--pbr-fluid-unit, 1px)); }
}
.footer_bottom .pbr-sanitario-card { display: inline-flex; flex-direction: column; align-items: flex-start; height: auto; }
.footer_bottom .pbr-sanitario-card img { width: calc(50 * var(--pbr-fluid-unit, 1px)) !important; height: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.footer_bottom .pbr-sanitario-card .pbr-sanitario-num { display: block; margin: 0; color: #1D2B78 !important; font-size: calc(9 * var(--pbr-fluid-unit, 1px)); }

/* Pie: el sello se ancla al borde derecho del bloque azul completo (no al contenedor central) */
footer .footer_bottom_holder .container, footer .footer_bottom_holder .container_inner, footer .footer_bottom_holder .footer_bottom { position: static !important; }
.footer_bottom > .pbr-sanitario { right: calc(32 * var(--pbr-fluid-unit, 1px)); }

/* Pie: los textos de las tres franjas de color quedan centrados en vertical en su cuadro, a cualquier tamaño de pantalla */
@media (min-width: 769px) {
  html body .footer_top :is(.column1, .column2, .column3) .azul { display: flex !important; flex-direction: column; justify-content: center; align-items: center; }
  html body .footer_top :is(.column1, .column2, .column3) .azul > :is(h4, p) { margin-top: 0; margin-bottom: 0; }
  html body .footer_top :is(.column1, .column2, .column3) .azul > h4 + p { margin-top: calc(6 * var(--pbr-fluid-unit, 1px)); }
}

/* "Cómo llegar · Google Maps": botón centrado en el bloque, sin flecha */
html body .info-visita .iv-grid > .iv-link { justify-self: center; margin-left: auto; margin-right: auto; }
