/* ===== VARIABLES CSS - TEMA OSCURO ELEGANTE ===== */
:root {
    /* ===== PALETA DE COLORES CLARA ===== */
    --color-primary: #6366f1;
    --color-secondary: #8b5cf6;
    --color-accent: #06b6d4;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    
    /* ===== COLORES BASE CLAROS ===== */
    --color-white: #ffffff;
    --color-light-gray: #f8fafc;
    --color-gray: #e2e8f0;
    --color-dark-gray: #64748b;
    --color-black: #1e293b;
    
    /* ===== COLORES DE FONDO ===== */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-accent: #f1f5f9;
    --bg-card: #ffffff;
    --bg-overlay: rgba(30, 41, 59, 0.1);
    
    /* ===== COLORES DE FONDO PARA CONTRASTE DE SECCIONES ===== */
    --bg-section-light: #f8fafc;
    --bg-section-dark: #ffffff;
    --bg-section-accent: #f1f5f9;
    --border-section: #e2e8f0;
    
    /* ===== COLORES DE TEXTO ===== */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* ===== GRADIENTES ===== */
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #0891b2);
    --gradient-accent: linear-gradient(135deg, #f59e0b, #d97706);
    
    /* ===== SOMBRAS ===== */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 25px -3px rgba(99, 102, 241, 0.3), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
    
    /* ===== TRANSICIONES ===== */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ===== BORDES ===== */
    --border-light: 1px solid #e2e8f0;
    --border-medium: 1px solid #cbd5e1;
    --border-strong: 1px solid #94a3b8;
    
    /* ===== RADIOS ===== */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Colores del registro de imprenta - versión oscura elegante */
    --color-magenta: #e91e63; /* Magenta más vibrante para contraste */
    --color-magenta-light: #f8bbd9;
    --color-magenta-dark: #c2185b;
    
    --color-cyan: #00bcd4; /* Cyan más brillante */
    --color-cyan-light: #84ffff;
    --color-cyan-dark: #0097a7;
    
    --color-yellow: #ffc107; /* Amarillo dorado más brillante */
    --color-yellow-light: #fff59d;
    --color-yellow-dark: #ff8f00;
    
    /* Gradientes elegantes para tema oscuro */
    --gradient-elegant: linear-gradient(135deg, var(--color-magenta-dark) 0%, var(--color-cyan-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--color-gray) 0%, var(--color-black) 100%);
    
    /* Sombras elegantes para tema oscuro */
    --shadow-magenta: 0 10px 30px rgba(233, 30, 99, 0.3);
    --shadow-cyan: 0 10px 30px rgba(0, 188, 212, 0.3);
    
    /* Transiciones suaves */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
}

/* ===== RESET Y ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

/* ===== ANIMACIONES CSS ELEGANTES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===== SECCIONES PRINCIPALES - TEMA CLARO CON CONTRASTE ===== */
section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--bg-section-light);
    transition: background-color 0.3s ease;
}

/* Secciones impares (inicio, galería, contacto) - Fondo más claro */
#inicio, #galeria, #contacto {
    background: var(--bg-section-light);
}

/* Secciones pares (servicios, quiénes somos) - Fondo más contrastante */
#servicios, #quienessomos {
    background: var(--bg-section-dark);
    position: relative;
}

/* Efecto sutil de separación entre secciones */
#servicios::before, #galeria::before, #quienessomos::before, #contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-section), transparent);
    opacity: 0.6;
}

/* Efecto de sombra sutil para mayor profundidad */
#servicios, #quienessomos {
    box-shadow: 
        inset 0 1px 0 rgba(0, 0, 0, 0.03),
        0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Efecto de transición suave al hacer scroll */
section:hover {
    background: var(--bg-section-accent);
}

/* Efecto de profundidad para secciones con contraste */
#servicios, #quienessomos {
    position: relative;
    z-index: 1;
}

#servicios::after, #quienessomos::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

/* Mejora del contraste en elementos internos */
#servicios .servicios, #quienessomos .about-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

/* ===== TÍTULOS DE SECCIÓN - TEMA CLARO ===== */
section h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Inter', sans-serif;
    position: relative;
    letter-spacing: -0.5px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: var(--shadow-primary);
}

/* ===== SECCIÓN GALERÍA - TEMA CLARO ===== */
#galeria {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.slideshow-container {
    width: 100%;
    max-width: 900px;
    height: 900px;
    position: relative;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: var(--bg-card);
    border: var(--border-light);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

.slide:first-child {
    opacity: 1;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

/* Botones de navegación */
.slide-prev, .slide-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 300;
    border: var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 20;
    backdrop-filter: blur(10px);
    opacity: 0;
    box-shadow: var(--shadow-medium);
}

.slideshow-container:hover .slide-prev,
.slideshow-container:hover .slide-next {
    opacity: 1;
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

.slide-prev:hover, .slide-next:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-primary);
}

/* Indicadores de puntos */
.slide-dots {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: var(--color-gray);
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.dot:first-child {
    background-color: var(--color-primary);
    border-color: var(--color-secondary);
    transform: scale(1.3);
}

.dot.active, .dot:hover {
    background-color: var(--color-primary);
    border-color: var(--color-secondary);
    transform: scale(1.3);
}

/* Animación de fade */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

/* ===== MODAL - TEMA CLARO ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.4s ease-out;
}

.modal.modal-open {
    animation: fadeInUp 0.4s ease-out;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    animation: zoom 0.4s ease-out;
}

.cerrar {
    position: absolute;
    right: 30px;
    top: 20px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.cerrar:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== CAMPOS DE CONTACTO RESTAURADOS ===== */
.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    border: var(--border-light);
    box-shadow: var(--shadow-medium);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition-smooth);
}

.form-group.focused {
    transform: translateY(-2px);
}

.form-group.error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.form-group.focused label {
    color: var(--color-primary);
}

form input, form textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-accent);
    border: var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--color-error);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

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

.error-message {
    color: var(--color-error);
    font-size: 14px;
    margin-top: 8px;
    display: block;
    animation: fadeInUp 0.3s ease-out;
    font-weight: 500;
}

.submit-btn {
    padding: 18px 50px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.submit-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.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.success {
    background: var(--color-success);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* ===== WHATSAPP CON ICONO CORRECTO ===== */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsappBounce 2s ease-in-out infinite;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp i {
    transition: transform 0.3s ease;
}

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

/* Efecto de pulso adicional */
.whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsappPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive para WhatsApp */
@media (max-width: 768px) {
    .whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .whatsapp i {
        font-size: 26px;
    }
}

/* Asegurar que todas las secciones se vean completas */
section {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Eliminar márgenes reservados en otras secciones */
#servicios, #galeria, #quienessomos, #contacto {
    margin-top: 0;
}

/* Responsive para navbar solo en inicio */
@media (max-width: 768px) {
    .navbar {
        max-width: 95%;
        padding: 15px 10px;
    }
    .navbar ul {
        flex-direction: column;
        gap: 15px;
    }
    .navbar ul li a {
        font-size: 15px;
    }
    
    section {
        padding: 60px 15px;
    }
    
    .slideshow-container {
        max-width: 95%;
        height: 400px;
    }
    
    .contact-form {
        padding: 40px 25px;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .navbar {
        border-radius: 12px;
    }
    
    section {
        padding: 50px 10px;
    }
    
    .slideshow-container {
        height: 300px;
        max-width: 300px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ===== ELEMENTOS DECORATIVOS ELEGANTES ===== */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
    filter: blur(1px);
}

.element-1 {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.element-2 {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    top: 65%;
    right: 12%;
    animation-delay: 3s;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: var(--color-yellow);
    bottom: 25%;
    left: 15%;
    animation-delay: 6s;
}

.element-4 {
    width: 60px;
    height: 60px;
    background: var(--color-cyan);
    top: 35%;
    right: 25%;
    animation-delay: 2s;
}

.element-5 {
    width: 140px;
    height: 140px;
    background: var(--color-magenta);
    bottom: 15%;
    right: 8%;
    animation-delay: 4s;
}

/* ===== SECCIÓN DE SERVICIOS - TEMA CLARO ===== */
#servicios {
    background: var(--bg-secondary);
}

.servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.servicio {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.servicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.servicio:hover::before {
    transform: scaleX(1);
}

.servicio:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--color-primary);
}

.servicio-imagen {
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.servicio-imagen img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
    border-radius: var(--radius-lg);
}

.servicio:hover .servicio-imagen img {
    transform: scale(1.05);
}

.servicio-imagen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: var(--transition-smooth);
}

.servicio:hover .servicio-imagen::after {
    opacity: 1;
}

.servicio-info {
    text-align: left;
}

.servicio-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    position: relative;
    letter-spacing: -0.5px;
}

.servicio-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

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

.servicio-info li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    transition: var(--transition-smooth);
}

.servicio-info li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 18px;
}

.servicio-info li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* ===== SECCIÓN DE MATERIALES PRINCIPALES - TEMA CLARO ===== */
.materiales-container {
    margin-top: 80px;
    padding: 60px 0;
    background: var(--bg-accent);
    border-radius: var(--radius-xl);
    border: var(--border-light);
}

.materiales-titulo {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 50px;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.materiales-titulo::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.materiales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.material {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    border: var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.material::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.material:hover::before {
    transform: scaleX(1);
}

.material:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--color-primary);
}

.material-icon {
    text-align: center;
    margin-bottom: 25px;
}

.material-icon i {
    font-size: 48px;
    color: var(--color-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 15px rgba(99, 102, 241, 0.3));
}

.material-info h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.material-info > p {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.espesores, .aplicaciones, .area-trabajo {
    margin-bottom: 20px;
}

.espesores h5, .aplicaciones h5, .area-trabajo h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

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

.espesores li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.espesores li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.espesores li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.aplicaciones p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

.area-trabajo p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.area-trabajo p strong {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Responsive para materiales */
@media (max-width: 768px) {
    .materiales-container {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .materiales-titulo {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .materiales {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .material {
        padding: 30px 20px;
    }
    
    .material-icon i {
        font-size: 40px;
    }
    
    .material-info h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .materiales-container {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .materiales-titulo {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .material {
        padding: 25px 15px;
    }
    
    .material-icon i {
        font-size: 36px;
    }
    
    .material-info h4 {
        font-size: 18px;
    }
    
    .espesores h5, .aplicaciones h5, .area-trabajo h5 {
        font-size: 16px;
    }
    
    section h2 {
        font-size: 32px;
    }
    
    .materiales-titulo {
        font-size: 28px;
    }
}

/* ===== ANIMACIONES DE ENTRADA ELEGANTES ===== */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

/* ===== EFECTOS ESPECIALES ELEGANTES ===== */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: inherit;
    z-index: -1;
}

.glow-effect:hover::after {
    opacity: 0.05;
}

/* ===== SCROLLBAR - TEMA CLARO ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-accent);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* ===== UTILIDADES ELEGANTES ===== */
.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;
}

/* ===== ANIMACIONES DE ANIMATE.CSS ELEGANTES ===== */
.animate__animated {
    animation-duration: 1.2s;
    animation-fill-mode: both;
}

.animate__delay-1s {
    animation-delay: 1s;
}

.animate__delay-2s {
    animation-delay: 2s;
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SECCIÓN QUIÉNES SOMOS - TEMA CLARO ===== */
#quienessomos {
    background: var(--bg-secondary);
}

#quienessomos h2 {
    margin-bottom: 40px;
}

#quienessomos h2::after {
    background: var(--gradient-primary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-align: justify;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE - TEMA CLARO ===== */
@media (max-width: 768px) {
    #inicio {
        padding: 40px 15px 30px 15px;
    }
    
    .logo {
        width: 400px;
        max-width: 90%;
    }
    
    .slogan-container p {
        font-size: 18px;
        max-width: 95%;
        line-height: 1.4;
        font-weight: 300;
        font-style: italic;
        text-align: center;
        display: block;
        width: 100%;
        margin: 20px auto;
    }
    
    .hero-content {
        padding: 20px;
        margin-left: 0;
    }
    
    .navbar {
        padding: 15px 20px;
    }
    
    .navbar ul {
        gap: 20px;
    }
    
    .navbar ul li a {
        font-size: 14px;
    }
    
    section {
        padding: 60px 15px;
    }
    
    .slideshow-container {
        height: 400px;
        max-width: 400px;
    }
    
    .contact-form {
        padding: 40px 25px;
    }
    
    .servicios {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* En móvil, el tercer servicio no necesita centrado especial */
    .servicios .servicio:nth-child(3) {
        grid-column: auto;
        justify-self: auto;
    }
    
    .servicio {
        padding: 30px 20px;
    }
    
    .servicio-imagen {
        height: 200px;
    }
    
    .servicio-info {
        padding: 30px 20px;
    }
    
    .servicio-info h3 {
        font-size: 24px;
    }
    
    .servicio-info li {
        font-size: 15px;
    }
    
    .materiales {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .material {
        padding: 30px 20px;
    }
    
    .material-icon i {
        font-size: 40px;
    }
    
    .material-info h4 {
        font-size: 20px;
    }
    
    .about-content {
        max-width: 95%;
        padding: 0 20px;
    }
    
    .about-content p {
        font-size: 16px;
        line-height: 1.7;
        text-align: left;
    }
}

@media (max-width: 480px) {
    #inicio {
        padding: 30px 10px 20px 10px;
    }
    
    .logo {
        width: 300px;
        max-width: 95%;
    }
    
    .slogan-container p {
        font-size: 18px;
        max-width: 95%;
        line-height: 1.4;
        font-weight: 300;
        font-style: italic;
        text-align: center;
        display: block;
        width: 100%;
        margin: 20px auto;
    }
    
    .hero-content {
        padding: 15px;
        margin-left: 0;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .slogan-container {
        margin-top: 20px;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .navbar {
        padding: 12px 15px;
    }
    
    .navbar ul {
        gap: 15px;
    }
    
    .navbar ul li a {
        font-size: 13px;
    }
    
    section {
        padding: 40px 10px;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .servicio-imagen {
        height: 180px;
    }
    
    .servicio-info {
        padding: 25px 15px;
    }
    
    .servicio-info h3 {
        font-size: 22px;
    }
    
    .servicio-info li {
        font-size: 14px;
    }
    
    .material {
        padding: 25px 15px;
    }
    
    .material-icon i {
        font-size: 36px;
    }
    
    .material-info h4 {
        font-size: 18px;
    }
    
    .espesores h5, .aplicaciones h5, .area-trabajo h5 {
        font-size: 16px;
    }
    
    section h2 {
        font-size: 32px;
    }
    
    .materiales-titulo {
        font-size: 28px;
    }
}

/* ===== SECCIÓN INICIO - TEMA CLARO ===== */
#inicio {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: 60px 20px 40px 20px;
}

#inicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.logo {
    width: 800px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: var(--transition-smooth);
    animation: logoFloat 6s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 15px 40px rgba(99, 102, 241, 0.3));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.slogan-container {
    margin-top: 20px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slogan-container p {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    text-align: center;
    margin: 20px 0;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0.9;
}

/* ===== NAVBAR - TEMA CLARO ===== */
.navbar-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.navbar {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
    border: var(--border-light);
    transition: var(--transition-smooth);
}

/* Ocultar logo en navbar de escritorio */
.navbar-logo {
    display: none;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 10px 0;
}

.navbar ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    border-radius: 1px;
}

.navbar ul li a:hover::before {
    width: 100%;
}

.navbar ul li a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ===== MENSAJES DE FORMULARIO ===== */
.success-message {
    background: linear-gradient(135deg, var(--color-success), #059669);
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-medium);
    animation: slideInDown 0.5s ease-out;
}

.success-message i {
    font-size: 24px;
    color: #ffffff;
}

.success-message p {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
}

.error-message-global {
    background: linear-gradient(135deg, var(--color-error), #dc2626);
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-medium);
    animation: slideInDown 0.5s ease-out;
}

.error-message-global i {
    font-size: 24px;
    color: #ffffff;
}

.error-message-global p {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ESTADOS DEL BOTÓN DE ENVÍO ===== */
.submit-btn.loading {
    background: var(--color-muted);
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-btn.success {
    background: var(--color-success);
    transform: scale(1.05);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE PARA MENSAJES ===== */
@media (max-width: 768px) {
    .success-message,
    .error-message-global {
        padding: 15px;
        margin: 15px 0;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .success-message i,
    .error-message-global i {
        font-size: 20px;
    }
    
    .success-message p,
    .error-message-global p {
        font-size: 14px;
    }
}

/* ===== SECCIÓN UBICACIÓN ===== */
#ubicacion {
    background: var(--bg-section-light);
    padding: 100px 20px;
}

.ubicacion-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.info-item i {
    font-size: 24px;
    color: var(--color-primary);
    margin-top: 5px;
    min-width: 24px;
}

.info-item h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.mapa-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.mapa-container:hover {
    box-shadow: var(--shadow-medium);
}

.mapa-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo h3 {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--color-primary);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.contact-info i {
    color: var(--color-primary);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--color-dark-gray);
    padding-top: 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ===== RESPONSIVE PARA UBICACIÓN Y FOOTER ===== */
@media (max-width: 768px) {
    .ubicacion-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 0 auto;
        max-width: 100%;
        justify-content: center;
    }
    
    .info-item {
        padding: 20px;
    }
    
    .info-item i {
        font-size: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        margin: 0 auto;
        max-width: 100%;
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #ubicacion {
        padding: 60px 15px;
    }
    
    .ubicacion-content {
        gap: 30px;
        margin: 0 auto;
        max-width: 100%;
        justify-content: center;
    }
    
    .info-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .info-item i {
        margin-top: 0;
        font-size: 24px;
        display: block;
        margin-bottom: 5px;
    }
    
    .info-item h3 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    
    .info-item p {
        margin: 0;
        line-height: 1.5;
    }
    
    .footer {
        padding: 40px 15px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* ===== BOTÓN TOGGLE NAVBAR - ESTILOS BASE ===== */
.navbar-toggle {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

.navbar-toggle span {
    width: 24px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    display: block;
    transition: 0.3s ease;
}

/* ===== RESPONSIVE PARA NAVEGACIÓN ===== */
@media (max-width: 768px) {
    .navbar-toggle {
        display: flex !important;
    }
    
    .navbar-toggle:hover {
        background: #f0f0f0;
        transform: scale(1.05);
    }
    
    /* Animación del botón cuando está activo */
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .navbar-container {
        display: block !important;
        position: fixed;
        top: 0;
        left: -60vw; /* Oculto por defecto - 60% del viewport width */
        width: 60vw; /* 60% del ancho de la pantalla */
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        transition: left 0.3s ease;
    }
    
    .navbar-container.active {
        left: 0; /* Visible cuando está activo */
    }
    
    .navbar {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 20px 0;
    }
    
    /* Logo en la navbar - solo visible en móviles */
    .navbar-logo {
        display: block !important;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .navbar-logo-img {
        width: 120px;
        height: auto;
        max-width: 80%;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
        transition: transform 0.3s ease;
    }
    
    .navbar-logo-img:hover {
        transform: scale(1.05);
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px; /* Mucho más espacio entre enlaces */
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
        flex: 1;
        justify-content: center;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu li a {
        font-size: 16px; /* Texto mucho más grande */
        padding: 18px 20px; /* Mucho más padding */
        display: block;
        border-radius: 8px;
        transition: 0.3s ease;
        color: var(--text-primary);
        font-weight: 500;
        text-decoration: none;
        text-align: center;
        margin: 0 15px; /* Más margen */
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--gradient-primary);
        transition: 0.3s ease;
        z-index: -1;
    }
    
    .nav-menu li a:hover::before {
        left: 0;
    }
    
    .nav-menu li a:hover {
        color: white;
        transform: scale(1.05);
    }
    
    /* El contenido principal ya no necesita padding-left */
    #inicio {
        padding: 40px 15px 30px 15px;
    }
    
    .hero-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .navbar-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        left: 15px;
    }
    
    .navbar-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .navbar-container {
        width: 60vw; /* Mantiene el 60% en móviles pequeños también */
        left: -60vw;
    }
    
    .navbar-logo-img {
        width: 100px; /* Logo más pequeño en móviles */
    }
    
    .nav-menu li a {
        font-size: 14px;
        padding: 15px 15px;
        margin: 0 12px;
    }
    
    #inicio {
        padding: 30px 10px 20px 10px;
    }
}

/* ===== BOTÓN VOLVER ARRIBA (SOLO MÓVIL) ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    opacity: 0;
}

.back-to-top.visible {
    display: flex !important;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Solo mostrar en móviles */
@media (min-width: 769px) {
    .back-to-top {
        display: none !important;
    }
}

/* Asegurar que sea visible en móviles */
@media (max-width: 768px) {
    .back-to-top.visible {
        display: flex !important;
    }
}




