/* =============================================================================
   CSS Reset and Base Styles
============================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

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

/* =============================================================================
   Typography
============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
    color: #555555;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

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

/* =============================================================================
   Layout Components
============================================================================= */

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

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* =============================================================================
   Buttons
============================================================================= */

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

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

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

.btn-secondary:hover {
    background-color: #007bff;
    color: white;
}

.btn-full {
    width: 100%;
}

/* =============================================================================
   Cookie Banner
============================================================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 0;
    z-index: 1000;
    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;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    color: white;
}

.cookie-content a {
    color: #87ceeb;
}

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

.cookie-buttons button {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* =============================================================================
   Header and Navigation
============================================================================= */

.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

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

.logo {
    width: 4rem;
    height: 4rem;
}

.nav-brand h1 {
    font-size: 2.4rem;
    color: #007bff;
    margin: 0;
}

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

.nav-link {
    color: #333333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #007bff;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 2.5rem;
    height: 0.3rem;
    background-color: #333333;
    margin: 0.3rem 0;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}

/* =============================================================================
   Hero Section
============================================================================= */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0;
}

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

.hero-text h2 {
    color: white;
    font-size: 4.8rem;
    margin-bottom: 2rem;
}

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

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

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* =============================================================================
   Page Hero (for internal pages)
============================================================================= */

.page-hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 6rem 0;
}

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

.page-hero-text h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 2rem;
}

.page-hero-text p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-hero-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

/* =============================================================================
   Services Section
============================================================================= */

.services-overview {
    padding: 8rem 0;
    background-color: #f8f9fa;
}

.services-overview h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 4rem;
}

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

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

.service-card:hover {
    transform: translateY(-1rem);
}

.service-card img {
    width: 8rem;
    height: 8rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    color: #007bff;
    margin-bottom: 1.5rem;
}

/* =============================================================================
   Features Section
============================================================================= */

.why-choose-us {
    padding: 8rem 0;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 3.6rem;
    margin-bottom: 4rem;
}

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

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

.feature h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* =============================================================================
   Content Sections (About, Services)
============================================================================= */

.content-section {
    margin-bottom: 4rem;
}

.values-section {
    margin: 6rem 0;
}

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

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007bff;
}

.value-card h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* =============================================================================
   Services Detailed Page
============================================================================= */

.services-detailed {
    padding: 4rem 0;
}

.service-category {
    margin-bottom: 6rem;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #007bff;
}

.service-header img {
    width: 6rem;
    height: 6rem;
}

.service-header h2 {
    color: #007bff;
    margin: 0;
}

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

.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.service-item ul {
    margin-top: 1.5rem;
}

.service-guarantee {
    background: #f8f9fa;
    padding: 4rem;
    border-radius: 1rem;
    margin-top: 6rem;
    text-align: center;
}

.service-guarantee h2 {
    color: #007bff;
    margin-bottom: 2rem;
}

.guarantee-content ul {
    display: inline-block;
    text-align: left;
    margin-top: 2rem;
}

/* =============================================================================
   Testimonials
============================================================================= */

.testimonials-section {
    padding: 4rem 0;
}

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

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: #555555;
}

.testimonial-author strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #007bff;
    font-size: 1.4rem;
}

.testimonial-stats {
    text-align: center;
    margin-bottom: 6rem;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: #007bff;
    display: block;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.6rem;
    color: #555555;
}

.testimonial-cta {
    text-align: center;
    background: #f8f9fa;
    padding: 4rem;
    border-radius: 1rem;
}

/* =============================================================================
   Blog Section
============================================================================= */

.blog-section {
    padding: 4rem 0;
}

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

.blog-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-0.5rem);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.blog-image img {
    width: 8rem;
    height: 8rem;
}

.blog-content {
    padding: 2.5rem;
}

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

.blog-category {
    background: #007bff;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 0.3rem;
}

.blog-date {
    color: #666666;
}

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

.blog-content h2 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-content h2 a:hover {
    color: #007bff;
}

.read-more {
    color: #007bff;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Blog Sidebar */
.blog-sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.sidebar-widget h3 {
    color: #007bff;
    margin-bottom: 2rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 1rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 1rem;
}

.category-list a {
    color: #555555;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.category-list a:hover {
    color: #007bff;
}

.popular-posts {
    list-style: none;
    padding: 0;
}

.popular-posts li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.popular-posts a {
    color: #333333;
    font-weight: 500;
}

.popular-posts a:hover {
    color: #007bff;
}

/* =============================================================================
   Blog Post Page
============================================================================= */

.blog-post {
    padding: 4rem 0;
}

.blog-header {
    margin-bottom: 4rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 1.4rem;
    color: #666666;
}

.breadcrumb a {
    color: #007bff;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    flex-wrap: wrap;
}

.blog-author {
    color: #666666;
}

.blog-intro {
    font-size: 1.8rem;
    color: #555555;
    font-style: italic;
    border-left: 4px solid #007bff;
    padding-left: 2rem;
    margin: 2rem 0;
}

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

.featured-image {
    width: 12rem;
    height: 12rem;
    display: block;
    margin: 3rem auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
}

.blog-content h2 {
    color: #2c3e50;
    margin-top: 4rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 1rem;
}

.blog-content h3 {
    color: #007bff;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.warning-box, .savings-example, .cost-comparison {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0.5rem;
}

.warning-box h3 {
    color: #f39c12;
    margin-bottom: 1rem;
}

.blog-cta {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    margin: 4rem 0;
}

.blog-cta h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #eee;
}

/* =============================================================================
   Contact Page
============================================================================= */

.contact-section {
    padding: 4rem 0;
}

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

.contact-info h2 {
    color: #007bff;
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 3rem;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #555555;
}

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

.social-links a {
    background: #007bff;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0.4rem;
    font-size: 1.4rem;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: #0056b3;
}

/* Contact Form */
.contact-form-container h2 {
    color: #007bff;
    margin-bottom: 3rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 2rem;
    height: 2rem;
    border: 2px solid #ddd;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.error-message {
    color: #dc3545;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    display: block;
}

.form-note {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 1.4rem;
    color: #666666;
}

.emergency-banner {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 4rem;
}

.emergency-banner h3 {
    color: white;
    margin-bottom: 1rem;
}

.emergency-phones {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.emergency-phone,
.emergency-whatsapp {
    background: white;
    color: #dc3545;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.emergency-phone:hover,
.emergency-whatsapp:hover {
    transform: scale(1.05);
    color: #dc3545;
}

.emergency-note {
    font-size: 1.4rem;
    margin: 0;
    opacity: 0.9;
}

/* =============================================================================
   Thanks Page
============================================================================= */

.thanks-section {
    padding: 6rem 0;
    text-align: center;
}

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

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

.thanks-icon svg {
    width: 10rem;
    height: 10rem;
}

.thanks-content h1 {
    color: #28a745;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.thanks-subtitle {
    font-size: 2rem;
    color: #666666;
    margin-bottom: 4rem;
}

.thanks-info {
    background: #f8f9fa;
    padding: 4rem;
    border-radius: 1rem;
    margin: 4rem 0;
    text-align: left;
}

.thanks-info h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 3rem;
}

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

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    background: #007bff;
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-reminder,
.emergency-reminder,
.additional-info {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
}

.contact-reminder h3,
.emergency-reminder h3,
.additional-info h3 {
    color: #007bff;
    margin-bottom: 2rem;
}

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

.emergency-contacts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.emergency-btn,
.whatsapp-btn {
    padding: 1.2rem 2.4rem;
    border-radius: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.emergency-btn {
    background: #dc3545;
    color: white;
}

.emergency-btn:hover {
    background: #c82333;
    color: white;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128c7e;
    color: white;
}

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

.useful-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.useful-links a {
    color: #007bff;
    padding: 0.8rem 1.5rem;
    border: 1px solid #007bff;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
}

.useful-links a:hover {
    background: #007bff;
    color: white;
}

/* =============================================================================
   Legal Pages
============================================================================= */

.legal-page {
    padding: 4rem 0;
}

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

.legal-content h1 {
    color: #007bff;
    text-align: center;
    margin-bottom: 2rem;
}

.last-updated {
    text-align: center;
    color: #666666;
    font-style: italic;
    margin-bottom: 4rem;
}

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

.legal-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #007bff;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.legal-section h3 {
    color: #007bff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cookie-settings {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    margin: 4rem 0;
}

.back-link {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #eee;
}

.back-link a {
    color: #007bff;
    font-size: 1.8rem;
    font-weight: 600;
}

/* =============================================================================
   Footer
============================================================================= */

.footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 2rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer .social-links a {
    background: #007bff;
    margin-right: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* =============================================================================
   Responsive Design
============================================================================= */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content,
    .page-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-text h2 {
        font-size: 3.6rem;
    }
    
    .page-hero-text h1 {
        font-size: 3rem;
    }
    
    .services-grid,
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .emergency-phones,
    .emergency-contacts {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions,
    .useful-links {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-navigation {
        flex-direction: column;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .page-hero {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-header img {
        width: 5rem;
        height: 5rem;
    }
}

/* =============================================================================
   Print Styles
============================================================================= */

@media print {
    .header,
    .footer,
    .cookie-banner,
    .blog-navigation,
    .emergency-banner {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 1px solid black;
        background: none;
        color: black;
    }
}

/* =============================================================================
   Accessibility Improvements
============================================================================= */

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

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