/* ===================================
   CSS Variables & Base Styles
   =================================== */
:root {
    --primary: #8655FF;
    --primary-light: #a67fff;
    --primary-dark: #6b3fd9;
    --dark: #160F50;
    --dark-light: #2a1f6b;
    --white: #FFFFFF;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--dark) 0%, #1a1354 50%, var(--dark-light) 100%);

    --shadow-sm: 0 2px 8px rgba(22, 15, 80, 0.08);
    --shadow-md: 0 4px 20px rgba(22, 15, 80, 0.12);
    --shadow-lg: 0 8px 40px rgba(22, 15, 80, 0.16);
    --shadow-primary: 0 4px 20px rgba(134, 85, 255, 0.4);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: #5a35cc;
    bottom: 20%;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(134, 85, 255, 0.2);
    border: 1px solid rgba(134, 85, 255, 0.3);
    border-radius: var(--radius-xl);
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(134, 85, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Preloader & Custom Cursor
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    font-size: 4rem;
    color: var(--white);
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-bar {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        text-shadow: 0 0 20px var(--primary);
    }
}

@keyframes loadingBar {
    0% {
        left: -100%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

/* Custom Cursor */
.custom-cursor,
.custom-cursor-dot {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    transition: transform 0.1s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.custom-cursor {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: -20px;
    margin-top: -20px;
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s, opacity 0.3s;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    margin-left: -3px;
    margin-top: -3px;
}

body:hover .custom-cursor,
body:hover .custom-cursor-dot {
    opacity: 1;
}

/* Cursor States */
.custom-cursor.active {
    width: 60px;
    height: 60px;
    background: rgba(134, 85, 255, 0.1);
    border-color: var(--primary);
    margin-left: -30px;
    margin-top: -30px;
}

.custom-cursor-dot.active {
    transform: scale(2);
    background: var(--white);
}

@media (max-width: 1024px) {

    .custom-cursor,
    .custom-cursor-dot {
        display: none;
    }
}

/* ===================================
   Global Styles
   =================================== */
@media (min-width: 1025px) {

    html,
    body,
    a,
    button {
        cursor: none !important;
    }
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(134, 85, 255, 0.1);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 120px 0;
    background: var(--gray-100);
}

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

.service-card {
    position: relative;
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--gradient-dark);
    color: var(--white);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--white);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(134, 85, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.service-card.featured .service-icon {
    background: rgba(134, 85, 255, 0.3);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 6px 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* ===================================
   Catalog Section
   =================================== */
.catalog {
    padding: 120px 0;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-card:hover .product-placeholder {
    transform: scale(1.05);
}

.product-icon {
    font-size: 4rem;
}

.digital-1 {
    background: linear-gradient(135deg, #8655FF 0%, #a67fff 100%);
}

.digital-2 {
    background: linear-gradient(135deg, #5a35cc 0%, #8655FF 100%);
}

.digital-3 {
    background: linear-gradient(135deg, #a67fff 0%, #c9b3ff 100%);
}

.digital-4 {
    background: linear-gradient(135deg, #160F50 0%, #2a1f6b 100%);
}

.digital-5 {
    background: linear-gradient(135deg, #6b3fd9 0%, #8655FF 100%);
}

.fisico-1 {
    background: linear-gradient(135deg, #160F50 0%, #8655FF 100%);
}

.fisico-2 {
    background: linear-gradient(135deg, #2a1f6b 0%, #5a35cc 100%);
}

.fisico-3 {
    background: linear-gradient(135deg, #8655FF 0%, #160F50 100%);
}

.fisico-4 {
    background: linear-gradient(135deg, #5a35cc 0%, #a67fff 100%);
}

.fisico-5 {
    background: linear-gradient(135deg, #a67fff 0%, #8655FF 100%);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: rgba(134, 85, 255, 0.9);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.product-tag.physical {
    background: rgba(22, 15, 80, 0.9);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

/* Botón de consulta removido del catálogo por estética */

/* ===================================
   Quoter Section
   =================================== */
.quoter {
    padding: 120px 0;
    background: var(--gradient-hero);
}

.quoter .section-badge {
    background: rgba(134, 85, 255, 0.2);
    color: var(--primary-light);
}

.quoter .section-title {
    color: var(--white);
}

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

.quoter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quoter-features {
    margin-top: 40px;
}

.quoter-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(134, 85, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.quoter-feature h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.quoter-feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* WhatsApp Section */
.whatsapp-cta {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.whatsapp-cta::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 120%;
    background: linear-gradient(90deg, transparent, rgba(134, 85, 255, 0.05));
    transform: skewX(-15deg);
}

.whatsapp-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.whatsapp-content .section-badge {
    background: rgba(134, 85, 255, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(134, 85, 255, 0.2);
}

.whatsapp-content .section-title {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.whatsapp-content .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: 0;
}

.whatsapp-features {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.whatsapp-feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.whatsapp-feature .feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.whatsapp-feature:hover .feature-icon {
    background: rgba(134, 85, 255, 0.2);
    border-color: var(--primary-light);
    transform: scale(1.1);
}

.whatsapp-feature h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.whatsapp-feature p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 18px 40px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
    width: fit-content;
}

.btn-whatsapp svg {
    margin-right: 12px;
}

.btn-whatsapp:hover {
    background: #22c35e;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-mockup {
    position: relative;
    padding: 20px;
}

.chat-bg {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.chat-bubble {
    max-width: 85%;
    padding: 16px 20px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.5;
    animation: fadeInUp 0.5s ease-out backwards;
}

.chat-bubble.received {
    background: var(--white);
    color: var(--dark);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chat-bubble:nth-child(2) {
    animation-delay: 0.2s;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background: #128C7E;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Los estilos de autenticación de usuario y carrito han sido removidos */


/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 120px 0;
    background: var(--gray-100);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(134, 85, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.social-links,
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    transition: all 0.4s ease;
    z-index: 2;
}

/* Efectos por Red Social */
.social-link.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
}

.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(214, 36, 159, 0.4);
}

.social-link.tiktok:hover {
    background: #000000;
    border-color: #fe2c55;
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.4);
}

.social-link.pexels:hover {
    background: #05a081;
    border-color: #05a081;
    box-shadow: 0 0 20px rgba(5, 160, 129, 0.4);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {

    .quoter-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .whatsapp-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: left;
    }

    .whatsapp-content .section-title {
        font-size: 2.5rem;
    }

    .whatsapp-content .section-subtitle {
        margin-bottom: 30px;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .chat-bg {
        padding: 30px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--white);
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .catalog-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Animations & Utilities
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typing indicator for chat */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

/* Quote result styling */
.quote-result {
    background: linear-gradient(135deg, rgba(134, 85, 255, 0.1), rgba(22, 15, 80, 0.1));
    border: 1px solid rgba(134, 85, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 12px;
}

.quote-result h5 {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.quote-result .quote-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

/* ===================================
   Portfolio Section & Marquee
   =================================== */
.portfolio-section {
    padding: 100px 0;
    overflow: hidden;
    background: var(--bg-light);
}

.portfolio-marquee-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    padding: 40px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: none;
    /* Aseguramos que no haya snapping */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-marquee-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.portfolio-marquee-container:active {
    cursor: grabbing;
}

.portfolio-marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 60s linear infinite;
    gap: 30px;
    padding: 0 15px;
    width: max-content;
    will-change: transform;
    /* Hint to browser for smoother animation */
}

.portfolio-marquee.paused {
    animation-play-state: paused;
}

.portfolio-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.portfolio-item {
    flex: 0 0 400px;
    height: 500px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 15, 80, 0.9) 0%, rgba(22, 15, 80, 0.4) 50%, rgba(22, 15, 80, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.portfolio-client {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.3s;
}

.portfolio-item:hover .portfolio-category,
.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-client {
    transform: translateY(0);
}

/* ===================================
   Project Modal (Behance Style)
   =================================== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-modal.active {
    visibility: visible;
    opacity: 1;
}

.project-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 15, 80, 0.95);
    backdrop-filter: blur(10px);
}

.project-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 0;
    z-index: 10;
}

.project-modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.3s ease;
}

.project-modal-close:hover {
    transform: rotate(90deg);
}

.project-modal-close svg {
    width: 24px;
    height: 24px;
}

.project-modal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
}

.project-header .section-badge {
    background: rgba(134, 85, 255, 0.2);
    border-color: rgba(134, 85, 255, 0.4);
    color: var(--primary-light);
    margin-bottom: 20px;
}

.project-header h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.project-meta strong {
    color: white;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.project-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 80px;
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}

.project-main-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-gallery img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.project-footer {
    padding: 100px 0 60px;
    text-align: center;
}

.project-footer h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .project-header h1 {
        font-size: 2.5rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .portfolio-item {
        flex: 0 0 300px;
        height: 400px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

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

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

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(134, 85, 255, 0.1);
}

.testimonial-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    padding: 15px 15px 0 15px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.testimonial-content {
    padding: 25px 25px 10px;
    flex-grow: 1;
}

.testimonial-comment {
    color: #8c5dff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: 3em;
}

.testimonial-footer {
    padding: 0 25px;
}

.testimonial-business {
    background: #8c5dff;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    text-transform: capitalize;
    box-shadow: 0 8px 20px rgba(140, 93, 255, 0.3);
}

.testimonial-client {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .testimonial-card {
        border-radius: 30px;
    }
}