/* ── Variables ── */
:root {
    --bg:        #060818;
    --bg2:       #0d1117;
    --primary:   #818CF8;
    --primary-d: #6366F1;
    --accent:    #22D3EE;
    --green:     #34D399;
    --text:      #F1F5F9;
    --muted:     #94A3B8;
    --card:      rgba(13,17,27,0.75);
    --border:    rgba(129,140,248,0.15);
    --font-h:    'Inter', sans-serif;
    --font-b:    'Outfit', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    line-height: 1.6;
    overflow-x: hidden;
}
ul { list-style: none; }
a  { text-decoration: none; color: inherit; }

/* ── Background orbs ── */
#bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
}
.orb1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #6366F1, transparent 70%);
    top: -200px; left: -200px;
    animation: orb-drift1 20s ease-in-out infinite;
}
.orb2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #22D3EE, transparent 70%);
    top: 40%; right: -150px;
    animation: orb-drift2 25s ease-in-out infinite;
}
.orb3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #A78BFA, transparent 70%);
    bottom: 0; left: 30%;
    animation: orb-drift3 18s ease-in-out infinite;
}
@keyframes orb-drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(80px,60px)} }
@keyframes orb-drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-60px,80px)} }
@keyframes orb-drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-60px)} }

/* ── Chatbot ── */
#chatbot-btn {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 9000;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-d), var(--accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(99,102,241,0.4);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
#chatbot-btn svg { width: 24px; height: 24px; }
#chatbot-btn:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(99,102,241,0.6); }
#chat-notify {
    position: absolute;
    top: -4px; right: -4px;
    width: 20px; height: 20px;
    background: #EF4444;
    color: #fff;
    border-radius: 50%;
    font-family: var(--font-h);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg);
    animation: notify-pulse 1.5s ease-in-out infinite;
}
@keyframes notify-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,0.5)} 50%{box-shadow:0 0 0 6px rgba(239,68,68,0)} }

#chatbot-window {
    position: fixed;
    bottom: 96px; right: 28px;
    z-index: 9001;
    width: 340px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    background: #0D1117;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    overflow: hidden;
    transition: opacity 0.25s, transform 0.25s;
}
#chatbot-window.chat-hidden { opacity: 0; pointer-events: none; transform: translateY(16px) scale(0.97); }

#chat-header {
    background: linear-gradient(135deg, var(--primary-d), #4F46E5);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.75rem;
    color: #fff;
}
.chat-name { font-family: var(--font-h); font-weight: 700; font-size: 0.9rem; color: #fff; }
.chat-status { font-size: 0.7rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 4px; }
.chat-status::before { content:''; width:6px; height:6px; border-radius:50%; background:#34D399; display:inline-block; }
#chat-close {
    background: rgba(255,255,255,0.15);
    border: none; color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
#chat-close:hover { background: rgba(255,255,255,0.3); }

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 280px;
}
#chat-messages::-webkit-scrollbar { width: 4px; }
#chat-messages::-webkit-scrollbar-track { background: transparent; }
#chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.msg-bot, .msg-user {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 85%;
    font-size: 0.82rem;
    line-height: 1.5;
}
.msg-bot {
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.msg-user {
    background: linear-gradient(135deg, var(--primary-d), #4F46E5);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

#chat-options {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--border);
}
.chat-opt {
    background: rgba(99,102,241,0.08);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.78rem;
    padding: 9px 14px;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.chat-opt:hover { background: rgba(99,102,241,0.2); border-color: var(--primary); }

/* ── Navbar ── */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 72px;
    background: rgba(6,8,24,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo-svg {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    font-family: var(--font-b);
    font-size: 0.9rem;
    color: var(--muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-d), var(--accent));
    color: #fff;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 22px;
    border-radius: 100px;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}
.btn-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Botones generales ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-d), var(--accent));
    color: #fff;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.35); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--primary); background: rgba(99,102,241,0.08); }

/* ── Hero ── */
.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 80px 5%;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
    color: var(--primary);
    font-family: var(--font-h);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    width: fit-content;
    letter-spacing: 0.3px;
}
.hero-content h1 {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text);
}
.grad-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 460px;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: nowrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text);
    line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Phone mockup (hero) ── */
.hero-decor { flex: 0 0 auto; }

.pixel-phone {
    width: 220px;
    height: 440px;
    background: #0D1117;
    border: 2px solid rgba(99,102,241,0.4);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow:
        0 0 0 6px rgba(13,17,27,0.8),
        0 0 0 8px rgba(99,102,241,0.15),
        0 32px 80px rgba(0,0,0,0.6);
}
.phone-notch {
    width: 70px; height: 20px;
    background: #0D1117;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.screen { flex: 1; overflow: hidden; background: #111827; position: relative; }

/* status bar */
.status-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 12px 4px;
    font-size: 7px; font-family: var(--font-h); font-weight: 700;
    color: var(--text);
}
.status-icons { display: flex; align-items: flex-end; gap: 2px; }
.sig-bar { width: 3px; background: var(--text); border-radius: 1px; }
.s1 { height: 5px; } .s2 { height: 8px; } .s3 { height: 11px; }
.battery-icon {
    width: 14px; height: 8px;
    border: 1.5px solid var(--text);
    border-radius: 1.5px;
    margin-left: 3px;
    position: relative;
}
.battery-icon::after {
    content: '';
    position: absolute;
    left: 2px; top: 1px;
    width: 70%; height: calc(100% - 2px);
    background: var(--green);
    border-radius: 0.5px;
}
.battery-icon::before {
    content: '';
    position: absolute;
    right: -4px; top: 2px;
    width: 2px; height: 4px;
    background: var(--text);
    border-radius: 0 1px 1px 0;
}

/* app screens */
.app-screens { width: 300%; display: flex; animation: slide-screens 9s steps(1) infinite; }
@keyframes slide-screens {
    0%,30%  { transform: translateX(0); }
    33%,63% { transform: translateX(-33.333%); }
    66%,96% { transform: translateX(-66.666%); }
    100%    { transform: translateX(0); }
}
.app-view { width: 33.333%; height: 340px; flex-shrink: 0; padding: 8px; overflow: hidden; }

/* pantalla 1 */
.app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app-logo-bar { width: 50px; height: 8px; background: var(--primary); border-radius: 4px; opacity: 0.7; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.story-row { display: flex; gap: 6px; margin-bottom: 10px; }
.story { width: 28px; height: 28px; border-radius: 50%; border: 2px solid; }
.s-cyan   { border-color: var(--accent); }
.s-purple { border-color: var(--primary); }
.s-green  { border-color: var(--green); }
.s-red    { border-color: #F87171; }
.feed-list { display: flex; flex-direction: column; gap: 8px; }
.feed-card { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 6px; }
.fc-img { width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0; }
.c1 { background: linear-gradient(135deg,#6366F1,#22D3EE); }
.c2 { background: linear-gradient(135deg,#F59E0B,#EF4444); }
.c3 { background: linear-gradient(135deg,#34D399,#059669); }
.fc-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.fc-line { height: 5px; background: rgba(255,255,255,0.15); border-radius: 3px; }
.w80{width:80%} .w70{width:70%} .w60{width:60%} .w50{width:50%} .w40{width:40%} .w45{width:45%}

/* pantalla 2 */
.app-view.s2 { position: relative; background: #111827; }
.slide-menu { width: 70%; height: 100%; background: #1E293B; padding: 12px 8px; display: flex; flex-direction: column; gap: 8px; border-radius: 0 12px 12px 0; }
.menu-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--accent)); margin-bottom: 4px; }
.menu-name { height: 6px; width: 60%; background: rgba(255,255,255,0.3); border-radius: 3px; margin-bottom: 8px; }
.menu-item { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.mi-active { background: rgba(99,102,241,0.35) !important; }
.mi-short { width: 60%; }
.menu-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 4px 0; }
.menu-overlay { position: absolute; right: 0; top: 0; width: 30%; height: 100%; background: rgba(0,0,0,0.5); border-radius: 0 0 0 0; }

/* pantalla 3 */
.detail-hero { height: 90px; background: linear-gradient(135deg,var(--primary-d),var(--accent)); border-radius: 8px; margin-bottom: 8px; }
.detail-body { padding: 0 4px; }
.detail-title { height: 8px; width: 70%; background: rgba(255,255,255,0.8); border-radius: 4px; margin-bottom: 5px; }
.detail-sub { height: 6px; width: 50%; background: rgba(255,255,255,0.3); border-radius: 3px; margin-bottom: 8px; }
.detail-tags { display: flex; gap: 5px; margin-bottom: 8px; }
.tag { height: 14px; border-radius: 7px; }
.t1 { width: 40px; background: rgba(99,102,241,0.4); }
.t2 { width: 30px; background: rgba(34,211,238,0.4); }
.detail-line { height: 5px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 4px; }
.w90{width:90%}
.detail-cta { height: 22px; background: linear-gradient(135deg,var(--primary-d),var(--accent)); border-radius: 11px; margin-top: 8px; }

/* bottom nav */
.bottom-nav {
    height: 40px; background: rgba(13,17,27,0.95);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: space-around; padding: 0 12px;
}
.bn-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.bn-1 { background: var(--primary) !important; }
.bn-plus {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg,var(--primary-d),var(--accent));
    display: flex; align-items: center; justify-content: center;
}
.bn-plus::before { content:''; width:10px; height:2px; background:#fff; position:absolute; }
.bn-plus::after  { content:''; width:2px; height:10px; background:#fff; position:absolute; }

/* ── Section commons ── */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
    color: var(--primary);
    font-family: var(--font-h);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.section-head h2 {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1rem; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Planes ── */
.planes {
    padding: 120px 5%;
    max-width: 1100px;
    margin: 0 auto;
}
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(129,140,248,0.35);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.card--featured {
    border-color: rgba(99,102,241,0.4);
    background: linear-gradient(160deg, rgba(99,102,241,0.08), rgba(13,17,27,0.9));
}
.card--featured:hover { border-color: var(--primary); }

.badge {
    position: absolute;
    top: -12px; left: 32px;
    background: linear-gradient(135deg, var(--primary-d), var(--accent));
    color: #fff;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}
.card-header h3 {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 12px;
}
.price {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text);
    line-height: 1;
}
.currency {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}
.recurring { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

.card-body { flex: 1; }
.desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.6; }
.card ul { display: flex; flex-direction: column; gap: 10px; }
.card ul li {
    font-size: 0.875rem;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.eta { margin-top: 16px; font-size: 0.82rem; color: var(--muted); }

.btn-card {
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s, border-color 0.2s;
}
.btn-card:hover { background: rgba(255,255,255,0.06); border-color: var(--primary); }
.btn-card--accent {
    background: linear-gradient(135deg, var(--primary-d), var(--accent));
    border-color: transparent;
    color: #fff;
}
.btn-card--accent:hover { opacity: 0.9; border-color: transparent; background: linear-gradient(135deg, var(--primary-d), var(--accent)); }

/* ── Galería / Carrusel ── */
.galeria {
    padding: 120px 5%;
    text-align: center;
    background: rgba(13,17,27,0.5);
}

.hcar {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.hcar-stage {
    position: relative;
    width: 300px;
    height: 580px;
    overflow: hidden;
}
.hcar-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}
.hcar-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.hcar-slide.exit-left  { opacity: 0; transform: translateX(-80px); }
.hcar-slide.exit-right { opacity: 0; transform: translateX(80px); }

/* marco de celular */
.phone-frame {
    width: 200px;
    height: 420px;
    background: #0D1117;
    border: 2px solid rgba(99,102,241,0.35);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    padding: 14px 10px 10px;
    box-shadow:
        0 0 0 6px rgba(13,17,27,0.9),
        0 0 0 8px rgba(99,102,241,0.1),
        0 32px 64px rgba(0,0,0,0.5);
    transition: box-shadow 0.3s;
}
.phone-frame:hover {
    box-shadow:
        0 0 0 6px rgba(13,17,27,0.9),
        0 0 0 8px rgba(99,102,241,0.25),
        0 32px 80px rgba(99,102,241,0.2);
}
.phone-frame--soon { border-color: rgba(255,255,255,0.08); }
.phone-notch-bar {
    width: 50px; height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin: 0 auto 10px;
    flex-shrink: 0;
}
.phone-screen { flex: 1; border-radius: 20px; overflow: hidden; background: #111; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-screen--soon {
    display: flex; align-items: center; justify-content: center;
    background: #0D1117;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 20px;
}
.soon-text {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
    line-height: 2;
    letter-spacing: 2px;
}

.hcar-title {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text);
    letter-spacing: -0.3px;
}
.hcar-desc {
    font-size: 0.875rem;
    color: var(--muted);
    text-align: center;
    max-width: 260px;
    margin-top: -12px;
}

.hcar-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hcar-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(99,102,241,0.1);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.hcar-btn:hover, .hcar-btn:active { background: rgba(99,102,241,0.25); border-color: var(--primary); }

.hcar-dots { display: flex; gap: 8px; }
.hcar-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    touch-action: manipulation;
}
.hcar-dot.active { background: var(--primary); transform: scale(1.3); }

/* ── Footer ── */
.footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-text { font-size: 1.5rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 240px; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    color: var(--muted);
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p { color: var(--muted); font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero { flex-direction: column; padding: 60px 5%; text-align: center; }
    .hero-content { align-items: center; }
    .subtitle { text-align: center; }
    .hero-stats { justify-content: center; }
    .hero-decor { display: none; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .planes { padding: 80px 5%; }
    .galeria { padding: 80px 5%; }

    /* chatbot mobile */
    #chatbot-btn {
        bottom: 16px; right: 16px;
        width: 50px; height: 50px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    #chatbot-window {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 80px;
        max-height: 60vh;
    }
    #chat-messages { max-height: 35vh; }
}
