/* V40.38: scoped navigation and footer corrections. */
html.nf-choice-modal-open { overflow: hidden; }
.nf-rental-dialog:not([open]) { display: none; }
.nf-rental-dialog {
  width: min(940px, calc(100% - 32px)); max-width: none;
  max-height: calc(100dvh - 32px); margin: auto; padding: 0;
  border: 1px solid #477895; border-radius: 24px;
  color: #fff; background: #082745; overflow: auto;
  box-shadow: 0 30px 100px #00142e80;
}
.nf-rental-dialog::backdrop { background: #03162dcc; backdrop-filter: blur(4px); }
.nf-rental-dialog-panel { padding: 28px; background: linear-gradient(145deg, #082745, #0a5071); }
.nf-dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.nf-dialog-top h2 { margin: 6px 0 8px; color: #fff; font-size: clamp(25px, 3vw, 34px); line-height: 1.15; }
.nf-dialog-top p { margin: 0; font-size: 15px; line-height: 1.5; color: #d3e7f4; }
.nf-dialog-kicker { color: #dfff32; font-size: 12px; letter-spacing: .08em; font-weight: 850; }
.nf-dialog-close { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #7da0b7; border-radius: 50%; font: inherit; font-size: 28px; line-height: 1; background: #fff1; color: #fff; cursor: pointer; }
.nf-dialog-close:hover { background: #fff2; }
.nf-dialog-close:focus-visible { outline: 3px solid #dfff32; outline-offset: 3px; }
.nf-rental-dialog .nf-choice-card { box-shadow: none; }
.nf-rental-dialog .nf-choice-card:hover { border-color: #dfff32; }
.nf-rental-dialog .nf-choice-note { font-size: 13px; line-height: 1.55; }
.nf-rental-dialog .nf-choice-card strong { font-size: 13px; }
footer.site-footer.nf-footer-v4038 { background: #061d35 !important; color: #fff; padding: 0 !important; border-top: 4px solid #dfff32; }
.nf-footer-v4038 *, .nf-rental-dialog * { box-sizing: border-box; }
.nf-footer-inner { width: calc(100% - 48px); max-width: 1220px; margin: 0 auto; }
.nf-footer-grid { display: grid; grid-template-columns: 1.08fr 1.15fr .8fr; gap: 48px; padding: 46px 0 32px; }
.nf-footer-grid > * { min-width: 0; }
.nf-footer-logo { width: 172px; max-width: 100%; height: auto; display: block; padding: 9px 12px; background: #fff; border-radius: 12px; }
.nf-footer-description { margin: 20px 0 16px; max-width: 350px; font-size: 15px; line-height: 1.65; color: #d4e1ed; }
.nf-footer-owner { margin: 0; max-width: 350px; font-size: 12px; line-height: 1.6; color: #b6c9db; }
.nf-footer-owner strong { display: block; color: #fff; font-size: 14px; }
.nf-footer-v4038 .nf-footer-heading { margin: 0 0 18px; font-size: 14px; line-height: 1.4; letter-spacing: .07em; font-weight: 800; text-transform: uppercase; color: #dfff32; }
.nf-footer-contacts { display: grid; gap: 10px; }
.nf-footer-v4038 .nf-footer-contact { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 62px; padding: 13px 16px; border: 1px solid #31516d; border-radius: 13px; background: #102e4b; color: #fff; text-decoration: none; font-family: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.nf-footer-contact > span { min-width: 0; }
.nf-footer-contact small { display: block; margin-bottom: 4px; color: #c6d9e9; font-size: 11px; line-height: 1.35; letter-spacing: .04em; }
.nf-footer-contact strong { display: block; color: inherit; font-size: 19px; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.nf-footer-contact b { flex-shrink: 0; font-size: 20px; }
.nf-footer-v4038 .nf-footer-contact:hover { background: #1a405f; }
.nf-footer-v4038 .nf-footer-whatsapp { background: #25d366; border-color: #25d366; color: #052c24; }
.nf-footer-v4038 .nf-footer-whatsapp:hover { background: #54df88; }
.nf-footer-whatsapp small { color: #073c2d; }
.nf-footer-v4038 .nf-footer-callback { background: #dfff32; color: #102a45; border-color: #dfff32; }
.nf-footer-v4038 .nf-footer-callback:hover { background: #eaff7a; }
.nf-footer-callback small { color: #274719; }
.nf-footer-v4038 a:focus-visible, .nf-footer-v4038 button:focus-visible { outline: 3px solid #dfff32; outline-offset: 4px; }
.nf-footer-links { display: grid; gap: 2px; }
.nf-footer-v4038 .nf-footer-nav { display: block !important; }
.nf-footer-v4038 .nf-footer-links a { display: flex; align-items: center; min-height: 42px; padding: 6px 0; color: #e1ebf4; font-size: 15px; line-height: 1.45; font-weight: 500; text-decoration: none; }
.nf-footer-v4038 .nf-footer-links a::after { display: none; }
.nf-footer-v4038 .nf-footer-links a:hover { color: #dfff32; text-decoration: underline; text-underline-offset: 4px; }
.nf-footer-legal { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; border-top: 1px solid #31516d; padding: 22px 0 26px; }
.nf-footer-legal p { margin: 0; color: #b6c9db; font-size: 12px; line-height: 1.6; }
.nf-footer-legal p:last-child { max-width: 570px; }
@media (max-width: 1000px) {
  .nf-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nf-footer-brand { grid-column: 1 / -1; }
  .nf-footer-description { max-width: 620px; }
}
@media (max-width: 700px) {
  .nf-rental-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .nf-rental-dialog-panel { padding: 20px 16px; }
  .nf-dialog-top { gap: 12px; margin-bottom: 18px; }
  .nf-dialog-top h2 { font-size: 25px; }
  .nf-dialog-top p { font-size: 14px; }
  .nf-dialog-kicker { font-size: 11px; }
  .nf-rental-dialog .nf-choice-grid { grid-template-columns: 1fr; }
  .nf-footer-inner { width: calc(100% - 36px); }
  .nf-footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 32px 0 26px; }
  .nf-footer-brand { grid-column: auto; }
  .nf-footer-heading { margin-bottom: 14px; }
  .nf-footer-legal { flex-direction: column; gap: 12px; padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .nf-footer-contact { transition: none; }
}
