/* ========================================
   LANDING PAGE - B2B WHOLESALE
   ======================================== */

/* Variables */
:root {
    /* Colors - Professional B2B */
    --primary-navy: #1e3a5f;
    --primary-blue: #2d4a6f;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;

    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;

    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;

    /* Typography */
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 65px;
    width: 65px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    background: white;
    /* Asegura que el sello sea consistente */
    padding: 2px;
    /* Espacio entre imagen y borde */
}

.logo-text {
    color: white;
    font-family: var(--font-display);
    /* Playfair Display for elegance */
    font-weight: 700;
    font-size: 1.35rem;
    /* Larger font */
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent-gold-light);
}

/* Buttons */
.btn-primary {
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-navy);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-cta .btn-outline {
    border-color: white;
    color: white;
}

.hero-cta .btn-outline:hover {
    background: white;
    color: var(--primary-navy);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 180px;
    /* Adjust based on content */
    margin-top: 3rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    pointer-events: none;
    /* Prevent interaction with hidden items */
}

.carousel-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    z-index: 10;
}

.carousel-icon {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    /* Gold glow */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    /* Larger title */
    color: var(--accent-gold);
    /* Pure gold */
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Better contrast */
    letter-spacing: 0.5px;
}

.carousel-text p {
    font-size: 1.25rem;
    /* Larger description */
    color: #ffffff;
    /* Pure white instead of semi-transparent */
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Better contrast */
    line-height: 1.6;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold-light);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-gray);
}

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

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

.about-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

/* How It Works */
.how-it-works {
    padding: var(--section-padding);
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
}

/* Requirements */
.requirements {
    padding: var(--section-padding);
    background: var(--bg-light);
}

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

.requirement-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.requirement-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.requirement-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.contact-item a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* Form */
.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    background: white;
    padding: 2px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--accent-gold-light);
    font-weight: 600;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-gold-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-gold-light);
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    /* Ensure icons wrap nicely if screen is small */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Modern bouncy transition */
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism effect on hover before color kick-in */
.social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-icon:hover:before {
    transform: translateY(0);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Brand Colors */
.social-icon[aria-label="LinkedIn"]:hover {
    background: #0077b5;
    color: white;
}

.social-icon[aria-label="X (Twitter)"]:hover {
    background: #000000;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.social-icon[aria-label="YouTube"]:hover {
    background: #ff0000;
    color: white;
}

.social-icon[aria-label="Email"]:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.social-icon[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    border: none;
}

.social-icon[aria-label="TikTok"]:hover {
    background: #000000;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    text-shadow: 2px 2px 0px #00f2ea, -2px -2px 0px #ff0050;
}


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

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps,
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .steps,
    .requirements-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}