/* ==========================================================
   Up Web Solutions — main stylesheet
   Colors come from the approved logo: royal blue #2747C9, gold #B08423
   ========================================================== */
:root {
  --navy-950: #070d22;
  --navy-900: #0b1430;
  --navy-800: #111d45;
  --navy-700: #1a2a5e;
  --blue: #2747c9;
  --blue-500: #3b5be0;
  --blue-300: #8fa5f5;
  --gold: #b08423;
  --gold-400: #d1a443;
  --gold-200: #ecd49a;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #18203a;
  --ink-soft: #4a5370;
  --line: #e3dccb;
  --on-dark: #e8ecf8;
  --on-dark-soft: #aeb8d6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 13, 34, .12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; font-family: var(--sans); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold)); color: #1a1202; box-shadow: 0 6px 18px rgba(176, 132, 35, .35); }
.btn--gold:hover { background: linear-gradient(135deg, var(--gold-200), var(--gold-400)); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-500); }
.btn--ghost { border-color: var(--gold-400); color: var(--gold-200); background: transparent; }
.btn--ghost:hover { background: rgba(209, 164, 67, .12); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-soft); font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--gold-200); text-decoration: none; margin-left: 18px; }
.topbar .ico { color: var(--gold-400); }
.header { background: var(--navy-900); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(209, 164, 67, .25); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.4rem; color: #fff; letter-spacing: .02em; }
.brand__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-400); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--gold-400); }
.nav .current-menu-item > a::after, .nav .current_page_item > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--gold-400); border-radius: 2px; }
.page-hero h1 em { font-style: normal; color: var(--gold-400); }
.report__cover { text-decoration: none; }
.prose img { border-radius: 10px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.nav-links { display: flex; gap: 8px; justify-content: center; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.nav-links .current { background: var(--blue); color: #fff; border-color: var(--blue); }
.nav a:not(.btn) { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .96rem; padding: 8px 11px; border-radius: 8px; position: relative; }
.nav a:not(.btn):hover { color: var(--gold-200); }
.nav a[aria-current="page"] { color: var(--gold-400); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--gold-400); border-radius: 2px; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 10px; padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 26px; height: 26px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid rgba(209,164,67,.3); display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { display: block; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav a[aria-current="page"]::after, .nav .current-menu-item > a::after, .nav .current_page_item > a::after { display: none; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
}
@media (max-width: 640px) {
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .topbar a { margin: 0; }
  .brand__name { font-size: 1.15rem; }
  .brand__tag { font-size: .6rem; letter-spacing: .08em; }
  .brand img { width: 46px; height: 46px; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--darker { background: var(--navy-950); color: var(--on-dark); }
.section--white { background: var(--paper); }
.section--dark h2, .section--darker h2, .section--dark h3, .section--darker h3 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section--dark .eyebrow, .section--darker .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section--dark .lead, .section--darker .lead { color: var(--on-dark-soft); }
.gold-rule { width: 70px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-200)); border: 0; margin: 18px auto 0; border-radius: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background:
  radial-gradient(800px 420px at 85% 30%, rgba(39, 71, 201, .45), transparent 60%),
  radial-gradient(600px 380px at 10% 100%, rgba(176, 132, 35, .22), transparent 60%),
  linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143,165,245,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,165,245,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.lead { color: var(--on-dark-soft); max-width: 580px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; font-size: .95rem; color: var(--on-dark); }
.ticks .ico { color: var(--gold-400); }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art img { width: min(420px, 100%); filter: drop-shadow(0 0 40px rgba(39, 71, 201, .45)); position: relative; }
.hero__art::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(209, 164, 67, .45); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__art::before { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; text-align: center; }
  .hero__art { order: -1; }
  .hero__art img { width: 240px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero__ctas, .ticks { justify-content: center; }
}

/* Inner page hero */
.page-hero { background: radial-gradient(700px 300px at 80% 0%, rgba(39, 71, 201, .45), transparent 60%), var(--navy-900); color: var(--on-dark); padding: 72px 0 64px; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--on-dark-soft); max-width: 720px; margin: 0 auto; font-size: 1.15rem; }

/* ---------- Pillars (3 feature blocks) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: -54px; position: relative; z-index: 2; }
.pillar { background: var(--paper); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); text-align: center; }
.pillar__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: rgba(39, 71, 201, .1); color: var(--blue); }
.pillar__icon .ico { width: 30px; height: 30px; }
.pillar p { color: var(--ink-soft); }
.link-more { font-weight: 700; text-decoration: none; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.link-more:hover { color: var(--gold); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; margin-top: -36px; } }

/* ---------- Split / "now what?" ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.qlist li { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 16px 18px; border-radius: 10px; font-weight: 600; }
.qlist .ico { color: var(--gold); width: 24px; height: 24px; margin-top: 2px; }
.quote { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--navy-800); border-left: 4px solid var(--gold); padding-left: 22px; margin: 24px 0; }
.section--dark .quote, .section--darker .quote { color: var(--gold-200); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.card__icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy-700)); color: #fff; margin-bottom: 16px; }
.card__icon .ico { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.section--dark .card, .section--darker .card { background: rgba(255,255,255,.04); border-color: rgba(143,165,245,.18); }
.section--dark .card p, .section--darker .card p { color: var(--on-dark-soft); }
.section--dark .card:hover, .section--darker .card:hover { border-color: rgba(209,164,67,.55); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.section--dark .card__icon, .section--darker .card__icon { background: linear-gradient(135deg, var(--gold-400), var(--gold)); color: #1a1202; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: center; padding: 10px 14px; position: relative; }
.step__num { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: #1a1202; background: linear-gradient(135deg, var(--gold-200), var(--gold)); box-shadow: 0 0 0 6px rgba(209,164,67,.18); }
.step p { color: var(--on-dark-soft); }
.section--white .step p, .section:not(.section--dark):not(.section--darker) .step p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature list (why us) ---------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why__item { background: rgba(255,255,255,.04); border: 1px solid rgba(143,165,245,.18); border-top: 3px solid var(--gold-400); border-radius: 12px; padding: 20px; }
.why__item h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.why__item p { margin: 0; color: var(--on-dark-soft); font-size: .97rem; }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--navy-800) 70%); color: #fff; padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(209,164,67,.15); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e0fb; max-width: 640px; margin: 0 auto 26px; font-size: 1.12rem; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Badge / pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(176,132,35,.14); color: #7a5a12; }
.pill--blue { background: rgba(39,71,201,.1); color: var(--blue); }

/* ---------- Services page groups ---------- */
.group { padding-top: 24px; scroll-margin-top: 110px; }
.group + .group { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 48px; }
.group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.group__head p { color: var(--ink-soft); margin: 0; }
.svc { display: flex; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.svc .card__icon { margin: 0; }
.svc h3 { font-size: 1.15rem; }
.svc p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } .svc { flex-direction: column; } }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.subnav a { color: var(--gold-200); border: 1px solid rgba(209,164,67,.45); padding: 6px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.subnav a:hover { background: rgba(209,164,67,.15); }

/* ---------- Packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .pkgs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pkgs { grid-template-columns: 1fr; } }
.pkg { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.pkg--featured { border: 2px solid var(--gold); box-shadow: 0 14px 40px rgba(176,132,35,.22); }
.pkg__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1a1202; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.pkg__icon { color: var(--gold); margin-bottom: 8px; }
.pkg__icon .ico { width: 34px; height: 34px; }
.pkg__for { color: var(--ink-soft); font-size: .97rem; min-height: 3.2em; }
.pkg ul { list-style: none; padding: 0; margin: 10px 0 22px; flex: 1; font-size: .95rem; }
.pkg li { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.pkg li .ico { color: var(--blue); margin-top: 4px; }
.pkg .btn { justify-content: center; }

/* Builder */
.builder { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } }
.bgroup { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 10px; margin-bottom: 20px; }
.bgroup__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.bgroup__head h3 { margin: 0; }
.bgroup__head p { margin: 0; color: var(--ink-soft); font-size: .95rem; width: 100%; }
.bgroup__all { background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; font-size: .9rem; font-family: var(--sans); }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
@media (max-width: 620px) { .opts { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; height: 100%; }
.opt label strong { display: block; font-size: .98rem; line-height: 1.3; }
.opt label small { display: block; color: var(--ink-soft); font-size: .86rem; line-height: 1.4; margin-top: 3px; }
.opt .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #b9bfd3; flex: none; display: grid; place-items: center; margin-top: 1px; transition: background .15s, border-color .15s; }
.opt .box .ico { width: 14px; height: 14px; color: #fff; opacity: 0; stroke-width: 3; }
.opt input:checked + label { border-color: var(--blue); background: rgba(39,71,201,.05); }
.opt input:checked + label .box { background: var(--blue); border-color: var(--blue); }
.opt input:checked + label .box .ico { opacity: 1; }
.opt input:focus-visible + label { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.summary { position: sticky; top: 100px; background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.summary h3 { color: #fff; margin-bottom: 4px; }
.summary__count { color: var(--gold-200); font-weight: 600; margin-bottom: 14px; }
.summary__list { list-style: none; padding: 0; margin: 0 0 16px; max-height: 300px; overflow: auto; font-size: .95rem; }
.summary__list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.summary__list button { background: none; border: 0; color: var(--on-dark-soft); cursor: pointer; padding: 0 2px; }
.summary__list button:hover { color: var(--gold-400); }
.summary__empty { color: var(--on-dark-soft); font-style: italic; }
.summary__total { display: flex; justify-content: space-between; font-weight: 700; padding: 12px 0; border-top: 1px solid rgba(209,164,67,.35); margin-bottom: 16px; }
.summary__total span:last-child { color: var(--gold-400); }
.summary .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.summary__note { font-size: .85rem; color: var(--on-dark-soft); margin: 6px 0 0; }
.presets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; align-items: center; }
.presets span { font-weight: 700; margin-right: 4px; }
.presets button { border: 1.5px solid var(--blue); background: transparent; color: var(--blue); border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; font-family: var(--sans); font-size: .92rem; }
.presets button:hover, .presets button.is-on { background: var(--blue); color: #fff; }
.presets .clear { border-color: #b9bfd3; color: var(--ink-soft); }

/* ---------- Library ---------- */
.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.report { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.report__cover { background: linear-gradient(140deg, var(--navy-800), var(--blue)); color: #fff; padding: 26px 24px 22px; position: relative; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.report__cover::before { content: ""; position: absolute; top: 0; right: 24px; width: 34px; height: 54px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.report__cover .ico { width: 30px; height: 30px; color: var(--gold-200); margin-bottom: 10px; }
.report__cover h3 { color: #fff; margin: 0; font-size: 1.22rem; }
.report__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.report__body p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.report__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.report__price { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--navy-800); }
.report__price small { font-family: var(--sans); font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr; } }
.article-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card h3 { margin: 12px 0 8px; font-size: 1.2rem; color: var(--navy-800); }
.article-card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.article-card .meta { font-size: .88rem; color: var(--gold); font-weight: 700; }
.article-card.is-soon { opacity: .75; }
.notice { display: flex; gap: 14px; align-items: flex-start; background: #fff8e6; border: 1px solid var(--gold-200); border-left: 4px solid var(--gold); padding: 16px 18px; border-radius: 10px; font-size: .97rem; color: #5a4210; }
.notice .ico { width: 24px; height: 24px; color: var(--gold); margin-top: 2px; }
.notice--blue { background: #eef2ff; border-color: #c9d4fb; border-left-color: var(--blue); color: #1f2c66; }
.notice--blue .ico { color: var(--blue); }

/* ---------- Article ---------- */
.prose { max-width: 760px; margin: 0 auto; background: var(--paper); padding: 48px clamp(20px, 5vw, 56px); border-radius: var(--radius); box-shadow: var(--shadow); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--navy-800); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .byline { color: var(--ink-soft); font-size: .95rem; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 26px; }

/* ---------- Forms ---------- */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cfd3e1; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(39,71,201,.15); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.alert--ok { background: #e8f6ec; color: #1d5a2c; border: 1px solid #b7dfc2; }
.alert--warn { background: #fff8e6; color: #5a4210; border: 1px solid var(--gold-200); }
.alert--err { background: #fdeaea; color: #7a1f1f; border: 1px solid #f2bcbc; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(39,71,201,.1); color: var(--blue); }

/* ---------- Questionnaire placeholder ---------- */
.placeholder { border: 2px dashed var(--gold-200); border-radius: var(--radius); padding: 40px 28px; text-align: center; background: rgba(255,255,255,.6); }
.placeholder .ico { width: 44px; height: 44px; color: var(--gold); margin-bottom: 10px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark-soft); padding-top: 64px; font-size: .97rem; border-top: 3px solid var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { font-family: var(--sans); color: var(--gold-400); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0 0 18px; }
.footer li { padding: 4px 0; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--gold-200); }
.footer__name { font-family: var(--serif); color: #fff; font-size: 1.35rem; margin: 10px 0 8px; }
.footer__small { font-size: .85rem; color: #7f8bb0; }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact .ico { color: var(--gold-400); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .85rem; color: #7f8bb0; }
.footer__bar-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy-900); color: #fff; border: 1px solid var(--gold); padding: 12px 20px; border-radius: 10px; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Content protection ----------
   Stops casual select/copy/drag. Form fields stay usable. */
.protect { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protect input, .protect textarea, .protect select, .protect [contenteditable] { -webkit-user-select: text; user-select: text; }
.protect img { -webkit-user-drag: none; pointer-events: auto; }

@media print {
  body.protect main, body.protect header, body.protect footer, body.protect .topbar { display: none !important; }
  body.protect::after { content: "Printing is disabled for this content. © Up Web Solutions — all rights reserved."; display: block; padding: 40px; font: 16px/1.5 Georgia, serif; }
}

/* small utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 10px; }

/* ---------- SAS Enterprises family (shared layer) ---------- */
.sasf { --sasf-bg: var(--navy-950); --sasf-accent: var(--gold-400); --sasf-font: var(--sans); --sasf-wrap: 1180px; }

/* Package cards: request / customize */
.pkg__alt { display: block; text-align: center; margin-top: 10px; font-size: .92rem; font-weight: 600; }

/* Reports: the buy button is a small form (adds the CRM item to the cart and opens checkout) */
.report__form { display: inline-flex; margin: 0; }

/* Cart, checkout and status pages (SAS Connect) in the theme's colours */
.sas-cart, .sas-checkout, .sas-order, .sas-status { --sas-accent: var(--blue); }
.sas-btn { border-radius: 999px; padding: .75em 1.4em; font-family: var(--sans); }
.sas-btn-primary { background: linear-gradient(135deg, var(--gold-400), var(--gold)); color: #1a1202; border-color: var(--gold); }
.sas-btn-primary:hover { color: #1a1202; }
.sas-checkout h2, .sas-order h2 { font-size: 1.45rem; }
.sas-checkout input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .sas-checkout textarea,
.sas-status-form input:not([type=radio]):not([type=checkbox]) { font: inherit; font-size: 1rem; padding: 10px 12px; border: 1.5px solid #cfd3e1; border-radius: 10px; background: #fff; color: var(--ink); }
.page-body { padding: 56px 0 72px; }
