/* ===================================
   VARIABLES Y COLORES — TEMA LUCCI BENE (Negro / Blanco / Dorado)
   =================================== */
:root {
    /* Colores principales — Lujo */
    --color-primary: #C9A86A;        /* Dorado champagne */
    --color-secondary: #8C6F3A;      /* Dorado oscuro */
    --color-accent: #E8D7A8;         /* Dorado claro */
    --color-dark: #0a0a0a;           /* Negro absoluto */
    --color-dark-soft: #1a1a1a;      /* Negro suave */
    --color-light: #ffffff;          /* Blanco puro */
    --color-cream: #faf8f3;          /* Crema fondo */
    --color-gray: #f3efe7;           /* Beige claro */
    --color-text: #1a1a1a;
    --color-text-light: #5c5c5c;
    --color-gold-border: rgba(201, 168, 106, 0.4);

    /* Gradientes elegantes */
    --gradient-primary: linear-gradient(135deg, #C9A86A 0%, #8C6F3A 100%);
    --gradient-accent: linear-gradient(135deg, #E8D7A8 0%, #C9A86A 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 100%);
    --gradient-gold-shimmer: linear-gradient(120deg, #8C6F3A 0%, #E8D7A8 50%, #C9A86A 100%);

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.14);
    --shadow-lg: 0 10px 36px rgba(0, 0, 0, 0.22);
    --shadow-xl: 0 20px 56px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 6px 24px rgba(201, 168, 106, 0.35);

    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(.2,.7,.3,1);
    --transition-slow: 0.6s ease;
}

/* ===================================
   RESET Y BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

/* ===================================
   CONTAINER
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   BREADCRUMB
   =================================== */
.breadcrumb {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: var(--color-secondary);
    transition: var(--transition-fast);
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background:
        radial-gradient(circle at 80% 10%, rgba(201, 168, 106, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(140, 111, 58, 0.08) 0%, transparent 55%),
        linear-gradient(135deg, #faf8f3 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 106, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 10, 10, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gradient-gold-shimmer);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.85;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-dark);
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--color-light);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark);
    border: 1.5px solid var(--color-dark);
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
}

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

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ===================================
   VIDEO CONTAINER
   =================================== */
.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 1 / 1;
    background: var(--color-dark);
    border: 1px solid var(--color-gold-border);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.35) 0%, rgba(201, 168, 106, 0.1) 100%);
    pointer-events: none;
}

/* ===================================
   CLIENTS CAROUSEL
   =================================== */
.testimonials-carousel {
    padding: 60px 0;
    background: var(--gradient-dark);
    overflow: hidden;
    border-top: 1px solid var(--color-gold-border);
    border-bottom: 1px solid var(--color-gold-border);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

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

.testimonial-card {
    flex: 0 0 280px;
    height: 280px;
    background: rgba(201, 168, 106, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-gold-border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-gold);
}

.testimonial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories-section {
    padding: 100px 0;
    background: var(--color-cream);
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--gradient-gold-shimmer);
    margin: 1rem auto 0;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-weight: 300;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.category-card {
    background: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid rgba(201, 168, 106, 0.15);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.category-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 2rem;
}

.category-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.category-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 106, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 168, 106, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-section .btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

.cta-section .btn-primary:hover {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .category-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

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

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

    .testimonial-card {
        flex: 0 0 240px;
        height: 240px;
    }
}

/* ===================================
   ANIMACIONES ADICIONALES
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left > * {
    animation: fadeIn 0.8s ease forwards;
}

.hero-left h1 {
    animation-delay: 0.1s;
}

.hero-description {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.3s;
}

/* ===================================
   UTILIDADES
   =================================== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Acento dorado decorativo */
.gold-accent {
    color: var(--color-primary);
}

.gold-divider {
    height: 1px;
    width: 100%;
    background: var(--gradient-gold-shimmer);
    opacity: 0.5;
    margin: 2rem 0;
}
