:root {
    --page-bg: #eceae4;
    --page-bg-deep: #ddd5c7;
    --header-bg: #26231f;
    --header-border: #38312a;
    --display-font: Georgia, "Times New Roman", serif;
    --text-light: #ffffff;
    --muted-light: #ddd6ca;
    --accent: #e48a32;
    --accent-deep: #9f5616;
    --accent-soft: rgba(228, 138, 50, 0.14);
    --ink: #221b15;
    --ink-muted: #64594d;
    --surface: rgba(255, 250, 244, 0.88);
    --surface-strong: #fffaf3;
    --surface-dark: #2b241f;
    --surface-border: rgba(78, 56, 31, 0.14);
    --shadow-soft: 0 22px 52px rgba(34, 24, 16, 0.12);
    --shadow-strong: 0 24px 60px rgba(42, 28, 17, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100svh;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(228, 138, 50, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(76, 56, 34, 0.12), transparent 24%),
        linear-gradient(180deg, #f7f1e7 0%, var(--page-bg) 48%, var(--page-bg-deep) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

img {
    max-width: 100%;
    display: block;
}

.page-shell {
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

main {
    display: block;
    padding: 30px 0 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 10px 22px;
    background: var(--header-bg);
    border: 1px solid var(--header-border);
    color: var(--text-light);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-copy {
    min-width: 0;
}

.brand-title,
.brand-tagline {
    margin: 0;
}

.brand-title {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
}

.brand-accent {
    color: var(--accent);
}

.brand-tagline {
    margin-top: 3px;
    max-width: 240px;
    color: var(--muted-light);
    font-size: 0.64rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    min-width: 0;
}

.site-nav a {
    color: var(--text-light);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-nav a:hover {
    color: var(--accent);
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    padding: 6px 14px;
    background: #f8f5f0;
    border-radius: 999px;
}

.search-icon {
    width: 12px;
    height: 12px;
    border: 2px solid #b6ad9f;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.search-icon::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 7px;
    height: 2px;
    background: #b6ad9f;
    border-radius: 999px;
    transform: rotate(45deg);
    transform-origin: center;
}

.search-form input {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #928978;
    font: inherit;
    outline: none;
}

.search-form input::placeholder {
    color: #928978;
}

.menu-button {
    display: grid;
    align-content: space-between;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 40px;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--text-light);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    margin-top: 8px;
    background: rgba(23, 23, 23, 0.96);
    border: 1px solid rgba(228, 138, 50, 0.3);
    border-radius: 14px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 1000;
}

.dropdown-content.active {
    display: flex;
    flex-direction: column;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid rgba(228, 138, 50, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(228, 138, 50, 0.16);
    color: var(--accent);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.location-hero,
.location-overview,
.map-experience {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.location-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: 24px;
    align-items: stretch;
}

.location-hero-copy,
.location-hero-panel,
.overview-card,
.map-info,
.map-card {
    animation: rise-up 0.7s ease both;
}

.location-hero-copy,
.location-hero-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.location-hero-copy {
    padding: clamp(28px, 4vw, 44px);
    background:
        linear-gradient(145deg, rgba(255, 250, 243, 0.96), rgba(246, 237, 225, 0.92)),
        linear-gradient(180deg, transparent, rgba(228, 138, 50, 0.06));
}

.location-hero-copy::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 138, 50, 0.2), transparent 68%);
    pointer-events: none;
}

.location-hero-copy h1 {
    font-family: var(--display-font);
    max-width: 12ch;
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-lead {
    max-width: 58ch;
    margin-bottom: 26px;
    color: var(--ink-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button-primary {
    background: linear-gradient(135deg, var(--accent), #f0a24f);
    color: #fffaf5;
    box-shadow: 0 14px 24px rgba(159, 86, 22, 0.22);
}

.hero-button-primary:hover {
    box-shadow: 0 18px 30px rgba(159, 86, 22, 0.28);
}

.hero-button-secondary {
    border: 1px solid rgba(107, 74, 37, 0.18);
    background: rgba(255, 255, 255, 0.64);
    color: var(--ink);
}

.hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.92);
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-stat {
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(110, 79, 45, 0.12);
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(8px);
}

.hero-stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.25;
}

.hero-stat span {
    display: block;
    color: var(--ink-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.location-hero-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(43, 36, 31, 0.98), rgba(27, 23, 19, 0.96)),
        radial-gradient(circle at top right, rgba(228, 138, 50, 0.24), transparent 32%);
    color: #f8f0e5;
}

.hero-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.hero-panel-header .section-kicker {
    color: #f0bb82;
}

.hero-panel-header .section-kicker::before {
    opacity: 0.45;
}

.hero-panel-header h2 {
    font-family: var(--display-font);
    margin-bottom: 0;
    font-size: 1.55rem;
    line-height: 1.1;
}

.hero-panel-badge {
    flex-shrink: 0;
    padding: 8px 12px;
    border: 1px solid rgba(240, 187, 130, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f5d7b0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-checklist {
    display: grid;
    gap: 16px;
}

.hero-check-item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-check-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(228, 138, 50, 0.18);
    border: 1px solid rgba(228, 138, 50, 0.36);
}

.hero-check-icon::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-check-item h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #fff4e6;
}

.hero-check-item p,
.hero-panel-note p {
    margin-bottom: 0;
    color: rgba(248, 240, 229, 0.8);
    font-size: 0.94rem;
    line-height: 1.65;
}

.hero-panel-note {
    margin-top: auto;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(228, 138, 50, 0.16), rgba(228, 138, 50, 0.06));
    border: 1px solid rgba(228, 138, 50, 0.2);
}

.location-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.overview-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(110, 79, 45, 0.12);
    background: rgba(255, 251, 246, 0.74);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.overview-label {
    margin-bottom: 10px;
    color: var(--accent-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.overview-card h2 {
    font-family: var(--display-font);
    margin-bottom: 12px;
    font-size: 1.38rem;
    line-height: 1.25;
}

.overview-card p:last-child {
    margin-bottom: 0;
    color: var(--ink-muted);
    line-height: 1.68;
}

.map-experience {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: 22px;
    margin-top: 24px;
    margin-bottom: 54px;
    align-items: stretch;
}

.map-info,
.map-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(43, 36, 31, 0.98), rgba(32, 27, 23, 0.98)),
        radial-gradient(circle at top left, rgba(228, 138, 50, 0.18), transparent 30%);
    color: #f5eee6;
}

.map-info-copy h2 {
    font-family: var(--display-font);
    margin-bottom: 12px;
    font-size: 1.7rem;
    line-height: 1.14;
}

.map-info .section-kicker {
    color: #f0bb82;
}

.map-info .section-kicker::before {
    opacity: 0.45;
}

.map-info-lead {
    margin-bottom: 0;
    color: rgba(245, 238, 230, 0.82);
    line-height: 1.72;
}

.map-figure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.map-figure {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-figure img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.28s ease, filter 0.28s ease;
    cursor: pointer;
}

.map-figure:hover img {
    transform: scale(1.05);
    filter: saturate(1.05);
}

.map-figure figcaption {
    padding: 12px 14px 14px;
    color: rgba(245, 238, 230, 0.86);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

.map-detail-list {
    display: grid;
    gap: 12px;
}

.map-detail-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-detail-label {
    display: block;
    margin-bottom: 8px;
    color: #f0bb82;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.map-detail-card strong {
    display: block;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #fff4e6;
}

.map-card {
    padding: clamp(20px, 3vw, 30px);
    background:
        linear-gradient(180deg, rgba(255, 251, 246, 0.92), rgba(244, 235, 224, 0.9)),
        linear-gradient(145deg, rgba(228, 138, 50, 0.08), transparent 36%);
}

.map-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.map-card-header h2 {
    font-family: var(--display-font);
    margin-bottom: 0;
    font-size: 1.8rem;
    line-height: 1.1;
}

.map-card-badge {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(228, 138, 50, 0.14);
    border: 1px solid rgba(228, 138, 50, 0.28);
    color: var(--accent-deep);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    border: 1px solid rgba(81, 59, 34, 0.12);
    background: linear-gradient(180deg, #f2ede5, #ddd1c3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.map-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: inherit;
}

.map-card-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
}

.map-hint {
    margin-bottom: 0;
    color: var(--ink-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.map-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(43, 36, 31, 0.94);
    color: #fff5e8;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.map-open-link:hover {
    transform: translateY(-2px);
    background: var(--accent-deep);
    box-shadow: 0 16px 24px rgba(159, 86, 22, 0.22);
}

.site-footer {
    margin-top: auto;
    background: #26211d;
    color: #f4ede4;
}

.footer-shell {
    padding: 34px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(180px, 1fr) minmax(180px, 1fr);
    gap: 32px;
    align-items: start;
}

.footer-brand-block {
    max-width: 430px;
}

.footer-brand,
.footer-intro,
.footer-description,
.footer-bottom p,
.footer-links,
.footer-contact-list {
    margin: 0;
}

.footer-brand {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
}

.footer-intro {
    margin-top: 8px;
    max-width: 300px;
    color: #d4c8bd;
    font-size: 0.98rem;
    line-height: 1.45;
}

.footer-description {
    margin-top: 14px;
    max-width: 360px;
    color: #bcae9f;
    font-size: 0.96rem;
    line-height: 1.6;
}

.footer-contact-list,
.footer-links {
    padding: 0;
    list-style: none;
}

.footer-contact-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e5dbd1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: #f0e7de;
    flex: 0 0 18px;
    margin-top: 2px;
}

.footer-contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-contact-list a,
.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-contact-list a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.footer-contact-list a:hover,
.footer-links a:hover {
    color: var(--accent);
}

.footer-column h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #d0c2b5;
    font-size: 0.95rem;
    line-height: 1.45;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
    color: #bcae9f;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    flex-wrap: wrap;
}

.footer-legal-item {
    position: relative;
}

.footer-legal-label {
    display: inline-flex;
    align-items: center;
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d4c8bd;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-legal-label:focus {
    outline: 2px solid rgba(228, 138, 50, 0.7);
    outline-offset: 4px;
    border-radius: 6px;
}

.footer-legal-item:hover .footer-legal-label,
.footer-legal-item:focus-within .footer-legal-label {
    color: var(--accent);
}

.footer-legal-card {
    position: absolute;
    left: 0;
    bottom: calc(100% + 14px);
    width: min(320px, calc(100vw - 40px));
    padding: 14px 16px;
    background: #fff9f2;
    border: 1px solid rgba(72, 53, 31, 0.16);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(12, 8, 5, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 30;
}

.footer-legal-card::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 100%;
    width: 12px;
    height: 12px;
    background: #fff9f2;
    border-right: 1px solid rgba(72, 53, 31, 0.16);
    border-bottom: 1px solid rgba(72, 53, 31, 0.16);
    transform: rotate(45deg) translateY(-6px);
}

.footer-legal-item:hover .footer-legal-card,
.footer-legal-item:focus-within .footer-legal-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-legal-card strong {
    display: block;
    margin-bottom: 6px;
    color: #2b2018;
    font-size: 0.95rem;
}

.footer-legal-card p {
    margin: 0;
    color: #4f4135;
    font-size: 0.88rem;
    line-height: 1.55;
}

.image-modal {
    animation: fade-in 0.25s ease;
}

@keyframes rise-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 1080px) {
    .location-hero,
    .map-experience {
        grid-template-columns: 1fr;
    }

    .hero-stat-grid,
    .location-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .site-nav {
        justify-content: start;
        gap: 18px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .search-form {
        flex: 1;
        max-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-block {
        max-width: none;
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    main {
        padding-top: 22px;
    }

    .site-header {
        gap: 16px;
        padding: 14px 16px;
    }

    .brand {
        align-items: flex-start;
    }

    .brand-title {
        font-size: 1.3rem;
    }

    .brand-tagline {
        max-width: 180px;
        font-size: 0.56rem;
    }

    .site-nav {
        gap: 14px;
    }

    .search-form {
        min-width: 0;
        max-width: none;
    }

    .location-hero,
    .location-overview,
    .map-experience {
        width: min(100%, calc(100% - 24px));
    }

    .location-hero-copy,
    .location-hero-panel,
    .overview-card,
    .map-info,
    .map-card {
        border-radius: 22px;
    }

    .location-hero-copy,
    .location-hero-panel,
    .overview-card,
    .map-info,
    .map-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .location-hero-copy h1 {
        max-width: none;
        font-size: 2.45rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .map-figure-grid {
        grid-template-columns: 1fr;
    }

    .map-card-header,
    .map-card-footer,
    .hero-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-container {
        min-height: 230px;
        border-radius: 20px;
    }

    .footer-shell {
        padding: 30px 16px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        font-size: 1.7rem;
    }

    .footer-legal {
        gap: 16px;
    }

    .footer-legal-card {
        left: 50%;
        bottom: calc(100% + 12px);
        width: min(320px, calc(100vw - 32px));
        transform: translateX(-50%) translateY(10px);
    }

    .footer-legal-card::after {
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }

    .footer-legal-item:hover .footer-legal-card,
    .footer-legal-item:focus-within .footer-legal-card {
        transform: translateX(-50%) translateY(0);
    }
}

/* Footer legal popovers must stay inside the viewport. */
.footer-legal,
.footer-legal-item {
    max-width: 100%;
    overflow: visible;
}

.footer-legal-card {
    box-sizing: border-box;
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
}

.footer-legal-item:last-child .footer-legal-card {
    left: auto;
    right: 0;
    transform: translateY(10px);
}

.footer-legal-item:last-child .footer-legal-card::after {
    left: auto;
    right: 28px;
}

.footer-legal-item:last-child:hover .footer-legal-card,
.footer-legal-item:last-child:focus-within .footer-legal-card {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .footer-bottom {
        align-items: stretch;
    }

    .footer-legal {
        position: relative;
        width: 100%;
        justify-content: flex-start;
        gap: 12px 16px;
    }

    .footer-legal-item {
        position: static;
    }

    .footer-legal-label {
        white-space: normal;
    }

    .footer-legal-card {
        left: 0;
        right: auto;
        width: min(320px, calc(100vw - 32px));
        transform: translateY(10px);
    }

    .footer-legal-card::after {
        left: 24px;
        right: auto;
        transform: rotate(45deg) translateY(-6px);
    }

    .footer-legal-item:hover .footer-legal-card,
    .footer-legal-item:focus-within .footer-legal-card {
        transform: translateY(0);
    }

    .footer-legal-item:last-child .footer-legal-card {
        left: auto;
        right: 0;
        transform: translateY(10px);
    }

    .footer-legal-item:last-child .footer-legal-card::after {
        left: auto;
        right: 28px;
        transform: rotate(45deg) translateY(-6px);
    }

    .footer-legal-item:last-child:hover .footer-legal-card,
    .footer-legal-item:last-child:focus-within .footer-legal-card {
        transform: translateY(0);
    }
}
