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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #27347d;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

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

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #27347d;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a2560;
}

ul {
    list-style-type: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: none;
}

.btn-primary {
    background-color: #27347d;
    color: white;
}

.btn-primary:hover {
    background-color: #1a2560;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: #27347d;
    border: 2px solid #27347d;
}

.btn-secondary:hover {
    background-color: #27347d;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #27347d;
    border: 2px solid #27347d;
}

.btn-outline:hover {
    background-color: #27347d;
    color: white;
}

/* Header and Navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27347d;
}

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

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #27347d;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #27347d;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #27347d;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #27347d 0%, #3a4a9e 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: #f8f9fa;
}

.section.bg-primary {
    background-color: #27347d;
    color: white;
}

.section.bg-primary h2,
.section.bg-primary h3 {
    color: white;
}

.section.bg-primary p {
    color: rgba(255, 255, 255, 0.9);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

.large-icon {
    width: 120px;
    height: 120px;
}

/* Content Grids */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-features ul {
    list-style: none;
    padding: 0;
}

.content-features li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #27347d;
    font-weight: 500;
}

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

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card h3 {
    color: #27347d;
    margin-bottom: 1rem;
}

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

.target-item {
    text-align: center;
    padding: 2rem;
}

.target-item h3 {
    color: #27347d;
    margin-bottom: 1rem;
}

/* Experts Section */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.expert-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
}

.expert-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
}

.expert-title {
    color: #27347d;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #27347d;
    margin-top: 1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: white;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item strong {
    color: white;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    color: white;
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer p {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #27347d 0%, #3a4a9e 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.featured {
    border: 3px solid #27347d;
    transform: scale(1.05);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.service-description ul {
    margin: 1rem 0;
    padding-left: 1rem;
}

.service-price {
    margin-top: 2rem;
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #27347d;
    display: block;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
}

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

.additional-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.additional-price {
    font-weight: 700;
    color: #27347d;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin: 0;
    color: #27347d;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27347d;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #27347d;
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cookie-category span {
    font-size: 0.9rem;
    color: #666;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Team/About Page */
.team-grid {
    display: grid;
    gap: 3rem;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.team-title {
    color: #27347d;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.team-specialties span {
    background: #27347d;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Mission Section */
.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1rem;
}

.value-item h4 {
    color: #27347d;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #27347d;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: #27347d;
    border-radius: 50%;
}

.timeline-year {
    font-weight: 700;
    color: #27347d;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* Company Page */
.company-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.company-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
}

.detail-item strong {
    color: #27347d;
    display: block;
    margin-bottom: 0.5rem;
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.address-details p {
    margin-bottom: 1.5rem;
}

.transport-info ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

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

.cert-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-item h4 {
    color: #27347d;
    margin-bottom: 1rem;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.responsibility-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.responsibility-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #27347d;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Legal Pages */
.legal-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.legal-toc {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}

.legal-toc h3 {
    margin-bottom: 1rem;
}

.legal-toc ul {
    list-style: none;
}

.legal-toc li {
    margin-bottom: 0.5rem;
}

.legal-toc a {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-toc a:hover {
    color: #27347d;
}

.legal-text section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.legal-text h2 {
    color: #27347d;
    margin-bottom: 1.5rem;
}

.legal-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-footer {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 2rem;
    text-align: center;
}

/* Cookie Policy Specific */
.cookie-types {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.cookie-type {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.cookie-type h3 {
    color: #27347d;
    margin-bottom: 1rem;
}

.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: #27347d;
    color: white;
    font-weight: 600;
}

.cookie-settings-btn {
    text-align: center;
    margin: 2rem 0;
}

.current-settings {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.setting-item:last-child {
    border-bottom: none;
}

.status {
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.status.enabled {
    background: #d4edda;
    color: #155724;
}

.status.disabled {
    background: #f8d7da;
    color: #721c24;
}

/* Thanks Page */
.thanks-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.next-steps {
    margin: 3rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #27347d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.contact-info-box {
    background: #27347d;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
}

.contact-info-box h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.preparation-tips {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: left;
}

.preparation-tips ul {
    margin-left: 1rem;
}

.preparation-tips li {
    margin-bottom: 0.5rem;
    color: #27347d;
    font-weight: 500;
}

.thanks-actions {
    margin-top: 3rem;
}

.thanks-actions .btn {
    margin: 0 1rem;
}

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

.info-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 8px);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

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

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

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

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

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .company-overview {
        grid-template-columns: 1fr;
    }

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

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

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

    .legal-toc {
        position: static;
        margin-bottom: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .thanks-actions .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
}

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

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

    .section {
        padding: 60px 0;
    }

    .advantages-grid,
    .target-grid,
    .experts-grid,
    .reviews-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cookie-table {
        font-size: 0.8rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
    .nav-brand a {
        font-size: 1rem;
    }
    body {
        word-break: break-word;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .social-links {
        display: none;
    }

    .section {
        padding: 20px 0;
    }

    .page-header {
        padding: 40px 0 20px;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .btn {
        border: 1px solid #000;
        color: #000;
        background: transparent;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #27347d;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }

    .advantage-card,
    .expert-card,
    .review-card,
    .service-card {
        border: 2px solid #27347d;
    }
}
