@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --navy-bg: #000B26;
    --navy-card: #001334;
    --royal-red: #FFDA67;
    --royal-red-hover: #ECB237;
    --blue-accent: #001D45;
    --blue-btn: #2F7FD0;
    --text-white: #ffffff;
    --text-dark: #EDF2F8;
    --text-muted: #9DAFC3;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --white-section: #001334;
    --gold-leaf: #E0B94F;
}

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


.cursor-follower.active {
    transform: scale(2);
    background: rgba(255, 218, 103, 0.1);
}


body {
    font-family: "Manrope", system-ui, sans-serif;
    background-color: #000;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Moving Mesh Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 218, 103, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 218, 103, 0.03) 0%, transparent 40%);
    z-index: -1;
    animation: pulseBg 15s infinite alternate ease-in-out;
}

@keyframes pulseBg {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}


.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(3, 7, 18, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: padding 0.3s ease, background 0.3s ease;
}

header.shrunk {
    padding: 10px 0;
    background: rgba(3, 7, 18, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 1024px) {
    * { cursor: auto !important; }
    .cursor, .cursor-follower { display: none !important; }
}


.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--royal-red);
}

.btn-hablemos {
    background: var(--royal-red);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: white;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-link {
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.mobile-link:hover {
    color: var(--royal-red);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    display: flex;
    align-items: center;
    /* La foto mide 1672x941 (16:9). El hero mantiene esa proporcion
       para que se vea completa: luna, mar y personas, sin recorte. */
    aspect-ratio: 16 / 9;
    min-height: 0;
    position: relative;
    isolation: isolate;
    /* La foto va completa. El velo oscuro cae sobre el mar, a la
       izquierda, que es donde se apoya el texto; hacia la derecha se
       abre para no tapar a las personas. */
    background-image:
        linear-gradient(90deg,
            rgba(0,11,38,.55) 0%,
            rgba(0,11,38,.48) 30%,
            rgba(0,11,38,.30) 55%,
            rgba(0,11,38,.12) 76%,
            rgba(0,11,38,.24) 100%),
        url("https://telescope.academy/imagenes/opt/fondo_playa_noche.webp");
    background-size: cover, 100% 100%;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}
/* borde inferior suave hacia el color del sitio */
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;
    background:linear-gradient(180deg,transparent,#000B26);pointer-events:none;z-index:-1}
.hero-text{position:relative;z-index:2}
.hero-text h1{text-shadow:0 2px 6px rgba(0,11,38,.85),0 6px 30px rgba(0,11,38,.7)}
.hero-text p,.hero-text .text-glow-red{text-shadow:0 1px 4px rgba(0,11,38,.9),0 4px 18px rgba(0,11,38,.75)}
/* el montaje de pantallas competia con la foto */
.hero .hero-visual{display:none}
.hero .hero-grid{grid-template-columns:minmax(0,.62fr) minmax(0,1fr)}
@media (min-width:1500px){ .hero{aspect-ratio:auto;min-height:78vh;background-size:cover,cover} }


.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-red {
    background: var(--royal-red);
    color: white;
    padding: 18px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-navy {
    background: var(--navy-card);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 18px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* 3D Visual & Floating Cards */
.hero-visual {
    position: relative;
}

.main-laptop {
    width: 100%;
    filter: drop-shadow(0 50px 100px rgba(0,0,0,0.5)) drop-shadow(0 0 20px rgba(255, 218, 103, 0.1));
    transform: perspective(1000px) rotateY(-10deg);
    transition: 0.5s ease;
}

.main-laptop:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    filter: drop-shadow(0 60px 120px rgba(0,0,0,0.6)) drop-shadow(0 0 40px rgba(255, 218, 103, 0.2));
}

.floating-card {
    position: absolute;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(15px);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 2;
    font-size: 12px;
    color: white;
    animation: float 6s infinite ease-in-out;
}

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

.card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.card-2 { top: 60%; left: -5%; animation-delay: 2s; }
.card-3 { top: 20%; right: -5%; animation-delay: 4s; }
.card-4 { top: -10%; right: 10%; animation-delay: 1s; }

/* Services Section (Dark High-End) */
.services {
    background-color: #000B26;
    color: var(--text-white);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.section-title-alt {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.section-title-alt h2 {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(to bottom, #fff, #64748b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card-mini {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-mini:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--royal-red);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 45px;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.service-card-mini h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--gold-leaf, #E0B94F);
    letter-spacing: 1px;
}

.service-card-mini p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Advanced Layered Services Section */
.services {
    position: relative;
    z-index: 1;
}

.services-grid-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.service-block-card {
    position: relative;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: visible; /* To allow layered elements to pop out */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.main-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.8) contrast(1.1);
}

/* Layered UI Element (The "Pop Out" effect) */
.layered-ui {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: translateZ(50px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 5;
}

.service-block-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--royal-red);
    background: rgba(20, 20, 20, 0.8);
    box-shadow: 0 50px 100px rgba(0,0,0,0.8), 0 0 30px rgba(255, 218, 103, 0.1);
}

.service-block-card:hover .main-service-img {
    transform: scale(1.15) rotate(-2deg);
    filter: brightness(1.1);
}

.service-block-card:hover .layered-ui {
    transform: translateZ(80px) translateY(-10px) translateX(-5px);
}

.service-content {
    padding: 40px;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.service-content h3 span {
    color: var(--royal-red);
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.service-features-list {
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.service-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: var(--text-muted);
    transition: 0.3s;
}

.service-features-list li:hover {
    color: #fff;
    padding-left: 10px;
}

.service-features-list li::before {
    content: '→';
    color: var(--royal-red);
    margin-right: 15px;
    font-weight: 900;
}


/* Trust Bar */
.trust-bar {
    background: var(--navy-card);
    padding: 40px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.trust-item h4 {
    font-size: 28px;
    font-weight: 900;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Workflow Timeline */
.workflow {
    padding: 100px 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: dashed rgba(255,255,255,0.1);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 20%;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--royal-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
    border: 5px solid var(--navy-bg);
}

/* Success Cases */
.success-cases {
    padding: 100px 0;
    background: #020617;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--navy-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-info {
    padding: 20px;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(to right, #0a1128, #1e3a8a);
    padding: 60px 0;
    text-align: center;
}

.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Calculator Styling */
.calculator-section {
    z-index: 10; /* Ensure it's above background effects */
}

.module-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    user-select: none;
    pointer-events: all; /* Explicitly allow clicks */
    z-index: 20;
}

.module-item.active {
    background: rgba(255, 218, 103, 0.05);
    border-color: var(--royal-red);
    box-shadow: inset 0 0 20px rgba(255, 218, 103, 0.1);
}

.module-item.selectable:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.module-item.selected {
    border-color: var(--royal-red);
    background: rgba(255, 218, 103, 0.1);
    box-shadow: 0 0 20px rgba(255, 218, 103, 0.2);
}

.module-icon {
    font-size: 24px;
    background: rgba(255,255,255,0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.module-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.module-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.module-price {
    font-weight: 800;
    font-size: 18px;
    color: var(--text-white);
}

.module-item.selected .module-price {
    color: var(--royal-red);
}

/* Neuromarketing & Gamification Styles */
.summary-card-elite {
    padding: 30px;
    border-radius: 20px;
    background: #001334;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    color: white;
}

.summary-card-elite h2, 
.summary-card-elite h3,
.summary-card-elite h4 {
    color: #ffffff !important;
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.summary-card-elite .total-investment {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 25px 0;
}



.urgency-banner {
    background: linear-gradient(to right, #ECB237, #8A6417);
    margin: -30px -30px 25px;
    padding: 10px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown-timer {
    background: rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
}

.blink-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.fomo-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(10, 17, 40, 0.95);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    transform: translateY(200px);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.fomo-toast.active { transform: translateY(0); }

.fomo-icon {
    width: 30px;
    height: 30px;
    background: var(--royal-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-highlight {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 12px;
}

.pulse-text {
    font-size: 32px;
    font-weight: 900;
    color: white;
    animation: pulse-price 2s infinite;
}

@keyframes pulse-price {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); color: var(--royal-red); }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -150%; }
    100% { left: 150%; }
}

.pulse-animation {
    animation: pulse-price 0.5s ease-out;
}

/* Typography Refinement */
.serif {
    font-family: "Montserrat", system-ui, sans-serif; /* Note: Should include this font if needed, otherwise fallback to system serif */
    font-weight: 900;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #FFDA67 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(255, 218, 103, 0.2);
}

.text-glow-red {
    color: var(--royal-red);
    text-shadow: 0 0 15px rgba(255, 218, 103, 0.6);
    font-weight: 800;
    letter-spacing: 2px;
}

.infographic-container {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    margin: 60px auto;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    transition: 0.5s;
}

.infographic-container:hover {
    border-color: rgba(255, 218, 103, 0.2);
    box-shadow: 0 40px 100px rgba(255, 218, 103, 0.1);
}

.infographic-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}



/* IA Terminal & Orb Styles */
.monospace { font-family: 'Courier New', Courier, monospace; }

.ia-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--royal-red), transparent);
    box-shadow: 0 0 15px var(--royal-red);
    animation: scan 4s linear infinite;
    z-index: 5;
    opacity: 0.5;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.ia-orb-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ia-orb {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--royal-red) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    animation: orb-pulse 2s infinite ease-in-out;
    box-shadow: 0 0 40px var(--royal-red);
}

.ia-orb-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 218, 103, 0.3);
    border-radius: 50%;
    animation: ring-rotate 10s linear infinite;
}

.ia-orb-ring::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--royal-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--royal-red);
}

@keyframes orb-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes ring-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--royal-red);
    animation: load 2s infinite linear;
}

@keyframes load {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ia-offer-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--royal-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ia-offer-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-white);
}

/* Strategic Blocks Design */
.services-grid-blocks .service-block-card {
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.services-grid-blocks .service-block-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 218, 103, 0.3);
    background: rgba(255, 218, 103, 0.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.services-grid-blocks ul li {
    position: relative;
    padding-left: 20px;
    opacity: 0.8;
}

.services-grid-blocks ul li span {
    position: absolute;
    left: 0;
    font-size: 10px;
    top: 3px;
}

/* Calculator Interactivity Refinement */
.module-item.selectable:active {
    transform: scale(0.98);
}

.module-item .module-icon {
    transition: 0.3s;
}

.module-item.selected .module-icon {
    background: var(--royal-red);
    color: white;
    transform: rotate(10deg);
}


/* Bento Grid - Value Stack */
.value-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--royal-red);
    transform: translateY(-5px);
}

.bento-item h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.bento-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.bento-icon-big {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.bento-item.large { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.bento-item.medium { grid-column: span 2; }

/* Path Selector Styles */
.path-selector-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.path-card {
    background: linear-gradient(145deg, #0f0f0f, #001334);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.path-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 218, 103, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: 0.6s;
}

.path-card:hover::before { opacity: 1; }

.path-card.featured {
    border-color: var(--royal-red);
    box-shadow: 0 0 40px rgba(255, 218, 103, 0.1);
}

.path-card h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
}

.path-price {
    font-size: 48px;
    font-weight: 900;
    color: var(--royal-red);
    margin: 20px 0;
}

@media (max-width: 992px) {
    .value-stack { grid-template-columns: 1fr 1fr; }
    .path-selector-container { grid-template-columns: 1fr; }
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--royal-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 218, 103, 0.4);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-icon {
    font-size: 24px;
}

.chat-notification {
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    color: var(--royal-red);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: var(--navy-card);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.msg {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 13px;
    max-width: 85%;
    line-height: 1.5;
}

.msg.bot {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.msg.user {
    background: var(--royal-red);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 15px;
    background: rgba(255,255,255,0.02);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
}

.chat-input-area input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 13px;
    outline: none;
}

.chat-input-area button {
    background: var(--royal-red);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

/* Lead Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    max-width: 450px;
    width: 90%;
    padding: 40px;
    text-align: center;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    outline: none;
}

.form-group input:focus {
    border-color: var(--royal-red);
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .chat-window { width: calc(100vw - 60px); height: 400px; }
}

/* --- REFINED ARCHITECT TERMINAL (ULTRA-PRO) --- */
.architect-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.architect-terminal-v2 {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    min-height: 500px; /* Force minimum height to avoid jumps */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual States - Absolute Visibility Control */
.arch-state {
    display: none; /* Hidden by default */
    width: 100%;
    text-align: center;
    position: relative;
}

.arch-state.active {
    display: block;
    animation: archFadeIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.arch-state.exit {
    display: block;
    animation: archFadeOut 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes archFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes archFadeOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-30px) scale(0.98); }
}

/* Question Styling */
.arch-question-pro {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 50px;
    color: #fff;
}

/* Options Layout - Forced Horizontal */
.arch-options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.arch-option-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
}

.arch-option-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--royal-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.arch-option-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.arch-option-card h4 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
}

/* Processing View */
.scan-visualizer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
}

.scan-orb-glow {
    width: 120px;
    height: 120px;
    background: var(--royal-red);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.5;
    animation: pulseOrb 1.5s infinite alternate;
}

@keyframes pulseOrb {
    from { transform: scale(0.8); opacity: 0.3; }
    to { transform: scale(1.2); opacity: 0.7; }
}

/* Result Card */
.result-display-elite {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* Progress Dots */
.prog-dot {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    transition: 0.5s;
}

.prog-dot.active {
    background: var(--royal-red);
    box-shadow: 0 0 10px var(--royal-red);
}



/* ==========================================================
   CABECERA IGUAL A telescope.academy (valores medidos)
   ========================================================== */
header .nav-content{height:73px;display:flex;align-items:center;justify-content:space-between}
.brand-link{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-link img{width:38px;height:38px;border-radius:9px}
.brand-txt{display:flex;flex-direction:column;line-height:1.15}
.brand-txt strong{font-family:"Montserrat",system-ui,sans-serif;font-size:1.12rem;font-weight:400;
  letter-spacing:.01em;text-transform:none;color:#EDF2F8}
.brand-txt>span{font-family:"Manrope",system-ui,sans-serif;font-size:.63rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;color:#6B7F97;margin-top:2px}
header .nav-links{gap:21.76px;align-items:center}
header .nav-links a{font-family:"Manrope",system-ui,sans-serif;font-size:.9rem;font-weight:500;
  letter-spacing:normal;text-transform:none;color:#9DAFC3}
header .nav-links a:hover{color:#EDF2F8}
header .nav-links a.btn-hablemos{font-size:.86rem;font-weight:700;letter-spacing:.01em;text-transform:none;
  height:42px;padding:0 18px;display:inline-flex;align-items:center;border-radius:6px;
  background:#FFDA67;color:#000B26}
header .nav-links a.btn-hablemos:hover{background:#FFE9A0;color:#000B26}


/* Telesbot: producto principal, se distingue del resto */
.telesbot-card{border:1px solid rgba(255,218,103,.34);
  box-shadow:0 0 0 1px rgba(255,218,103,.08),0 24px 60px -30px rgba(0,0,0,.7)}
.telesbot-card .service-content h3 span{color:#FFDA67}
.telesbot-img{display:block;text-decoration:none}
.telesbot-cta{display:inline-flex;align-items:center;margin-top:18px;height:42px;padding:0 18px;
  border-radius:6px;background:#FFDA67;color:#000B26;text-decoration:none;
  font-family:"Manrope",system-ui,sans-serif;font-size:.86rem;font-weight:700;
  transition:background .3s ease}
.telesbot-cta:hover{background:#FFE9A0}

/* Productos digitales personalizados */
.producto-card .service-content h3 span{color:#7FB2E5}
.producto-cta{display:inline-flex;align-items:center;margin-top:18px;height:40px;padding:0 16px;
  border-radius:6px;background:transparent;color:#FFDA67;text-decoration:none;
  border:1px solid rgba(255,218,103,.34);
  font-family:"Manrope",system-ui,sans-serif;font-size:.84rem;font-weight:700;
  transition:background .3s ease,border-color .3s ease}
.producto-cta:hover{background:rgba(255,218,103,.10);border-color:#FFDA67}


/* ==========================================================
   HERO EN MOVIL
   La foto se muestra limpia en una banda 16:9 arriba, con apenas
   un velo para asentar los bordes. El texto va debajo, no encima:
   asi la imagen se lee y las letras tambien.
   ========================================================== */
@media (max-width: 900px){
    .hero{
        aspect-ratio: auto;
        min-height: 0;
        padding: 0 0 44px;
        display: block;
        background-image: none;
        background-color: #000B26;
    }
    .hero::before{
        content: "";
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        background-image:
            linear-gradient(180deg, rgba(0,11,38,.10) 0%, rgba(0,11,38,.06) 55%, rgba(0,11,38,.85) 100%),
            url("https://telescope.academy/imagenes/opt/fondo_playa_noche.webp");
        background-size: cover, cover;
        background-position: center, center;
        background-repeat: no-repeat;
    }
    .hero::after{ display: none; }
    .hero .hero-grid{
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 26px;
        margin-top: -34px;
        position: relative;
        z-index: 2;
    }
    .hero-text h1{ font-size: 38px !important; line-height: 1.06; margin-bottom: 18px !important; }
    .hero-text p{ font-size: 16px !important; }
    /* sobre fondo solido ya no hacen falta sombras fuertes */
    .hero-text h1, .hero-text p, .hero-text .text-glow-red{ text-shadow: none; }
    .hero-btns{ flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 520px){
    .hero::before{ aspect-ratio: 4 / 3; }
    .hero-text h1{ font-size: 32px !important; }
}
