:root {
    /* Paleta Oficial GOH */
    --goh-yellow: #e5ca10;
    /* Energía y Avance */
    --goh-dark: #3b2f2f;
    /* Estabilidad y Sofisticación */
    --goh-teal: #2ec4b6;
    /* Innovación Futurista */
    --goh-white: #ffffff;
    --goh-gray: #f8f9fa;

    --font-display: 'Jost', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

.text-accent {
    color: #b8860b !important; /* Accessible Gold */
}

/* --- CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--goh-white);
    color: var(--goh-dark);
    overflow-x: hidden;
}

.page-wrapper {
    margin-left: 4%;
    margin-right: 4%;
    padding-bottom: 4%;
    border-radius: 24px;
    border: 2px solid #000;
    background-color: var(--goh-white);
    overflow: hidden;
}

/* --- CARD NAVBAR FLOANTE --- */
.card-nav-container {
    position: absolute;
    top: 2rem;
    left: 4%;
    right: 4%;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1001;
    box-sizing: border-box;
}

.card-nav {
    display: block;
    height: 60px;
    padding: 0;
    background-color: #ffffff;
    border: 2px solid #000;
    border-radius: 24px;
    min-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    will-change: height;
    transition: height 0.35s ease, box-shadow 0.3s ease;
}

.card-nav-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem 0.55rem 1.1rem;
    z-index: 2;
}

.hamburger-menu {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.hamburger-icon {
    font-size: 1.4rem;
    transition: transform 0.2s ease;
}

.hamburger-menu:hover,
.hamburger-menu:focus-visible {
    background-color: rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.hamburger-menu:focus-visible {
    outline: 2px solid var(--goh-yellow);
    outline-offset: 2px;
}

.hamburger-menu.open .hamburger-icon {
    transform: rotate(90deg);
}

.logo-container {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo {
    height: 28px;
}

.card-nav-cta-button {
    background-color: #111;
    color: #ffffff;
    border: none;
    border-radius: calc(0.75rem - 0.35rem);
    padding: 0 1rem;
    height: 100%;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.card-nav-cta-button:hover {
    background-color: #333;
    transform: translateY(-1px);
}

.card-nav-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 0;
    padding: 0.5rem;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
}

.card-nav.open .card-nav-content {
    visibility: visible;
    pointer-events: auto;
}

.nav-card {
    height: 100%;
    flex: 1 1 0;
    min-width: 0;
    border-radius: calc(0.75rem - 0.2rem);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    gap: 8px;
    user-select: none;
}

.nav-card-primary {
    background: #111827;
    color: #f9fafb;
}

.nav-card-accent {
    background: var(--goh-yellow);
    color: var(--goh-dark);
}

.nav-card-light {
    background: #f3f4f6;
    color: #111827;
}

.nav-card-label {
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.nav-card-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-card-link {
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-card-link:hover {
    opacity: 0.9;
}

.nav-card-primary .nav-card-link:hover {
    color: var(--goh-yellow);
}

.nav-card-accent .nav-card-link:hover {
    color: #111111;
}

.nav-card-light .nav-card-link:hover {
    color: var(--goh-yellow);
}

.nav-card-link.nav-card-link-disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.nav-card-link-icon {
    font-size: 1rem;
}

.card-nav-scrolled {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
}

p {
    color: #555;
    line-height: 1.6;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.4s;
}

/* --- COMPONENTES CORPORATIVOS --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

/* Botones "Agresivos" */
.btn {
    padding: 18px 45px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary {
    background: var(--goh-yellow);
    color: var(--goh-dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--goh-dark);
    z-index: -1;
    transition: 0.4s;
}

.btn-primary:hover {
    color: var(--goh-yellow);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--goh-dark);
    color: var(--goh-dark);
}

.btn-outline:hover {
    background: var(--goh-dark);
    color: var(--goh-white);
}

/* --- HEADER EMPRESARIAL --- */
header {
    position: relative;
    width: 100%;
    z-index: 1000;
    padding-top: 24px;
    padding-bottom: 96px; /* espacio para navbar flotante + separación del wrapper */
    background: transparent;
    border-bottom: none;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: -1px;
    color: var(--goh-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand i {
    color: var(--goh-yellow);
    transform: rotate(-45deg);
}

nav ul {
    display: flex;
    gap: 50px;
    list-style: none;
}

nav a {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--goh-yellow);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Menú hamburguesa - oculto por defecto */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--goh-dark);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* --- HERO: IMPACTO CORPORATIVO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 1100px;
    padding-left: 5vw;
}

.label-corp {
    background: var(--goh-dark);
    color: var(--goh-white);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 30px;
    color: var(--goh-dark);
    letter-spacing: -2px;
    line-height: 1;
}

.hero h1 span {
    color: var(--goh-yellow);
    display: inline-block;
}

.hero p {
    font-size: 1.4rem;
    max-width: 600px;
    margin-bottom: 50px;
    border-left: 4px solid var(--goh-yellow);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-bg-img {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
    height: 120vh;
    width: auto;
    opacity: 0.24 !important;
    z-index: 0;
    pointer-events: none;
}

/* --- CINTA INFINITA --- */
.marquee {
    background: var(--goh-dark);
    color: var(--goh-white);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 5px solid var(--goh-yellow);
    will-change: auto;
}

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.marquee span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    text-transform: uppercase;
    margin: 0 40px;
    color: var(--goh-yellow);
}

.marquee span.outline {
    -webkit-text-stroke: 1px #fff;
    color: transparent;
}

.marquee-img {
    height: 40px;
    width: auto;
    margin: 0 30px;
    opacity: 0.8;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- SERVICIOS EMPRESARIALES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-item {
    padding: 80px 40px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    position: relative;
}

.service-item:hover {
    background: var(--goh-gray);
}

.service-item:last-child {
    border-right: none;
}

.service-num {
    font-size: 4rem;
    color: #eee;
    font-weight: 900;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-item:hover .service-num {
    color: var(--goh-yellow);
}

/* --- FEATURED SERVICE (WEB CORPORATIVA) --- */
.service-item.featured-service {
    background: var(--goh-dark);
    color: var(--goh-white);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: none;
    border-top: 6px solid var(--goh-yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item.featured-service .service-num {
    color: var(--goh-yellow);
    opacity: 1;
}

.service-item.featured-service h3 {
    color: var(--goh-white);
    font-size: 2.2rem;
}

.service-item.featured-service p {
    color: #d0d0d0;
    font-size: 1.05rem;
}

.service-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--goh-yellow);
    color: var(--goh-dark);
    font-weight: 900;
    padding: 8px 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: var(--goh-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.service-link:hover {
    gap: 15px;
    color: #fff;
}

/* --- ECOSISTEMA DE PRODUCTOS (GRID) --- */
.products-section {
    background: #3b2f2f;
    color: white;
    position: relative;
}

.products-section h2 {
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: #222;
    border: 1px solid #333;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    --theme-color: var(--goh-yellow);
    will-change: transform;
}

/* Temas de color por tarjeta */
.card-gym {
    --theme-color: #e86c0e;
}

.card-care {
    --theme-color: #e3427d;
}

.card-shop {
    --theme-color: #7f02a6;
}

.product-card:hover {
    border-color: var(--theme-color);
    transform: translateY(-10px);
}

.product-card.featured {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.product-card.featured .product-visual {
    height: 250px;
    min-height: auto;
}

.product-visual {
    height: 250px;
    background: #333;
    position: relative;
    overflow: hidden;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    opacity: 0.9;
    transition: 0.5s;
}

.a-ref-diego {
    color: var(--goh-yellow) !important;
    text-decoration: underline !important;
}

.product-card:hover .product-visual img {
    transform: scale(1.05);
    opacity: 1;
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-tag {
    color: var(--theme-color);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.product-info p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.link-underline {
    color: white;
    font-weight: 600;
    margin-top: auto;
}

.card-gym .link-underline {
    background-color: #e86c0e;
    padding: 10px 15px;
    width: fit-content;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    font-weight: 800;
    font-size: 0.8rem;
    z-index: 2;
    background: var(--theme-color);
    color: white;
}

/* WIP Style */
.product-card.wip {
    opacity: 0.7;
}

.product-card.wip:hover {
    opacity: 1;
    border-color: #555;
}

/* --- CTA SECTION --- */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229, 202, 16, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
}

.cta-title {
    font-size: 5rem;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: fit-content;
    padding: 10px 20px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-float p {
    margin: 0;
    padding-left: 10px;
    font-size: 16px;
    font-weight: 700;
}

/* --- MODERN FOOTER --- */
.site-footer {
    background: var(--goh-dark);
    color: var(--goh-white);
    padding: 80px 0 30px;
    border-top: 5px solid var(--goh-yellow);
    font-family: var(--font-body);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #ccc;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    color: var(--goh-yellow);
    font-family: var(--font-display);
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    font-weight: 500;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--goh-yellow);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s;
    color: white;
}

.social-icon:hover {
    background: var(--goh-yellow);
    color: var(--goh-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* --- ESTADÍSTICAS --- */
.stat-box {
    flex: 1;
    min-width: 250px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .service-item.featured-service {
        transform: scale(1);
        border-top: none;
        border-left: 6px solid var(--goh-yellow);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
    }

    .product-card.featured .product-visual {
        height: 250px;
    }

    /* Mostrar hamburguesa en tablets */
    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-flex nav {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 40px;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        order: 4;
    }

    .nav-flex nav.active {
        display: block;
        opacity: 1;
        pointer-events: all;
    }

    .nav-flex nav ul {
        flex-direction: column;
        gap: 0;
        height: 100%;
    }

    .nav-flex nav ul li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        animation: slideInNav 0.3s ease forwards;
        opacity: 0;
    }

    .nav-flex nav.active ul li {
        opacity: 1;
    }

    .nav-flex nav.active ul li:nth-child(1) { animation-delay: 0.1s; }
    .nav-flex nav.active ul li:nth-child(2) { animation-delay: 0.15s; }
    .nav-flex nav.active ul li:nth-child(3) { animation-delay: 0.2s; }
    .nav-flex nav.active ul li:nth-child(4) { animation-delay: 0.25s; }
    .nav-flex nav.active ul li:nth-child(5) { animation-delay: 0.3s; }

    .nav-flex nav ul li a {
        display: block;
        padding: 25px 0;
        font-size: 1.3rem;
        font-weight: 700;
        text-align: center;
        letter-spacing: 2px;
        color: var(--goh-dark);
        transition: all 0.3s ease;
    }

    .nav-flex nav ul li a::after {
        display: none;
    }

    .nav-flex nav ul li a:hover {
        color: var(--goh-yellow);
        transform: translateX(10px);
    }

    .btn-header-cta {
        order: 2;
    }

    @keyframes slideInNav {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto 20px;
    }
    
    .social-icons {
        justify-content: center;
    }

    .cta-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* --- HEADER MOBILE --- */
    header {
        padding-top: 16px;
        padding-bottom: 80px;
    }

    .nav-flex {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        position: relative;
    }

    .brand {
        font-size: 1.8rem;
        justify-self: start;
    }

    .hamburger {
        display: flex;
        justify-self: end;
    }

    .btn-header-cta {
        padding: 12px 15px;
        font-size: 0.75rem;
        letter-spacing: 1px;
        justify-self: center;
        white-space: nowrap;
        width: auto;
    }

    .btn-header-cta i {
        display: none;
    }

    /* --- HERO MOBILE OPTIMIZADO --- */
    .hero {
        height: auto;
        min-height: 70dvh; /* Mejor soporte para navegadores móviles */
        padding-top: 110px;
        padding-bottom: 60px;
        text-align: center;
        align-items: center;
    }

    .page-wrapper {
        margin-left: 8%;
        margin-right: 8%;
        padding-bottom: 8%;
    }

    .card-nav-container {
        padding: 0 8%;
        margin-bottom: 2.5rem;
    }

    .card-nav-top {
        padding: 0.5rem 1rem;
        justify-content: space-between;
    }

    .hamburger-menu {
        order: 2;
    }

    .logo-container {
        position: static;
        transform: none;
        order: 1;
    }

    .card-nav-cta-button {
        display: none;
    }

    .card-nav-content {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0.5rem;
        bottom: 0;
        justify-content: flex-start;
    }

    .nav-card {
        height: auto;
        min-height: 60px;
        flex: 1 1 auto;
        max-height: none;
    }

    .nav-card-label {
        font-size: 1.1rem;
    }

    .nav-card-link {
        font-size: 0.9rem;
    }

    .hero-content {
        padding-left: 0;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .hero p {
        font-size: 1.1rem;
        border-left: none;
        /* Cambio de borde lateral a superior para centrado */
        border-top: 4px solid var(--goh-yellow);
        padding-left: 0;
        padding-top: 20px;
        margin: 0 auto 35px;
        max-width: 100%;
    }

    .hero-bg-img {
        opacity: 0.1 !important;
        right: -20%;
        top: 20%;
        height: 50vh;
        transform: rotate(0deg); /* Simplificar transformación */
    }

    /* Botones más accesibles en mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    .hero .btn {
        width: 90%;
        justify-content: center;
        margin: 0;
    }

    /* --- GENERAL LAYOUT --- */
    .container {
        padding: 0 25px;
    }

    .section-padding {
        padding: 70px 0;
    }

    /* --- TYPOGRAPHY --- */
    h2 {
        font-size: 2.2rem;
        text-align: center; /* Títulos centrados en mobile */
    }

    /* --- MARQUEE --- */
    .marquee {
        padding: 15px 0;
    }

    .marquee span {
        font-size: 1.8rem;
        margin: 0 20px;
    }

    /* --- SERVICES --- */
    .service-item {
        padding: 50px 25px;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .service-num {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }

    .service-item h3 {
        font-size: 1.75rem;
    }

    .service-link {
        justify-content: center;
        width: 100%;
        padding: 15px;
        background: rgba(0,0,0,0.03);
        border-radius: 8px;
        margin-top: 30px;
    }

    /* --- PRODUCTS --- */
    .products-grid {
        gap: 40px;
        margin-top: 30px;
    }

    .product-card {
        margin: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Más sombra en mobile */
    }

    .product-info {
        padding: 25px;
    }

    .product-info h3 {
        font-size: 1.8rem;
    }

    /* --- CTA --- */
    .cta-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    /* --- GLOBAL BUTTONS --- */
    .btn {
        padding: 16px 30px;
        font-size: 0.9rem;
        justify-content: center;
    }

    /* --- WHATSAPP --- */
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        height: 55px;
        width: 55px;
        padding: 0;
        border-radius: 50%;
        font-size: 28px;
        justify-content: center;
    }

    .whatsapp-float p {
        display: none;
    }
}

/* === OPTIMIZACIONES DE RENDIMIENTO === */

/* Optimización para conexiones lentas */
.slow-connection .marquee-content {
    animation-duration: 60s !important;
}

.slow-connection [data-aos] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Lazy loading de imágenes */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img[loading="eager"] {
    opacity: 1;
}

/* Mejora de renderizado de fuentes */
.fonts-loaded body {
    font-family: var(--font-body);
}

/* Optimización GPU para animaciones críticas */
.btn,
.product-card,
.service-item,
.social-icon {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Prevenir layout shifts */
.hero-bg-img {
    content-visibility: auto;
}

.product-visual {
    contain: layout style paint;
}

/* Smooth scroll optimizado */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Optimización de backdrop-filter para mejor performance */
@supports (backdrop-filter: blur(15px)) {
    header {
        backdrop-filter: blur(15px);
    }
}

@supports not (backdrop-filter: blur(15px)) {
    header {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Products Section Reveal Effect */
.products-section {
    position: relative;
    overflow: hidden;
    background-color: #3b2f2f; /* Fallback/Base */
}

.products-bg-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/1920-01.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.products-mask-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3b2f2f;
    z-index: 2;
    pointer-events: none;
}

#products-circle-mask {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        transparent 20%,
        rgba(59, 47, 47, 0.2) 40%,
        rgba(59, 47, 47, 0.6) 60%,
        rgba(59, 47, 47, 0.8) 80%,
        rgba(59, 47, 47, 1) 100%
    );
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: none;
}

.products-section .container {
    position: relative;
    z-index: 10;
}

/* Ensure text visibility on dark background */
.products-section h2, 
.products-section p,
.products-section span:not(.badge):not(.p-tag) {
    color: #fff;
}

.products-section .text-accent {
    color: #e5ca10 !important;
}


/* Hero Trabajo Reveal Effect */
.hero-trabajo-reveal {
    position: relative;
    overflow: hidden;
    background-color: #3b2f2f;
}

.hero-bg-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/1920-01.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.hero-mask-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3b2f2f;
    z-index: 2;
    pointer-events: none;
}

#hero-circle-mask {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        transparent 20%,
        rgba(59, 47, 47, 0.2) 40%,
        rgba(59, 47, 47, 0.6) 60%,
        rgba(59, 47, 47, 0.8) 80%,
        rgba(59, 47, 47, 1) 100%
    );
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: none;
}

