﻿/* ═══════════════════════════════════════════════════════════════════
   GRENLES V4 — DOPAMINE EDITION (MASTER CSS)
   Cross-device: PC · Mac · iPhone · Android · Tablet · Landscape
   Codeado por 🦾 Hefesto 15.1 Pro Max | Sr. Ignacio
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════ */
/* 01. VARIABLES                                                      */
/* ═══════════════════════════════════════════════════════════════════ */

:root {
    --g-primary: #1565C0;
    --g-primary-dark: #0D47A1;
    --g-primary-darker: #0A3880;
    --g-primary-light: #42A5F5;
    --g-primary-lighter: #90CAF9;
    --g-primary-glow: rgba(21, 101, 192, 0.4);
    --g-accent: #E53935;
    --g-accent-dark: #C62828;
    --g-accent-light: #FF6F60;
    --g-accent-glow: rgba(229, 57, 53, 0.4);
    --g-success: #10B981;
    --g-success-glow: rgba(16, 185, 129, 0.45);
    --g-warning: #F59E0B;
    --g-warning-glow: rgba(245, 158, 11, 0.45);
    --g-danger: #EF4444;
    --g-danger-glow: rgba(239, 68, 68, 0.45);
    --g-purple: #8B5CF6;
    --g-purple-glow: rgba(139, 92, 246, 0.45);
    --g-pink: #EC4899;
    --g-pink-glow: rgba(236, 72, 153, 0.45);
    --g-cyan: #06B6D4;
    --g-cyan-glow: rgba(6, 182, 212, 0.45);
    --g-orange: #F97316;
    --g-orange-glow: rgba(249, 115, 22, 0.45);
    --g-yellow: #FBBF24;
    --g-yellow-glow: rgba(251, 191, 36, 0.45);
    --g-bg: #F8FAFC;
    --g-bg-alt: #F1F5F9;
    --g-card: #FFFFFF;
    --g-border: #E2E8F0;
    --g-border-soft: #EEF2F7;
    --g-text: #1A2236;
    --g-text-soft: #64748B;
    --g-text-muted: #94A3B8;
    --g-shadow-xs: 0 1px 2px rgba(15, 23, 41, 0.04);
    --g-shadow-sm: 0 2px 8px rgba(15, 23, 41, 0.06);
    --g-shadow: 0 6px 18px rgba(15, 23, 41, 0.08);
    --g-shadow-md: 0 10px 26px rgba(15, 23, 41, 0.1);
    --g-shadow-lg: 0 18px 44px rgba(15, 23, 41, 0.14);
    --g-shadow-xl: 0 28px 70px rgba(15, 23, 41, 0.2);
    --g-radius-sm: 10px;
    --g-radius: 16px;
    --g-radius-lg: 24px;
    --g-radius-xl: 32px;
    --g-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --g-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --g-elastic: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    --g-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --g-font-display: 'Poppins', 'Inter', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 02. RESET Y BASE                                                   */
/* ═══════════════════════════════════════════════════════════════════ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--g-font);
    background: var(--g-bg);
    color: var(--g-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    text-rendering: optimizeLegibility;
}

.grenles-app {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 03. ANIMACIONES GLOBALES                                           */
/* ═══════════════════════════════════════════════════════════════════ */

@keyframes g-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

@keyframes g-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

@keyframes g-pulse-ring {
    0% {
        box-shadow: 0 0 0 0 var(--g-primary-glow);
    }

    70% {
        box-shadow: 0 0 0 20px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

@keyframes g-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes g-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes g-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes g-zoom-in {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes g-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes g-shake {
    0%, 100% {
        transform: translateX(0);
    }

    20%, 60% {
        transform: translateX(-8px);
    }

    40%, 80% {
        transform: translateX(8px);
    }
}

@keyframes g-wiggle {
    0%, 100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-6deg);
    }

    75% {
        transform: rotate(6deg);
    }
}

@keyframes g-spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes g-truck-drive {
    0%, 100% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }
}

@keyframes g-gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes g-confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0);
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
    }
}

@keyframes g-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes g-cloud-move {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-200px);
    }
}

@keyframes g-wind {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-200px);
    }
}

@keyframes g-road-move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100px);
    }
}

@keyframes g-pothole-move {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(-200px);
    }
}

@keyframes g-truck-run {
    0% {
        left: -150px;
    }

    100% {
        left: 110%;
    }
}

@keyframes g-truck-bump {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-4px) rotate(-2deg);
    }

    40% {
        transform: translateY(2px) rotate(1deg);
    }

    60% {
        transform: translateY(-3px) rotate(2deg);
    }

    80% {
        transform: translateY(1px) rotate(-1deg);
    }
}

@keyframes g-blink {
    0%, 92%, 100% {
        transform: scaleY(1);
    }

    95%, 97% {
        transform: scaleY(0.08);
    }
}

@keyframes g-wave {
    0%, 100% {
        transform: rotate(-80deg);
    }

    50% {
        transform: rotate(-140deg);
    }
}

@keyframes g-antenna-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

@keyframes g-heart-beat {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes grenles-pulse-route {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}

@keyframes grenles-route-dash {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 16px 0;
    }
}

@keyframes grenles-truck-run-path {
    0% {
        left: -22px;
        transform: translateY(-50%) scale(0.7);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.1);
    }

    90% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    100% {
        left: calc(100% - 22px);
        transform: translateY(-50%) scale(0.7);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 04. LAYOUT PRINCIPAL                                               */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-main {
    padding-top: 76px;
    min-height: calc(100vh - 76px);
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 05. NAVBAR — AZUL OSCURO PROFESIONAL GRENLES                       */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0A3880 0%, #0D47A1 60%, #1565C0 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(10, 56, 128, 0.35);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

    .grenles-navbar::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #1565C0 0%, #E53935 50%, #FBBF24 100%);
        opacity: 0.9;
    }

.grenles-navbar-scrolled {
    background: linear-gradient(135deg, #0A3880 0%, #0D47A1 60%, #1565C0 100%);
    box-shadow: 0 8px 32px rgba(10, 56, 128, 0.5);
}

.grenles-navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.grenles-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

    .grenles-logo:hover {
        transform: scale(1.05);
    }

.grenles-logo-img {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.grenles-navbar-links {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
}

.grenles-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    background: transparent;
}

    .grenles-nav-link i {
        color: #FFFFFF;
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .grenles-nav-link:hover {
        color: #FFFFFF;
        background: rgba(255, 255, 255, 0.14);
        transform: translateY(-1px);
    }

        .grenles-nav-link:hover i {
            transform: scale(1.15);
        }

    .grenles-nav-link::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        width: 24px;
        height: 2px;
        background: #FBBF24;
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .grenles-nav-link:hover::after {
        transform: translateX(-50%) scaleX(1);
    }

.grenles-navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.grenles-navbar-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.28s ease;
}

    .grenles-navbar-toggle:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: scale(1.08) rotate(6deg);
    }

@media (max-width: 768px) {
    .grenles-navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    .grenles-navbar-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0A3880 0%, #0D47A1 60%, #1565C0 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 6px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-bottom: 3px solid #E53935;
        box-shadow: 0 20px 40px rgba(10, 56, 128, 0.5);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .grenles-navbar-open .grenles-navbar-links {
        transform: translateY(0);
    }

    .grenles-nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 18px;
        font-size: 0.95rem;
        color: #FFFFFF;
    }

        .grenles-nav-link::after {
            display: none;
        }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 06. BOTONES GENÉRICOS                                              */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 14px;
    border: none;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--g-bounce);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}

    .grenles-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
        pointer-events: none;
    }

    .grenles-btn:hover::before {
        transform: translateX(100%);
    }

.grenles-btn-primary {
    background: linear-gradient(135deg, var(--g-primary), var(--g-accent));
    background-size: 200% 200%;
    color: #FFFFFF;
    box-shadow: 0 10px 28px var(--g-primary-glow);
}

    .grenles-btn-primary:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 16px 40px var(--g-primary-glow);
        background-position: 100% 50%;
    }

    .grenles-btn-primary:active {
        transform: translateY(-1px) scale(0.98);
    }

.grenles-btn-outline {
    background: transparent;
    color: var(--g-primary);
    border: 2.5px solid var(--g-primary);
}

    .grenles-btn-outline:hover {
        background: var(--g-primary);
        color: #FFFFFF;
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 14px 34px var(--g-primary-glow);
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 07. SECCIONES GENÉRICAS                                            */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-section-header {
    text-align: center;
    margin-bottom: 56px;
    padding: 0 16px;
}

.grenles-section-tag {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(229, 57, 53, 0.12));
    color: var(--g-primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1.5px solid rgba(21, 101, 192, 0.15);
    transition: var(--g-bounce);
}

    .grenles-section-tag:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 18px var(--g-primary-glow);
    }

.grenles-section-title {
    font-family: var(--g-font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.8px;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--g-text) 0%, var(--g-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grenles-page-header {
    text-align: center;
    padding: 40px 24px 50px;
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

    .grenles-page-header::before {
        content: '';
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--g-primary-glow) 0%, transparent 70%);
        animation: g-pulse 5s ease-in-out infinite;
        pointer-events: none;
        z-index: -1;
    }

    .grenles-page-header h1 {
        position: relative;
        z-index: 1;
        font-family: var(--g-font-display);
        font-size: clamp(2rem, 4.5vw, 3.2rem);
        font-weight: 900;
        letter-spacing: -1px;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        background: linear-gradient(135deg, var(--g-primary-dark), var(--g-primary), var(--g-accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        flex-wrap: wrap;
    }

        .grenles-page-header h1 i {
            -webkit-text-fill-color: var(--g-primary);
            filter: drop-shadow(0 4px 12px var(--g-primary-glow));
        }

    .grenles-page-header p {
        position: relative;
        z-index: 1;
        color: var(--g-text-soft);
        font-size: 1.15rem;
        font-weight: 500;
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 08. HERO CON CARRUSEL                                              */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-hero {
    position: relative;
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

    .grenles-hero::before {
        content: '';
        position: absolute;
        top: -20%;
        right: -10%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--g-primary-glow) 0%, transparent 70%);
        animation: g-pulse 6s ease-in-out infinite;
        pointer-events: none;
        z-index: 0;
    }

    .grenles-hero::after {
        content: '';
        position: absolute;
        bottom: -15%;
        left: -10%;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--g-accent-glow) 0%, transparent 70%);
        animation: g-pulse 6s ease-in-out infinite 3s;
        pointer-events: none;
        z-index: 0;
    }

.grenles-hero-content {
    position: relative;
    z-index: 1;
}

.grenles-hero-title {
    font-family: var(--g-font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--g-text);
}

    .grenles-hero-title .text-gradient {
        background: linear-gradient(135deg, var(--g-primary) 0%, var(--g-accent) 50%, var(--g-purple) 100%);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: g-gradient-shift 5s ease infinite;
        font-weight: 900;
    }

.grenles-hero-subtitle {
    font-size: 1.15rem;
    color: var(--g-text-soft);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.7;
}

    .grenles-hero-subtitle strong {
        color: var(--g-primary-dark);
        font-weight: 800;
        padding: 0 4px;
        position: relative;
    }

        .grenles-hero-subtitle strong::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 4px;
            right: 4px;
            height: 4px;
            background: linear-gradient(90deg, var(--g-accent), var(--g-yellow));
            border-radius: 4px;
            opacity: 0.6;
            z-index: -1;
        }

.grenles-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.grenles-hero-image > img {
    animation: none;
    filter: none;
    width: 100%;
    height: auto;
    border-radius: var(--g-radius-lg);
}

.grenles-hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ─── CARRUSEL HERO ─── */
.grenles-hero-carousel {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: var(--g-radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px var(--g-primary-glow), 0 8px 24px rgba(15, 23, 41, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.6);
    background: #E2E8F0;
}

.grenles-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.6s ease;
    transform: scale(1.08);
    pointer-events: none;
}

    .grenles-hero-slide.active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
        z-index: 2;
    }

    .grenles-hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        animation: none;
        filter: none;
        border-radius: 0;
    }

    .grenles-hero-slide::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 60%, rgba(10, 56, 128, 0.4) 100%);
        pointer-events: none;
    }

.grenles-hero-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.grenles-hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    padding: 0;
}

    .grenles-hero-indicator.active {
        background: #FFFFFF;
        width: 40px;
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
        transform: scale(1.1);
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 09. ABOUT CARDS                                                    */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-about {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
}

.grenles-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.grenles-about-card {
    position: relative;
    background: var(--g-card);
    padding: 44px 32px;
    border-radius: var(--g-radius-xl);
    text-align: center;
    box-shadow: var(--g-shadow-sm);
    border: 1.5px solid var(--g-border);
    transition: var(--g-bounce);
    overflow: hidden;
    isolation: isolate;
}

    .grenles-about-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--g-primary), var(--g-accent), var(--g-purple));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
    }

    .grenles-about-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: var(--g-shadow-xl);
        border-color: transparent;
    }

        .grenles-about-card:hover::before {
            transform: scaleX(1);
        }

    .grenles-about-card i {
        font-size: 3rem;
        background: linear-gradient(135deg, var(--g-primary), var(--g-accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 20px;
        display: inline-block;
        transition: var(--g-elastic);
    }

    .grenles-about-card:hover i {
        transform: scale(1.2) rotate(-10deg);
    }

    .grenles-about-card h3 {
        font-family: var(--g-font-display);
        font-size: 1.4rem;
        font-weight: 900;
        margin-bottom: 12px;
        color: var(--g-text);
    }

    .grenles-about-card p {
        color: var(--g-text-soft);
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 10. SERVICES CARDS                                                 */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-services-preview {
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    background: linear-gradient(180deg, var(--g-bg-alt) 0%, var(--g-bg) 100%);
}

.grenles-services-grid,
.grenles-services-full-grid {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 26px;
}

.grenles-services-full-grid {
    padding: 20px 40px 80px;
}

.grenles-service-card {
    position: relative;
    background: var(--g-card);
    padding: 36px 28px;
    border-radius: var(--g-radius-lg);
    border: 1.5px solid var(--g-border);
    transition: var(--g-bounce);
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
}

    .grenles-service-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(21, 101, 192, 0.04), rgba(229, 57, 53, 0.04));
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .grenles-service-card:hover {
        transform: translateY(-10px) rotate(-0.5deg);
        box-shadow: var(--g-shadow-xl);
        border-color: var(--g-primary-light);
    }

        .grenles-service-card:hover::before {
            opacity: 1;
        }

.grenles-service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.15), rgba(229, 57, 53, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--g-primary);
    margin-bottom: 22px;
    transition: var(--g-elastic);
    position: relative;
}

.grenles-service-card:hover .grenles-service-icon {
    transform: scale(1.15) rotate(-10deg);
    background: linear-gradient(135deg, var(--g-primary), var(--g-accent));
    color: #FFFFFF;
    box-shadow: 0 12px 30px var(--g-primary-glow);
}

.grenles-service-card h3 {
    font-family: var(--g-font-display);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--g-text);
}

.grenles-service-card p {
    color: var(--g-text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 11. SEARCH SECTION — MIS PEDIDOS                                   */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-search-section {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px 50px;
    position: relative;
    z-index: 2;
}

.grenles-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--g-card);
    border-radius: 20px;
    padding: 12px 20px;
    box-shadow: 0 20px 50px var(--g-primary-glow), var(--g-shadow-lg);
    border: 2.5px solid var(--g-border);
    transition: var(--g-transition);
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
}

    .grenles-search-box::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(21, 101, 192, 0.05), transparent);
        background-size: 200% 100%;
        animation: g-shimmer 3s ease-in-out infinite;
        pointer-events: none;
    }

    .grenles-search-box:focus-within {
        border-color: var(--g-primary);
        box-shadow: 0 0 0 6px rgba(21, 101, 192, 0.15), var(--g-shadow-xl);
        transform: scale(1.02);
    }

    .grenles-search-box > i {
        color: var(--g-primary);
        font-size: 1.3rem;
        animation: g-pulse 2s ease-in-out infinite;
        flex-shrink: 0;
    }

    .grenles-search-box input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 1.05rem;
        font-family: inherit;
        color: var(--g-text);
        background: transparent;
        font-weight: 600;
        min-width: 0;
        letter-spacing: 1px;
    }

        .grenles-search-box input::placeholder {
            color: var(--g-text-muted);
            font-weight: 500;
            letter-spacing: 0;
        }

/* ═══════════════════════════════════════════════════════════════════ */
/* 12. TIMELINE                                                       */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px 0;
}

.grenles-timeline-item {
    display: flex;
    gap: 24px;
    position: relative;
    padding-bottom: 40px;
    animation: g-slide-up 0.6s ease backwards;
}

    .grenles-timeline-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .grenles-timeline-item:nth-child(2) {
        animation-delay: 0.25s;
    }

    .grenles-timeline-item:nth-child(3) {
        animation-delay: 0.4s;
    }

    .grenles-timeline-item:nth-child(4) {
        animation-delay: 0.55s;
    }

    .grenles-timeline-item:last-child {
        padding-bottom: 0;
    }

    .grenles-timeline-item:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 27px;
        top: 60px;
        bottom: 0;
        width: 4px;
        border-radius: 4px;
        background: var(--g-border);
        transition: background 0.5s ease;
    }

    .grenles-timeline-item.completado:not(:last-child)::before {
        background: linear-gradient(180deg, var(--g-primary), var(--g-accent), var(--g-purple));
        box-shadow: 0 0 20px var(--g-primary-glow);
    }

.grenles-timeline-marker {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--g-bg-alt);
    border: 3px solid var(--g-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--g-text-muted);
    flex-shrink: 0;
    transition: var(--g-bounce);
    z-index: 2;
    position: relative;
}

.grenles-timeline-item.completado .grenles-timeline-marker {
    background: linear-gradient(135deg, var(--g-primary), var(--g-purple));
    border-color: var(--g-primary);
    color: #FFFFFF;
    box-shadow: 0 0 0 8px rgba(21, 101, 192, 0.15), 0 8px 24px var(--g-primary-glow);
    transform: scale(1.05);
}

.grenles-timeline-item.actual .grenles-timeline-marker {
    background: linear-gradient(135deg, var(--g-accent), var(--g-orange));
    border-color: var(--g-accent);
    color: #FFFFFF;
    animation: g-pulse-ring 2s ease-out infinite, g-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 8px var(--g-accent-glow), 0 8px 24px var(--g-accent-glow);
}

    .grenles-timeline-item.actual .grenles-timeline-marker i {
        animation: g-spin 2s linear infinite;
    }

.grenles-timeline-content {
    padding-top: 8px;
    flex: 1;
    min-width: 0;
}

.grenles-timeline-title {
    font-family: var(--g-font-display);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--g-text);
    transition: var(--g-transition);
}

.grenles-timeline-item.completado .grenles-timeline-title {
    background: linear-gradient(135deg, var(--g-primary-dark), var(--g-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grenles-timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--g-text-soft);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(21, 101, 192, 0.08);
    border: 1px solid rgba(21, 101, 192, 0.15);
    transition: var(--g-bounce);
}

    .grenles-timeline-date i {
        color: var(--g-primary);
    }

    .grenles-timeline-date:hover {
        transform: scale(1.05);
    }

.grenles-timeline-pending {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--g-text-muted);
    font-style: italic;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px dashed var(--g-text-muted);
}

.grenles-timeline-mensaje-especial {
    margin-top: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.12), rgba(239, 68, 68, 0.06));
    border-left: 4px solid var(--g-accent);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--g-accent-dark);
    font-weight: 700;
    line-height: 1.5;
    animation: g-shake 0.5s ease;
}

    .grenles-timeline-mensaje-especial i {
        color: var(--g-accent);
        font-size: 1.2rem;
        flex-shrink: 0;
        margin-top: 2px;
        animation: g-pulse 1.5s ease-in-out infinite;
    }

.fa-truck-animated {
    display: inline-block;
    animation: g-truck-drive 2.5s ease-in-out infinite;
    color: var(--g-accent);
    filter: drop-shadow(0 4px 12px var(--g-accent-glow));
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 13. MAPA GOOGLE                                                    */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-map-container {
    position: relative;
    margin: 32px auto 0;
    border-radius: var(--g-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px var(--g-primary-glow), 0 6px 18px rgba(15, 23, 41, 0.1);
    border: 3px solid var(--g-primary-lighter);
    background: #E2E8F0;
    height: 400px;
    max-width: 1000px;
    width: 100%;
    transition: all 0.4s ease;
}

    .grenles-map-container:hover {
        border-color: var(--g-primary);
        box-shadow: 0 30px 70px var(--g-primary-glow);
    }

    .grenles-map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
        visibility: visible;
        opacity: 1;
    }

.grenles-map-header {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    background: linear-gradient(135deg, var(--g-primary), var(--g-accent));
    background-size: 200% 200%;
    animation: g-gradient-shift 4s ease infinite;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 8px 22px var(--g-primary-glow);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.grenles-map-link {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    background: #FFFFFF;
    color: var(--g-primary-dark);
    padding: 10px 18px;
    border-radius: 24px;
    font-weight: 800;
    font-size: 0.8rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(15, 23, 41, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

    .grenles-map-link:hover {
        transform: translateY(-3px) scale(1.05);
        background: var(--g-primary);
        color: #FFFFFF;
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 14. ORDER INFO CARDS                                               */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-current-order {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px 50px;
    animation: g-slide-up 0.6s ease;
}

.grenles-order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-bottom: 40px;
}

.grenles-order-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--g-card);
    border-radius: var(--g-radius);
    border: 1.5px solid var(--g-border);
    transition: var(--g-bounce);
    position: relative;
    overflow: hidden;
}

    .grenles-order-info-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, var(--g-primary), var(--g-accent));
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.4s ease;
    }

    .grenles-order-info-item:hover {
        transform: translateX(6px) scale(1.02);
        box-shadow: var(--g-shadow-md);
        border-color: var(--g-primary-lighter);
    }

        .grenles-order-info-item:hover::before {
            transform: scaleY(1);
        }

    .grenles-order-info-item > i {
        font-size: 1.5rem;
        color: var(--g-primary);
        flex-shrink: 0;
        width: 28px;
        text-align: center;
        transition: var(--g-elastic);
    }

    .grenles-order-info-item:hover > i {
        transform: scale(1.2) rotate(-10deg);
        color: var(--g-accent);
    }

    .grenles-order-info-item > div {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }

.grenles-order-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--g-text-muted);
    font-weight: 800;
}

.grenles-order-info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--g-text);
    word-break: break-word;
}

.grenles-order-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--g-text-soft);
    font-weight: 700;
    margin-top: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(21, 101, 192, 0.08);
}

    .grenles-order-date i {
        color: var(--g-primary);
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 15. HISTORY LIST                                                   */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-order-history {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.grenles-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.grenles-history-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--g-card);
    border-radius: var(--g-radius);
    border: 1.5px solid var(--g-border);
    cursor: pointer;
    transition: var(--g-bounce);
    position: relative;
    overflow: hidden;
}

    .grenles-history-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(21, 101, 192, 0.04), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .grenles-history-item:hover {
        transform: translateX(10px) scale(1.01);
        border-color: var(--g-primary);
        box-shadow: 0 12px 30px var(--g-primary-glow);
    }

        .grenles-history-item:hover::before {
            opacity: 1;
        }

.grenles-history-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.15), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--g-elastic);
}

.grenles-history-item:hover .grenles-history-icon {
    transform: scale(1.15) rotate(-10deg);
    background: linear-gradient(135deg, var(--g-primary), var(--g-purple));
    color: #FFFFFF;
    box-shadow: 0 8px 20px var(--g-primary-glow);
}

.grenles-history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.grenles-history-id {
    font-weight: 800;
    font-size: 1rem;
    color: var(--g-text);
}

.grenles-history-date {
    font-size: 0.8rem;
    color: var(--g-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.grenles-history-status {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--g-bounce);
    white-space: nowrap;
}

.grenles-history-item:hover .grenles-history-status {
    transform: scale(1.08);
}

.grenles-history-status.entregado {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(5, 150, 105, 0.12));
    color: #047857;
    box-shadow: 0 4px 12px var(--g-success-glow);
}

.grenles-history-status.en-camino {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.12));
    color: #B45309;
    box-shadow: 0 4px 12px var(--g-warning-glow);
}

.grenles-history-status.anulado {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(185, 28, 28, 0.12));
    color: #B91C1C;
    box-shadow: 0 4px 12px var(--g-danger-glow);
}

.grenles-history-status.pendiente {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(100, 116, 139, 0.12));
    color: #475569;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 16. CONFETTI                                                       */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.grenles-confetti-piece {
    position: absolute;
    top: -20px;
    width: 12px;
    height: 12px;
    animation: g-confetti-fall 3.5s linear forwards;
}

    .grenles-confetti-piece:nth-child(odd) {
        border-radius: 50%;
    }

    .grenles-confetti-piece:nth-child(even) {
        border-radius: 3px;
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 17. MODAL                                                          */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(circle at center, rgba(10, 56, 128, 0.75) 0%, rgba(15, 23, 41, 0.92) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: g-fade-in 0.3s ease;
}

.grenles-modal {
    background: var(--g-card);
    border-radius: var(--g-radius-xl);
    max-width: 680px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(10, 56, 128, 0.5), 0 8px 24px rgba(15, 23, 41, 0.3);
    animation: g-bounce-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.grenles-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--g-primary-dark), var(--g-primary), var(--g-purple));
    background-size: 200% 200%;
    animation: g-gradient-shift 6s ease infinite;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .grenles-modal-header::before {
        content: '';
        position: absolute;
        top: -60%;
        right: -10%;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
        pointer-events: none;
    }

    .grenles-modal-header h3 {
        font-family: var(--g-font-display);
        font-size: 1.3rem;
        font-weight: 900;
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        position: relative;
        z-index: 1;
    }

.grenles-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--g-transition);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

    .grenles-modal-close:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: rotate(90deg) scale(1.1);
    }

.grenles-modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 18. NOVEDADES                                                      */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-novedades-list {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 40px 80px;
}

.grenles-novedad {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 28px;
    align-items: center;
    background: var(--g-card);
    border-radius: var(--g-radius-xl);
    padding: 32px;
    margin-bottom: 36px;
    box-shadow: var(--g-shadow-sm);
    border: 1.5px solid var(--g-border);
    transition: var(--g-bounce);
    position: relative;
    overflow: hidden;
    animation: g-slide-up 0.6s ease backwards;
}

    .grenles-novedad:nth-child(1) {
        animation-delay: 0.1s;
    }

    .grenles-novedad:nth-child(2) {
        animation-delay: 0.25s;
    }

    .grenles-novedad:nth-child(3) {
        animation-delay: 0.4s;
    }

    .grenles-novedad:nth-child(4) {
        animation-delay: 0.55s;
    }

    .grenles-novedad::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--g-primary), var(--g-accent), var(--g-purple), var(--g-cyan));
        background-size: 200% 100%;
        animation: g-gradient-shift 4s ease infinite;
    }

    .grenles-novedad:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: var(--g-shadow-xl);
        border-color: var(--g-primary-lighter);
    }

.grenles-novedad-images-left,
.grenles-novedad-images-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.grenles-novedad-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--g-radius-sm);
    transition: var(--g-bounce);
    cursor: pointer;
    box-shadow: var(--g-shadow-xs);
    display: block;
}

    .grenles-novedad-img:hover {
        transform: scale(1.08) rotate(-2deg);
        box-shadow: 0 12px 30px var(--g-primary-glow);
        z-index: 2;
    }

.grenles-novedad-content {
    text-align: center;
}

.grenles-novedad-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    color: var(--g-purple);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.grenles-novedad-title {
    font-family: var(--g-font-display);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.25;
    color: var(--g-text);
}

.grenles-novedad-text {
    color: var(--g-text-soft);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.grenles-novedad-date {
    font-size: 0.8rem;
    color: var(--g-text-muted);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(21, 101, 192, 0.06);
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 19. CONTACTO                                                       */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-contact-hero {
    text-align: center;
    padding: 40px 24px 20px;
    max-width: 800px;
    margin: 0 auto;
}

    .grenles-contact-hero h2 {
        font-family: var(--g-font-display);
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
        font-weight: 900;
        letter-spacing: -0.8px;
        background: linear-gradient(135deg, var(--g-primary-dark), var(--g-accent), var(--g-purple));
        background-size: 200% 200%;
        animation: g-gradient-shift 5s ease infinite;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 12px;
    }

    .grenles-contact-hero p {
        font-size: 1.05rem;
        color: var(--g-text-soft);
        font-weight: 500;
    }

.grenles-contact-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 20px 24px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.grenles-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 41, 0.15);
}

    .grenles-cta-btn i {
        font-size: 1.15rem;
        transition: transform 0.3s ease;
    }

    .grenles-cta-btn:hover i {
        transform: scale(1.25) rotate(-8deg);
    }

    .grenles-cta-btn:hover {
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 18px 40px rgba(15, 23, 41, 0.25);
    }

.grenles-cta-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.grenles-cta-phone {
    background: linear-gradient(135deg, var(--g-primary), var(--g-primary-light));
}

.grenles-cta-email {
    background: linear-gradient(135deg, var(--g-accent), var(--g-orange));
}

.grenles-cta-location {
    background: linear-gradient(135deg, var(--g-purple), var(--g-pink));
}

.grenles-contact-grid {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.grenles-contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.grenles-contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px;
    border-radius: var(--g-radius);
    background: var(--g-card);
    border: 1.5px solid var(--g-border);
    transition: var(--g-bounce);
    position: relative;
    overflow: hidden;
}

    .grenles-contact-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(21, 101, 192, 0.05), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .grenles-contact-card:hover {
        transform: translateX(8px) scale(1.02);
        box-shadow: var(--g-shadow-lg);
        border-color: var(--g-primary-lighter);
    }

        .grenles-contact-card:hover::before {
            opacity: 1;
        }

    .grenles-contact-card i {
        font-size: 1.8rem;
        color: var(--g-primary);
        transition: var(--g-elastic);
        flex-shrink: 0;
    }

    .grenles-contact-card:hover i {
        transform: scale(1.2) rotate(-10deg);
        color: var(--g-accent);
    }

    .grenles-contact-card h3 {
        font-size: 1rem;
        font-weight: 800;
        margin-bottom: 4px;
        color: var(--g-text);
    }

    .grenles-contact-card p {
        font-size: 0.9rem;
        color: var(--g-text-soft);
        word-break: break-word;
    }

.grenles-contact-form {
    background: var(--g-card);
    padding: 40px;
    border-radius: var(--g-radius-xl);
    box-shadow: var(--g-shadow-lg);
    border: 1.5px solid var(--g-border);
    position: relative;
    overflow: hidden;
}

    .grenles-contact-form::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--g-primary), var(--g-accent), var(--g-purple));
        background-size: 200% 100%;
        animation: g-gradient-shift 4s ease infinite;
    }

    .grenles-contact-form h2 {
        font-family: var(--g-font-display);
        font-size: 1.5rem;
        font-weight: 900;
        margin-bottom: 28px;
        background: linear-gradient(135deg, var(--g-primary-dark), var(--g-accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.grenles-form-group {
    margin-bottom: 22px;
}

    .grenles-form-group label {
        display: block;
        font-size: 0.82rem;
        font-weight: 800;
        color: var(--g-text-soft);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }

    .grenles-form-group input,
    .grenles-form-group textarea {
        width: 100%;
        padding: 14px 18px;
        border: 2.5px solid var(--g-border);
        border-radius: 12px;
        font-size: 0.95rem;
        font-family: inherit;
        background: var(--g-bg);
        transition: var(--g-transition);
        outline: none;
        color: var(--g-text);
        -webkit-appearance: none;
        appearance: none;
    }

        .grenles-form-group input:focus,
        .grenles-form-group textarea:focus {
            border-color: var(--g-primary);
            background: #FFFFFF;
            box-shadow: 0 0 0 5px rgba(21, 101, 192, 0.12);
            transform: scale(1.01);
        }

/* ═══════════════════════════════════════════════════════════════════ */
/* 20. CLIENTES CARRUSEL                                              */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-clients {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
}

.grenles-clients-carousel {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.grenles-clients-track {
    display: flex;
    gap: 80px;
    animation: g-marquee 28s linear infinite;
    width: fit-content;
    align-items: center;
}

    .grenles-clients-track:hover {
        animation-play-state: paused;
    }

    .grenles-clients-track img {
        height: 70px;
        width: auto;
        max-width: 140px;
        object-fit: contain;
        filter: grayscale(100%) opacity(0.55);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        flex-shrink: 0;
    }

        .grenles-clients-track img:hover {
            filter: grayscale(0%) opacity(1) drop-shadow(0 8px 20px var(--g-primary-glow));
            transform: scale(1.25) rotate(-3deg);
        }

/* ═══════════════════════════════════════════════════════════════════ */
/* 21. TRUCK SCENE                                                    */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-truck-scene {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(180deg, #BAE6FD 0%, #E0F2FE 40%, #F1F5F9 70%, #94A3B8 100%);
    border-radius: var(--g-radius-lg);
    margin: 30px auto 40px;
    max-width: 1000px;
    box-shadow: inset 0 -40px 60px rgba(21, 101, 192, 0.15), 0 12px 30px rgba(15, 23, 41, 0.08);
    z-index: 1;
}

.grenles-truck-cloud {
    position: absolute;
    top: 20px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    animation: g-cloud-move 12s linear infinite;
    filter: blur(1px);
    will-change: transform;
}

    .grenles-truck-cloud::before,
    .grenles-truck-cloud::after {
        content: '';
        position: absolute;
        background: inherit;
        border-radius: 50%;
    }

    .grenles-truck-cloud::before {
        width: 40px;
        height: 40px;
        top: -18px;
        left: 10px;
    }

    .grenles-truck-cloud::after {
        width: 50px;
        height: 50px;
        top: -25px;
        right: 10px;
    }

    .grenles-truck-cloud:nth-child(1) {
        width: 70px;
        animation-duration: 14s;
        animation-delay: 0s;
    }

    .grenles-truck-cloud:nth-child(2) {
        width: 50px;
        top: 40px;
        animation-duration: 18s;
        animation-delay: 4s;
    }

    .grenles-truck-cloud:nth-child(3) {
        width: 90px;
        top: 15px;
        animation-duration: 22s;
        animation-delay: 8s;
    }

.grenles-wind {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    border-radius: 2px;
    animation: g-wind 0.6s linear infinite;
    will-change: transform;
}

    .grenles-wind:nth-child(4) {
        top: 50%;
        width: 120px;
        animation-delay: 0s;
    }

    .grenles-wind:nth-child(5) {
        top: 60%;
        width: 80px;
        animation-delay: 0.2s;
    }

    .grenles-wind:nth-child(6) {
        top: 70%;
        width: 160px;
        animation-delay: 0.4s;
    }

    .grenles-wind:nth-child(7) {
        top: 55%;
        width: 60px;
        animation-delay: 0.6s;
    }

.grenles-truck-road {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 6px;
    background: #64748B;
    box-shadow: 0 -3px 0 #475569, 0 3px 0 rgba(0, 0, 0, 0.2);
}

    .grenles-truck-road::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 3px;
        margin-top: -1.5px;
        background: repeating-linear-gradient(90deg, #FBBF24 0, #FBBF24 50px, transparent 50px, transparent 100px);
        animation: g-road-move 0.5s linear infinite;
    }

.grenles-truck-pothole {
    position: absolute;
    bottom: 34px;
    width: 30px;
    height: 12px;
    background: radial-gradient(ellipse at center, #1E293B 0%, transparent 70%);
    border-radius: 50%;
    animation: g-pothole-move 5s linear infinite;
    opacity: 0.7;
    will-change: transform;
}

.grenles-truck-runner {
    position: absolute;
    bottom: 46px;
    left: -150px;
    width: 130px;
    animation: g-truck-run 5s linear infinite, g-truck-bump 0.22s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(21, 101, 192, 0.5));
    will-change: transform, left;
}

    .grenles-truck-runner svg {
        width: 100%;
        height: auto;
        display: block;
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 22. ROBOT IA FLOTANTE                                              */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-robot-ia {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
    max-width: 90vw;
}

.grenles-robot-bubble {
    max-width: 160px;
    padding: 9px 11px;
    background: linear-gradient(135deg, var(--g-primary-dark), var(--g-purple));
    background-size: 200% 200%;
    animation: g-gradient-shift 5s ease infinite;
    color: #FFFFFF;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 8px 20px var(--g-primary-glow), 0 2px 6px rgba(15, 23, 41, 0.2);
    opacity: 0;
    transform: translateY(7px) scale(0.85);
    transform-origin: bottom right;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    pointer-events: auto;
    margin-right: 8px;
}

    .grenles-robot-bubble.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .grenles-robot-bubble::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 16px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid var(--g-purple);
    }

.grenles-robot-bubble-text {
    display: block;
}

.grenles-robot-bubble-emoji {
    display: inline-block;
    margin-right: 4px;
    animation: g-wiggle 2s ease-in-out infinite;
}

.grenles-robot-body {
    width: 55px;
    height: 55px;
    pointer-events: auto;
    cursor: pointer;
    animation: g-float 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    flex-shrink: 0;
}

    .grenles-robot-body:hover {
        transform: scale(1.12) rotate(-5deg);
    }

    .grenles-robot-body svg {
        width: 100%;
        height: 100%;
        filter: drop-shadow(0 6px 14px var(--g-primary-glow));
        overflow: visible;
    }

.grenles-robot-eye {
    animation: g-blink 4s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.grenles-robot-antenna {
    animation: g-antenna-pulse 1.4s ease-in-out infinite;
    transform-origin: center bottom;
    transform-box: fill-box;
}

.grenles-robot-arm {
    transform-origin: 100px 86px;
    transform-box: view-box;
    animation: g-wave 1.8s ease-in-out infinite;
}

.grenles-robot-heart {
    animation: g-heart-beat 1.2s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 23. RUTA DOPAMÍNICA (CASMU 1 → DOMICILIO)                          */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-route-section {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto 60px;
    padding: 40px 24px 20px;
    position: relative;
}

.grenles-route-subtitle {
    color: var(--g-text-soft);
    font-size: 1rem;
    margin-top: 10px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.grenles-route-visual {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    margin: 40px auto 32px;
    padding: 32px 28px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--g-radius-xl);
    border: 2px solid var(--g-border-soft);
    box-shadow: 0 20px 50px rgba(15, 23, 41, 0.08);
    position: relative;
    overflow: hidden;
}

    .grenles-route-visual::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 0% 50%, rgba(21, 101, 192, 0.05) 0%, transparent 40%), radial-gradient(circle at 100% 50%, rgba(229, 57, 53, 0.05) 0%, transparent 40%);
        pointer-events: none;
    }

.grenles-route-point {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
    padding: 12px 16px;
    border-radius: var(--g-radius);
    background: #FFFFFF;
    border: 2px solid var(--g-border);
    box-shadow: 0 8px 22px rgba(15, 23, 41, 0.08);
    transition: var(--g-bounce);
    min-width: 200px;
    max-width: 320px;
}

    .grenles-route-point:hover {
        transform: translateY(-4px) scale(1.03);
        box-shadow: 0 16px 40px rgba(21, 101, 192, 0.2);
    }

.grenles-route-origin {
    border-color: rgba(229, 57, 53, 0.35);
}

    .grenles-route-origin:hover {
        border-color: var(--g-accent);
        box-shadow: 0 16px 40px var(--g-accent-glow);
    }

.grenles-route-destination {
    border-color: rgba(21, 101, 192, 0.35);
}

    .grenles-route-destination:hover {
        border-color: var(--g-primary);
        box-shadow: 0 16px 40px var(--g-primary-glow);
    }

.grenles-route-point-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFFFFF;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.grenles-route-origin .grenles-route-point-icon {
    background: linear-gradient(135deg, var(--g-accent), var(--g-orange));
    box-shadow: 0 8px 20px var(--g-accent-glow);
}

.grenles-route-destination .grenles-route-point-icon {
    background: linear-gradient(135deg, var(--g-primary), var(--g-purple));
    box-shadow: 0 8px 20px var(--g-primary-glow);
}

.grenles-route-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: grenles-pulse-route 2s ease-out infinite;
}

.grenles-route-origin .grenles-route-pulse {
    color: var(--g-accent);
}

.grenles-route-destination .grenles-route-pulse {
    color: var(--g-primary);
}

.grenles-route-point-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.grenles-route-point-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--g-text-muted);
    font-weight: 800;
}

.grenles-route-point-info strong {
    font-family: var(--g-font-display);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--g-text);
    line-height: 1.2;
}

.grenles-route-point-info small {
    font-size: 0.78rem;
    color: var(--g-text-soft);
    font-weight: 600;
    word-break: break-word;
}

.grenles-route-path {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}

.grenles-route-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 6px;
    border-radius: 6px;
    background: repeating-linear-gradient(90deg, var(--g-border) 0, var(--g-border) 8px, transparent 8px, transparent 16px);
    transform: translateY(-50%);
    animation: grenles-route-dash 0.8s linear infinite;
}

.grenles-route-path::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--g-accent) 0%, var(--g-primary) 50%, var(--g-purple) 100%);
    border-radius: 3px;
    transform: translateY(-50%);
    box-shadow: 0 0 12px rgba(21, 101, 192, 0.35);
    opacity: 0.55;
}

.grenles-route-truck {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--g-primary), var(--g-accent));
    color: #FFFFFF;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px var(--g-primary-glow), 0 0 0 4px #FFFFFF;
    animation: grenles-truck-run-path 5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 3;
}

    .grenles-route-truck::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 100%;
        transform: translateY(-50%);
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--g-primary-light));
        border-radius: 3px;
        opacity: 0.7;
        filter: blur(1px);
    }

.grenles-route-map {
    margin-top: 20px;
    max-width: 100%;
    height: 460px;
    border: 3px solid var(--g-primary-lighter);
    position: relative;
}

    .grenles-route-map:hover {
        border-color: var(--g-primary);
        box-shadow: 0 30px 70px var(--g-primary-glow);
    }

.grenles-current-order .grenles-route-section {
    max-width: 100%;
    padding: 20px 0 10px;
    margin: 20px auto 0;
}

.grenles-current-order .grenles-route-visual {
    padding: 24px 20px;
    margin: 30px auto 24px;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 24. EMPTY STATES                                                   */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    gap: 18px;
    max-width: 500px;
    margin: 0 auto;
    animation: g-slide-up 0.6s ease;
}

    .grenles-empty-state i {
        font-size: 4rem;
        background: linear-gradient(135deg, var(--g-primary-lighter), var(--g-accent-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: g-float 3s ease-in-out infinite;
    }

    .grenles-empty-state h3 {
        font-family: var(--g-font-display);
        font-size: 1.5rem;
        font-weight: 900;
        color: var(--g-text);
    }

    .grenles-empty-state p {
        color: var(--g-text-soft);
        font-size: 0.95rem;
    }

/* ═══════════════════════════════════════════════════════════════════ */
/* 25. FOOTER                                                         */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-footer {
    background: linear-gradient(135deg, var(--g-primary-darker), var(--g-primary-dark), var(--g-purple));
    background-size: 200% 200%;
    animation: g-gradient-shift 12s ease infinite;
    color: #FFFFFF;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

    .grenles-footer::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }

.grenles-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 24px 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.grenles-footer-logo {
    height: 44px;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    width: auto;
}

.grenles-footer-brand p {
    opacity: 0.9;
    font-size: 0.92rem;
    max-width: 320px;
    line-height: 1.6;
}

.grenles-footer-links h4,
.grenles-footer-contact h4 {
    font-family: var(--g-font-display);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 20px;
    opacity: 0.98;
    position: relative;
    display: inline-block;
}

    .grenles-footer-links h4::after,
    .grenles-footer-contact h4::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, var(--g-accent), var(--g-yellow));
        border-radius: 3px;
    }

.grenles-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .grenles-footer-links a {
        color: rgba(255, 255, 255, 0.82);
        text-decoration: none;
        font-size: 0.92rem;
        font-weight: 500;
        transition: var(--g-transition);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: fit-content;
    }

        .grenles-footer-links a::before {
            content: '→';
            opacity: 0;
            margin-left: -12px;
            transition: var(--g-transition);
            color: var(--g-yellow);
        }

        .grenles-footer-links a:hover {
            color: #FFFFFF;
            transform: translateX(12px);
        }

            .grenles-footer-links a:hover::before {
                opacity: 1;
                margin-left: 0;
            }

.grenles-footer-contact p {
    font-size: 0.92rem;
    opacity: 0.88;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--g-transition);
    word-break: break-word;
}

    .grenles-footer-contact p:hover {
        transform: translateX(6px);
    }

.grenles-footer-contact i {
    color: var(--g-yellow);
    width: 20px;
    flex-shrink: 0;
}

.grenles-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.75;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 26. RESPONSIVE                                                     */
/* ═══════════════════════════════════════════════════════════════════ */

/* ─── TABLET GRANDE / LAPTOP CHICO ─── */
@media (max-width: 1024px) {
    .grenles-novedad {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .grenles-novedad-images-left,
    .grenles-novedad-images-right {
        grid-template-columns: 1fr 1fr;
        max-width: 340px;
        margin: 0 auto;
    }

    .grenles-contact-grid {
        grid-template-columns: 1fr;
    }

    .grenles-footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .grenles-hero-carousel {
        height: 420px;
    }

    .grenles-map-container {
        height: 340px;
    }

    .grenles-route-map {
        height: 400px;
    }
}

/* ─── TABLET / MOBILE GRANDE ─── */
@media (max-width: 900px) {
    .grenles-route-visual {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }

    .grenles-route-point {
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }

    .grenles-route-path {
        height: 40px;
    }

    .grenles-route-truck {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .grenles-route-map {
        height: 340px;
    }
}

/* ─── MOBILE (iPhone, Android) ─── */
@media (max-width: 768px) {
    .grenles-main {
        padding-top: 72px;
        min-height: calc(100vh - 72px);
    }

    .grenles-navbar-container {
        padding: 0 16px;
        height: 72px;
    }

    .grenles-logo-img {
        height: 40px;
    }

    /* HERO MOBILE FIX */
    .grenles-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 20px 60px;
        gap: 40px;
    }

    .grenles-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .grenles-hero-actions {
        justify-content: center;
    }

    .grenles-hero-image {
        order: -1;
        width: 100%;
        max-width: 480px;
        margin: 0 auto 24px;
        display: block;
        position: relative;
        z-index: 1;
    }

    .grenles-hero-carousel {
        display: block;
        width: 100%;
        height: 320px;
        min-height: 320px;
        max-height: 320px;
        position: relative;
        visibility: visible;
        opacity: 1;
        overflow: hidden;
        border-radius: var(--g-radius);
        background: #E2E8F0;
    }

    .grenles-hero-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: visible;
        transition: opacity 0.8s ease;
        transform: none;
    }

        .grenles-hero-slide.active {
            opacity: 1;
            z-index: 2;
        }

        .grenles-hero-slide img {
            display: block;
            width: 100%;
            height: 100%;
            min-height: 100%;
            max-height: 100%;
            object-fit: cover;
            object-position: center;
            visibility: visible;
            opacity: 1;
            animation: none;
            filter: none;
            border-radius: 0;
        }

    .grenles-hero-indicators {
        bottom: 16px;
        z-index: 10;
    }

    .grenles-hero-indicator {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.7);
    }

        .grenles-hero-indicator.active {
            width: 28px;
            background: #FFFFFF;
        }

    .grenles-page-header {
        padding: 30px 20px 40px;
    }

    .grenles-search-box {
        flex-wrap: wrap;
        padding: 14px;
    }

        .grenles-search-box input {
            width: 100%;
            text-align: center;
        }

        .grenles-search-box .grenles-btn {
            width: 100%;
        }

    .grenles-footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }

    .grenles-footer-brand p {
        margin: 0 auto;
    }

    .grenles-footer-contact p {
        justify-content: center;
    }

    .grenles-footer-links a {
        margin: 0 auto;
    }

    .grenles-timeline-marker {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .grenles-timeline-item {
        gap: 18px;
    }

        .grenles-timeline-item:not(:last-child)::before {
            left: 22px;
            top: 50px;
        }

    .grenles-modal {
        max-width: 100%;
        border-radius: 20px;
        max-height: 92vh;
    }

    .grenles-modal-header {
        padding: 20px 22px;
    }

        .grenles-modal-header h3 {
            font-size: 1.1rem;
        }

    .grenles-modal-body {
        padding: 20px;
    }

    .grenles-map-container {
        height: 280px;
    }

    .grenles-clients-track img {
        height: 50px;
        max-width: 100px;
    }

    .grenles-clients-track {
        gap: 50px;
    }

    .grenles-truck-scene {
        height: 130px;
        margin: 20px auto 30px;
        border-radius: var(--g-radius);
    }

    .grenles-truck-runner {
        width: 100px;
        bottom: 40px;
    }

    .grenles-about,
    .grenles-services-preview,
    .grenles-services-full-grid,
    .grenles-novedades-list,
    .grenles-contact-grid,
    .grenles-current-order,
    .grenles-order-history,
    .grenles-search-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .grenles-clients {
        padding: 40px 20px;
    }

    .grenles-contact-form {
        padding: 28px 22px;
    }

    .grenles-contact-card {
        padding: 20px;
    }

    .grenles-cta-btn {
        padding: 14px 22px;
        font-size: 0.88rem;
        flex: 1 1 auto;
        min-width: 140px;
    }

    .grenles-page-header h1 {
        gap: 12px;
    }
}

/* ─── MOBILE CHICO (iPhone SE, Android chico) ─── */
@media (max-width: 480px) {
    .grenles-hero-title {
        font-size: 1.9rem;
    }

    .grenles-section-title {
        font-size: 1.5rem;
    }

    .grenles-page-header h1 {
        font-size: 1.65rem;
    }

    .grenles-about-card,
    .grenles-service-card {
        padding: 28px 22px;
    }

    .grenles-order-info {
        grid-template-columns: 1fr;
    }

    .grenles-timeline {
        padding: 20px 0;
    }

    .grenles-timeline-item {
        gap: 16px;
        padding-bottom: 32px;
    }

    .grenles-timeline-marker {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }

    .grenles-timeline-item:not(:last-child)::before {
        left: 19px;
        top: 44px;
    }

    .grenles-timeline-title {
        font-size: 1rem;
    }

    .grenles-map-container {
        height: 220px;
    }

    .grenles-route-map {
        height: 280px;
    }

    .grenles-hero-carousel {
        height: 240px;
        min-height: 240px;
        max-height: 240px;
    }

    .grenles-hero-image {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .grenles-hero-indicators {
        bottom: 12px;
        gap: 8px;
    }

    .grenles-hero-indicator {
        width: 8px;
        height: 8px;
    }

        .grenles-hero-indicator.active {
            width: 22px;
        }

    .grenles-truck-scene {
        height: 110px;
    }

    .grenles-truck-runner {
        width: 80px;
        bottom: 34px;
    }

    .grenles-cta-btn {
        padding: 12px 18px;
        font-size: 0.82rem;
        min-width: 120px;
        flex: 1 1 45%;
    }

    .grenles-contact-form {
        padding: 22px 18px;
    }

        .grenles-contact-form h2 {
            font-size: 1.25rem;
        }

    .grenles-form-group input,
    .grenles-form-group textarea {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .grenles-history-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .grenles-history-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .grenles-history-status {
        padding: 5px 12px;
        font-size: 0.7rem;
    }

    .grenles-modal-header {
        padding: 16px 18px;
    }

        .grenles-modal-header h3 {
            font-size: 1rem;
        }

    .grenles-modal-close {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .grenles-modal-body {
        padding: 16px;
    }

    .grenles-route-point {
        padding: 10px 12px;
        gap: 10px;
    }

    .grenles-route-point-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .grenles-route-point-info strong {
        font-size: 0.95rem;
    }

    .grenles-route-point-info small {
        font-size: 0.72rem;
    }

    .grenles-route-truck {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

/* ─── MOBILE MUY CHICO (iPhone SE 1st gen, 320px) ─── */
@media (max-width: 380px) {
    .grenles-hero-carousel {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    .grenles-navbar-container {
        padding: 0 12px;
    }

    .grenles-logo-img {
        height: 36px;
    }

    .grenles-cta-btn {
        flex: 1 1 100%;
        min-width: 0;
    }

    .grenles-timeline-marker {
        width: 38px;
        height: 38px;
    }

    .grenles-timeline-item:not(:last-child)::before {
        left: 17px;
        top: 40px;
    }
}

/* ─── MOBILE LANDSCAPE ─── */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
    .grenles-main {
        padding-top: 64px;
        min-height: calc(100vh - 64px);
    }

    .grenles-navbar-container {
        height: 64px;
    }

    .grenles-navbar-links {
        top: 64px;
    }

    .grenles-hero {
        padding: 20px 20px 40px;
    }

    .grenles-hero-image {
        max-width: 320px;
        margin-bottom: 12px;
    }

    .grenles-hero-carousel {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    .grenles-route-visual {
        padding: 16px 14px;
    }

    .grenles-route-map,
    .grenles-map-container {
        height: 260px;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 27. ACCESIBILIDAD                                                  */
/* ═══════════════════════════════════════════════════════════════════ */

@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;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 28. IMPRESIÓN                                                      */
/* ═══════════════════════════════════════════════════════════════════ */

@media print {
    .grenles-navbar,
    .grenles-footer,
    .grenles-robot-ia,
    .grenles-truck-scene,
    .grenles-map-container,
    .grenles-cta-btn {
        display: none !important;
    }

    .grenles-main {
        padding-top: 0;
    }

    body {
        background: #FFFFFF;
    }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* 29. VIDEO HERO — RASTREAR PEDIDO + MIS PEDIDOS CARD                */
/* ═══════════════════════════════════════════════════════════════════ */

.grenles-video-hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0A3880;
}

.grenles-video-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(0.85) saturate(1.05);
}

.grenles-video-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 56, 128, 0.88) 0%, rgba(10, 56, 128, 0.55) 45%, rgba(13, 71, 161, 0.75) 100%), linear-gradient(180deg, rgba(10, 56, 128, 0.35) 0%, rgba(10, 56, 128, 0.55) 100%);
    z-index: 1;
}

.grenles-video-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.grenles-video-hero-left {
    color: #FFFFFF;
    animation: g-slide-up 0.9s ease backwards;
}

.grenles-video-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: #FFFFFF;
    animation: g-gradient-shift 4s ease infinite;
}

    .grenles-video-hero-tag i {
        color: #FBBF24;
        animation: g-pulse 2s ease-in-out infinite;
    }

.grenles-video-hero-title {
    font-family: var(--g-font-display);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
    color: #FFFFFF;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

    .grenles-video-hero-title span {
        background: linear-gradient(135deg, #FBBF24 0%, #F97316 50%, #E53935 100%);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: g-gradient-shift 3s ease infinite;
        display: inline-block;
    }

.grenles-video-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin: 0 0 28px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.grenles-video-hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .grenles-video-hero-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 0.98rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

        .grenles-video-hero-features li i {
            color: #FBBF24;
            font-size: 1.1rem;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
            flex-shrink: 0;
        }

.grenles-video-hero-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    padding: 30px 20px;
    animation: g-slide-up 1s ease backwards 0.2s;
}

.grenles-mis-pedidos-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 5px;
    border-radius: 36px;
    overflow: hidden;
    isolation: isolate;
    animation: g-mis-pedidos-breath 3.5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    max-width: 320px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 12px 30px rgba(21, 101, 192, 0.4);
}

    .grenles-mis-pedidos-card::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 250%;
        aspect-ratio: 1;
        background: conic-gradient(from 0deg, #1565C0, #06B6D4, #10B981, #FBBF24, #F97316, #E53935, #EC4899, #8B5CF6, #1565C0);
        border-radius: 50%;
        transform: translate(-50%, -50%) rotate(0deg);
        animation: g-mis-pedidos-rotate 4s linear infinite;
        z-index: 0;
    }

.grenles-mis-pedidos-inner {
    position: relative;
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FBFF 100%);
    border-radius: 31px;
    padding: 40px 24px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 400px;
    overflow: hidden;
    z-index: 1;
}

    .grenles-mis-pedidos-inner::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(21, 101, 192, 0.06) 0%, transparent 60%);
        animation: g-mis-pedidos-glow 4s ease-in-out infinite;
        pointer-events: none;
    }

.grenles-mis-pedidos-icon {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1565C0 0%, #0A3880 50%, #E53935 100%);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2.3rem;
    box-shadow: 0 14px 34px rgba(21, 101, 192, 0.4), inset 0 -4px 10px rgba(0, 0, 0, 0.15), inset 0 4px 10px rgba(255, 255, 255, 0.25);
    animation: g-mis-pedidos-icon-float 2.5s ease-in-out infinite, g-mis-pedidos-gradient 3s ease infinite;
    z-index: 2;
}

    .grenles-mis-pedidos-icon::before,
    .grenles-mis-pedidos-icon::after {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        border: 3px solid #1565C0;
        animation: g-mis-pedidos-radar 2.4s ease-out infinite;
        pointer-events: none;
    }

    .grenles-mis-pedidos-icon::after {
        border-color: #E53935;
        animation-delay: 1.2s;
    }

.grenles-mis-pedidos-title {
    font-family: var(--g-font-display);
    font-size: 1.7rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0A3880 0%, #1565C0 40%, #E53935 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: g-mis-pedidos-gradient 3s ease infinite;
    letter-spacing: -0.8px;
    margin: 0;
    z-index: 2;
    text-align: center;
}

.grenles-mis-pedidos-subtitle {
    font-size: 0.88rem;
    color: var(--g-text-soft);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    text-align: center;
}

.grenles-mis-pedidos-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

    .grenles-mis-pedidos-dots span {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #1565C0;
        animation: g-mis-pedidos-dot 1.4s ease-in-out infinite;
    }

        .grenles-mis-pedidos-dots span:nth-child(2) {
            animation-delay: 0.2s;
            background: #E53935;
        }

        .grenles-mis-pedidos-dots span:nth-child(3) {
            animation-delay: 0.4s;
            background: #F97316;
        }

.grenles-mis-pedidos-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1565C0 0%, #E53935 100%);
    background-size: 200% 200%;
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 26px rgba(21, 101, 192, 0.4);
    animation: g-mis-pedidos-gradient 3s ease infinite, g-mis-pedidos-cta-shake 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    margin-top: 4px;
    white-space: nowrap;
}

    .grenles-mis-pedidos-cta i {
        transition: transform 0.3s ease;
    }

.grenles-mis-pedidos-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    color: #B91C1C;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1px;
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    z-index: 2;
    margin-top: 2px;
    animation: g-mis-pedidos-live-pulse 2s ease-in-out infinite;
}

.grenles-mis-pedidos-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: g-mis-pedidos-live-dot 1.2s ease-in-out infinite;
}

.grenles-mis-pedidos-sparkle {
    position: absolute;
    color: #FBBF24;
    font-size: 1.5rem;
    pointer-events: none;
    z-index: 4;
    filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.9));
    animation: g-mis-pedidos-sparkle 3s ease-in-out infinite;
}

    .grenles-mis-pedidos-sparkle.s1 {
        top: 6%;
        left: 6%;
        animation-delay: 0s;
        font-size: 1.3rem;
    }

    .grenles-mis-pedidos-sparkle.s2 {
        top: 12%;
        right: 6%;
        animation-delay: 0.8s;
        font-size: 1.05rem;
        color: #EC4899;
    }

    .grenles-mis-pedidos-sparkle.s3 {
        bottom: 16%;
        left: 8%;
        animation-delay: 1.6s;
        font-size: 1.6rem;
        color: #06B6D4;
    }

    .grenles-mis-pedidos-sparkle.s4 {
        bottom: 8%;
        right: 4%;
        animation-delay: 2.2s;
        font-size: 1.15rem;
    }

.grenles-mis-pedidos-card:hover {
    transform: scale(1.05);
}

    .grenles-mis-pedidos-card:hover .grenles-mis-pedidos-cta {
        transform: scale(1.08);
        box-shadow: 0 16px 40px rgba(21, 101, 192, 0.6);
    }

        .grenles-mis-pedidos-card:hover .grenles-mis-pedidos-cta i {
            transform: translateX(6px);
        }

.grenles-video-hero-scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.6rem;
    animation: g-video-scroll-bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

@keyframes g-video-scroll-bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 1;
    }
}

@keyframes g-mis-pedidos-rotate {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes g-mis-pedidos-breath {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes g-mis-pedidos-gradient {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes g-mis-pedidos-icon-float {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-6px) rotate(3deg);
    }
}

@keyframes g-mis-pedidos-radar {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

@keyframes g-mis-pedidos-dot {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@keyframes g-mis-pedidos-cta-shake {
    0%, 88%, 100% {
        transform: translateX(0);
    }

    90%, 96% {
        transform: translateX(-3px);
    }

    93%, 99% {
        transform: translateX(3px);
    }
}

@keyframes g-mis-pedidos-live-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

@keyframes g-mis-pedidos-live-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

@keyframes g-mis-pedidos-sparkle {
    0%, 100% {
        transform: scale(0.7) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.25) rotate(180deg);
        opacity: 1;
    }
}

@keyframes g-mis-pedidos-glow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(20%, 20%) scale(1.3);
        opacity: 0.8;
    }
}

@media (max-width: 1024px) {
    .grenles-video-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 28px 80px;
        text-align: center;
    }

    .grenles-video-hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .grenles-video-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .grenles-video-hero-features {
        align-items: flex-start;
        max-width: 300px;
        margin: 0 auto;
    }

        .grenles-video-hero-features li {
            justify-content: flex-start;
        }

    .grenles-mis-pedidos-card {
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .grenles-video-hero {
        min-height: auto;
        padding: 20px 0 60px;
    }

    .grenles-video-hero-content {
        padding: 30px 20px 60px;
        gap: 32px;
    }

    .grenles-video-hero-title {
        font-size: 2rem;
    }

    .grenles-video-hero-subtitle {
        font-size: 1rem;
    }

    .grenles-video-hero-tag {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .grenles-mis-pedidos-card {
        max-width: 320px;
    }

    .grenles-mis-pedidos-inner {
        min-height: 380px;
        padding: 32px 20px 28px;
    }

    .grenles-mis-pedidos-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .grenles-mis-pedidos-title {
        font-size: 1.5rem;
    }

    .grenles-video-hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .grenles-video-hero-title {
        font-size: 1.7rem;
    }

    .grenles-mis-pedidos-card {
        max-width: 280px;
    }

    .grenles-mis-pedidos-inner {
        min-height: 340px;
        padding: 26px 16px 24px;
        gap: 12px;
    }

    .grenles-mis-pedidos-icon {
        width: 72px;
        height: 72px;
        font-size: 1.8rem;
    }

    .grenles-mis-pedidos-title {
        font-size: 1.3rem;
    }

    .grenles-mis-pedidos-subtitle {
        font-size: 0.8rem;
    }

    .grenles-mis-pedidos-cta {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
}

/* Fin del CSS — Master Edition · Cross-device ready */
/* Codeado por 🦾 Hefesto 15.1 Pro Max | Sr. Ignacio */
