/* ========================================
   Fabric Outlet - Premium Fabric Store
   Modern, Editorial, Professional UI
   ======================================== */

/* CSS Variables */
:root {
    /* Primary - use sparingly as accent */
    --primary: #ff1616;
    --primary-dark: #e01414;
    --primary-light: #ff3838;
    
    /* Surfaces & Neutrals */
    --dark: #0f0f0f;
    --dark-gray: #2d2d2d;
    --gray: #5c5c5c;
    --light-gray: #8c8c8c;
    --lighter-gray: #e8e8e8;
    --surface: #fafafa;
    --surface-elevated: #ffffff;
    --white: #ffffff;
    --border: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.12);
    
    /* Accent - soft tints */
    --accent-light: #fff0ee;
    --accent: #ff1616;
    
    /* Typography */
    --font-primary: 'League Spartan', sans-serif;
    --font-heading: 'League Spartan', sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1140px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Shadows - subtle, layered */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.1);
    
    /* Border Radius - refined */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Prevent horizontal overflow on all viewports */
html, body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--dark-gray);
    background-color: var(--surface-elevated);
    -webkit-font-smoothing: antialiased;
}

/* Skip link: visible on focus for keyboard/screen reader users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.noscript-msg {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px;
    background: var(--dark);
    color: var(--white);
    font-size: 0.875rem;
    text-align: center;
    z-index: 9999;
}
.noscript-msg a {
    color: var(--primary-light);
    text-decoration: underline;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus styles – visible for keyboard, minimal for mouse */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
a:focus-visible,
.btn:focus-visible,
.footer-phone:focus-visible,
.footer-logo:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.back-to-top:focus-visible,
.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Touch-friendly: minimum tap target 44px on touch devices */
@media (pointer: coarse) {
    .btn,
    .cta-btn {
        min-height: 44px;
    }
    
    .social-link,
    .whatsapp-float,
    .back-to-top {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-links.active a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 16px;
    }
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding-left: 0;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--gray);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    color: var(--white);
    display: block;
    margin-top: 0.1em;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    left: 50%;
    transform: translateX(-50%);
}

.section-header .section-subtitle {
    margin-top: 8px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.section-header.light .section-tag {
    color: rgba(255, 255, 255, 0.9);
}

.section-header.light .section-tag::before {
    background: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    letter-spacing: 0.04em;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

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

.btn-light:hover {
    background: var(--surface);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Navbar: white logo on hero (dark), colored logo when scrolled (light) */
.logo-colored {
    display: none;
}

.navbar.scrolled .logo-white {
    display: none;
}

.navbar.scrolled .logo-colored {
    display: block;
}

/* Footer logo styled in .footer-logo-img */

.logo-text .highlight {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .logo-text .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    padding: 6px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--dark-gray);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(255, 22, 22, 0.35);
    transition: background var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 22, 22, 0.4);
}

.cta-btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.cta-btn-icon {
    flex-shrink: 0;
}

.navbar.scrolled .cta-btn {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(255, 22, 22, 0.25);
}

.navbar.scrolled .cta-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(255, 22, 22, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    padding: 140px 0 0;
    padding-top: max(140px, calc(env(safe-area-inset-top, 0px) + 100px));
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(160deg, rgba(255, 22, 22, 0.92) 0%, rgba(224, 20, 20, 0.88) 40%, rgba(15, 15, 15, 0.94) 100%),
        url('images/hero-bg.png') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 22, 22, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero .container {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.hero-content {
    text-align: center;
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding-bottom: 0;
    box-sizing: border-box;
}

.hero-content-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0; /* Allow shrink so marquee can stay in view on short viewports */
}

.hero-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.hero-title {
    font-size: clamp(2.875rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.05;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-title .gradient-text {
    display: block;
    margin-top: 0.15em;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.5em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-title .gradient-text::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -0.5em;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero marquee – trusted brands, placed just above hero footer */
.hero-marquee {
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    padding: 24px 0 32px;
    padding-bottom: max(32px, env(safe-area-inset-bottom, 0px) + 24px);
    overflow: hidden;
    position: relative;
    z-index: 1; /* Above hero overlay so marquee is visible on all devices */
}

.hero-marquee-label {
    display: block;
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

.hero-marquee-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.hero-marquee-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: hero-marquee 40s linear infinite;
}

.hero-marquee-inner:hover {
    animation-play-state: paused;
}

.hero-marquee-item {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.92;
}

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-marquee-inner {
        animation: none;
    }
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--section-padding);
    background: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/5;
}

.image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.image-wrapper .image-placeholder.fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(145deg, var(--accent-light) 0%, var(--lighter-gray) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
}

.image-placeholder span {
    font-size: 3.5rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 0.9375rem;
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

.about-content .section-tag {
    margin-bottom: 15px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-check svg {
    display: block;
}

.feature span {
    font-weight: 500;
    color: var(--dark-gray);
}

/* ========================================
   Products Section
   ======================================== */
.products {
    padding: var(--section-padding);
    background: var(--surface-elevated);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
    position: relative;
}

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

.product-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Swatch (no image): gradient + icon, fabric-like feel */
.product-swatch {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.product-swatch::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.08) 2px,
        rgba(255, 255, 255, 0.08) 4px
    );
    pointer-events: none;
}

.product-swatch-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.product-swatch-icon {
    color: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.product-image .image-placeholder.fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
}

.product-image .image-placeholder:not(.fallback) {
    aspect-ratio: 1;
    font-size: 3rem;
}

/* Fabric swatch gradients – used by .product-swatch */
.fabric-cotton { background: linear-gradient(145deg, #e8f5e9, #c8e6c9); }
.fabric-lawn { background: linear-gradient(145deg, #fce4ec, #f8bbd9); }
.fabric-cambric { background: linear-gradient(145deg, #e3f2fd, #bbdefb); }
.fabric-khaddar { background: linear-gradient(145deg, #fff3e0, #ffcc80); }
.fabric-silk { background: linear-gradient(145deg, #f3e5f5, #e1bee7); }
.fabric-linen { background: linear-gradient(145deg, #efebe9, #d7ccc8); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--gray);
    font-size: 0.9375rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.price-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-light);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-us {
    padding: var(--section-padding);
    background: var(--dark);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: border-color var(--transition-normal), background var(--transition-normal), transform var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon-large svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    shape-rendering: geometricPrecision;
}

.feature-card:hover .feature-icon-large {
    color: var(--white);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ========================================
   Brands Section
   ======================================== */
.brands {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--surface) 100%);
}

.brands .section-header {
    margin-bottom: 48px;
}

.brands .section-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.brands-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-item {
    padding: 18px 32px;
    background: var(--surface-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark-gray);
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

a.brand-item {
    text-decoration: none;
    display: inline-block;
    border-left: 4px solid var(--primary);
}

.brand-item:hover,
a.brand-item:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    padding: var(--section-padding);
    background: var(--surface-elevated);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform var(--transition-slow);
}

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

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--accent-light) 0%, var(--lighter-gray) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    transition: background var(--transition-normal), color var(--transition-normal);
    z-index: 0;
}

.gallery-placeholder span {
    font-size: 1rem;
    font-weight: 600;
}

.gallery-item:hover .gallery-placeholder {
    background: rgba(226, 67, 41, 0.2);
    color: var(--primary);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--section-padding);
    background: var(--surface);
}

.testimonials .section-header {
    margin-bottom: 48px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-elevated);
    padding: 32px 28px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 28px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars .star {
    width: 18px;
    height: 18px;
    background: var(--primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.testimonial-text {
    flex: 1 1 auto;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 24px 0;
    padding-left: 0;
    min-height: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 4px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    color: var(--dark);
    font-size: 0.9375rem;
    font-weight: 600;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ========================================
   Contact Section - Visit Our Store
   ======================================== */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--surface) 50%, var(--surface-elevated) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.contact-intro {
    text-align: center;
    margin-bottom: 44px;
}

.contact-intro .section-tag {
    margin-bottom: 12px;
}

.contact-intro .section-title {
    margin-bottom: 16px;
}

.contact-lead {
    color: var(--gray);
    font-size: 1.0625rem;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto;
}

.contact-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 52px;
}

.btn-cta-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Call button in Get in Touch: visible on light background */
.contact .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.contact .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
    align-items: stretch;
}

.contact-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

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

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.contact-card-icon svg {
    flex-shrink: 0;
    shape-rendering: geometricPrecision;
}

.contact-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px 0;
}

.contact-card-text {
    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 10px 0;
}

.contact-card-text:last-of-type {
    margin-bottom: 0;
}

.contact-card-text a {
    color: var(--primary);
    font-weight: 600;
}

.contact-card-text a:hover {
    text-decoration: underline;
}

.contact-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.contact-card-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    transition: gap var(--transition-normal);
}

.contact-card-link:hover {
    text-decoration: underline;
}

.contact-card-extra {
    font-size: 0.875rem;
    color: var(--light-gray);
    font-style: italic;
}

.contact-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 52px;
}

.contact-social-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact .social-links {
    display: flex;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    transition: border-color var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Prevent long words/URLs from breaking layout on small screens */
@media (max-width: 768px) {
    .footer-address,
    .footer-desc,
    .about-text {
        word-break: break-word;
    }
}

.contact .map-section {
    margin-top: 0;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.contact .map-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 12px;
}

.contact .map-section .map-wrapper {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--radius-lg);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition-normal), gap var(--transition-normal);
}

.map-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 88px 0;
    background: var(--primary);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.0625rem;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 0 0 32px;
    position: relative;
}

.footer-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    margin-bottom: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    margin-bottom: 16px;
    transition: opacity var(--transition-fast);
}

.footer-logo:hover {
    opacity: 0.92;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-logo-text .highlight {
    color: var(--primary);
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-contact {
    text-align: right;
}

.footer-heading {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.footer-phone {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}

.footer-phone:hover {
    color: var(--primary-light);
}

.footer-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.footer-btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.footer-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.footer-btn-call {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-btn-call:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
}

/* ========================================
   Floating Elements
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 90px;
    width: 48px;
    height: 48px;
    background: var(--surface-elevated);
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal), background var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ========================================
   Responsive Design - Desktop, Tablet, Mobile
   ======================================== */

/* Large tablet / small desktop */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .products-grid {
        gap: 24px;
    }
    
    .about-grid {
        gap: 64px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    :root {
        --container-width: 100%;
        --section-padding: 88px 0;
    }
    
    .nav-links,
    .cta-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-elevated);
        padding: 20px 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active a {
        color: var(--dark);
        padding: 14px 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-image .image-wrapper {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-wrapper iframe {
        height: 360px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: clamp(1.875rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }
    
    .navbar {
        padding: 14px 0;
    }
    
    .hero {
        padding: 80px 0 0;
        min-height: 100svh;
        min-height: 100dvh; /* Dynamic viewport: marquee visible when browser UI changes */
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 4px;
    }
    
    .hero-badge {
        font-size: 0.625rem;
        letter-spacing: 0.12em;
        max-width: 100%;
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
        padding: 0 4px;
        word-wrap: break-word;
    }
    
    .hero-title .gradient-text {
        letter-spacing: 0.08em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 8px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 8px;
        margin-bottom: 24px; /* Tighter so marquee fits in first screen on mobile */
    }
    
    .hero-cta .btn {
        width: 100%;
        min-height: 48px;
    }
    
    .hero-marquee {
        padding: 16px 0 24px;
        flex-shrink: 0; /* Reserve space so marquee stays visible in initial viewport */
        transform: translateY(-20px); /* Nudge marquee up a bit on mobile */
    }
    
    .hero-marquee-label {
        font-size: 0.625rem;
        letter-spacing: 0.15em;
        margin-bottom: 12px;
        padding: 0 8px;
    }
    
    .hero-marquee-item {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    
    .hero-marquee-inner {
        gap: 32px;
    }
    
    .logo-img {
        height: 34px;
    }
    
    .experience-badge {
        padding: 12px 16px;
        bottom: 12px;
        right: 12px;
    }
    
    .experience-badge .years {
        font-size: 1.375rem;
    }
    
    .about-image {
        width: 100%;
        max-width: 100%;
    }
    
    .about-image .image-wrapper {
        width: 100%;
        min-height: 280px;
    }
    
    .about-image .image-wrapper img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-content .btn {
        width: 100%;
        min-height: 48px;
    }
    
    .section-header {
        margin-bottom: 36px;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 28px 20px;
    }
    
    .feature-icon-large {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .feature-icon-large svg {
        width: 28px;
        height: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .cta-buttons .btn {
        min-height: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-address {
        margin-bottom: 16px;
    }
    
    .footer-phone {
        margin-bottom: 24px;
    }
    
    .footer-ctas {
        justify-content: center;
    }
    
    .contact-cta-row {
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .btn-cta-contact {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
    
    .contact-cards {
        margin-bottom: 40px;
    }
    
    .contact-card {
        padding: 24px 20px;
    }
    
    .contact-social-row {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .social-link {
        min-width: 44px;
        min-height: 44px;
    }
    
    .back-to-top {
        right: 16px;
        bottom: 88px;
        width: 44px;
        height: 44px;
        bottom: calc(88px + env(safe-area-inset-bottom, 0));
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0));
        right: calc(20px + env(safe-area-inset-right, 0));
    }
}

/* Small phones */
@media (max-width: 480px) {
    :root {
        --section-padding: 56px 0;
    }
    
    .hero {
        padding: 80px 0 0;
    }
    
    .hero-content-inner {
        padding-bottom: 16px;
    }
    
    .hero-badge {
        font-size: 0.5625rem;
        letter-spacing: 0.08em;
        line-height: 1.4;
        padding: 0 4px;
    }
    
    .hero-title {
        font-size: clamp(1.625rem, 8.5vw, 2.25rem);
        margin-bottom: 20px;
        padding: 0 2px;
    }
    
    .hero-title .gradient-text {
        letter-spacing: 0.05em;
        margin-top: 0.2em;
    }
    
    .hero-title .gradient-text::before {
        width: 32px;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 32px;
        padding: 0 4px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 32px;
        padding: 0 4px;
    }
    
    .btn {
        width: 100%;
        min-height: 48px;
        padding: 14px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .hero-marquee {
        padding: 16px 0 24px;
    }
    
    .hero-marquee-item {
        font-size: 0.875rem;
        letter-spacing: 0.05em;
    }
    
    .hero-marquee-inner {
        gap: 24px;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .brands-slider {
        gap: 12px;
    }
    
    .brand-item {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .product-info p {
        font-size: 0.875rem;
    }
    
    .testimonial-text {
        font-size: 0.9375rem;
    }
    
    .footer-logo-img {
        height: 36px;
    }
}

/* Very small screens - prevent tiny text and overflow */
@media (max-width: 360px) {
    .hero {
        padding: 72px 0 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-title .gradient-text {
        letter-spacing: 0.04em;
        font-size: 0.55em;
    }
    
    .hero-title .gradient-text::before {
        width: 24px;
    }
    
    .hero-badge {
        font-size: 0.5rem;
        letter-spacing: 0.06em;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-marquee-item {
        font-size: 0.8125rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animations for grid items */
.products-grid .product-card,
.features-grid .feature-card,
.testimonials-grid .testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.products-grid .product-card.visible,
.features-grid .feature-card.visible,
.testimonials-grid .testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}
