/* ==========================================================================
   GESKEP CORPORATE LANDING (web/css/site.css)
   High-Tech Hub branching into Geskep Dev & Geskep Media
   ========================================================================== */

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 0 5rem;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    inset: -8% 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    opacity: 0.28;
    z-index: 0;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 30%, rgba(255, 117, 31, 0.18) 0%, transparent 52%),
        linear-gradient(180deg, rgba(8, 8, 10, 0.75) 0%, rgba(8, 8, 10, 0.68) 45%, #08080A 100%);
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.45;
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero-title {
    font-size: clamp(2.45rem, 5.2vw, 4.45rem);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    line-height: 1.03;
}

.hero-lead {
    font-size: clamp(1.06rem, 1.65vw, 1.28rem);
    color: var(--text-muted);
    max-width: 610px;
    margin-bottom: 1.85rem;
    line-height: 1.6;
}

.typewriter-wrap {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 700;
    border-right: 2px solid var(--accent);
    padding-right: 4px;
    animation: caretBlink 0.9s steps(1) infinite;
}

@keyframes caretBlink {
    50% { border-color: transparent; }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    max-width: 540px;
}

.metric-val {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.metric-val span {
    color: var(--accent);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* Hero Visual Console */
.hero-visual-stack {
    position: relative;
}

.hero-visual-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.hero-visual-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual-frame:hover img {
    transform: scale(1.06);
}

.floating-node {
    position: absolute;
    z-index: 3;
    background: rgba(14, 14, 18, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    animation: floatSlow 5.5s ease-in-out infinite;
}

.floating-node.node-dev {
    top: -18px;
    right: -12px;
    border-color: var(--border-accent);
}

.floating-node.node-media {
    bottom: -18px;
    left: -12px;
    animation-delay: -2.4s;
}

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

.node-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
}

.node-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.node-sub {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .floating-node {
        position: static;
        margin-top: 0.85rem;
        animation: none;
    }
}

/* Scroll Indicator */
.scroll-cue {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border-radius: 99px;
    border: 1.5px solid var(--border-strong);
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-mouse span {
    width: 3px;
    height: 7px;
    border-radius: 99px;
    background: var(--accent);
    animation: mouseScroll 1.8s infinite;
}

@keyframes mouseScroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(11px); }
}

/* ==========================================================================
   ECOSYSTEM BRANCH CARDS (Dev & Media)
   ========================================================================== */
.branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .branches-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.branch-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.branch-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.55), 0 0 36px rgba(255, 117, 31, 0.14);
}

.branch-media-preview {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.branch-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.branch-card:hover .branch-media-preview img {
    transform: scale(1.07);
}

.branch-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.12) 0%, rgba(20, 20, 25, 0.92) 100%);
}

.branch-badge-top {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.38rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(8, 8, 10, 0.82);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    backdrop-filter: blur(10px);
}

.branch-badge-top.bf-hot {
    background: var(--accent);
    color: #08080A;
    border-color: var(--accent);
    box-shadow: 0 0 18px var(--accent-glow);
}

.branch-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.branch-lockup {
    margin-bottom: 1.15rem;
}

.branch-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.tag-chip {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 0.36rem 0.72rem;
    border-radius: 8px;
}

.branch-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   INTERACTIVE ROUTER / SMART FINDER ("¿Qué necesitas hoy?")
   ========================================================================== */
.finder-shell {
    margin-top: 3.5rem;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 117, 31, 0.08) 0%, rgba(20, 20, 25, 0.95) 55%);
    border: 1px solid var(--border-accent);
}

.finder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 960px) {
    .finder-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.goal-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.goal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1.05rem;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(8, 8, 10, 0.65);
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.goal-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.goal-btn.active {
    background: var(--accent);
    color: #08080A;
    border-color: var(--accent);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.finder-result {
    background: rgba(8, 8, 10, 0.82);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: all 0.35s ease;
}

.finder-result-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.finder-result h4 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.finder-result p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   ABOUT & PILLARS
   ========================================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    transition: transform var(--transition);
}

.card:hover .pillar-icon {
    transform: rotate(-6deg) scale(1.08);
}

.pillar-card h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Parallax Band */
.parallax-band {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.parallax-band-bg {
    position: absolute;
    inset: -25% 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    z-index: 0;
    will-change: transform;
}

.parallax-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.72) 55%, rgba(8, 8, 10, 0.95) 100%);
    z-index: 1;
}

.parallax-band-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: space-between;
}

@media (min-width: 900px) {
    .parallax-band-inner {
        flex-direction: row;
        align-items: center;
    }
}

/* ==========================================================================
   SHOWCASE CAROUSEL
   ========================================================================== */
.carousel-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.carousel-header-row .section-header {
    margin-bottom: 0;
}

.showcase-slide {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition), transform var(--transition);
}

.showcase-slide:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.showcase-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.showcase-slide:hover .showcase-img-wrap img {
    transform: scale(1.07);
}

.showcase-zoom-badge {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(8, 8, 10, 0.82);
    border: 1px solid var(--border-strong);
    color: var(--text);
    display: grid;
    place-items: center;
    transition: all var(--transition);
}

.showcase-slide:hover .showcase-zoom-badge {
    background: var(--accent);
    color: #08080A;
    border-color: var(--accent);
}

.showcase-info {
    padding: 1.4rem 1.5rem;
}

.showcase-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.showcase-info h4 {
    font-size: 1.15rem;
    margin: 0.35rem 0 0.45rem;
}

.showcase-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    position: relative;
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.process-step:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255, 117, 31, 0.28);
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step:hover .step-num {
    color: var(--accent);
}

.process-step h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
