@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3a4a;
    --secondary: #2d6a4f;
    --accent: #40916c;
    --bg-main: #f8f6f2;
    --bg-card: #ffffff;
    --bg-dark: #1a2332;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-light: #8b9daf;
    --border: #e8e4df;
    --shadow: rgba(26, 58, 74, 0.08);
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    background: var(--bg-main);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a5a 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark);
    padding: 80px 32px 32px;
    transition: right 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.hero {
    padding: 80px 0;
    background: linear-gradient(160deg, #f0f7f4 0%, #e8f4f0 50%, var(--bg-main) 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 58, 74, 0.12);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.article-card-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-card-body .read-more {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.split-section img {
    border-radius: var(--radius);
    width: 100%;
    height: 350px;
    object-fit: cover;
    box-shadow: 0 10px 40px var(--shadow);
}

.split-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.split-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px var(--shadow);
    border-top: 4px solid var(--accent);
}

.info-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2a4a5a 100%);
    padding: 80px 0;
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 24px;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form button {
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
}

.contact-form button:hover {
    background: var(--secondary);
}

footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

.article-page {
    padding: 60px 0;
}

.article-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 32px;
}

.article-page img {
    border-radius: var(--radius);
    margin: 32px 0;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    margin: 40px 0 16px;
}

.article-page h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 28px 0 12px;
}

.article-page p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.article-page ul, .article-page ol {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
}

.article-page li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-page a {
    color: var(--accent);
    font-weight: 500;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: #fff;
    padding: 20px 24px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-inner p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
}

.cookie-inner a {
    color: var(--accent);
}

.cookie-btns {
    display: flex;
    gap: 12px;
}

.cookie-btns button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-accept {
    background: var(--accent);
    color: #fff;
}

.btn-reject {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.legal-page {
    padding: 60px 0;
    min-height: 60vh;
}

.legal-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.legal-page h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 32px 0 12px;
}

.legal-page p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.8;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        padding: 12px 16px;
    }

    .hero {
        padding: 48px 0;
    }

    .section {
        padding: 48px 0;
    }
}
