:root {
  font-size: clamp(14px, .9765625vw, 20px);
  --canvas: #f7f9fc;
  --ink: #0a2540;
  --muted: #435466;
  --accent: #2f6bf6;
  --accent-readable: #1d4ed8;
  --accent-soft: #e6eefe;
  --accent-disabled: #bcd0fb;
  --surface: #fff;
  --border: #e6ebf1;
  --guide: #e8eaf1;
  --demo-ink: #2d3957;
  --placeholder: #899ab5;
  --guide-width: 66.7rem;
  --gutter: 1rem;
  --radius: .5rem;
  --panel-shadow: 0 1.25rem 3.5rem -1rem #171d3a55, 0 .55rem 1.35rem -.8rem #171d3a44;
  --focus: 2px solid var(--accent-readable);
  --ribbon: radial-gradient(ellipse at 94% 68%, #18e0ee 0 24%, transparent 47%), radial-gradient(ellipse at 92% 17%, #7aa8ff 0 15%, transparent 45%), linear-gradient(108deg, #13bfef 4%, #2f6bf6 25% 55%, #4f46e5 85%);
}
/* ---- Per-brand accents (one line swaps a whole site) ---- */
:root[data-brand="syncro"] { --accent: #0891b2; --accent-readable: #0e7490; --accent-soft: #d6eff5; --accent-disabled: #a3dae5;
  --ribbon: radial-gradient(ellipse at 94% 68%, #67e8f9 0 24%, transparent 47%), radial-gradient(ellipse at 92% 17%, #38bdf8 0 15%, transparent 45%), linear-gradient(108deg, #22d3ee 4%, #0891b2 25% 55%, #0e7490 85%); }
:root[data-brand="paula"] { --accent: #7c3aed; --accent-readable: #6d28d9; --accent-soft: #ede6fe; --accent-disabled: #cdbdf7;
  --ribbon: radial-gradient(ellipse at 94% 68%, #22d3ee 0 20%, transparent 47%), radial-gradient(ellipse at 92% 17%, #f0abfc 0 15%, transparent 45%), linear-gradient(108deg, #a855f7 4%, #7c3aed 25% 55%, #6d28d9 85%); }
:root[data-brand="crm2go"] { --accent: #0ea5e9; --accent-readable: #0369a1; --accent-soft: #dbf0fd; --accent-disabled: #a7ddf7;
  --ribbon: radial-gradient(ellipse at 94% 68%, #7dd3fc 0 22%, transparent 47%), radial-gradient(ellipse at 92% 17%, #38bdf8 0 15%, transparent 45%), linear-gradient(108deg, #38bdf8 4%, #0ea5e9 25% 55%, #0284c7 85%); }
:root[data-brand="secretaria"] { --accent: #f97316; --accent-readable: #c2410c; --accent-soft: #fde8d6; --accent-disabled: #f6c9a3;
  --ribbon: radial-gradient(ellipse at 94% 68%, #fde047 0 22%, transparent 47%), radial-gradient(ellipse at 92% 17%, #fb7185 0 15%, transparent 45%), linear-gradient(108deg, #fb923c 4%, #f97316 25% 55%, #ea580c 85%); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
/* Guard: a skewed ribbon / demo card bleeding past the viewport on mobile makes the
   browser widen the layout viewport, so the max-width breakpoints never fire and
   3-up tile grids stay 3-up. Clipping horizontal overflow at the root keeps the
   viewport equal to the device width so the responsive rules engage. */
html, body { overflow-x: clip; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
a:hover, .link:hover, summary:hover { color: var(--accent-readable); }
:focus-visible { outline: var(--focus); outline-offset: 4px; }
[hidden], .symbols { display: none !important; }
svg { width: .8em; height: .8em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.shell { width: min(var(--guide-width), calc(100% - 2 * var(--gutter))); padding-inline: var(--gutter); margin-inline: auto; }
.stage { min-height: max(100svh, 50.7rem); position: relative; isolation: isolate; overflow: clip; }
.guides { position: absolute; inset: 0; z-index: -1; border-inline: 1px solid #ebeef4; padding: 0; pointer-events: none; }
.guides i { position: absolute; width: 1px; height: 100%; background: repeating-linear-gradient(var(--guide) 0 4px, transparent 4px 9px); }
.guides i:nth-child(1) { left: 25%; }
.guides i:nth-child(2) { left: 50%; }
.guides i:nth-child(3) { left: 75%; }

/* ---- Header ---- */
.global-row { border-bottom: 1px dashed var(--guide); }
.global, .global-links, .header-actions, .product-nav, .product-links { display: flex; align-items: center; }
.global { min-height: 4.5rem; gap: 2rem; position: relative; z-index: 3; font-size: .85rem; font-weight: 500; }
.wordmark { font-size: 1.3rem; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.global-links { gap: 1.65rem; }
.header-actions { gap: 1.15rem; margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: .15rem; padding: .15rem; background: var(--canvas); border-radius: 99px; }
.flag { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; font-size: .9rem; line-height: 1; opacity: .45; filter: saturate(.6); transition: opacity .15s ease, filter .15s ease, box-shadow .15s ease; }
.flag[aria-pressed="true"] { opacity: 1; filter: none; background: var(--surface); box-shadow: 0 1px 2px #171d3a26; }
.flag:hover { opacity: 1; filter: none; }
details { position: relative; }
summary { list-style: none; cursor: pointer; white-space: nowrap; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; display: inline-block; width: .42rem; height: .42rem; margin: 0 .06rem .17rem .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dropdown { position: absolute; top: calc(100% + .8rem); left: -.6rem; padding: .5rem; min-width: 11rem; background: white; box-shadow: var(--panel-shadow); border-radius: var(--radius); }
.dropdown a { display: block; padding: .45rem; white-space: nowrap; }
.mobile-toggle { display: none; }
.product-nav { min-height: 3.6rem; justify-content: space-between; gap: 1rem; }
.product-links { gap: 2rem; white-space: nowrap; }
.product-nav a, .product-nav summary, .link { color: var(--accent); font-size: .9rem; font-weight: 500; }
.product-nav [aria-current] { color: var(--ink); }
.product-nav a:hover, .product-nav summary:hover, .link:hover { color: var(--accent-readable); }
.product-nav .erp-menu { display: flex; align-items: center; }
.product-nav .dropdown a { color: var(--ink); font-size: .9rem; font-weight: 500; }

/* ---- Buttons ---- */
.pill, .link, .announcement { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.pill { background: var(--accent); color: white; padding: .5rem 1rem; min-height: 2.05rem; border-radius: 99px; font-size: .9rem; line-height: 1.15; font-weight: 600; white-space: nowrap; }
.pill:hover { background: var(--accent-readable); color: white; }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 3.85rem; padding-bottom: 7.8rem; align-items: start; }
.hero-copy { max-width: 29.1rem; padding-right: .1rem; }
.announcement { padding: .28rem .7rem; background: #e7e9ed; border-radius: 99px; min-height: 1.55rem; font-size: .8rem; font-weight: 500; text-align: left; }
.announcement strong { font-weight: 600; }
.announcement:hover { background: #e0e4eb; }
.hero h1 { margin-top: 2.1rem; font-size: 3.45rem; line-height: 1.22; letter-spacing: -.052em; font-weight: 700; }
.hero-copy > p { margin-top: 1.95rem; font-size: 1.1rem; line-height: 1.56; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .95rem; margin-top: 2rem; }
.ribbon { position: absolute; z-index: -1; height: 15.5rem; width: 120%; top: 43.75rem; left: -10%; transform: skewY(-12deg); background: var(--ribbon); box-shadow: inset 0 .25rem .85rem #217dff75; }

/* ---- Hero demo card ---- */
.checkout { width: min(43.5rem, calc(50vw - 1.2rem)); border-radius: var(--radius); background: var(--surface); box-shadow: var(--panel-shadow); overflow: hidden; }
.checkout-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.55rem; border-bottom: 1px solid var(--border); padding-inline: 2.5rem; color: var(--demo-ink); font-size: .65rem; }
.merchant { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 700; }
.merchant b { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: white; font-size: .8rem; background: linear-gradient(135deg,#8fc0ff,#2f6bf6 75%); }
.channel-switch { display: inline-flex; gap: .2rem; background: var(--canvas); border-radius: 99px; padding: .2rem; }
.chan { padding: .25rem .7rem; border-radius: 99px; font-size: .68rem; font-weight: 500; color: var(--muted); }
.chan.is-active { background: white; color: var(--accent); box-shadow: 0 1px 2px #171d3a1f; }
.demo-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.4rem; padding: 1.5rem 2rem 1.9rem; font-size: .72rem; }

/* chat column */
.chat { display: flex; flex-direction: column; gap: .5rem; }
.chat-meta { display: flex; align-items: center; gap: .4rem; color: var(--placeholder); font-size: .62rem; margin-bottom: .2rem; }
.chat-meta .dot { width: .4rem; height: .4rem; border-radius: 50%; background: #25d366; }
.bubble { max-width: 90%; padding: .5rem .7rem; border-radius: .7rem; line-height: 1.4; font-size: .68rem; }
.bubble.in { align-self: flex-start; background: var(--canvas); color: var(--demo-ink); border-bottom-left-radius: .2rem; }
.bubble.out { align-self: flex-end; background: var(--accent); color: white; border-bottom-right-radius: .2rem; }
.card-bubble { display: grid; gap: .1rem; background: white; color: var(--demo-ink); border: 1px solid var(--border); }
.card-bubble strong { font-size: .72rem; }
.card-bubble span { color: var(--muted); font-size: .62rem; }
.card-bubble .price { color: var(--accent-readable); font-weight: 600; }
.card-bubble .price em { color: var(--muted); font-weight: 400; font-style: normal; }

/* context column */
.context h2 { font-size: .9rem; font-weight: 700; margin-bottom: .9rem; }
.receipt { padding: 1.15rem 1.25rem 1.05rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--demo-ink); font-size: .65rem; line-height: 1.35; }
.receipt h3 { font-size: .85rem; margin-bottom: .25rem; }
.price { display: flex; align-items: center; gap: .5rem; margin-block: .85rem; }
.price strong { font-size: 1.35rem; letter-spacing: -.04em; }
.receipt ul { list-style: none; padding: 0; display: grid; gap: .5rem; margin-top: .55rem; }
.receipt li { display: flex; align-items: center; gap: .55rem; }
.receipt li svg { width: 1rem; height: 1rem; padding: .19rem; color: var(--accent); border-radius: 50%; background: var(--accent-soft); }
.total { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: .4rem; }
.total strong { color: var(--accent-readable); }
.confirm { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 2.1rem; margin-top: 1rem; border-radius: .35rem; background: var(--accent); color: white; font-size: .7rem; font-weight: 600; }
.confirm:hover { background: var(--accent-readable); }

/* ---- Generic sections ---- */
.section { padding-block: 5.5rem; }
.section.alt { background: var(--surface); border-block: 1px solid var(--border); }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.section-title { margin-top: .6rem; font-size: 2.1rem; line-height: 1.2; letter-spacing: -.03em; font-weight: 700; max-width: 22ch; }
.section-lead { margin-top: 1rem; max-width: 52ch; font-size: 1.05rem; line-height: 1.55; color: var(--muted); }

/* works-with band */
.band { padding-block: 2.4rem; background: var(--surface); border-block: 1px solid var(--border); }
.band .eyebrow { color: var(--muted); font-weight: 500; text-align: center; }
.logos { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem 2.2rem; }
.logos li { display: flex; align-items: center; }
.logos img { height: 5.1rem; width: auto; max-width: 18rem; object-fit: contain; filter: grayscale(1); opacity: .6; transition: opacity .15s ease, filter .15s ease; }
.logos img:hover { filter: none; opacity: 1; }

/* endorsement + grid helpers (microsites) */
.endorse { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 500; color: var(--muted); }
.endorse b { color: var(--accent-readable); font-weight: 600; }
.endorse::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.lead-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }

/* stats band */
.stats-band { padding-block: 2.6rem; background: var(--canvas); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-size: 2rem; letter-spacing: -.03em; color: var(--accent-readable); }
.stat span { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.stat.ph strong { color: var(--placeholder); }

/* card grids */
.cards { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cards.products { grid-template-columns: repeat(2, 1fr); }
.cards.services { grid-template-columns: repeat(3, 1fr); }
.card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.section.alt .card { background: var(--canvas); }
.card-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .6rem; color: var(--accent); background: var(--accent-soft); margin-bottom: 1rem; }
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; }
.card p { margin-top: .5rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.product-card .tag { display: inline-block; padding: .18rem .55rem; border-radius: 99px; background: var(--accent-soft); color: var(--accent-readable); font-size: .72rem; font-weight: 600; margin-bottom: .8rem; }
.product-card .link { display: inline-flex; margin-top: 1rem; font-size: .9rem; }

/* case studies */
.cases { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.2rem; }
.case { padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.case-tag { color: var(--accent); font-size: .8rem; font-weight: 600; }
.case h3 { margin-top: .5rem; font-size: 1.15rem; font-weight: 700; }
.case > p { margin-top: .6rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.stats { display: flex; gap: 2rem; margin-top: 1.2rem; }
.stats strong { display: block; font-size: 1.6rem; letter-spacing: -.03em; color: var(--accent-readable); }
.stats span { font-size: .82rem; color: var(--muted); }
.snapshots { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.snapshots li { display: grid; gap: .3rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.snapshots strong { font-size: .95rem; }
.snapshots span { color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* timeline (trayectoria) */
.timeline { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.timeline li { position: relative; padding: 1.4rem 1.25rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.timeline li::before { content: ""; display: block; width: .85rem; height: .85rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .3rem var(--accent-soft); margin-bottom: 1rem; }
.timeline h3 { font-size: 1rem; font-weight: 700; }
.timeline p { margin-top: .5rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* about */
.about-grid, .contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.byline { margin-top: 1.4rem; color: var(--muted); font-size: .92rem; }
.stack { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stack li { display: grid; gap: .25rem; padding: 1.1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--canvas); }
.section:not(.alt) .stack li { background: var(--surface); }
.stack strong { font-size: .95rem; }
.stack span { color: var(--muted); font-size: .85rem; }

/* contact form */
.contact-form { display: grid; gap: .9rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea { padding: .6rem .75rem; border: 1px solid var(--border); border-radius: .4rem; background: var(--canvas); font-size: .95rem; font-weight: 400; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: var(--focus); outline-offset: 0; border-color: var(--accent); }
.contact-form .pill { margin-top: .3rem; justify-self: start; }
.form-status { margin: 0; color: var(--accent-readable); font-size: .85rem; font-weight: 600; }

/* footer */
.site-footer { background: var(--ink); color: #c7d2e1; padding-block: 3rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.site-footer .wordmark { color: white; }
.footer-inner p { margin-top: .4rem; font-size: .9rem; color: #9fb0c6; }
.footer-links { display: flex; gap: 1.5rem; font-size: .92rem; }
.footer-links a:hover { color: white; }
.copyright { font-size: .85rem; }

/* ---- Overlays ---- */
.cookie { position: fixed; z-index: 5; right: .85rem; bottom: .7rem; width: min(27.2rem, calc(100vw - 1.7rem)); border-radius: var(--radius); background: var(--surface); box-shadow: var(--panel-shadow); padding: 1.05rem 1rem 1rem; }
.cookie p { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.cookie p button { color: var(--ink); font-weight: 600; }
.cookie p button:hover { text-decoration: underline; }
.cookie-actions, .dialog-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .95rem; }
.cookie .pill, dialog .pill { background: var(--ink); }
.cookie .pill:hover, dialog .pill:hover { background: var(--accent-readable); }
dialog { border: 0; border-radius: var(--radius); color: var(--ink); padding: 1.4rem; max-width: min(26rem, calc(100% - 2rem)); box-shadow: var(--panel-shadow); }
dialog::backdrop { background: #0a254066; }
dialog p { margin-top: .65rem; color: var(--muted); line-height: 1.5; }

/* ---- Responsive ---- */
@media (max-width: 1150px) {
  .checkout { width: 100%; }
  .demo-grid { gap: 1rem; padding-inline: 1.2rem; }
  .receipt { padding-inline: .85rem; }
  .hero-copy { padding-right: 1.2rem; }
  .wide-break { display: none; }
  .product-links { gap: 1.15rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 840px) {
  .global { gap: 1rem; justify-content: space-between; }
  .header-actions { margin-left: 0; gap: .9rem; }
  .desk-only { display: none; }
  .mobile-toggle { display: block; padding: .65rem; }
  .global-links { display: none; position: absolute; inset: 100% 0 auto; padding: 1rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--panel-shadow); }
  .global-links.is-open { display: grid; gap: .9rem; }
  .dropdown { position: static; box-shadow: none; }
  .product-nav { overflow-x: auto; justify-content: start; gap: 1.5rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.2rem; padding-bottom: 8rem; }
  .hero-copy { max-width: 38rem; padding-right: 0; }
  .hero h1 { font-size: clamp(2.5rem, 7vw, 3.45rem); margin-top: 1.3rem; }
  .hero-copy > p { margin-top: 1.2rem; }
  .ribbon { top: auto; bottom: -1rem; }
  .section { padding-block: 4rem; }
  .cases, .snapshots, .about-grid, .contact-grid, .stack { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
  .about-grid, .contact-grid { gap: 2rem; }
  /* 3-up tile grids → 2-up on tablet (same specificity as .cards.c3, so it wins) */
  .cards.c3, .cards.services { grid-template-columns: repeat(2, 1fr); }
  .guides { display: none; }                  /* hide the vertical guide lines on mobile */
  .mobile-hide { display: none !important; }  /* nav items hidden on mobile only */
}
@media (max-width: 520px) {
  .demo-grid { grid-template-columns: 1fr; gap: 1.45rem; }
  .checkout-bar { padding-inline: 1.2rem; }
  .announcement { font-size: .72rem; }
  .cookie { max-height: 45svh; overflow-y: auto; }
  .cards, .cards.products, .cards.c2, .cards.c3, .cards.services { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { gap: 1.2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .pill, .link, .chan, .confirm { transition: color .15s ease, background-color .15s ease; }
}

/* ============ Blog / Novedades (generated by build/build_blog.py) ============ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--accent-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; }
.post-card-body > p { margin: 0; color: var(--muted); }
.post-cat { margin: 0; color: var(--accent-readable); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.post-card h3 { font-size: 1.1rem; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--accent-readable); }
.post-card .link { margin-top: auto; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; color: var(--muted); font-size: .8rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.post-tags li { background: var(--accent-soft); color: var(--accent-readable); border-radius: 999px; padding: .1rem .55rem; font-size: .72rem; }
.posts-all { margin-top: 1.75rem; }

/* Single post page */
.post-shell { max-width: 46rem; }
.post-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; margin: .5rem 0; }
.post-excerpt { color: var(--muted); font-size: 1.15rem; line-height: 1.5; }
.post-byline { color: var(--muted); font-size: .85rem; margin-top: .75rem; }
.post-hero-img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }
.post-body { color: var(--ink); line-height: 1.7; }
.post-body > * + * { margin-top: 1.1rem; }
.post-body h2 { font-size: 1.5rem; margin-top: 2rem; letter-spacing: -.01em; }
.post-body h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.post-body h4, .post-body h5 { font-size: 1.05rem; margin-top: 1.25rem; }
.post-body a { color: var(--accent-readable); text-decoration: underline; text-underline-offset: 2px; }
.post-body ul, .post-body ol { padding-left: 1.25rem; }
.post-body li + li { margin-top: .35rem; }
.post-body blockquote { margin: 1.25rem 0; padding: .4rem 0 .4rem 1.1rem; border-left: 3px solid var(--accent); color: var(--muted); }
.post-body blockquote p { margin: 0; }
.post-body img { max-width: 100%; border-radius: var(--radius); }
.post-body code { background: var(--accent-soft); color: var(--accent-readable); padding: .1rem .35rem; border-radius: .25rem; font-size: .9em; }
.post-body pre { background: var(--ink); color: #e6eefe; padding: 1rem 1.25rem; border-radius: var(--radius); overflow: auto; }
.post-body pre code { background: none; color: inherit; padding: 0; }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.post-back { margin-top: 2.5rem; }
.post-back .flip { transform: rotate(180deg); }
@media (max-width: 60rem) { .posts { grid-template-columns: 1fr; } }

/* ========================= SEO landing pages (/syncro/landing/) ========================= */
/* Evergreen ERP×ecommerce landings built by build/build_landings.py. Reuses the
   shared tokens + .section/.card/.cards system; data-brand="syncro" sets the accent. */
.ld-hero .eyebrow { color: var(--accent-readable); }
.ld-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin: .6rem 0 0; }
/* Two-column hero when the ERP has a hero image (e.g. Dragonfish_Mac.png) */
.ld-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.ld-hero-media { margin: 0; }
.ld-hero-media img { width: 100%; height: auto; max-width: 36rem; display: block; margin-inline: auto; }
/* Desktop only: let the Dragonfish mockup bleed larger without touching the copy column */
@media (min-width: 60.01rem) {
  .ld-hero-media img { width: 150%; max-width: 150%; margin-left: -25%; }
}
@media (max-width: 60rem) {
  .ld-hero-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .ld-hero-media img { max-width: 30rem; }
}
.ld-lead { margin-top: 1.1rem; max-width: 60ch; font-size: 1.12rem; line-height: 1.6; color: var(--muted); }
.ld-lead .ld-brandmark { margin-right: .3rem; }

/* Logo chip that degrades to the brand name when the image is missing */
.ld-brandmark { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ld-brandmark img { height: 1.5rem; width: auto; max-width: 8rem; object-fit: contain; }
.ld-brandmark img + b { display: none; }           /* logo present → hide text fallback */
.ld-brandmark img[src]:not([src=""]) ~ b { }        /* (text kept in DOM for a11y / fallback) */

.ld-pair { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.6rem; padding: .75rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.ld-pair .ld-brandmark img { height: 1.9rem; }
.ld-pair .ld-brandmark b { display: inline; }       /* always show names in the pair chip */
.ld-link { width: 1.5rem; height: 1.5rem; color: var(--accent); flex: none; }
.ld-cert { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; color: var(--accent-readable); font-weight: 500; font-size: .95rem; }
.ld-cert svg { width: 1.1rem; height: 1.1rem; padding: .18rem; color: #fff; background: var(--accent); border-radius: 50%; flex: none; }

/* Benefit blocks: icon + title + body, stamped with ERP/ecommerce names */
.ld-benefits { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.ld-benefit { display: flex; gap: 1rem; padding: 1.4rem; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius); }
.section.alt .ld-benefit { background: var(--canvas); }
.ld-benefit .card-icon { flex: none; }
.ld-benefit h3 { font-size: 1.12rem; line-height: 1.3; margin: .1rem 0 .45rem; letter-spacing: -.01em; }
.ld-benefit p { color: var(--muted); line-height: 1.55; font-size: .96rem; margin: 0; }

/* Feature list (two columns, check bullets) */
.ld-features { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.6rem; }
.ld-features li { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-size: .98rem; }
.ld-features svg { width: 1.1rem; height: 1.1rem; padding: .2rem; color: var(--accent); background: var(--accent-soft); border-radius: 50%; flex: none; }

/* Hub platform grid: each card links to a combo landing */
.ld-platform { display: flex; flex-direction: column; gap: .55rem; text-decoration: none; color: inherit; }
.ld-platform .card-icon { width: auto; height: auto; background: none; padding: 0; }
.ld-platform h3 { font-size: 1.08rem; letter-spacing: -.01em; margin: 0; }
.ld-platform p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0; }
.ld-platform .link { margin-top: auto; }
a.ld-platform:hover { border-color: var(--accent); }
.ld-platform.is-soon { opacity: .72; }
.ld-soon, .ld-also .is-soon em { align-self: flex-start; margin-top: auto; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--accent-soft); border-radius: 999px; padding: .15rem .6rem; font-style: normal; }

/* "También funciona con" row */
.ld-also { list-style: none; margin: 1.3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.ld-also li { display: flex; align-items: center; gap: .6rem; padding: .55rem .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.ld-also a { text-decoration: none; }
.ld-also a:hover .ld-brandmark { color: var(--accent-readable); }
.ld-also .ld-brandmark b { display: inline; }

/* FAQ accordion (also emitted as FAQPage JSON-LD) */
.ld-faqs { margin-top: 1.8rem; max-width: 54rem; }
.ld-faq { border-bottom: 1px solid var(--border); }
.ld-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary::after { content: "+"; color: var(--accent-readable); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.ld-faq[open] summary::after { content: "–"; }
.ld-faq p { color: var(--muted); line-height: 1.6; margin: 0 0 1.1rem; max-width: 60ch; }

@media (max-width: 48rem) {
  .ld-benefits, .ld-features { grid-template-columns: 1fr; }
  .ld-pair { flex-wrap: wrap; }
}

/* ============================================================
   Syncro microsite — illustrated split sections + testimonials
   ============================================================ */
/* Two-column text + image. If the image 404s, onerror removes the
   figure and :has() collapses the grid to a single column (no gap). */
.media-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.8rem; align-items: center; }
.media-split .media-copy h2 { margin-top: .4rem; }
.media-figure { margin: 0; }
.media-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.media-split:not(:has(.media-figure)) { grid-template-columns: 1fr; }
.media-note { margin-top: 1.1rem; display: inline-flex; align-items: flex-start; gap: .55rem; padding: .7rem 1rem; background: var(--accent-soft); border-radius: var(--radius); color: var(--ink); font-size: .95rem; line-height: 1.5; }
.media-note svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .15rem; fill: none; stroke: var(--accent-readable); stroke-width: 1.6; }
.split-points { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.split-points li { display: flex; gap: .6rem; line-height: 1.55; color: var(--muted); }
.split-points svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .25rem; fill: none; stroke: var(--accent-readable); stroke-width: 1.6; }

/* Testimonials */
.quotes .card { display: flex; flex-direction: column; gap: 1rem; }
.quote-text { font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.quote-author { margin-top: auto; font-style: normal; color: var(--muted); font-size: .92rem; }
.quote-author b { color: var(--ink); font-style: normal; }

@media (max-width: 48rem) {
  .media-split { grid-template-columns: 1fr; gap: 1.6rem; }
}
