:root {
    --background: #f7f5ef;
    --surface: #ffffff;
    --text: #18211d;
    --muted: #66706b;
    --green: #174f3b;
    --green-dark: #10392b;
    --gold: #c59a3d;
    --border: rgba(24, 33, 29, 0.13);
    --shadow: 0 24px 70px rgba(26, 48, 39, 0.10);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 820px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--text);
    color: white;
}

.skip-link:focus {
    top: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(247, 245, 239, 0.94);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 86px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 280px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 15px;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.main-navigation {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 22px;
}

.main-navigation a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.main-navigation a:hover {
    color: var(--green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.language-switcher {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.language-switcher button {
    border: 0;
    background: transparent;
    padding: 9px 10px;
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.language-switcher button[aria-current="true"] {
    background: var(--green);
    color: white;
}

.portal-link {
    border-radius: 999px;
    background: var(--text);
    color: white;
    padding: 11px 17px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.hero {
    padding: 92px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: 70px;
}

.eyebrow,
.section-label {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(48px, 6.5vw, 88px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.hero-text {
    max-width: 670px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions,
.appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.button-primary {
    background: var(--green);
    color: white;
}

.button-secondary {
    border: 1px solid var(--border);
    background: transparent;
}

.button-light {
    background: white;
    color: var(--green-dark);
}

.button-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: white;
}

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.hero-panel {
    position: relative;
    display: grid;
    min-height: 460px;
    place-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 50% 50% 48% 52% / 43% 44% 56% 57%;
    background:
        radial-gradient(circle at 50% 40%, rgba(197, 154, 61, 0.28), transparent 32%),
        linear-gradient(145deg, #f8edcf, #d9e5dc);
    box-shadow: var(--shadow);
    text-align: center;
}

.hero-panel::before,
.hero-panel::after {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(23, 79, 59, 0.14);
    border-radius: 50%;
    content: "";
}

.hero-panel::before {
    top: -35px;
    right: -45px;
}

.hero-panel::after {
    bottom: -75px;
    left: -55px;
}

.hero-symbol {
    color: var(--gold);
    font-size: 58px;
}

.hero-panel p {
    margin: 3px 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
}

.intro-section {
    padding: 95px 0;
    background: var(--surface);
    text-align: center;
}

.intro-section h2,
.section-heading h2,
.appointment-card h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.intro-section p:last-child {
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 18px;
}

.pathways-section {
    padding: 100px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

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

.pathway-card {
    min-height: 310px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.52);
}

.pathway-card > span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
}

.pathway-card h3 {
    margin: 50px 0 14px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 500;
}

.pathway-card p {
    color: var(--muted);
}

.pathway-card a {
    display: inline-block;
    margin-top: 22px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.appointment-section {
    padding: 0 0 100px;
}

.appointment-card {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 50px;
    border-radius: 30px;
    background: var(--green-dark);
    color: white;
    padding: 58px;
}

.appointment-card p {
    color: rgba(255, 255, 255, 0.72);
}

.appointment-actions {
    justify-content: flex-end;
}

.site-footer {
    background: #101915;
    color: white;
    padding: 70px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 45px;
}

.footer-grid p {
    max-width: 380px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

@media (max-width: 1080px) {
    .main-navigation {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-header {
        position: static;
    }

    .header-inner {
        min-height: 76px;
    }

    .brand {
        min-width: 0;
    }

    .brand-copy strong {
        max-width: 170px;
    }

    .language-switcher {
        display: none;
    }

    .portal-link {
        padding: 10px 13px;
    }

    .hero {
        padding: 62px 0;
    }

    .hero-grid,
    .appointment-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(46px, 14vw, 68px);
    }

    .hero-panel {
        min-height: 360px;
    }

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

    .appointment-card {
        padding: 34px 25px;
    }

    .appointment-actions {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
