/* Ruta 40 · un sistema de viaje contemporáneo. Mantiene la identidad y las fotos reales. */
:root { --r40-ink:#112d49; --r40-blue:#245d84; --r40-gold:#bc9047; --r40-paper:#f7f6f2; --r40-line:#dce3e8; --r40-muted:#566b7d; --r40-noche:var(--r40-ink); --r40-cielo:var(--r40-blue); --r40-oro:var(--r40-gold); --r40-oro-osc:#8b652b; --r40-fondo:var(--r40-paper); }
html { scroll-behavior:smooth; scroll-padding-top:108px; }
body[data-r40-design] { --r40-fondo:var(--r40-paper); background:var(--r40-paper)!important; color:var(--r40-ink); -webkit-font-smoothing:antialiased; padding-top:80px; }
body[data-r40-design] :where(h1,h2,h3) { text-wrap:balance; overflow-wrap:break-word; hyphens:auto; }
body[data-r40-design] :where(p,li) { text-wrap:pretty; }
body[data-r40-design] main { min-width:0; }
body[data-r40-design] :where(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--r40-blue); outline-offset:4px; }
body[data-r40-design] :where(section[id],h2[id]) { scroll-margin-top:108px; }
body[data-r40-design] header.elementor-location-header { position:fixed!important; inset:0 0 auto; z-index:99998; width:100%; background:var(--r40-ink)!important; }
body[data-r40-design] header.elementor.elementor-location-header > .e-con.e-parent:not(.elementor-motion-effects-element-type-background) { background:var(--r40-ink)!important; padding:0!important; min-height:0; }
body[data-r40-design] header.elementor-location-header > .e-con > .e-con-inner { max-width:none!important; width:100%; padding:0; }
body[data-r40-design] header.elementor-location-header .elementor-widget-html { width:100%; }
body[data-r40-design] .ruta40-header { position:relative!important; top:0; background:var(--r40-ink)!important; border-bottom:1px solid rgba(255,255,255,.12)!important; box-shadow:0 4px 18px rgba(12,31,48,.09)!important; }
body[data-r40-design] .ruta40-header::after,body[data-r40-design] .ruta40-header::before { display:none; }
body[data-r40-design] .ruta40-header__inner { max-width:1320px; height:80px!important; padding-inline:32px; gap:24px; }
body[data-r40-design] .ruta40-header__logo img { width:136px; height:auto; max-height:50px; object-fit:contain; filter:none; }
body[data-r40-design] .ruta40-header__nav { gap:22px; }
body[data-r40-design] .ruta40-header__nav a,body[data-r40-design] .ruta40-header__dropdown-toggle { color:#edf2f5!important; font-size:13px; font-weight:500; letter-spacing:0; }
body[data-r40-design] .ruta40-header__nav a:hover,body[data-r40-design] .ruta40-header__nav a[aria-current=page],body[data-r40-design] .ruta40-header__dropdown-toggle[aria-current=page] { color:#efcf93!important; }
body[data-r40-design] .ruta40-header__nav a::after { background:#d4b276!important; height:2px; }
body[data-r40-design] .ruta40-header__submenu { padding:12px; border:1px solid var(--r40-line); border-radius:14px; background:#fff!important; box-shadow:0 16px 36px rgba(17,45,73,.14); }
body[data-r40-design] .ruta40-header__submenu a { color:var(--r40-ink)!important; padding:12px 14px; border-radius:8px; }
body[data-r40-design] .ruta40-header__submenu a:hover { background:#f0f5f7; color:var(--r40-blue)!important; }
body[data-r40-design] .ruta40-header__btn { max-width:184px; min-height:46px; padding:12px 20px; font-size:12px; line-height:1.4; }
body[data-r40-design] .ruta40-header .r40-lang__btn { color:#fff; border-color:rgba(255,255,255,.24); border-radius:9px; }
body[data-r40-design] .ruta40-btn,body[data-r40-design] .r40-res__enviar,body[data-r40-design] .ruta40-header__btn,body[data-r40-design] .ruta40-mobile-btn { border-radius:9px!important; font-weight:600; }
body[data-r40-design] .ruta40-btn--reserve,body[data-r40-design] .ruta40-header__btn,body[data-r40-design] .ruta40-mobile-btn,body[data-r40-design] .r40-res__enviar { background:#c8a35e!important; border-color:#c8a35e!important; color:#102b46!important; }
body[data-r40-design] .ruta40-btn--reserve:hover,body[data-r40-design] .ruta40-header__btn:hover,body[data-r40-design] .r40-res__enviar:hover { background:#d9b879!important; border-color:#d9b879!important; }
body[data-r40-design] .ruta40-mobile-menu { top:80px; max-height:calc(100dvh - 80px); overflow-y:auto; overscroll-behavior:contain; border:0; background:#fff; }
body[data-r40-design] .ruta40-mobile-menu a { font-size:15px; padding:14px 24px; color:var(--r40-ink)!important; }
body[data-r40-design] .ruta40-mobile-menu a::before { content:none; }
body[data-r40-design] .ruta40-footer { background:var(--r40-ink)!important; box-shadow:none!important; border-top:1px solid rgba(255,255,255,.1)!important; }
body[data-r40-design] .ruta40-footer__topline { display:none; }
body[data-r40-design] .ruta40-footer__inner { max-width:1280px; padding:64px 32px 40px; gap:56px; }
body[data-r40-design] .ruta40-footer__logo img { height:44px; filter:none; }
body[data-r40-design] .ruta40-footer__desc { max-width:33ch; margin-block:22px; color:#c4d1dc!important; font-size:14px; line-height:1.8; }
body[data-r40-design] .ruta40-footer h4 { color:#e7ca93!important; font-size:11px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:20px; }
body[data-r40-design] .ruta40-footer a { font-size:13px; font-weight:400; }
body[data-r40-design] .ruta40-footer__contact-item { gap:12px; line-height:1.7; }
body[data-r40-design] .ruta40-footer__social a { box-shadow:none!important; border:1px solid rgba(255,255,255,.14); border-radius:9px; background:transparent!important; }
body[data-r40-design] .ruta40-footer__social a:hover { background:rgba(255,255,255,.06)!important; }
body[data-r40-design] .ruta40-footer__bottom { max-width:1216px; margin-inline:auto; padding:24px 0 32px; border-color:rgba(255,255,255,.14); gap:20px; }
body[data-r40-design] .ruta40-footer__bottom a,body[data-r40-design] .ruta40-footer__bottom p,body[data-r40-design] .ruta40-footer__bottom button { font-size:11px; line-height:1.8; }
body[data-r40-design] .r40-resenas { border-radius:20px; border:1px solid var(--r40-line); background:#fff; box-shadow:none; }
body[data-r40-design] .r40-resenas__tarjeta,body[data-r40-design] .r40-resenas__resumen { box-shadow:none; }
body[data-r40-design] .r40-resenas__flecha--ant { left:12px; }
body[data-r40-design] .r40-resenas__flecha--sig { right:12px; }
body[data-r40-design] :where(input,select,textarea) { scroll-margin-block:110px 90px; }
body[data-r40-design] .r40-res__form :where(input:not([type=checkbox]):not([type=hidden]),select,textarea) { color:var(--r40-ink); border-color:#bdcbd5; background:#fff; box-shadow:none; border-radius:9px; }
body[data-r40-design] .r40-res__form :where(input,select,textarea):focus { border-color:var(--r40-blue); }
body[data-r40-design] .r40-res__form [aria-invalid=true] { border-color:#ac3c38!important; }
body[data-r40-design] .r40-res__paso legend { font-size:16px; letter-spacing:-.025em; margin-bottom:18px; }
body[data-r40-design] .r40-res__paso legend > span { width:28px; height:28px; border-radius:8px; background:#f0e6d3; color:#7b5b27; font-size:12px; font-weight:600; }
body[data-r40-design] .r40-res__campo > span { color:var(--r40-muted); font-size:11px; font-weight:600; letter-spacing:.08em; }
body[data-r40-design] .r40-res__modelo { border:1px solid var(--r40-line); border-radius:12px; background:#fff; box-shadow:none; transition:border-color .18s,background .18s; }
body[data-r40-design] .r40-res__modelo.is-elegida,body[data-r40-design] .r40-res__modelo[aria-pressed=true] { border-color:#a9803e; box-shadow:0 0 0 1px #a9803e; background:#fcf8ef; }
body[data-r40-design] .r40-res__modelo--duda { background:var(--r40-ink); }
body[data-r40-design] .r40-res__modelo-txt { padding:14px 10px; }
body[data-r40-design] .r40-res__modelo-txt strong { font-size:12px; line-height:1.4; }
body[data-r40-design] .r40-res__modelo-txt small { font-size:10px; line-height:1.5; }
body[data-r40-design] .r40-borrador { background:#f6f8fa; border-color:#e1e7ed; border-radius:10px; padding:12px 14px; gap:12px; }
body[data-r40-design] .r40-borrador p { font-size:11px; line-height:1.7; color:var(--r40-muted); }
body[data-r40-design] .r40-borrador button { padding:8px 12px; font-size:11px; border-color:#c9d3dc; min-height:40px; border-radius:7px; background:#fff; box-shadow:none; }
body[data-r40-design] .r40-presupuesto { border-radius:14px; background:#f5f7f8; border:1px solid var(--r40-line); box-shadow:none; }
body[data-r40-design] .r40-presupuesto h2,body[data-r40-design] .r40-presupuesto h3 { margin:0 0 16px; font-size:19px; line-height:1.4; color:var(--r40-ink); }
body[data-r40-design] .r40-presupuesto__total strong { font-weight:600; letter-spacing:-.04em; }
body[data-r40-design] .r40-consulta-resumen { background:#f3f6f8; border:0; border-left:2px solid #b99353; border-radius:0 9px 9px 0; }
body[data-r40-design] .r40-privacy-note { font-size:11px; line-height:1.8; color:#5c6c7b; }
body[data-r40-design] .r40-consulta-nota,body[data-r40-design] .r40-form-nota { font-size:12px; line-height:1.7; }
/* Inicio: la portada conservada, un formulario real y una secuencia clara de descubrimiento. */
body[data-r40-family=inicio] .elementor-element-70f66bf::after { background:linear-gradient(to bottom,rgba(247,246,242,0),var(--r40-paper)); }
body[data-r40-family=inicio] .r40-inicio-consulta--arriba { max-width:1000px; margin-bottom:72px; padding:38px 40px; border:1px solid #e4e8eb; border-radius:22px; box-shadow:0 18px 50px rgba(17,45,73,.08); background:#fff; }
body[data-r40-family=inicio] .r40-inicio-consulta h1 { font-size:clamp(28px,3vw,39px); line-height:1.18; letter-spacing:-.04em; margin:10px auto 16px; max-width:800px; color:var(--r40-ink); }
body[data-r40-family=inicio] .r40-inicio-consulta h1 span { display:block; color:var(--r40-blue); }
body[data-r40-family=inicio] .r40-inicio-consulta > div > p { font-size:14px; max-width:48ch; margin:0 auto; }
body[data-r40-family=inicio] .r40-comparar__etiqueta { color:#8b652b; font-size:10px; letter-spacing:.16em; font-weight:600; }
body[data-r40-family=inicio] .r40-inicio-intro { max-width:1180px; padding:0 0 36px; margin:0 auto; border-bottom:1px solid var(--r40-line); }
body[data-r40-family=inicio] .r40-inicio-intro h2 { max-width:620px; margin:12px 0 0; font-size:clamp(28px,3vw,43px); line-height:1.15; letter-spacing:-.045em; color:var(--r40-ink); }
body[data-r40-family=inicio] .r40-inicio-intro__detalle { border-left-color:#d5dce2; }
body[data-r40-family=inicio] .r40-inicio-intro__detalle p { font-size:14px; line-height:1.8; }
body[data-r40-family=inicio] .r40-inicio-intro__boton { background:transparent!important; color:var(--r40-ink)!important; border:0; border-bottom:1px solid #8396a6; border-radius:0!important; padding:0 0 6px!important; min-height:36px; box-shadow:none; }
body[data-r40-family=inicio] .r40-inicio-intro__boton > span { color:#8b652b; }
body[data-r40-family=inicio] .ruta40-modelos-wrap { max-width:1220px; padding:30px 20px 0; margin-inline:auto; }
body[data-r40-family=inicio] .ruta40-modelos { gap:24px; }
body[data-r40-family=inicio] .ruta40-card { border:1px solid #e0e5e8; border-radius:18px; box-shadow:none; background:#fff; overflow:hidden; }
body[data-r40-family=inicio] .ruta40-card__media-inner { height:245px; background:#f3f5f5; }
body[data-r40-family=inicio] .ruta40-card__media img { object-fit:contain; }
body[data-r40-family=inicio] .ruta40-card__content { padding:26px; }
body[data-r40-family=inicio] .ruta40-card__title { font-size:22px; font-weight:600; letter-spacing:-.035em; }
body[data-r40-family=inicio] .ruta40-card__type { color:#7c633c; font-size:10px; letter-spacing:.1em; }
body[data-r40-family=inicio] .ruta40-card__specs { gap:8px; }
body[data-r40-family=inicio] .ruta40-card__price { color:var(--r40-ink); font-size:30px; font-weight:600; }
body[data-r40-family=inicio] .r40-inicio-confianza { max-width:1180px; margin:48px auto 76px; gap:0; background:transparent; border-top:1px solid var(--r40-line); border-bottom:1px solid var(--r40-line); }
body[data-r40-family=inicio] .r40-confianza-tarjeta { background:transparent; border:0; border-right:1px solid var(--r40-line); border-radius:0; padding:28px; box-shadow:none; }
body[data-r40-family=inicio] .r40-confianza-tarjeta:last-child { border-right:0; }
body[data-r40-family=inicio] .r40-confianza-icono { background:#fff; border:1px solid var(--r40-line); color:var(--r40-blue); border-radius:50%; width:48px; height:48px; }
body[data-r40-family=inicio] .r40-confianza-tarjeta strong { font-size:15px; font-weight:600; letter-spacing:-.02em; }
body[data-r40-family=inicio] .r40-confianza-tarjeta p { font-size:12px; }
.r40-inspiracion { max-width:1180px; margin:0 auto 80px; }
.r40-inspiracion__head { display:flex; justify-content:space-between; gap:40px; align-items:end; margin-bottom:26px; }
.r40-inspiracion h2 { margin:10px 0 0; color:var(--r40-ink); font-size:clamp(29px,3vw,43px); line-height:1.15; letter-spacing:-.04em; }
.r40-inspiracion__head > a { font-size:13px; color:var(--r40-ink); border-bottom:1px solid #8a9baa; padding-bottom:6px; white-space:nowrap; text-decoration:none; }
.r40-inspiracion__grid { display:grid; grid-template-columns:1.45fr 1fr; grid-template-rows:210px 210px; gap:20px; }
.r40-inspiracion__card { position:relative; display:flex; align-items:end; isolation:isolate; overflow:hidden; padding:28px; border-radius:18px; background:var(--r40-ink); text-decoration:none!important; color:#fff!important; }
.r40-inspiracion__card:first-child { grid-row:span 2; }
.r40-inspiracion__card::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,transparent 15%,rgba(6,29,48,.82)); }
.r40-inspiracion__card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .35s; }
.r40-inspiracion__card:hover img { transform:scale(1.035); }
.r40-inspiracion__card strong { font-size:28px; font-weight:500; line-height:1.2; letter-spacing:-.03em; }
.r40-inspiracion__card span { margin-left:auto; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; border:1px solid #ffffff80; font-size:22px; }
.r40-home-reviews { max-width:1180px; margin:0 auto 64px; }
.r40-home-reviews > h2 { font-size:clamp(28px,3vw,38px); line-height:1.2; letter-spacing:-.04em; margin:0 0 28px; }
body[data-r40-family=inicio] .r40-inicio-ayuda { display:grid; grid-template-columns:1.15fr 1fr 1fr; max-width:1180px; padding:34px; margin:0 auto 80px; gap:30px; background:#edf2f3; border:0; box-shadow:none; border-radius:18px; }
body[data-r40-family=inicio] .r40-inicio-ayuda h2 { font-size:27px; letter-spacing:-.03em; }
body[data-r40-family=inicio] .r40-inicio-ayuda > a { padding:10px 0; border-bottom:1px solid #c6d2db; color:var(--r40-ink); font-size:14px; font-weight:500; text-decoration:none; display:flex; align-items:center; justify-content:space-between; gap:12px; }
/* Contacto: formulario y resumen de viaje con ritmos distintos, sin campos ocultos. */
body[data-r40-family=contacto] .r40-res { max-width:1240px; padding:64px 30px 80px; }
body[data-r40-family=contacto] .r40-res__cabecera { text-align:left; margin:0 0 44px; max-width:940px; }
body[data-r40-family=contacto] .r40-res__cabecera h1 { font-size:clamp(34px,4vw,54px); line-height:1.12; letter-spacing:-.05em; margin-top:14px; }
body[data-r40-family=contacto] .r40-res__cabecera h1 span { color:var(--r40-blue); }
body[data-r40-family=contacto] .r40-res__cabecera p { max-width:65ch; font-size:15px; line-height:1.8; margin:22px 0 0; color:var(--r40-muted); }
body[data-r40-family=contacto] .r40-res__billete { gap:24px; grid-template-columns:minmax(0,1fr) 320px; background:transparent; border-radius:0; box-shadow:none; align-items:start; }
body[data-r40-family=contacto] .r40-res__billete::before,body[data-r40-family=contacto] .r40-res__billete::after { display:none; }
body[data-r40-family=contacto] .r40-res__form-wrap { padding:32px; background:#fff; border:1px solid var(--r40-line); border-radius:20px; }
body[data-r40-family=contacto] .r40-res__talon { align-self:start; position:sticky; top:104px; padding:28px; border:0; border-radius:18px; background:var(--r40-ink); box-shadow:none; }
body[data-r40-family=contacto] .r40-res__talon::before,body[data-r40-family=contacto] .r40-res__talon::after { display:none; }
body[data-r40-family=contacto] .r40-res__info { gap:20px; margin-top:40px; }
body[data-r40-family=contacto] .r40-res__tarjeta { padding:28px; border:1px solid var(--r40-line); border-radius:16px; box-shadow:none; }
body[data-r40-family=contacto] .r40-res__tarjeta svg { width:44px; height:44px; padding:11px; border-radius:12px; background:#eef3f4; color:var(--r40-blue); stroke:var(--r40-blue); }
body[data-r40-family=contacto] .r40-res__tarjeta h2 { font-size:19px; letter-spacing:-.035em; }
body[data-r40-family=contacto] .r40-dudas { border-radius:14px; background:#fafbf9; border-color:var(--r40-line); }
body[data-r40-family=contacto] .r40-res__mapa { border-radius:18px; overflow:hidden; margin-top:30px; }
/* Tarifas: lectura del precio antes del detalle y filas que se convierten en tarjetas. */
body[data-r40-family=tarifas] .ruta40-titulo-banner { min-height:420px; }
body[data-r40-family=tarifas] .ruta40-titulo-banner::after { background:linear-gradient(180deg,transparent,var(--r40-paper)); }
body[data-r40-family=tarifas] .ruta40-titulo-overlay h1 { font-size:clamp(43px,5vw,66px); letter-spacing:-.05em; font-weight:600; }
body[data-r40-family=tarifas] .r40-tarifas { padding-top:64px; max-width:1220px; }
body[data-r40-family=tarifas] .r40-tarifas h2 { max-width:720px; font-size:clamp(29px,3vw,42px); letter-spacing:-.045em; }
body[data-r40-family=tarifas] .r40-tarifas__sub { font-size:15px; color:var(--r40-muted); line-height:1.8; }
body[data-r40-family=tarifas] .r40-precios { border:1px solid var(--r40-line); border-radius:18px; box-shadow:none; }
body[data-r40-family=tarifas] .r40-precios thead th { background:var(--r40-ink); color:#fff; padding:20px 24px; font-size:10px; font-weight:500; letter-spacing:.09em; }
body[data-r40-family=tarifas] .r40-precios tbody tr { background:#fff; }
body[data-r40-family=tarifas] .r40-precios tbody tr:nth-child(even) { background:#f7f9f9; }
body[data-r40-family=tarifas] .r40-precios td,body[data-r40-family=tarifas] .r40-precios tbody th { border-bottom:1px solid var(--r40-line); padding:25px 24px; font-size:14px; }
body[data-r40-family=tarifas] .r40-precios tbody tr:last-child > * { border-bottom:0; }
body[data-r40-family=tarifas] .r40-precios td:last-child { font-size:31px; font-weight:600; letter-spacing:-.045em; color:var(--r40-ink); }
body[data-r40-family=tarifas] .r40-flota { padding-block:60px 30px; }
body[data-r40-family=tarifas] .r40-flota__modelo { border:1px solid var(--r40-line); border-radius:18px; background:#fff; box-shadow:none; }
body[data-r40-family=tarifas] .r40-tarifas-cond { background:#eaf0f2; border:0; padding:25px; border-radius:12px; margin-bottom:64px; font-size:13px; }
/* Condiciones: índice navegable y lectura más ligera. */
body[data-r40-family=faqs] .r40-guia { max-width:1220px; padding:64px 30px 80px; }
body[data-r40-family=faqs] .r40-guia__cab { max-width:980px; }
body[data-r40-family=faqs] .r40-guia__cab h1 { font-size:clamp(34px,4vw,53px); letter-spacing:-.05em; line-height:1.12; }
body[data-r40-family=faqs] .r40-guia__cab p { max-width:78ch; font-size:15px; line-height:1.8; color:var(--r40-muted); }
body[data-r40-family=faqs] .r40-guia__cuerpo { grid-template-columns:240px minmax(0,1fr); gap:48px; margin-top:44px; }
body[data-r40-family=faqs] .r40-guia__indice { top:108px; padding:20px; border:1px solid var(--r40-line); border-radius:14px; background:#fff; }
body[data-r40-family=faqs] .r40-guia__indice ol { border-left:0; }
body[data-r40-family=faqs] .r40-guia__indice a { border-left:0; padding:8px 10px; border-radius:7px; font-size:12px; color:var(--r40-muted)!important; }
body[data-r40-family=faqs] .r40-guia__indice a:hover,body[data-r40-family=faqs] .r40-guia__indice a.is-activo { background:#edf3f5; color:var(--r40-ink)!important; }
body[data-r40-family=faqs] .r40-tema { border:1px solid var(--r40-line); border-radius:16px; background:#fff; padding:28px; margin-bottom:20px; }
body[data-r40-family=faqs] .r40-tema h2 { font-size:23px; line-height:1.3; font-weight:600; letter-spacing:-.035em; }
body[data-r40-family=faqs] .r40-tema__ico { width:38px; height:38px; border:0; border-radius:10px; background:#f2eadc; color:#85632d; }
body[data-r40-family=faqs] .r40-tema li { font-size:14px; line-height:1.9; }
body[data-r40-family=faqs] .r40-tema__preguntas { margin-top:20px; }
body[data-r40-family=faqs] .r40-pregunta { border-bottom:1px solid #e3e9ed; }
body[data-r40-family=faqs] .r40-pregunta summary { font-size:14px; line-height:1.6; padding:16px 26px 16px 0; }
.r40-faq-busqueda { margin:32px 0 0; max-width:740px; }
.r40-faq-busqueda label { display:block; margin-bottom:10px; font-size:12px; font-weight:500; }
.r40-faq-busqueda__campo { display:flex; align-items:center; gap:12px; padding:6px 6px 6px 18px; background:#fff; border:1px solid #b8c7d2; border-radius:11px; }
.r40-faq-busqueda__campo > svg { width:20px; height:20px; flex:none; color:var(--r40-muted); }
.r40-faq-busqueda input { min-width:0; width:100%; min-height:44px; border:0!important; box-shadow:none!important; background:transparent!important; padding:8px 0; font:400 14px 'Lexend',sans-serif; color:var(--r40-ink); }
.r40-faq-busqueda button { min-height:40px; padding:10px 12px; border-radius:8px; border:0; background:#edf2f4; color:var(--r40-ink); font:500 11px 'Lexend',sans-serif; cursor:pointer; }
.r40-faq-busqueda [role=status] { min-height:22px; margin:8px 0 0; font-size:11px; color:var(--r40-muted); }
body[data-r40-design] [hidden] { display:none!important; }
@media(min-width:1025px) and (max-width:1250px) {
 body[data-r40-design] .ruta40-header__inner { padding-inline:20px; gap:16px; }
 body[data-r40-design] .ruta40-header__nav { gap:13px; }
 body[data-r40-design] .ruta40-header__nav a { font-size:12px; }
 body[data-r40-design] .ruta40-header__logo img { width:116px; }
 body[data-r40-design] .ruta40-header__btn { max-width:160px; padding-inline:14px; font-size:12px; }
}
@media(max-width:1240px) {
 body[data-r40-family=inicio] .r40-inicio-intro,body[data-r40-family=inicio] .r40-inicio-confianza,.r40-inspiracion,.r40-home-reviews,body[data-r40-family=inicio] .r40-inicio-ayuda { margin-inline:30px; }
}
@media(max-width:1024px) {
 body[data-r40-design] { padding-top:64px; }
 body[data-r40-design] .ruta40-header__inner { height:64px!important; padding-inline:22px!important; }
 body[data-r40-design] .ruta40-header__logo img { width:118px; max-height:38px; }
 body[data-r40-design] .ruta40-mobile-menu { top:64px; max-height:calc(100dvh - 64px); }
 body[data-r40-design] .ruta40-header__toggle span { background:#fff; }
 body[data-r40-design] .ruta40-footer__inner { padding:48px 26px 32px; gap:34px; }
 body[data-r40-design] .ruta40-footer__bottom { margin-inline:26px; padding-block:24px 32px; }
 body[data-r40-family=contacto] .r40-res__billete { grid-template-columns:minmax(0,1fr) 270px; gap:18px; }
 body[data-r40-family=contacto] .r40-res__talon { padding:22px; top:86px; }
 body[data-r40-family=contacto] .r40-res__form-wrap { padding:26px; }
 body[data-r40-family=faqs] .r40-guia__cuerpo { gap:24px; grid-template-columns:210px minmax(0,1fr); }
}
@media(max-width:760px) {
 html { scroll-padding-top:90px; }
 body[data-r40-design] .ruta40-footer__inner { padding-inline:24px; }
 body[data-r40-design] .ruta40-footer__desc { max-width:38ch; }
 body[data-r40-design] .ruta40-footer__bottom { margin-inline:24px; padding-bottom:100px; }
 body[data-r40-design] .r40-res__campo > span { font-size:10px; letter-spacing:.06em; }
 body[data-r40-design] .r40-res__form input[type=date] { padding:10px 8px; font-size:12px; min-width:0; }
 body[data-r40-design] .r40-res__paso legend { font-size:15px; }
 body[data-r40-design] .r40-borrador { padding:12px; }
 body[data-r40-family=inicio] .r40-inicio-consulta--arriba { padding:28px 18px; margin-bottom:46px; border-radius:18px; }
 body[data-r40-family=inicio] .r40-inicio-consulta h1 { font-size:27px; letter-spacing:-.04em; }
 body[data-r40-family=inicio] .r40-inicio-intro { margin-inline:22px; padding-bottom:24px; }
 body[data-r40-family=inicio] .r40-inicio-intro h2 { font-size:31px; }
 body[data-r40-family=inicio] .r40-inicio-intro__detalle { padding:0; }
 body[data-r40-family=inicio] .ruta40-modelos-wrap { padding-inline:20px; }
 body[data-r40-family=inicio] .ruta40-modelos { gap:22px; }
 body[data-r40-family=inicio] .ruta40-card__media-inner { height:245px; }
 body[data-r40-family=inicio] .ruta40-card__content { padding:24px; }
 body[data-r40-family=inicio] .r40-inicio-confianza { margin:34px 22px 46px; gap:0; }
 body[data-r40-family=inicio] .r40-confianza-tarjeta { padding:22px 8px; border-right:0; border-bottom:1px solid var(--r40-line); }
 body[data-r40-family=inicio] .r40-confianza-tarjeta:last-child { border-bottom:0; }
 .r40-inspiracion { margin:0 22px 48px; }
 .r40-inspiracion__head { display:block; }
 .r40-inspiracion__head > a { display:inline-block; margin-top:20px; }
 .r40-inspiracion__grid { grid-template-columns:1fr; grid-template-rows:330px 230px 230px; gap:16px; }
 .r40-inspiracion__card:first-child { grid-row:auto; }
 .r40-inspiracion__card { padding:24px; }
 .r40-home-reviews { margin:0 20px 44px; }
 body[data-r40-family=inicio] .r40-inicio-ayuda { display:block; padding:26px; margin:0 22px 48px; }
 body[data-r40-family=inicio] .r40-inicio-ayuda > a { margin-top:20px; }
 body[data-r40-family=contacto] .r40-res { padding:38px 20px 48px; }
 body[data-r40-family=contacto] .r40-res__cabecera { margin-bottom:30px; }
 body[data-r40-family=contacto] .r40-res__cabecera h1 { font-size:34px; }
 body[data-r40-family=contacto] .r40-res__cabecera p { font-size:14px; }
 body[data-r40-family=contacto] .r40-res__billete { display:block; }
 body[data-r40-family=contacto] .r40-res__form-wrap { padding:22px 16px; border-radius:16px; }
 body[data-r40-family=contacto] .r40-res__talon { position:static; margin-top:20px; border-radius:16px; }
 body[data-r40-family=contacto] .r40-res__info { grid-template-columns:1fr; gap:14px; margin-top:26px; }
 body[data-r40-family=contacto] .r40-res__tarjeta { padding:24px; }
 body[data-r40-family=tarifas] .ruta40-titulo-banner { min-height:400px; }
 body[data-r40-family=tarifas] .r40-tarifas { padding:40px 20px 0; }
 body[data-r40-family=tarifas] .r40-precios { display:block; border:0; box-shadow:none; background:transparent; overflow:visible; }
 body[data-r40-family=tarifas] .r40-precios thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 body[data-r40-family=tarifas] .r40-precios tbody { display:grid; gap:14px; }
 body[data-r40-family=tarifas] .r40-precios tbody tr { display:grid; grid-template-columns:1fr auto; padding:20px; gap:14px 18px; border:1px solid var(--r40-line); border-radius:14px; background:#fff; }
 body[data-r40-family=tarifas] .r40-precios tbody th { grid-area:1/1; padding:0; font-size:17px; border:0; align-self:center; }
 body[data-r40-family=tarifas] .r40-precios td { padding:0; border:0; font-size:12px; background:transparent!important; }
 body[data-r40-family=tarifas] .r40-precios td:nth-child(2) { grid-area:2/1/3/3; }
 body[data-r40-family=tarifas] .r40-precios td:nth-child(3) { grid-area:3/1/4/3; color:var(--r40-muted); }
 body[data-r40-family=tarifas] .r40-precios td:last-child { grid-area:1/2; font-size:29px; white-space:nowrap; }
 body[data-r40-family=tarifas] .r40-precios td:nth-child(2)::before,body[data-r40-family=tarifas] .r40-precios td:nth-child(3)::before { content:attr(data-label) ': '; font-size:11px; color:var(--r40-muted); }
 body[data-r40-family=faqs] .r40-guia { padding:38px 20px 48px; }
 body[data-r40-family=faqs] .r40-guia__cab h1 { font-size:34px; }
 body[data-r40-family=faqs] .r40-guia__cuerpo { display:block; margin-top:26px; }
 body[data-r40-family=faqs] .r40-guia__indice { position:static; margin-bottom:26px; padding:18px; }
 body[data-r40-family=faqs] .r40-guia__indice ol { display:flex; gap:8px; flex-wrap:wrap; }
 body[data-r40-family=faqs] .r40-guia__indice a { border:1px solid var(--r40-line); font-size:11px; padding:7px 9px; }
 body[data-r40-family=faqs] .r40-tema { padding:23px 20px; }
 body[data-r40-family=faqs] .r40-tema h2 { font-size:21px; align-items:start; }
 body[data-r40-family=faqs] .r40-tema__ico { flex:none; }
 body[data-r40-family=faqs] .r40-tema li { font-size:13px; }
 .r40-faq-busqueda { margin-top:24px; }
 .r40-faq-busqueda__campo { padding-left:12px; }
 .r40-faq-busqueda input { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .r40-inspiracion__card img { transition:none; } }

/* tarifas: tarjetas de la flota con borde; la foto va pegada arriba y el texto respira dentro del recuadro */
body[data-r40-family=tarifas] .r40-flota__modelo { display:flex; flex-direction:column; overflow:hidden; padding:0 0 22px; transition:box-shadow .25s, transform .25s; }
body[data-r40-family=tarifas] .r40-flota__modelo:hover { box-shadow:0 24px 48px -30px rgba(21,48,90,.55); transform:translateY(-3px); }
body[data-r40-family=tarifas] .r40-flota__foto { border-radius:0; box-shadow:none; }
body[data-r40-family=tarifas] .r40-flota__modelo h3,
body[data-r40-family=tarifas] .r40-flota__modelo p,
body[data-r40-family=tarifas] .r40-flota__acciones { padding-inline:22px; }
body[data-r40-family=tarifas] .r40-flota__modelo h3 { margin-top:20px; }
body[data-r40-family=tarifas] .r40-flota__acciones { margin-top:auto; padding-top:20px; }

/* faqs: cabecera en panel azul noche, separada de la barra fija, con el buscador integrado */
body[data-r40-family=faqs] .r40-guia { padding-top:128px; }
body[data-r40-family=faqs] .r40-guia__cab { position:relative; max-width:none; overflow:hidden; padding:56px clamp(24px,5vw,64px) 48px; border-radius:28px; color:#d6e2f0;
  background:radial-gradient(circle at 88% 12%, rgba(212,170,92,.28), transparent 42%), linear-gradient(135deg,#0f2747 0%,#15305a 60%,#1d4171 100%);
  box-shadow:0 30px 60px -38px rgba(15,39,71,.75); }
body[data-r40-family=faqs] .r40-guia__cab::after { content:""; position:absolute; right:-80px; bottom:-120px; width:340px; height:340px; border-radius:50%; border:1px solid rgba(233,207,143,.22); pointer-events:none; }
body[data-r40-family=faqs] .r40-guia__eyebrow { display:inline-flex; margin-bottom:18px; padding:7px 14px; border:1px solid rgba(233,207,143,.45); border-radius:999px; background:rgba(233,207,143,.1); color:#e9cf8f !important; font-size:11px; }
body[data-r40-family=faqs] .r40-guia__cab h1 { max-width:820px; color:#fff; }
body[data-r40-family=faqs] .r40-guia__cab > p { max-width:68ch; color:#c5d4e6; font-size:16px; }
body[data-r40-family=faqs] .r40-faq-busqueda { position:relative; z-index:1; max-width:720px; margin-top:34px; }
body[data-r40-family=faqs] .r40-faq-busqueda label { color:#e9cf8f; font-weight:600; }
body[data-r40-family=faqs] .r40-faq-busqueda__campo { border:0 !important; border-radius:16px !important; background:#fff !important; box-shadow:0 18px 40px -22px rgba(0,0,0,.55); }
body[data-r40-family=faqs] .r40-faq-busqueda > p { color:#c5d4e6; }
@media (max-width:767px) {
  body[data-r40-family=faqs] .r40-guia { padding-top:96px; }
  body[data-r40-family=faqs] .r40-guia__cab { padding:36px 22px 30px; border-radius:20px; }
  body[data-r40-family=faqs] .r40-guia__cab::after { display:none; }
}
