/*
   landing.css — Chavaias 2026-10
   Landings por sector (bufetes, dental, cafeterías). Se carga después de site.css y marca.css.
   Viste las clases propias de esas páginas con el mismo sistema de diseño que el resto de la web.
*/

/* Variables de las landings anteriores, ahora con los valores de la marca */
.landing {
    --text-main: var(--ink);
    --text-muted: var(--ink-2);
    --border: var(--line);
    --card-bg: #fff;
    --bg-color: var(--bg-soft);
    --navy: var(--brand);
    --orange: var(--mint);
    --accent-hover: var(--brand);
}
.landing { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
.landing section { padding: 84px 0; }
.landing .container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.landing h1, .landing h2, .landing h3, .landing h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.landing a { text-decoration: none; }

/* ---------- Cabecera de la landing ---------- */
.landing .hero { padding: 96px 0 64px; text-align: center; }
.landing .tag {
    display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--brand); background: var(--brand-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.landing .hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 24px; }
.landing .hero p { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 720px; margin: 0 auto 18px; line-height: 1.5; }
.landing .hero p.hero-sub { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink); font-weight: 500; }
.landing .hero > div { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

.landing .btn-primary, .landing .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 1.02rem; border: 2px solid transparent;
    transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s;
}
.landing .btn-primary { background: var(--blue); color: #fff; margin: 0; }
.landing .btn-primary:hover { background: var(--brand); }
.landing .btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.landing .btn-secondary:hover { background: var(--ink); color: #fff; }
.landing .btn-primary:active, .landing .btn-secondary:active { transform: scale(0.97); }

.landing .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.landing .hero .features-grid { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); text-align: left; }
.landing .feature-item { font-size: 0.98rem; color: var(--ink-2); }
.landing .feature-item strong { display: block; margin-bottom: 4px; color: var(--ink); }

/* ---------- Secciones ---------- */
.landing .section-header { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.landing .section-header h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 16px; }
.landing .section-header p { font-size: 1.15rem; color: var(--muted); margin: 0 0 14px; }

.landing .problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.landing .problem-card, .landing .step, .landing .card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: none;
}
.landing .card { border-top: 1px solid var(--line); }
.landing .features-grid .card h3, .landing .problem-card h3 { font-size: 1.3rem; margin: 0 0 12px; }
.landing .problem-card p, .landing .card p { margin: 0; color: var(--ink-2); }
.landing .problem-number, .landing .step-number { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--accent); line-height: 1; margin-bottom: 20px; }

.landing .steps { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: none; }
.landing .step { display: flex; gap: 28px; margin: 0; align-items: flex-start; }
.landing .step-number { margin: 4px 0 0; }
.landing .step-content h3 { font-size: 1.35rem; margin: 0 0 10px; }
.landing .step-content p { margin: 0 0 18px; color: var(--ink-2); }
.landing .step-tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; }

/* Mosaico: la primera tarjeta de «cómo funciona» destaca */
.landing .steps .step:first-child { background: var(--brand); border-color: transparent; }
.landing .steps .step:first-child h3, .landing .steps .step:first-child .step-number { color: #fff; }
.landing .steps .step:first-child p { color: rgba(255, 255, 255, 0.84); }
.landing .steps .step:first-child .step-tag { background: rgba(127, 224, 196, 0.18); color: var(--mint); }

/* ---------- Preguntas frecuentes ---------- */
.landing .faq { display: block; max-width: 820px; margin: 0 auto; padding: 22px 0; border-bottom: 1px solid var(--line); }
.landing .faq h4 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 10px; color: var(--ink); }
.landing .faq p { margin: 0; color: var(--ink-2); }

/* ---------- Bloque final en verde ---------- */
.landing .cta-section { background: var(--brand); color: #fff; text-align: center; padding: 96px 24px; margin: 0; border-radius: 0; }
.landing .cta-section h2 { font-size: clamp(2rem, 4.8vw, 3.2rem); line-height: 1.06; color: #fff; margin: 0 auto 20px; max-width: 820px; }
.landing .cta-section p { color: rgba(255, 255, 255, 0.82); font-size: 1.15rem; max-width: 640px; margin: 0 auto 30px; }
.landing .cta-section a { color: var(--mint); font-weight: 600; }
.landing .cta-section a:hover { text-decoration: underline; }
.landing .cta-section .btn-primary { background: var(--mint); color: var(--brand-ink); }

/* ---------- NÉCTAR OS ---------- */
.landing .nera-box { background: var(--brand); color: #fff; padding: 56px 40px; border-radius: var(--radius); text-align: center; position: relative; overflow: hidden; }
.landing .nera-box h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--mint); margin: 0 0 16px; }
.landing .nera-box p { font-size: 1.12rem; color: rgba(255, 255, 255, 0.84); max-width: 640px; margin: 0 auto 14px; }
.landing .chip-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.landing .chip { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; }
.landing .demo-warning { background: var(--amber-soft); border: 1px solid #f1d28f; color: var(--amber); padding: 20px; border-radius: 14px; margin-top: 28px; text-align: left; }

@media (max-width: 768px) {
    .landing section { padding: 60px 0; }
    .landing .hero { padding: 64px 0 40px; }
    .landing .btn-primary, .landing .btn-secondary { width: 100%; }
    .landing .step { flex-direction: column; gap: 12px; }
    .landing .cta-section { padding: 64px 20px; }
    .landing .nera-box { padding: 36px 22px; }
}
