/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    /* Color Palette - Premium Navy & Orange Theme */
    --bg-primary: #0f172a;
    /* Deep Navy */
    --bg-secondary: #1e293b;
    /* Lighter Navy */
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748B;
    /* Added from style.css */
    --accent-primary: #f97316;
    /* Vibrant Orange */
    --accent-secondary: #fb923c;
    /* Light Orange */
    --accent-glow: rgba(249, 115, 22, 0.5);
    --gradient-primary: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 1) 100%);

    /* Imported variables from assets/css/style.css for compatibility */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;
    --accent-500: #F59E0B;
    --accent-600: #D97706;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94a3b8;
    --gray-900: #0F172A;

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;
    --container-width: 1280px;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --hover-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--hover-transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary-700);
    border: 2px solid var(--primary-700);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hover-transition);
}

.btn-outline:hover {
    background: var(--primary-50);
}

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


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Carousel */
.hero-carousel-container {
    height: 100vh;
    background: var(--bg-primary);
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.slide-left {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-tagline {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.slide-left h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-wrap: balance;
}

.slide-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.stat-separator {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.slide-right {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-right p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 450px;
}

/* Swiper Navigation Customization */
.swiper-button-prev,
.swiper-button-next {
    color: var(--accent-primary) !important;
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--accent-primary);
    color: white !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--accent-primary) !important;
    width: 24px !important;
    border-radius: 5px !important;
}

/* Responsive adjustments for Carousel */
@media (max-width: 968px) {
    .slide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 2rem;
    }

    .slide-left {
        padding-right: 0;
    }

    .slide-left h1 {
        font-size: 3rem;
    }

    .slide-stats {
        justify-content: center;
        border-top: none;
        margin-top: 2rem;
        padding-top: 0;
    }

    .slide-right {
        padding-left: 0;
        border-left: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide-overlay {
        background: rgba(15, 23, 42, 0.9);
    }
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Services Preview */
.services-preview {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--hover-transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--accent-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Features/Values */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: #05080f;
    padding: 4rem 0 2rem;
    border-top: var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        border-bottom: var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    display: flex;
    justify-content: center;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.cookie-text a:hover {
    border-bottom-color: var(--accent-primary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie-accept {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-cookie-accept:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Animation Classes - Controlled by JS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fallback: If JS is disabled or fails, content remains visible (default state) */
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   MOVe Product Page Styles (Migrated from assets/css/style.css)
   ========================================================================== */

/* Light Theme Overrides for MOVe Sections */
#descripcion-producto,
.features-section,
.benefits-section {
    color: var(--gray-900) !important;
}

#descripcion-producto h2,
.features-section h2,
.benefits-section h2,
#descripcion-producto h3,
.features-section h3,
.benefits-section h3 {
    color: var(--gray-900) !important;
}

#descripcion-producto p,
.features-section p,
.benefits-section p {
    color: var(--text-muted);
}

/* Specific override for section headers in light sections */
.features-section .section-header p,
.benefits-section .section-header p {
    color: var(--text-muted) !important;
}

/* Hero Specifics for MOVe */
.hero-MOVe {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('assets/images/hero-bg.jpg');
    /* Adjust path relative to HTML or root */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-MOVe .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 64, 175, 0.75) 100%);
}

.hero-MOVe .hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    max-width: 800px;
    padding-top: 60px;
}

.hero-MOVe h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-MOVe h1 span {
    color: var(--accent-500);
}

.hero-MOVe p {
    font-size: 1.35rem;
    color: var(--gray-200);
    margin-bottom: 48px;
    max-width: 600px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
}


/* Features Carousel - Expanded */
.features-section {
    padding: 120px 0;
    background-color: var(--gray-50);
}

.carousel-viewport {
    overflow: hidden;
    padding: 20px 0 60px;
    /* Space for shadow */
}

.carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-card {
    min-width: 380px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    /* Premium shadow */
    border-top: 4px solid var(--primary-600);
    /* Accent top border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-700);
    font-size: 1.75rem;
}

.carousel-card h3 {
    margin-bottom: 12px;
    color: var(--gray-900);
    font-size: 1.35rem;
}

.carousel-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

/* Reusing card-link from core, but ensuring specificity if needed */

/* Parallax Divider */
.parallax-divider {
    height: 500px;
    /* Industrial/Blueprint look */
    background-image: url('assets/images/divider-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    /* Dark overlay */
}

.divider-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 900px;
}

.divider-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

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

.stat-item .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-500);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 1.1rem;
    color: var(--gray-300);
}

/* Benefits Redesign - 3 Column Grid */
.benefits-section {
    padding: 120px 0;
    background-color: white;
}

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

.benefit-card-vertical {
    background: transparent;
    padding: 32px;
    border-radius: 12px;
    /* Clean look, maybe slight border or background toggle */
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: left;
}

.benefit-card-vertical:hover {
    border-color: var(--primary-200);
    background: white;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.benefit-card-vertical .benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.benefit-card-vertical h4 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.benefit-card-vertical p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Responsive Adjustments for MOVe elements */
@media (max-width: 900px) {
    .benefits-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Brochure Form Styles */
.brochure-form {
    margin-top: 1.5rem;
}

.brochure-form h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.brochure-form input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.brochure-form button {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: none;
    background: var(--accent-primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.brochure-form button:hover {
    background: var(--accent-secondary);
}

.brochure-message {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    min-height: 1.2em;
}

.brochure-message.success {
    color: #4ade80;
}

.brochure-message.error {
    color: #f87171;
}

@media (max-width: 600px) {
    .benefits-grid-3 {
        grid-template-columns: 1fr;
    }

    .carousel-card {
        min-width: 300px;
    }

    .hero-MOVe {
        min-height: auto;
        padding: 120px 0 80px;
    }
}