/* -- CSS Reset & Base -- */
:root {
    /* Color Palette - Executive Dashboard */
    --color-bg: #ffffff;
    /* Default background for light sections */
    --color-bg-alt: #f5f5f5;
    /* Light gray for contrast sections */
    --color-bg-dark: #3C3C3B;
    /* Anthracite for institutional sections */
    --color-bg-glass: rgba(255, 255, 255, 0.95);
    /* Header background */

    --color-text: #3C3C3B;
    /* Main text on light bg */
    --color-text-muted: #6b7280;
    --color-text-light: #ffffff;
    /* Main text on dark bg */
    --color-text-light-muted: #d1d5db;
    /* Muted text on dark bg */
    --color-heading: #111111;
    /* Headings on light bg */
    --color-heading-light: #ffffff;
    /* Headings on dark bg */

    --color-primary: #FC4C02;
    /* Vibrant Corporate Orange */
    --color-primary-dark: #d94002;
    --color-secondary: #F1B434;
    /* Warm Yellow */

    --color-border: rgba(60, 60, 59, 0.15);
    --color-border-light: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --container-width: 1280px;
    --section-padding: 7rem 0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 4px;
    /* Executive crisp edges */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* -- Typography Utilities -- */
.text-gradient,
.text-gradient-tech {
    color: var(--color-primary);
}

/* -- Layout Utilities -- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-padding);
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.bg-dark .section-title,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--color-heading-light);
}

.bg-dark .lead,
.bg-dark p,
.bg-dark a {
    color: var(--color-text-light-muted);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* -- Solid Minimalist Components (Former Glassmorphism) -- */
.glass-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.bg-dark .glass-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--color-border-light);
}

.glass-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.bg-dark .glass-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.padding-none {
    padding: 0;
    overflow: hidden;
}

.padding-lg {
    padding: 3rem;
}

/* -- Buttons -- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 76, 2, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-heading);
    border: 2px solid var(--color-text);
}

.bg-dark .btn-secondary {
    color: var(--color-text-light);
    border-color: var(--color-border-light);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.bg-dark .btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-bg-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #000;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* -- Navigation -- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--color-bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-heading);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links li a.nav-contact-btn {
    font-size: 0.95rem;
    padding: 0.45rem 1rem;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-cta-item {
    margin-left: 1rem;
}

.nav-cta-item a.btn {
    border: 1px solid rgba(245, 166, 35, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-heading);
    transition: var(--transition);
    border-radius: 3px;
}

/* -- Hero Section -- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
    background-color: var(--color-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-logistics {
    background-image: url('../img/hero-logistics.png');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.badget-text {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.2rem;
    background: rgba(14, 165, 233, 0.1);
    /* Cyan bg */
    color: var(--color-secondary);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 4px;
    /* Squarer tech look */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--color-heading);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin: 0 auto 2.5rem;
    max-width: 800px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* -- Group Synergy Card (Premium Redesign) -- */
.group-synergy-card {
    max-width: 1000px;
    margin: 4rem auto 6rem;
    padding: 4rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.group-synergy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.synergy-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.synergy-header span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.synergy-display {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.synergy-company {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.synergy-company img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.synergy-company:hover img {
    transform: scale(1.1);
}

.synergy-company span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--color-heading);
    letter-spacing: 1px;
}

.synergy-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    opacity: 0.4;
    position: relative;
}

.synergy-icon-pulse {
    animation: iconPulse 3s infinite ease-in-out;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.synergy-footer-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

@media (max-width: 768px) {
    .group-synergy-card {
        padding: 3rem 1.5rem;
        margin: 2rem 1rem 4rem;
    }

    .synergy-display {
        flex-direction: column;
        gap: 3rem;
    }

    .synergy-divider {
        transform: rotate(90deg);
        margin: -1rem 0;
    }

    .synergy-company img {
        height: 70px;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-heading);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--color-heading);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* -- Sections Common -- */
.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* -- Propuesta de Valor -- */
.value-card {
    text-align: left;
    height: 100%;
}

.value-card .icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-heading);
}

.value-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* -- KPI Dashboard Section -- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.kpi-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    border-top: 4px solid var(--color-primary);
    text-align: center;
}

.kpi-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.kpi-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: -2px;
}

.kpi-trend {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* -- Identidad Section -- */
.identidad-header {
    margin-bottom: 2.5rem;
    text-align: left;
}

.identidad-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 1rem;
    border-left: 4px solid var(--color-primary);
    display: inline-block;
    color: var(--color-heading);
}

/* -- Premium Identity Section Overhaul -- */
.identidad-card {
    background: var(--color-bg);
    padding: 3rem 2.2rem;
    border-radius: calc(var(--border-radius) * 1.5);
    border: 1px solid var(--color-border);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
}

.identidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 102, 0, 0.03) 0%, transparent 60%);
    z-index: -1;
}

.identidad-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.identidad-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 102, 0, 0.05);
    border-radius: 16px;
    margin-bottom: 2.5rem;
    transition: all 0.4s ease;
}

.identidad-card:hover .identidad-icon {
    background: var(--color-primary);
}

.identidad-card:hover .identidad-icon svg {
    stroke: white;
    transform: rotate(360deg);
}

.identidad-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    color: var(--color-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.identidad-card h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    opacity: 0.3;
}

.identidad-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.identity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
}

.tag-item-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-heading);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    width: fit-content;
}

.tag-item-premium svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-primary);
    stroke-width: 2.5;
    flex-shrink: 0;
}

.identidad-card:hover .tag-item-premium {
    background: white;
    border-color: rgba(255, 102, 0, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.tag-item-premium:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    background: var(--color-primary) !important;
    color: white !important;
}

.tag-item-premium:hover svg {
    stroke: white;
}

@media (max-width: 768px) {
    .identity-tags {
        grid-template-columns: 1fr 1fr;
    }

    .identidad-card {
        padding: 3rem 1.5rem;
    }
}

/* -- Brands Section Enhancements (Infographic) -- */
.marquee-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    overflow: hidden;
}

.brand-stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.brand-stat-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    min-width: 250px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.brand-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.brand-stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-heading);
}

.brand-stat-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.marquee-container.marquee-with-logo {
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-weight: 700;
    color: var(--color-heading);
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.brand-chip svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s ease;
}

.brand-chip:hover {
    background: var(--color-bg);
    border-color: var(--color-primary);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.15);
    color: var(--color-primary);
}

.brand-chip:hover svg {
    transform: rotate(15deg) scale(1.2);
    stroke: var(--color-primary);
}

@media (max-width: 768px) {
    .brand-chip {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .brand-chip svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    .brand-stats-container {
        gap: 1rem;
        padding: 0 1rem;
    }

    .brand-stat-card {
        flex: 1;
        min-width: 140px;
        padding: 1.5rem 1rem;
    }

    .brand-stat-number {
        font-size: 1.8rem;
    }
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

.unit-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.unit-card.has-bg {
    padding: 0;
}

.unit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.unit-card:hover .unit-bg {
    transform: scale(1.05);
}

.content-overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(0deg, rgba(5, 11, 20, 1) 0%, rgba(5, 11, 20, 0.8) 50%, rgba(5, 11, 20, 0) 100%);
    padding: 2.5rem;
    /* Match the padding of standard card */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.unit-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.unit-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}


/* -- Marcas / Marquee & Tabs -- */
.marquee-section {
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.brands-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for tabs */
.brands-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.brands-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 0.5rem;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    transition: box-shadow 0.3s ease;
}

.brands-tabs:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.brand-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.brand-tab svg {
    transition: var(--transition);
}

.brand-tab:hover {
    color: var(--color-heading);
    background: rgba(0, 0, 0, 0.03);
}

.brand-tab.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b2b 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(252, 76, 2, 0.3);
    transform: translateY(-1px);
}

.brands-panels-container {
    min-height: 250px;
    position: relative;
}

.brand-panel {
    display: none;
    animation: fadeIn 0.4s ease;
    width: 100%;
}

.brand-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.marquee-wrapper {
    position: relative;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}

.border-ung {
    border-color: rgba(0, 85, 184, 0.2);
}

.border-aguas {
    border-color: rgba(0, 163, 224, 0.2);
}

.border-ady {
    border-color: rgba(139, 195, 74, 0.2);
}

.border-vino {
    border-color: rgba(156, 39, 176, 0.2);
}

.border-pepsico {
    border-color: rgba(0, 84, 166, 0.2);
}

.border-pernod {
    border-color: rgba(0, 32, 91, 0.2);
}

.border-georgalos {
    border-color: rgba(227, 30, 36, 0.2);
}

.border-pronovelties {
    border-color: rgba(243, 112, 33, 0.2);
}

.grid-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.brand-chip-static {
    padding: 0.8rem 1.8rem;
    background: linear-gradient(145deg, #ffffff, #f0f2f5);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-heading);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.brand-chip-static::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}

.brand-chip-static:hover::before {
    left: 200%;
}

.brand-chip-static:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.chip-ung:hover,
.brand-chip-ung:hover {
    border-color: #0085ca;
    color: #0085ca;
}

.chip-aguas:hover,
.brand-chip-aguas:hover {
    border-color: #00a3e0;
    color: #00a3e0;
}

.chip-ady:hover,
.brand-chip-ady:hover {
    border-color: #8bc34a;
    color: #8bc34a;
}

.chip-vino:hover,
.brand-chip-vino:hover {
    border-color: #9c27b0;
    color: #9c27b0;
}

.chip-pepsico:hover,
.brand-chip-pepsico:hover {
    border-color: #0054a6;
    color: #0054a6;
}

.chip-pernod:hover,
.brand-chip-pernod:hover {
    border-color: #00205b;
    color: #00205b;
}

.chip-georgalos:hover,
.brand-chip-georgalos:hover {
    border-color: #e31e24;
    color: #e31e24;
}

.chip-pronovelties:hover,
.brand-chip-pronovelties:hover {
    border-color: #f37021;
    color: #f37021;
}

@media (max-width: 768px) {
    .brands-tabs-wrapper {
        flex-direction: column;
        gap: 1rem !important;
        align-items: center;
        margin-bottom: 2rem;
    }

    .brands-tabs-wrapper .static-logo {
        height: 35px !important;
        margin-bottom: 0.5rem;
    }

    .brands-tabs {
        padding: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 15px;
        width: 100%;
        max-width: 100%;
    }

    .brand-tab {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        flex: 1 1 auto;
        justify-content: center;
        border-radius: 10px;
    }

    .brand-tab svg {
        width: 14px;
        height: 14px;
        margin-right: 0.2rem;
    }

    .grid-brands {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .brand-chip-static {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .brands-panels-container {
        min-height: 480px;
        /* Adjust for stacked chips on mobile */
    }
}

/* -- Tech & Audit Section -- */
.rounded-img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.audit-item h4 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.audit-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* -- Map Section -- */
.map-section {
    width: 100%;
    height: 400px;
    line-height: 0;
    overflow: hidden;
    margin-bottom: -1px;
    /* Prevents gap with footer */
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(80%) invert(92%) contrast(83%) hue-rotate(180deg);
    transition: filter 0.5s ease;
}

.google-map:hover {
    filter: grayscale(40%) invert(92%) contrast(83%) hue-rotate(180deg);
}

/* -- Footer -- */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-block {
    margin-bottom: 1.5rem;
}

.contact-block h4 {
    color: var(--color-heading);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-block p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.contact-block a {
    color: var(--color-secondary);
}

.contact-block a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--color-text-muted);
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-icons a {
    color: var(--color-text-muted);
}

.social-icons a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: rgb(112, 112, 112);
    font-size: 0.9rem;
}

/* -- Animations & Reveal Classes -- */
.fade-up,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.fade-up,
.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.fade-up.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

/* -- Responsive -- */
@media (max-width: 992px) {

    .grid-2-col,
    .grid-3-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reveal-left.active,
    .reveal-right.active {
        transform: translate(0);
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(30px);
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(5, 11, 20, 0.8) 0%, rgba(5, 11, 20, 0.95) 100%);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--color-bg-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        border-left: 1px solid var(--color-border);
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .marquee-container {
        padding: 3rem 0;
    }

    .marquee-logo-badge {
        left: 0.9rem;
        top: 0.5rem;
        padding: 0.5rem 0.8rem;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .marquee-logo-badge img {
        height: 35px;
        opacity: 1;
    }

    .nav-links li a.nav-contact-btn {
        font-size: 1.2rem;
        padding: 0.55rem 1.2rem;
    }

    /* Nav toggle animation */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-actions {
        flex-direction: column;
    }

    .scroll-indicator {
        display: none;
    }

    .units-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section li[style*="flex"],
    .footer-section div[style*="flex"] {
        justify-content: center;
    }

    .social-icons {
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }

    .btn-sm {
        margin: 0 auto;
    }
}

.footer-brand a:hover,
.footer-section a:hover li {
    color: var(--color-primary) !important;
}