/* =====================================================
   ANCLAJE SOLAR ENERGY - Main Stylesheet
   Modern, Professional Solar Energy Website
   ===================================================== */

/* =====================================================
   1. CSS Variables & Reset
   ===================================================== */
:root {
    /* Primary Colors - Amarillo/Dorado del sol */
    --primary: #F5B800;
    --primary-dark: #D4A000;
    --primary-light: #FFD84D;
    
    /* Secondary Colors - Cyan/Turquesa de los paneles */
    --secondary: #00A3C4;
    --secondary-dark: #008299;
    --secondary-light: #22D3EE;
    
    /* Accent Colors - Dorado intenso */
    --accent: #F5B800;
    --accent-dark: #D4A000;
    
    /* Neutral Colors - Gris oscuro del ancla */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1280px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* =====================================================
   2. Utilities
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

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

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

.text-highlight {
    color: var(--primary);
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(8, 145, 178, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-300);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.glass-card-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

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

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

.loader {
    font-size: 48px;
    color: var(--primary);
    animation: pulse 1s ease-in-out infinite;
}

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

/* =====================================================
   4. Header & Navigation
   ===================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

#header.scrolled .logo-text {
    color: var(--dark);
}

#header.scrolled .nav-link {
    color: var(--gray-700);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    color: var(--primary);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    font-family: var(--font-primary);
    opacity: 0.8;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

#header.scrolled .mobile-toggle span {
    background: var(--dark);
}

/* =====================================================
   5. Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    max-width: 900px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--secondary-light);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 24px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.hero-scroll a:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

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

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

/* =====================================================
   6. Marquee Section
   ===================================================== */
.marquee-section {
    background: var(--dark);
    padding: 20px 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.marquee-content span i {
    color: var(--primary);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =====================================================
   7. About Section
   ===================================================== */
.section-about {
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 15px;
    color: var(--gray-500);
}

/* About Images */
.about-images {
    position: relative;
}

.image-stack {
    position: relative;
}

.main-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    padding: 24px 32px;
    text-align: center;
}

.exp-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.4;
}

/* =====================================================
   8. Objectives Section
   ===================================================== */
.section-objectives {
    background: var(--white);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.objective-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.objective-card:hover {
    transform: translateY(-10px);
}

.objective-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
}

.objective-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.objective-card p {
    font-size: 15px;
    color: var(--gray-500);
}

/* =====================================================
   9. Services Section
   ===================================================== */
.section-services {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

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

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

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 145, 178, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-link {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.service-card:hover .service-link {
    transform: translateY(0);
}

.service-content {
    padding: 28px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(8, 145, 178, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Featured Service Cards */
.service-card.featured {
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
}

.service-card.featured .service-content.full {
    padding: 40px;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

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

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

/* =====================================================
   10. Technologies Section
   ===================================================== */
.section-tech {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.section-tech::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 60px;
}

.tech-title-wrap {
    flex: 1;
}

.tech-description {
    flex: 1;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    padding: 40px 30px;
    transition: var(--transition);
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.tech-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 24px;
}

.tech-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.tech-features li i {
    color: var(--secondary);
    font-size: 12px;
}

/* =====================================================
   11. Benefits Section
   ===================================================== */
.section-benefits {
    background: var(--white);
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    position: relative;
    background: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.benefit-card:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.benefit-card:hover .benefit-icon,
.benefit-card:hover h3,
.benefit-card:hover p {
    color: var(--white);
}

.benefit-card:hover .benefit-icon {
    background: rgba(255, 255, 255, 0.2);
}

.benefit-card:hover .benefit-number {
    opacity: 0.1;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(8, 145, 178, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.benefit-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    transition: var(--transition);
}

.benefit-content p {
    font-size: 15px;
    color: var(--gray-500);
    transition: var(--transition);
}

.benefit-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.1;
    transition: var(--transition);
}

/* Calculator */
.calculator-section {
    margin-top: 80px;
}

.calculator-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 32px;
}

.calculator-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.calculator-header h3 i {
    color: var(--primary);
    margin-right: 10px;
}

.calculator-header p {
    color: var(--gray-500);
}

.calculator-input {
    margin-bottom: 24px;
}

.calculator-input label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.calculator-input input {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.calculator-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.calculator-input small {
    display: block;
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 8px;
}

.calculator-results {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.result-label {
    font-size: 15px;
    color: var(--gray-600);
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.result-value.highlight {
    color: var(--primary);
}

.result-value.green {
    color: var(--secondary);
}

.calculator-results .btn {
    margin-top: 24px;
}

/* =====================================================
   12. Innovation Section
   ===================================================== */
.section-innovation {
    background: var(--dark);
    position: relative;
}

.innovation-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.innovation-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.innovation-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.innovation-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.innovation-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.innovation-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.innovation-stats {
    display: grid;
    gap: 20px;
}

.stat-card {
    padding: 32px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   13. Projects Section
   ===================================================== */
.section-projects {
    background: var(--gray-100);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.project-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    width: 100%;
}

.project-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.project-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.project-link {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transform: translateY(-20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

/* =====================================================
   14. Testimonials Section
   ===================================================== */
.section-testimonials {
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.testimonial-card:hover .testimonial-rating i,
.testimonial-card:hover .testimonial-text,
.testimonial-card:hover .author-info h4,
.testimonial-card:hover .author-info span {
    color: var(--white);
}

.testimonial-card:hover .author-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent);
    font-size: 16px;
    transition: var(--transition);
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 28px;
    transition: var(--transition);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    transition: var(--transition);
}

.author-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.author-info span {
    font-size: 14px;
    color: var(--gray-500);
    transition: var(--transition);
}

/* =====================================================
   15. CTA Section
   ===================================================== */
.section-cta {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =====================================================
   16. Contact Section
   ===================================================== */
.section-contact {
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-text {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(8, 145, 178, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
}

.contact-text-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-text-item a,
.contact-text-item span {
    font-size: 15px;
    color: var(--gray-600);
}

.contact-text-item a:hover {
    color: var(--primary);
}

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

.social-link {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 18px;
    transition: var(--transition);
}

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

.social-link.whatsapp:hover {
    background: #25d366;
}

/* Contact Form */
.contact-form {
    padding: 48px;
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 32px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

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

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

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray-500);
}

.form-note i {
    color: var(--secondary);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 20px 0 24px;
    line-height: 1.7;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li i {
    color: var(--primary);
    width: 20px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* =====================================================
   18. WhatsApp Float Button
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   19. Back to Top
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* =====================================================
   20. Responsive Design
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .about-grid,
    .contact-grid,
    .innovation-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        order: -1;
    }
    
    .objectives-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid,
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .tech-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .innovation-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Nav Menu */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 24px;
        color: var(--white);
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .objectives-grid,
    .tech-grid,
    .services-grid,
    .benefits-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-social,
    .social-links {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .projects-filter {
        flex-wrap: wrap;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -40px;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    
    .innovation-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 32px;
    }
    
    .calculator-card {
        padding: 32px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 90px;
        right: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .service-content,
    .benefit-card,
    .testimonial-card {
        padding: 28px;
    }
}

/* Animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
