:root {
    --primary: #2348ff;
    --secondary: #0b1930;
    --light: #f5f7fb;
    --dark: #111827;
    --accent: #ff6f61;
    --text: #1f2933;
    --border: #d9e1f2;
    --radius: 12px;
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

h1, h2, h3, h4 {
    color: var(--secondary);
    margin-top: 0;
    line-height: 1.2;
}

p {
    margin-top: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 53, 104, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--secondary);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 999px;
}

.hero {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #eef2ff 0%, #fdf4ff 100%);
}

.hero-content {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.3rem);
}

.hero p {
    font-size: 1.1rem;
}

.section {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-alt {
    background-color: var(--light);
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.grid-2 {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.highlight-box {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.card h3 {
    margin-top: 1.5rem;
    padding: 0 1.5rem;
}

.card p {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.card .btn {
    margin: 0 1.5rem 1.5rem;
}

.focus-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.focus-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid var(--border);
}

.focus-card ul {
    padding-left: 1.2rem;
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    border-left: 3px solid var(--primary);
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-item h3 {
    margin-bottom: 0.5rem;
}

.timeline-item time {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

input, textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font: inherit;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    padding: 0;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    font-weight: 600;
}

.site-footer {
    background: var(--secondary);
    color: #f9fbff;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-content a {
    color: #f9fbff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #c7d2fe;
}

.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 999;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.95);
    color: #fff;
    padding: 1rem 0;
    display: none;
    z-index: 1000;
}

.cookie-content {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner .btn-outline {
    border-color: #fff;
    color: #fff;
}

.legal-main {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: var(--light);
}

.legal-main .container {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid rgba(17, 53, 104, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.open {
        max-height: 320px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .legal-main .container {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}