:root {
    --brand: #696cff;
    --brand-dark: #5f61e6;
    --brand-soft: rgba(105, 108, 255, 0.12);
    --text: #233446;
    --muted: #697a8d;
    --bg: #f5f5f9;
    --white: #fff;
    --radius: 16px;
    --shadow: 0 12px 40px rgba(35, 52, 70, 0.08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(105, 108, 255, 0.08);
}

.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), #8592ff);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--brand);
    color: white;
    box-shadow: 0 8px 24px rgba(105, 108, 255, 0.35);
}

.btn-primary:hover { color: white; background: var(--brand-dark); }

.btn-outline {
    background: white;
    color: var(--brand);
    border: 1px solid rgba(105, 108, 255, 0.25);
}

.hero {
    padding: 4.5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero p.lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin: 0 0 1.75rem;
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.hero-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-card li {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eceef5;
}

.hero-card li:last-child { border-bottom: none; }

.check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.section {
    padding: 3.5rem 0;
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.section-title h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-title p {
    margin: 0;
    color: var(--muted);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.step {
    background: white;
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid #eceef5;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-band {
    background: linear-gradient(135deg, #233446, #3a4f66);
    color: white;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0.75rem auto 1.5rem;
}

.contact-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-meta {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    color: white;
    background: #1ebe57;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #eceef5;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-card.featured {
    border-color: rgba(105, 108, 255, 0.35);
    box-shadow: 0 16px 48px rgba(105, 108, 255, 0.18);
    transform: translateY(-4px);
}

.pricing-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand);
}

.pricing-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.pricing-price {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-card ul {
    margin: 0 0 0.5rem;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.pricing-card li { margin-bottom: 0.35rem; }

.site-footer {
    padding: 2rem 0 3rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Portal acceso */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    padding: 2rem 0 3rem;
}

.portal-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid transparent;
    transition: border-color 0.15s, transform 0.15s;
}

.portal-card:hover {
    border-color: rgba(105, 108, 255, 0.25);
    transform: translateY(-2px);
}

.portal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.portal-card h3 { margin: 0; }
.portal-card p { margin: 0; color: var(--muted); font-size: 0.95rem; flex-grow: 1; }

.note-box {
    background: #fff8e6;
    border: 1px solid #ffe08a;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #7a6520;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .nav-links .hide-mobile { display: none; }
}
