/* Reset y estilos base inspirados en ness.es */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografía moderna como ness.es */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
}

/* Variables CSS con colores originales del proyecto */
:root {
    --primary-orange: #f97316;
    --primary-orange-dark: #ea580c;
    --primary-orange-light: #fb923c;
    --secondary-gray: #6b7280;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --white: #ffffff;
    --green: #10b981;
    --orange: #f97316;
    --purple: #8b5cf6;
    --red: #ef4444;
    --blue: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Utilidades básicas */
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.w-full { width: 100%; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.h-32 { height: 8rem; }
.w-32 { width: 8rem; }
.z-50 { z-index: 50; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Padding y margin */
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.pt-20 { padding-top: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

/* Colores de fondo */
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-900 { background-color: #111827; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-100 { background-color: #fed7aa; }
.bg-orange-600 { background-color: var(--primary-orange); }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-500 { background-color: var(--green); }
.bg-green-600 { background-color: #059669; }
.bg-orange-100 { background-color: #fed7aa; }
.bg-purple-100 { background-color: #ede9fe; }
.bg-red-100 { background-color: #fee2e2; }
.bg-indigo-100 { background-color: #e0e7ff; }

/* Gradientes */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-orange-50 {
    --tw-gradient-from: #fff7ed;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 247, 237, 0));
}
.to-white {
    --tw-gradient-to: #ffffff;
}
.bg-gradient-to-br.from-orange-50.to-white {
    background: linear-gradient(to bottom right, #fff7ed, #ffffff);
}
.bg-gradient-to-br.from-orange-500.to-orange-600 {
    background: linear-gradient(to bottom right, #f97316, #ea580c);
}

/* Colores de texto */
.text-gray-400 { color: #9ca3af; }
.text-gray-600 { color: var(--text-light); }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: var(--text-dark); }
.text-white { color: var(--white); }
.text-orange-100 { color: #fed7aa; }
.text-orange-200 { color: #fdba74; }
.text-orange-600 { color: var(--primary-orange); }
.text-orange-700 { color: var(--primary-orange-dark); }
.text-green-600 { color: var(--green); }
.text-orange-600 { color: var(--orange); }
.text-purple-600 { color: var(--purple); }
.text-red-600 { color: var(--red); }
.text-indigo-600 { color: #4f46e5; }

/* Tipografía */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }

/* Bordes y sombras */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-gray-800 { border-color: #1f2937; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Transiciones */
.transition-colors { 
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}
.duration-200 { transition-duration: 200ms; }

/* Header estilo ness.es */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

/* Dropdown menu */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:visible {
    visibility: visible;
}

.opacity-0 { opacity: 0; }
.invisible { visibility: hidden; }

/* Botones estilo ness.es */
.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-primary:hover {
    background-color: var(--primary-orange-dark);
}

.btn-secondary {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    background-color: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* Botones específicos */
.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
}

.btn-form {
    background-color: var(--white);
    color: var(--primary-orange);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-form:hover {
    background-color: #f3f4f6;
}

/* Hero section */
.hero-section {
    background: linear-gradient(to bottom right, #fff7ed, #ffffff);
    padding: 5rem 0;
}

/* Estadísticas */
.stats-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
}

/* Áreas de negocio */
.business-areas {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.business-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.2s ease;
}

.business-card:hover {
    box-shadow: var(--shadow-xl);
}

/* Sección de contacto */
.contact-section {
    background-color: var(--primary-orange);
    padding: 5rem 0;
}

/* Footer */
.footer {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 3rem 0;
}

/* Grid responsive */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Hover effects */
.hover\:text-orange-600:hover { color: var(--primary-orange); }
.hover\:text-orange-700:hover { color: var(--primary-orange-dark); }
.hover\:text-white:hover { color: var(--white); }
.hover\:bg-orange-700:hover { background-color: var(--primary-orange-dark); }
.hover\:bg-orange-600:hover { background-color: var(--primary-orange); }
.hover\:bg-green-600:hover { background-color: #059669; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:shadow-xl:hover { box-shadow: var(--shadow-xl); }

/* Responsive design */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Menú móvil */
@media (max-width: 767px) {
    .md\:hidden { display: block; }
    .md\:flex { display: none; }
    .md\:block { display: none; }
    
    #mobile-menu {
        transition: all 0.2s ease-in-out;
    }
    
    .flex-col { flex-direction: column; }
    .w-full { width: 100%; }
    .text-left { text-align: left; }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Efectos adicionales */
.max-w-3xl { max-width: 48rem; }

/* Focus states para accesibilidad */
button:focus,
a:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Estados disabled */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mejoras específicas para iconos */
.fas, .fab {
    display: inline-block;
}

/* Estilos para elementos específicos de ness.es */
.business-card h3 {
    color: var(--text-dark);
    font-weight: 700;
}

.business-card p {
    color: var(--text-light);
}

.business-card a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.business-card a:hover {
    color: var(--primary-orange-dark);
}

/* Espaciado específico para el layout */
.max-w-3xl.mx-auto {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Mejoras para la sección hero */
.hero-section h1 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.hero-section p {
    color: var(--text-light);
}

/* Footer links */
.footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Responsive text sizes */
@media (max-width: 639px) {
    .text-4xl { font-size: 2rem; line-height: 2.5rem; }
    .text-6xl { font-size: 2.5rem; line-height: 1.1; }
    .text-3xl { font-size: 1.5rem; line-height: 2rem; }
}

/* Estilos para la sección vendedora */
.super-seller-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.super-seller-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.super-seller-stats {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(249, 115, 22, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.super-seller-stats:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.super-seller-btn {
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: none;
}

.super-seller-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Estilos específicos para el botón de evaluación mejorado */
#super-cta-btn {
    position: relative;
    overflow: hidden;
}

#super-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

#super-cta-btn:hover::before {
    left: 100%;
}

#super-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.3);
}

#super-cta-btn:active {
    transform: translateY(-1px);
    transition: transform 0.1s;
}

.super-seller-badge {
    transition: all 0.3s ease;
}

.super-seller-badge:hover {
    transform: scale(1.05);
}

/* Efectos adicionales para botones */
.business-card {
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3), 0 4px 6px -2px rgba(249, 115, 22, 0.1) !important;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.4), 0 10px 10px -5px rgba(249, 115, 22, 0.2) !important;
}

/* Estilos para botones CTA grandes */
#hero-whatsapp-btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4) !important;
    background: linear-gradient(to right, #059669, #047857) !important;
}

#hero-form-btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.4) !important;
    background: linear-gradient(to right, #ea580c, #c2410c) !important;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Estilos para Hero con Video */
.hero-video-section {
    position: relative;
    background: #1a1a1a; /* Fallback color */
}

.hero-video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Botones del hero con video */
.hero-video-btn {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-video-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.hero-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Animaciones para el hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-video-section h1,
.hero-video-section p,
.hero-video-section .hero-video-btn {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-video-section h1 {
    animation-delay: 0.2s;
}

.hero-video-section p:first-of-type {
    animation-delay: 0.4s;
}

.hero-video-section p:last-of-type {
    animation-delay: 0.6s;
}

.hero-video-section .hero-video-btn {
    animation-delay: 0.8s;
}

/* Responsive para el video hero */
@media (max-width: 768px) {
    .hero-video-section {
        min-height: 100vh;
    }
    
    .hero-video-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-video-section p {
        font-size: 1.1rem;
    }
}