:root {
    --background: #f3f9fc;
    --surface: #ffffff;
    --text: #24313a;
    --muted: #637681;
    --accent: #4f9fc5;
    --accent-soft: #eaf7fc;
    --link: #1d6fb8;
    --link-dark: #155a96;
    --blue-deep: #447f9a;
    --line: #d6eaf2;
    --shadow: 0 22px 50px rgba(36, 83, 105, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(79, 159, 197, 0.16), transparent 34rem),
        linear-gradient(180deg, #f8fdff 0%, var(--background) 46%, #e8f4f8 100%);
}

html {
    scroll-behavior: smooth;
}

.page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0 18px;
}

.logo {
    width: min(210px, 52vw);
    height: auto;
    display: block;
}

.header-text {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.tag {
    color: var(--muted);
    font-size: 0.95rem;
    text-align: right;
}

.map-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    color: var(--link);
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #bfe0ee;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(36, 83, 105, 0.08);
}

.map-link:hover,
.map-link:focus-visible {
    color: #fff;
    background: var(--link);
    border-color: var(--link);
    outline: none;
}

main {
    padding: 18px 0 46px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 44px;
    padding: 52px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(214, 234, 242, 0.92);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.45rem, 6vw, 5.1rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.lead {
    max-width: 640px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.hero-card {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: var(--accent-soft);
    border: 1px solid #bfe0ee;
    border-radius: 8px;
}

.hero-card p {
    margin: 0;
    color: #385563;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
}

.signature {
    color: var(--accent);
    font-weight: 700;
}

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

.note {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.note h2 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    letter-spacing: 0;
}

.note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.welcome {
    margin-top: 24px;
    padding: 30px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-deep), #2f617b);
    border-radius: 8px;
}

.welcome p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.75;
    text-align: center;
}

.location {
    margin-top: 24px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(214, 234, 242, 0.92);
    border-radius: 8px;
    box-shadow: var(--shadow);
    scroll-margin-top: 24px;
}

.location-text {
    margin-bottom: 22px;
    text-align: center;
}

.location-text h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    letter-spacing: 0;
}

.map-frame {
    width: 100%;
    overflow: hidden;
    background: var(--accent-soft);
    border: 1px solid #bfe0ee;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
}

footer {
    padding: 22px 0 34px;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

footer a {
    color: var(--link);
    font-weight: 700;
    text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 820px) {
    .page {
        width: min(100% - 28px, 680px);
    }

    header {
        align-items: center;
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .header-text {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .tag {
        text-align: center;
    }

    .map-link {
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 30px 22px;
    }

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

    .location {
        padding: 22px;
    }

    .map-frame {
        aspect-ratio: 4 / 3;
    }
}
