/* ============================================
PLANTITEX S.A.C. - Main Stylesheet
Design System + All Component Styles
============================================ */
/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ============================================
1. DESIGN TOKENS / CSS VARIABLES
============================================ */
:root {
    /* Brand Colors */
    --primary: #2196F3;
    --primary-hover: #1f79c7;
    --primary-dark: #1565C0;
    --secondary: #1976D2;
    --accent: #64B5F6;
    --accent-light: #E3F2FD;
    /* Surface Colors */
    --surface: #F5F7FA;
    --surface-2: #EEF2F7;
    --white: #FFFFFF;
    /* Text Colors */
    --text-primary: #1A2332;
    --text-secondary: #4A5568;
    --text-tertiary: #90A0B0;
    /* UI Colors */
    --border: #E2E8F0;
    --border-focus: #2196F3;
    --shadow: rgba(33, 150, 243, 0.12);
    --shadow-dark: rgba(26, 35, 50, 0.15);
    --success: #25D366;
    --success-dark: #1DA851;
    --error: #E53E3E;
    --warning: #F6AD55;
    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
    --text-6xl: 4rem;
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    /* Layout */
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    /* 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);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
2. RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--white); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.logo-img{
    width: 40px; height: 40px; object-fit: contain;

}

/* Focus visible for keyboard navigation */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: var(--radius-sm); }

/* Accessibility: Skip Link */
.skip-link {
    position: absolute; top: -40px; left: 0; padding: 8px 16px;
    background: var(--primary); color: white; z-index: 9999;
    transition: top 0.2s; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }
.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;
}

/* ============================================
3. UTILITIES
============================================ */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label { display: inline-block; font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); background: var(--accent-light); padding: 0.35rem 1rem; border-radius: var(--radius-full); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { font-size: var(--text-lg); color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* Fade in animation */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .hero-shape, .scroll-dot, .whatsapp-btn { transition: none; animation: none; }
    .fade-in { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ============================================
4. BUTTONS
============================================ */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em; padding: 0.85rem 1.75rem; border-radius: var(--radius-full); transition: var(--transition); white-space: nowrap; min-height: 44px; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 16px var(--shadow); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(33, 150, 243, 0.35); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-white:hover, .btn-outline-white:focus-visible { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover, .btn-outline-primary:focus-visible { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-lg { font-size: var(--text-base); padding: 1rem 2.25rem; }

/* ============================================
5. HEADER & NAVIGATION
============================================ */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: var(--transition); }
#header.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 20px var(--shadow-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0;  }
.logo img { width: 170px; height: 30px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); padding: 0.5rem 0.875rem; border-radius: var(--radius-full); transition: var(--transition-fast); white-space: nowrap; }
.nav-link:hover, .nav-link:focus-visible { color: var(--primary); background: var(--accent-light); }
.nav-link.active { color: var(--primary); background: var(--accent-light); }
.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius); transition: var(--transition-fast); min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
.hamburger:hover { background: var(--surface); }
.hamburger-line { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); transform-origin: center; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1.5rem; box-shadow: 0 8px 24px var(--shadow-dark); z-index: 999; animation: slideDown 0.25s ease; }
.mobile-menu.open { display: block; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.5rem; }
.mobile-nav .nav-link { padding: 0.75rem 1rem; border-radius: var(--radius); font-size: var(--text-base); }
.mobile-cta { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ============================================
6. HERO SECTION
============================================ */
#hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(21, 101, 192, 0.88) 0%, rgba(26, 35, 50, 0.80) 50%, rgba(33, 150, 243, 0.65) 100%); }
.hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.04); animation: floatShape linear infinite; }
.hero-shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; animation-duration: 20s; }
.hero-shape-2 { width: 250px; height: 250px; bottom: 10%; left: -80px; animation-duration: 15s; animation-delay: -5s; }
.hero-shape-3 { width: 150px; height: 150px; top: 30%; right: 20%; background: rgba(100, 181, 246, 0.08); animation-duration: 12s; animation-delay: -8s; }
@keyframes floatShape { 0%, 100% { transform: translateY(0) rotate(0deg); } 33% { transform: translateY(-20px) rotate(5deg); } 66% { transform: translateY(10px) rotate(-3deg); } }
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 4rem 0; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.4); } }
.hero-title { font-family: var(--font-display); font-size: clamp(2.25rem, 6vw, var(--text-6xl)); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.5rem; animation: fadeInUp 0.6s ease 0.15s both; }
.hero-title .highlight { color: var(--accent); position: relative; }
.hero-subtitle { font-size: clamp(var(--text-base), 2vw, var(--text-xl)); color: rgba(255, 255, 255, 0.82); max-width: 580px; line-height: 1.65; margin-bottom: 2.5rem; animation: fadeInUp 0.6s ease 0.3s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; animation: fadeInUp 0.6s ease 0.45s both; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; animation: fadeInUp 0.6s ease 0.9s both; }
.scroll-mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-dot { width: 4px; height: 8px; background: rgba(255,255,255,0.5); border-radius: 2px; animation: scrollDot 1.8s ease infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
7. NOSOTROS / ABOUT SECTION
============================================ */
#nosotros { padding: var(--space-xl) 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; /*align-items: center;*/ }
.about-image-wrap { position: relative; }
.about-image-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 24px 64px rgba(26, 35, 50, 0.18); }
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.about-image-frame:hover img { transform: scale(1.03); }
.about-float-card { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--white); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; box-shadow: 0 12px 40px var(--shadow-dark); display: flex; align-items: center; gap: 1rem; min-width: 200px; }
.float-card-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card-icon svg { width: 24px; height: 24px; fill: white; }
.float-card-text { display: flex; flex-direction: column; }
.float-card-number { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--text-primary); line-height: 1; }
.float-card-label { font-size: var(--text-xs); color: var(--text-secondary); font-weight: 500; }
.about-image-deco { position: absolute; top: -1.5rem; left: -1.5rem; width: 120px; height: 120px; background: var(--accent-light); border-radius: var(--radius-xl); z-index: -1; }
.about-content .section-header { text-align: left; }
.about-content .section-subtitle { margin: 0; }
.about-description { color: var(--text-secondary); line-height: 1.8; margin: 1.5rem 0 2.5rem; }
.about-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.about-feature { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.25rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.about-feature:hover { border-color: var(--accent); box-shadow: 0 4px 16px var(--shadow); transform: translateX(4px); }
.feature-icon { width: 40px; height: 40px; background: var(--accent-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 20px; height: 20px; fill: var(--primary); }
.feature-text h4 { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; }
.feature-text p { font-size: var(--text-sm); color: var(--text-secondary); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 2rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius-xl); color: white; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 800; line-height: 1; display: block; margin-bottom: 0.35rem; }
.stat-label { font-size: var(--text-xs); opacity: 0.82; font-weight: 500; letter-spacing: 0.04em; }

/* ============================================
8. PRODUCTOS SECTION
============================================ */
#productos { padding: var(--space-xl) 0; background: var(--surface); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 3rem; }
.filter-tab { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 500; padding: 0.6rem 1.25rem; border-radius: var(--radius-full); border: 2px solid var(--border); background: var(--white); color: var(--text-secondary); transition: var(--transition-fast); min-height: 44px; }
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 4px 12px var(--shadow); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px var(--shadow-dark); border-color: var(--accent); }
.product-card[hidden] { display: none; }
.product-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--primary); color: white; font-size: var(--text-xs); font-weight: 600; padding: 0.25rem 0.65rem; border-radius: var(--radius-full); letter-spacing: 0.04em; }
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: var(--text-xs); font-weight: 600; color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.product-name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.3; }
.product-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.product-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.product-tag { font-size: var(--text-xs); color: var(--text-secondary); background: var(--surface); padding: 0.2rem 0.6rem; border-radius: var(--radius-full); border: 1px solid var(--border); }
.product-cta { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.product-link { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.35rem; transition: var(--transition-fast); }
.product-link:hover { gap: 0.6rem; }
.product-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.product-link:hover svg { transform: translateX(3px); }
.product-quote-btn { font-size: var(--text-xs); font-weight: 600; color: var(--white); background: var(--primary); padding: 0.4rem 0.9rem; border-radius: var(--radius-full); transition: var(--transition-fast); }
.product-quote-btn:hover { background: var(--primary-hover); }

/* ============================================
9. SERVICIOS SECTION
============================================ */
#servicios { padding: var(--space-xl) 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--white); transition: var(--transition); display: flex; flex-direction: column; gap: 1rem; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--accent-light), transparent); opacity: 0; transition: var(--transition); }
.service-card:hover { border-color: var(--accent); box-shadow: 0 16px 40px var(--shadow); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon-wrap { position: relative; width: 60px; height: 60px; background: var(--accent-light); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 1; }
.service-card:hover .service-icon-wrap { background: var(--primary); }
.service-icon-wrap svg { width: 28px; height: 28px; fill: var(--primary); transition: var(--transition); }
.service-card:hover .service-icon-wrap svg { fill: white; }
.service-content { position: relative; z-index: 1; flex: 1; }
.service-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.service-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.7; }
.service-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--text-sm); font-weight: 600; color: var(--primary); transition: var(--transition-fast); }
.service-link:hover { gap: 0.6rem; }
.service-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-link:hover svg { transform: translateX(3px); }

/* ============================================
10. TESTIMONIOS SECTION
============================================ */
#testimonios { padding: var(--space-xl) 0; background: var(--surface); overflow: hidden; }
.carousel-wrap { position: relative; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial-card { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; border: 1px solid var(--border); flex: 0 0 calc(33.333% - 1rem); min-width: 0; box-shadow: 0 4px 16px rgba(26, 35, 50, 0.06); display: flex; flex-direction: column; gap: 1.25rem; }
.testimonial-rating { display: flex; gap: 0.2rem; }
.star { width: 18px; height: 18px; fill: #F59E0B; }
.testimonial-quote { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.75; font-style: italic; position: relative; flex: 1; }
.testimonial-quote::before { content: '"'; font-family: Georgia, serif; font-size: 4rem; color: var(--accent-light); position: absolute; top: -1rem; left: -0.5rem; line-height: 1; z-index: 0; }
.testimonial-quote span { position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.author-avatar-placeholder { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: white; flex-shrink: 0; }
.author-info .author-name { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); }
.author-info .author-company { font-size: var(--text-xs); color: var(--text-tertiary); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); color: var(--text-secondary); }
.carousel-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--accent-light); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: var(--transition-fast); }
.carousel-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ============================================
11. CONTACTO SECTION
============================================ */
#contacto { padding: var(--space-xl) 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.contact-info-desc { color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { width: 44px; height: 44px; background: var(--accent-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; fill: var(--primary); }
.contact-item-label { font-size: var(--text-xs); font-weight: 600; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.contact-item-value { font-size: var(--text-sm); color: var(--text-primary); font-weight: 500; }
.contact-item-value a { color: var(--primary); transition: var(--transition-fast); }
.contact-item-value a:hover { color: var(--primary-hover); }
.contact-hours { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; border: 1px solid var(--border); }
.contact-hours h4 { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.hours-row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--text-secondary); padding: 0.2rem 0; }
.hours-row span:last-child { font-weight: 600; color: var(--text-primary); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 220px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.contact-form-wrap { background: var(--surface); border-radius: var(--radius-xl); padding: 2.5rem; border: 1px solid var(--border); }
.contact-form-wrap h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); }
.form-label .required { color: var(--error); margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.75rem 1rem; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); font-size: var(--text-sm); color: var(--text-primary); transition: var(--transition-fast); min-height: 44px; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--shadow); }
.form-input.error, .form-select.error, .form-textarea.error { border-color: var(--error); }
.form-input.success, .form-select.success, .form-textarea.success { border-color: #4CAF50; }
.form-textarea { resize: vertical; min-height: 110px; }
.form-error-msg { font-size: var(--text-xs); color: var(--error); display: none; }
.form-error-msg.visible { display: block; }
.form-checkbox-wrap { display: flex; align-items: flex-start; gap: 0.75rem; margin: 1rem 0; }
.form-checkbox { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.form-checkbox-label { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5; }
.form-checkbox-label a { color: var(--primary); font-weight: 600; }
.form-submit { width: 100%; justify-content: center; font-size: var(--text-base); padding: 1rem; border-radius: var(--radius); position: relative; }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }
.form-success { display: none; text-align: center; padding: 2rem; color: var(--text-secondary); }
.form-success.visible { display: block; }
.form-success-icon { width: 64px; height: 64px; background: #E8F5E9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.form-success-icon svg { width: 32px; height: 32px; fill: #4CAF50; }
.form-success h4 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }

/* ============================================
12. FOOTER
============================================ */
#footer { background: var(--text-primary); color: rgba(255, 255, 255, 0.75); padding: var(--space-lg) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: var(--space-lg); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { margin-bottom: 1.25rem; }
.footer-logo .logo-name { color: white; }
.footer-logo .logo-tagline { color: rgba(255,255,255,0.4); }
.footer-bio { font-size: var(--text-sm); line-height: 1.75; margin-bottom: 1.5rem; color: rgba(255,255,255,0.6); }
.social-links { display: flex; gap: 0.75rem; }
.social-link { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); }
.social-link:hover { background: var(--primary); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; fill: white; }
.footer-col-title { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; color: white; letter-spacing: 0.04em; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { font-size: var(--text-sm); color: rgba(255,255,255,0.6); transition: var(--transition-fast); display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-link:hover { color: var(--accent); transform: translateX(3px); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.85rem; }
.footer-contact-icon { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; margin-top: 1px; }
.footer-contact-text { font-size: var(--text-sm); color: rgba(255,255,255,0.6); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,0.6); transition: var(--transition-fast); }
.footer-contact-text a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; font-size: var(--text-xs); color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 1rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: var(--transition-fast); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
13. FLOATING ELEMENTS
============================================ */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.whatsapp-btn { width: 58px; height: 58px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); transition: var(--transition); animation: waBounce 2s ease 3s both; }
.whatsapp-btn:hover { background: var(--success-dark); transform: scale(1.1); box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55); }
.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }
@keyframes waBounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
.whatsapp-tooltip { background: var(--text-primary); color: white; font-size: var(--text-xs); font-weight: 600; padding: 0.4rem 0.85rem; border-radius: var(--radius-full); white-space: nowrap; opacity: 0; transform: translateX(10px); transition: var(--transition-fast); pointer-events: none; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ============================================
14. COOKIE BANNER
============================================ */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100; background: var(--text-primary); color: white; padding: 1.25rem 1.5rem; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); border-top: 3px solid var(--primary); }
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cookie-text { font-size: var(--text-sm); color: rgba(255,255,255,0.8); flex: 1; min-width: 280px; }
.cookie-text a { color: var(--accent); font-weight: 600; }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-btn { font-size: var(--text-sm); font-weight: 600; padding: 0.55rem 1.25rem; border-radius: var(--radius-full); transition: var(--transition-fast); min-height: 40px; }
.cookie-btn-accept { background: var(--primary); color: white; }
.cookie-btn-accept:hover { background: var(--primary-hover); }
.cookie-btn-reject { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.15); }

/* ============================================
15. RESPONSIVE DESIGN
============================================ */
@media (max-width: 1023px) {
    .hamburger { display: flex; }
    .nav { display: none; }
    .header-cta .btn { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-frame { aspect-ratio: 16/9; max-height: 400px; }
    .about-float-card { bottom: 1rem; right: 1rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 767px) {
    .products-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonial-card { flex: 0 0 100%; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat-number { font-size: var(--text-2xl); }
    .hero-actions { flex-direction: column; }
    .hero-trust { flex-direction: column; gap: 0.75rem; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
    .about-float-card { position: relative; bottom: auto; right: auto; margin-top: 1rem; }
    .about-image-deco { display: none; }
    .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
}
@media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; gap: 0.75rem; }
    .stat-item { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-item:last-child { border-bottom: none; }
}
@media print {
    #header, .whatsapp-float, .cookie-banner { display: none; }
    body { padding-top: 0; }
    #hero { min-height: auto; padding: 2rem 0; }
    .hero-bg { display: none; }
    .hero-content { color: black; }
}

/* ============================================
16. animación de elementos flotantes
============================================ */
              .animacion {
            width: 100%;
            height: 100vh;
            position: relative;
            overflow: hidden;
        }

        .falling-element {
            position: absolute;
            border-radius: 4px;
            animation: fall linear infinite;
        }

        /* Rectángulos verticales largos */
        .rect-long {
            background: linear-gradient(180deg, #4a5568, #2d3748);
            border: 2px solid #718096;
        }

        /* Cuadrados pequeños */
        .rect-small {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: 2px solid #a0aec0;
        }

        @keyframes fall {
            0% {
                transform: translateY(-150px);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(calc(100vh + 150px));
                opacity: 0;
            }
        }