/* Ajustes de continuidad visual; conserva la portada y el formulario superior. */
:root { --r40-ui-radius: 16px; --r40-ui-line: #d9e3ee; --r40-ui-shadow: 0 8px 24px rgba(21,48,90,.07); }
.ruta40-card, .r40-confianza-tarjeta, .r40-inicio-consulta, .r40-inicio-ayuda,
.r40-comparar, .r40-modelo-guia, .r40-primera { border-radius: var(--r40-ui-radius); border-color: var(--r40-ui-line); box-shadow: var(--r40-ui-shadow); }
.r40-inicio-simple .ruta40-card { border-radius: var(--r40-ui-radius); }
.ruta40-card__content { gap: 14px; }
.ruta40-card__specs { line-height: 1.5; }
.ruta40-card__title { line-height: 1.25; }
.ruta40-card__price-row { padding-top: 8px; }
.ruta40-btn, .ruta40-header__btn, .ruta40-mobile-btn, .r40-res__enviar,
.r40-inicio-intro__boton { border-radius: 10px !important; min-height: 48px; font-weight: 600; letter-spacing: .01em; text-shadow: none !important; box-shadow: none !important; transition: background-color .18s, border-color .18s, color .18s; }
.ruta40-btn--reserve, .ruta40-header__btn, .ruta40-mobile-btn, .r40-res__enviar {
 background: #c49a3f !important; color: #132d50 !important; border: 1px solid #c49a3f !important;
}
.ruta40-btn--reserve:hover, .ruta40-header__btn:hover, .ruta40-mobile-btn:hover, .r40-res__enviar:hover { background: #d8b366 !important; border-color: #d8b366 !important; }
.ruta40-btn--info { background: #fff !important; color: #15305a !important; border: 1px solid #a8bbcf !important; }
.ruta40-btn--info:hover { background: #edf3f9 !important; border-color: #15305a !important; }
.ruta40-btn:hover, .ruta40-header__btn:hover, .r40-res__enviar:hover { transform: none !important; }
.ruta40-btn:focus-visible, .ruta40-header__btn:focus-visible, .ruta40-mobile-btn:focus-visible,
.r40-res__enviar:focus-visible, .r40-inicio-intro__boton:focus-visible { outline: 3px solid #1768a6 !important; outline-offset: 4px; }
.r40-res__enviar:disabled { opacity: .65; cursor: wait; }
.r40-inicio-confianza { margin-block: 40px; }
.r40-inicio-ayuda { margin-block: 40px; }
.r40-confianza-tarjeta { background: #fff; }
.r40-res__form input:not([type=checkbox]):not([type=hidden]), .r40-res__form select, .r40-res__form textarea { border-radius: 10px; }
.r40-privacy-note { color: #526780; font: 400 12px/1.7 'Lexend',sans-serif; margin: 18px 0; }
.r40-privacy-note a { color: #155a91; text-decoration: underline; text-underline-offset: 3px; }
.r40-cookie-choice { position: fixed; left: 20px; bottom: 20px; z-index: 99999; width: min(460px,calc(100vw - 40px)); padding: 24px; border: 1px solid #cbd9e8; border-radius: 16px; background: #fff; color: #15305a; box-shadow: 0 12px 35px rgba(21,48,90,.16); font: 14px/1.6 'Lexend',sans-serif; }
.r40-cookie-choice strong { display: block; font-size: 18px; }
.r40-cookie-choice p { font-size: 13px; margin: 10px 0 18px; }
.r40-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.r40-cookie-actions button, .r40-map-placeholder button { min-height: 44px; padding: 10px 14px; border: 1px solid #15305a; border-radius: 9px; background: #15305a; color: #fff; font: 600 12px/1.4 'Lexend',sans-serif; cursor: pointer; }
.r40-cookie-actions button { flex: 1 1 115px; }
.r40-cookie-actions button:hover, .r40-map-placeholder button:hover { background: #244c7e; }
.r40-cookie-actions button:focus-visible, .r40-map-placeholder button:focus-visible, .r40-cookie-settings:focus-visible { outline: 3px solid #1768a6; outline-offset: 3px; }
.r40-cookie-choice a, .r40-cookie-dialog a { color: #155a91; text-decoration: underline; }
.r40-cookie-settings { border: 0; background: transparent; color: inherit; font: inherit; padding: 4px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.r40-cookie-dialog { width: min(560px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 28px; border: 1px solid #cbd9e8; border-radius: 16px; color: #15305a; background: #fff; box-shadow: 0 16px 48px rgba(21,48,90,.2); font: 14px/1.65 'Lexend',sans-serif; }
.r40-cookie-dialog::backdrop { background: rgba(12,31,58,.55); }
.r40-cookie-dialog h2 { font-size: 23px; color: #15305a; margin: 0 0 12px; }
.r40-cookie-dialog > p { font-size: 13px; }
.r40-cookie-option { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #d9e3ee; cursor: pointer; }
.r40-cookie-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: #15305a; }
.r40-cookie-option strong, .r40-cookie-option small { display: block; }
.r40-cookie-option small { font-size: 12px; color: #526780; }
.r40-cookie-close { display: block; margin: 16px auto 0; border: 0; background: transparent; text-decoration: underline; color: #15305a; min-height: 44px; cursor: pointer; font: inherit; }
.r40-map-placeholder { display: grid; align-content: center; justify-items: center; gap: 16px; min-height: 280px; padding: 28px; text-align: center; border: 1px solid #d9e3ee; border-radius: 16px; background: #f1f6fb; color: #15305a; }
.r40-map-placeholder p { max-width: 480px; font-size: 14px; margin: 0; }
.r40-map-placeholder a { color: #155a91; text-decoration: underline; }
@media(max-width:768px) {
 .r40-cookie-choice { left: 12px; bottom: 80px; width: calc(100vw - 24px); padding: 20px; }
 .r40-cookie-dialog { padding: 22px; }
 .r40-inicio-confianza, .r40-inicio-ayuda { margin-block: 28px; }
}
@media(prefers-reduced-motion:reduce) { .ruta40-btn, .ruta40-header__btn, .r40-res__enviar { transition: none; } }
