/* ==========================================================================
   Cantik CRM — Component styles (sections, blog, post, demo)
   ========================================================================== */

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 1rem + 4vw, 5rem); padding-bottom: var(--section-y); overflow: clip; }
.hero::before {
  content: ""; position: absolute; top: -22%; right: -12%; width: 62vw; height: 62vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(196,45,116,0.28), rgba(251,248,246,0) 68%); z-index: 0; pointer-events: none;
  animation: blob 16s var(--ease) infinite;
}
.hero::after {
  content: ""; position: absolute; bottom: -18%; left: -10%; width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(251,184,154,0.34), rgba(251,248,246,0) 66%); z-index: 0; pointer-events: none;
  animation: blob 20s var(--ease) infinite reverse;
}
@keyframes blob { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-5%, 4%) scale(1.12); } }
@media (prefers-reduced-motion: reduce){ .hero::before, .hero::after { animation: none; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.hero h1 { font-size: var(--fs-700); font-weight: 800; line-height: var(--lh-head-lg, 1); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.hero .lead { margin-top: var(--sp-5); max-width: 30ch; }
.hero-cta { margin-top: var(--sp-6); }
.hero-proof { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-50); font-family: var(--font-body); color: var(--ink-soft); letter-spacing: 0.02em; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-proof svg { width: 1.1em; height: 1.1em; color: var(--burgundy); }

.hero-media { position: relative; }
.hero-media .imgframe { aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hero-media .imgframe img:hover { transform: scale(1.04); }
.float-card {
  position: absolute; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.7rem; max-width: 250px;
}
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blush); color: var(--burgundy); display: grid; place-items: center; flex: none; }
.float-card .fc-ic svg { width: 20px; height: 20px; }
.float-card strong { font-size: var(--fs-75); display: block; line-height: 1.25; white-space: nowrap; }
.float-card small { font-size: var(--fs-50); color: var(--ink-soft); font-family: var(--font-body); white-space: nowrap; }
.float-1 { top: 8%; left: -7%; animation: floaty 6s var(--ease) infinite; }
.float-2 { bottom: 10%; right: -6%; animation: floaty 6s var(--ease) infinite 1.5s; }
@media (max-width: 1100px){ .float-1{left:-2%} .float-2{right:-2%} }
@media (max-width: 520px){ .float-card{ max-width:190px; padding:0.6rem 0.7rem } .float-1{left:2%;top:4%} .float-2{right:2%;bottom:4%} }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-9px) } }
@media (prefers-reduced-motion: reduce){ .float-1,.float-2{ animation: none } }

/* ---- Trust bar ---------------------------------------------------------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trustbar-inner { display: flex; align-items: center; gap: clamp(1rem,0.5rem + 2vw,2.5rem); flex-wrap: wrap; padding-block: var(--sp-5); }
.trustbar-lead { font-family: var(--font-body); font-size: var(--fs-200); font-style: italic; color: var(--ink); flex: 1 1 240px; min-width: 220px; }
.trust-items { display: flex; flex-wrap: wrap; gap: clamp(1rem,0.5rem + 2vw,2.2rem); }
.trust-item { display: flex; align-items: center; gap: 0.6em; font-size: var(--fs-75); font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--burgundy); flex: none; }

/* ---- Problem ------------------------------------------------------------ */
.problem-card { position: relative; padding-left: 0; }
.problem-card .pnum { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.75rem, 1.8rem + 3.5vw, 4.25rem); line-height: 0.9; letter-spacing: -0.04em; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.problem-card h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-300); letter-spacing: -0.01em; margin-top: var(--sp-4); }
.problem-card p { margin-top: var(--sp-3); color: var(--ink-soft); font-size: var(--fs-75); }

/* ---- Section labels for grid ------------------------------------------- */
.feature-card { height: 100%; }

/* ---- Vistas / mock app tabs --------------------------------------------- */
.tabs-bar { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.4rem; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--r-pill); }
.tab-btn { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--fs-75); font-weight: 600; color: var(--ink-soft); padding: 0.6em 1.1em; border-radius: var(--r-pill); transition: all 0.25s var(--ease); }
.tab-btn svg { width: 1.1em; height: 1.1em; }
.tab-btn.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panels { margin-top: var(--sp-6); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.appshot { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.appshot-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); background: var(--cream); }
.appshot-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--blush-2); }
.appshot-bar .url { margin-left: 0.6rem; font-family: var(--font-body); font-size: var(--fs-50); color: var(--ink-faint); }
.appshot-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
@media (max-width: 720px){ .appshot-body { grid-template-columns: 1fr; } .appshot-side { display: none; } }
.appshot-side { border-right: 1px solid var(--line); padding: 1.2rem; background: var(--cream); }
.appshot-side .side-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem; }
.appshot-side .side-logo .m { width: 22px; height: 22px; color: var(--burgundy); }
.appshot-side .side-logo b { font-family: var(--font-body); font-size: 1.1rem; }
.side-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.7rem; border-radius: 9px; font-size: var(--fs-75); color: var(--ink-soft); margin-bottom: 0.2rem; }
.side-item svg { width: 17px; height: 17px; }
.side-item.on { background: var(--blush); color: var(--burgundy); font-weight: 600; }
.appshot-main { padding: clamp(1rem,0.5rem + 1.5vw,1.6rem); overflow: hidden; }
.appshot-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap; }
.appshot-h h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-200); }

/* agenda mock */
.cal { display: grid; grid-template-columns: 52px repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cal > div { background: #fff; padding: 0.5rem 0.5rem; font-size: var(--fs-50); }
.cal .ch { background: var(--cream); font-weight: 600; text-align: center; color: var(--ink-soft); font-family: var(--font-body); letter-spacing: 0.03em; }
.cal .ct { color: var(--ink-faint); font-family: var(--font-body); text-align: right; }
.cal-ev { border-radius: 7px; padding: 0.4rem 0.55rem !important; color: #fff; font-weight: 600; line-height: 1.25; }
.cal-ev small { display: block; font-weight: 400; opacity: 0.85; font-family: var(--font-body); font-size: 0.78em; }
.ev-a { background: var(--burgundy); } .ev-b { background: #C65C8A; } .ev-c { background: var(--plum); } .ev-d { background: #C98A3A; }

/* ficha mock */
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px){ .ficha { grid-template-columns: 1fr; } }
.ficha .frow { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-75); }
.ficha .frow span:first-child { color: var(--ink-faint); }
.ficha .frow span:last-child { font-weight: 600; }
.ficha-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.ficha-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.ficha-photos .ph { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg,var(--blush),var(--blush-2)); display: grid; place-items: center; font-family: var(--font-body); font-size: 0.7rem; color: var(--burgundy-ink); position: relative; }

/* caja / informes shared stat */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1.2rem; }
@media (max-width:560px){ .stat-row{ grid-template-columns: 1fr 1fr; } }
.stat { border: 1px solid var(--line); border-radius: 11px; padding: 0.9rem; }
.stat .sl { font-size: var(--fs-50); color: var(--ink-faint); font-family: var(--font-body); }
.stat .sv { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; font-size: var(--fs-400); margin-top: 0.2rem; }
.stat .sd { font-size: var(--fs-50); color: var(--burgundy); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 0.5rem; height: 130px; padding: 0.5rem; border: 1px solid var(--line); border-radius: 11px; }
.bars .bar { flex: 1; background: linear-gradient(var(--burgundy), #E084AC); border-radius: 6px 6px 3px 3px; position: relative; }
.bars .bar::after { content: attr(data-m); position: absolute; bottom: -1.3rem; left: 0; right: 0; text-align: center; font-size: 0.62rem; color: var(--ink-faint); font-family: var(--font-body); }
.tickets { display: flex; flex-direction: column; gap: 0.4rem; }
.ticket { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 9px; font-size: var(--fs-75); }
.ticket .tname { font-weight: 600; } .ticket .tval { font-family: var(--font-body); }

/* ---- Highlighted features (alt rows) ------------------------------------ */
.hl-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem + 4vw,5rem); align-items: center; }
.hl-row + .hl-row { margin-top: clamp(3rem,2rem + 4vw,6rem); }
.hl-row.rev .hl-text { order: 2; }
@media (max-width: 860px){ .hl-row { grid-template-columns: 1fr; gap: 2rem; } .hl-row.rev .hl-text { order: 0; } }
.hl-text h3 { font-size: var(--fs-400); margin-top: var(--sp-4); }
.hl-text p { margin-top: var(--sp-4); color: var(--ink-soft); font-size: var(--fs-100); }
.hl-list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: 0.7rem; }
.hl-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-75); }
.hl-list svg { width: 20px; height: 20px; color: var(--burgundy); flex: none; margin-top: 0.15em; }
.hl-media .imgframe { aspect-ratio: 5/4; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* ---- Extras / addons ---------------------------------------------------- */
.extra-card { display: flex; flex-direction: column; height: 100%; }
.extra-card .feature-icon { background: var(--plum); color: var(--cream); }
.extra-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.extra-card h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-300); letter-spacing: -0.01em; margin-top: var(--sp-4); }
.extra-card p { margin-top: var(--sp-3); color: var(--ink-soft); font-size: var(--fs-75); flex: 1; }
.extra-price { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; }
.extra-price .pr { font-family: var(--font-body); font-size: var(--fs-300); }
.extra-price .pr small { font-family: var(--font-body); font-size: 0.55em; color: var(--ink-faint); }

/* ---- Roadmap ------------------------------------------------------------ */
.road-card { display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.road-card .ric { width: 42px; height: 42px; border-radius: 11px; background: var(--blush); color: var(--burgundy); display: grid; place-items: center; }
.road-card .ric svg { width: 22px; height: 22px; }
.road-card h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-200); letter-spacing: -0.01em; }
.road-card p { color: var(--ink-soft); font-size: var(--fs-75); flex: 1; }

/* ---- Pricing ------------------------------------------------------------ */
.price-switch-note { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-75); color: var(--ink-soft); margin-bottom: var(--sp-6); }
.price-group-label { display: flex; align-items: center; gap: 0.8rem; margin: var(--sp-7) 0 var(--sp-5); }
.price-group-label .pg-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--white); border: 1px solid var(--line); color: var(--burgundy); display: grid; place-items: center; }
.price-group-label h3 { font-size: var(--fs-300); font-family: var(--font-body); }
.price-group-label p { font-size: var(--fs-75); color: var(--ink-soft); }
.plan { display: flex; flex-direction: column; height: 100%; position: relative; }
.plan.featured { background: var(--plum); color: var(--cream); border-color: var(--plum); box-shadow: var(--shadow-lg); }
.plan.featured .muted, .plan.featured .plan-desc { color: rgba(251,248,246,0.72); }
.plan.featured .plan-feats li { color: rgba(251,248,246,0.88); }
.plan.featured .plan-feats svg { color: var(--blush-2); }
.plan-badge { position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%); background: var(--burgundy); color: #fff; font-family: var(--font-body); font-size: var(--fs-50); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35em 0.9em; border-radius: var(--r-pill); white-space: nowrap; }
.plan-name { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-200); }
.plan-desc { font-size: var(--fs-75); color: var(--ink-soft); margin-top: 0.3rem; min-height: 2.6em; }
.plan-price { margin: var(--sp-4) 0; display: flex; align-items: baseline; gap: 0.3rem; }
.plan-price .amt { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.03em; font-size: var(--fs-500); line-height: 1; }
.plan-price .per { font-family: var(--font-body); font-size: var(--fs-50); color: var(--ink-faint); }
.plan.featured .plan-price .per { color: rgba(251,248,246,0.6); }
.plan-feats { display: flex; flex-direction: column; gap: 0.55rem; margin: var(--sp-4) 0 var(--sp-6); flex: 1; }
.plan-feats li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: var(--fs-75); }
.plan-feats svg { width: 18px; height: 18px; color: var(--burgundy); flex: none; margin-top: 0.15em; }
.guarantee { margin-top: var(--sp-6); display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-75); color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.6rem 1.1rem; }
.guarantee svg { width: 20px; height: 20px; color: var(--burgundy); }

/* ---- Onboarding steps --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); counter-reset: step; }
@media (max-width: 860px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .snum { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.03em; font-size: var(--fs-500); color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; line-height: 1; }
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-200); margin-top: var(--sp-3); }
.step p { margin-top: var(--sp-2); color: var(--ink-soft); font-size: var(--fs-75); }

/* ---- Comparison table --------------------------------------------------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare th, .compare td { padding: 1rem clamp(0.6rem,0.3rem + 0.8vw,1.3rem); text-align: left; font-size: var(--fs-75); border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--cream); font-family: var(--font-body); font-weight: 700; font-size: var(--fs-75); }
.compare thead th.cantik { background: var(--burgundy); color: #fff; }
.compare tbody td:first-child { font-weight: 500; color: var(--ink); }
.compare td.cantik { background: rgba(251,234,241,0.5); font-weight: 600; }
.compare td.center { text-align: center; }
.compare .yes { color: var(--burgundy); } .compare .no { color: var(--ink-faint); }
.compare .yes svg, .compare .no svg { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }
.compare .colh { font-family: var(--font-body); font-size: var(--fs-50); letter-spacing: 0.04em; }

/* ---- Sobre nosotros ----------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem + 4vw,5rem); align-items: center; }
@media (max-width: 860px){ .about-grid { grid-template-columns: 1fr; } }
.about-stats { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-6); }
.about-stat .n { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.03em; font-size: var(--fs-500); color: var(--burgundy); line-height: 1; }
.about-stat .l { font-size: var(--fs-50); color: var(--ink-soft); font-family: var(--font-body); letter-spacing: 0.04em; margin-top: 0.3rem; }
.about-media .imgframe { aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.4rem 0; font-family: var(--font-body); font-size: var(--fs-300); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.faq-q .faq-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all 0.3s var(--ease); }
.faq-q .faq-ic svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-ic { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.faq-item.open .faq-ic svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding-bottom: 1.4rem; color: var(--ink-soft); font-size: var(--fs-100); max-width: 64ch; }

/* ---- Final CTA ---------------------------------------------------------- */
.final-cta { position: relative; background: var(--plum); color: var(--cream); border-radius: var(--r-xl); padding: clamp(2.5rem,1.5rem + 5vw,5.5rem) clamp(1.5rem,1rem + 3vw,4rem); overflow: hidden; text-align: center; }
.final-cta::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 0%, rgba(169,22,94,0.5), transparent 55%), radial-gradient(circle at 0% 100%, rgba(169,22,94,0.3), transparent 50%); }
.final-cta > * { position: relative; }
.final-cta h2 { color: var(--cream); font-size: var(--fs-600); }
.final-cta p { color: rgba(251,248,246,0.8); font-size: var(--fs-200); max-width: 50ch; margin: var(--sp-5) auto 0; }
.final-cta .wrap-btns { justify-content: center; margin-top: var(--sp-7); }
.final-note { margin-top: var(--sp-5); font-family: var(--font-body); font-size: var(--fs-50); letter-spacing: 0.05em; color: rgba(251,248,246,0.6); }

/* ---- Blog card (shared) ------------------------------------------------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 100%; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blush-line); }
.post-card .imgframe { aspect-ratio: 16/10; border-radius: 0; }
.post-card:hover .imgframe img { transform: scale(1.05); }
.post-card-body { padding: clamp(1.1rem,0.8rem + 1vw,1.5rem); display: flex; flex-direction: column; flex: 1; }
.post-card .post-cat { align-self: flex-start; }
.post-card h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-300); line-height: 1.16; margin-top: var(--sp-3); letter-spacing: -0.02em; }
.post-card .pc-ex { margin-top: var(--sp-3); color: var(--ink-soft); font-size: var(--fs-75); flex: 1; }
.post-meta { display: flex; align-items: center; gap: 0.6rem; margin-top: var(--sp-5); font-size: var(--fs-50); color: var(--ink-faint); font-family: var(--font-body); letter-spacing: 0.02em; }
.post-meta .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--blush); color: var(--burgundy); display: grid; place-items: center; font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; flex: none; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

/* ---- Blog filter -------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-7); }
.filter-chip { font-size: var(--fs-75); font-weight: 500; padding: 0.55em 1.1em; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--ink-soft); background: transparent; transition: all 0.2s var(--ease); }
.filter-chip:hover { border-color: var(--burgundy); color: var(--burgundy); }
.filter-chip.active { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.filter-chip .cnt { font-family: var(--font-body); font-size: 0.78em; opacity: 0.7; margin-left: 0.3em; }
.blog-empty { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); }

/* ---- Page hero (blog/post/demo) ----------------------------------------- */
.page-hero { padding-top: clamp(2.75rem, 1.5rem + 4vw, 5rem); padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.post-hero-img { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
/* Footer logo legibility on dark plum */
.site-footer .logo-word { color: var(--cream); }
.site-footer .logo-mark { color: var(--blush-2); }
.site-footer .btn-on-plum { color: var(--plum); }
.site-footer .logo-crm { color: rgba(251,248,246,0.6); }
.page-hero h1 { font-size: var(--fs-600); max-width: 16ch; }
.page-hero p { margin-top: var(--sp-4); font-size: var(--fs-200); color: var(--ink-soft); max-width: 52ch; }
.crumb { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: var(--fs-50); letter-spacing: 0.05em; color: var(--ink-faint); margin-bottom: var(--sp-5); }
.crumb a { color: var(--burgundy); }
.crumb svg { width: 14px; height: 14px; }

/* ---- Single post article ------------------------------------------------ */
.post-hero-img .imgframe { aspect-ratio: 21/9; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
@media (max-width: 700px){ .post-hero-img .imgframe { aspect-ratio: 16/11; } }
.article { max-width: var(--maxw-text); margin-inline: auto; }
.article > * { margin-top: 1.4em; }
.article > *:first-child { margin-top: 0; }
.article p { font-size: var(--fs-100); line-height: 1.75; color: #3A2028; }
.article p.lead { font-size: var(--fs-200); line-height: 1.55; color: var(--ink); font-family: var(--font-body); }
.article h2 { font-size: var(--fs-400); margin-top: 2em; }
.article h3 { font-size: var(--fs-300); margin-top: 1.6em; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
.article ul, .article ol { display: flex; flex-direction: column; gap: 0.7em; padding-left: 0; }
.article li { position: relative; padding-left: 1.8em; font-size: var(--fs-100); line-height: 1.7; color: #3A2028; }
.article ul li::before { content: ""; position: absolute; left: 0.2em; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--burgundy); }
.article ol { counter-reset: li; }
.article ol li { counter-increment: li; }
.article ol li::before { content: counter(li); position: absolute; left: 0; top: 0.1em; font-family: var(--font-body); font-size: 0.85em; color: var(--burgundy); font-weight: 600; }
.article strong { font-weight: 700; color: var(--ink); }
.article em { font-style: italic; }
.article blockquote { margin: 1.8em 0; padding: 1.4rem 0 1.4rem 1.8rem; border-left: 3px solid var(--burgundy); font-family: var(--font-body); font-style: italic; font-size: var(--fs-300); line-height: 1.4; color: var(--ink); }
.article-figure { margin: 2em 0; }
.article-figure .imgframe { aspect-ratio: 16/9; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.article-figure figcaption { margin-top: 0.7rem; font-size: var(--fs-50); color: var(--ink-faint); font-family: var(--font-body); text-align: center; }

.post-cta-box { max-width: 100%; margin: 2.5em auto; background: var(--plum); color: var(--cream); border-radius: var(--r-lg); padding: clamp(2rem, 1.2rem + 3.5vw, 3.5rem); }
.post-cta-box h3 { color: var(--cream); font-size: var(--fs-400); }
.post-cta-box p { color: rgba(251,248,246,0.8); margin-top: 0.7rem; font-size: var(--fs-100); }
.post-cta-box .btn { margin-top: var(--sp-5); }

.post-byline { display: flex; align-items: center; gap: 1rem; max-width: var(--maxw-text); margin: 0 auto; }
.post-byline .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--blush); color: var(--burgundy); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; flex: none; }
.post-byline .bl-name { font-weight: 700; }
.post-byline .bl-meta { font-size: var(--fs-50); color: var(--ink-faint); font-family: var(--font-body); }
.share-row { display: flex; align-items: center; gap: 0.6rem; max-width: var(--maxw-text); margin: 2em auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share-row .sl { font-family: var(--font-body); font-size: var(--fs-50); color: var(--ink-faint); letter-spacing: 0.05em; margin-right: auto; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: all 0.25s var(--ease); }
.share-btn:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; transform: translateY(-2px); }
.share-btn svg { width: 19px; height: 19px; }

/* ---- Demo form ---------------------------------------------------------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,1rem + 4vw,4.5rem); align-items: start; }
@media (max-width: 880px){ .demo-grid { grid-template-columns: 1fr; } }
.demo-aside h1 { font-size: var(--fs-600); }
.demo-aside .lead { margin-top: var(--sp-5); }
.demo-points { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
.demo-point { display: flex; gap: 0.9rem; align-items: flex-start; }
.demo-point .dp-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blush); color: var(--burgundy); display: grid; place-items: center; flex: none; }
.demo-point .dp-ic svg { width: 21px; height: 21px; }
.demo-point strong { display: block; font-size: var(--fs-100); }
.demo-point span { font-size: var(--fs-75); color: var(--ink-soft); }
.demo-supports { margin-top: var(--sp-6); padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-family: var(--font-body); font-size: var(--fs-50); color: var(--ink-soft); letter-spacing: 0.02em; line-height: 1.7; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem,1rem + 2vw,2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-size: var(--fs-75); font-weight: 600; margin-bottom: 0.5rem; }
.field label .req { color: var(--burgundy); }
.field input, .field select, .field textarea { width: 100%; padding: 0.85em 1em; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--cream); font-size: var(--fs-75); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); background: #fff; box-shadow: 0 0 0 4px rgba(169,22,94,0.1); }
.field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 480px){ .field.row2 { grid-template-columns: 1fr; } }
.field.error input, .field.error select { border-color: #C0392B; background: #FDF3F2; }
.field .err-msg { display: none; color: #C0392B; font-size: var(--fs-50); margin-top: 0.4rem; font-weight: 500; }
.field.error .err-msg { display: block; }
.chk-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chk { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55em 1em; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); font-size: var(--fs-75); cursor: pointer; transition: all 0.2s; user-select: none; }
.chk input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.chk:hover { border-color: var(--burgundy); color: var(--burgundy); }
.chk:has(input:checked) { border-color: var(--burgundy); background: var(--blush); color: var(--burgundy); font-weight: 600; }
.chk:has(input:focus-visible) { outline: 2.5px solid var(--burgundy); outline-offset: 2px; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--fs-75); color: var(--ink-soft); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 0.2em; accent-color: var(--burgundy); flex: none; }
.consent a { color: var(--burgundy); text-decoration: underline; }
.consent-note { margin-top: var(--sp-4); font-size: var(--fs-50); line-height: 1.5; color: var(--ink-faint); text-align: center; }
.consent-note a { color: var(--burgundy); text-decoration: underline; }
.form-success { text-align: center; padding: clamp(1.5rem,1rem + 3vw,3rem) 1rem; }
.form-success .fs-ic { width: 72px; height: 72px; margin: 0 auto var(--sp-5); border-radius: 50%; background: var(--burgundy); color: #fff; display: grid; place-items: center; animation: pop 0.5s var(--ease-out); }
.form-success .fs-ic svg { width: 38px; height: 38px; }
.form-success h2 { font-size: var(--fs-400); }
.form-success p { margin-top: var(--sp-4); color: var(--ink-soft); max-width: 40ch; margin-inline: auto; }
@keyframes pop { 0%{ transform: scale(0.5); opacity: 0; } 60%{ transform: scale(1.1); } 100%{ transform: scale(1); opacity: 1; } }

/* ---- Toast -------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(20px); background: var(--plum); color: var(--cream); padding: 0.85rem 1.4rem; border-radius: var(--r-pill); font-size: var(--fs-75); font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease-out); z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Mini CTA strip ----------------------------------------------------- */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; background: var(--blush); border: 1px solid var(--blush-line); border-radius: var(--r-lg); padding: clamp(1.4rem,1rem + 2vw,2.2rem) clamp(1.5rem,1rem + 2vw,2.6rem); }
.cta-strip h3 { font-size: var(--fs-400); }
.cta-strip p { color: var(--ink-soft); font-size: var(--fs-75); margin-top: 0.3rem; }

/* ---- Display family for non-heading display elements -------------------- */
.logo-word, .plan-name, .plan-price .amt, .step .snum, .stat .sv,
.about-stat .n, .trustbar-lead, .appshot-side .side-logo b {
  font-family: var(--font-head);
}
