:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #22c55e;
    --text: #1e293b;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --card: #ffffff;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    border-radius: 999px; background: rgba(37, 99, 235, 0.1); color: var(--primary);
    font-size: 14px; font-weight: 700; margin-bottom: 20px;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
    padding: 0 24px; border-radius: 999px; font-weight: 700; transition: 0.25s ease;
    border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: var(--white); color: var(--secondary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.section { padding: 100px 0; }
.section-header { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-header h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; color: var(--secondary); margin-bottom: 18px; letter-spacing: -0.04em; }
.section-header p { font-size: 18px; color: var(--muted); }

.navbar {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}
.nav-content { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 43px; font-weight: 800; color: var(--secondary); letter-spacing: -0.04em; }
.logo img { width: 150px; height: 54px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.menu-btn { display: none; border: 1px solid var(--border); background: var(--white); border-radius: 12px; padding: 10px 12px; font-weight: 800; cursor: pointer; color: var(--secondary); }
.mobile-menu { display: none; position: fixed; top: 82px; left: 0; width: 100%; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); z-index: 40; padding: 18px 0 24px; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); }
.mobile-menu.active { display: block; }
.mobile-menu .container { display: grid; gap: 12px; }
.mobile-menu a { padding: 14px 16px; border-radius: 14px; font-weight: 700; color: var(--secondary); }
.mobile-menu a:hover { background: var(--light); color: var(--primary); }
.mobile-menu .btn { margin-top: 8px; }

.hero { position: relative; overflow: hidden; padding: 90px 0 70px; background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34%), radial-gradient(circle at 85% 20%, rgba(34, 197, 94, 0.12), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.hero-grid { display: grid; grid-template-columns: 1.03fr 0.97fr; align-items: center; gap: 52px; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 0.98; color: var(--secondary); letter-spacing: -0.07em; margin-bottom: 24px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 20px; color: var(--muted); max-width: 610px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 620px; }
.hero-stat { padding: 18px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--border); border-radius: 18px; }
.hero-stat strong { display: block; font-size: 24px; color: var(--secondary); line-height: 1; margin-bottom: 6px; }
.hero-stat small { color: var(--muted); font-weight: 600; }

.dashboard-card { position: relative; border-radius: 32px; padding: 18px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(226, 232, 240, 0.85); box-shadow: var(--shadow); }
.dashboard-inner { overflow: hidden; border-radius: 24px; background: #0f172a; color: var(--white); }
.dash-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.dash-title strong { display: block; font-size: 15px; }
.dash-title small { color: #94a3b8; }
.dash-pill { background: rgba(34, 197, 94, 0.14); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.25); padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.dash-content { padding: 22px; }
.money-card { padding: 22px; border-radius: 22px; background: linear-gradient(135deg, #2563eb, #38bdf8); margin-bottom: 16px; }
.money-card span { display: block; font-size: 14px; opacity: 0.85; margin-bottom: 8px; }
.money-card strong { font-size: 34px; letter-spacing: -0.04em; }
.dash-list { display: grid; gap: 12px; }
.dash-row { display: flex; justify-content: space-between; gap: 14px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); }
.dash-row span { color: #cbd5e1; font-size: 14px; }
.dash-row strong { font-size: 14px; }
.floating-alert { position: absolute; right: -18px; bottom: 46px; width: 235px; padding: 16px; border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); }
.floating-alert strong { display: block; color: var(--secondary); margin-bottom: 4px; }
.floating-alert small { color: var(--muted); font-weight: 600; }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem-card, .feature-card, .blog-card, .about-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04); }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(37, 99, 235, 0.1); color: var(--primary); font-size: 22px; margin-bottom: 18px; }
.problem-card h3, .feature-card h3, .blog-card h3, .about-card h3 { font-size: 20px; color: var(--secondary); margin-bottom: 10px; letter-spacing: -0.03em; }
.problem-card p, .feature-card p, .blog-card p, .about-card p { color: var(--muted); font-size: 15px; }

.solution { background: var(--light); }
.solution-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 42px; align-items: center; }
.solution-panel { background: var(--white); border: 1px solid var(--border); border-radius: 30px; padding: 34px; box-shadow: var(--shadow); }
.vehicle-item { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.vehicle-item:last-child { border-bottom: none; }
.vehicle-thumb { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, #e2e8f0, #f8fafc); display: grid; place-items: center; font-size: 24px; }
.vehicle-item h4 { color: var(--secondary); margin-bottom: 2px; }
.vehicle-item small { color: var(--muted); font-weight: 600; }
.status { padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.available { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.repair { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.sold { background: rgba(37, 99, 235, 0.12); color: var(--primary); }
.solution-copy h2, .about h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; margin-bottom: 18px; letter-spacing: -0.04em; }
.solution-copy h2 { color: var(--secondary); }
.solution-copy p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.check-list { display: grid; gap: 14px; }
.check-list li { list-style: none; display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 600; }
.check-list li::before { content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; background: rgba(34, 197, 94, 0.14); color: #16a34a; display: grid; place-items: center; font-size: 13px; font-weight: 900; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { transition: 0.25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.about { background: #0f172a; color: var(--white); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.about h2 { color: var(--white); }
.about p { color: #cbd5e1; font-size: 18px; margin-bottom: 28px; }
.about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); }
.about-card h3 { color: var(--white); }
.about-card p { color: #cbd5e1; margin: 0; font-size: 15px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; border: 1px solid var(--border); border-radius: 28px; padding: 30px; background: var(--white); box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04); }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-10px); }
.recommended { position: absolute; top: -14px; left: 26px; background: var(--primary); color: var(--white); padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.price-card h3 { font-size: 22px; color: var(--secondary); margin-bottom: 8px; }
.price-card .desc { color: var(--muted); font-size: 14px; min-height: 44px; margin-bottom: 22px; }
.price { display: flex; align-items: end; gap: 4px; color: var(--secondary); margin-bottom: 6px; }
.price strong { font-size: 42px; letter-spacing: -0.06em; }
.price span { color: var(--muted); font-weight: 700; padding-bottom: 9px; }
.limit { display: inline-block; color: var(--primary); font-weight: 800; margin-bottom: 22px; font-size: 14px; }
.price-card ul { display: grid; gap: 12px; margin: 24px 0; }
.price-card li { list-style: none; color: var(--text); font-size: 14px; font-weight: 600; display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: #16a34a; font-weight: 900; }
.price-card .btn { width: 100%; }

.resources { background: var(--light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-tag { display: inline-flex; margin-bottom: 16px; color: var(--primary); font-weight: 800; font-size: 13px; }

.cta-box { overflow: hidden; position: relative; padding: 64px; border-radius: 34px; background: linear-gradient(135deg, #2563eb, #0f172a); color: var(--white); text-align: center; }
.cta-box::before { content: ""; position: absolute; inset: auto -80px -160px auto; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.cta-box h2 { position: relative; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; margin-bottom: 18px; letter-spacing: -0.05em; }
.cta-box p { position: relative; color: #dbeafe; font-size: 18px; max-width: 680px; margin: 0 auto 30px; }
.cta-box .btn { position: relative; background: var(--white); color: var(--primary); }

footer { padding: 50px 0; border-top: 1px solid var(--border); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 22px; font-weight: 700; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 1080px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-links, .nav-actions { display: none; }
    .menu-btn { display: inline-flex; }
    .hero-grid, .solution-grid, .about-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 60px; }
    .floating-alert { right: 16px; bottom: -24px; }
    .features-grid, .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .section { padding: 72px 0; }
    .hero-stats, .problem-grid, .pricing-grid, .about-cards { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .cta-box { padding: 44px 24px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .vehicle-item { grid-template-columns: 48px 1fr; }
    .vehicle-item .status { grid-column: 2; width: fit-content; }
}


/* FIX v30: menú mobile público MotorCloud */
.menu-btn {
    position: relative;
    z-index: 1002;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    pointer-events: auto;
    user-select: none;
}
.mobile-menu {
    z-index: 1001 !important;
    pointer-events: auto;
}
.mobile-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}
body.mobile-menu-open {
    overflow: hidden;
}
@media (max-width: 900px) {
    .navbar { z-index: 1003; }
    .menu-btn { display: inline-flex !important; }
    .mobile-menu {
        top: 82px;
        max-height: calc(100vh - 82px);
        overflow-y: auto;
    }
}
