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

:root {
    --ag-black: #0a0a0a;
    --ag-silver: #c0c0c0;
    --ag-dark: #1a1a1a;
    --ag-accent: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--ag-black);
    overflow-x: hidden;
    background: #000;
}

/* Cursor */
* {
    cursor: none;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ag-silver);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s, border-color 0.2s;
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: scale(2);
    border-color: var(--ag-accent);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 2rem 5%;
    mix-blend-mode: difference;
    transition: all 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.4s;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: white;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover::before {
    width: 100%;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(192, 192, 192, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    transform: rotate(-15deg);
}

@keyframes gridMove {
    0% { transform: rotate(-15deg) translate(0, 0); }
    100% { transform: rotate(-15deg) translate(100px, 100px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem;
}

.hero-tag {
    color: var(--ag-silver);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    color: white;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 2rem);
    color: var(--ag-silver);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

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

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: black;
    padding: 1.5rem 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ag-silver);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.hero-cta:hover::before {
    left: 0;
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255,255,255,0.2);
}

/* Marquee */
.marquee-section {
    background: white;
    padding: 2rem 0;
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.marquee {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

.marquee span {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ag-black);
    white-space: nowrap;
}

.marquee span.dot {
    color: var(--ag-silver);
}

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

/* Sections */
section {
    scroll-margin-top: 100px;
}

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

.section-tag {
    color: var(--ag-silver);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ag-black);
}

/* CLIENTS */
.clients {
    background: white;
    padding: 8rem 5%;
  }
  
  .clients-container {
    max-width: 1600px;
    margin: 0 auto;
  }
  
  .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .client-item {
    aspect-ratio: 3/2;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem; /* 🔹 antes era 2rem — menos aire interno */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .client-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ag-black);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
  }
  
  .client-item:hover::before {
    left: 0;
  }
  
  .client-item:hover {
    border-color: var(--ag-black);
    transform: translateY(-10px);
  }
  
  .client-logo {
    width: 90%;       /* 🔹 aumentamos del 80% al 90% */
    max-width: 300px; /* 🔹 límite superior razonable */
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: filter 0.4s;
    position: relative;
    z-index: 1;
  }
  
  .client-item:hover .client-logo {
    filter: brightness(0) invert(1);
  }
  
  .client-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: color 0.4s;
  }
  
  .client-item:hover .client-name {
    color: white;
  }
  
  .client-industry {
    font-size: 0.85rem;
    color: var(--ag-silver);
    transition: color 0.4s;
    position: relative;
    z-index: 1;
  }
  
  .client-item:hover .client-industry {
    color: rgba(255,255,255,0.7);
  }
  

/* Products */
.products {
    background: #f9f9f9;
    padding: 10rem 5%;
}

.products-container {
    max-width: 1600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: var(--ag-black);
}

.product-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ag-black);
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--ag-silver);
    font-size: 0.9rem;
}

/* Packs */
.packs {
    background: var(--ag-black);
    padding: 10rem 5%;
}

.packs-container {
    max-width: 1600px;
    margin: 0 auto;
}

.packs-header {
    text-align: center;
    margin-bottom: 6rem;
}

.packs-header .section-title {
    color: white;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.pack-card {
    background: white;
    padding: 4rem 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.pack-card:hover {
    transform: translateY(-10px);
    border-color: var(--ag-silver);
    box-shadow: 0 30px 80px rgba(255,255,255,0.1);
}

.pack-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--ag-black);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pack-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--ag-black);
}

.pack-price {
    font-size: 1.2rem;
    color: var(--ag-silver);
    margin-bottom: 2rem;
    font-weight: 600;
}

.pack-features {
    list-style: none;
    margin-bottom: 3rem;
}

.pack-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pack-features li::before {
    content: '✓';
    color: var(--ag-black);
    font-weight: 700;
    font-size: 1.2rem;
}

.pack-cta {
    width: 100%;
    background: var(--ag-black);
    color: white;
    padding: 1.2rem;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
}

.pack-cta:hover {
    background: var(--ag-silver);
    color: var(--ag-black);
}

.pack-featured {
    background: linear-gradient(135deg, var(--ag-black) 0%, #2a2a2a 100%);
    color: white;
    transform: scale(1.05);
}

.pack-featured .pack-name,
.pack-featured .pack-features li {
    color: white;
}

.pack-featured .pack-features li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.pack-featured .pack-cta {
    background: white;
    color: var(--ag-black);
}

.pack-featured .pack-cta:hover {
    background: var(--ag-silver);
}

/* Services */
.services {
    background: white;
    padding: 10rem 5%;
}

.services-container {
    max-width: 1600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #e0e0e0;
}

.service-item {
    padding: 4rem 3rem;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ag-black);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-item:hover::before {
    left: 0;
}

.service-item:hover {
    transform: scale(1.02);
    z-index: 10;
    border-color: transparent;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ag-silver);
    margin-bottom: 1.5rem;
    transition: color 0.4s;
}

.service-item:hover .service-number {
    color: white;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ag-black);
    transition: color 0.4s;
}

.service-item:hover .service-title {
    color: white;
}

.service-description {
    color: #666;
    line-height: 1.7;
    transition: color 0.4s;
}

.service-item:hover .service-description {
    color: var(--ag-silver);
}

/* Showcase (Casos) */
.showcase {
    background: #0a0a0a;
    padding: 10rem 5%;
}

.showcase-container {
    max-width: 1600px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 6rem;
}

.showcase-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.showcase-subtitle {
    font-size: 1.2rem;
    color: var(--ag-silver);
    font-weight: 300;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.showcase-item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-item:hover {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-item-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.showcase-item-tag {
    color: var(--ag-silver);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.showcase-large {
    grid-column: span 2;
}

/* Blog */
.blog {
    background: white;
    padding: 10rem 5%;
}

.blog-container {
    max-width: 1600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: var(--ag-black);
}

.blog-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: var(--ag-silver);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ag-black);
}

.blog-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--ag-black);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.blog-link:hover {
    gap: 1rem;
}

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

/* Stats */
.stats {
    background: white;
    padding: 8rem 5%;
}

.stats-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

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

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--ag-black);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--ag-silver);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--ag-black);
    padding: 12rem 5%;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(0deg, var(--ag-silver) 0px, transparent 1px, transparent 60px),
        repeating-linear-gradient(90deg, var(--ag-silver) 0px, transparent 1px, transparent 60px);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: black;
    padding: 1.5rem 3rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: black;
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--ag-black);
    color: white;
    padding: 6rem 5% 3rem;
    border-top: 1px solid #222;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    width: 80px;
    height: auto;
}

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

.footer-info p {
    color: var(--ag-silver);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--ag-silver);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--ag-silver);
}

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid #222;
    text-align: center;
    color: var(--ag-silver);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packs-grid {
        grid-template-columns: 1fr;
    }

    .pack-featured {
        transform: scale(1);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-large {
        grid-column: span 1;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .cursor {
        display: none;
    }

    * {
        cursor: auto;
    }

    .nav-links {
        display: none;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        border-right: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* Carrousel de Clientes - AGREGAR AL FINAL */
.clients-carousel {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    margin: 0 -5vw;
}

.clients-track {
    display: flex;
    gap: 6rem;
    animation: scrollClients 40s linear infinite;
    width: fit-content;
}

.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.client-logo-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.client-logo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.client-logo-item:hover::before {
    border-color: var(--ag-black);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .client-logo-item {
        width: 150px;
        height: 100px;
    }
    
    .clients-track {
        gap: 3rem;
    }
}