/* AutoServicios España - Main Stylesheet */

/* CSS 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: #fff;
}

/* CSS Variables for Automotive Theme */
:root {
    --primary-color: #1e3a8a;        /* Deep Blue */
    --secondary-color: #dc2626;      /* Red */
    --accent-color: #f59e0b;         /* Amber */
    --dark-color: #1f2937;           /* Dark Gray */
    --light-color: #f8fafc;          /* Light Gray */
    --white: #ffffff;
    --border-color: #e5e7eb;
    --text-light: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hidden utility */
.hidden {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1e40af;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #dc2626;
    color: var(--white);
    transform: translateY(-1px);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: all var(--transition-fast);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 1rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.cookie-content h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cookie-content p {
    flex: 1;
    margin-bottom: 0;
    color: #d1d5db;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--white);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

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

.hero-image {
    text-align: center;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--light-color) 0%, #e2e8f0 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.header-icon {
    max-width: 80px;
    height: auto;
    opacity: 0.7;
}

/* Services Preview */
.services-preview {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Preview */
.about-preview {
    padding: 4rem 0;
}

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

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.about-image {
    text-align: center;
}

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

/* Services Detail Page */
.main-services {
    padding: 4rem 0;
}

.main-services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.service-detail {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
}

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

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

.service-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.service-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-svg {
    max-width: 100%;
    height: auto;
}

/* Additional Services */
.additional-services {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.additional-services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Testimonials */
.featured-testimonials,
.more-testimonials {
    padding: 4rem 0;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card.featured {
    grid-column: 1 / -1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-date {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Rating Summary */
.rating-summary {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.rating-summary h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.rating-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

.rating-overall {
    text-align: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.bar {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 4px;
}

/* Blog Styles */
.featured-article {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.article-featured {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.article-image {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.featured-image,
.article-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

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

.article-content h2 a {
    color: var(--dark-color);
    text-decoration: none;
}

.article-content h2 a:hover {
    color: var(--primary-color);
}

.article-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Blog Articles */
.blog-articles {
    padding: 4rem 0;
}

.blog-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.article-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

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

.article-card .article-image {
    position: relative;
}

.article-card .article-content {
    padding: 1.5rem;
}

.article-card h3 {
    margin-bottom: 0.5rem;
}

.article-card h3 a {
    color: var(--dark-color);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--white);
    text-align: center;
}
.newsletter-content p{
    color: var(--white);
}
.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

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

.form-group input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.form-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Blog Categories */
.blog-categories {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.blog-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.category-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-count {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Contact Styles */
.contact-section {
    padding: 4rem 0;
}

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

.contact-form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.125rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Contact Info */
.contact-info-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-info-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.map-placeholder {
    background-color: #e5e7eb;
    height: 400px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-content {
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    max-width: 400px;
}

.map-directions h5 {
    margin: 1.5rem 0 0.5rem;
    color: var(--primary-color);
}

.map-directions ul {
    text-align: left;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.faq-item {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 0.75rem;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Thanks Page Styles */
.thanks-section {
    padding: 4rem 0;
    text-align: center;
}

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

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

.thanks-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.thanks-info {
    text-align: left;
    margin: 3rem 0;
}

.thanks-info h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-reminder {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 3rem 0;
}

.contact-reminder h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    font-size: 1.5rem;
}

.emergency-contact {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.emergency-contact h4 {
    color: var(--error-color);
    margin-bottom: 1rem;
}

.emergency-phone {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1rem 0;
}

.emergency-phone a {
    color: var(--error-color);
}

.thanks-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Links */
.related-links {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.related-links h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.link-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.link-card h4 a {
    color: var(--primary-color);
    text-decoration: none;
}

.link-card h4 a:hover {
    color: var(--secondary-color);
}

/* Blog Article Styles */
.blog-article {
    margin-top: 0;
}

.article-header {
    padding: 3rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--primary-color);
}

.article-header .article-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.article-header h1 {
    max-width: 800px;
    margin: 0 auto 1rem;
}

.article-header .article-meta {
    margin-bottom: 2rem;
}

.article-header .article-image {
    max-width: 600px;
    margin: 0 auto;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.article-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.article-section h3 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
}

.article-section h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.5rem;
}

.article-section ul,
.article-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-section li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Article Special Elements */
.warning-box {
    background-color: #fef2f2;
    border-left: 4px solid var(--error-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.375rem;
}

.warning-box h4 {
    color: var(--error-color);
    margin-bottom: 1rem;
}

.info-box {
    background-color: #eff6ff;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.375rem;
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.savings-highlight {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
    text-align: center;
}

.savings-highlight h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* Article CTA */
.article-cta {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Article Footer */
.article-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-share {
    margin-bottom: 2rem;
}

.article-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
}

/* Cookie Settings */
.cookie-settings {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.setting-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.setting-group h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.toggle-switch {
    position: relative;
}

.toggle-switch.disabled .toggle-enabled {
    background-color: var(--success-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.toggle-label {
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.toggle-label::after {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background-color: var(--white);
    top: 2px;
    left: 2px;
    transition: transform var(--transition-fast);
}

input[type="checkbox"]:checked + .toggle-label {
    background-color: var(--primary-color);
}

input[type="checkbox"]:checked + .toggle-label::after {
    transform: translateX(25px);
}

input[type="checkbox"] {
    display: none;
}

.settings-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Browser Instructions */
.browser-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.browser-item {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.browser-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--white);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.125rem;
    color: #e2e8f0;
    margin-bottom: 0;
}

/* Mission & Vision */
.mission-vision {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

.mv-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Values */
.values {
    padding: 4rem 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

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

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Company Story */
.company-story {
    padding: 4rem 0;
}

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

.story-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-svg {
    max-width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

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

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

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .service-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rating-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .settings-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .service-card,
    .testimonial-card,
    .article-card {
        margin: 0 0.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 60vh;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .services-preview,
    .about-preview,
    .testimonials,
    .blog-articles {
        padding: 2rem 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .footer,
    .article-navigation,
    .article-cta,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .article-content {
        max-width: none;
        padding: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
    
    .article-section {
        break-inside: avoid;
    }
}

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

/* Focus States */
.btn:focus,
input:focus,
select:focus,
textarea:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #800000;
        --text-light: #000000;
        --border-color: #000000;
    }
}
