/* Reset básico - v2.1 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #000 0%, #0a0a0a 50%, #000 100%);
    min-height: 100vh;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(238, 128, 44, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(238, 128, 44, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(238, 128, 44, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid rgba(238, 128, 44, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ee802c;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px;
    border: 1px solid rgba(238, 128, 44, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 700;
    font-size: 1rem;
}

.logo-subtitle {
    font-size: 0.72rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(238, 128, 44, 0.12);
    border: 1px solid rgba(238, 128, 44, 0.35);
    color: #ee802c;
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.20);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(238, 128, 44, 0.2);
    transform: translateY(-1px);
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
    color: #ee802c;
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .site-nav {
        justify-content: flex-end;
        gap: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: auto;
        padding: 10px 14px;
        font-size: 0.95rem;
        background: rgba(238, 128, 44, 0.12);
        border: 1px solid rgba(238, 128, 44, 0.35);
        border-radius: 14px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.20);
    }

    .menu-toggle:hover,
    .menu-toggle:focus {
        background: rgba(238, 128, 44, 0.18);
        color: #000000;
        border-color: #ee802c;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 12, 12, 0.98);
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 16px 18px 20px;
        border-bottom: 1px solid rgba(238, 128, 44, 0.18);
        z-index: 99;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    .site-nav.site-nav-open {
        display: flex;
    }

    .site-nav a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 16px 18px;
        border-radius: 16px;
        background: rgba(238, 128, 44, 0.15);
        border: 1px solid rgba(238, 128, 44, 0.25);
        margin-bottom: 10px;
        white-space: normal;
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
        color: #ffffff;
        transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .site-nav a:hover,
    .site-nav a:focus {
        background: #ee802c;
        color: #000000;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(238, 128, 44, 0.2);
    }

    .site-nav a:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding: 8px 0;
        gap: 6px;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo-img {
        width: 36px;
        height: 36px;
        padding: 3px;
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        line-height: 0.9;
    }

    .logo-title {
        font-size: 0.8rem;
        font-weight: 700;
    }

    .logo-subtitle {
        display: none;
    }

    .site-nav {
        gap: 6px;
        font-size: 0.65rem;
        flex-wrap: wrap;
        justify-content: flex-end;
        flex: 1;
    }

    .site-nav a {
        padding: 3px 6px;
        white-space: nowrap;
    }
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(238, 128, 44, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(238, 128, 44, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(238, 128, 44, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: backgroundPulse 8s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(238, 128, 44, 0.02) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(238, 128, 44, 0.02) 50%, transparent 70%);
    pointer-events: none;
    animation: backgroundShift 12s ease-in-out infinite;
}

.hero-content {
    z-index: 1;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ee802c, #ff9a4d, #ee802c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(238, 128, 44, 0.3);
    animation: textGlow 3s ease-in-out infinite;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    line-height: 1.6;
}

.cta-button {
    background-color: #ee802c;
    color: #000000;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 128, 44, 0.3);
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.cta-button:hover {
    background-color: #d66f24;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(238, 128, 44, 0.4);
}

.cta-button-outline {
    background-color: transparent;
    color: #ee802c;
    border: 2px solid #ee802c;
    padding: 13px 28px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 128, 44, 0.3);
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.cta-button-outline:hover {
    background-color: #ee802c;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(238, 128, 44, 0.4);
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 350px;
    z-index: 1;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.hero-carousel .carousel-container {
    display: flex;
    height: 100%;
    gap: 0;
    cursor: grab;
    touch-action: pan-y;
    padding: 0;
    transform: translateX(0);
    width: max-content;
}

.hero-carousel .carousel-container.active-drag {
    cursor: grabbing;
}

.carousel-image {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 450px;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    margin-right: 10px;
}

/* Secciones */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #ee802c;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ee802c;
    margin: 10px auto;
}

/* ¿Qué es? */
#que-es p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
}

/* Beneficios */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.beneficio-item {
    text-align: center;
    padding: 30px;
    background-color: #1a1a1a;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.beneficio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(238, 128, 44, 0.2);
    border-color: #ee802c;
}

.beneficio-item i {
    font-size: 2.5rem;
    color: #ee802c;
    margin-bottom: 15px;
}

.beneficio-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.beneficio-item p {
    color: #cccccc;
}

/* Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.producto-card-wrapper {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.producto-card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.producto-card-wrapper.flipped .producto-card-flipper {
    transform: rotateY(180deg);
}

.producto-card-front,
.producto-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.producto-card-front {
    z-index: 2;
}

.producto-card-front:hover,
.producto-card-back:hover {
    box-shadow: 0 10px 25px rgba(238, 128, 44, 0.2);
    border-color: #ee802c;
}

.producto-card-back {
    transform: rotateY(180deg);
}

.producto-card-front i {
    font-size: 2.5rem;
    color: #ee802c;
    margin-bottom: 15px;
}

.producto-card-front h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.producto-card-front p {
    color: #cccccc;
}

.card-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(238, 128, 44, 0.3);
    color: #ee802c;
    font-size: 0.95rem;
    animation: pulse 2s ease-in-out infinite;
}

.card-hint i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.producto-card-back h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ee802c;
}

.producto-card-back p {
    color: #cccccc;
    font-size: 1rem;
}

.btn-productos {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ee802c;
    color: #000000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 128, 44, 0.3);
}

.btn-productos:hover {
    background-color: #d66f24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 128, 44, 0.4);
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #ee802c;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(238, 128, 44, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-content h2 {
    color: #ee802c;
    margin-bottom: 25px;
    border-bottom: 2px solid #ee802c;
    padding-bottom: 15px;
}

.modal-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.modal-product-item {
    background-color: #000000;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-product-item:hover {
    border-color: #ee802c;
    box-shadow: 0 5px 15px rgba(238, 128, 44, 0.2);
    transform: translateY(-3px);
}

.modal-product-item h4 {
    color: #ee802c;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal-product-item p {
    color: #cccccc;
    font-size: 0.95rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 0;
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
        top: 50%;
        left: 5%;
        transform: none;
    }

    .modal-products {
        grid-template-columns: 1fr;
    }

    .modal {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: none;
        border-radius: 0;
    }
}

/* Cómo Funciona */
.pasos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.paso {
    text-align: center;
    max-width: 200px;
}

.paso-numero {
    width: 60px;
    height: 60px;
    background-color: #ee802c;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(238, 128, 44, 0.3);
}

.paso h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.paso p {
    color: #cccccc;
}

/* Ubicación */
.ubicacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-box {
    width: 100%;
}

.map-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(238, 128, 44, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #cccccc;
}

.ubicacion-info h2 {
    margin: 0 0 10px;
    color: #ee802c;
}

.ubicacion-info p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.ubicacion-info p strong {
    color: #ffffff;
}

.ubicacion-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
}

/* Redes Sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    color: #ee802c;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #d66f24;
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    color: #cccccc;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(10px) translateY(-10px);
    }
    50% {
        transform: translateX(-10px) translateY(10px);
    }
    75% {
        transform: translateX(5px) translateY(-5px);
    }
}

@keyframes textGlow {
    0%, 100% {
        background-position: 0% 50%;
        text-shadow: 0 0 30px rgba(238, 128, 44, 0.3);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 0 40px rgba(238, 128, 44, 0.6);
    }
}


/* Responsive */
@media (max-width: 768px) {
    #hero {
        height: auto;
        padding: 100px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-carousel {
        max-width: 100%;
        height: 250px;
    }

    h2 {
        font-size: 2rem;
    }

    .productos-grid, .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .ubicacion-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ubicacion-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .pasos {
        flex-direction: column;
        align-items: center;
    }

    .paso {
        margin-bottom: 30px;
    }

    .social-icons {
        flex-direction: column;
        align-items: center;
    }
}