/* ==========================================================================
   SERVICIOS DE CONTABILIDAD MADRID - MAIN STYLES
   Modern, Mobile-First, Animated CSS
   ========================================================================== */

/* CSS RESET AND BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #111111;
    background-color: #FFF6EC;
    overflow-x: hidden;
}

/* VARIABLES CSS */
:root {
    --primary-color: #FF4A4A;
    --secondary-color: #1D1D1D;
    --accent-color: #FFD369;
    --light-bg: #FFF6EC;
    --white: #FFFFFF;
    --text-dark: #111111;
    --text-light: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* UTILITY CLASSES */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.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;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #e63946);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 74, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 74, 74, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(29, 29, 29, 0.3);
}

.btn-secondary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 29, 29, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--text-light);
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-accept {
    background: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: #ffc107;
    transform: translateY(-1px);
}

.cookie-policy {
    color: var(--text-light);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-policy:hover {
    color: var(--accent-color);
}

/* HEADER */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideInRight 0.8s ease-out;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.logo svg {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.logo:hover svg {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover:after {
    width: 100%;
}

.contact-phone {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    transition: var(--transition);
}

.contact-phone:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: scale(1.05);
}

/* MAIN CONTENT */
.main {
    animation: fadeIn 1s ease-out;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 211, 105, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    animation: slideInRight 0.8s ease-out;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.hero-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ABOUT SECTION */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.about-text h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 25px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.about-image {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* BENEFITS SECTION */
.benefits {
    padding: 100px 0;
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeIn 0.8s ease-out;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

.benefit-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* SERVICES SECTION */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    animation: fadeIn 0.8s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    margin-top: 20px;
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: 100px 0;
    background: var(--secondary-color);
    color: var(--text-light);
}

.testimonials .section-header h2 {
    color: var(--text-light);
}

.testimonials .section-header p {
    color: #ccc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    animation: fadeIn 0.8s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author strong {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    display: block;
    color: #ccc;
    margin-top: 5px;
}

/* FAQ SECTION */
.faq {
    padding: 100px 0;
    background: var(--light-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeIn 0.8s ease-out;
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-item h3 {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 25px 30px;
    margin: 0;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover h3 {
    background: #e63946;
}

.faq-item p {
    padding: 25px 30px;
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* CONTACT SECTION */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    animation: slideInLeft 0.8s ease-out;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: var(--secondary-color);
    display: inline-block;
    width: 100px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: #e63946;
}

/* CONTACT FORM */
.contact-form-wrapper {
    animation: slideInRight 0.8s ease-out;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.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(255, 74, 74, 0.1);
}

.form-checkboxes {
    margin: 30px 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    transform: scale(1.2);
}

.checkbox-group label {
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    line-height: 1.6;
    color: #ccc;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #999;
}

/* THANKS PAGE */
.thanks-page {
    padding: 100px 0;
    background: var(--light-bg);
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.thanks-icon {
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.thanks-page h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.thanks-message {
    margin-bottom: 50px;
}

.lead {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
}

.next-steps h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step p {
    color: #666;
    line-height: 1.5;
}

.contact-urgent {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.contact-urgent h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.urgent-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.urgent-contact .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LEGAL PAGES */
.legal-page {
    padding: 80px 0;
    background: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.legal-intro {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.6;
    padding: 25px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}

.legal-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-section h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.cookie-table {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--primary-color);
    text-align: center;
}

.legal-navigation {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* RESPONSIVE DESIGN - MOBILE FIRST */

/* Mobile Styles (default) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .urgent-contact {
        flex-direction: column;
    }
    
    .legal-navigation {
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1025px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* PRINT STYLES */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-header h2::after {
        display: none;
    }
}

/* ACCESSIBILITY IMPROVEMENTS */
@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) {
    :root {
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
    
    .btn-outline {
        border-width: 3px;
    }
} 