:root {
    color-scheme: light;
    --bg-1: #f8f4ec;
    --bg-2: #ded2bd;
    --card: rgba(255, 255, 255, 0.9);
    --card-2: rgba(255, 255, 255, 0.76);
    --text: #2d221b;
    --muted: #5f5248;
    --accent: #6f4e37;
    --accent-2: #8b6a4f;
    --border: rgba(111, 78, 55, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.55), transparent 35%),
        linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

.layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: min(940px, 100%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(47, 36, 29, 0.16);
}

.card.small {
    width: min(760px, 100%);
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(111, 78, 55, 0.1);
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
}

h1 {
    margin: 0 0 16px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.05;
}

h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

p {
    margin: 0;
    max-width: 720px;
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--muted);
}

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

.button {
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: bold;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 10px 20px rgba(111, 78, 55, 0.22);
}

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

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

.grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.hero-image {
    display: block;
    width: min(260px, 100%);
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin: 28px auto 0;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.panel {
    padding: 20px;
    border-radius: 20px;
    background: var(--card-2);
    border: 1px solid var(--border);
    min-height: 350px;
    display: flex;
    flex-direction: column ;
    justify-content:space-between;
    align-items: center;
}

.panel p {
    font-size: 0.98rem;
}

.list {
    margin: 24px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.flag {
    display: inline-block;
    margin-top: 22px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #2d221b;
    color: #f7f2e8;
    font-weight: bold;
    letter-spacing: 0.02em;
}
