/* CSS Variables - Identidad Corporativa YAS Institucional */
:root {
    --color-primary-dark: #2A292E;
    --color-accent-blue: #1A3A5F;
    --color-accent-gold: #C5A059;
    --color-accent-gold-light: #E0C58D;
    --color-accent-silver: #CAC5C2;
    --color-accent-light: #F2EFED;
    --color-text-main: #2D2D2E;
    --color-text-muted: #6B7280;
    --color-bg-white: #FFFFFF;
    --color-bg-offwhite: #F1F3F5;
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow-gold: 0 0 40px rgba(197, 160, 89, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-card-bg: rgba(255, 255, 255, 0.6);
    --glass-card-border: rgba(255, 255, 255, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text-main); line-height: 1.6; background-color: var(--color-bg-white); overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Typography */
h1, h2, h3, h4 { color: var(--color-primary-dark); letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; font-weight: 700; }

.heading-line { width: 60px; height: 4px; background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-gold-light)); margin-bottom: 2rem; border-radius: 2px; position: relative; overflow: hidden; }
.heading-line::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { left: -100%; } 100% { left: 200%; } }
.center-line { margin: 0 auto 2rem auto; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 1.8rem 0; transition: all 0.4s var(--transition-smooth); }
.navbar.scrolled { background-color: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 1.2rem 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 1px solid var(--glass-border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.nav-logo { height: 40px; width: auto; transition: transform 0.3s; }
.logo-link:hover .nav-logo { transform: scale(1.05); }
.nav-text { font-size: 1.3rem; font-weight: 800; color: var(--color-bg-white); transition: color 0.3s; letter-spacing: 1px; white-space: nowrap; }
.navbar.scrolled .nav-text { color: var(--color-primary-dark); }
.nav-links { list-style: none; display: flex; gap: 1.8rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--color-bg-white); font-weight: 600; font-size: 0.9rem; transition: all 0.3s; position: relative; }
.navbar.scrolled .nav-links a:not(.btn-nav) { color: var(--color-primary-dark); }
.nav-links a:not(.btn-nav)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--color-accent-gold); transition: width 0.3s; }
.nav-links a:not(.btn-nav):hover { opacity: 1; color: var(--color-accent-gold) !important; }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }
.btn-nav { border: 2px solid var(--color-bg-white); padding: 0.7rem 1.8rem; border-radius: 50px; background: transparent; transition: all 0.3s !important; }
.btn-nav:hover { background: var(--color-bg-white) !important; color: var(--color-primary-dark) !important; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,255,255,0.2); }
.navbar.scrolled .btn-nav { border-color: var(--color-accent-blue); color: var(--color-accent-blue) !important; }
.navbar.scrolled .btn-nav:hover { background: var(--color-accent-blue) !important; color: white !important; }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; background: linear-gradient(135deg, rgba(26, 58, 95, 0.85), rgba(10, 20, 32, 0.95)), url('../assets/hero.jpeg'); background-size: cover; background-position: center; background-attachment: fixed; color: var(--color-bg-white); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 80%, rgba(197, 160, 89, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(26, 58, 95, 0.15) 0%, transparent 50%); pointer-events: none; animation: meshFloat 12s ease-in-out infinite alternate; }
@keyframes meshFloat { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.7; } }
.hero::after { content: ''; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%); pointer-events: none; }
.hero-content { max-width: 950px; position: relative; z-index: 2; }
.hero h1 { color: var(--color-bg-white); margin-bottom: 2.5rem; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero h1 span { background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.4rem; color: var(--color-accent-light); margin-bottom: 4rem; font-weight: 300; max-width: 750px; line-height: 1.4; }

/* Banners (Tax & SUGA) */
.tax-banner { background-color: var(--color-bg-offwhite); padding: 10rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.tax-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.inst-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .inst-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .inst-image {
        height: 400px !important;
    }
}
.tax-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; align-items: center; }
.tax-value { font-size: 6rem; font-weight: 900; color: var(--color-accent-blue); line-height: 1; display: flex; flex-direction: column; align-items: center; text-shadow: 10px 10px 0px rgba(26, 58, 95, 0.05); }
.tax-value span { font-size: 1.8rem; color: var(--color-accent-gold); text-transform: uppercase; letter-spacing: 4px; border-top: 2px solid var(--color-accent-gold); padding-top: 1rem; margin-top: 1rem; }

.suga-seal {
    background: linear-gradient(135deg, var(--color-accent-blue) 0%, #0a1420 100%); color: var(--color-bg-white);
    padding: 4rem; border-radius: 20px; display: flex; gap: 3rem; align-items: center;
    box-shadow: var(--shadow-premium); margin-top: -8rem; position: relative; z-index: 10;
    border: 1px solid rgba(255,255,255,0.05);
}
.suga-seal>i { font-size: 5rem; color: var(--color-accent-gold); opacity: 0.8; }

/* Bios */
/* Bios - Overlapping Style */
.bio-section { padding: 10rem 0; }
.bio-card { display: grid; grid-template-columns: 500px 1fr; gap: 0; margin-bottom: 15rem; align-items: center; position: relative; }
.bio-card.reverse { direction: rtl; }
.bio-card.reverse > * { direction: ltr; }
.bio-content { background: var(--color-bg-white); padding: 5rem 5rem 5rem 7rem; border-radius: 24px; box-shadow: var(--shadow-premium); margin-left: -4rem; z-index: 5; border: 1px solid rgba(0,0,0,0.03); position: relative; }
.bio-card.reverse .bio-content { margin-left: 0; margin-right: -4rem; padding: 5rem 7rem 5rem 5rem; }
.bio-photo { width: 500px; height: 600px; background-color: var(--color-bg-offwhite); border-radius: 24px; overflow: hidden; z-index: 10; box-shadow: 20px 20px 60px rgba(0,0,0,0.15); position: relative; }
.bio-photo img { 
    width: 100%; height: 100%; object-fit: cover; 
    filter: grayscale(1); transition: filter 0.6s ease, transform 0.6s ease; 
}
.bio-card:hover .bio-photo img { 
    filter: grayscale(0); transform: scale(1.05); 
}
.bio-card h2 { font-size: 2.8rem; margin-bottom: 1rem; color: var(--color-accent-blue); line-height: 1.1; }
.bio-title { color: var(--color-accent-gold); font-weight: 700; font-size: 0.9rem; margin-bottom: 1.5rem; display: block; text-transform: uppercase; letter-spacing: 3px; position: relative; z-index: 6;}

/* Timeline (Modelo Operativo) */
.timeline { position: relative; padding: 2rem 0; margin-top: 3rem; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--color-accent-silver); }
.timeline-item { position: relative; padding-left: 5rem; margin-bottom: 3rem; }
.timeline-item::before { content: ''; position: absolute; left: 16px; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--color-primary-dark); border: 4px solid var(--color-bg-white); box-shadow: 0 0 0 2px var(--color-accent-silver); }
.timeline-item h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }

/* Grid Cards (Ventajas, Pilares) */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.grid-2x2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.card { background: var(--glass-card-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 4rem 3rem; border-radius: 24px; border: 1px solid var(--glass-card-border); transition: all 0.5s var(--transition-smooth); box-shadow: 0 10px 30px rgba(0,0,0,0.04); display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-blue)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--transition-smooth); }
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover), var(--shadow-glow-gold); border-color: rgba(197, 160, 89, 0.3); }
.card i { font-size: 3.5rem; color: var(--color-accent-blue); margin-bottom: 2rem; transition: all 0.4s var(--transition-bounce); }
.card:hover i { transform: scale(1.15) rotate(5deg); color: var(--color-accent-gold); filter: drop-shadow(0 4px 8px rgba(197, 160, 89, 0.3)); }
.card h4 { font-size: 1.6rem; margin-bottom: 1.5rem; color: var(--color-accent-blue); transition: color 0.3s; }
.card:hover h4 { color: var(--color-accent-gold); }

/* Small reminder block */
.minor-services { background: var(--color-bg-offwhite); padding: 4rem; text-align: center; border-radius: 16px; margin-top: 5rem; border: 1px solid rgba(0,0,0,0.04); }

/* Footer & Global */
.section { padding: 8rem 0; position: relative; }
.bg-off { background-color: var(--color-bg-offwhite); position: relative; }
.bg-off::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(197, 160, 89, 0.03) 0%, transparent 60%), radial-gradient(ellipse at 30% 70%, rgba(26, 58, 95, 0.03) 0%, transparent 60%); pointer-events: none; z-index: 0; }

/* ── Interactive Dot Grid Pattern ── */
.dot-grid-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
}
.dot-grid-layer canvas {
    width: 100%;
    height: 100%;
    display: block;
}
/* Ensure content sits above the pattern */
.section > .container,
.tax-banner > .container,
.hero-content,
.form-section > .container { position: relative; z-index: 2; }

/* ── Section Shape Dividers ── */
.divider-wave-top,
.divider-wave-bottom,
.divider-curve-top,
.divider-curve-bottom,
.divider-tilt-top,
.divider-tilt-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

/* Wave */
.divider-wave-top { top: -1px; }
.divider-wave-bottom { bottom: -1px; transform: rotate(180deg); }
.divider-wave-top svg,
.divider-wave-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 80px; }

/* Curve */
.divider-curve-top { top: -1px; }
.divider-curve-bottom { bottom: -1px; transform: rotate(180deg); }
.divider-curve-top svg,
.divider-curve-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 60px; }

/* Tilt / Diagonal */
.divider-tilt-top { top: -1px; }
.divider-tilt-bottom { bottom: -1px; transform: rotate(180deg); }
.divider-tilt-top svg,
.divider-tilt-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 50px; }

.footer { background: #121214; color: #E8E5E3; padding: 6rem 0 3rem; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--color-accent-gold), var(--color-accent-blue), transparent); }
.footer::after { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(26, 58, 95, 0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.footer h3 { color: #FFFFFF; font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2rem; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.2fr 1fr; gap: 4rem; margin-bottom: 4rem; position: relative; z-index: 1; }
.footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-description { font-size: 0.95rem; line-height: 1.8; color: #AAA; max-width: 300px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: #AAA; text-decoration: none; font-size: 0.9rem; transition: all 0.3s ease; position: relative; }
.footer-links a:hover { color: var(--color-accent-gold); padding-left: 8px; }
.footer-contact p { display: flex; align-items: flex-start; gap: 1rem; color: #AAA; font-size: 0.9rem; margin-bottom: 1.2rem; line-height: 1.5; }
.footer-contact i { color: var(--color-accent-gold); font-size: 1.2rem; margin-top: 2px; transition: transform 0.3s; }
.footer-contact p:hover i { transform: scale(1.2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 2.5rem; color: #777; font-size: 0.85rem; text-align: center; position: relative; z-index: 1; }

.btn-primary { 
    background: linear-gradient(135deg, var(--color-accent-blue), #2c537a); 
    color: var(--color-bg-white); 
    padding: 1.4rem 4rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    display: inline-block; 
    transition: all 0.4s var(--transition-smooth); 
    box-shadow: 0 10px 30px rgba(26, 58, 95, 0.2);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); transition: left 0.6s; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { 
    transform: translateY(-4px) scale(1.03); 
    box-shadow: 0 18px 45px rgba(26, 58, 95, 0.35); 
    background: linear-gradient(135deg, #2c537a, var(--color-accent-blue));
}

/* Scroll Reveal with stagger support */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s var(--transition-smooth); pointer-events: none; }
.scroll-reveal.active { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-reveal.from-left { transform: translateX(-50px); }
.scroll-reveal.from-right { transform: translateX(50px); }
.scroll-reveal.from-left.active, .scroll-reveal.from-right.active { transform: translateX(0); }
.scroll-reveal.scale-in { transform: scale(0.9); }
.scroll-reveal.scale-in.active { transform: scale(1); }

@media (max-width: 900px) {
    .tax-grid, .bio-card, .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .bio-card.reverse { direction: ltr; }
    .bio-photo { height: 400px; }
    .suga-seal { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) { .nav-links { display: none; } h1 { font-size: 3rem; } }
/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,0,0,0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    margin-right: -0.5rem;
}

.navbar:not(.scrolled) .lang-switcher {
    background: rgba(255,255,255,0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.2s;
    opacity: 0.5;
}

.navbar.scrolled .lang-btn,
.navbar.force-dark .lang-btn {
    color: var(--color-primary-dark);
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

.navbar.scrolled .lang-btn.active {
    background: rgba(0,0,0,0.05);
}

.lang-divider {
    font-size: 0.7rem;
    color: var(--color-bg-white);
    opacity: 0.3;
}

.navbar.scrolled .lang-divider,
.navbar.force-dark .lang-divider {
    color: var(--color-primary-dark);
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-right: 0;
        background: none;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.carousel-track-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: block;
    position: relative;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.6s ease;
}
.carousel-slide:hover img {
    filter: grayscale(0);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .carousel-slide img { height: 350px; }
    .carousel-nav { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* Institutional Card Enhancements */
.institutional-card {
    display: grid;
    grid-template-columns: 450px 1fr;
    background: var(--color-bg-white);
    border-radius: 40px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .institutional-card {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    
    .inst-content {
        padding: 3rem !important;
    }
}

.inst-image {
    height: 100%;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.inst-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 0.8s var(--transition-smooth);
}

.institutional-card:hover .inst-image img {
    transform: scale(1.05);
}

.inst-content {
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
}

.inst-content p {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--color-text-main);
    font-weight: 400;
}

@media (max-width: 1000px) {
    .institutional-card {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .inst-image {
        height: 350px;
    }
    .inst-content {
        padding: 3rem;
    }
}

/* Partners Carousel */
.partners-section {
    position: relative;
    z-index: 2;
}

.partners-carousel {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    /* Gradient mask for fading edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: max-content;
    animation: scrollPartners 45s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-slide {
    flex: 0 0 auto;
    width: 160px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0.5;
    filter: grayscale(1);
}

.partner-slide:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.15);
}

.partner-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .partners-track {
        gap: 3rem;
    }
    .partner-slide {
        width: 130px;
        height: 60px;
    }
}

/* Grid Utilities V1 */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .grid-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
