
:root {
    --primary: #F27121;
    --primary-glow: rgba(242, 113, 33, 0.2);
    --secondary: #E21F26; /* Changed from teal to logo red */
    --secondary-glow: rgba(226, 31, 38, 0.2);
    --dark: #ffffff; /* Main background is now white */
    --dark-accent: #f8f9fa; /* Section background */
    --light: #1a1a1a; /* Main text is now dark */
    --gray: #666666;
    --glass: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
}

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

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Barlow Semi Condensed', sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Header Layout Redesign */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    pointer-events: none;
}

.logo, .header-cta, header {
    pointer-events: auto;
}

.logo img {
    height: 180px; /* Tamaño doble */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 0 15px rgba(242, 113, 33, 0.4));
}

header {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

header:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.03);
}

.nav-links a.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.header-cta .btn {
    padding: 15px 35px;
    font-size: 11px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(242, 113, 33, 0.2);
}

/* Hero Section - The "WOW" Part */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Aumentamos la visibilidad de la imagen de fondo */
    z-index: -1;
    transform: scale(1.1);
    transition: transform 10s linear;
}

.hero:hover .hero-bg {
    transform: scale(1);
}


.hero-content {
    padding-left: 10%;
    padding-top: 100px; /* Added space for the giant logo */
    max-width: 900px;
    z-index: 2;
}

.hero-tag {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 5px;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2.5px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

.btn {
    padding: 18px 40px;
    border-radius: 5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.4s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-5px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--light);
}

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

/* Sections */
section {
    padding: 150px 10%;
}

.section-label {
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 5px;
    margin-bottom: 10px;
    display: block;
}

.section-title h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 50px;
}

/* Bento Grid for Products */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s;
}

.bento-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.bento-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.bento-content p {
    color: var(--gray);
    font-size: 14px;
}

.bento-1 { grid-column: span 2; grid-row: span 2; }
.bento-2 { grid-column: span 1; grid-row: span 1; }

.product-wa-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.product-wa-link:hover {
    border-bottom-color: var(--primary);
    letter-spacing: 1.5px;
}

/* Contact Section with Unique Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
}

.contact-card {
    background: var(--dark-accent);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--glass-border);
    width: 100%;
    padding: 20px 0;
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-family: inherit;
    transition: 0.3s;
}

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

.contact-details h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item span {
    display: block;
    color: var(--gray);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 1.5rem;
    font-weight: 700;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Overhaul */
@media (max-width: 768px) {

    /* Kill horizontal overflow at the source */
    body {
        overflow-x: hidden;
    }

    /* Header: compact and clean */
    .header-wrapper {
        height: 70px;
        padding: 0 15px;
        align-items: center;
    }

    header {
        display: none;
    }

    .logo img {
        height: 50px !important;
    }

    .nav-links {
        display: none;
    }

    .btn-primary.nav-cta {
        padding: 8px 14px !important;
        font-size: 10px !important;
        letter-spacing: 1px !important;
    }

    /* Sections: tighter padding */
    section {
        padding: 50px 5% !important;
    }

    /* Hero */
    .hero-content {
        padding-left: 5%;
        padding-top: 60px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    /* Experience / "Socio Estratégico" section */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .experience-text h2 {
        font-size: 2.5rem !important;
    }

    .experience-image {
        overflow: hidden;
        border-radius: 20px;
    }

    .experience-image > div[style*="position: absolute"] {
        right: 10px !important;
        bottom: 10px !important;
        padding: 15px !important;
        border-radius: 12px !important;
    }

    /* Section titles */
    .section-title h2 {
        font-size: 2.2rem !important;
        word-break: break-word;
    }

    /* Bento grid: stack vertically */
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .bento-item {
        min-height: 200px;
    }

    /* Contact section */
    .contact-card {
        padding: 30px !important;
        border-radius: 20px !important;
    }

    .contact-details h3 {
        font-size: 1.5rem !important;
    }

    .contact-item p {
        font-size: 1.1rem !important;
    }

    /* Floating buttons removed */
}
/* FAQ Section Styles */
.faq-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--dark-accent);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--light);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 30px;
    color: var(--gray);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 30px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }
}
