:root {
    /* Color Palette */
    --color-primary: #E31E24;
    --color-secondary: #8B0000;
    --color-accent: #FF4444;
    --color-dark: #0A0A0A;
    --color-darker: #000000;
    --color-light: #FFFFFF;
    --color-gray: #1A1A1A;
    --color-gray-light: #2A2A2A;
    --color-text: #E0E0E0;
    --color-text-muted: #999999;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    --gradient-overlay: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);

    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(227, 30, 36, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-darker);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(227, 30, 36, 0.1) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(139, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1400px;
    padding: var(--spacing-lg) var(--spacing-md);
    width: 100%;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
}

.title-line {
    display: block;
    color: var(--color-light);
    text-shadow:
        0 0 20px rgba(227, 30, 36, 0.5),
        0 0 40px rgba(227, 30, 36, 0.3);
}

.title-line.highlight {
    color: var(--color-primary);
    text-shadow:
        0 0 30px rgba(227, 30, 36, 0.8),
        0 0 60px rgba(227, 30, 36, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        text-shadow:
            0 0 30px rgba(227, 30, 36, 0.8),
            0 0 60px rgba(227, 30, 36, 0.5);
    }

    50% {
        text-shadow:
            0 0 40px rgba(227, 30, 36, 1),
            0 0 80px rgba(227, 30, 36, 0.7);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    letter-spacing: 4px;
}

.social-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    background: rgba(227, 30, 36, 0.1);
    border: none;
    color: var(--color-light);
}

.social-btn span,
.social-btn i {
    color: var(--color-light);
}

.social-btn:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-img {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition-slow);
}

.profile-img:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

/* Blurred background image */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://elchambeador.com.mx/banner%202.png');
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    opacity: 0.3;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    transition: transform var(--transition-slow);
}

/* Character slide-in animation */
.character-image {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.character-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.section-title.centered {
    text-align: center;
}

.title-accent {
    display: block;
    color: var(--color-primary);
    font-size: 0.6em;
    letter-spacing: 4px;
}

.title-main {
    display: block;
    color: var(--color-light);
    letter-spacing: 2px;
}

.about-description {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--color-gray);
    border-radius: var(--radius-md);
    border: 1px solid rgba(227, 30, 36, 0.2);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Videos Section */
.videos {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

/* Video Carousel */
.video-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.video-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: var(--spacing-md);
}

.video-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

.video-slide .video-embed {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 20px 0;
}

.video-slide .video-embed iframe,
.video-slide .video-embed blockquote {
    max-width: 350px !important;
    width: 100% !important;
    margin: 0 auto;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(227, 30, 36, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(227, 30, 36, 0.3);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

.dot:hover {
    background: var(--color-primary);
}

/* Legacy video grid - keep for desktop fallback */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.video-card {
    background: var(--color-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(227, 30, 36, 0.1);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

/* Video embed container */
.video-embed {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-gray-light);
    min-height: 400px;
}

.video-embed iframe,
.video-embed blockquote {
    max-width: 100% !important;
    margin: 0 auto;
}

/* Legacy placeholder styles (can be removed once all videos are embedded) */
.video-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-gray) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    color: var(--color-text-muted);
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--color-primary);
}

.video-title {
    padding: var(--spacing-md);
    font-size: 1.125rem;
    font-weight: 600;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Brands Section */
.brands {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.brands-carousel {
    margin-top: var(--spacing-lg);
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: var(--spacing-lg);
    animation: scroll-brands 30s linear infinite;
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

.brand-item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 100%;
    height: 100%;
    background: var(--color-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-text-muted);
    border: 1px solid rgba(227, 30, 36, 0.1);
    transition: all var(--transition-normal);
}

.brand-logo:hover {
    border-color: var(--color-primary);
    color: var(--color-light);
    transform: scale(1.05);
}

/* Gallery Section */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 1px solid rgba(227, 30, 36, 0.1);
    transition: all var(--transition-normal);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.show {
    display: block;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--color-light);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
}

/* Newsletter Section */
.newsletter {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.newsletter-description {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.8;
}

.newsletter-form {
    background: var(--color-gray);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(227, 30, 36, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--color-gray-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--color-light);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-normal);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-dark);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: color var(--transition-normal);
}

.form-group input:focus+i {
    color: var(--color-primary);
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Products Section */
.products {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: var(--color-gray);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(227, 30, 36, 0.1);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-light);
}

.product-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

/* Footer */
.footer {
    background: var(--color-darker);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(227, 30, 36, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--color-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(227, 30, 36, 0.1);
    color: var(--color-text-muted);
}

.footer-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-link:hover {
    color: var(--color-accent);

}

/* Responsive Design */
/* Performance optimizations */
.hero::before,
.image-glow,
.brands-track {
    will-change: transform;
}

/* Mobile browser optimizations */
@supports (-webkit-touch-callout: none) {

    /* iOS Safari specific fixes */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .hero {
        /* Fix for iOS Safari viewport height */
        min-height: -webkit-fill-available;
    }
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Prevent text size adjustment on mobile */
body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Optimize tap highlighting */
a,
button {
    -webkit-tap-highlight-color: rgba(227, 30, 36, 0.2);
}

/* Tablet breakpoint */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .hero-text {
        text-align: center;
    }

    .social-buttons {
        justify-content: center;
    }

    /* About section - keep side by side on tablet */
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }

    /* Stats - 2 columns on tablet */
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Newsletter - stack on tablet */
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Mobile breakpoint - optimized for minimal scrolling */
@media (max-width: 640px) {

    /* Hero section - compact */
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .hero-image {
        max-width: 300px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .social-buttons {
        flex-direction: column;
        width: 100%;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    /* About section - stack but keep compact */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .about-image img {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    /* Stats - 2 columns to reduce scrolling */
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .stat-item {
        padding: var(--spacing-sm);
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Videos - 2 columns on mobile */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .video-title {
        font-size: 0.875rem;
        padding: var(--spacing-sm);
    }

    /* Brands carousel - smaller items */
    .brand-item {
        width: 150px;
        height: 90px;
    }

    /* Products - 1 column on mobile to prevent cut off */
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .product-card {
        padding: var(--spacing-md);
    }

    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .product-card h3 {
        font-size: 1.125rem;
    }

    .product-card p {
        font-size: 0.875rem;
    }

    /* Newsletter form */
    .newsletter-form {
        padding: var(--spacing-md);
    }

    /* Footer - compact */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Reduce spacing on mobile */
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
}

/* Very small screens - ultra compact */
@media (max-width: 375px) {

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

    .brand-item {
        width: 120px;
        height: 75px;
    }
}

/* Mobile-specific carousel speed */
@media (max-width: 768px) {
    .brands-track {
        animation-duration: 15s;
        /* Faster on mobile */
    }
}

/* Mobile carousel optimizations */
@media (max-width: 768px) {

    /* Hide carousel navigation buttons on mobile - swipe only */
    .carousel-btn {
        display: none;
    }

    /* Make carousel dots larger and more touch-friendly on mobile */
    .carousel-dots {
        margin-top: var(--spacing-lg);
    }

    .dot {
        width: 16px;
        height: 16px;
    }

    /* Adjust video carousel for mobile */
    .video-slide {
        padding: var(--spacing-sm);
    }

    .video-slide .video-embed {
        min-height: 500px;
    }
}