/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --coffee-dark: #3E2723;
    --coffee-medium: #5D4037;
    --coffee-light: #8D6E63;
    --coffee-cream: #D7CCC8;
    --coffee-foam: #EFEBE9;
    --primary-color: #6D4C41;
    --secondary-color: #A1887F;
    --accent-color: #BCAAA4;
    --text-color: #2C1810;
    --bg-color: #FFF8F5;
    --light-bg: #F5F1ED;
    --border-color: #E8E0DB;
    --link-color: #6D4C41;
    --link-hover: #8D6E63;
    --spacing-unit: 1rem;
    --max-width: 1200px;
    --shadow-sm: 0 2px 8px rgba(61, 39, 35, 0.08);
    --shadow-md: 0 4px 16px rgba(61, 39, 35, 0.12);
    --shadow-lg: 0 8px 24px rgba(61, 39, 35, 0.16);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.75;
    color: var(--text-color);
    background: linear-gradient(180deg, #FFF8F5 0%, #F5F1ED 100%);
    background-attachment: fixed;
    font-size: 18px;
    letter-spacing: 0.015em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    line-height: 1.75;
}

.container > h1:first-child {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--coffee-cream);
    text-align: center;
}

/* Header */
.main-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 245, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--coffee-cream);
    padding: 1.25rem 0;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--coffee-dark);
    font-weight: 700;
    font-family: 'Georgia', serif;
    letter-spacing: -0.02em;
    text-transform: none;
    background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo {
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
    text-decoration: none;
}

.logo:hover h1 {
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    position: absolute;
    border-radius: 2px;
}

.nav-toggle span:nth-child(1) {
    top: 6px;
}

.nav-toggle span:nth-child(2) {
    top: 13px;
}

.nav-toggle span:nth-child(3) {
    top: 20px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 13px;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 13px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--coffee-medium);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--coffee-dark);
    background-color: var(--coffee-foam);
    text-decoration: none;
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--coffee-dark);
    background-color: var(--coffee-cream);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .nav-menu a.active {
        background-color: var(--coffee-foam);
        border: 1px solid var(--coffee-cream);
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
}

/* Breadcrumbs - Hidden */
.breadcrumbs {
    display: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.25rem;
    margin-top: 2rem;
    color: var(--primary-color);
    line-height: 1.3;
    transition: color 0.3s ease;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1:first-child,
h2:first-child,
h3:first-child {
    margin-top: 0;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    border-bottom: 3px solid var(--coffee-cream);
    padding-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--coffee-medium), var(--coffee-light));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
    color: var(--coffee-medium);
    padding-left: 0.75rem;
    border-left: 3px solid var(--coffee-cream);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.main-header h1 {
    margin-bottom: 0;
    margin-top: 0;
}

p {
    margin-bottom: 1.75rem;
    line-height: 1.9;
    font-size: 1.1rem;
    letter-spacing: 0.015em;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-spacing: 0.05em;
    color: var(--text-color);
    max-width: 100%;
}

p + p {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    p {
        text-align: left;
        text-justify: none;
        hyphens: none;
    }
}

p:last-child {
    margin-bottom: 0;
}

/* Улучшенная типографика для лучшей читаемости */
strong {
    font-weight: 600;
    color: var(--coffee-medium);
    letter-spacing: 0.01em;
}

em {
    font-style: italic;
    color: var(--coffee-light);
}

blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--coffee-medium);
    background: linear-gradient(90deg, var(--coffee-foam) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--coffee-medium);
    line-height: 1.8;
}

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

a:hover {
    color: var(--link-hover);
}

a:not(.nav-menu a):not(.btn):not(.logo):hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.btn-primary {
    background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee-medium) 100%);
    color: var(--coffee-foam);
    box-shadow: var(--shadow-sm);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--coffee-medium) 0%, var(--coffee-light) 100%);
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: white;
    text-decoration: none;
}

.btn-tertiary {
    background-color: var(--coffee-medium);
    color: var(--coffee-foam);
    border: 1px solid var(--coffee-medium);
}

.btn-tertiary:hover {
    background-color: var(--coffee-light);
    color: white;
    text-decoration: none;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--coffee-foam) 100%);
    border: 2px solid var(--coffee-cream);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coffee-medium), var(--coffee-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}


.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--coffee-dark) 0%, var(--coffee-medium) 50%, var(--coffee-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--coffee-medium);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--coffee-cream);
    padding-bottom: 0.5rem;
}

.card p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

table th,
table td {
    padding: 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    line-height: 1.6;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

table th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--primary-color);
}

table tr:hover {
    background-color: var(--coffee-foam);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coffee-medium);
    box-shadow: 0 0 0 3px rgba(109, 76, 65, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee-medium) 50%, var(--coffee-light) 100%);
    color: var(--coffee-foam);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.hero h1 {
    color: var(--coffee-foam);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: slideInDown 0.8s ease 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    color: var(--coffee-cream);
    position: relative;
    z-index: 1;
    line-height: 1.8;
    animation: slideInUp 0.8s ease 0.4s both;
    text-align: center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section {
    margin: 4rem 0;
    animation: fadeIn 0.6s ease;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 248, 245, 0.4) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--coffee-cream);
    box-shadow: 0 2px 8px rgba(61, 39, 35, 0.05);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--coffee-cream), transparent);
}

.section:first-child {
    margin-top: 2rem;
}

.section:last-child {
    margin-bottom: 2rem;
}

.intro-section {
    margin: 3rem 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 248, 245, 0.5) 100%);
    border-radius: 12px;
    border: 1px solid var(--coffee-cream);
    box-shadow: var(--shadow-sm);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--coffee-medium), transparent);
    border-radius: 2px;
}

/* Related Content */
.related-content {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.related-content h3 {
    margin-bottom: 1.5rem;
}

.related-content ul {
    list-style: none;
}

.related-content li {
    margin-bottom: 0.75rem;
}

.related-content a {
    color: var(--link-color);
    font-weight: 500;
}

/* Footer */
.main-footer {
    background-color: var(--light-bg);
    border-top: 2px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
}

.footer-section a:hover {
    color: var(--link-color);
}

.footer-disclaimer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: #888;
    text-align: center;
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
    color: #888;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-disclaimer strong {
    color: #777;
    font-weight: 500;
}

.copyright {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.6;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-consent-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.cookie-consent-buttons .btn-secondary {
    background-color: #dc3545;
}

.cookie-consent-buttons .btn-secondary:hover {
    background-color: #c82333;
}

/* Cookie Settings */
.cookie-settings {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 2px solid var(--coffee-cream);
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--coffee-foam) 100%);
    border: 2px solid var(--coffee-cream);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-sm);
}

.contact-form-section h2 {
    margin-top: 0;
    color: var(--coffee-dark);
    border-bottom: 3px solid var(--coffee-cream);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--coffee-dark) 0%, var(--coffee-medium) 100%);
    color: var(--coffee-foam);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 10001;
    max-width: 400px;
    transform: translateX(500px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
}

.notification.error {
    background: linear-gradient(135deg, #7c2a2a 0%, #a03a3a 100%);
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-150px);
        padding: 1.2rem 1.5rem;
    }

    .notification.show {
        transform: translateY(0);
    }
}

.cookie-settings h3 {
    margin-top: 0;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    width: auto;
}

.cookie-category-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
    animation: fadeInImage 0.5s ease forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* Section images - адаптивные, рядом с текстом */
.section > img {
    float: left;
    max-width: 45%;
    width: 45%;
    margin-right: 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

.section > img + h2,
.section > img + h3 {
    margin-top: 0;
}

/* Очистка float после секции */
.section::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 768px) {
    .section > img {
        float: none;
        max-width: 100%;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

/* Card images - остаются на весь экран карточки */
.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Checklist */
.checklist {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.checklist li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.checklist li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--coffee-medium);
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.8;
}

/* Regular lists */
ul:not(.checklist):not(.nav-menu):not(.footer-section ul) {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

ul:not(.checklist):not(.nav-menu):not(.footer-section ul) li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.9;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

ul:not(.checklist):not(.nav-menu):not(.footer-section ul) li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--coffee-medium);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.75rem;
        justify-content: flex-end;
    }

    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        padding: 0.35rem 0.7rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: sticky;
        position: -webkit-sticky;
        top: 0;
    }

    .header-content {
        flex-wrap: nowrap;
        align-items: center;
        gap: 1rem;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo h1 {
        font-size: 1.4rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0;
        line-height: 1.2;
    }

    body {
        font-size: 16px;
    }

    p {
        font-size: 1rem;
        line-height: 1.8;
        text-align: left;
    }

    h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-top: 2rem;
    }

    h3 {
        font-size: 1.35rem;
        line-height: 1.35;
        margin-top: 1.5rem;
    }

    .section {
        margin: 2.5rem 0;
        padding: 1.5rem 1rem;
        border-left-width: 3px;
    }

    .intro-section {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }

    h2 {
        padding-left: 0.75rem;
        font-size: 1.75rem;
    }

    h2::before {
        width: 3px;
    }

    h3 {
        padding-left: 0.5rem;
        border-left-width: 2px;
        font-size: 1.35rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .nav-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 1rem;
    }

    .nav-menu {
        display: flex;
        max-height: 0;
        overflow: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 0 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        white-space: normal;
    }

    .nav-menu li {
        margin-bottom: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

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

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent-buttons .btn {
        flex: 1;
        min-width: 120px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .main-content {
        padding: 1rem 0;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

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

    .contact-form-section {
        padding: 1.5rem;
    }
}
