/* Stock Condor - Landing | Estilos principales */

:root {
    --primary-orange: #ff8c00;
    --primary-orange-dim: #dd6b20;
    --dark-bg: #0f0f12;
    --panel-bg: rgba(20, 20, 24, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --glow-strong: rgba(255, 140, 0, 0.5);
    --glow-soft: rgba(255, 140, 0, 0.15);
    --grid-line: rgba(255, 140, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- FONDO ANIMADO --- */
.bg-layer {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(circle at 50% 0%, var(--glow-soft) 0%, transparent 60%);
}

.bg-grid {
    position: fixed; inset: -50%; z-index: -2; opacity: 0.6;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridDrift 20s linear infinite;
    transform-style: preserve-3d;
}

.bg-noise {
    position: fixed; inset: 0; z-index: 0; opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

@keyframes gridDrift {
    0% { transform: translateY(0) rotateX(20deg); }
    100% { transform: translateY(50px) rotateX(20deg); }
}

@keyframes gridFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(24px); }
}

/* --- NAV --- */
.nav-main {
    position: fixed; top: 0; width: 100%; z-index: 100; padding: 20px 0;
    backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-main .container { display: flex; justify-content: space-between; align-items: center; }
.nav-main .btn { padding: 10px 20px; font-size: 0.9rem; }
.nav-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
}
.nav-brand__logo-wrap {
    display: block;
    height: 50px; /* ~90% de 56px: recorta 10% desde abajo */
    overflow: hidden;
    line-height: 0;
}
.nav-brand__logo {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.nav-brand__text { font-weight: 900; font-size: 1.1rem; letter-spacing: -1px; margin-top: -4px; }

/* --- UI COMPONENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: 8px; font-weight: 700;
    text-decoration: none; transition: all 0.3s ease; cursor: pointer;
    position: relative; overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dim) 100%);
    color: white; border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 20px var(--glow-soft);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow-strong);
}

.btn-secondary {
    background: rgba(255,255,255,0.05); color: white;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

h1, h2, h3 { color: white; font-weight: 800; letter-spacing: -0.03em; }
p { color: var(--text-muted); }
.highlight { color: var(--primary-orange); text-shadow: 0 0 15px var(--glow-soft); }

/* --- HERO --- */
.hero {
    padding: 140px 0 100px;
    position: relative;
}

/* Menos margen lateral en el hero para que el gráfico sea más ancho */
.hero .container {
    padding-left: 12px;
    padding-right: 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero .container { padding-left: 24px; padding-right: 24px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { order: 1; text-align: center; }
    .hero-visual { order: 2; height: 450px; }
}

.hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 24px; }
.hero p { font-size: 1.2rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
@media (min-width: 969px) { .hero p { margin-left: 0; } }

/* Botones hero: siempre en horizontal, estilo mejorado */
.hero-ctas {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 8px;
}
@media (min-width: 969px) { .hero-ctas { justify-content: flex-start; } }
@media (max-width: 968px) {
    .hero-ctas {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.hero-ctas .btn {
    white-space: nowrap;
    padding: 18px 28px;
    border-radius: 12px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    min-height: 56px;
}
.hero-ctas .btn-primary {
    box-shadow: 0 4px 24px rgba(255, 140, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-ctas .btn-primary:hover {
    box-shadow: 0 6px 32px var(--glow-strong);
}
.hero-ctas .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
}
.hero-ctas .btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: rgba(255, 140, 0, 0.08);
}

/* --- GRÁFICO ANIMADO --- */
.graph-container {
    width: 100%; height: 100%; min-height: 500px;
    position: relative;
    background: radial-gradient(circle at center, rgba(255,140,0,0.05) 0%, transparent 70%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    background-color: rgba(20, 20, 24, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

#connections-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.node {
    position: absolute; z-index: 10;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    gap: 6px;

    width: 120px; padding: 12px;
    background: rgba(30, 30, 35, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
    text-align: center;
}

.node:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
}

.node-icon {
    display: block;
    font-size: 32px; color: var(--text-muted); margin-bottom: 8px;
    margin-left: auto; margin-right: auto;
    transition: color 0.3s;
}
.node:hover .node-icon { color: var(--primary-orange); }

.node-label {
    width: 100%;
    text-align: center;
    line-height: 1.2;
}


#node-center {
    width: 160px; background: linear-gradient(180deg, rgba(40,40,45,0.95), rgba(20,20,25,0.95));
    border-color: rgba(255,140,0,0.3);
}
#node-center .node-icon { color: var(--primary-orange); font-size: 40px; }

.graph-status {
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.6); padding: 6px 16px; border-radius: 20px;
    border: 1px solid var(--card-border); font-size: 0.8rem; color: var(--primary-orange);
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px; z-index: 5;
    display: flex; gap: 8px; align-items: center;
}
@media (max-width: 968px) {
    .graph-status {
        font-size: 0.65rem;
        padding: 5px 10px;
        letter-spacing: 0.5px;
        gap: 6px;
    }
    .graph-status .status-dot { width: 6px; height: 6px; }
}
.status-dot { width: 8px; height: 8px; background: var(--primary-orange); border-radius: 50%; box-shadow: 0 0 10px var(--primary-orange); animation: pulse 2s infinite; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* --- SECCIONES --- */
section { padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.02); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }

/* Sección Problema: mismo universo visual que el hero (glow + grid naranja) */
.section-problem {
    background: linear-gradient(
        180deg,
        var(--dark-bg) 0%,
        rgba(15, 15, 18, 0.98) 30%,
        rgba(18, 18, 22, 0.97) 70%,
        var(--dark-bg) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}
.section-problem::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 90% 60% at 50% 0%,
        var(--glow-soft) 0%,
        rgba(255, 140, 0, 0.06) 35%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 0;
}
.section-problem::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    animation: gridFloat 12s ease-in-out infinite;
}
.section-problem .container {
    position: relative;
    z-index: 1;
}

/* Headline en 2 líneas fijas (mobile-first) */
.section-problem .problem-headline__line1,
.section-problem .problem-headline__line2 {
    display: block;
}
.section-problem .problem-headline__line2 {
    color: #c45c00;
}
@media (max-width: 768px) {
    .section-problem .section-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

/* --- "Grupo de WhatsApp del pánico" — chat real, estilo oscuro (tu marca, sin verde) --- */
.phone-mockup {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 56px;
    background: #0b1114;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 140, 0, 0.06);
}

.chat-header-mobile {
    background: #161e23;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.avatar-group {
    display: flex;
}
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid #161e23;
}
.avatar--vendedor {
    background: linear-gradient(145deg, var(--primary-orange), var(--primary-orange-dim));
    z-index: 2;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.3);
}
.avatar--logistica {
    background: linear-gradient(145deg, #2a3540, #1e262e);
    margin-left: -12px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.group-name {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 1rem;
}
.members {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

.chat-body {
    padding: 20px 16px 24px;
    background-color: #0b1114;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 88%;
    opacity: 0;
    animation: msgPopIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.message.incoming { align-self: flex-start; }
.message.outgoing { align-self: flex-end; }

.message:nth-child(1) { animation-delay: 0.3s; }
.message:nth-child(2) { animation-delay: 1.2s; }
.message:nth-child(3) { animation-delay: 2.2s; }
.message:nth-child(4) { animation-delay: 3.2s; }

.msg-sender {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
    margin-left: 10px;
    color: var(--primary-orange);
}
.message.outgoing .msg-sender { display: none; }

.phone-mockup .msg-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}
.message.incoming .msg-bubble {
    background: #202c33;
    border-top-left-radius: 2px;
}
.message.outgoing .msg-bubble {
    background: linear-gradient(145deg, #8b4a0a 0%, #6d3a08 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-top-right-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 140, 0, 0.08);
}

.msg-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}
.read-receipt {
    color: rgba(255, 140, 0, 0.8);
    font-size: 0.7rem;
    margin-left: 6px;
    vertical-align: middle;
}

@keyframes msgPopIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.grid-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}

.glass-card {
    background: var(--panel-bg);
    border: 1px solid var(--card-border);
    padding: 32px; border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange-dim);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.glass-card i { font-size: 2.5rem; color: var(--primary-orange); margin-bottom: 20px; display: block; }
.glass-card h3 { font-size: 1.25rem; margin-bottom: 12px; }

/* Qué hace: título al lado del ícono y en naranja */
.grid-cards--que-hace .glass-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.grid-cards--que-hace .glass-card__head i {
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 2.25rem;
    color: #fff;
}
.grid-cards--que-hace .glass-card h3 {
    margin: 0;
    color: var(--primary-orange);
    font-size: 1.15rem;
    line-height: 1.25;
}
.grid-cards--que-hace .glass-card p {
    color: #fff;
}
.grid-cards--que-hace .glass-card--extensible .glass-card__head + p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.problem-microcopy {
    text-align: center; margin-top: 50px;
}
.problem-microcopy span {
    background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 20px; font-size: 0.9rem;
}

/* Cualificación: semáforo visual — SÍ (brillante) vs NO (apagado) */
.qualification-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 0 40px;
}

.quali-header.header-center {
    text-align: center;
    margin-bottom: 40px;
}
.quali-header.header-center h2 {
    color: var(--text-main);
    font-size: clamp(1.75rem, 3vw, 2rem);
    margin: 0;
}

.quali-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: stretch;
}
@media (max-width: 768px) {
    .quali-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.quali-card {
    border-radius: 20px;
    padding: 28px 26px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: var(--text-main);
}
.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.4;
}

.checklist-yes,
.checklist-no {
    list-style: none;
    margin: 0;
    padding: 0;
}
.checklist-yes li,
.checklist-no li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    padding-left: 26px;
    position: relative;
    line-height: 1.4;
}

/* Icono gigante decorativo */
.visual-accent {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 7rem;
    opacity: 0.06;
    pointer-events: none;
    color: var(--primary-orange);
}
.visual-accent--muted {
    opacity: 0.04;
    color: var(--text-muted);
    filter: grayscale(1);
}

/* --- Tarjeta SÍ (héroe): brillante, activa --- */
.card-yes {
    background: linear-gradient(145deg, rgba(28, 28, 32, 0.98), rgba(18, 18, 22, 0.98));
    border: 2px solid var(--primary-orange);
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.12);
    transform: scale(1.04);
    z-index: 2;
}

.badge-success {
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 140, 0, 0.5);
}

.checklist-yes li {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.checklist-yes li::before {
    content: "✔";
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1rem;
    position: absolute;
    left: 0;
}

/* --- Tarjeta NO (filtro): apagada, gris --- */
.card-no {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.72;
}
.card-no:hover {
    opacity: 0.9;
}

.badge-neutral {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checklist-no li {
    color: rgba(255, 255, 255, 0.5);
}
.checklist-no li::before {
    content: "•";
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.4rem;
    line-height: 0.6;
    position: absolute;
    left: 0;
}

.card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.card-footer small {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-orange);
    font-style: italic;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .card-yes { transform: scale(1); }
}

/* Results */
.result-item { text-align: center; padding: 40px 20px; background: rgba(255, 140, 0, 0.03); border-radius: 16px; border: 1px solid var(--card-border); }
.big-number { font-size: 3.5rem; font-weight: 900; color: var(--primary-orange); line-height: 1; margin-bottom: 8px; text-shadow: 0 0 20px rgba(255,140,0,0.2); }
.results-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.results-note { text-align: center; font-size: 0.9rem; margin-top: 20px; color: var(--text-muted); }

/* Cómo funciona – Timeline (mismo fondo que Problema y FAQ) */
#como-funciona {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(
        180deg,
        var(--dark-bg) 0%,
        rgba(15, 15, 18, 0.98) 30%,
        rgba(18, 18, 22, 0.97) 70%,
        var(--dark-bg) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#como-funciona::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 90% 60% at 50% 0%,
        var(--glow-soft) 0%,
        rgba(255, 140, 0, 0.06) 35%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 0;
}
#como-funciona::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    animation: gridFloat 12s ease-in-out infinite;
}
#como-funciona .container {
    position: relative;
    z-index: 1;
}

.how-it-works-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.how-it-works-section__title h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 60px;
}

.how-it-works-section .highlight { color: var(--primary-orange); }

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(255, 140, 0, 0) 0%,
        var(--primary-orange) 20%,
        var(--primary-orange) 80%,
        rgba(255, 140, 0, 0) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    margin-bottom: 50px;
    position: relative;
    width: 50%;
}

.timeline-item--right {
    margin-left: auto;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50px;
}

.timeline-marker {
    position: absolute;
    top: 0;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--panel-bg, #1a1a1a);
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.timeline-item--right .timeline-marker {
    right: auto;
    left: -20px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 25px;
    border-radius: 16px;
    width: 100%;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 140, 0, 0.3);
}

.timeline-content__icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-orange);
}

.timeline-content__icon i { font-size: 2rem; }

.timeline-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-content strong,
.timeline-content em { color: #e0e0e0; }

.timeline-list {
    list-style: none;
    margin: 12px 0 0 0;
    padding: 0;
}
.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}
.timeline-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

.how-it-works-section__quote {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .timeline-line { left: 20px; transform: none; }

    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .timeline-item--right {
        margin-left: 0;
        padding-left: 60px;
    }

    .timeline-marker,
    .timeline-item--right .timeline-marker {
        left: 0;
        right: auto;
    }
}

/* Tu Tablero de Control (Dashboard) */
.dashboard-section {
    margin-top: 56px;
    padding: 48px 24px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
}
.dashboard-section__title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 8px;
}
.dashboard-section__subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--primary-orange);
    margin-bottom: 32px;
    font-weight: 600;
}
.dashboard-section__visual {
    max-width: 900px;
    margin: 0 auto 36px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: rgba(15, 15, 18, 0.6);
    min-height: 200px;
}
.dashboard-section__img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}
.dashboard-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 640px;
    margin: 0 auto;
}
.dashboard-benefits__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}
.dashboard-benefits__item:last-child {
    margin-bottom: 0;
}
.dashboard-benefits__item i {
    font-size: 1.75rem;
    color: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 2px;
}
.dashboard-benefits__item strong {
    color: #e0e0e0;
}

/* Pilot */
.pilot-box {
    background: radial-gradient(circle at top right, rgba(255,140,0,0.15), transparent 60%), #141418;
    border: 1px solid var(--primary-orange-dim);
    padding: 60px 40px; border-radius: 24px; text-align: center;
    box-shadow: 0 0 60px rgba(255,140,0,0.1);
}
.pilot-desc { font-size: 1.2rem; margin: 20px auto 40px; max-width: 600px; }
.pilot-desc strong { color: white; }
.pilot-features { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; font-size: 0.95rem; }
.pilot-cta { font-size: 1.2rem; padding: 20px 40px; text-decoration: none; }

/* Cierre */
.cierre-section { text-align: center; padding: 120px 0; }
.cierre-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
.cierre-text { font-size: 1.2rem; margin-top: 30px; }
.cierre-cta { margin-top: 40px; font-size: 1.2rem; padding: 20px 40px; text-decoration: none; }

/* FAQ – Acordeones + Garantía (mismo fondo que sección Problema) */
.faq-section {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
    background: linear-gradient(
        180deg,
        var(--dark-bg) 0%,
        rgba(15, 15, 18, 0.98) 30%,
        rgba(18, 18, 22, 0.97) 70%,
        var(--dark-bg) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 90% 60% at 50% 0%,
        var(--glow-soft) 0%,
        rgba(255, 140, 0, 0.06) 35%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 0;
}
.faq-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    animation: gridFloat 12s ease-in-out infinite;
}
.faq-section .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section__header h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 10px;
}

.faq-section__header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-orange);
}

.faq-question__icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question__icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--primary-orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0 0 20px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-item.active .faq-question {
    padding-bottom: 8px;
}

/* Tarjeta de Garantía */
.guarantee-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary-orange);
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.guarantee-card__icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.guarantee-card__icon i {
    font-size: 2.5rem;
}

.guarantee-card__content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.guarantee-card__content p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 1rem;
}

.guarantee-card__content strong {
    color: #fff;
}

.guarantee-card__sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .guarantee-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Contacto – Formulario (mismo fondo que Problema / FAQ) */
.contact-page-back {
    max-width: 560px;
    margin: 0 auto;
    padding: 24px 20px 0;
    position: relative;
    z-index: 1;
}
.contact-page-back__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.contact-page-back__link:hover {
    color: var(--primary-orange);
}

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
    background: linear-gradient(
        180deg,
        var(--dark-bg) 0%,
        rgba(15, 15, 18, 0.98) 30%,
        rgba(18, 18, 22, 0.97) 70%,
        var(--dark-bg) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 90% 60% at 50% 0%,
        var(--glow-soft) 0%,
        rgba(255, 140, 0, 0.06) 35%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 0;
}
.contact-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    animation: gridFloat 12s ease-in-out infinite;
}
.contact-section__container {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}
.contact-section__header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-section__header h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 10px;
}
.contact-section__header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* WhatsApp CTA en contacto */
.whatsapp-cta {
    text-align: center;
    padding: 28px 24px;
    margin-bottom: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(255, 140, 0, 0.06);
}
.whatsapp-cta__copy {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-whatsapp i {
    font-size: 1.4rem;
}
.contact-form__row {
    margin-bottom: 20px;
}
.contact-form__label {
    display: block;
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.contact-form__label .required { color: var(--primary-orange); }
.contact-form__input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form__input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}
.contact-form__input:hover,
.contact-form__input:focus {
    border-color: rgba(255, 140, 0, 0.4);
    background: rgba(255, 255, 255, 0.07);
    outline: none;
}
.contact-form__textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form__submit {
    margin-top: 28px;
    text-align: center;
}
.contact-form__submit .btn { min-width: 200px; }
.contact-section__success {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 16px;
}
.contact-section__success i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 16px;
    display: block;
}
.contact-section__success p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin: 0;
}
.contact-section__error {
    text-align: center;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: rgba(220, 80, 80, 0.1);
    border: 1px solid rgba(220, 80, 80, 0.3);
    border-radius: 12px;
}
.contact-section__error i {
    font-size: 1.5rem;
    color: #dc5050;
    margin-bottom: 8px;
    display: block;
}
.contact-section__error p {
    color: #e8a0a0;
    font-size: 0.95rem;
    margin: 0;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
    color: #fff;
}
.whatsapp-float i {
    font-size: 1.6rem;
    flex-shrink: 0;
}
.whatsapp-float__label {
    white-space: nowrap;
}
@media (max-width: 580px) {
    .whatsapp-float__label { display: none; }
    .whatsapp-float { padding: 16px; border-radius: 50%; }
    .whatsapp-float i { font-size: 1.8rem; }
}

/* Footer */
footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--card-border); font-size: 0.9rem; color: var(--text-muted); }
.footer-copy { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.footer__logo { display: inline-block; vertical-align: middle; object-fit: contain; }
.footer-by { margin: 12px 0 0; font-size: 0.85rem; }
.footer-by__link { color: var(--primary-orange); text-decoration: none; }
.footer-by__link:hover { text-decoration: underline; }
