/* Consent choices and optional night palette. */
#privacy-dialog { width:min(680px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:32px; }
#privacy-dialog h2 { font-size:30px; margin-bottom:12px; }
.privacy-option { display:flex; gap:24px; align-items:center; padding:18px 0; border-bottom:1px solid var(--line,#bfd3d7); }
.privacy-option > div { flex:1; }
.privacy-option label { font-weight:700; cursor:pointer; }
.privacy-option p { font-size:13px; line-height:1.6; margin:6px 0 0; }
.privacy-option input[role="switch"] { appearance:none; width:46px; height:26px; min-height:26px; box-sizing:border-box; margin:0; flex-shrink:0; border:1px solid #627e8c; border-radius:20px; background:#647985; padding:3px; cursor:pointer; }
.privacy-option input[role="switch"]::before { content:""; display:block; width:18px; height:18px; border-radius:50%; background:white; transition:transform .15s; }
.privacy-option input:checked { background:#087e81; border-color:#087e81; }
.privacy-option input:checked::before { transform:translateX(19px); }
.privacy-option input:disabled { opacity:.65; cursor:default; }
.privacy-option input:focus-visible { outline:3px solid #169cad; outline-offset:3px; }
.privacy-actions { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.privacy-small,.privacy-details { font-size:13px; line-height:1.6; }
.privacy-small { margin-top:12px; }
.privacy-details summary { cursor:pointer; font-weight:650; }
.privacy-details p { margin-top:12px; font-size:13px; }
.privacy-map-request { padding:12px; border:1px solid var(--line); border-radius:8px; }
@media(max-width:1100px) { .cookie-notice .cookie-notice-inner { flex-direction:column; align-items:flex-start; gap:12px; } }
@media(max-width:640px) { #privacy-dialog { padding:24px 20px; } .privacy-actions .button,.cookie-notice-actions .button { flex:1; justify-content:center; white-space:nowrap; } }
.theme-toggle { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; padding:0; border:1px solid #afc1ca; border-radius:50%; background:transparent; color:#123957; font-size:24px; line-height:1; }
.theme-toggle:hover { background:#e5f1f4; }
.header-inner { gap:20px; }
.form-status { margin:18px 0 0; padding:14px 16px; border-radius:9px; background:#ffffffb8; border:1px solid #a6c9c0; font-size:14px; }
.form-status:empty { display:none; }
.form-status[data-state="error"] { color:#8a2f22; border-color:#be7668; }
.form-status[data-state="success"] { color:#175d48; }
.form-status:focus { outline:2px solid currentColor; outline-offset:3px; }
.cookie-notice { position:fixed; left:16px; right:16px; bottom:16px; z-index:50; max-height:calc(100vh - 32px); overflow:auto; border:1px solid #bfd3d7; border-radius:14px; background:#f8fcfbf2; color:#173947; box-shadow:0 18px 55px #0b2b3d38; backdrop-filter:blur(12px); }
.cookie-notice-inner { width:min(1120px,100%); margin:auto; padding:17px 22px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.cookie-notice p { max-width:700px; font-size:13px; line-height:1.55; }
.cookie-notice strong { font-weight:700; }
.cookie-notice-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; flex-wrap:wrap; }
.cookie-notice-actions > .button { padding:10px 18px; }
.form-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
#inquiry-form button:disabled { opacity:.7; transform:none; }
@media (max-width:1100px) { .header-inner { gap:12px; } }
@media (min-width:901px) and (max-width:1050px) {
 .menu-toggle { display:flex; align-items:center; gap:14px; margin-left:auto; background:white; color:#123957; border:1px solid var(--line); border-radius:6px; padding:9px 13px; font-size:13px; }
 .header nav { display:none; position:absolute; left:0; right:0; top:100%; background:white; padding:20px 28px; box-shadow:0 14px 20px #15374e10; align-items:stretch; gap:8px; border-bottom:1px solid var(--line); flex-direction:column; }
 .header nav.open { display:flex; }
 .header nav > a { padding:11px 15px; }
}
@media (max-width:640px) {
 .header-inner { gap:8px; }
 .header .brand { width:auto; min-width:0; max-width:220px; flex:1; }
 .theme-toggle { width:34px; height:34px; font-size:22px; }
 .menu-toggle { flex-shrink:0; }
 .cookie-notice-inner { align-items:flex-start; flex-direction:column; gap:12px; padding:17px; }
 .cookie-notice-actions { width:100%; justify-content:space-between; }
}
@media screen {
 :root[data-theme="dark"] { color-scheme:dark; --ink:#e6f0f5; --muted:#b8cbd6; --line:#496271; --paper:#183340; --blue:#82d8ed; --teal:#79d9d1; --green:#a6d9b0; --ochre:#efce8b; }
 [data-theme="dark"] body.scenic-site { background:#102730; }
 [data-theme="dark"] .scenic-site::before, [data-theme="dark"] .scenic-background { filter:brightness(.52) saturate(.85); }
 [data-theme="dark"] .header { background:#102632f5; border-color:#adcbd12b; }
 [data-theme="dark"] .brand, [data-theme="dark"] .footer-top img { background:#fff; padding:5px; border-radius:5px; }
 [data-theme="dark"] .theme-toggle { color:#e7f1f6; border-color:#7b9aa8; }
 [data-theme="dark"] .theme-toggle:hover { background:#294956; }
 [data-theme="dark"] .menu-toggle { color:#e7f1f6; border-color:#7b9aa8; background:#173440; }
 [data-theme="dark"] .scenic-site .hero { --hero-wash:linear-gradient(90deg,#092431f5 0%,#102e3be8 38%,#102e3b66 72%,#102e3b05); }
 [data-theme="dark"] .scenic-site .hero .intro, [data-theme="dark"] .scenic-site .hero-note { color:#c7dbe4; }
 [data-theme="dark"] .scenic-site .trust-strip, [data-theme="dark"] .scenic-site footer, [data-theme="dark"] .scenic-site .office-strip { background:#112d3ad9; }
 [data-theme="dark"] .scenic-site .section { background:#102d3bd1; border-color:#b5d4df38; box-shadow:0 12px 40px #0002; }
 [data-theme="dark"] .scenic-site .partner-services { background:#292b46d1; }
 [data-theme="dark"] .scenic-site .documents { background:#393327d4; }
 [data-theme="dark"] .scenic-site .inquiry, [data-theme="dark"] .scenic-site .about { background:#163b3ad4; }
 [data-theme="dark"] .scenic-site .claims { background:#102d54e6; }
 [data-theme="dark"] .scenic-site .service, [data-theme="dark"] .scenic-site .branch, [data-theme="dark"] .scenic-site .damage-card, [data-theme="dark"] .finance-card, [data-theme="dark"] .scenic-site .about-panel { background:#153441b8; border-color:#86afbd45; }
 [data-theme="dark"] .cookie-notice { background:#102d3bef; color:#e6f0f5; border-color:#86afbd70; }
 [data-theme="dark"] .scenic-site .service { --card-accent:#a6d9b0; --card-icon:#294b3d; border-top-color:var(--card-accent); }
 [data-theme="dark"] .service:nth-child(6n+2) { --card-accent:#82d8ed; --card-icon:#244654; }
 [data-theme="dark"] .service:nth-child(6n+3) { --card-accent:#f0aaba; --card-icon:#553b4a; }
 [data-theme="dark"] .service:nth-child(6n+4) { --card-accent:#84dfcd; --card-icon:#254a47; }
 [data-theme="dark"] .service:nth-child(6n+5) { --card-accent:#efce8b; --card-icon:#4d4732; }
 [data-theme="dark"] .service:nth-child(6n+6) { --card-accent:#d1baf0; --card-icon:#423b58; }
 [data-theme="dark"] .finance-label, [data-theme="dark"] .finance-card > p:not(.finance-label), [data-theme="dark"] .finance-partner { color:#c1d2de; }
 [data-theme="dark"] .partner-services .eyebrow, [data-theme="dark"] .finance-icon { color:#d1baf0; }
 [data-theme="dark"] .finance-card:nth-child(2) .finance-icon { color:#a6d9b0; }
 [data-theme="dark"] .finance-card:nth-child(3) .finance-icon { color:#efce8b; }
 [data-theme="dark"] .documents .eyebrow, [data-theme="dark"] .documents .document-note, [data-theme="dark"] .document-list a > span:last-child { color:#efce8b; }
 [data-theme="dark"] .document-list, [data-theme="dark"] .document-list a, [data-theme="dark"] .finance-card > a { border-color:#a5c3cf45; }
 [data-theme="dark"] .document-list a:hover { background:#ffffff0d; }
 [data-theme="dark"] .scenic-site .branch-content > p, [data-theme="dark"] .scenic-site .staff-email, [data-theme="dark"] .branch-map-destination, [data-theme="dark"] .branch-dialog .map-provider p, [data-theme="dark"] .branch-map-panel .small { color:#c1d4de; }
 [data-theme="dark"] .scenic-site .branch-content .branch-facebook, [data-theme="dark"] .footer-social a { color:#a6ddf0; }
 [data-theme="dark"] .footer-social a, [data-theme="dark"] .map-provider { background:#173947b8; border-color:#8eb1c459; }
 [data-theme="dark"] .footer-social a:hover { background:#284d5c; }
 [data-theme="dark"] .footer-social, [data-theme="dark"] .branch-map-panel, [data-theme="dark"] .staff-list li { border-color:#a5c3cf45; }
 [data-theme="dark"] .filters, [data-theme="dark"] .damage-filters button { background:#153340; border-color:#7392a3; color:#d8e8f0; }
 [data-theme="dark"] .filters button.active, [data-theme="dark"] .damage-filters button.active { background:#276278; color:#fff; }
 [data-theme="dark"] .button { background:#285b96; border-color:#83ace0; color:#fff; }
 [data-theme="dark"] .button:hover { background:#356eaf; }
 [data-theme="dark"] .hero .button, [data-theme="dark"] .inquiry .button { background:#285b96; border-color:#83ace0; }
 [data-theme="dark"] .hero .button:hover, [data-theme="dark"] .inquiry .button:hover { background:#356eaf; }
 [data-theme="dark"] .button-outline { background:transparent; color:#d7eaf2; }
 [data-theme="dark"] .button-white { background:#e8f2ff; color:var(--navy); }
 [data-theme="dark"] .button-white:hover { background:#dceafb; }
 [data-theme="dark"] .scenic-site .trust-strip > div:nth-child(n) .trust-number, [data-theme="dark"] .check, [data-theme="dark"] .zoom-mark { color:#123957; }
 [data-theme="dark"] input, [data-theme="dark"] select, [data-theme="dark"] textarea { background:#102d3ce6; color:#edf5f8; border-color:#8aa7b5; }
 [data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color:#afc7d2; opacity:1; }
 [data-theme="dark"] dialog, [data-theme="dark"] .branch-dialog { background:#122c39f7; color:#e6f0f5; border-color:#809fab; }
 [data-theme="dark"] .close-dialog { color:#dbeaf2; }
 [data-theme="dark"] .form-status { background:#183e46; border-color:#78bca9; color:#dcf4ed; }
 [data-theme="dark"] .form-status[data-state="error"] { background:#482e33; border-color:#edab9e; color:#ffe0d9; }
 [data-theme="dark"] .form-status[data-state="success"] { color:#b4efd3; }
 [data-theme="dark"] .reader-heading, [data-theme="dark"] .reader-paper, [data-theme="dark"] .reader-aside { background:#122e3bd9; border-color:#9abac64d; }
 [data-theme="dark"] .document-body, [data-theme="dark"] .document-body h2, [data-theme="dark"] .document-body h3, [data-theme="dark"] .document-body h4 { color:#e4eff4; }
 [data-theme="dark"] .reader-intro p, [data-theme="dark"] .reader-aside-note, [data-theme="dark"] .document-body .source-folio { color:#c1d3dc; }
 [data-theme="dark"] .reader-heading .eyebrow, [data-theme="dark"] .reader-aside .eyebrow { color:#efce8b; }
 [data-theme="dark"] .reader-notice { background:#4b402ba8; color:#f7dfb0; }
 [data-theme="dark"] .reader-aside nav a[aria-current] { color:#86e0d4; }
 [data-theme="dark"] .reader-aside nav a, [data-theme="dark"] .reader-end { border-color:#93b1be55; }
 [data-theme="dark"] .scenic-site .damage-hero, [data-theme="dark"] .scenic-site .damage-process, [data-theme="dark"] .scenic-site .damage-gallery-section { background:#112f3dd1; }
 [data-theme="dark"] .damage-hero h1 em, [data-theme="dark"] .damage-hero .eyebrow { color:#f6c294; }
 [data-theme="dark"] .damage-tag { color:#123957; }
 [data-theme="dark"] a:focus-visible, [data-theme="dark"] button:focus-visible, [data-theme="dark"] summary:focus-visible, [data-theme="dark"] input:focus-visible, [data-theme="dark"] textarea:focus-visible, [data-theme="dark"] select:focus-visible { outline-color:#8ce9e1; }
 @media(max-width:1100px) { [data-theme="dark"] .header nav { background:#102632; } }
 @media(max-width:640px) { [data-theme="dark"] .scenic-site .hero { --hero-wash:linear-gradient(90deg,#092431ed,#102e3bd9); } }
}
@media print { .theme-toggle, .form-status, .cookie-notice { display:none!important; } }

/* Keyboard access, touch controls and reduced motion. */
.skip-link { color:#123957; background:#fff; border:2px solid #123957; border-radius:6px; }
.theme-toggle, .menu-toggle { min-width:44px; min-height:44px; }
.close-dialog, .photo-dialog .close-dialog, .photo-dialog-controls button { min-width:44px; min-height:44px; }
.close-dialog { display:grid; place-items:center; padding:4px; }
summary { min-height:28px; }
main[tabindex="-1"] { scroll-margin-top:12px; }
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 .scenic-layer, .button, .damage-photo img { transition:none; }
 .button:hover, .damage-photo:hover img { transform:none; }
}

/* Stronger small text over translucent light surfaces, without hiding photos. */
@media screen {
 :root:not([data-theme="dark"]) { --muted:#334b59; --blue:#005064; }
 :root:not([data-theme="dark"]) .service > a { color:color-mix(in srgb,var(--card-accent) 72%,#102c3b); }
 :root:not([data-theme="dark"]) .documents .eyebrow,
 :root:not([data-theme="dark"]) .documents .document-note,
 :root:not([data-theme="dark"]) .document-list a > span:last-child { color:#684714; }
 :root:not([data-theme="dark"]) .partner-services .eyebrow { color:#4e396f; }
 :root:not([data-theme="dark"]) .reader-intro p,
 :root:not([data-theme="dark"]) .reader-aside-note { color:#2b4553; }
}
