/* NucleoParking Demo — client site styles */
:root {
    --brand:       #031640;
    --brand-mid:   #062060;
    --blue:        #2563eb;
    --white:       #ffffff;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-500:    #64748b;
    --text:        #0f172a;
    --radius:      12px;
}

/* Widget color override */
.npw { --npw-primary: var(--brand); --npw-primary-hover: var(--brand-mid); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text);
    background: #f8fafc;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── HEADER ── */
.site-header {
    background: var(--brand);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem; padding-bottom: 1rem;
}
.logo {
    color: var(--white); font-size: 1.375rem; font-weight: 800;
    letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.5rem;
}
.logo-sub { font-size: 0.7rem; color: rgba(255,255,255,.45); font-weight: 400; display: block; }
.header-nav { display: flex; gap: 1.75rem; }
.header-nav a { color: rgba(255,255,255,.7); font-size: 0.9rem; font-weight: 500; transition: color .15s; }
.header-nav a:hover { color: var(--white); }
.header-phone { color: var(--white); font-size: 0.875rem; font-weight: 600; display: flex; align-items: center; gap: 0.375rem; }
@media (max-width: 680px) { .header-nav, .header-phone { display: none; } }

/* ── HERO ── */
.hero {
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-mid) 55%, #0d1e50 100%);
    padding: 5rem 0 3.5rem;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(37,99,235,.2) 0%, transparent 60%);
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center; position: relative;
}
.hero-demo-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(37,99,235,.2); color: #93c5fd;
    border: 1px solid rgba(37,99,235,.3);
    padding: 0.35rem 1rem; border-radius: 50px;
    font-size: 0.775rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.07em; margin-bottom: 1.25rem;
}
.hero-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.hero-title em { color: #60a5fa; font-style: normal; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 2rem; }
.hero-features { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-feature { display: flex; align-items: center; gap: 0.625rem; color: rgba(255,255,255,.8); font-size: 0.9rem; }
.hero-feature::before { content: '✓'; color: #4ade80; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }
.hero-widget-col { display: flex; flex-direction: column; }
.hero-widget-label { color: rgba(255,255,255,.45); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.875rem; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; } .hero { padding: 3rem 0 2rem; } }

/* ── SECCIÓN GENÉRICA ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); }
.section-title { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: 0.75rem; }
.section-sub { text-align: center; color: var(--gray-500); font-size: 1rem; max-width: 560px; margin: 0 auto 3rem; line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step-card { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 800; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step-title { font-weight: 700; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.5; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.svc-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: all .2s; }
.svc-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(37,99,235,.1); }
.svc-icon { font-size: 1.75rem; flex-shrink: 0; }
.svc-name { font-weight: 700; margin-bottom: 0.25rem; }
.svc-desc { font-size: 0.8375rem; color: var(--gray-500); line-height: 1.45; }

/* ── CTA STRIP ── */
.cta-strip { background: linear-gradient(135deg, var(--brand) 0%, var(--blue) 100%); color: var(--white); text-align: center; padding: 4rem 1.5rem; }
.cta-strip h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 0.75rem; }
.cta-strip p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); color: var(--brand); padding: 0.9375rem 2rem; border-radius: 10px; font-size: 1rem; font-weight: 700; transition: all .15s; }
.btn-primary:hover { background: var(--gray-100); transform: translateY(-1px); }

/* ── FOOTER ── */
.site-footer { background: #020e2a; color: rgba(255,255,255,.35); padding: 2.5rem 1.5rem; text-align: center; font-size: 0.8375rem; line-height: 1.8; }
.site-footer strong { color: rgba(255,255,255,.6); }
