/* =====================================================================
   ITmedia – giao diện public (flat, mobile-first)
   ===================================================================== */
:root {
  --ink: #141833;
  --ink-2: #1F2447;
  --ink-3: #262B4D;
  --line-dark: #2E345C;
  --red: #D42F22;
  --red-dark: #A8231A;
  --coral: #FF6B5E;
  --gold: #FFC46B;
  --soft: #F5F6FA;
  --line: #E3E6F2;
  --muted: #5A6078;
  --body: #4A5068;
  --on-dark: #C3C7DE;
  --green: #15803D;
  --green-2: #4ADE80;
  --cream: #FFF8EC;
  --radius: 16px;
  --container: 1240px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 16px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 1140px; }
.container--text { max-width: 880px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.stack-40 > * + * { margin-top: 40px; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-coral { color: var(--coral); }
.text-green { color: var(--green-2); }

/* ---------- Typography ---------- */
.h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -1px; }
.h1 small { font-size: .5em; color: var(--muted); font-weight: 600; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.h3 { font-size: 24px; font-weight: 800; }
.lead { font-size: 17px; color: var(--body); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 1px; text-decoration: none; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--muted { color: var(--muted); font-size: 13px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.section-head.text-center { margin-left: auto; margin-right: auto; align-items: center; }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.section-head--split .lead { max-width: 440px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 22px; border-radius: 10px;
  font: 700 15px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { color: #fff; border-color: #4A5080; background: transparent; }
.btn--ghost-light:hover { background: var(--ink-3); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.link-strong { font-weight: 700; text-decoration: none; padding: 10px 0; }
.link-light { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 4px; }
.link-light:hover { color: var(--gold); }

/* ---------- Pills, tags, chips ---------- */
.pill { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.pill--dark { background: var(--ink-3); color: var(--gold); }
.pill--dark:hover { color: #fff; }
.pill--ink { background: var(--ink); color: var(--gold); letter-spacing: .5px; }
.tag { font-style: normal; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag--warn { background: #FFF4E0; color: #8A5300; }
.tag--ok { background: #E3F6EA; color: var(--green); }
.tag--green { background: var(--green-2); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips__label { font-size: 14px; font-weight: 700; color: var(--body); margin-right: 4px; }
.chip { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; }
.chip--light { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.chip--light:hover { background: var(--ink); color: #fff; }
.num-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; }

/* ---------- Announcement + Header ---------- */
.announce { display: block; background: var(--gold); color: var(--ink); text-decoration: none; }
.announce:hover { color: var(--ink); }
.announce__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; padding-top: 11px; padding-bottom: 11px; font-size: 14px; font-weight: 600; text-align: center; }
.announce__badge { background: var(--ink); color: var(--gold); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.announce__more { font-weight: 800; text-decoration: underline; }

.site-header { background: var(--ink); color: #fff; position: relative; z-index: 20; }
.site-header__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.logo__text { font-weight: 700; font-size: 26px; letter-spacing: -.5px; }
.logo__tag { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--gold); border: 1px solid #3A4170; padding: 3px 8px; border-radius: 6px; }
.nav-toggle { display: none; background: transparent; border: 1px solid #4A5080; color: #fff; border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.site-nav { border-top: 1px solid var(--ink-3); }
.site-nav__inner { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 14px; font-weight: 600; }
.site-nav a { color: var(--on-dark); text-decoration: none; padding: 13px 0; }
.site-nav a:hover { color: #fff; }
.site-nav .site-nav__hl { color: var(--gold); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-header__actions { display: none; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__inner { flex-direction: column; padding-bottom: 12px; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--ink-3); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0 96px; }
.section--tight-bottom { padding-bottom: 32px; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead { color: var(--on-dark); }
.section--soft { background: var(--soft); }
.section--red { background: var(--red); color: #fff; }
.section--red .lead { color: #FFE3E0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split--reverse { flex-wrap: wrap-reverse; }
.split--top { align-items: flex-start; }
.split__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split__visual { flex: 1 1 460px; min-width: 0; }
.panel-soft { background: var(--soft); border-radius: 20px; padding: 28px; }

/* ---------- Lists ---------- */
.checklist, .mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checklist { gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checklist .ico-check { color: var(--red); flex: none; margin-top: 2px; }
.section--dark .checklist li { color: #E4E6F2; }
.section--dark .checklist strong { color: #fff; }
.section--dark .checklist .ico-check { color: var(--green-2); }
.mini-list { gap: 10px; }
.mini-list li { display: flex; gap: 9px; font-size: 14.5px; }
.mini-list .ico-check { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.dark-card .mini-list li { color: #E4E6F2; }
.dark-card .mini-list .ico-check { color: var(--green-2); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-size: clamp(34px, 5vw, 58px); line-height: 1.1; font-weight: 800; letter-spacing: -1.5px; }
.hero__lead { font-size: 18px; color: var(--on-dark); max-width: 580px; }
.hero__usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 10px; }
.hero__usp div { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.hero__usp strong { font-size: 15px; }
.hero__usp span { font-size: 13px; color: var(--on-dark); }
.hero__visual { flex: 1 1 520px; min-width: 0; }

.mock { background: #fff; color: var(--ink); border-radius: 16px; overflow: hidden; border: 1px solid var(--line-dark); }
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #EEF0F7; border-bottom: 1px solid #DDE0EC; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.mock__bar i:nth-child(2) { background: var(--gold); }
.mock__bar i:nth-child(3) { background: var(--green-2); }
.mock__bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; padding: 4px 12px; border-radius: 6px; }
.mock__body { display: flex; }
.mock__side { width: 56px; background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0; }
.mock__side b { width: 24px; height: 24px; border-radius: 6px; background: var(--red); }
.mock__side i { width: 22px; height: 6px; border-radius: 3px; background: #4A5080; }
.mock__main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mock__row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.mock__row small { font-size: 12px; font-weight: 600; color: var(--muted); }
.mock__headline { font-size: 19px; line-height: 1.3; }
.line { display: block; height: 8px; background: #EEF0F7; border-radius: 4px; width: 100%; }
.w70 { width: 70%; } .w85 { width: 85%; } .w88 { width: 88%; } .w92 { width: 92%; }
.mock__img { height: 92px; background: #E3E6F2; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.mock__ai { width: 196px; border-left: 1px solid #DDE0EC; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; background: #F7F8FC; font-size: 12px; }
.mock__ai span { background: #fff; border: 1px solid #DDE0EC; border-radius: 8px; padding: 8px 10px; font-size: 11px; }
.mock__score { display: flex; align-items: center; gap: 10px; }
.mock__score b { width: 42px; height: 42px; border-radius: 50%; border: 5px solid #16A34A; display: inline-flex; align-items: center; justify-content: center; color: var(--green); flex: none; }
.mock__score small { font-size: 11px; color: var(--muted); }
@media (max-width: 560px) { .mock__ai { display: none; } }

/* ---------- Logos ---------- */
.logos { background: var(--soft); border-bottom: 1px solid var(--line); padding: 40px 0; }
.logos__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.logos__list li { font-size: 17px; font-weight: 800; color: #6B7190; white-space: nowrap; }

/* ---------- Promo ---------- */
.promo { background: var(--cream); border-bottom: 1px solid #F3E3C3; padding: 88px 0; }
.promo__head { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.promo__copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.promo__copy .lead { max-width: 680px; }
.promo__cost { flex: 0 1 380px; min-width: 0; margin: 0; background: var(--ink); color: #fff; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.promo__cost div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.promo__cost dt { color: var(--on-dark); }
.promo__cost dd { margin: 0; font-weight: 800; text-align: right; }
.promo__cost-total { border-top: 1px solid var(--line-dark); padding-top: 12px; }
.promo__card { background: #fff; border: 1px solid #F0DDB8; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.promo__card h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.promo__card .mini-list li { color: #3A4060; font-size: 14px; }
.promo__foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; background: #fff; border: 2px dashed #E9C98E; border-radius: var(--radius); padding: 22px 26px; }
.promo__foot > div:first-child { flex: 1 1 520px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #3A4060; }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.role { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.role:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.role__n { font-size: 12px; font-weight: 800; color: var(--red); }
.role strong { font-size: 16px; }
.role span:last-child { font-size: 13px; color: var(--muted); }

/* ---------- Role visuals ---------- */
.visual-reporter { display: flex; gap: 20px; align-items: flex-end; justify-content: center; flex-wrap: wrap; padding: 36px 24px; }
.phone { width: 190px; flex: none; background: var(--ink); border-radius: 28px; padding: 10px; }
.phone__screen { background: #fff; border-radius: 20px; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; height: 340px; }
.phone__screen strong { font-size: 13px; line-height: 1.3; }
.ph-img { height: 70px; background: #E3E6F2; border-radius: 8px; }
.phone__screen .line { height: 6px; }
.phone__btn { margin-top: auto; font-size: 11px; font-weight: 700; background: var(--red); color: #fff; text-align: center; padding: 8px; border-radius: 8px; }
.chat { flex: 1 1 200px; max-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.chat__in { background: #F0F1F7; border-radius: 10px 10px 10px 2px; padding: 8px 10px; }
.chat__out { background: var(--ink); color: #fff; border-radius: 10px 10px 2px 10px; padding: 8px 10px; align-self: flex-end; }
.chat__img { height: 64px; border-radius: 8px; background: #FFE3E0; }

.kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.kanban__col { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.kanban__col b { font-size: 12px; color: var(--gold); }
.kanban__col span { background: #fff; color: var(--ink); border-radius: 8px; padding: 10px; font-size: 12px; font-weight: 600; line-height: 1.35; }

.perm-table { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.perm-table__head { padding: 14px 18px; font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--line); }
.perm-table__row { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #EEF0F7; font-size: 13px; }
.perm-table__row b { min-width: 120px; }
.perm-table__row span { flex: 1; color: var(--muted); }

.dark-card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.dark-card h3 { font-size: 18px; font-weight: 800; }
.dark-card p { color: var(--on-dark); font-size: 15px; }

.devices { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--line); padding: 4px; border-radius: 999px; }
.segmented--light { background: #F0F1F7; border: 0; margin-top: 8px; }
.segmented button { font: 600 14px var(--font); border: 0; padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; min-height: 40px; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.device { width: 100%; max-width: 100%; background: var(--ink); border-radius: 18px; padding: 10px; transition: width .35s ease; }
.device__screen { background: #fff; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; height: 300px; overflow: hidden; }
.device__top { display: flex; justify-content: space-between; align-items: center; }
.device__top b { width: 60px; height: 12px; border-radius: 3px; background: var(--red); }
.device__top i { width: 40%; height: 8px; border-radius: 3px; background: var(--line); }
.device__grid { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.device__main { flex: 2 1 180px; display: flex; flex-direction: column; gap: 8px; }
.device__main span { flex: 1; min-height: 90px; background: var(--line); border-radius: 8px; }
.device__main b { height: 10px; background: var(--ink); border-radius: 3px; width: 80%; }
.device__main i { height: 6px; background: var(--line); border-radius: 3px; }
.device__side { flex: 1 1 120px; display: flex; flex-direction: column; gap: 8px; }
.device__side span { height: 50px; background: #EEF0F7; border-radius: 6px; }

.monitor { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.monitor__head { display: flex; justify-content: space-between; align-items: center; }
.monitor__row { display: flex; justify-content: space-between; gap: 12px; background: var(--ink); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.monitor__row b { color: var(--green-2); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.flow li { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.flow strong { font-size: 17px; }
.flow span:last-child { font-size: 14px; color: var(--body); }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; background: var(--soft); }
.compare thead th.compare__us { background: var(--red); color: #fff; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody td { color: var(--muted); }
.compare tbody td.compare__us { color: var(--ink); font-weight: 700; background: #FFF6F5; }

.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.client-grid li { border: 1px solid var(--line); border-radius: 12px; height: 88px; display: flex; align-items: center; justify-content: center; padding: 0 16px; text-align: center; font-size: 16px; font-weight: 800; color: #3A4060; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps__n { font-size: 42px; font-weight: 800; color: var(--coral); line-height: 1; }
.steps h3 { font-size: 19px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 28px; display: flex; flex-direction: column; gap: 18px; }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan__ribbon { position: absolute; top: -14px; left: 28px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }
.plan__name { font-size: 21px; font-weight: 800; }
.plan__for { font-size: 14px; color: var(--muted); margin-top: 4px; }
.plan--featured .plan__for, .plan--featured .plan__price span { color: var(--on-dark); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan__price strong { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan__items { border-top: 1px solid var(--line); padding-top: 18px; }
.plan--featured .plan__items { border-color: var(--line-dark); }
.plan--featured .mini-list .ico-check { color: var(--green-2); }

.pricing-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }
.callout { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: #FFF1EF; border-radius: var(--radius); padding: 24px 28px; }
.callout > div { max-width: 760px; display: flex; flex-direction: column; gap: 4px; }
.callout strong { font-size: 18px; }
.callout p { color: var(--body); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F0F1F7; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 24px 22px; color: var(--body); }

/* ---------- Lead form ---------- */
.contact-big { color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.contact-big--sm { font-size: 16px; font-weight: 700; }
.contact-big:hover { color: #FFE3E0; }
.lead-form { flex: 1 1 480px; min-width: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email], .lead-form select, .lead-form textarea {
  font: 400 15px var(--font); padding: 13px 14px; border: 1px solid #C9CDDD; border-radius: 10px; color: var(--ink); background: #fff; width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--ink); outline: 2px solid var(--gold); outline-offset: 0; }
.lead-form textarea { resize: vertical; }
.lead-form__full { grid-column: 1 / -1; }
.lead-form__check { grid-column: 1 / -1; flex-direction: row !important; align-items: center; gap: 12px !important; background: var(--cream); border: 1px solid #F0DDB8; border-radius: 10px; padding: 14px 16px; cursor: pointer; font-size: 15px !important; }
.lead-form__check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.lead-form__msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: #E3F6EA; color: var(--green); font-weight: 700; }
.lead-form__msg.is-error { background: #FDECEA; color: var(--red-dark); }
.lead-form button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Cards / list ---------- */
.card { display: flex; flex-direction: column; gap: 14px; }
.card__media { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: var(--muted); background: #EEF1FF; }
.card__meta { font-size: 13px; color: var(--muted); }
.card__meta a { color: var(--red); text-decoration: none; font-weight: 700; }
.card__title { font-size: 19px; font-weight: 700; line-height: 1.35; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--red); }
.card__sapo { color: var(--body); font-size: 15px; }

.list-hero { background: var(--soft); padding: 40px 0 48px; border-bottom: 1px solid var(--line); }
.list-hero .h1 { margin-top: 12px; }
.list-hero .lead { margin-top: 8px; }
.search-box { display: flex; gap: 8px; margin-top: 24px; max-width: 520px; }
.search-box input { flex: 1; min-width: 0; font: 400 15px var(--font); padding: 12px 14px; border: 1px solid #C9CDDD; border-radius: 10px; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 4px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination__gap { border: 0 !important; }

/* ---------- Article ---------- */
.preview-bar { background: var(--gold); color: var(--ink); text-align: center; padding: 10px; font-weight: 700; }
.article-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 32px; padding-bottom: 64px; align-items: flex-start; }
.article { flex: 999 1 600px; min-width: 0; max-width: 780px; }
.article__head { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.article__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.8px; line-height: 1.2; }
.article__meta { font-size: 14px; color: var(--muted); }
.article__sapo { font-size: 19px; font-weight: 600; color: #2A2F4D; line-height: 1.6; }
.article__cover { margin: 28px 0 0; border-radius: 14px; overflow: hidden; }
.article__cover img { width: 100%; }
.article__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.prose { font-size: 18px; line-height: 1.75; color: #22263F; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; font-weight: 800; margin-top: 1.6em; }
.prose h3 { font-size: 21px; font-weight: 800; margin-top: 1.4em; }
.prose img { border-radius: 10px; margin: 0 auto; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-radius: 10px; background: var(--soft); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; }
.prose pre { background: var(--ink); color: #fff; padding: 16px; border-radius: 10px; overflow-x: auto; font-size: 14px; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose li[data-list="bullet"] { list-style-type: disc; }
.article .chips { margin-top: 32px; }
.article-cta { margin-top: 40px; background: var(--cream); border: 1px solid #F0DDB8; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.article-cta strong { font-size: 18px; }
.article-cta p { color: var(--body); }

.sidebar { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 16px; }
.sidebar__box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.sidebar__box--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.sidebar__box--dark p { color: var(--on-dark); font-size: 14px; }
.sidebar__box .btn { align-self: flex-start; }
.sidebar__title { font-size: 17px; font-weight: 800; }
.rank { margin: 0; padding: 0; list-style: none; counter-reset: rank; display: flex; flex-direction: column; gap: 14px; }
.rank li { counter-increment: rank; display: flex; gap: 12px; }
.rank li::before { content: counter(rank); font-weight: 800; color: var(--red); font-size: 20px; line-height: 1.2; min-width: 18px; }
.rank a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; }
.rank a:hover { color: var(--red); }
@media (max-width: 960px) { .sidebar { position: static; } }

.error-page__code { font-size: 96px; font-weight: 800; color: var(--red); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #0E1126; color: var(--on-dark); padding: 64px 0 32px; font-size: 15px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.site-footer__company { flex: 1 1 380px; }
.site-footer__company strong { color: #fff; }
.site-footer__company .logo__mark { width: 36px; height: 36px; font-size: 15px; }
.site-footer__company .logo__text { font-size: 24px; }
.site-footer__title { color: #fff; font-size: 15px; font-weight: 700; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.site-footer__badges span { border: 1px solid var(--line-dark); border-radius: 10px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink-3); padding-top: 24px; margin-top: 36px; font-size: 14px; }
