/* 
==============================================
ESTILOS GLOBALES
==============================================
*/

:root {
    /* Paleta de colores principal */
    --primary-color: #2E4057;
    --secondary-color: #048BA8;
    --accent-color: #F18F01;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #F5F7FA;
    --background-dark: #1A2A36;
    --white: #FFFFFF;
    --light-gray: #EEEEEE;
    --border-color: #DDDDDD;
    --success-color: #2ECC71;
    --error-color: #E74C3C;
    
    /* Fuentes */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Tamaños */
    --container-width: 1200px;
    --section-spacing: 100px;
    --element-spacing: 30px;
    
    /* Sombras y efectos */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

h1 {
    font-size: 4.8rem;
    margin-bottom: 3rem;
}

h2 {
    font-size: 3.6rem;
    position: relative;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.section-header.left-align {
    text-align: left;
    margin-left: 0;
}

.section-header p {
    font-size: 1.8rem;
    color: var(--text-light);
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

/* 
==============================================
BOTONES Y ELEMENTOS INTERACTIVOS
==============================================
*/

.btn-primary,
.btn-secondary,
.btn-cta,
.btn-submit {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
    font-size: 1.6rem;
    padding: 1.8rem 3.5rem;
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    width: 100%;
    font-size: 1.6rem;
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-consultation {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-consultation:hover {
    background-color: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
    color: var(--white);
}

/* 
==============================================
HEADER Y NAVEGACIÓN
==============================================
*/

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    padding: 2rem 0;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

#header.scrolled {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 180px;
}

.logo img {
    width: 100%;
}

nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    align-items: center;
}

.main-menu li {
    margin-left: 3rem;
}

.main-menu li:first-child {
    margin-left: 0;
}

.main-menu a {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* 
==============================================
SECCIÓN HERO
==============================================
*/

.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
}

.hero-content h1 {
    margin-bottom: 2rem;
    font-size: 4.2rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 2rem;
}

.hero-image {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.hero-stats {
    background-color: var(--white);
    padding: 3rem 0;
    margin-top: 5rem;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    flex: 0 0 30%;
}

.stat-number {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}

.stat-item p {
    margin-bottom: 0;
    font-size: 1.6rem;
}

/* 
==============================================
SECCIÓN SERVICIOS
==============================================
*/

.services-section {
    padding: var(--section-spacing) 0;
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 4rem 3rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(4, 139, 168, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(4, 139, 168, 0.2);
    transform: scale(1.1);
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.service-features {
    margin-bottom: 3rem;
    text-align: left;
}

.service-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link:hover::after {
    margin-left: 10px;
}

/* 
==============================================
SECCIÓN BENEFICIOS
==============================================
*/

.benefits-section {
    padding: var(--section-spacing) 0;
    background: url('images/benefit.jpg') center/cover no-repeat;
    position: relative;
    color: var(--white);
}

.benefits-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 64, 87, 0.9) 0%, rgba(4, 139, 168, 0.8) 100%);
}

.benefits-content {
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
}

.benefit-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.benefit-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.benefit-text h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* 
==============================================
SECCIÓN CTA
==============================================
*/

.cta-section {
    padding: 7rem 0;
    background: linear-gradient(90deg, var(--accent-color), #F9B248);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

/* 
==============================================
SECCIÓN PROCESO
==============================================
*/

.process-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto 6rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4rem;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 700;
    border-radius: 50%;
    z-index: 2;
    position: relative;
    font-family: var(--heading-font);
    transition: var(--transition);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(4, 139, 168, 0.5);
}

.timeline-content {
    padding: 0 3rem;
    flex: 1;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.process-image {
    margin-top: 6rem;
    text-align: center;
}

.process-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* 
==============================================
SECCIÓN FAQ
==============================================
*/

.faq-section {
    padding: 8rem 0;
    background-color: var(--background-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2rem 3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
    flex: 1;
}

.faq-toggle {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 3rem 2rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.faq-item.active .faq-question {
    background-color: rgba(4, 139, 168, 0.05);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* 
==============================================
SECCIÓN TESTIMONIOS
==============================================
*/

.testimonials-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    width: 100%;
}

.testimonial-content {
    background-color: var(--background-light);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 8rem;
    line-height: 1;
    color: rgba(4, 139, 168, 0.1);
    font-family: serif;
}

.testimonial-text {
    margin-bottom: 3rem;
}

.testimonial-text p {
    font-style: italic;
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
    border: 3px solid var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1.4rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.testimonial-prev,
.testimonial-next {
    background: transparent;
    border: none;
    font-size: 3rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    padding: 0 1rem;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--secondary-color);
}

.testimonial-dots {
    display: flex;
    margin: 0 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

/* 
==============================================
SECCIÓN CONTACTO
==============================================
*/

.contact-section {
    padding: var(--section-spacing) 0;
    background-color: var(--background-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-details {
    margin: 4rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: rgba(4, 139, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--secondary-color);
}

.contact-item:hover .contact-icon img {
    filter: brightness(0) invert(1);
}

.contact-icon img {
    width: 25px;
    height: 25px;
    transition: var(--transition);
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form-container {
    background-color: var(--white);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.4rem;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.form-group {
    flex: 0 0 calc(50% - 1rem);
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(4, 139, 168, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-weight: 400;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 
==============================================
NEWSLETTER
==============================================
*/

.newsletter-section {
    padding: 7rem 0;
    background-color: var(--primary-color);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-text {
    flex: 0 0 45%;
}

.newsletter-text h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.4rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.newsletter-form {
    flex: 0 0 50%;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 1.5rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1.6rem;
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: darken(var(--accent-color), 10%);
}

/* 
==============================================
FOOTER
==============================================
*/

.site-footer {
    background-color: var(--background-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 8rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5rem;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 300px;
    margin-bottom: 4rem;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 1.4rem;
}

/* 
==============================================
COOKIE CONSENT
==============================================
*/

.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    z-index: 9999;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 2rem;
    flex: 1;
}

.cookie-content a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-accept {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-cookie-accept:hover {
    background-color: darken(var(--accent-color), 10%);
}

.btn-cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 
==============================================
BACK TO TOP
==============================================
*/

.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    font-size: 2.4rem;
    box-shadow: var(--box-shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* 
==============================================
RESPONSIVE
==============================================
*/

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
    
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%;
    }
    
    .container {
        max-width: 720px;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-content {
        margin-bottom: 5rem;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    .newsletter-text,
    .newsletter-form {
        flex: 0 0 100%;
    }
    
    .newsletter-text {
        text-align: center;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 10rem 3rem 3rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .main-menu li {
        margin: 0 0 2rem 0;
        width: 100%;
    }
    
    .main-menu a {
        display: block;
        font-size: 1.8rem;
    }
    
    .service-card {
        margin-bottom: 3rem;
    }
    
    .stats-grid,
    .benefits-grid {
        flex-direction: column;
        gap: 3rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .cta-content h2 {
        font-size: 2.8rem;
    }
    
    .contact-form-container {
        padding: 3rem 2rem;
    }
    
    .form-group {
        flex: 0 0 100%;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 2rem;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .timeline-number {
        width: 6rem;
        height: 6rem;
        font-size: 2.2rem;
    }
    
    .process-timeline::before {
        left: 3rem;
    }
    
    .testimonial-content {
        padding: 3rem 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: 5px;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-links {
        flex: 0 0 100%;
    }
    
    .back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
    }
}