:root {
    --color-bg: #FDFBF7;
    --color-text: #2D3748;
    --color-primary: #6B9080;
    --color-secondary: #EAF4F4;
    --color-accent: #D4A373;
    --color-brand-spartan: #B91C1C;
    --color-brand-ski: #2563EB;
    --color-brand-runner: #1A202C;

    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* a:focus {
    outline: 2px solid var(--color-primary);
} */

h1,
.section-title,
.playfair-text {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}


.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

header {
    height: var(--header-height);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.lang-switch {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

.lang-switch a.active {
    font-weight: bold;
    color: var(--color-primary);
}

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.burger-menu:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 5px;
    border-radius: 2px;
}

.page-hero {
    background-color: var(--color-secondary);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.btn-cta {
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

a.btn-cta {
    color: #fff;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: #557566;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.base-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
}

.base-badge {
    background-color: var(--color-accent);
    font-weight: bold;
}

.emergency-service summary.btn-text {
    color: #C53030;
}

.emergency-service summary.btn-text:hover {
    color: #9B2C2C;
}

summary.btn-text {
    cursor: pointer;
    color: var(--color-primary);
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}

summary.btn-text::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: bold;
}

details[open] summary.btn-text::after {
    content: '-';
}

summary.btn-text:hover {
    color: var(--color-accent);
}

footer {
    background-color: #2C3E50;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #aaa;
}

.footer-desc {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-links li.spaced-item {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    #nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
        padding: 40px;
        text-align: center;
    }

    .lang-switch {
        border-left: none;
        padding-left: 0;
        justify-content: center;
        border-top: 1px solid #eee;
        padding-top: 20px;
        margin-top: 20px;
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-hero {
        padding: 80px 0 40px;
    }
}