/* ===================================
   ixi.photos - Modern Design System
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #b42040;
    --primary-dark: #8a1832;
    --primary-light: #d92b50;
    --secondary: #1a1a2e;
    --accent: #ff6b6b;
    
    --gradient-primary: linear-gradient(135deg, #b42040 0%, #ff6b6b 100%);
    --gradient-secondary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-shine: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    
    --text-primary: #1a1a2e;
    --text-secondary: #666;
    --text-light: #999;
    --text-white: #fff;
    
    --bg-primary: #fff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;
    --bg-darker: #0f0f1a;
    
    --border-color: #e5e7eb;
    --border-light: rgba(255,255,255,0.1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(180,32,64,0.3);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Sizing */
    --nav-height: 80px;
    --container-max: 1400px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto;
    animation: logoFloat 3s ease-in-out infinite;
}

.preloader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(180, 32, 64, 0.5));
    animation: logoGlow 2s ease-in-out infinite, logoRotate 4s ease-in-out infinite;
}

.preloader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(180, 32, 64, 0.4) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    margin-top: 24px;
    overflow: hidden;
}

.preloader-progress {
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loading 1.5s ease forwards;
}

@keyframes loading {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(180, 32, 64, 0.6)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(180, 32, 64, 1)) brightness(1.2);
    }
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    50% {
        transform: rotate(0deg) scale(1.1);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Custom Cursor */
.cursor, .cursor-follower {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: block;
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--primary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
    }

    .cursor-follower {
        display: block;
        position: fixed;
        width: 30px;
        height: 30px;
        border: 1px solid var(--primary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        opacity: 0.5;
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    }

    .cursor.hover {
        width: 40px;
        height: 40px;
        background: rgba(180,32,64,0.3);
    }

    .cursor-follower.hover {
        width: 50px;
        height: 50px;
        opacity: 0.3;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255,255,255,0.98);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-base);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(180,32,64,0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 18px;
    right: 18px;
    width: auto;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: rgba(180,32,64,0.08);
    color: var(--primary);
    transform: translateX(4px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    padding: 3px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(180,32,64,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 30% 80%, rgba(255,107,107,0.08) 0%, transparent 40%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(180,32,64,0.08) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(180,32,64,0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .title-line {
    display: block;
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(180,32,64,0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: -1;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-badge-float {
    position: absolute;
    top: 20px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.9rem;
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-badge-float i {
    color: #ffc107;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 46%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.8rem;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(180,32,64,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(180,32,64,0.4);
}

.btn-primary i {
    transition: transform var(--transition-fast);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(180,32,64,0.05);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.1);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(180,32,64,0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Products Section */
.products-section {
    background: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card:active {
    transform: translateY(-4px);
}

.product-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
}

.product-badge.bonus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-card.featured .product-image {
    aspect-ratio: auto;
    height: 100%;
}

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

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,46,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.product-content {
    padding: 28px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.product-features li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

.product-features li i {
    color: var(--primary);
    font-size: 0.75rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-white);
}

.price-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.price-currency {
    font-size: 1rem;
    color: var(--text-secondary);
}

.product-price.free .price-value {
    color: #00c853;
    font-size: 1.2rem;
}

/* Product Modals */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.product-modal.active {
    display: flex;
}

.product-modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: sticky;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 80%, transparent 100%);
    z-index: 100;
}

.modal-close-btn {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.modal-close-btn:hover {
    background: var(--primary-dark);
    transform: rotate(90deg) scale(1.1);
}

.product-detail-section {
    padding: 0 2rem 3rem;
    background: var(--bg-primary);
    min-height: 300px;
}

.product-detail-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.product-detail-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

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

.product-detail-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-detail-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-product-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.gallery-thumb {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
    opacity: 0.7;
}

.gallery-thumb:hover {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.price-box.bonus {
    background: linear-gradient(135deg, #10b981, #059669);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.price-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
}

.price-note {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.product-highlights h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

.cta-box {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
}

.btn-large {
    padding: 1rem 1.5rem;
    flex: 1;
    min-width: 180px;
    justify-content: center;
    font-weight: 600;
}

.product-sections {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.detail-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem;
    text-align: center;
    color: var(--text-primary);
}

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

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-base);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.highlight-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Modal Responsive */
@media (max-width: 1200px) {
    .product-modal {
        padding: 1rem;
    }
    
    .product-detail-grid {
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .product-modal {
        padding: 0;
        align-items: flex-start;
    }

    .product-modal-content {
        max-height: 100vh;
        border-radius: 0;
    }

    .product-detail-section {
        padding: 0 1.5rem 2rem;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-detail-title {
        font-size: 1.75rem;
    }

    .main-product-image {
        max-height: 280px;
    }

    .image-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-thumb {
        height: 60px;
    }

    .price-amount {
        font-size: 2rem;
    }

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

    .btn-large {
        width: 100%;
    }

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

    .highlight-card img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Gallery Section */
.gallery-section {
    background: var(--bg-dark);
    color: var(--text-white);
}

.gallery-section .section-badge {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
}

.gallery-section .section-description {
    color: rgba(255,255,255,0.7);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(180,32,64,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay i {
    font-size: 2rem;
    color: var(--text-white);
}

/* References Section */
.references-section {
    background: var(--bg-secondary);
    overflow: hidden;
}

.references-slider {
    overflow: hidden;
    margin: 0 -24px;
    padding: 20px 0;
}

.references-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

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

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

.reference-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 5px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.reference-item:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.reference-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

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

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(180,32,64,0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

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

.contact-text a:hover {
    color: var(--primary);
}

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

.social-link {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-4px);
}

.social-link.whatsapp:hover {
    background: #25d366;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Progress */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.progress-step.completed .step-number {
    background: #00c853;
}

.step-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary);
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    max-width: 60px;
    position: relative;
    overflow: hidden;
}

.progress-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--primary);
    transition: width var(--transition-base);
}

.progress-step.completed + .progress-line::after {
    width: 100%;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-fast);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(180,32,64,0.1);
}

.input-wrapper label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--bg-primary);
    padding: 0 8px;
}

.input-wrapper label.always-visible,
.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:not(:placeholder-shown) + label,
.input-wrapper input[type="time"] + label,
.input-wrapper input[type="date"] + label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary);
}

.textarea-wrapper label {
    top: 20px;
    transform: none;
}

.textarea-wrapper textarea:focus + label,
.textarea-wrapper textarea:not(:placeholder-shown) + label {
    top: -10px;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.textarea-wrapper .input-icon {
    top: 20px;
    transform: none;
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
    color: var(--primary);
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 6px;
}

.error-message {
    display: none;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 6px;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error .input-wrapper input,
.form-group.error .input-wrapper textarea {
    border-color: #dc3545;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-white);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.checkbox-label input:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
}

.btn-submit {
    position: relative;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading i:last-child {
    opacity: 0;
}

.btn-submit.loading .btn-loading {
    display: block;
    position: absolute;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #00c853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--text-white);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    position: relative;
    background: var(--bg-dark);
    color: var(--text-white);
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    color: var(--bg-secondary);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    padding-top: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    transition: all var(--transition-base);
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Floating Elements */
.floating-cta {
    position: fixed;
    bottom: 100px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow-glow);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 100;
}

.floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
}

.floating-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(180,32,64,0.4);
}

.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all var(--transition-base);
    z-index: 100;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
}

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

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .product-card.featured {
        grid-column: span 1;
        display: block;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 30px 40px;
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
        background: transparent !important;
    }
    
    .nav-link::after {
        display: none !important;
    }
    
    .nav-link.nav-cta {
        display: inline-block;
        margin-top: 24px;
        padding: 14px 32px;
        border-bottom: none;
        border-radius: var(--radius-full);
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 0;
        min-width: auto;
        display: none;
    }
    
    .nav-dropdown.open .dropdown-menu {
        display: block;
        padding: 8px 0 8px 20px;
    }
    
    .nav-dropdown .dropdown-menu li a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        transform: none !important;
    }
    
    .nav-dropdown .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-dropdown .dropdown-menu li a:hover {
        transform: none !important;
        background: transparent;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        max-width: 350px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile: Featured product as single column */
    .product-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .product-card.featured .product-image {
        aspect-ratio: 4/3;
        height: auto;
    }
    
    /* Mobile: Always show overlay button */
    .product-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(26,26,46,0.8) 0%, transparent 100%);
        justify-content: flex-end;
        align-items: flex-end;
        padding: 16px;
    }
    
    /* Mobile: Ensure all product details visible */
    .product-content {
        padding: 5px;
    }
    
    .product-features {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .product-features li {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-cta span {
        display: none;
    }
    
    .floating-cta {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat {
        flex: 1 1 100px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-progress {
        padding: 0;
    }
    
    .step-label {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-cta,
    .whatsapp-btn,
    .back-to-top,
    .preloader {
        display: none !important;
    }
}

/* Legal Modals */
.legal-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.legal-modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.legal-modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.legal-modal-close:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: rotate(90deg);
}

.legal-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.legal-modal-body h3:first-child {
    margin-top: 0;
}

.legal-modal-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 8px;
}

.legal-modal-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 12px;
}

.legal-modal-body ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.legal-modal-body li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-modal-body a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-modal-body a:hover {
    text-decoration: underline;
}

.legal-modal-body i {
    width: 20px;
    color: var(--primary);
    margin-right: 8px;
}

.legal-date {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Mobile: Legal Modal Fullscreen */
@media (max-width: 768px) {
    .legal-modal {
        padding: 0;
        align-items: stretch;
    }
    
    .legal-modal-content {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
    
    .legal-modal-header {
        padding: 16px 20px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .legal-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .legal-modal-body {
        padding: 20px;
    }
    
    .legal-modal-body h3 {
        font-size: 1.1rem;
        margin: 24px 0 12px;
    }
}
