/* --- Reseteo Básico y Globales --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0f172a;
    --accent-color: #f59e0b;
    --accent-color-rgb: 245, 158, 11; /* Valor RGB del color de acento para gradientes con transparencia */
    --text-light: #f8fafc;
    --text-dark: #1e293b;
    --bg-light: #ffffff;
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
    /* Evita espacios extra debajo de la imagen/video */
}

/* --- Estilos del Header --- */
.site-header {
    background-color: transparent;
    padding: 1.5rem 2rem;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Removido position fixed para que baje con scroll */
}

.site-header.scrolled {
    background-color: rgba(15, 23, 42, 0.98) !important;
    padding: 1rem 2rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 -20px 40px rgba(0, 0, 0, 0.6),
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header.scrolled::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
    z-index: -1;
}

.site-header.scrolled .logo-image {
    height: 35px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}

.site-header.scrolled .main-navigation a {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.7));
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.8));
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation li {
    position: relative;
    /* Eliminado opacity: 0 para garantizar visibilidad si GSAP falla */
}

.main-navigation a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.main-navigation a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* --- Contenedor Principal --- */
.page-content-wrapper {
    width: 100%;
    margin: 0;
    background-color: transparent;
    overflow-x: hidden;
}


/* --- Estilos de la Sección Hero --- */
.hero-section {
    position: relative;
    color: white;
    min-height: 100vh;
    border-radius: 0 0 3rem 3rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Overlay semitransparente para mejorar contraste con el contenido */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: 2; /* Por encima del video pero debajo del contenido */
}

.hero-video,
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content-overlay {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 120px 5% 40px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 30%, transparent 100%);
}

.hero-text-block {
    max-width: 600px;
    /* Eliminamos las propiedades que causan invisibilidad inicial */
    /* Las animaciones se manejarán completamente desde GSAP */
}

.hero-content-overlay h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.3em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content-overlay p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 1.8em;
    max-width: 550px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.btn-hero {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-controls {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    /* Eliminado opacity: 0 para garantizar visibilidad si GSAP falla */
}

.scroll-down-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.scroll-down-indicator span {
    margin-bottom: 0;
}

.scroll-arrow-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sección de Servicios */
.services-section {
    padding: 100px 30px;
    background-color: #ffffff;
    width: 100%;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-top: 0;
    color: #222;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

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

.service-card {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.service-icon {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #222;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* --- Estilos del Menú Hamburguesa --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-icon-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 6px 0;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open .menu-icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open .menu-icon-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .menu-icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* --- Contact Section Styles --- */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
}

.btn-contact {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #e59001;
    transform: translateY(-2px);
}

/* --- Help Section Styles --- */
.help-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
}

.help-section .section-header h2 {
    color: white;
}

.help-section .subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.help-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.help-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.help-icon i {
    font-size: 2rem;
    color: white;
}

.help-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.help-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.help-card ul {
    text-align: left;
    margin-bottom: 2rem;
}

.help-card ul li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.btn-help {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-help:hover {
    background: #e59001;
    transform: translateY(-2px);
    color: white;
}

/* --- Media Queries para Responsividad Mejorada --- */

/* Pantallas grandes (laptops y escritorios grandes) */
@media (max-width: 1400px) {
    .header-container {
        max-width: 1200px;
        padding: 0 2rem;
    }
    
    .section-container {
        max-width: 1100px;
        padding: 0 2rem;
    }
}

/* Pantallas medianas-grandes (laptops) */
@media (max-width: 1200px) {
    .hero-content-overlay h1 {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    .section-container {
        padding: 0 1.5rem;
    }
}

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .hero-text-block {
        max-width: 500px;
    }
    
    .hero-content-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
        padding: 80px 6% 40px;
    }
    
    .main-navigation ul {
        gap: 1.5rem;
    }
    
    .main-navigation a {
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    /* Ajustes para secciones */
    .process-steps,
    .why-us-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .tools-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablets y móviles grandes */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.5rem;
        position: relative;
    }
    
    .site-header.scrolled {
        padding: 0.8rem 1.5rem;
    }
    
    .site-header.scrolled .logo-image {
        height: 28px;
    }

    .header-container {
        padding: 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        padding: 8px;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }

    .menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .menu-icon-bar {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-light);
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
        transform-origin: center;
    }

    .menu-toggle.open .menu-icon-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.open .menu-icon-bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .menu-icon-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .hero-section {
        border-radius: 0 0 1.5rem 1.5rem;
        min-height: 80vh;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .main-navigation li {
        opacity: 1;
        width: 100%;
        text-align: left;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-light);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .main-navigation a:hover {
        padding-left: 1rem;
        color: var(--accent-color);
    }

    .hero-content-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
        padding: 120px 5% 40px;
        text-align: center;
        align-items: center;
        flex-direction: column;
    }
    
    .hero-text-block {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-controls {
        position: relative;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .scroll-down-indicator {
        margin-bottom: 0;
    }
    
    /* Ajustes para secciones */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .help-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .help-card {
        padding: 2rem;
    }
    
    .contact-section,
    .help-section {
        padding: 3rem 0;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-us-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tools-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-content {
        order: 2;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .site-header {
        padding: 0.8rem 1rem;
        position: relative;
    }
    
    .site-header.scrolled {
        padding: 0.6rem 1rem;
    }
    
    .site-header.scrolled .logo-image {
        height: 25px;
    }

    .header-container {
        padding: 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .hero-content-overlay {
        padding: 100px 4% 30px;
    }
    
    .hero-content-overlay h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-content-overlay p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .help-card {
        padding: 1.5rem;
    }
    
    .contact-section,
    .help-section {
        padding: 2rem 0;
    }
    
    .tools-container {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .tool-card {
        padding: 1rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .flip-card {
        min-height: 250px;
    }
    
    /* Ajustes del menú móvil */
    .main-navigation {
        width: 100%;
        max-width: 100%;
        padding: 5rem 1.5rem 2rem;
    }
    
    .main-navigation a {
        font-size: 1rem;
        padding: 0.8rem 0;
    }

    .menu-toggle {
        padding: 6px;
    }

    .menu-icon-bar {
        width: 22px;
        height: 2px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 400px) {
    .site-header {
        padding: 0.6rem 0.8rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero-content-overlay h1 {
        font-size: 1.8rem;
    }

    .hero-content-overlay {
        padding: 80px 3% 20px;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    
    .tools-container {
        grid-template-columns: 1fr;
    }

    .main-navigation {
        max-width: 100%;
        padding: 4rem 1rem 2rem;
    }

    .main-navigation a {
        font-size: 0.95rem;
        padding: 0.7rem 0;
    }

    .menu-toggle {
        padding: 4px;
    }

    .menu-icon-bar {
        width: 20px;
        height: 2px;
        margin: 4px 0;
    }

    .section-container {
        padding: 0 0.8rem;
    }

    .process-step {
        padding: 1.2rem;
    }

    .help-card {
        padding: 1.2rem;
    }
}

/* --- About Section Video Styles --- */
.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about-video:hover {
    transform: scale(1.02);
}

.about-fallback-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* --- Catalog Link Styles --- */
.catalog-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.catalog-link:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-1px);
}

/* --- About Content Text Improvements --- */
.about-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.about-content p:last-of-type {
    margin-bottom: 2rem;
}

/* Monitores pequeños y laptops */
@media (max-width: 1366px) {
    .site-header {
        padding: 1rem 1.5rem;
    }

    .header-container {
        max-width: 1200px;
    }

    .logo {
        font-size: 1.6rem;
    }

    .main-navigation ul {
        gap: 1.5rem;
    }

    .main-navigation a {
        font-size: 0.9rem;
    }

    .hero-content-overlay {
        padding: 100px 4% 35px;
    }

    .hero-content-overlay h1 {
        font-size: clamp(2.8rem, 5.5vw, 4.2rem);
        margin-bottom: 0.4em;
    }

    .hero-content-overlay p {
        font-size: clamp(1.1rem, 2.2vw, 1.35rem);
        margin-bottom: 1.5em;
    }

    .btn-hero {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .scroll-down-indicator {
        font-size: 0.85rem;
    }

    .scroll-arrow-wrapper {
        width: 40px;
        height: 40px;
    }

    /* Ajustes de secciones */
    .process-section {
        padding: 70px 15px;
    }

    .process-description {
        max-width: 700px;
        padding: 25px;
    }

    .process-description p {
        font-size: 1rem;
    }

    .why-us-section {
        padding: 90px 25px;
        min-height: 90vh;
    }

    .about-section {
        padding: 70px 15px;
    }

    .testimonials-section {
        padding: 70px 15px;
    }

    .google-reviews-header {
        margin-bottom: 35px;
    }

    .google-rating-average {
        font-size: 2.4rem;
    }

    .google-rating-count {
        font-size: 0.9rem;
    }
}

/* Laptops estándar 1200px */
@media (max-width: 1200px) and (min-width: 992px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-content-overlay {
        padding: 90px 3.5% 30px;
    }

    .hero-content-overlay h1 {
        font-size: clamp(2.5rem, 5vw, 3.8rem);
    }

    .hero-content-overlay p {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }

    .btn-hero {
        padding: 13px 33px;
        font-size: 0.95rem;
    }

    .process-section {
        padding: 60px 12px;
    }

    .process-description {
        max-width: 650px;
        padding: 22px;
    }

    .why-us-section {
        padding: 80px 20px;
        min-height: 85vh;
    }

    .about-section {
        padding: 60px 12px;
    }

    .testimonials-section {
        padding: 60px 12px;
    }
}

/* --- Mejoras específicas para monitores pequeños --- */
@media (max-width: 1366px) and (min-width: 1024px) {
    .hero-section {
        min-height: 85vh;
    }

    .hero-content-overlay {
        padding: 100px 4% 35px;
    }

    .hero-content-overlay h1 {
        font-size: clamp(2.8rem, 5.5vw, 4.2rem);
        margin-bottom: 0.4em;
    }

    .hero-content-overlay p {
        font-size: clamp(1.1rem, 2.2vw, 1.35rem);
        margin-bottom: 1.5em;
    }

    .btn-hero {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .scroll-down-indicator {
        font-size: 0.85rem;
    }

    .scroll-arrow-wrapper {
        width: 40px;
        height: 40px;
    }

    /* Ajustes de secciones */
    .process-section {
        padding: 70px 15px;
    }

    .process-description {
        max-width: 700px;
        padding: 25px;
    }

    .process-description p {
        font-size: 1rem;
    }

    .why-us-section {
        padding: 90px 25px;
        min-height: 90vh;
    }

    .about-section {
        padding: 70px 15px;
    }

    .testimonials-section {
        padding: 70px 15px;
    }

    .google-reviews-header {
        margin-bottom: 35px;
    }

    .google-rating-average {
        font-size: 2.4rem;
    }

    .google-rating-count {
        font-size: 0.9rem;
    }
}

/* --- Estilos adicionales para el header --- */
.site-header .menu-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header .menu-icon-bar {
    background-color: var(--text-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* --- Animación suave para el header --- */
@media (prefers-reduced-motion: no-preference) {
    .site-header {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .site-header.scrolled {
        animation: fadeInHeader 0.4s ease-out;
    }
}

@keyframes fadeInHeader {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

/* --- Mejoras adicionales para el header en móviles --- */
@media (max-width: 768px) {
    .site-header .menu-toggle {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    .site-header .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.05);
    }
    
    .site-header .menu-toggle:active {
        transform: scale(0.95);
    }
}

/* --- Responsive ultra-refinado --- */
/* Orientación horizontal en móviles */
@media (max-width: 896px) and (orientation: landscape) and (max-height: 414px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content-overlay {
        padding: 60px 5% 20px;
    }
    
    .hero-content-overlay h1 {
        font-size: 2rem;
        margin-bottom: 0.3em;
    }
    
    .hero-content-overlay p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn-hero {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .scroll-down-indicator {
        font-size: 0.75rem;
    }
    
    .scroll-arrow-wrapper {
        width: 30px;
        height: 30px;
    }
}

/* Tabletas en orientación vertical */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-section {
        min-height: 85vh;
    }
    
    .hero-content-overlay {
        padding: 100px 6% 40px;
    }
    
    .hero-content-overlay h1 {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
    
    .hero-content-overlay p {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }
    
    .tools-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .why-us-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mejoras para textos muy pequeños */
@media (max-width: 320px) {
    .hero-content-overlay h1 {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    .hero-content-overlay p {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .site-header {
        padding: 0.5rem 0.6rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .section-container {
        padding: 0 0.6rem;
    }
    
    .main-navigation {
        padding: 3.5rem 0.8rem 1.5rem;
    }
    
    .main-navigation a {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
}

/* Mejoras para el scroll y navegación */
@media (max-width: 768px) {
    .scroll-down-indicator {
        bottom: 1rem;
    }
    
    .scroll-arrow-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .scroll-arrow {
        font-size: 1rem;
    }
    
    /* Mejoras para los botones */
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-height: 44px; /* Accesibilidad táctil */
    }
    
    /* Espaciado optimizado */
    .section-container {
        margin: 0 auto;
        max-width: 100%;
    }
    
    /* Mejoras para formularios en móvil */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        min-height: 44px; /* Accesibilidad táctil */
        font-size: 16px; /* Evita zoom en iOS */
    }
}

/* Ajustes finales para ultra pequeños */
@media (max-width: 280px) {
    .hero-content-overlay {
        padding: 60px 2% 15px;
    }
    
    .hero-content-overlay h1 {
        font-size: 1.4rem;
    }
    
    .hero-content-overlay p {
        font-size: 0.85rem;
    }
    
    .btn-hero {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    
    .site-header {
        padding: 0.4rem 0.5rem;
    }
    
    .logo {
        font-size: 0.9rem;
    }
}

/* Mejoras para dispositivos con densidad de píxeles alta */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .hero-content-overlay h1 {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .logo {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}