﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
    --bg: #eef3ea;
    --bg-deep: #dce6d7;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --ink: #102217;
    --muted: #4b6052;
    --line: rgba(16, 34, 23, 0.1);
    --brand: #0c6f3e;
    --brand-strong: #08552f;
    --accent: #f4bf47;
    --accent-soft: #fff4d1;
    --shadow: 0 20px 45px rgba(12, 36, 20, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(12, 111, 62, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(244, 191, 71, 0.2), transparent 28%),
        linear-gradient(180deg, #f8fbf5 0%, var(--bg) 100%);
    font: 500 16px/1.65 "Manrope", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

p {
    margin: 0;
}

.site-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 48px;
}

.site-header {
    padding-top: 24px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 12px 14px 12px 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 14px;
    z-index: 10;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
}

.brand__logo {
    width: min(260px, 100%);
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-menu__toggle {
    display: none;
    border: 0;
    font: inherit;
}

@media (min-width: 721px) {
    .nav-menu__toggle {
        display: none !important;
    }
}

.page-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    padding: 6px;
    border: 1px solid rgba(12, 111, 62, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 241, 0.92)),
        rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 22px rgba(12, 36, 20, 0.08);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.93rem;
    font-weight: 800;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link--active {
    background: #fff;
    color: var(--brand-strong);
    box-shadow: 0 10px 20px rgba(12, 36, 20, 0.1);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link--active {
    background: linear-gradient(135deg, var(--brand-strong), var(--brand));
    color: #fff;
}

.section,
.hero,
.site-footer {
    box-shadow: var(--shadow);
}

.country-strip-wrap {
    margin-top: 18px;
    padding: 18px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.country-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
    gap: 8px;
}

.country-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 66px;
    padding: 8px 6px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    text-align: center;
    transition: 180ms ease;
}

.country-pill img {
    width: 20px;
    height: 15px;
}

.country-pill__code {
    font: 800 0.76rem/1 "Space Grotesk", sans-serif;
    letter-spacing: 0.06em;
}

.country-pill:hover,
.country-pill--active {
    color: var(--brand-strong);
    border-color: rgba(12, 111, 62, 0.2);
    background: rgba(12, 111, 62, 0.08);
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    margin-top: 24px;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 241, 229, 0.96)),
        linear-gradient(135deg, rgba(12, 111, 62, 0.14), rgba(244, 191, 71, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eyebrow {
    display: inline-flex;
    align-self: flex-start;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(12, 111, 62, 0.12);
    color: var(--brand-strong);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1,
.section h2,
.site-footer h2,
.info-card h3,
.step-card h3,
.faq-item summary {
    font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero__content p,
.section p,
.info-card p,
.step-card p,
.faq-item p,
.footer-card p {
    color: var(--muted);
}

.hero__note {
    font-size: 0.95rem;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 16px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.action--primary {
    background: linear-gradient(135deg, var(--brand) 0%, #19a759 100%);
    color: #fff;
    box-shadow: 0 16px 28px rgba(12, 111, 62, 0.28);
}

.action--secondary {
    background: #fff;
    color: var(--brand-strong);
    border: 1px solid rgba(12, 111, 62, 0.18);
}

.mobile-actions {
    display: none;
}

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

.hero__panel--country {
    grid-template-columns: 1fr;
}

.hero-stat,
.info-card,
.step-card,
.footer-card,
.faq-item,
.country-card,
.mini-link-card {
    border: 1px solid rgba(16, 34, 23, 0.08);
    background: rgba(255, 255, 255, 0.84);
    border-radius: 20px;
}

.hero-stat {
    min-height: 120px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-stat strong {
    font: 700 1.25rem/1.1 "Space Grotesk", sans-serif;
}

.hero-stat span {
    color: var(--muted);
}

.hero-stat--text strong {
    font-size: 1rem;
}

.country-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(12, 111, 62, 0.12), rgba(244, 191, 71, 0.14));
}

.country-hero img {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    object-fit: contain;
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(12, 36, 20, 0.12);
}

.country-hero strong {
    display: block;
    margin-bottom: 4px;
    font: 700 1.2rem/1.1 "Space Grotesk", sans-serif;
}

.section {
    margin-top: 22px;
    padding: clamp(22px, 3vw, 30px);
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.section--soft {
    background: linear-gradient(180deg, rgba(252, 253, 250, 0.98), rgba(240, 246, 237, 0.98));
}

.section--accent {
    background: linear-gradient(135deg, rgba(12, 111, 62, 0.1), rgba(255, 244, 209, 0.95));
}

.section-head {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.card-grid,
.steps-grid,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.country-card,
.info-card,
.step-card,
.footer-card {
    padding: 20px;
}

.country-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 180ms ease, border-color 180ms ease;
}

.country-card:hover,
.mini-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(12, 111, 62, 0.2);
}

.country-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.info-card h3,
.step-card h3,
.footer-card h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.step-card span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #7a5200;
    font: 700 0.86rem/1 "Space Grotesk", sans-serif;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 18px 20px;
}

.faq-item summary {
    cursor: pointer;
    font-size: 1rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 12px;
}

.mini-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mini-link-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    transition: transform 180ms ease, border-color 180ms ease;
}

.site-footer {
    margin-top: 34px;
    padding: clamp(24px, 4vw, 34px);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(16, 34, 23, 0.97), rgba(9, 32, 20, 0.96)),
        radial-gradient(circle at top right, rgba(244, 191, 71, 0.16), transparent 32%);
    color: rgba(255, 255, 255, 0.96);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) minmax(160px, 0.55fr) minmax(220px, 0.8fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: start;
}

.footer-brand,
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand img {
    width: min(220px, 100%);
    height: auto;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.82);
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    width: fit-content;
}

.footer-column a {
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(244, 191, 71, 0.38);
    color: rgba(255, 255, 255, 0.9);
    transition: color 180ms ease, border-color 180ms ease;
}

.footer-column a:hover {
    color: #fff;
    border-color: var(--accent);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .topbar,
    .hero {
        border-radius: 24px;
    }

    .hero,
    .card-grid,
    .steps-grid,
    .footer-grid,
    .footer-main,
    .mini-link-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    body {
        font-size: 15px;
    }

    .site-shell {
        width: min(100% - 20px, 1120px);
        margin-bottom: 94px;
    }

    .site-header {
        padding-top: 10px;
    }

    .topbar {
        top: 10px;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 24px;
    }

    .brand__logo {
        width: min(215px, 100%);
    }

    .nav-menu {
        position: relative;
        margin-left: auto;
    }

    .nav-menu__toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        list-style: none;
        min-height: 44px;
        padding: 0 13px;
        border: 1px solid rgba(12, 111, 62, 0.16);
        border-radius: 999px;
        background: linear-gradient(180deg, #fff, rgba(240, 247, 236, 0.96));
        color: var(--brand-strong);
        font-weight: 800;
        box-shadow: 0 10px 20px rgba(12, 36, 20, 0.1);
        cursor: pointer;
    }

    .nav-menu__icon {
        display: grid;
        gap: 4px;
    }

    .nav-menu__line {
        display: block;
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .page-nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: min(282px, calc(100vw - 32px));
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        padding: 10px;
        border-radius: 20px;
        border: 1px solid rgba(12, 111, 62, 0.13);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 45px rgba(12, 36, 20, 0.18);
    }

    .nav-menu--open .page-nav {
        display: flex;
    }

    .nav-link {
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        padding: 0 15px;
    }

    .mobile-actions {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 30;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.82);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 38px rgba(12, 36, 20, 0.22);
        backdrop-filter: blur(14px);
    }

    .mobile-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0 12px;
        border-radius: 14px;
        font-size: 0.9rem;
        font-weight: 900;
        text-align: center;
    }

    .mobile-actions__primary {
        background: linear-gradient(135deg, var(--brand), #18a85a);
        color: #fff;
    }

    .mobile-actions__secondary {
        background: var(--accent-soft);
        color: #6b4a00;
        border: 1px solid rgba(244, 191, 71, 0.45);
    }

    .hero__panel,
    .country-grid,
    .card-grid,
    .steps-grid,
    .footer-grid,
    .mini-link-grid {
        grid-template-columns: 1fr;
    }

    .country-hero {
        gap: 16px;
        padding: 16px;
    }

    .country-hero img {
        flex-basis: 96px;
        width: 96px;
        height: 96px;
        padding: 8px;
    }

    .action-row {
        flex-direction: column;
    }

    .action {
        width: 100%;
    }
}
