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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

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

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: #6b7280;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
}

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

.btn-outline:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1f2937;
}

.nav-brand a {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.logo {
    margin-right: 12px;
}

.brand-text {
    color: #1f2937;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 2rem;
}

.nav-links a {
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.section-header h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card.strategy {
    border-top: 4px solid #3b82f6;
}

.service-card.innovation {
    border-top: 4px solid #10b981;
}

.service-card.finance {
    border-top: 4px solid #f59e0b;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-text h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #6b7280;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    max-width: 100%;
    height: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #374151;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

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

.newsletter-content h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-privacy {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.newsletter-privacy a {
    color: #2563eb;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    color: #2563eb;
    margin-top: 0.25rem;
}

.contact-text h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #6b7280;
    margin: 0;
}

.social-links h4 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Forms */
.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand a {
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #d1d5db;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

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

.footer-column a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-column a.active {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #60a5fa;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: #d1d5db;
    margin: 0;
}

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

.btn-cookie {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-cookie.btn-primary {
    background-color: #2563eb;
    color: white;
}

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

.btn-cookie.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid #d1d5db;
}

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

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

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h2 {
    margin: 0;
    color: #1f2937;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h3 {
    margin: 0;
    color: #1f2937;
}

.cookie-category p {
    color: #6b7280;
    margin: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2563eb;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #2563eb;
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: right;
}

/* Blog Styles */
.blog-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.blog-hero-stats .stat {
    text-align: center;
}

.blog-hero-stats strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.blog-hero-stats span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-articles {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-image {
    overflow: hidden;
}

.blog-image svg {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-category {
    background-color: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.blog-content h2 {
    margin-bottom: 1rem;
}

.blog-content h2 a {
    color: #1f2937;
    text-decoration: none;
}

.blog-content h2 a:hover {
    color: #2563eb;
}

.blog-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

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

.blog-author {
    color: #6b7280;
    font-size: 0.9rem;
}

.read-more {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    color: #1d4ed8;
}

.blog-newsletter {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Article Styles */
.article-hero {
    padding: 8rem 0 4rem;
    background-color: #f8fafc;
}

.article-breadcrumb {
    color: #6b7280;
    margin-bottom: 2rem;
}

.article-breadcrumb a {
    color: #2563eb;
}

.article-header {
    max-width: 800px;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-category {
    background-color: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-date,
.article-read-time {
    color: #6b7280;
    font-size: 0.9rem;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info strong {
    color: #1f2937;
    display: block;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

.article-content {
    padding: 4rem 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    margin-bottom: 3rem;
    text-align: center;
}

.article-image svg {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-text h2 {
    color: #1f2937;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.article-text h3 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-text h4 {
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-text p {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.article-text ul,
.article-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-text li {
    color: #374151;
    margin-bottom: 0.5rem;
}

blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #1f2937;
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Special Article Components */
.innovation-matrix,
.digital-audit,
.transformation-waves,
.leadership-pillars,
.resilience-building {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.innovation-horizon,
.audit-category,
.wave,
.pillar,
.resilience-component {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.engagement-strategy,
.autonomy-framework,
.communication-framework,
.leadership-tools,
.fiscal-alert,
.tax-measure,
.sustainability-deduction,
.is-optimization,
.employment-incentives,
.best-practices,
.action-plan {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.strategy-actions,
.autonomy-level,
.principle-details,
.tools-grid,
.deduction-category,
.optimization-strategy,
.practice {
    margin-bottom: 1rem;
}

.c-item,
.tool,
.phase {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.tax-table,
.kpi-dashboard,
.success-factors {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.tax-row,
.kpi-category,
.factor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 6px;
}

.roadmap-phase {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    margin-bottom: 1.5rem;
}

.final-insights {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.nav-previous,
.nav-next {
    padding: 1rem;
    border-radius: 8px;
    background: #f8fafc;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: inherit;
}

.nav-previous span,
.nav-next span {
    color: #6b7280;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-previous strong,
.nav-next strong {
    color: #1f2937;
    font-weight: 600;
}

.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

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

.related-card {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.related-card:hover {
    background: #e5e7eb;
}

.related-card h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.related-card span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Thanks Page */
.thanks-page {
    padding: 8rem 0 4rem;
    background-color: #f8fafc;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.thanks-content h1 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.thanks-details {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: left;
}

.thanks-details h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.thanks-details ul {
    list-style: none;
    padding: 0;
}

.thanks-details li {
    color: #374151;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

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

.thanks-social p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.thanks-social .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.thanks-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f3f4f6;
    border-radius: 50%;
    color: #6b7280;
    transition: all 0.3s ease;
}

.thanks-social .social-links a:hover {
    background-color: #2563eb;
    color: white;
    transform: scale(1.1);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 0 4rem;
    background-color: #ffffff;
}

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

.legal-header h1 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.legal-intro {
    color: #6b7280;
    font-size: 1.1rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-content h2 {
    color: #1f2937;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.legal-content h3 {
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    color: #374151;
    margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: #374151;
    margin-bottom: 0.5rem;
}

.cookie-table {
    margin: 1.5rem 0;
}

.cookie-row {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
}

.cookie-info h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.cookie-info p {
    margin-bottom: 0.5rem;
}

.cookie-preferences-widget {
    background: #dbeafe;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .blog-hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tax-table,
    .kpi-dashboard {
        grid-template-columns: 1fr;
    }
    
    .tax-row,
    .kpi-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle,
    .social-icons,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .legal-content,
    .article-text {
        max-width: none;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .legal-content h2 {
        border-bottom: 1px solid #000;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border: 2px solid #000;
        color: #000;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1f2937;
        color: #f9fafb;
    }
    
    .hero {
        background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        background-color: #374151;
        border-color: #4b5563;
    }
    
    .about {
        background-color: #374151;
    }
    
    .newsletter {
        background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    }
}
