/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* maestrito2/styles.css */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f97316;
    --light-gray: #f8fafc; 
    --dark-gray: #1e293b;
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --header-height: 70px;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
}

/* --- Reset Básico y Body --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--dark-gray);
    background: linear-gradient(to bottom, #ffffff, #f8fafc); 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-height);
    font-feature-settings: 'rlig' 1, 'calt' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex-grow: 1;
    width: 100%;
}

/* --- Header --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.logo {
    flex-shrink: 0; 
    z-index: 1006;
}
.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Navegación Desktop */
.desktop-nav {
    display: none; 
}
.desktop-nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0; 
    margin: 0;  
}
.desktop-nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 6px;
    font-size: var(--text-sm);
}
.desktop-nav a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}
.desktop-nav a .fa-xs {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.2s ease;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.desktop-nav a:hover::after {
    width: 80%;
}

/* Dropdown Productos Desktop (CSS Hover) */
.dropdown-desktop {
    position: relative;
}
.desktop-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.15);
    z-index: 1001;
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    border-top: 3px solid var(--primary-color);
    padding: 8px 0;
}
.dropdown-desktop:hover .desktop-dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}
.desktop-dropdown-content a {
    color: var(--dark-gray);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    clear: both;
    white-space: nowrap;
}
.desktop-dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}
.desktop-dropdown-content a::after { display: none; }


/* Botón Hamburguesa */
.hamburger {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1012;
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Acciones de Autenticación */
.auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1006;
}

.user-icon-mobile {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}
.user-icon-mobile:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.user-name-desktop {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--dark-gray);
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}
.user-name-desktop:hover {
    background-color: var(--light-gray);
}
.user-name-desktop .fa-user-circle {
    font-size: 1.4em; 
}
.user-name-desktop .fa-xs {
    font-size: 0.7em;
    transition: transform 0.2s ease;
}
.user-dropdown.active .user-name-desktop .fa-xs {
    transform: rotate(180deg);
}

.user-badge {
    font-size: 0.7rem; 
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.user-badge.admin { background-color: #dc3545; color: white; }
.user-badge.employee { background-color: #0d6efd; color: white; }

.auth-buttons-login-register {
    display: flex;
    gap: 10px;
}
.btn-login, .btn-register {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 2px solid transparent;
    font-size: var(--text-sm);
    position: relative;
    overflow: hidden;
}
.btn-login {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-login:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-register {
    background: var(--gradient-accent);
    color: white;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}
.btn-register:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.user-dropdown {
    position: relative;
}
.auth-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: white;
    min-width: 230px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
    z-index: 1001;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    border-top: 3px solid var(--accent-color);
    padding: 8px 0;
}
.user-dropdown.active .auth-dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}
.auth-dropdown-content a {
    color: var(--dark-gray);
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s, color 0.2s;
}
.auth-dropdown-content a i.fa-fw {
    width: 1.2em;
    text-align: center;
    color: var(--primary-color);
    transition: color 0.2s;
}
.auth-dropdown-content a:hover {
    background-color: var(--primary-color);
    color: white;
}
.auth-dropdown-content a:hover i.fa-fw {
    color: white;
}


/* Menú Móvil */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: white;
    box-shadow: 3px 0 15px rgba(0,0,0,0.2);
    padding-top: var(--header-height);
    z-index: 1011;
    transition: left 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow-y: auto;
}
.mobile-menu-overlay.active .mobile-nav {
    left: 0;
}

.close-btn {
    position: absolute;
    top: calc((var(--header-height) - 40px) / 2);
    right: 15px;
    font-size: 30px; 
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-gray);
    padding: 5px;
    line-height: 1;
    z-index: 1012;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-nav ul li a, .mobile-nav ul li .mobile-menu-productos-trigger {
    text-decoration: none;
    color: var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.mobile-nav ul li a:hover, .mobile-nav ul li .mobile-menu-productos-trigger:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}
.mobile-nav .submenu {
    padding-left: 0;
    background-color: #f9f9f9;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-bottom 0.3s ease-out;
}
.mobile-nav .submenu.open {
    display: block;
    max-height: 600px; 
    padding-bottom: 10px;
}
.mobile-nav .submenu a {
    padding-left: 35px;
    border-top: 1px solid #eee;
    border-bottom: none;
}
.mobile-nav .mobile-menu-productos-trigger .fa-xs {
    transition: transform 0.3s ease;
}
.mobile-nav .mobile-menu-productos-trigger.open .fa-xs {
    transform: rotate(180deg);
}

.mobile-nav .mobile-menu-separator hr {
    margin: 15px 20px;
    border: 0;
    border-top: 1px solid #ddd;
}
.mobile-nav .btn-login-mobile, .mobile-nav .btn-register-mobile {
    display: block;
    margin: 15px 20px;
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
}
.mobile-nav .btn-login-mobile {
    background-color: var(--primary-color);
    color: white;
}
.mobile-nav .btn-register-mobile {
    background-color: var(--accent-color);
    color: white;
}

/* === ESTILOS PARA INDEX.PHP (Hero Banner) === */
.hero-banner {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.8)), url('img/port.png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
    min-height: calc(70vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    margin-bottom: 20px;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}
.hero-content p {
    margin-bottom: 30px;
    max-width: 600px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-content .cta-button, .hero-cta-button { 
    background: var(--gradient-accent);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    display: inline-block;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-content .cta-button:hover, .hero-cta-button:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%); 
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}


/* === ESTILOS PARA INDEX.PHP (Secciones Features, Productos, Testimonios, CTA) === */
.features, .highlight-products, .testimonials, .cta-section {
    padding: 60px 20px; 
    text-align: center;
}
.features { background-color: white; }
.highlight-products { background-color: var(--light-gray); }
.testimonials { background-color: white; } 
.cta-section { background-color: var(--secondary-color); color: white; }


.feature-container, 
.testimonial-container, 
.cta-content,
.pavco-content-container { 
    max-width: 1200px;
    margin: 0 auto;
}

.feature-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}
.feature {
    text-align: center;
    flex-basis: 300px; 
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature i {
    font-size: 3.5rem; 
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.feature h3 {
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1.3rem;
}
.feature p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.section-title {
    margin-bottom: 50px;
    color: var(--dark-gray);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    font-size: var(--text-3xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}
.cta-section .section-title { color: white; }
.cta-section .section-title::after { background-color: var(--accent-color); }


/* Estilos para la nueva sección de Pavco */
.pavco-brand-section {
    background-color: #f0f4f8; 
    padding: 60px 20px;
}
.pavco-content-container {
    max-width: 900px; 
    margin: 0 auto;
    text-align: center;
}
.pavco-info {
    background-color: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.pavco-logo {
    max-width: 200px; 
    height: auto;
    margin-bottom: 25px;
}
.pavco-description {
    color: #444;
    line-height: 1.7;
    margin-bottom: 30px;
}
.pavco-info .cta-button { 
    background: var(--gradient-primary);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    font-size: var(--text-base);
}
.pavco-info .cta-button:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Estilo para la sección de testimonios con imagen de fondo */
.testimonials-background {
    /* CORRECCIÓN DE RUTA: Si styles.css está en maestrito2/ y img/ está en maestrito2/img/ */
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('img/maestritohuancayo.png'); 
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    padding: 60px 20px;
}
.testimonials-background .section-title {
    color: var(--dark-gray); 
}
.testimonials-background .testimonial {
    background-color: rgba(255, 255, 255, 0.9); 
    border: 1px solid #e0e0e0;
}


.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
}
.testimonial {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: left;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}
.testimonial p::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: -5px;
    color: var(--primary-color);
    opacity: 0.6;
}
.client-info {
    display: flex;
    align-items: center;
}
.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}
.client-info strong {
    display: block;
    color: var(--dark-gray);
    font-weight: 600;
}
.client-info span {
    color: #777;
}

.cta-content {
    max-width: 800px;
}
.cta-section p {
    margin-bottom: 30px;
    line-height: 1.7;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-buttons .cta-button {
    background: var(--gradient-accent);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    margin: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    font-size: var(--text-base);
    position: relative;
    overflow: hidden;
}
.cta-buttons .cta-button:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.cta-buttons .cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: none;
}
.cta-buttons .cta-button.secondary:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* === INICIO ESTILOS GLOBALES FOOTER (Estilo Claro con Letras Negras - ORIGINAL) === */
footer {
    background-color: var(--light-gray, #f8f9fa);
    color: var(--dark-gray, #333);
    padding: 50px 0 20px;
    line-height: 1.7;
    border-top: 1px solid #e0e0e0;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}
.footer-column {
    flex: 1;
    min-width: 220px;
    margin-bottom: 30px;
}
.footer-column h3 {
    color: var(--primary-color, #0056b3);
    margin-bottom: 18px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color, #ff5722);
    display: inline-block;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    text-decoration: none;
    color: var(--dark-gray, #333);
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-column ul li a:hover {
    color: var(--accent-color, #ff5722);
    padding-left: 5px;
}
.footer-column.social .social-icons a {
    display: inline-block;
    margin-right: 15px;
    color: var(--dark-gray, #333);
    font-size: 1.5rem; 
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-column.social .social-icons a:hover {
    color: var(--accent-color, #ff5722);
    transform: scale(1.1);
}
.footer-column.social img {
    width: 30px;
    height: 30px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-right: 12px;
}
.footer-column.social img:hover {
    opacity: 1;
    transform: scale(1.12);
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 30px;
    border-top: 1px solid #ced4da;
    color: #555;
}
.footer-bottom a {
    color: var(--primary-color, #0056b3);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: var(--accent-color, #ff5722);
    text-decoration: underline;
}
.footer-bottom .fa-heart {
    color: var(--accent-color, #ff5722);
}
/* === FIN ESTILOS GLOBALES FOOTER (Estilo Claro con Letras Negras - ORIGINAL) === */


/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Efectos hover para features */
.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature:hover i {
    transform: scale(1.1);
}

/* Efectos hover para testimonials */
.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Efectos hover para secciones */
.features, .highlight-products, .testimonials, .cta-section {
    position: relative;
}

.feature {
    animation: fadeInUp 0.8s ease-out both;
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }

.testimonial {
    animation: fadeInUp 0.8s ease-out both;
}

.testimonial:nth-child(2) { animation-delay: 0.2s; }
.testimonial:nth-child(3) { animation-delay: 0.4s; }
.testimonial:nth-child(4) { animation-delay: 0.6s; }
.testimonial:nth-child(5) { animation-delay: 0.8s; }
.testimonial:nth-child(6) { animation-delay: 1s; }

/* --- Media Queries Generales --- */
/* Estilos para DESKTOP (PC) */
@media (min-width: 992px) {
    .hamburger, .mobile-menu-overlay, .user-icon-mobile { display: none !important; }
    .desktop-nav, .user-name-desktop { display: flex !important; }

    .header-container {
        justify-content: space-between; 
        align-items: center;
    }
    .logo {
        position: static; 
        transform: none;
        margin-right: 0; 
        flex-shrink: 0; 
    }
    .desktop-nav {
        flex-grow: 1; 
        display: flex;
        justify-content: center; 
        margin-left: 20px; 
        margin-right: 20px; 
    }
    .auth-actions {
        margin-left: 0; 
        flex-shrink: 0; 
    }
}

/* Estilos para MÓVIL Y TABLET */
@media (max-width: 991px) {
    body { padding-top: var(--header-height); }
    .desktop-nav, .user-name-desktop { display: none !important; }
    .auth-actions > .auth-buttons-login-register { display: none !important; }

    .hamburger { display: block !important; order: -1; margin-left: -10px;}
    .user-icon-mobile { display: flex !important; }

    .header-container {
        justify-content: space-between;
        padding: 0 20px;
    }
    .logo {
        position: absolute; 
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
    }
    .logo img { height: 40px; }

    .auth-actions { order: 1; margin-left: 0; }
    
    .auth-dropdown-content {
        top: calc(100% + 5px); right: 0; left: auto; min-width: 240px;
    }

    .hero-banner { 
        min-height: calc(60vh - var(--header-height)); 
        padding: 80px 20px 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 25px;
    }
    
    .hero-content .cta-button, .hero-cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .feature-container { 
        flex-direction: column; 
        align-items: center; 
        gap: 25px;
    }
    .feature { 
        flex-basis: auto; 
        width: 90%; 
        max-width: 350px;
        padding: 25px;
    }
        
    .testimonial-container { 
        grid-template-columns: 1fr; 
        gap: 25px;
        padding: 0 20px;
    }
    
    .testimonial {
        padding: 25px;
    }
    
    .pavco-info { 
        padding: 25px; 
        margin: 0 20px;
    }
    .pavco-logo { max-width: 150px; }
    
    .section-title {
        font-size: var(--text-2xl);
        margin-bottom: 35px;
    }
    
    .features, .highlight-products, .testimonials, .cta-section {
        padding: 50px 20px;
    }
    
    .footer-container { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        gap: 30px;
    }
    .footer-column { 
        min-width: 100%; 
        text-align: center; 
    }
    .footer-column h3 { 
        display: block; 
        border-bottom: 1px solid var(--accent-color); 
        padding-bottom: 8px; 
    }
    .footer-column.social .social-icons { justify-content: center; }
}

/* Estilos para móviles pequeños */
@media (max-width: 480px) {
    .hero-banner {
        padding: 60px 15px 40px;
    }
    
    .feature {
        width: 95%;
        padding: 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .pavco-info {
        padding: 20px;
        margin: 0 15px;
    }
    
    .features, .highlight-products, .testimonials, .cta-section {
        padding: 40px 15px;
    }
    
    .client-info img {
        width: 50px;
        height: 50px;
    }
    
    .client-info strong {
        font-size: var(--text-sm);
        font-weight: 600;
    }
    
    .client-info span {
        font-size: var(--text-xs);
    }
}