/* Presentación y consulta de disponibilidad. Complementa el diseño existente. */
.r40-comparar__etiqueta { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
#consulta, #comparar-modelos { scroll-margin-top: 110px; }
.r40-comparar { max-width: 1180px; margin: 48px auto; padding: 32px; border: 1px solid #dce5ef; border-radius: 20px; background: #fff; color: #15305a; }
.r40-comparar__etiqueta { color: #8a6218; margin-bottom: 10px; }
.r40-comparar h2 { margin: 0 0 12px; font-size: clamp(25px,3vw,36px); letter-spacing: -.03em; color: #15305a; }
.r40-comparar > p { color: #526780; line-height: 1.7; }
.r40-comparar__scroll { overflow-x: auto; margin-top: 24px; border: 1px solid #dce5ef; border-radius: 12px; }
.r40-comparar table { width: 100%; min-width: 620px; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; }
.r40-comparar th, .r40-comparar td { padding: 17px 18px; border: 0; border-bottom: 1px solid #e4ebf3; text-align: left; vertical-align: middle; }
.r40-comparar thead { background: #15305a; color: #fff; }
.r40-comparar thead th { color: #fff; }
.r40-comparar tbody th { font-weight: 600; }
.r40-comparar tr:last-child > * { border-bottom: 0; }
.r40-comparar tbody tr:nth-child(even) { background: #f5f8fc; }
.r40-comparar a { color: #195f99; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.r40-comparar__nota, .r40-consulta-nota { font-size: 12px; line-height: 1.7; color: #526780; margin-top: 16px; }
.r40-consulta-resumen { padding: 18px; margin: 18px 0; background: #f1f6fb; border: 1px solid #d6e3ef; border-left: 3px solid #b58a3e; border-radius: 12px; color: #15305a; font-size: 13px; line-height: 1.8; }
.r40-consulta-resumen strong { display: block; margin-bottom: 4px; font-size: 14px; }
.r40-consulta-error { color: #a32626; font-size: 13px; line-height: 1.6; margin: 12px 0; }
.r40-consulta-error[hidden] { display: none; }
.r40-res__campo--lugar { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; }
.r40-res__campo--lugar select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #bdcddd; border-radius: 10px; background: #fff; color: #15305a; font: inherit; }
.r40-res__contador button:disabled { opacity: .4; cursor: default; }
.r40-res__form fieldset { min-width: 0; }
.r40-modelo-guia { margin: 32px 0; padding: 26px; background: #f3f7fb; border-radius: 16px; border: 1px solid #dce5ef; }
.r40-modelo-guia h2 { color: #15305a; font-size: 25px; margin: 0 0 18px; }
.r40-modelo-guia__pasos { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.r40-modelo-guia strong { display: block; color: #15305a; margin-bottom: 8px; }
.r40-modelo-guia p { color: #526780; font-size: 14px; line-height: 1.7; margin: 0; }
@media(max-width: 700px) {
 .r40-comparar { margin: 28px 0; padding: 22px 16px; border-radius: 14px; }
 .r40-comparar table { display: table; max-width: none; }
 .r40-modelo-guia__pasos { grid-template-columns: 1fr; gap: 20px; }
 .r40-modelo-guia { padding: 22px 18px; }
}

/* Fotos por espacios, plano a mano y ayuda antes de consultar. */
.r40-foto-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.r40-foto-filtros button, .r40-fh .r40-foto-filtros button { width: auto; height: auto; min-height: 44px; flex: 0 0 auto; border: 1px solid #bacbdd; border-radius: 24px; padding: 9px 16px; font: 600 13px/1.4 'Lexend',sans-serif; background: #fff; color: #15305a; cursor: pointer; }
.r40-foto-filtros button:hover { background: #eef4fa; color: #15305a; }
.r40-foto-filtros button[aria-pressed="true"] { background: #15305a; color: #fff; border-color: #15305a; }
.r40-fh__mini[hidden], .r40-gal__item[hidden] { display: none !important; }
.r40-foto-descripcion { position: absolute; left: 0; right: 0; top: 0; padding: 12px 70px 34px 18px; color: #fff; background: linear-gradient(rgba(6,24,44,.85),transparent); font-size: 13px; pointer-events: none; }
.r40-foto-plano { width: 100%; display: flex; gap: 18px; align-items: center; padding: 14px 18px; margin-top: 16px; border: 1px solid #cbd9e8; border-radius: 12px; background: #fff; color: #15305a; font: 600 12px/1.7 'Lexend',sans-serif; text-align: left; cursor: zoom-in; }
body .elementor .r40-foto-plano img { width: 44%; max-height: 95px; object-fit: contain; }
.r40-gal-zonas { margin-top: 20px; }
.r40-primera { max-width: 1180px; margin: 40px auto; padding: 32px; background: #f5f8fc; border-radius: 20px; border: 1px solid #d4e0ed; color: #15305a; }
.r40-primera h2, .r40-dudas h2 { color: #15305a; font-size: clamp(23px,3vw,32px); line-height: 1.3; margin: 0 0 14px; }
.r40-primera > p { color: #526780; line-height: 1.7; }
.r40-primera__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.r40-primera details, .r40-dudas details { border: 1px solid #d5e1ed; border-radius: 12px; background: #fff; padding: 16px 18px; }
.r40-primera summary, .r40-dudas summary { cursor: pointer; color: #15305a; font-weight: 600; font-size: 14px; line-height: 1.6; }
.r40-primera details p, .r40-dudas details p { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: #526780; }
.r40-primera details a, .r40-dudas details a { display: inline-block; margin-top: 10px; font-size: 13px; color: #195f99; text-decoration: underline; }
.r40-dudas { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid #dce5ef; }
.r40-dudas details { margin-top: 10px; }
.r40-presupuesto { margin: 20px 0; padding: 20px; border: 1px solid #c6d8e9; border-radius: 14px; background: #f3f7fb; color: #15305a; }
.r40-presupuesto h3 { color: #15305a; margin: 0 0 16px; font-size: 17px; }
.r40-presupuesto__total { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.r40-presupuesto__total span { font-size: 13px; }
.r40-presupuesto__total strong { font-size: 30px; letter-spacing: -.03em; }
.r40-presupuesto ul { margin: 12px 0 16px; padding-left: 20px; font-size: 13px; }
.r40-presupuesto dl { margin: 0; font-size: 12px; }
.r40-presupuesto dl > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 10px 0; border-top: 1px solid #d3e0ed; }
.r40-presupuesto dt { font-weight: 600; }
.r40-presupuesto dd { margin: 0; }
.r40-presupuesto p, .r40-presupuesto > a { margin: 14px 0 0; font-size: 12px; line-height: 1.8; }
.r40-presupuesto > a { display: inline-block; color: #195f99; text-decoration: underline; }
@media(max-width:700px) { .r40-primera { padding: 24px 16px; margin: 28px 0; } .r40-primera__grid { grid-template-columns: 1fr; } .r40-foto-filtros { gap: 6px; } .r40-foto-filtros button { padding: 8px 12px; font-size: 12px; } .r40-presupuesto { padding: 16px; } }
@media(max-width:700px) {
 body .elementor .elementor-widget:has(.tabla-tarifas-camper) { min-width: 0; max-width: 100%; }
 body .elementor .elementor-widget:has(.tabla-tarifas-camper) > .elementor-widget-container { width: 100%; min-width: 0; }
 body .elementor .tabla-tarifas-camper { width: 100%; min-width: 0; max-width: 100%; }
}

/* Inicio: formulario junto a la cabecera y detalle en las páginas dedicadas. */
.r40-inicio-simple .elementor .elementor-element.elementor-element-70f66bf.e-con { margin-bottom: 0 !important; }
.r40-inicio-intro { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.8fr) minmax(260px,1fr); align-items: center; gap: 44px; max-width: 1140px; padding: 48px 0 30px; margin: 0 auto; text-align: left; }
.r40-inicio-intro__etiqueta { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #8a6218; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.r40-inicio-intro__etiqueta::before { content: ''; width: 30px; height: 2px; background: #b18a45; }
.r40-inicio-intro h1 { color: #15305a; font-size: clamp(30px,3.1vw,43px); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.r40-inicio-intro h1 > span { display: block; color: #35649a; margin-top: 5px; }
.r40-inicio-intro__detalle { border-left: 1px solid #ccdae8; padding-left: 30px; }
.r40-inicio-intro__detalle p { margin: 0 0 20px; color: #526780; font-size: 15px; line-height: 1.8; }
.r40-inicio-intro__detalle strong { color: #15305a; font-weight: 600; }
.r40-inicio-intro a.r40-inicio-intro__boton { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 13px 18px; border: 1px solid #15305a; border-radius: 10px; background: #15305a; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .2s, transform .2s; }
.r40-inicio-intro__boton > span { font-size: 21px; font-weight: 400; color: #f0d28c; line-height: 1; }
.r40-inicio-intro a.r40-inicio-intro__boton:hover { color: #fff; background: #234b7e; transform: translateY(-2px); }
.r40-inicio-intro__boton:focus-visible { outline: 3px solid #0b57d0; outline-offset: 4px; }
.r40-inicio-ayuda a { color: #195f99; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:1200px) { .r40-inicio-intro { margin-inline: 24px; gap: 28px; } }
@media(max-width:760px) {
 .r40-inicio-intro { grid-template-columns: 1fr; gap: 22px; margin-inline: 20px; padding: 32px 0 12px; }
 .r40-inicio-intro h1 { font-size: clamp(29px,6.5vw,38px); max-width: 600px; }
 .r40-inicio-intro__etiqueta { margin-bottom: 14px; font-size: 11px; }
 .r40-inicio-intro__detalle { padding-left: 0; border-left: 0; }
 .r40-inicio-intro__detalle p { font-size: 14px; margin-bottom: 16px; }
 .r40-inicio-intro a.r40-inicio-intro__boton { min-height: 48px; gap: 32px; }
}
.r40-inicio-simple .ruta40-modelos-head { display: none; }
.r40-inicio-simple .ruta40-modelos-wrap { padding-top: 20px; padding-bottom: 20px; }
.r40-inicio-simple .ruta40-modelos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.r40-inicio-simple .ruta40-card { display: flex; flex-direction: column; min-width: 0; gap: 0; margin: 0; padding: 0; border-radius: 20px; }
.r40-inicio-simple .ruta40-card__media { width: 100%; order: 0; }
.r40-inicio-simple .ruta40-card__media-inner { height: 210px; min-height: 0; border-radius: 0; }
.r40-inicio-simple .ruta40-card__media img { width: 100%; height: 100%; object-fit: contain; }
.r40-inicio-simple .ruta40-card__content { flex: 1; width: 100%; padding: 22px; order: 1; align-items: flex-start; text-align: left; }
.r40-inicio-simple .ruta40-card__specs { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; }
.r40-inicio-simple .ruta40-card__title { font-size: 23px; }
.r40-inicio-simple .ruta40-card__text { font-size: 14px; line-height: 1.7; }
.r40-inicio-simple .ruta40-card__buttons { display: flex; flex-direction: column; gap: 10px; }
.r40-inicio-simple .ruta40-card__price-row { flex-wrap: wrap; gap: 8px; }
.r40-inicio-consulta, .r40-inicio-ayuda { max-width: 1140px; margin: 32px auto; padding: 30px; border: 1px solid #d6e2ef; border-radius: 20px; background: #fff; }
.r40-inicio-consulta h2, .r40-inicio-ayuda h2 { font-size: clamp(23px,3vw,32px); color: #15305a; margin: 0 0 12px; }
.r40-inicio-consulta p { color: #526780; font-size: 14px; line-height: 1.7; }
.r40-inicio-consulta--completa { max-width: 900px; }
.r40-inicio-consulta--completa .r40-res__form { margin: 28px 0 0; }
.r40-inicio-consulta--completa > div:first-child { text-align: center; }
.r40-inicio-consulta--arriba { position: relative; z-index: 2; width: calc(100% - 32px); margin-top: -90px; box-shadow: 0 24px 60px -20px rgba(21,48,90,.22); }
@media(max-width:768px) { .r40-inicio-consulta--arriba { margin-top: -28px; } }
.r40-busqueda { display: grid; grid-template-columns: 1fr 1fr .65fr 1.25fr; align-items: end; gap: 14px; margin-top: 24px; scroll-margin-top: 110px; }
.r40-busqueda label { display: flex; flex-direction: column; gap: 7px; color: #15305a; font-size: 14px; font-weight: 600; min-width: 0; }
.r40-busqueda input, .r40-busqueda select { width: 100%; min-width: 0; height: 48px; border: 1px solid #b8cbdf; border-radius: 10px; padding: 10px 12px; color: #15305a; background: #fff; font: 400 15px/1.4 'Lexend',sans-serif; }
.r40-busqueda button, a.r40-enlace-consulta { min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; background: #e9c67d; color: #15305a; font: 700 14px/1.6 'Lexend',sans-serif; cursor: pointer; text-decoration: none; }
.r40-busqueda .r40-consulta-nota { grid-column: 1/-1; margin: 0; font-size: 13px; font-weight: 400; }
.r40-inicio-confianza { max-width: 1140px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 28px auto 40px; padding: 0; color: #15305a; }
.r40-confianza-tarjeta { display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 26px 22px; border: 1px solid #d4e1ee; border-radius: 16px; background: linear-gradient(135deg,#fff,#f8fbfe); box-shadow: 0 10px 28px -22px rgba(21,48,90,.3); }
.r40-inicio-confianza .r40-confianza-icono { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; border: 1px solid #eadcbf; background: #fbf5e8; color: #8a6218; }
.r40-confianza-icono svg { width: 25px; height: 25px; }
.r40-inicio-confianza strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.5; margin: 0 0 8px; letter-spacing: -.015em; }
.r40-inicio-confianza p { margin: 0; font-size: 13px; line-height: 1.8; color: #526780; }
.r40-inicio-resenas-titulo { font-size: 28px; color: #15305a; text-align: center; }
.r40-inicio-ayuda details { border-bottom: 1px solid #d6e2ef; padding: 18px 0; }
.r40-inicio-ayuda summary { color: #15305a; font-size: 15px; font-weight: 600; cursor: pointer; }
.r40-inicio-ayuda p { font-size: 14px; line-height: 1.7; color: #526780; margin: 12px 0; }
.r40-inicio-ayuda .r40-enlace-consulta { display: inline-flex; margin-top: 22px; }
.r40-detalle-precios { margin: 20px 0; padding: 20px; border-radius: 14px; border: 1px solid #cfdeed; background: #fff; }
.r40-detalle-precios > summary { color: #15305a; font-weight: 600; cursor: pointer; padding: 4px 0; font-size: 16px; }
.r40-detalle-precios .r40-tarifas { margin-top: 22px; }
.r40-detalle-precios > a { color: #195f99; text-decoration: underline; font-size: 14px; }
.r40-ayuda-detalle, .r40-detalle-comparar { margin: 24px 0; padding: 20px; border: 1px solid #cfdeed; border-radius: 14px; background: #fff; }
.r40-ayuda-detalle > summary, .r40-detalle-comparar > summary { color: #15305a; font-weight: 600; cursor: pointer; font-size: 16px; }
.r40-ayuda-detalle .r40-primera { margin: 20px 0 0; }
.r40-detalle-comparar .r40-comparador { margin-top: 20px; }
.r40-consulta-nota, .r40-comparar__nota, .r40-presupuesto p, .r40-presupuesto > a, .r40-presupuesto dl { font-size: 13px; }
.r40-res__campo > span, .r40-res__privacidad { font-size: 14px; }
.r40-fh .features-camper .feature-text span { font-size: 12px !important; }
.ruta40-header__btn { max-width: 175px; text-align: center; white-space: normal; line-height: 1.35; }
@media(max-width:960px) {
 .r40-inicio-simple .ruta40-modelos { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
 .r40-inicio-simple .ruta40-card__buttons { flex-direction: row; flex-wrap: wrap; }
 .r40-inicio-consulta, .r40-inicio-ayuda { margin-inline: 16px; padding: 24px 20px; }
 .r40-busqueda { grid-template-columns: 1fr 1fr; }
 .r40-inicio-confianza { margin-inline: 16px; }
}
@media(max-width:768px) {
 .r40-barra { grid-template-columns: .8fr 1fr 1.45fr; }
 .r40-barra__item { min-width: 0; gap: 5px; padding: 5px 7px; white-space: normal; font-size: 12px; line-height: 1.3; text-align: center; }
 .r40-barra__res svg { display: none; }
 .r40-inicio-confianza { grid-template-columns: 1fr; gap: 12px; }
 .r40-confianza-tarjeta { padding: 22px; align-items: center; }
 .r40-inicio-simple .ruta40-card__media-inner { height: 220px; }
 .r40-inicio-simple .ruta40-card__content { padding: 20px; }
 .r40-inicio-simple .ruta40-card__buttons { flex-direction: column; }
}
