/* ============================================
   LOFT - Agencia Digital
   Reset & Variables
   ============================================ */
:root {
    /* Colors */
    --color-bg: #0a0a0f;
    --color-bg-alt: #0d0d12;
    --color-card: #161620;
    --color-card-hover: #1c1c28;
    --color-surface: #1a1a24;

    --color-text-primary: #ffffff;
    --color-text-secondary: #9ca3af;
    --color-text-tertiary: #6b7280;

    --color-accent-green: #84cc16;
    --color-accent-green-hover: #9bd636;
    --color-accent-pink: #ec4899;
    --color-accent-cyan: #06b6d4;
    --color-accent-orange: #f97316;
    --color-accent-yellow: #eab308;

    --color-badge-red: #ef4444;
    --color-border: #2d2d3a;
    --color-border-light: #1f1f2a;

    /* Gradients */
    --gradient-hero: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(30, 27, 75, 0.6) 0%, rgba(10, 10, 15, 0) 70%);
    --gradient-text: linear-gradient(90deg, #84cc16 0%, #eab308 35%, #ec4899 70%, #f43f5e 100%);
    --gradient-glow: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(236, 72, 153, 0.25) 50%, transparent 70%);

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --container-padding: 48px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

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

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 76px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 45, 58, 0.5);
    transition: var(--transition-base);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

.header__logo {
    flex-shrink: 0;
}

.header__logo-img {
    height: 40px;
    width: auto;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.header__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.header__link:hover {
    color: var(--color-text-primary);
}

.header__link--active {
    color: var(--color-text-primary);
}

.header__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent-green);
    border-radius: 2px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__novedades {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.header__novedades:hover {
    background: var(--color-card-hover);
    border-color: var(--color-text-tertiary);
}

.header__bell-icon {
    color: var(--color-text-secondary);
}

.header__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--color-badge-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--color-bg);
}

.header__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
}

.header__toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.header__toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--color-accent-green);
    color: #0a0a0f;
    padding: 14px 26px;
}

.btn--primary:hover {
    background: var(--color-accent-green-hover);
    transform: translateY(-2px);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 11px 20px;
}

.btn--outline:hover {
    background: var(--color-card);
    border-color: var(--color-text-tertiary);
}

.btn--card {
    background: var(--color-surface);
    color: var(--color-text-primary);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.btn--card:hover {
    background: var(--color-card-hover);
}

.btn--ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 11px 22px;
}

.btn--ghost:hover {
    background: var(--color-card);
    border-color: var(--color-text-tertiary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding-top: 76px;
    min-height: 680px;
    overflow: hidden;
    background: var(--color-bg);
}

.hero__bg-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: var(--gradient-hero);
    pointer-events: none;
    z-index: 0;
}

.hero__grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(45, 45, 58, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 45, 58, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 70% 50% at 70% 30%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 70% 30%, black 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 50px;
    padding-bottom: 70px;
    min-height: 600px;
}

.hero__content {
    flex: 0 0 45%;
    max-width: 540px;
}

.hero__title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.hero__title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero__subtitle {
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
}

.hero__cta {
    font-size: 15px;
}

.hero__visual {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.hero__glow-ring {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    background: var(--gradient-glow);
    filter: blur(70px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.hero__3d-img {
    position: relative;
    z-index: 1;
    width: 125%;
    height: auto;
    max-width: none;
    margin-right: -8%;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
    padding: 10px 0 60px;
    position: relative;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--color-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.values__item {
    padding: 32px 28px;
    text-align: left;
    border-right: 1px solid var(--color-border-light);
    transition: var(--transition-base);
}

.values__item:last-child {
    border-right: none;
}

.values__item:hover {
    background: var(--color-card-hover);
}

.values__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.values__icon img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(132, 204, 22, 0.15));
}

.values__title {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.values__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ============================================
   ACTIVITIES SECTION
   ============================================ */
.activities {
    padding: 40px 0 60px;
}

.activities__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.activities__title-wrap {
    flex: 1;
}

.activities__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.activities__title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-accent-green);
    border-radius: 2px;
}

.activities__subtitle {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 560px;
    line-height: 1.5;
    margin-top: 16px;
}

.activities__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 20px;
}

/* Featured Card */
.card {
    background: var(--color-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card--featured {
    grid-row: span 1;
}

.card__image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card:hover .card__image {
    transform: scale(1.05);
}

.card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent-pink);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    z-index: 2;
    text-transform: uppercase;
}

.card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card__title {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.card__desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

/* Coming Soon Card */
.card--coming-soon {
    padding: 28px 24px;
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
}

.card__coming-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card__coming-icon--pink {
    color: #f472b6;
    background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.15) 0%, rgba(236, 72, 153, 0.04) 70%, transparent 100%);
    border-color: rgba(236, 72, 153, 0.15);
}

.card__coming-icon--blue {
    color: #60a5fa;
    background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.15) 0%, rgba(96, 165, 250, 0.04) 70%, transparent 100%);
    border-color: rgba(96, 165, 250, 0.15);
}

.card__coming-icon--teal {
    color: #2dd4bf;
    background: radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.15) 0%, rgba(45, 212, 191, 0.04) 70%, transparent 100%);
    border-color: rgba(45, 212, 191, 0.15);
}

.card__coming-content {
    flex: 1;
}

.card__coming-soon-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-tertiary);
    margin-bottom: 4px;
}

.card__coming-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.card__coming-desc {
    font-size: 13px;
    color: var(--color-text-tertiary);
    line-height: 1.5;
}

.card__lock {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--color-text-tertiary);
    opacity: 0.6;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 20px 0 40px;
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-card);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
}

.cta-banner__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-green);
}

.cta-banner__content {
    flex: 1;
}

.cta-banner__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.cta-banner__subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.cta-banner__btn {
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--color-border-light);
    padding: 32px 0;
    background: var(--color-bg-alt);
}

.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__logo img {
    height: 36px;
    width: auto;
    opacity: 0.9;
}

.footer__info {
    flex: 1;
    text-align: center;
}

.footer__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.footer__tagline {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer__social-link:hover {
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS - Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* Fallback: auto-reveal after 2.5s even if observer doesn't fire */
    animation: revealFallback 0.6s ease 2.5s forwards;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

@keyframes revealFallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is visible if JS is completely disabled */
.no-js .reveal {
    opacity: 1;
    transform: none;
    animation: none;
}

/*manual*/
.bxc-target-top-margin,.bxc-custom-hero{
    min-height: 70dvh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bxc-breadcrumbs__list{
    display: flex;
}

.bxc-breadcrumbs__item{
    margin: 5px 10px;
}

.menu-pecera .link{
    margin: 5px 10px;

}

.animated-bg {
    /* Gradiente de ejemplo para notar el movimiento */
    background: linear-gradient(0deg, #ff7e5f, #feb47b, #6a11cb, #2575fc);
    background-size: cover;
    
    /* Animación: 10 segundos, continua e infinita */
    animation: moveBgUp 50s linear infinite;
}

@keyframes moveBgUp {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.bxc-alert.bxc-alert-warn{
    background: #c28d0b;
    color: #1c1c1;
    padding: 25px;
    margin: 25px;
    border-radius: 10px;
}