:root {
    --ink: #203c43;
    --muted: #50676c;
    --navy: #173f49;
    --navy-deep: #102e36;
    --teal: #096b60;
    --teal-dark: #07564e;
    --teal-soft: #e4f1ea;
    --gold: #f2bb87;
    --gold-soft: #fff0df;
    --sky-soft: #e8f0f4;
    --coral-soft: #f7e9e3;
    --violet-soft: #eeedf5;
    --green-soft: #edf2e6;
    --paper: #fffaf4;
    --soft: #f1f5f2;
    --line: #d2dfdb;
    --white: #fff;
    --danger-soft: #fff0df;
    --card-border: rgba(23, 63, 73, .12);
    --page-bg: #faf8f4;
    --surface: #fff;
    --surface-raised: #fbfdfa;
    --surface-translucent: rgba(255, 255, 255, .72);
    --header-bg: rgba(255, 250, 244, .96);
    --heading: var(--navy-deep);
    --link: var(--teal-dark);
    --body-copy: #3e5960;
    --icon-bg: rgba(255, 255, 255, .72);
    --section-guides: #edf4ee;
    --section-regions: #edf2f4;
    --faq-end: #fff8ed;
    --detail-aside-end: #f7fbf7;
    --notice-text: #714422;
    --radius: 18px;
    --shadow: 0 14px 34px rgba(23, 63, 73, .1);
    --shadow-hover: 0 20px 44px rgba(23, 63, 73, .15);
    --container: 1180px;
}

:root[data-theme="dark"] {
    --ink: #e7f0ed;
    --muted: #b7ccc6;
    --teal-soft: #153a35;
    --gold-soft: #3b3026;
    --sky-soft: #1a333c;
    --coral-soft: #3d2c29;
    --violet-soft: #312e3d;
    --green-soft: #293b2d;
    --paper: #102b30;
    --soft: #132e34;
    --line: #48615f;
    --danger-soft: #3b3026;
    --card-border: rgba(202, 225, 233, .16);
    --page-bg: #0c2126;
    --surface: #132e34;
    --surface-raised: #1a353b;
    --surface-translucent: rgba(19, 46, 52, .88);
    --header-bg: rgba(12, 33, 38, .96);
    --heading: #f4f8f5;
    --link: #91d8bf;
    --body-copy: #cbdcd6;
    --icon-bg: rgba(255, 255, 255, .08);
    --section-guides: #112b2d;
    --section-regions: #153034;
    --faq-end: #2c2923;
    --detail-aside-end: #1a3535;
    --notice-text: #f2c89e;
    --shadow: 0 14px 34px rgba(0, 0, 0, .3);
    --shadow-hover: 0 20px 44px rgba(0, 0, 0, .4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--page-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { color: var(--heading); line-height: 1.13; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { margin: .5rem 0 1.1rem; font-size: clamp(2rem, 4.1vw, 3.8rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.65rem); }
h3 { margin: 0 0 .65rem; font-size: 1.18rem; }
p { margin: 0 0 1rem; }

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { max-width: 840px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem;
    color: var(--white); background: var(--navy); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy-deep); }
.phone-section :focus-visible { outline-color: var(--navy-deep); box-shadow: 0 0 0 6px rgba(255, 255, 255, .9); }
.back-to-top { position: fixed; z-index: 20; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--white); background: var(--teal); border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 6px 20px rgba(16, 46, 54, .25); cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.back-to-top:hover { background: var(--teal-dark); transform: translateY(-2px); }

.independence-bar {
    padding: .42rem 1rem; color: #dff7f2; background: var(--navy-deep);
    font-size: .78rem; font-weight: 650; text-align: center; letter-spacing: .015em;
}
.site-header { position: sticky; z-index: 30; top: 0; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.site-header__inner { position: relative; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--heading); text-decoration: none; }
.brand img { flex: 0 0 auto; }
.brand span { display: flex; flex-direction: column; line-height: .86; }
.brand strong { font-size: 1.5rem; font-weight: 850; letter-spacing: -.04em; }
.brand small { margin-top: .35rem; color: var(--link); font-size: .73rem; font-weight: 750; letter-spacing: .1em; }
.brand--footer small { color: #91d8bf; }
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a { padding: .62rem .78rem; color: var(--ink); border-radius: 9px; font-size: .91rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: var(--link); background: var(--teal-soft); }
.header-actions { display: flex; align-items: center; gap: .45rem; }
.theme-toggle, .menu-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; box-shadow: 0 5px 14px rgba(23, 63, 73, .08); }
.theme-toggle { display: none; }
.js-ready .theme-toggle { display: inline-grid; }
.theme-toggle:hover, .menu-toggle:hover { color: var(--link); background: var(--teal-soft); }
.theme-toggle svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__moon { display: none !important; }
:root[data-theme="dark"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block !important; }
.menu-toggle { display: none; }
.menu-toggle__icon { width: 20px; display: grid; gap: 4px; }
.menu-toggle__icon span { width: 100%; height: 2px; display: block; background: currentColor; border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
    position: relative; overflow: hidden; color: var(--white);
    background:
        radial-gradient(circle at 82% 12%, rgba(73, 161, 132, .22), transparent 31rem),
        radial-gradient(circle at 14% 112%, rgba(242, 187, 135, .12), transparent 27rem),
        linear-gradient(105deg, #102e36 0%, #173f49 62%, #245e60 100%);
}
.hero__grid { position: relative; z-index: 1; min-height: 480px; display: flex; align-items: center; padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.hero__content { width: 100%; }
.hero h1 { max-width: 1160px; color: var(--white); text-wrap: balance; }
.hero__title-accent { color: var(--gold); }
.lead { max-width: 1000px; color: #f0f6f2; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.lead-small { color: var(--muted); font-size: 1.15rem; }
.hero .search-box { width: 100%; max-width: 1080px; margin-top: 1.5rem; }
.hero .search-box .button { flex: 0 0 170px; white-space: nowrap; }
.search-box { max-width: 760px; margin-top: 2rem; padding: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: 0 18px 45px rgba(3, 28, 43, .23); }
.search-box label { display: block; margin: 0 0 .5rem .15rem; color: var(--heading); font-size: .82rem; font-weight: 800; }
.search-box__row { display: flex; gap: .65rem; }
.search-box input { width: 100%; min-width: 0; padding: .84rem 1rem; color: var(--ink); background: var(--surface-raised); border: 1px solid #718981; border-radius: 10px; }
.search-box input::placeholder { color: #526b70; }
.search-box--inline { margin-top: 1.75rem; border: 1px solid var(--card-border); box-shadow: 0 10px 28px rgba(23, 63, 73, .08); }
.privacy-note { margin: .7rem 0 0; color: inherit; font-size: .82rem; opacity: .88; }
.page-hero .privacy-note { color: var(--muted); }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .7rem 1.15rem; color: var(--white); background: var(--teal); border: 2px solid var(--teal); border-radius: 10px; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 7px 16px rgba(9, 107, 96, .16); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.button:hover { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(9, 107, 96, .22); }
.button:disabled { color: var(--muted); background: var(--soft); border-color: var(--line); box-shadow: none; transform: none; cursor: default; }
.button--secondary { color: var(--heading); background: transparent; border-color: #718981; }
.button--secondary:hover { color: var(--heading); background: var(--teal-soft); border-color: var(--teal); }
.button--with-icon { gap: .5rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--link); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.ui-icon { flex: 0 0 auto; display: block; }
.icon-heading { display: flex; align-items: center; gap: .55rem; }
.icon-heading > span:last-child { min-width: 0; }
.heading-icon { flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--link); background: var(--icon-bg); border: 1px solid var(--card-border); border-radius: 12px; }
.text-link--icon { gap: .55rem; min-height: 44px; line-height: 1.5; }
.text-link--icon .ui-icon { flex-shrink: 0; }

.section { padding-block: clamp(4rem, 7vw, 4.5rem); }
.section--soft { background: var(--soft); }
.section--guides { background: var(--section-guides); }
.section--regions { background: var(--section-regions); }
.section--notice { color: #dceaf0; background: linear-gradient(125deg, var(--navy-deep), #24515a); }
.section--notice h2 { color: var(--white); }
.notice-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.notice-panel__content { max-width: 790px; }
.notice-panel__content h2 { margin-bottom: .8rem; }
.notice-panel__content p { margin: 0; color: #dceaf0; }
.notice-panel__actions { min-width: 245px; display: grid; gap: .75rem; }
.notice-panel__primary { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.notice-panel__primary:hover { color: var(--navy-deep); background: #f6cba3; border-color: #f6cba3; }
.notice-panel__secondary { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.notice-panel__secondary:hover { color: var(--navy-deep); background: var(--white); border-color: var(--white); }
.section--embedded { padding-block: 3.5rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading p { max-width: 510px; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.guide-card { position: relative; min-height: 240px; display: flex; flex-direction: column; padding: 1.55rem; overflow: hidden; background: var(--teal-soft); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: 0 10px 26px rgba(23, 63, 73, .08); transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:nth-child(2) { background: var(--sky-soft); }
.guide-card:nth-child(3) { background: var(--gold-soft); }
.guide-card:nth-child(4) { background: var(--coral-soft); }
.guide-card:nth-child(5) { background: var(--violet-soft); }
.guide-card:nth-child(6) { background: var(--green-soft); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.guide-card h3 { position: relative; margin: 1rem 0 .6rem; font-size: 1.28rem; line-height: 1.3; }
.guide-card h3 a { color: var(--heading); text-decoration: none; }
.guide-card p { margin: 0 0 1rem; color: var(--muted); font-size: .93rem; }
.guide-card .text-link { margin-top: auto; }

.office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.office-grid--directory { grid-template-columns: 1fr; }
.office-card { display: flex; flex-direction: column; padding: 1.5rem; background: var(--teal-soft); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: 0 9px 24px rgba(23, 63, 73, .08); transition: transform .18s ease, box-shadow .18s ease; }
.office-card:nth-child(3n + 2) { background: var(--sky-soft); }
.office-card:nth-child(3n + 3) { background: var(--gold-soft); }
.office-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.office-card h3 { margin-bottom: 1.15rem; font-size: 1.22rem; }
.office-card h3 a { color: var(--heading); text-decoration: none; }
.office-card p { color: var(--muted); }
.office-card__details { display: grid; gap: .55rem; margin-bottom: 1rem; }
.office-card__detail { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: .8rem; min-height: 46px; margin: 0; font-size: .9rem; }
.office-card__detail-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--link); background: var(--icon-bg); border: 1px solid var(--card-border); border-radius: 10px; box-shadow: 0 5px 14px rgba(23, 63, 73, .06); }
.office-card__detail-icon .ui-icon { flex: 0 0 auto; }
.office-card__detail-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.office-card__detail-copy strong { color: var(--heading); font-size: .91rem; }
.office-card__detail-label { margin-bottom: .05rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .015em; }
.office-card__location { font-size: .86rem; }
.office-card__meta { font-size: .88rem; }
.office-card .text-link { margin-top: auto; padding-top: .9rem; }
.office-card__link { display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start; border-top: 1px solid rgba(23, 63, 73, .1); }
.office-card__link .office-card__arrow { width: 28px; height: 28px; flex-basis: 28px; }
.data-badge { align-self: flex-start; padding: .3rem .55rem; color: var(--link); background: var(--surface-translucent); border-radius: 7px; font-size: .72rem; font-weight: 800; }

.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-block: 1.5rem; }
.contact-list article { padding: 1.15rem; background: var(--sky-soft); border: 1px solid var(--card-border); border-radius: 14px; box-shadow: 0 7px 20px rgba(23, 63, 73, .06); }
.contact-list article:nth-child(even) { background: var(--gold-soft); }
.contact-list p { margin-bottom: .35rem; color: var(--muted); font-size: .88rem; }
.contact-list a, .contact-list span { display: block; margin-top: .25rem; font-weight: 750; }
.source-note { color: var(--muted); font-size: .86rem; }

.phone-section { padding-block: clamp(3rem, 6vw, 5rem); color: var(--navy-deep); background: linear-gradient(120deg, #f7cea5 0%, #f2bb87 62%, #e8aa75 100%); }
.phone-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.phone-feature__content { max-width: 720px; }
.phone-feature h2 { max-width: 700px; margin-top: .5rem; color: var(--navy-deep); }
.phone-feature p { max-width: 680px; color: #3a4647; }
.phone-feature__number { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 4vw, 2.25rem); color: var(--white); background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, .13); border-radius: 20px; box-shadow: 0 18px 40px rgba(16, 46, 54, .25); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.phone-feature__number:hover { color: var(--white); background: var(--navy); transform: translateY(-3px); box-shadow: 0 24px 48px rgba(16, 46, 54, .3); }
.phone-feature__number strong { margin: 0 0 .35rem; color: var(--white); font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.phone-feature__number small { display: inline-flex; align-items: center; gap: .45rem; color: #d9e8ee; font-weight: 750; }
.phone-feature__number small .ui-icon { flex: 0 0 auto; color: var(--gold); }
.official-links { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.3rem; }
.official-links a { color: var(--navy-deep); font-size: .87rem; font-weight: 800; }

.region-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.region-group { padding: 1.25rem; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: 0 9px 24px rgba(23, 63, 73, .07); }
.region-group:nth-child(3n + 1) { background: var(--teal-soft); }
.region-group:nth-child(3n + 2) { background: var(--sky-soft); }
.region-group:nth-child(3n + 3) { background: var(--gold-soft); }
.region-group h3 a { color: var(--heading); text-decoration: none; }
.commune-links, .location-list { display: flex; flex-direction: column; gap: .25rem; }
.commune-links a, .location-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem .55rem; color: var(--ink); border-radius: 8px; text-decoration: none; }
.commune-links a:hover, .location-list a:hover { color: var(--link); background: var(--teal-soft); }
.commune-links span, .location-list span { color: var(--muted); font-size: .82rem; }
.home-region-list { display: grid; gap: 1.25rem; }
.home-region-group { padding: clamp(1.25rem, 3vw, 2rem); background: var(--teal-soft); border: 1px solid var(--card-border); border-radius: 22px; box-shadow: 0 10px 28px rgba(23, 63, 73, .08); scroll-margin-top: 110px; }
.home-region-group:nth-child(3n + 2) { background: var(--sky-soft); }
.home-region-group:nth-child(3n + 3) { background: var(--gold-soft); }
.home-region-group__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.home-region-group__heading h3 { margin: 0; font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.home-region-group__heading h3 a { color: var(--heading); text-decoration: none; }
.home-region-group__link { display: inline-flex; align-items: center; gap: .55rem; }
.home-region-group__link .ui-icon { flex: 0 0 auto; color: var(--link); transition: transform .18s ease; }
.home-region-group__link:hover .ui-icon { transform: translateX(3px); }
.home-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-office-grid .office-card { background: var(--surface-translucent); box-shadow: 0 7px 20px rgba(23, 63, 73, .06); }
.home-office-grid .office-card--compact { padding: 0; overflow: hidden; }
.office-card__compact-link { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; color: var(--heading); text-decoration: none; }
.office-card__compact-link:hover { color: var(--link); }
.office-card__compact-link :is(h3, h4) { margin: 0; color: inherit; font-size: 1rem; line-height: 1.35; }
.office-card--compact .office-card__qualifier { margin: -.25rem 0 0; padding: 0 1.15rem 1rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.office-card__arrow { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; color: var(--link); background: rgba(9, 107, 96, .1); border-radius: 50%; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.office-card__compact-link:hover .office-card__arrow { color: var(--white); background: var(--teal-dark); transform: translateX(2px); }

.page-shell { padding-block: 1.6rem 5rem; }
.breadcrumbs { margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; font-size: .82rem; }
.breadcrumbs::-webkit-scrollbar { display: none; }
.breadcrumbs ol { display: flex; align-items: center; gap: .55rem; min-width: max-content; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li { display: flex; gap: .55rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.page-hero { padding: clamp(2rem, 5vw, 4.6rem); background: radial-gradient(circle at 92% 8%, rgba(9, 107, 96, .1), transparent 22rem), linear-gradient(135deg, var(--sky-soft), var(--teal-soft)); border: 1px solid var(--card-border); border-radius: 26px; box-shadow: var(--shadow); }
.page-hero h1 { max-width: 940px; font-size: clamp(2rem, 4vw, 3.45rem); }
.page-hero > p { max-width: 800px; color: var(--muted); font-size: 1.1rem; }
.page-hero--compact { padding: clamp(2rem, 4vw, 3.5rem); }

.office-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 18%, rgba(9, 107, 96, .34), transparent 31rem),
        linear-gradient(112deg, #0d2931 0%, var(--navy-deep) 54%, #1c484c 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
}
.office-hero__inner { padding-block: 1.35rem clamp(2.8rem, 6vw, 4.8rem); }
.office-hero .breadcrumbs { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.office-hero .breadcrumbs li, .office-hero .breadcrumbs a { color: #bcd2db; }
.office-hero .breadcrumbs a:hover { color: var(--white); }
.office-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, .85fr); align-items: center; gap: clamp(2.25rem, 4.5vw, 4.5rem); }
.office-hero__content h1 { max-width: 780px; margin: 0 0 1.65rem; color: var(--white); font-size: clamp(2.2rem, 3.7vw, 3.6rem); text-wrap: balance; }
.office-hero__title-accent { color: var(--gold); }
.region-hero__content { max-width: 920px; }
.region-hero__content h1 { max-width: 920px; }
.region-hero__content > p { max-width: 800px; margin-bottom: 1.6rem; color: #dceaf0; font-size: clamp(1rem, 1.7vw, 1.15rem); }
.region-hero__button { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.region-hero__button:hover { color: var(--navy-deep); background: #f6cba3; border-color: #f6cba3; }
.office-hero__names { display: grid; gap: .7rem; margin-bottom: 1.45rem; }
.office-hero__fact { display: flex; align-items: flex-start; gap: .8rem; max-width: 760px; margin-top: 1rem; color: #c9dce3; }
.office-hero__names .office-hero__fact { margin-top: 0; }
.office-hero__fact > .ui-icon { margin-top: .18rem; color: #a7c7d1; }
.office-hero__official-name > .ui-icon { color: var(--gold); }
.office-hero__fact-copy { min-width: 0; display: flex; flex-direction: column; color: #c9dce3; font-size: .94rem; font-style: normal; line-height: 1.45; }
.office-hero__fact-copy strong { color: var(--white); font-size: 1.05rem; line-height: 1.35; }
.office-hero__official-name .office-hero__fact-copy strong { color: var(--gold); font-size: clamp(1.15rem, 2vw, 1.38rem); }
.office-hero__label { margin-bottom: .08rem; color: #b8ced7; font-size: .8rem; font-weight: 750; }
.office-hero__branch-link { min-height: 48px; padding: .5rem .65rem; border-radius: 12px; text-decoration: none; transition: background-color .18s ease; }
.office-hero__branch-link:hover { background: rgba(255, 255, 255, .07); }
.office-hero__branch-link:is(:hover, :focus-visible) strong { text-decoration: underline; text-underline-offset: .18em; }
.office-hero__branch-arrow { display: grid; place-items: center; align-self: center; flex: 0 0 32px; width: 32px; height: 32px; margin-left: auto; color: var(--gold); background: rgba(255, 255, 255, .08); border-radius: 50%; }
.office-hero__actions { display: grid; gap: .75rem; padding-left: clamp(1.75rem, 4vw, 3rem); border-left: 1px solid rgba(255, 255, 255, .17); }
.office-action { min-height: 76px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: .85rem; padding: .8rem 1.05rem; color: var(--white); background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: 13px; box-shadow: 0 14px 28px rgba(2, 23, 34, .2); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.office-action:hover { color: var(--white); background: rgba(255, 255, 255, .15); transform: translateY(-2px); box-shadow: 0 18px 34px rgba(2, 23, 34, .28); }
.office-action:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(2, 23, 34, .72); }
.office-action--primary { color: var(--navy-deep); background: var(--gold); border-color: rgba(16, 46, 54, .08); }
.office-action--primary:hover { color: var(--navy-deep); background: #f6cba3; }
.office-action--primary:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 6px var(--navy-deep); }
.office-action--teal { background: var(--teal); border-color: rgba(255, 255, 255, .12); }
.office-action--teal:hover { background: var(--teal-dark); }
.office-action__icon { width: 44px; height: 44px; display: grid; place-items: center; color: #dcebf0; background: rgba(255, 255, 255, .1); border-radius: 10px; }
.office-action--primary .office-action__icon { color: var(--navy-deep); background: rgba(16, 46, 54, .09); }
.office-action__copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.office-action__copy small { color: #deece6; font-size: .73rem; font-weight: 750; }
.office-action__copy strong { margin: .12rem 0; color: inherit; font-size: 1.02rem; }
.office-action--primary .office-action__copy small { color: var(--navy-deep); }
.office-action--teal .office-action__copy small { color: var(--white); }
.office-action__arrow { display: grid; place-items: center; opacity: .8; }
.office-shell--body { padding-top: clamp(2.5rem, 5vw, 4.25rem); }
.directory-shell--body { padding-top: clamp(2.5rem, 5vw, 4.25rem); }
.directory-shell--body .directory-layout { padding-top: 0; }
.office-branches { scroll-margin-top: 112px; }
.office-branches .office-branch:first-child { margin-top: 0; }

.directory-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 2rem; padding-top: 3rem; }
.results-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.3rem; }
.results-heading h2 { margin: 0; font-size: 1.7rem; }
.results-heading span { color: var(--muted); font-size: .85rem; }
.directory-aside { align-self: start; position: sticky; top: 100px; padding: 1.2rem; background: var(--teal-soft); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: 0 9px 24px rgba(23, 63, 73, .07); }
.directory-aside h2 { font-size: 1.2rem; }
.region-index summary { position: relative; padding: .2rem 2rem .75rem 0; color: var(--heading); font-size: 1.15rem; font-weight: 850; cursor: pointer; list-style: none; }
.region-index summary::-webkit-details-marker { display: none; }
.region-index summary::after { content: ""; position: absolute; top: 50%; right: 0; width: 1.75rem; height: 1.75rem; color: var(--link); background: linear-gradient(currentColor, currentColor) center / .65rem 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px .65rem no-repeat, var(--icon-bg); border-radius: 50%; transform: translateY(-50%); }
.region-index[open] summary::after { color: var(--white); background: linear-gradient(currentColor, currentColor) center / .65rem 2px no-repeat, var(--teal); }
.location-list a.is-current { color: var(--white); background: var(--teal-dark); font-weight: 800; }
.location-list a.is-current:hover { color: var(--white); background: var(--navy); }
.empty-state { padding: 3rem 2rem; text-align: center; background: var(--gold-soft); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow); }

.office-detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1rem; margin-top: 1.2rem; }
.office-branch { margin-top: 2.75rem; scroll-margin-top: 112px; }
.office-branch + .office-branch { margin-top: 4rem; padding-top: 3.25rem; border-top: 1px solid var(--line); }
.office-branch > h2 { margin-bottom: 1.2rem; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.detail-card { padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--sky-soft); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(23, 63, 73, .08); }
.detail-card h2 { font-size: 1.65rem; }
.detail-card h3 { margin-top: 0; font-size: 1.35rem; }
.detail-card h4 { margin: 1.25rem 0 .3rem; color: var(--heading); font-size: .9rem; }
.detail-card--hours { background: linear-gradient(155deg, var(--teal-soft), var(--detail-aside-end)); }
.detail-card .icon-heading { margin: 0 0 .65rem; color: var(--heading); font-size: 1.2rem; }
.detail-card .icon-heading .ui-icon { color: var(--link); }
.detail-list { margin: 0; }
.detail-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.detail-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: .83rem; font-weight: 800; }
.detail-list__label--icon { display: flex; align-items: center; gap: .45rem; color: var(--heading); }
.detail-list__label--icon .ui-icon { flex: 0 0 auto; color: var(--link); }
.detail-list dd { margin: 0; font-weight: 650; }
.detail-list__note { display: block; margin-top: .25rem; color: var(--muted); font-size: .85rem; font-weight: 400; line-height: 1.65; }
.contact-link { font-size: 1.12rem; font-weight: 850; }
.contact-link--phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--heading); font-size: 1.3rem; letter-spacing: -.02em; text-decoration-color: var(--gold); }
.office-hours-list { padding: 0; margin: .5rem 0 0; list-style: none; }
.office-hours-list li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: baseline; gap: .75rem; padding: .7rem .65rem; border-bottom: 1px solid var(--line); font-size: .94rem; }
.office-hours-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.office-hours-list strong { color: var(--heading); font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.office-hours-list__day { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.office-hours-list li.office-hours-list__today { padding-block: .7rem; color: var(--heading); background: var(--gold-soft); border-bottom-color: transparent; border-radius: 8px; box-shadow: inset 3px 0 0 var(--gold); }
.office-hours-list__today .office-hours-list__day { font-weight: 750; }
.office-hours-list__badge { padding: .05rem .35rem; color: var(--navy-deep); background: var(--gold); border-radius: 4px; font-size: .7rem; font-weight: 800; }
.office-hours-list__note { grid-column: 1 / -1; }
.missing-data { padding: 1rem; color: var(--muted); background: var(--surface-translucent); border-radius: 11px; }
.official-note { margin-top: 1rem; padding: 1rem 1.2rem; color: var(--notice-text); background: var(--danger-soft); border: 1px solid var(--card-border); border-radius: 12px; }
.office-services { margin-top: 1.2rem; padding: clamp(1.4rem, 4vw, 2.25rem); background: linear-gradient(145deg, var(--green-soft), var(--teal-soft)); border: 1px solid var(--card-border); border-radius: 22px; box-shadow: 0 10px 28px rgba(23, 63, 73, .08); }
.office-services__heading { max-width: 850px; margin-bottom: 1.25rem; }
.office-services__heading :is(h2, h3) { margin: 0 0 .55rem; font-size: clamp(1.55rem, 3vw, 2.05rem); }
.office-services__heading p { margin: 0; color: var(--muted); }
.office-services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
.office-service { min-width: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: .8rem; padding: 1rem; background: var(--surface-translucent); border: 1px solid var(--card-border); border-radius: 14px; }
.office-service__icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; box-shadow: 0 6px 14px rgba(9, 107, 96, .2); }
.office-service strong { display: block; color: var(--heading); line-height: 1.35; }
.office-service small { display: block; margin-top: .25rem; color: var(--muted); font-size: .87rem; line-height: 1.55; }
.office-service__links { display: flex; flex-wrap: wrap; gap: .15rem 1rem; margin-top: .4rem; }
.office-service__links a { display: inline-flex; align-items: center; min-height: 32px; font-size: .85rem; font-weight: 700; }
.office-location { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); gap: 1rem; margin-top: 1.2rem; overflow: hidden; background: var(--surface); border: 1px solid var(--card-border); border-radius: 22px; box-shadow: var(--shadow); scroll-margin-top: 112px; }
.office-location__content { align-self: center; padding: clamp(1.5rem, 4vw, 2.75rem); }
.office-location__content h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.office-location--stacked { display: block; }
.office-location--stacked .office-location__content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.office-location--stacked .office-location__content h3 { margin-bottom: .6rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.office-location--stacked .office-location__content p { margin: 0; }
.office-map { position: relative; min-height: 430px; overflow: hidden; background: #dbe8e0; }
.office-map__frame { width: 100%; height: 100%; min-height: 410px; display: block; border: 0; }
.office-map--static .office-map__frame { min-height: 430px; pointer-events: none; }
.office-map__clickthrough { position: absolute; z-index: 2; inset: 0; display: block; color: inherit; cursor: pointer; text-decoration: none; }
.office-map__clickthrough:focus-visible { outline: 4px solid var(--gold); outline-offset: -4px; }
.office-map__external { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: inline-flex; align-items: center; gap: .35rem; padding: .65rem .85rem; color: var(--navy-deep); background: rgba(255, 255, 255, .96); border: 1px solid var(--card-border); border-radius: 10px; box-shadow: 0 8px 22px rgba(23, 63, 73, .18); font-size: .82rem; font-weight: 850; text-decoration: none; }
.office-map__clickthrough:hover .office-map__external { color: var(--teal-dark); background: var(--white); }
.office-map--missing { display: grid; place-items: center; padding: 2rem; color: var(--muted); }
.before-visit { margin-top: 3.5rem; }
.visit-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.visit-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; align-items: center; gap: .9rem; padding: 1.4rem; background: var(--teal-soft); border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 8px 22px rgba(23, 63, 73, .07); }
.visit-steps li:nth-child(2) { background: var(--sky-soft); }
.visit-steps li:nth-child(3) { background: var(--gold-soft); }
.visit-steps strong { color: var(--heading); line-height: 1.4; }
.visit-step__copy { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.transaction-hub { margin-top: 2rem; padding: clamp(1.5rem, 5vw, 3.5rem); color: var(--white); background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-radius: 26px; box-shadow: 0 22px 48px rgba(16, 46, 54, .2); scroll-margin-top: 112px; }
.transaction-hub h2 { color: var(--white); }
.transaction-hub__heading { max-width: 760px; margin-bottom: 2rem; }
.transaction-hub__heading p { color: #dceaf0; }
.transaction-hub .guide-card { color: var(--ink); }
.privacy-callout { margin: 1.5rem 0 0; padding: 1rem 1.15rem; color: #e9f4f7; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; font-size: .9rem; }

.home-faq-wrap { padding-block: clamp(4rem, 7vw, 6rem); }
.faq-section { margin-top: 3.5rem; padding: clamp(1.25rem, 4vw, 3rem); background: linear-gradient(145deg, var(--gold-soft), var(--faq-end)); border: 1px solid var(--card-border); border-radius: 24px; box-shadow: var(--shadow); scroll-margin-top: 112px; }
.home-faq-wrap .faq-section { margin-top: 0; }
.faq-section__heading { max-width: 760px; margin-bottom: 1.7rem; }
.faq-section__heading .icon-heading { align-items: flex-start; gap: .85rem; line-height: 1.25; }
.faq-section__heading p { color: var(--muted); }
.faq-list { display: grid; gap: .75rem; }
:is(.faq-item, .guide-content details) { margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.guide-content details + details { margin-top: .75rem; }
:is(.faq-item, .guide-content details) > summary { position: relative; display: block; min-height: 64px; padding: 1.1rem 4rem 1.1rem 1.25rem; color: var(--heading); font-size: 1rem; line-height: 1.5; font-weight: 750; cursor: pointer; list-style: none; border-radius: 13px; }
:is(.faq-item, .guide-content details) > summary:hover { background: var(--soft); }
:is(.faq-item, .guide-content details) > summary::-webkit-details-marker { display: none; }
.guide-content details > summary :is(h3, h4) { display: inline; margin: 0; color: inherit; font: inherit; letter-spacing: normal; }
.guide-content details > summary > span:has(i:empty) { display: none; }
:is(.faq-item, .guide-content details) > summary::after { content: ""; position: absolute; top: 50%; right: 1rem; width: 2rem; height: 2rem; color: var(--link); background: linear-gradient(currentColor, currentColor) center / .7rem 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px .7rem no-repeat, var(--teal-soft); border-radius: 50%; transform: translateY(-50%); }
:is(.faq-item, .guide-content details)[open] { border-color: var(--link); }
:is(.faq-item, .guide-content details)[open] > summary::after { color: var(--white); background: linear-gradient(currentColor, currentColor) center / .7rem 2px no-repeat, var(--teal); }
:is(.faq-item__answer, .guide-content details > div) { max-width: 880px; padding: .15rem 1.25rem 1.25rem; color: var(--body-copy); font-size: 1rem; font-weight: 400; line-height: 1.75; }
:is(.faq-item__answer, .guide-content details > div) > :first-child { margin-top: 0; }
:is(.faq-item__answer, .guide-content details > div) > :last-child { margin-bottom: 0; }

.guide-hero { background: radial-gradient(circle at 92% 8%, rgba(242, 187, 135, .2), transparent 20rem), linear-gradient(135deg, var(--sky-soft), var(--teal-soft)); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 2rem; margin-top: 3rem; }
.guide-content { min-width: 0; }
.guide-step { position: relative; padding: 0 0 2.75rem 3.7rem; scroll-margin-top: 112px; }
.guide-step:focus { outline: none; box-shadow: none; }
.guide-step:focus-visible > h2 { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 3px; }
.guide-step::before { content: ""; position: absolute; top: 2.6rem; bottom: .4rem; left: 1.1rem; width: 1px; background: var(--line); }
.guide-step:last-of-type { padding-bottom: 2.25rem; }
.section-index { position: absolute; top: -.15rem; left: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; color: var(--white); background: var(--teal); border-radius: 50%; box-shadow: 0 6px 14px rgba(9, 107, 96, .18); font-size: .76rem; font-weight: 850; }
.guide-content h2 { font-size: 1.8rem; }
.guide-content p, .guide-content li { color: var(--body-copy); }
.check-list { padding: 0; margin: 1.3rem 0; list-style: none; }
.check-list li { position: relative; padding: .58rem 0 .58rem 2rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: .25rem; color: var(--link); font-weight: 900; }
.guide-aside { align-self: start; position: sticky; top: 100px; }
.aside-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; background: var(--sky-soft); border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 8px 22px rgba(23, 63, 73, .07); }
.aside-card + .aside-card { margin-top: .75rem; }
.aside-card + .guide-index { margin-top: 0; }
.aside-card h2 { font-size: 1.1rem; }
.aside-card a { padding: .42rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.aside-card--notice { color: var(--notice-text); background: var(--danger-soft); border-color: var(--card-border); }
.aside-card--notice p { margin: 0; }
.navigation-select { display: none; min-width: 0; }
.navigation-select label { display: block; margin-bottom: .65rem; color: var(--heading); font-weight: 800; }
.navigation-select__row { display: flex; align-items: stretch; gap: .65rem; }
.navigation-select__field { position: relative; flex: 1; min-width: 0; }
.navigation-select select { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .75rem 2.75rem .75rem .9rem; appearance: none; -webkit-appearance: none; color: var(--ink); background: var(--surface); border: 1px solid var(--muted); border-radius: 10px; font-size: 16px; line-height: 1.5; text-overflow: ellipsis; cursor: pointer; }
.navigation-select select:hover { border-color: var(--link); }
.navigation-select__field > .ui-icon { position: absolute; top: 50%; right: .9rem; transform: translateY(-50%); pointer-events: none; color: var(--link); }
.navigation-select .button { flex-shrink: 0; min-height: 48px; }
.navigation-select__preview { margin: .65rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.navigation-select.home-region-navigation { display: block; max-width: 760px; margin-bottom: 1.5rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); }
.official-channel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; padding: clamp(1.75rem, 4vw, 2.5rem); color: #dceaf0; background: linear-gradient(135deg, var(--navy), #205a57); border-radius: 22px; box-shadow: 0 18px 40px rgba(16, 46, 54, .18); }
.official-channel__content { max-width: 720px; }
.official-channel h2 { margin-bottom: .65rem; color: var(--white); font-size: clamp(1.45rem, 2.7vw, 1.9rem); }
.official-channel p { margin: 0; color: #dceaf0; }
.official-channel .button { max-width: 100%; justify-self: start; white-space: normal; text-align: center; }
.sources { margin-top: 1.5rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--green-soft); border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 8px 22px rgba(23, 63, 73, .06); }
.sources h2 { margin-bottom: .8rem; font-size: 1.3rem; }
.sources ul { margin: 0 0 1.1rem; padding-left: 1.25rem; }
.sources li + li { margin-top: .4rem; }
.sources a { display: inline-flex; align-items: flex-start; gap: .35rem; font-weight: 650; }
.sources a .ui-icon { margin-top: .28rem; }
.sources p { margin: 0; color: var(--muted); font-size: .83rem; }
.directory-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(135deg, var(--teal-soft), var(--sky-soft)); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: 0 10px 28px rgba(23, 63, 73, .08); }
.directory-cta div { max-width: 700px; }

.legal-shell { max-width: 820px; padding-block: 2rem 6rem; }
.legal-shell h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.legal-shell h2 { margin-top: 2.5rem; font-size: 1.55rem; }
.error-shell { min-height: 62vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-shell h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); }

.site-footer { padding-top: 4rem; color: #ccdae0; background: var(--navy-deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr .8fr; gap: 2rem; }
.brand--footer { margin-bottom: 1rem; color: var(--white); }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: .01em; }
.site-footer a:not(.brand) { display: block; margin: .42rem 0; color: #ccdae0; font-size: .88rem; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { max-width: 330px; font-size: .88rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.2rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .76rem; }

main, section, article, aside { min-width: 0; }
p, li, dd, a, button { overflow-wrap: break-word; }
a, button, summary { touch-action: manipulation; }
:target { scroll-margin-top: 110px; }

:root[data-theme="dark"] .brand small { color: var(--link); }
:root[data-theme="dark"] .faq-item__answer { color: var(--body-copy); }
:root[data-theme="dark"] .search-box input { border-color: #9aafa9; }
:root[data-theme="dark"] .search-box input::placeholder { color: #b5cac3; }
:root[data-theme="dark"] .search-box .button { color: #fff; -webkit-text-fill-color: #fff; }
:root[data-theme="dark"] .button:not(:disabled):not(.region-hero__button):not(.notice-panel__primary) { border-color: #80b9a5; }
:root[data-theme="dark"] .phone-section,
:root[data-theme="dark"] .phone-section h2,
:root[data-theme="dark"] .phone-section a { color: var(--navy-deep); }
:root[data-theme="dark"] .phone-feature p { color: #3a4647; }
:root[data-theme="dark"] .office-map__external,
:root[data-theme="dark"] .office-map__external:hover { color: var(--navy-deep); background: rgba(255, 255, 255, .96); }
:root[data-theme="dark"] .office-action--primary,
:root[data-theme="dark"] .office-action--primary:hover,
:root[data-theme="dark"] .region-hero__button,
:root[data-theme="dark"] .region-hero__button:hover,
:root[data-theme="dark"] .notice-panel__primary,
:root[data-theme="dark"] .notice-panel__primary:hover { color: var(--navy-deep); }

@media (max-width: 960px) {
    :root:not(.js-ready) .site-header { position: static; }
    .site-header__inner { min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; padding-block: .55rem; }
    .brand { min-width: 0; }
    .main-nav { grid-column: 1 / -1; width: 100%; max-width: none; display: grid; gap: .25rem; padding-bottom: .35rem; }
    .main-nav a { min-height: 44px; display: flex; align-items: center; padding: .55rem .75rem; }
    .js-ready .menu-toggle { display: inline-grid; }
    .js-ready .main-nav { position: absolute; z-index: 4; top: calc(100% + 1px); right: 0; left: 0; display: none; max-height: calc(100vh - 96px); padding: .65rem; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; box-shadow: 0 18px 34px rgba(3, 28, 43, .2); }
    .js-ready .main-nav.is-open { display: grid; }
    .hero__grid { min-height: auto; }
    .guide-grid, .region-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .office-grid.office-grid--directory { grid-template-columns: 1fr; }
    .directory-layout, .guide-layout { grid-template-columns: 1fr; }
    .directory-aside, .guide-aside { position: static; max-height: none; overflow: visible; }
    .directory-aside { order: -1; }
    .guide-aside { order: -1; }
    .navigation-select { display: block; }
    .has-navigation-select > :is(.region-index, .guide-index) { display: none; }
    .has-navigation-select .aside-card--notice { margin-top: .75rem; }
    .office-hero__grid { grid-template-columns: 1fr; }
    .office-hero__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.6rem 0 0; border-top: 1px solid rgba(255, 255, 255, .17); border-left: 0; }
    .office-action--primary { grid-column: 1 / -1; }
    .office-detail-grid, .phone-feature, .office-location { grid-template-columns: 1fr; }
    .office-map, .office-map__frame { min-height: 360px; }
    .office-map--static .office-map__frame { min-height: 360px; }
    .visit-steps { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 2rem), var(--container)); }
    .independence-bar { font-size: .7rem; }
    .site-header__inner { min-height: 66px; padding-block: .5rem; }
    .brand img { width: 36px; height: 36px; }
    .brand strong { font-size: 1.3rem; }
    .main-nav a { font-size: .9rem; }
    .hero__grid { padding-block: 2.5rem; }
    .search-box__row, .section-heading, .directory-cta { align-items: stretch; flex-direction: column; }
    .section-heading { gap: .65rem; margin-bottom: 1.4rem; }
    .section-heading :is(h2, p) { margin: 0; }
    .office-shell--body, .directory-shell--body { padding-top: 2rem; }
    .office-branch + .office-branch { margin-top: 3rem; padding-top: 2.5rem; }
    .detail-card, .office-location__content { padding: 1.25rem; }
    .office-location--stacked .office-location__content { gap: 1.25rem; }
    .office-location--stacked .office-location__content h3 { margin-top: 0; font-size: 1.3rem; line-height: 1.35; }
    .transaction-hub { padding: 1.25rem; border-radius: 20px; }
    .navigation-select__row { flex-direction: column; }
    .navigation-select__field { flex: auto; }
    .guide-layout { gap: 2rem; margin-top: 2rem; }
    .notice-panel { grid-template-columns: 1fr; }
    .notice-panel__actions { width: 100%; min-width: 0; }
    .hero .search-box .button { flex-basis: auto; }
    .guide-grid, .office-grid, .office-grid--directory, .region-groups, .contact-list { grid-template-columns: 1fr; }
    .page-hero { padding: 1.4rem; border-radius: 18px; }
    .office-hero__inner { padding-block: 1rem 2.8rem; }
    .office-hero .breadcrumbs { margin-bottom: 2rem; }
    .office-hero__content h1 { margin-bottom: 1.35rem; font-size: clamp(2rem, 9.5vw, 2.75rem); }
    .office-hero__actions { grid-template-columns: 1fr; }
    .office-action--primary { grid-column: auto; }
    .office-action { min-height: 74px; }
    .detail-list > div { grid-template-columns: 1fr; gap: .2rem; }
    .office-services__grid { grid-template-columns: 1fr; }
    .phone-feature__number strong { font-size: clamp(2rem, 10vw, 3rem); }
    .office-map, .office-map__frame { min-height: 300px; }
    .office-map--static .office-map__frame { min-height: 300px; }
    .office-location--stacked .office-location__content, .home-region-group__heading { align-items: stretch; flex-direction: column; }
    .office-map__external { top: .75rem; right: .75rem; left: .75rem; justify-content: center; }
    .guide-step { padding: 0 0 2rem; }
    .guide-step::before { display: none; }
    .section-index { position: static; margin-bottom: .9rem; }
    .guide-content h2 { font-size: 1.5rem; line-height: 1.3; }
    .guide-content :is(ul, ol) { padding-left: 1.4rem; }
    .guide-content .check-list { padding-left: 0; }
    .faq-section__heading .icon-heading { display: block; font-size: 1.55rem; }
    .faq-section__heading .heading-icon { display: grid; margin-bottom: .8rem; }
    :is(.faq-item, .guide-content details) > summary { padding: 1rem 3.4rem 1rem 1rem; }
    :is(.faq-item, .guide-content details) > summary::after { right: .75rem; width: 1.75rem; height: 1.75rem; }
    :is(.faq-item__answer, .guide-content details > div) { padding: 0 1rem 1rem; }
    .official-channel .button { width: 100%; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; }
}

@media (max-width: 390px) {
    .brand { gap: .5rem; }
    .brand img { width: 34px; height: 34px; }
    .brand strong { font-size: 1.2rem; }
    .brand small { font-size: .66rem; }
    .header-actions { gap: .3rem; }
    .theme-toggle, .menu-toggle { width: 44px; height: 44px; }
    .hero h1 { font-size: clamp(2rem, 11vw, 2.75rem); }
    .section { padding-block: 3.4rem; }
    .office-card, .guide-card, .detail-card { padding: 1.2rem; }
    .phone-feature__number { padding-inline: 1.25rem; }
    .phone-feature__number strong { font-size: clamp(1.85rem, 10vw, 2.4rem); }
    .faq-section { padding: 1rem; }
    .section-index { width: 2rem; height: 2rem; }
}

@media (forced-colors: active) {
    .theme-toggle, .menu-toggle, .button, .office-action, .office-card, .guide-card, .back-to-top { border: 1px solid ButtonText; }
    .menu-toggle__icon span { background: ButtonText; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Fonasa tools and preserved guide assets use the existing palette and components. */
[hidden] { display: none !important; }
.ad-banner { box-sizing: border-box; width: 100%; max-width: 970px; min-width: 0; margin: 2rem auto 2.5rem auto; padding: .85rem 0 1rem; border-block: 1px solid var(--line); text-align: center; grid-column: 1 / -1; }
/* The section supplies the leading space when its first element is an ad. */
.section:has(> .container > .ad-banner:first-child:not([hidden])),
.page-shell:has(> .ad-banner:first-child:not([hidden])) { padding-top: clamp(1.5rem, 3vw, 2rem); }
.page-home .section:has(> .container > .ad-banner:first-child:not([hidden])) { padding-top: clamp(2rem, 3.5vw, 2.5rem); }
.page-home .section > .container > .ad-banner:first-child { margin-bottom: 2rem; }
:is(.container, .guide-content) > .ad-banner:first-child { margin-top: 0; }
.ad-banner:not([hidden]) + :is(.transaction-hub, .faq-section) { margin-top: 0; }
.ad-banner:not([hidden]) + .section--embedded { padding-top: 0; }
.ad-banner__label { display: block; margin-bottom: .65rem; color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: .04em; }
.ad-banner[data-ad-empty="true"] { border-color: transparent; }
.ad-banner[data-ad-empty="true"] .ad-banner__label { visibility: hidden; }
@media print { .ad-banner { display: none !important; } }
.tariff-search .search-box { max-width: none; margin-top: 1.5rem; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.tariff-search .search-box label { margin-left: 0; font-size: .94rem; }
.tariff-search .search-box__row { align-items: stretch; flex-direction: row; }
.tariff-search .search-box input { min-height: 54px; font-size: 1rem; }
.tariff-search .search-box .button { flex: 0 0 160px; min-height: 54px; white-space: nowrap; }
.tariff-search__hint { margin: .5rem 0 0; color: var(--muted); font-size: .85rem; }
.tariff-search__examples { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .85rem; }
.tariff-search__examples > span { margin-right: .25rem; color: var(--muted); }
.tariff-search__examples button { min-height: 44px; padding: .5rem .85rem; color: var(--link); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; cursor: pointer; }
.tariff-search__examples button:hover { background: var(--teal-soft); border-color: var(--link); }
.tariff-search__help { margin-top: 1rem; color: var(--body-copy); font-size: .9rem; }
.tariff-search__help summary { min-height: 44px; padding-block: .6rem; color: var(--link); font-weight: 700; cursor: pointer; }
.tariff-search__help p { max-width: 85ch; margin: .25rem 0 1rem; }
.tariff-search__feedback { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.tariff-search__feedback [role="status"] { flex: 1 1 240px; margin: .75rem 0; }
.tariff-search__feedback [role="status"]:empty { margin: 0; flex-basis: 0; }
.tariff-search__clear { min-height: 44px; margin-left: auto; padding: .5rem 0; color: var(--link); background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.tariff-search__footer { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.tariff-search__footer .source-note { flex: 1 1 480px; margin: 0; }
.tariff-search__footer .text-link { min-height: 44px; font-size: .9rem; }
.tariff-results { display: grid; gap: 1rem; margin-top: .75rem; }
.tariff-results:empty { margin-top: 0; }
.tariff-card { min-width: 0; padding: 1.5rem; background: var(--surface); box-shadow: none; }
.tariff-card__code { display: inline-block; margin: 0 0 .65rem; padding: .2rem .6rem; color: var(--link); background: var(--teal-soft); border-radius: 6px; font-size: .85rem; font-weight: 800; }
.tariff-card h4 { margin: 0 0 1.1rem; font-size: 1.05rem; line-height: 1.5; overflow-wrap: anywhere; }
.tariff-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.tariff-price { min-width: 0; padding: 1rem; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.tariff-price__level { margin: 0 0 .6rem; color: var(--heading); font-weight: 800; }
.tariff-price dl, .tariff-price dd { margin: 0; }
.tariff-price__copay dt { color: var(--body-copy); font-size: .85rem; }
.tariff-price__copay dd { margin: .1rem 0 .65rem; color: var(--link); font-size: clamp(1.2rem, 2.3vw, 1.6rem); font-weight: 800; line-height: 1.3; }
.tariff-price__total { display: flex; flex-wrap: wrap; gap: .15rem .5rem; justify-content: space-between; padding-top: .6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.tariff-card__extra { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
.tariff-card__extra p { margin: .3rem 0 0; }
@media (max-width: 680px) {
    .tariff-search .search-box__row { flex-direction: column; }
    .tariff-search .search-box .button { flex-basis: auto; }
    .tariff-prices { grid-template-columns: 1fr; }
    .tariff-price { padding: .85rem; }
    .tariff-price__level { margin-bottom: .4rem; }
    .tariff-price__copay { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .5rem; }
    .tariff-price__copay dd { margin: 0 0 .5rem; }
    .tariff-search__footer { align-items: stretch; }
}
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table-scroll caption { padding: .75rem; text-align: left; color: var(--muted); }
.table-scroll th, .table-scroll td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table-scroll thead { background: var(--soft); }
.table-scroll td { white-space: nowrap; }
.guide-content img { width: auto; height: auto; max-width: 100%; border-radius: 12px; margin: 1rem auto; }
.guide-content figure { margin: 1.5rem 0; }
.guide-content table { width: 100%; border-collapse: collapse; }
.guide-content th, .guide-content td { padding: .75rem; border: 1px solid var(--line); }
.guide-content h3, .guide-content h4 { margin-top: 1.5rem; }
.guide-content a, .legal-shell a { overflow-wrap: anywhere; }
.guide-step:empty { display: none; }
@media (max-width: 600px) {
    .table-scroll th, .table-scroll td { padding: .65rem; }
    .tariff-card { padding: 1rem; }
    .table-scroll table { font-size: .85rem; }
}
