:root {
    --ink: #173042;
    --muted: #5a6d79;
    --navy: #123b56;
    --navy-deep: #0a2a3d;
    --teal: #2456a6;
    --teal-dark: #173f82;
    --teal-soft: #eaf1ff;
    --gold: #f3b84a;
    --gold-soft: #fff3d8;
    --sky-soft: #eaf3f8;
    --coral-soft: #f9ece7;
    --violet-soft: #f1edf8;
    --green-soft: #edf4e9;
    --paper: #ffffff;
    --soft: #f3f7f7;
    --line: #d8e2e4;
    --white: #fff;
    --danger-soft: #fff4e5;
    --card-border: rgba(18, 59, 86, .12);
    --page-bg: #f7f9fc;
    --surface: #fff;
    --surface-raised: #fbfdfc;
    --surface-translucent: rgba(255, 255, 255, .72);
    --header-bg: rgba(255, 253, 249, .96);
    --heading: var(--navy-deep);
    --link: var(--teal-dark);
    --body-copy: #405866;
    --icon-bg: rgba(255, 255, 255, .72);
    --section-guides: #eef3fb;
    --section-regions: #edf3f5;
    --faq-end: #fffaf0;
    --detail-contact-end: #f8fcfb;
    --notice-text: #684c11;
    --radius: 18px;
    --shadow: 0 14px 34px rgba(18, 59, 86, .1);
    --shadow-hover: 0 20px 44px rgba(18, 59, 86, .15);
    --container: 1180px;
}

:root[data-theme="dark"] {
    --ink: #e5eef2;
    --muted: #afc0c8;
    --teal-soft: #12383a;
    --gold-soft: #3b321f;
    --sky-soft: #142f3e;
    --coral-soft: #392a28;
    --violet-soft: #302b3d;
    --green-soft: #27362a;
    --paper: #0d2531;
    --soft: #102832;
    --line: #34515d;
    --danger-soft: #3b301f;
    --card-border: rgba(202, 225, 233, .16);
    --page-bg: #081d27;
    --surface: #102832;
    --surface-raised: #142f3a;
    --surface-translucent: rgba(16, 40, 50, .88);
    --header-bg: rgba(8, 29, 39, .96);
    --heading: #f4f8fa;
    --link: #a9c8ff;
    --body-copy: #c5d4da;
    --icon-bg: rgba(255, 255, 255, .08);
    --section-guides: #0d252f;
    --section-regions: #102934;
    --faq-end: #28271f;
    --detail-contact-end: #142e32;
    --notice-text: #f1d697;
    --shadow: 0 14px 34px rgba(0, 0, 0, .3);
    --shadow-hover: 0 20px 44px rgba(0, 0, 0, .4);
}

.contact-form { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact-field { display: grid; gap: .4rem; min-width: 0; }
.contact-field label { font-weight: 700; }
.contact-field label span { font-weight: 400; color: var(--muted); }
.contact-field input, .contact-field textarea {
    width: 100%; min-width: 0; padding: .8rem 1rem; border: 1px solid var(--line);
    border-radius: 10px; background: var(--surface-raised); color: var(--ink); font: inherit;
}
.contact-field textarea { resize: vertical; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible {
    outline: 3px solid var(--link); outline-offset: 2px;
}
.contact-field [aria-invalid="true"] { border: 2px solid var(--notice-text); }
.contact-field .privacy-note, .contact-field-error { margin: 0; }
.contact-field-error { color: var(--notice-text); font-weight: 600; }
.contact-form .button { justify-self: start; }
.contact-notice { padding: 1rem; border-radius: 10px; background: var(--green-soft); }
.contact-notice--error { background: var(--danger-soft); color: var(--notice-text); }
.contact-notice p { margin: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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 { 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); }

.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.25rem; letter-spacing: .045em; }
.brand small { margin-top: .25rem; color: var(--muted); font-size: .76rem; font-weight: 500; letter-spacing: .025em; }
.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); }
.nav-dropdown { position: relative; }
.nav-dropdown__toggle { display: flex; align-items: center; gap: .45rem; min-height: 44px; padding: .62rem .78rem; color: var(--ink); border-radius: 9px; font-size: .91rem; font-weight: 700; cursor: pointer; list-style: none; }
.nav-dropdown__toggle::-webkit-details-marker { display: none; }
.nav-dropdown__toggle:hover, .nav-dropdown[open] > .nav-dropdown__toggle { color: var(--link); background: var(--teal-soft); }
.nav-dropdown__toggle .ui-icon { transform: rotate(90deg); }
.nav-dropdown[open] > .nav-dropdown__toggle .ui-icon { transform: rotate(-90deg); }
.nav-dropdown__links { position: absolute; z-index: 5; top: calc(100% + .4rem); right: 0; width: 18rem; max-width: calc(100vw - 2rem); margin: 0; padding: .5rem; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.nav-dropdown__links li { margin: 0; }
.main-nav .nav-dropdown__links a { display: flex; align-items: center; min-height: 44px; padding: .7rem .85rem; font-weight: 500; line-height: 1.45; }
.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(18, 59, 86, .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(33, 170, 157, .22), transparent 31rem),
        radial-gradient(circle at 14% 112%, rgba(243, 184, 74, .12), transparent 27rem),
        linear-gradient(105deg, #0a2a3d 0%, #123b56 62%, #0b5d63 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: #e2eef3; 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 #9fadb3; border-radius: 10px; }
.search-box input::placeholder { color: #71848e; }
.search-box--inline { margin-top: 1.75rem; border: 1px solid var(--card-border); box-shadow: 0 10px 28px rgba(18, 59, 86, .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(8, 127, 120, .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(8, 127, 120, .22); }
.button--secondary { color: var(--heading); background: transparent; border-color: #9fb4bd; }
.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; }

.section { padding-block: clamp(4rem, 7vw, 6.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), #174f69); }
.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: #f7c45e; border-color: #f7c45e; }
.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(18, 59, 86, .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; font-size: 1.28rem; }
.guide-card h3 a { color: var(--heading); text-decoration: none; }
.guide-card p { 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(18, 59, 86, .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(18, 59, 86, .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(18, 59, 86, .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(18, 59, 86, .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, #f8c75d 0%, #efb443 62%, #e5a932 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: #3f4c54; }
.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(10, 42, 61, .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(10, 42, 61, .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(18, 59, 86, .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; }
.region-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1.25rem; }
.region-results { margin: 0; color: var(--muted); font-size: .9rem; }
.region-controls__buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.region-controls__buttons .button { min-height: 44px; padding: .55rem .8rem; font-size: .82rem; }
.home-region-list { display: grid; gap: .75rem; }
.home-region-group { background: var(--teal-soft); border: 1px solid var(--card-border); border-radius: 16px; 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__summary { padding: 1rem clamp(1rem, 3vw, 1.5rem); cursor: pointer; list-style: none; border-radius: 16px; }
.home-region-group__summary::-webkit-details-marker { display: none; }
.home-region-group__summary:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.home-region-group__summary:focus-visible { outline: 2px solid var(--link); outline-offset: -5px; box-shadow: none; }
.home-region-group__summary:hover .home-region-group__name { color: var(--link); }
.home-region-group__heading { display: flex; align-items: center; gap: .85rem; margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.home-region-group__heading > .ui-icon { color: var(--link); }
.home-region-group__copy { flex: 1; min-width: 0; }
.home-region-group__name { display: block; line-height: 1.35; }
.home-region-group__copy small { display: block; margin-top: .2rem; color: var(--muted); font-size: .8rem; font-weight: 500; }
.home-region-group__chevron { flex: 0 0 auto; color: var(--link); transform: rotate(90deg); }
.home-region-group[open] > summary .home-region-group__chevron { transform: rotate(-90deg); }
.home-region-group__body { padding: 0 clamp(1rem, 3vw, 1.5rem) 1.5rem; }
.home-region-group__footer { display: flex; justify-content: flex-end; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--card-border); }
.home-region-group__link { display: inline-flex; align-items: center; justify-content: space-between; gap: .85rem; min-height: 44px; max-width: 100%; padding: .65rem .9rem; color: var(--link); background: var(--surface-translucent); border: 1px solid var(--card-border); border-radius: 10px; font-size: .88rem; font-weight: 600; line-height: 1.45; text-decoration: none; }
.home-region-group__link:hover { background: var(--surface); border-color: var(--link); text-decoration: none; }
.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(18, 59, 86, .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 h4 { margin: 0; color: inherit; font-size: 1rem; line-height: 1.35; }
.office-card__arrow { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; color: var(--link); background: rgba(8, 127, 120, .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(8, 127, 120, .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(8, 127, 120, .34), transparent 31rem),
        linear-gradient(112deg, #082635 0%, var(--navy-deep) 54%, #123e49 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: #f7c45e; border-color: #f7c45e; }
.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__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(10, 42, 61, .08); }
.office-action--primary:hover { color: var(--navy-deep); background: #f7c45e; }
.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(10, 42, 61, .09); }
.office-action__copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.office-action__copy small { color: #bcd2db; 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(18, 59, 86, .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: 1.15fr .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(18, 59, 86, .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--contact { background: linear-gradient(155deg, var(--teal-soft), var(--detail-contact-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 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.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; }
.office-note--icon { display: flex; align-items: flex-start; gap: .6rem; }
.office-note--icon > .ui-icon { margin-top: .2em; }
.office-text-link { display: inline-flex; align-items: center; gap: .5rem; padding-block: .65rem; }
.office-location .icon-heading > .ui-icon { color: var(--link); }
.contact-link { font-size: 1.12rem; font-weight: 850; }
.contact-link--phone { color: var(--heading); font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.035em; text-decoration-color: var(--gold); }
.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(18, 59, 86, .08); }
.office-services__heading { max-width: 850px; margin-bottom: 1.25rem; }
.office-services__heading h2 { margin-bottom: .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(8, 127, 120, .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-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: #d9e7e9; }
.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(18, 59, 86, .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 { counter-reset: visit-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.visit-steps li { counter-increment: visit-step; position: relative; min-height: 155px; display: flex; flex-direction: column; gap: .55rem; padding: 1.4rem 1.25rem 1.4rem 4rem; background: var(--teal-soft); border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 8px 22px rgba(18, 59, 86, .07); }
.visit-steps li:nth-child(2) { background: var(--sky-soft); }
.visit-steps li:nth-child(3) { background: var(--gold-soft); }
.visit-steps li::before { content: "0" counter(visit-step); position: absolute; top: 1.25rem; left: 1.15rem; width: 2rem; height: 2rem; display: grid; place-items: center; color: var(--white); background: var(--teal-dark); border-radius: 50%; font-size: .72rem; font-weight: 850; box-shadow: 0 5px 12px rgba(8, 100, 95, .2); }
.visit-steps span { color: var(--muted); font-size: .9rem; }
.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(10, 42, 61, .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(2rem, 5vw, 3.5rem); background: linear-gradient(145deg, var(--gold-soft), var(--faq-end)); border: 1px solid var(--card-border); border-radius: 24px; box-shadow: var(--shadow); }
.home-faq-wrap .faq-section { margin-top: 0; }
.faq-section__heading { max-width: 760px; margin-bottom: 1.7rem; }
.faq-section__heading p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 1.15rem 3rem 1.15rem .15rem; color: var(--heading); font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; top: 50%; right: .15rem; 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(--icon-bg); border-radius: 50%; transform: translateY(-50%); }
.faq-item[open] summary::after { color: var(--white); background: linear-gradient(currentColor, currentColor) center / .7rem 2px no-repeat, var(--teal); }
.faq-item__answer { max-width: 880px; padding: .1rem 3rem 1.25rem .15rem; color: #405866; font-size: .98rem; font-weight: 450; line-height: 1.72; }
.faq-item__answer p { margin: 0; }

.guide-hero { background: radial-gradient(circle at 92% 8%, rgba(243, 184, 74, .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; }
.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(8, 127, 120, .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(18, 59, 86, .07); }
.aside-card + .aside-card { margin-top: .75rem; }
.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; }
.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), #0d5962); border-radius: 22px; box-shadow: 0 18px 40px rgba(10, 42, 61, .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(18, 59, 86, .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(18, 59, 86, .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); }
.brand--footer small { color: #b9cef2; }
.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: #6e8792; }
:root[data-theme="dark"] .search-box input::placeholder { color: #a7b8c0; }
:root[data-theme="dark"] .search-box .button { color: #fff; -webkit-text-fill-color: #fff; }
: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: #3f4c54; }
: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) {
    .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; }
    .nav-dropdown__toggle { width: 100%; justify-content: space-between; padding: .55rem .75rem; }
    .nav-dropdown__links { position: static; width: auto; max-width: none; margin: .25rem .4rem .5rem; padding: .25rem; background: var(--soft); box-shadow: none; }
    .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; }
    .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) {
    .home-region-group__link { width: 100%; }
    .container { width: min(calc(100% - 1.25rem), 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.08rem; }
    .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; }
    .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 { align-items: stretch; flex-direction: column; }
    .office-map__external { top: .75rem; right: .75rem; left: .75rem; justify-content: center; }
    .guide-step { padding-left: 3rem; }
    .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: 1rem; }
    .brand small { font-size: .7rem; }
    .header-actions { gap: .3rem; }
    .theme-toggle, .menu-toggle { width: 42px; height: 42px; }
    .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: 1.35rem; }
    .guide-step { padding-left: 2.7rem; }
    .guide-step::before { left: 1rem; }
    .section-index { width: 2rem; height: 2rem; }
}

@media (forced-colors: active) {
    .theme-toggle, .menu-toggle, .button, .office-action, .office-card, .guide-card { 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; }
}

/* Registro Civil: shared components and readable weekly office hours. */
.brand strong { font-size: 1.2rem; letter-spacing: -.03em; }
.brand span { line-height: 1.08; }
.phone-caption { display:block; color:var(--muted); font-size:.875rem; }
.weekly-hours { margin:0; }
.weekly-hours > div { display:flex; justify-content:space-between; gap:1rem; padding:.6rem .7rem; border-bottom:1px solid var(--line); }
.weekly-hours dt,.weekly-hours dd { margin:0; }
.weekly-hours dd { text-align:right; }
.weekly-hours .is-today { background:var(--teal-soft); border-radius:8px; font-weight:700; }
.today-label { font-size:.875rem; color:var(--link); margin-left:.35rem; }
.region-jump { max-width:760px; margin-bottom:2rem; }
.region-jump label { display:block; margin-bottom:.5rem; font-weight:650; }
select { min-width:0; max-width:100%; padding:.9rem; font:inherit; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.region-jump select { flex:1; }
.back-to-top { position:fixed; bottom:1.2rem; right:1.2rem; z-index:40; width:48px; height:48px; border:1px solid var(--line); border-radius:50%; background:var(--navy); color:white; font-size:1.6rem; cursor:pointer; box-shadow:var(--shadow); }
[hidden] { display:none !important; }
.ad-banner { margin:1.5rem 0; padding:1rem 0; border-block:1px solid var(--line); text-align:center; width:100%; max-width:100%; }
.ad-banner__label { display:block; margin-bottom:.7rem; color:var(--muted); font-size:.75rem; letter-spacing:.04em; }
.adsbygoogle { display:block; width:100%; }
.ad-banner--empty .ad-banner__label { visibility:hidden; }
.section > .container > .ad-banner:first-child { margin-top:0; }
.page-home .ad-banner { margin-block:2rem; }
.has-ads.page-home .section--guides,.has-ads.page-home .section--regions { padding-top:clamp(2rem,3vw,2.5rem); }
.has-ads .office-shell--body,.has-ads .directory-shell--body { padding-top:2rem; }
.has-ads .office-shell--body > .ad-banner:first-child,.has-ads .directory-shell--body > .ad-banner:first-child { margin-top:0; }
.has-ads .transaction-hub { padding-top:2rem; }
.office-hero__official-name { text-decoration:none; }
.office-map__frame { pointer-events:auto; }
.home-region-group,.office-branch,.office-location { scroll-margin-top:110px; }
@media(max-width:540px) { .region-jump .search-box__row { flex-direction:column; } .weekly-hours > div { gap:.5rem; padding:.6rem .4rem; } .brand strong { font-size:1.08rem; } }
