/* ============================================
   JTech - Styles
   Modern Minimalist Design
   Colors: Blue & White
   ============================================ */

:root {
    /* Primary Colors */
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --primary-alpha: rgba(0, 102, 255, 0.1);
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Accent Colors */
    --success: #10B981;
    --whatsapp: #25D366;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #00C6FF 100%);
    --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 40px -10px rgba(0, 102, 255, 0.4);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-alpha);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px -10px rgba(0, 102, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-alpha);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.btn-sm:hover {
    background: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    /* Difuminado radial para integrar el fondo blanco del logo */
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at center, black 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 85% at center, black 50%, transparent 100%);
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-alpha);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    overflow-x: clip;
    overflow-y: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(15px); }
    50% { transform: translateY(-15px) translateX(-10px); }
    75% { transform: translateY(-40px) translateX(20px); }
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    overflow: visible;
    min-height: 500px;
}

.hero-image-wrapper {
    position: relative;
    max-width: 400px;
}

.hero-image-wrapper img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    z-index: 10;
}

.floating-card i {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-alpha);
    color: var(--primary);
    border-radius: 8px;
    font-size: 15px;
    flex-shrink: 0;
}

.floating-card span {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 12px;
}

/* Posiciones absolutas dispersas - alrededor de la imagen */
.card-1 {
    top: 10%;
    left: 15%;
    animation: floatCard1 4s ease-in-out infinite;
}

.card-2 {
    top: 8%;
    right: 15%;
    animation: floatCard2 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.card-3 {
    top: 45%;
    left: 5%;
    animation: floatCard3 4.5s ease-in-out infinite;
    animation-delay: 1s;
}

.card-4 {
    top: 50%;
    right: 8%;
    animation: floatCard4 5.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.card-5 {
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatCard5 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-12px) translateX(5px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(-5px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-15px) translateX(8px); }
}

@keyframes floatCard4 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-14px) translateX(-6px); }
}

@keyframes floatCard5 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    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 {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--gradient-dark);
    border-color: transparent;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-features li {
    color: var(--white);
}

.service-card.featured .service-features i {
    color: var(--primary-light);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-alpha);
    color: var(--primary);
    font-size: 28px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
}

.service-features i {
    color: var(--primary);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-fast);
}

.service-card.featured .service-link {
    color: var(--white);
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: 100px 0;
    background: var(--gray-50);
}

.products-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 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 {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 16px;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-text p {
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 17px;
}

.features-list {
    display: grid;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-alpha);
    color: var(--primary);
    font-size: 22px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.feature-text p {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 0;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.exp-number {
    font-size: 42px;
    font-weight: 800;
}

.exp-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* ============================================
   Brands Section
   ============================================ */
.brands {
    padding: 60px 0;
    background: var(--gray-50);
    overflow: hidden;
}

.brands-title {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.brands-slider {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.brands-track {
    display: flex;
    animation: slide 20s linear infinite;
    width: calc(150px * 8);
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-150px * 4)); }
}

.brand-item {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.brand-item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--gradient-dark);
}

.contact .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info p {
    color: var(--gray-400);
    margin-bottom: 32px;
    font-size: 17px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.contact-method.whatsapp:hover {
    border-color: var(--whatsapp);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-alpha);
    color: var(--primary);
    font-size: 20px;
    border-radius: var(--radius-sm);
}

.contact-method.whatsapp .method-icon {
    background: rgba(37, 211, 102, 0.2);
    color: var(--whatsapp);
}

.method-label {
    display: block;
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.method-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-cta-wrapper {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-cta-card {
    text-align: center;
    margin-bottom: 32px;
}

.contact-cta-card.main-cta .cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
    color: var(--white);
    font-size: 36px;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.contact-cta-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.contact-cta-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.quick-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quick-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--gray-50);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.quick-option:hover {
    border-color: var(--primary);
    background: var(--primary-alpha);
    transform: translateY(-3px);
}

.quick-option i {
    font-size: 24px;
    color: var(--primary);
}

.quick-option span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.email-alternative {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.email-alternative p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.email-link:hover {
    color: var(--primary-dark);
}

.contact-form {
    display: grid;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    font-family: var(--font-family);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 6px;
}

.form-group textarea ~ label {
    top: 18px;
    transform: translateY(0);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: 0;
    font-size: 13px;
    color: var(--primary);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--gray-900);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    /* Difuminado radial para integrar el fondo */
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at center, black 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 85% at center, black 50%, transparent 100%);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 28px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    padding: 10px 16px;
    background: var(--gray-900);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 60px;
    }
    
    .floating-card {
        display: none;
    }
    
    .why-us-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .why-us-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .tab-btn span {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 16px 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .experience-badge {
        bottom: -10px;
        left: 10px;
        padding: 16px 20px;
    }
    
    .exp-number {
        font-size: 32px;
    }
    
    .contact-cta-wrapper {
        padding: 24px;
    }
    
    .quick-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .quick-option {
        padding: 16px 8px;
    }
    
    .quick-option i {
        font-size: 20px;
    }
    
    .quick-option span {
        font-size: 11px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .whatsapp-float .tooltip {
        display: none;
    }
}
