/* SiteLab 2026 — light, multi-colour design system for sitelab.lv (sitelabweb).
   Replaces the dark-luxe theme. It styles the existing section markup (same classes, same CMS blocks),
   so every text, heading and link stays where Google already knows it. One family (Inter), one primary
   blue for actions, and a colour per service for identity. */

:root {
  /* neutrals */
  --white: #ffffff;
  --page: #ffffff;
  --soft: #f5f7fb;
  --soft-2: #eef1f7;
  --text: #0e1726;
  --text-2: #364152;
  --text-3: #5f6b7d;
  --text-4: #8b95a7;
  --rule: #e3e8f0;
  --rule-2: #d3dae6;
  --navy: #0b1324;
  --navy-2: #121c31;

  /* primary action colour */
  --brand: #2b59ff;
  --brand-dark: #1d43d6;
  --brand-soft: #edf1ff;

  /* one colour per service */
  --c-web: #2b59ff;   --t-web: #eef2ff;
  --c-shop: #0f9f62;  --t-shop: #e9f8f0;
  --c-sys: #7a4dff;   --t-sys: #f2edff;
  --c-bot: #f26b10;   --t-bot: #fff1e6;
  --c-mail: #e0367c;  --t-mail: #ffedf4;
  --c-wp: #0b9eb0;    --t-wp: #e6f7f9;
  --c-seo: #d98a00;   --t-seo: #fff6e2;
  --c-ux: #f0484f;    --t-ux: #ffeeee;
  --c-api: #1592e6;   --t-api: #e8f4fd;
  --c-audit: #4c9e1d; --t-audit: #eef8e6;

  /* section accent (headline accent words come from CMS as var(--gold)) */
  --accent: var(--brand);
  --accent-soft: var(--brand-soft);

  /* names the old theme and the CMS still use */
  --bg: var(--page); --bg-2: var(--soft); --bg-3: var(--soft-2);
  --paper: var(--white); --paper-2: var(--soft);
  --ink: var(--text); --ink-2: var(--text-2); --ink-3: var(--text-3); --ink-4: var(--text-4);
  --line: var(--rule); --line-2: var(--rule-2); --line-3: var(--rule-2);
  --gold: var(--accent); --gold-2: var(--accent); --gold-3: var(--accent); --gold-deep: var(--accent);
  --gold-soft: var(--accent-soft);
  --success: #12a150;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(14, 23, 38, .05), 0 2px 8px rgba(14, 23, 38, .04);
  --shadow-2: 0 2px 6px rgba(14, 23, 38, .06), 0 14px 34px rgba(14, 23, 38, .08);
  --shadow-shot: 0 1px 2px rgba(14, 23, 38, .06), 0 24px 60px -18px rgba(14, 23, 38, .28);

  --max: 1360px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --sec: clamp(34px, 4vw, 60px);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* page identity: service pages take their own colour */
[data-page="websites"] { --accent: var(--c-web); --accent-soft: var(--t-web); }
[data-page="eshops"] { --accent: var(--c-shop); --accent-soft: var(--t-shop); }
[data-page="business-systems"] { --accent: var(--c-sys); --accent-soft: var(--t-sys); }
[data-page="chatbots"] { --accent: var(--c-bot); --accent-soft: var(--t-bot); }
[data-page="email-outreach"] { --accent: var(--c-mail); --accent-soft: var(--t-mail); }
[data-page="wordpress-migration"] { --accent: var(--c-wp); --accent-soft: var(--t-wp); }
[data-page="seo-optimizacija"] { --accent: var(--c-seo); --accent-soft: var(--t-seo); }
[data-page="ui-ux-dizains"] { --accent: var(--c-ux); --accent-soft: var(--t-ux); }
[data-page="api-integracijas"] { --accent: var(--c-api); --accent-soft: var(--t-api); }
[data-page="bezmaksas-audits"] { --accent: var(--c-audit); --accent-soft: var(--t-audit); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--page); color: var(--text-2);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--text); font-weight: 650; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-family: var(--font); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.06; font-weight: 780; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.12; font-weight: 720; letter-spacing: -.03em; }
h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.3; font-weight: 650; }
h4 { font-size: 17px; line-height: 1.35; font-weight: 650; letter-spacing: -.01em; }
h5 { font-size: 15px; font-weight: 650; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; }
main > section, main > header, main > div > section { position: relative; }

/* accent words in headings (CMS spans with style="color: var(--gold)") */
.italic, h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }
h1 span[style*="--gold"], h2 span[style*="--gold"] { color: var(--accent) !important; }

/* decoration from the old theme — gone */
.hero-mesh, .hero-spotlight, .ambient-glow, .particles, .deco-dot, .deco-circle, .card-glare, .ripple,
.eyebrow, .hcc-eyebrow, .hero-showcase-left .mono, .process-step-num, .process-card .num, .scroll-indicator,
.pricing-tab-indicator, .page-progress, .cursor, .cursor-dot, .mouse-glow { display: none !important; }

/* nothing waits for a scroll to appear */
.reveal, .reveal-stagger, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration: none; position: relative; overflow: hidden;
}
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary, .btn-gold, .btn.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(29, 67, 214, .25), 0 8px 20px -8px rgba(43, 89, 255, .55); }
.btn-primary:hover, .btn-gold:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--rule-2); box-shadow: var(--shadow-1); }
.btn-outline:hover { border-color: var(--text-4); color: var(--text); }
/* one filled button per row: the second one reads as a link */
.hero-cta-row .btn + .btn, .portfolio-more .btn + .btn {
  background: none; box-shadow: none; border-color: transparent; color: var(--text); padding-inline: 8px;
}
.hero-cta-row .btn + .btn:hover { color: var(--brand); }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.nav.scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(14, 23, 38, .35); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; font-size: 21px; letter-spacing: -.03em; color: var(--text) !important; white-space: nowrap; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font: 800 14px/1 var(--font); letter-spacing: -.02em; color: #fff;
  background:
    conic-gradient(from 210deg at 70% 30%, #7a4dff, #2b59ff 30%, #1592e6 45%, #0f9f62 60%, #d98a00 75%, #f0484f 88%, #7a4dff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-size: 15.5px; font-weight: 550; color: var(--text-2); }
.nav-links > li > a:hover, .nav-links > li > a.current { color: var(--text); background: var(--soft); }
.has-dropdown > a::after { content: ''; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; opacity: .6; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 20;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 520px; padding: 10px; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s;
}
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown li a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 15px; font-weight: 550; color: var(--text); }
.nav-dropdown li a:hover { background: var(--soft); color: var(--text); }
.nav-dropdown li a .bi { display: none; }
.nav-dropdown li a::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--dot, var(--text-4)); }
.nav-dropdown-sep { grid-column: 1 / -1; border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 6px; }
.nav-dropdown-sep a { color: var(--brand) !important; }
.nav-dropdown-sep a::before { display: none; }
a[href$="/majaslapu-izstrade"], a[href$="/weboldal-keszites"] { --dot: var(--c-web); }
a[href$="/e-veikalu-izstrade"], a[href$="/webaruhaz-keszites"] { --dot: var(--c-shop); }
a[href$="/biznesa-sistemas"], a[href$="/uzleti-rendszerek"] { --dot: var(--c-sys); }
a[href$="/catbotu-izstrade"], a[href$="/chatbot-fejlesztes"] { --dot: var(--c-bot); }
a[href$="/b2b-epasta-kampanas"], a[href$="/b2b-email-kampanyok"] { --dot: var(--c-mail); }
a[href$="/no-wordpress"], a[href$="/valtas-wordpressrol"] { --dot: var(--c-wp); }
a[href$="/seo-optimizacija"], a[href$="/seo-optimalizalas"] { --dot: var(--c-seo); }
a[href$="/ui-ux-dizains"], a[href$="/ui-ux-dizajn"] { --dot: var(--c-ux); }
a[href$="/api-integracijas"], a[href$="/api-integracio"] { --dot: var(--c-api); }
a[href$="/bezmaksas-audits"], a[href$="/ingyenes-audit"] { --dot: var(--c-audit); }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-consult { min-height: 44px; padding: 0 18px; font-size: 15px; }
.nav-portal { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--text-2); font-size: 20px; border: 1px solid var(--rule); background: #fff; }
.nav-portal:hover { color: var(--text); border-color: var(--rule-2); }
.lang-switch { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.lang-switch .lang-chev { opacity: .55; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; z-index: 30; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s; display: flex; flex-direction: column;
}
.lang-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--text); font-weight: 550; font-size: 14.5px; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu .lang-code { width: 26px; font-size: 12px; font-weight: 700; color: var(--text-4); }
.lang-menu .lang-check { margin-left: auto; color: var(--brand); opacity: 0; }
.lang-menu a.active .lang-check, .lang-menu a[aria-current] .lang-check { opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--rule); background: #fff; position: relative; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); content: ''; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { left: 0; right: 0; top: -6px; }
.menu-toggle span::after { left: 0; right: 0; top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-lang-mobile { display: none; }

/* ---------- section frame ---------- */
section, .section { padding-block: var(--sec); }
.section-tight { padding-block: calc(var(--sec) * .75); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 72px); align-items: end; margin-bottom: clamp(22px, 2.6vw, 38px); }
.section-head h2 { margin: 0; }
.section-head .right { padding-bottom: 4px; }
.lead, .section-head .lead { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.6; color: var(--text-3); margin: 0; }
.section-head.center, .team-intro { text-align: center; display: block; max-width: 760px; margin-inline: auto; }

/* alternating, colour-washed backgrounds */
.services-section { background: var(--soft); }
.process-section { background: var(--brand-soft); }
.process-steps-section { background: var(--t-sys); }
.pricing-section { background: var(--soft); }
.why-section { background: #fff; }
.team-section { background: var(--t-shop); }
.faq-section { background: #fff; }
.booking-section { background: linear-gradient(180deg, var(--accent-soft), #fff 85%); }
.comparison-section { background: #fff; }
.feature-section { background: #fff; }
.portfolio-section { background: #fff; }
.logos-section { background: #fff; }
[data-page]:not([data-page="home"]) .services-section { background: var(--accent-soft); }

/* ---------- hero (service pages, contact, services hub) ---------- */
.hero { position: relative; padding-block: clamp(28px, 4vw, 64px) clamp(30px, 4vw, 58px); background:
  radial-gradient(900px 420px at 92% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
  radial-gradient(700px 360px at 8% 0%, color-mix(in srgb, var(--c-sys) 9%, transparent), transparent 70%), #fff; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.hero-headline-block h1 { margin-bottom: 18px; }
.hero-headline-block .lead, .hero-sub { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-3); max-width: 62ch; }
.hero-promises { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; max-width: 720px; }
.hero-promises li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; color: var(--text-3); line-height: 1.45; }
.hero-promises li::before { content: ''; flex: none; width: 15px; height: 9px; border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent); transform: translateY(-3px) rotate(-45deg); }
.hero-promises .hp-ico { display: none; }
.hero-promises strong { color: var(--text); }
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }

/* contact card beside the hero */
.hero-contact-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-2); }
.hcc-title { font-size: 21px; margin: 0 0 6px; }
.hcc-sub { font-size: 15px; color: var(--text-3); margin: 0 0 16px; }
.hcc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hcc-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; color: var(--text); transition: border-color .15s ease, background-color .15s ease; }
.hcc-row:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.hcc-icon { color: var(--accent); display: inline-flex; }
.hcc-text { display: flex; flex-direction: column; min-width: 0; }
.hcc-label { font-size: 12.5px; color: var(--text-4); font-weight: 550; }
.hcc-value { font-size: 15.5px; font-weight: 650; color: var(--text); overflow-wrap: anywhere; }
.hcc-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.hcc-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); }
.hcc-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(18, 161, 80, .14); }

/* metrics under a hero */
.hero-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(28px, 4vw, 48px); border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.hero-metric { padding: 18px 22px; border-left: 1px solid var(--rule); }
.hero-metric:first-child { border-left: 0; }
.hero-metric-value { font-size: clamp(24px, 2.2vw, 32px); font-weight: 750; color: var(--text); letter-spacing: -.03em; line-height: 1.1; }
.hero-metric-label { font-size: 14px; color: var(--text-3); }

/* ---------- admin panel showcase ---------- */
.hero-showcase { margin-top: clamp(28px, 4vw, 52px); }
.hero-showcase-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-showcase-left h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; font-weight: 720; letter-spacing: -.03em; margin-bottom: 14px; }
.hero-showcase-left p { color: var(--text-3); font-size: 17px; }
.hero-showcase-feats { display: grid; gap: 10px; margin-top: 18px; }
.hero-showcase-feats .feat { display: flex; align-items: center; gap: 10px; font-weight: 550; color: var(--text); font-size: 16px; }
.hero-showcase-feats .feat svg { color: var(--accent); flex: none; }

.shot { position: relative; border-radius: 14px; background: #fff; border: 1px solid var(--rule-2); box-shadow: var(--shadow-shot); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--rule); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-2); }
.shot-bar span { margin-left: 10px; height: 20px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 6px; background: #fff; border: 1px solid var(--rule); font-size: 12px; color: var(--text-4); }
.shot img { width: 100%; height: auto; }

/* legacy drawn mockup, now light */
.admin-mockup { border-radius: 16px; background: #fff; border: 1px solid var(--rule-2); box-shadow: var(--shadow-shot); overflow: hidden; }
.admin-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--rule); }
.admin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-2); }
.admin-bar .url { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--rule); font-size: 12px; color: var(--text-4); }
.admin-body { display: grid; grid-template-columns: 180px 1fr; min-height: 300px; }
.admin-side { background: var(--navy); padding: 14px 10px; display: grid; align-content: start; gap: 2px; }
.admin-side-item { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.admin-side-item.act { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-main { padding: 16px; background: var(--soft); display: grid; gap: 12px; align-content: start; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-stat { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px; }
.admin-stat .v { font-size: 20px; font-weight: 750; color: var(--brand); letter-spacing: -.02em; }
.admin-stat .l { font-size: 12px; color: var(--text-3); }
.admin-stat .change { font-size: 12px; color: var(--success); font-weight: 600; }
.admin-chart { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px; }
.admin-chart-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.admin-chart-label .pct { color: var(--success); font-weight: 600; }
.admin-chart svg { width: 100%; height: 90px; }
.admin-chart svg path[stroke] { stroke: var(--brand); }
.admin-chart svg stop { stop-color: var(--brand); }

/* ---------- logos row ---------- */
.logos-section { padding-block: 22px; border-block: 1px solid var(--rule); }
.logos-head { text-align: center; font-size: 14px; font-weight: 550; color: var(--text-4); margin-bottom: 14px; }
.logos-marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-marquee { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; animation: none !important; transform: none !important; }
.logo-item { font-size: 18px; font-weight: 700; color: var(--text-4); letter-spacing: -.01em; white-space: nowrap; }
.logo-item .dot { display: none; }

/* ---------- service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  --c: var(--accent); --t: var(--accent-soft);
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--rule); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service-card:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--rule)); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.service-card::before { content: ''; display: block; height: 6px; width: 44px; border-radius: 6px; background: var(--c); margin-bottom: 8px; }
.service-card h3 { margin: 0; font-size: 20px; }
.service-card p { color: var(--text-3); font-size: 15.5px; line-height: 1.55; margin: 0; }
.service-icon-box { display: none; }
.service-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.service-tech span, .service-tech .tag { font-size: 12.5px; font-weight: 550; color: var(--text-3); background: var(--soft); border-radius: 7px; padding: 4px 9px; }
.service-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.service-price { display: flex; flex-direction: column; font-size: 20px; font-weight: 750; color: var(--text); letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.service-price .small { font-size: 13px; font-weight: 500; color: var(--text-4); letter-spacing: 0; white-space: normal; }
.service-link { font-size: 14.5px; font-weight: 650; color: var(--c); white-space: nowrap; }

/* home: each service card carries its own colour (order = the home service list) */
#services .service-card:nth-child(1) { --c: var(--c-web); --t: var(--t-web); }
#services .service-card:nth-child(2) { --c: var(--c-shop); --t: var(--t-shop); }
#services .service-card:nth-child(3) { --c: var(--c-sys); --t: var(--t-sys); }
#services .service-card:nth-child(4) { --c: var(--c-wp); --t: var(--t-wp); }
#services .service-card:nth-child(5) { --c: var(--c-seo); --t: var(--t-seo); }
#services .service-card:nth-child(6) { --c: var(--c-ux); --t: var(--t-ux); }
#services .service-card:nth-child(7) { --c: var(--c-api); --t: var(--t-api); }
#services .service-card:nth-child(8) { --c: var(--c-audit); --t: var(--t-audit); }
#services .service-card { background: linear-gradient(180deg, var(--t) 0, #fff 120px); }

/* pain points / benefits: plain cards in the page colour */
.services-grid .service-card:not(:has(.service-foot)) { gap: 8px; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.feature-grid > div:first-child h2 { margin-bottom: 14px; }
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.feature-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.feature-row-icon { color: var(--accent); font-size: 22px; line-height: 1; padding-top: 2px; background: none !important; border: 0 !important; width: auto !important; height: auto !important; }
.feature-row-icon svg { width: 22px; height: 22px; }
.feature-row-content h4, .feature-row-content h3 { margin: 0 0 4px; font-size: 18px; }
.feature-row-content p { margin: 0; color: var(--text-3); font-size: 15.5px; }

/* ---------- process / value cards ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.process-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px; }
.process-card h3, .process-card h4 { margin: 0 0 8px; font-size: 20px; }
.process-card p { color: var(--text-3); font-size: 15.5px; margin: 0; }
.process-card .hl { background: var(--accent-soft); color: var(--accent); font-weight: 650; padding: 1px 6px; border-radius: 6px; }
.process-steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step h3, .process-step h4 { font-size: 18px; }

/* ---------- stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding-block: clamp(28px, 3.4vw, 46px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-item { padding: 6px 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat-item:first-child { border-left: 0; }
.stat-value { font-size: clamp(32px, 3.6vw, 52px); font-weight: 780; letter-spacing: -.04em; line-height: 1.05; color: #fff; }
.stat-item:nth-child(1) .stat-value { color: #8fb0ff; }
.stat-item:nth-child(2) .stat-value { color: #6fe0a8; }
.stat-item:nth-child(3) .stat-value { color: #c3acff; }
.stat-item:nth-child(4) .stat-value { color: #ffc46b; }
.stat-value .sm { font-size: .55em; margin-left: 2px; }
.stat-label { font-size: 14.5px; color: rgba(255, 255, 255, .7); margin-top: 6px; }

/* ---------- portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portfolio-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--rule); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.portfolio-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.portfolio-img { position: relative; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; border-bottom: 1px solid var(--rule); }
.portfolio-img img, .portfolio-img picture { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.portfolio-img iframe { border: 0; width: 100%; height: 100%; pointer-events: none; }
.portfolio-info { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.portfolio-info h3 { margin: 0; font-size: 19px; }
.portfolio-info p { margin: 0; font-size: 15px; color: var(--text-3); line-height: 1.55; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; order: -1; }
.portfolio-tag { font-size: 12.5px; font-weight: 550; color: var(--text-3); background: var(--soft); padding: 4px 9px; border-radius: 7px; }
.portfolio-tag:first-child { color: var(--accent); background: var(--accent-soft); }
.portfolio-link { margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 650; color: var(--brand); }
.portfolio-more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- pricing ---------- */
.pricing-tabs { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--rule); border-radius: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.pricing-tab { appearance: none; border: 0; background: none; padding: 10px 18px; border-radius: 10px; font: 600 15px/1.2 var(--font); color: var(--text-3); cursor: pointer; }
.pricing-tab.active { background: var(--navy); color: #fff; }
.pricing-panel { display: none; }
.pricing-panel.active, .pricing-panel:only-of-type { display: block; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 26px 24px; }
.price-card.featured, .price-card.highlighted, .price-card.is-highlighted { border: 2px solid var(--brand); box-shadow: 0 18px 40px -22px rgba(43, 89, 255, .55); }
.price-card h3 { margin: 0; font-size: 20px; }
.price-card > p { color: var(--text-3); font-size: 15px; margin: 0; }
.price-badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 650; padding: 5px 11px; border-radius: 8px; }
.timeline { font-size: 13.5px; color: var(--text-4); font-weight: 550; }
.price-value { font-size: clamp(32px, 3vw, 42px); font-weight: 780; color: var(--text); letter-spacing: -.04em; line-height: 1.05; }
.price-value .prefix { font-size: .45em; font-weight: 600; color: var(--text-3); letter-spacing: 0; margin-right: 4px; vertical-align: .55em; }
.price-suffix { font-size: 14px; color: var(--text-3); }
.price-maint { font-size: 14px; color: var(--text-3); background: var(--soft); border-radius: 10px; padding: 9px 12px; }
.price-maint strong { color: var(--text); }
.price-features { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.price-features li { position: relative; padding-left: 24px; font-size: 15px; color: var(--text-2); line-height: 1.45; }
.price-features li::before { content: ''; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2.2px solid var(--success); border-bottom: 2.2px solid var(--success); transform: rotate(-45deg); }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card.featured .btn-outline { background: var(--brand); color: #fff; border-color: var(--brand); }
.price-note { margin-top: 18px; font-size: 15px; color: var(--text-3); text-align: center; }

/* ---------- comparison ---------- */
.comparison-table { border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.comparison-head, .comparison-table > div[class*="row"], .comparison-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.comparison-head { background: var(--navy); color: #fff; font-weight: 650; font-size: 15px; }
.comparison-head > div, .comparison-col { padding: 14px 18px; }
.comparison-table .comparison-col { border-top: 1px solid var(--rule); font-size: 15px; }
.comparison-col-custom { background: var(--brand-soft); color: var(--text); font-weight: 600; }
.comparison-head .comparison-col-custom { background: var(--brand); color: #fff; }
.comparison-col-template { color: var(--text-3); }
.comparison-cost { margin-top: 20px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px; }
.comparison-cost-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.comparison-cost-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.comparison-cost-col { background: var(--soft); border-radius: 14px; padding: 18px; }
.comparison-cost-label { font-size: 14px; color: var(--text-3); }
.comparison-cost-3y { font-size: 30px; font-weight: 780; color: var(--text); letter-spacing: -.03em; }
.comparison-cost-monthly { font-size: 14px; color: var(--text-3); }
.comparison-cost-foot, .comparison-cost-savings { margin-top: 14px; font-weight: 650; color: var(--success); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 980px; }
.section-head + .faq-list { margin-top: 0; }
.faq-item { background: #fff; border: 1px solid var(--rule); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.faq-item.open, .faq-item.faq-item-expanded { border-color: color-mix(in srgb, var(--accent) 40%, var(--rule)); box-shadow: var(--shadow-1); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; background: none; border: 0; text-align: left; cursor: pointer; font: 650 17px/1.4 var(--font); color: var(--text); }
.faq-question h3, .faq-question h4, .faq-question span { font: inherit; margin: 0; color: inherit; }
.faq-toggle { flex: none; position: relative; width: 22px; height: 22px; color: var(--text-3); font-size: 0; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item.open .faq-toggle::after { transform: rotate(0); }
.faq-toggle svg, .faq-toggle i { display: none; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-answer { max-height: none; }
.faq-answer-inner { padding: 0 20px 18px; color: var(--text-3); font-size: 16px; line-height: 1.65; }
.faq-answer-inner a { font-weight: 600; }

/* ---------- contact / booking ---------- */
.booking-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.booking-left h2 { margin-bottom: 12px; }
.booking-left > p { color: var(--text-3); font-size: 17px; }
.booking-contacts { display: grid; gap: 10px; margin: 22px 0; }
.booking-contact { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--rule); border-radius: 14px; color: var(--text); }
.booking-contact:hover { border-color: var(--accent); color: var(--text); }
.booking-contact-icon { color: var(--accent); background: none !important; width: auto !important; height: auto !important; display: inline-flex; }
.booking-contact-info { display: flex; flex-direction: column; min-width: 0; }
.booking-contact-info .label { font-size: 13px; color: var(--text-4); font-weight: 550; }
.booking-contact-info .value { font-size: 16px; font-weight: 650; color: var(--text); overflow-wrap: anywhere; }
.booking-guarantee, .booking-availability { font-size: 15px; color: var(--text-3); margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.booking-right { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 34px); box-shadow: var(--shadow-2); }
.booking-form-head { margin-bottom: 18px; }
.booking-form-head h3 { font-size: 22px; margin: 0 0 4px; }
.booking-form-head p { color: var(--text-3); font-size: 15px; margin: 0; }
.booking-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.form-input, .form-select, .form-textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--rule-2); border-radius: 12px; background: #fff;
  font: 400 16px/1.4 var(--font); color: var(--text); transition: border-color .15s ease, box-shadow .15s ease; -webkit-appearance: none; appearance: none;
}
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%235f6b7d' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-textarea { min-height: 130px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(43, 89, 255, .14); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-4); }
.booking-form .btn { width: 100%; min-height: 54px; font-size: 16.5px; }
.booking-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13.5px; color: var(--text-3); margin-top: 4px; }
.booking-success { padding: 18px; border-radius: 12px; background: var(--t-shop); color: var(--text); font-weight: 600; }

/* ---------- why / team ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why-card { background: var(--soft); border-radius: var(--radius-lg); padding: 22px; }
.why-card h3, .why-card h4 { font-size: 19px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.why-card p { color: var(--text-3); font-size: 15.5px; margin: 0; }
.why-icon { color: var(--accent); font-size: 20px; background: none !important; margin-bottom: 8px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 26px; }
.team-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 22px; text-align: left; }
.team-avatar { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 750; font-size: 22px; margin-bottom: 12px; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3, .team-card h4 { margin: 0 0 2px; font-size: 19px; }
.team-role { font-size: 14.5px; color: var(--text-3); margin-bottom: 8px; }
.team-link { font-weight: 650; font-size: 14.5px; }

/* ---------- legal ---------- */
.legal-back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.legal-head h1 { font-size: clamp(32px, 3.6vw, 48px); }
.legal-updated { font-size: 14px; color: var(--text-4); }
.legal-card { max-width: 900px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); margin-bottom: 16px; }
.legal-section-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; display: flex; gap: 10px; }
.legal-section-title .num { display: none; }
.legal-prose { color: var(--text-2); font-size: 16.5px; line-height: 1.7; }
.legal-prose h2, .legal-prose h3 { margin-top: 1.2em; }
.legal-prose ul { padding-left: 1.2em; }

/* ---------- footer ---------- */
footer, #sl-section-ftr { background: var(--navy); color: rgba(255, 255, 255, .72); padding-block: clamp(36px, 4.4vw, 60px) 26px; font-size: 15px; }
footer .logo { color: #fff !important; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 64px); }
.footer-brand p { color: rgba(255, 255, 255, .66); font-size: 15px; margin: 14px 0; max-width: 46ch; }
.footer-brand .addr { font-size: 14px; color: rgba(255, 255, 255, .5); line-height: 1.6; }
footer h5, .footer-col h5 { color: #fff; font-size: 14px; font-weight: 650; letter-spacing: 0; text-transform: none; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: rgba(255, 255, 255, .78); }
footer a:hover { color: #fff; }
footer .footer-bottom, .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .5); }

/* ---------- cookie banner ---------- */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; pointer-events: none; }
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner { pointer-events: auto; max-width: 760px; width: 100%; display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow-2); }
.cookie-consent__text { margin: 0; font-size: 14.5px; color: var(--text-2); }
.cookie-consent__link { font-weight: 600; }
.cookie-consent__actions { display: flex; gap: 8px; flex: none; }
.cookie-consent__btn { min-height: 42px; padding: 0 16px; border-radius: 10px; font: 600 14.5px/1 var(--font); cursor: pointer; border: 1px solid var(--rule-2); background: #fff; color: var(--text); }
.cookie-consent__btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }

.back-to-top { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links > li > a { padding-inline: 10px; }
}
@media (max-width: 1024px) {
  /* no blur here: a backdrop-filter makes the header the box the fixed menu is measured against, which squashed the
     open menu to 40px on phones (Deniss 2026-11-03) */
  .nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-inner { height: 64px; gap: 12px; }
  .menu-toggle { display: inline-block; }
  .nav-consult { display: none; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--nav-h, 64px); bottom: 0; z-index: 90; margin: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: #fff; overflow-y: auto;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--rule); }
  /* the services list folds: "Pakalpojumi" opens it (site.js), "Visi pakalpojumi" inside goes to the hub (Deniss 2026-11-03) */
  .has-dropdown > a::after { margin: 0 6px 0 12px; width: 8px; height: 8px; border-right-width: 2px; border-bottom-width: 2px; transition: transform .2s ease; }
  .has-dropdown.dd-open > a::after { transform: translateY(2px) rotate(-135deg); }
  .nav-dropdown { display: none; position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 10px; grid-template-columns: 1fr 1fr; }
  .has-dropdown.dd-open > .nav-dropdown { display: grid; }
  .nav-dropdown li a { padding: 9px 6px; font-size: 15px; }
  .nav-lang-mobile { display: block; padding-top: 14px; }
  .nav-lang-mobile-label { display: block; font-size: 13px; color: var(--text-4); margin-bottom: 8px; }
  .nav-lang-mobile-options { display: flex; flex-wrap: wrap; gap: 6px; }
  .nav-lang-mobile-options a { padding: 8px 12px; border: 1px solid var(--rule); border-radius: 10px; color: var(--text); font-size: 14px; }
  .nav-lang-mobile-options a.active { border-color: var(--brand); color: var(--brand); }
  .hero-top, .hero-showcase-grid, .feature-grid, .booking-grid, .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 10px; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .services-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .services-grid::-webkit-scrollbar { display: none; }
  .services-grid > .service-card { flex: 0 0 82%; scroll-snap-align: start; }
  .portfolio-grid, .process-grid, .why-grid, .process-steps-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-promises { grid-template-columns: 1fr; gap: 8px; }
  .hero-metrics, .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-metric:nth-child(3) { border-left: 0; }
  .hero-metric:nth-child(n+3), .stat-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .stat-item:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .12); padding-top: 14px; }
  .stat-item:nth-child(3) { border-left: 0; }
  .stat-item { padding: 8px 14px; }
  .hero-cta-row .btn { flex: 1 1 auto; }
  .hero-cta-row .btn + .btn { flex: 0 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .comparison-head, .comparison-row, .comparison-table > div[class*="row"] { grid-template-columns: 1fr 1fr 1fr; font-size: 13.5px; }
  .comparison-head > div, .comparison-col { padding: 10px; }
  .cookie-consent__inner { flex-direction: column; align-items: stretch; }
  .cookie-consent__actions .cookie-consent__btn { flex: 1; }
  .lang-switch { padding: 0 10px; }
  .nav-portal { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- home hero (2026) ---------- */
.hero--home { padding-block: clamp(26px, 3.6vw, 56px) clamp(34px, 4vw, 64px);
  background:
    radial-gradient(760px 420px at 100% 0%, rgba(122, 77, 255, .13), transparent 70%),
    radial-gradient(640px 380px at 70% 105%, rgba(15, 159, 98, .10), transparent 70%),
    radial-gradient(720px 420px at 0% 0%, rgba(43, 89, 255, .10), transparent 70%), #fff; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4.4vw, 76px); align-items: center; }
.home-hero__text h1 { font-size: clamp(40px, 5vw, 72px); margin-bottom: 20px; }
.home-hero__text .hero-sub { margin-bottom: 0; }
.home-hero__text .hero-cta-row { margin-top: 28px; }
.home-hero__text .hero-promises { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.word-cycler-hero { display: inline !important; }
.word-cycler-hero .cycle-word:not(.active) { display: none !important; }
.word-cycler-hero .cycle-word { position: static !important; opacity: 1 !important; transform: none !important; }

.home-visual { position: relative; padding: 4% 7% 9% 0; }
.home-visual::before { content: ''; position: absolute; inset: 8% 0 0 10%; border-radius: 28px;
  background: linear-gradient(135deg, #dfe6ff 0%, #ece4ff 38%, #dff5ea 72%, #fff1dc 100%); }
.home-visual__item { position: relative; margin: 0; }
.home-visual__item--1 { z-index: 2; }
.home-visual__item.is-phone { position: absolute; z-index: 3; right: 0; bottom: 0; width: 25%; }
.home-visual__item--3:not(.is-phone) { position: absolute; z-index: 1; right: 2%; top: 0; width: 58%; opacity: .96; }
.home-visual__item--3:not(.is-phone) + * { z-index: 3; }
.home-visual--mock .admin-mockup { position: relative; z-index: 2; }
.shot--phone { border-radius: 26px; border: 7px solid #0e1726; box-shadow: var(--shadow-shot); }
.shot--phone img { border-radius: 19px; }

.hero-contact-strip { margin-top: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr) auto; gap: 16px 22px; align-items: center;
  padding: 16px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.hcs-intro { padding-left: 6px; }
.hcs-intro .hcc-title { font-size: 18px; margin: 0 0 2px; }
.hcs-intro .hcc-sub { font-size: 14px; margin: 0; }
.hero-contact-strip .hcc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-contact-strip .hcc-foot { margin: 0; padding: 0 6px 0 0; border: 0; }

.hero--home .hero-showcase { margin-top: clamp(40px, 5vw, 80px); padding-top: clamp(34px, 4vw, 60px); border-top: 1px solid var(--rule); }
.hero-showcase-right { min-width: 0; }
.shot-tabs .shot { aspect-ratio: auto; }
.shot-tabs__img { display: none; }
.shot-tabs__img.is-on { display: block; }
.shot-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.shot-tabs__btn { appearance: none; border: 1px solid var(--rule); background: #fff; color: var(--text-2); font: 600 14px/1 var(--font); padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.shot-tabs__btn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (max-width: 1024px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-visual { max-width: 720px; }
  .hero-contact-strip { grid-template-columns: minmax(0, 1fr); }
  .hero-contact-strip .hcc-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .home-hero__text h1 { font-size: clamp(34px, 9vw, 44px); }
  .home-visual { padding: 2% 6% 10% 0; }
  .home-visual__item.is-phone { width: 30%; }
  .shot-bar { height: 26px; }
  .shot-bar span { display: none; }
  .shot--phone { border-width: 5px; border-radius: 18px; }
}

/* ---------- fixes after the first look ---------- */
/* partner names: one calm row */
.logos-marquee { flex-wrap: nowrap; justify-content: center; }
.logos-marquee-wrap { overflow: hidden; }
/* feature lists sit beside their heading on wide screens */
.feature-section .feature-grid[style] { max-width: none !important; grid-template-columns: minmax(0, 1fr) !important; }
.feature-grid > .reveal:only-child { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(24px, 5vw, 88px); align-items: start; }
.feature-grid > .reveal:only-child > :not(.feature-list) { grid-column: 1; }
.feature-grid > .reveal:only-child > .feature-list { grid-column: 2; grid-row: 1 / span 4; }
.feature-grid > .reveal:only-child > .lead { max-width: 52ch !important; }
/* a lone last portfolio card spans the row, picture beside the text */
.portfolio-grid > .portfolio-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.portfolio-grid > .portfolio-card:last-child:nth-child(3n+1) .portfolio-img { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--rule); }
.portfolio-grid > .portfolio-card:last-child:nth-child(3n+1) .portfolio-info { padding: clamp(20px, 3vw, 40px); justify-content: center; }
/* FAQ: heading on the left, questions on the right */
.faq-section > .container:has(> .section-head + .faq-list) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.faq-section > .container > .section-head:has(+ .faq-list) { display: block; position: static; margin: 0; }
.faq-section > .container > .section-head:has(+ .faq-list) .right { margin-top: 14px; }
.faq-section .faq-list { max-width: none; }
@media (max-width: 1024px) {
  .feature-grid > .reveal:only-child { grid-template-columns: minmax(0, 1fr); }
  .feature-grid > .reveal:only-child > .feature-list { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .faq-section > .container:has(> .section-head + .faq-list) { grid-template-columns: minmax(0, 1fr); }
  .faq-section > .container > .section-head:has(+ .faq-list) { position: static; }
}
@media (max-width: 1180px) {
  .portfolio-grid > .portfolio-card:last-child:nth-child(3n+1) { grid-column: auto; display: flex; }
  .portfolio-grid > .portfolio-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* below three columns the last card is an ordinary card again: its full-height picture pushed the text out of the
     card on tablets and in the phone slider (Deniss 2026-11-03) */
  .portfolio-grid > .portfolio-card:last-child:nth-child(3n+1) .portfolio-img { aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .portfolio-grid > .portfolio-card:last-child:nth-child(3n+1) .portfolio-info { padding: 18px 20px 20px; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .portfolio-grid > .portfolio-card:last-child:nth-child(odd) { grid-column: auto; }
  .logos-marquee { justify-content: flex-start; }
}

/* ---------- service and hub heroes: the button sits under the text, the contact card beside both ---------- */
.hero:not(.hero--home) > .container:has(> .hero-top + .hero-cta-row) {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); column-gap: clamp(28px, 5vw, 88px); align-items: start;
}
.hero > .container:has(> .hero-top + .hero-cta-row) > .hero-top { display: contents; }
.hero > .container:has(> .hero-top + .hero-cta-row) .hero-headline-block { grid-column: 1; grid-row: 1; }
.hero > .container:has(> .hero-top + .hero-cta-row) .hero-right { grid-column: 2; grid-row: 1 / span 2; }
.hero > .container:has(> .hero-top + .hero-cta-row) > .hero-cta-row { grid-column: 1; grid-row: 2; margin-top: 26px; }

/* ---------- card rows sized to their count, so no card sits alone ---------- */
.services-grid:has(> .service-card:nth-child(3):last-child),
.services-grid:has(> .service-card:nth-child(6):last-child),
.services-grid:has(> .service-card:nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services-grid:has(> .service-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-grid:has(> .service-card:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.services-grid:has(> .service-card:nth-child(5):last-child) > .service-card { grid-column: span 2; }
.services-grid:has(> .service-card:nth-child(5):last-child) > .service-card:nth-child(n+4) { grid-column: span 3; }
.process-grid:has(> :nth-child(4):last-child), .why-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- footer bottom rows ---------- */
.footer-bottom > .sl-block--group { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer-bottom .tag { color: rgba(255, 255, 255, .5); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; font-size: 14px; }
.footer-legal span { color: rgba(255, 255, 255, .28); }

@media (max-width: 1024px) {
  .hero:not(.hero--home) > .container:has(> .hero-top + .hero-cta-row) { grid-template-columns: minmax(0, 1fr); }
  .hero > .container:has(> .hero-top + .hero-cta-row) .hero-headline-block { grid-row: auto; order: 0; }
  .hero > .container:has(> .hero-top + .hero-cta-row) > .hero-cta-row { grid-row: auto; order: 1; }
  .hero > .container:has(> .hero-top + .hero-cta-row) .hero-right { grid-column: 1; grid-row: auto; order: 2; margin-top: 26px; }
  .services-grid:has(> .service-card:nth-child(3):last-child),
  .services-grid:has(> .service-card:nth-child(6):last-child),
  .services-grid:has(> .service-card:nth-child(9):last-child),
  .services-grid:has(> .service-card:nth-child(5):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid:has(> .service-card:nth-child(5):last-child) > .service-card { grid-column: auto; }
  .services-grid:has(> .service-card:nth-child(9):last-child) > .service-card:last-child { grid-column: 1 / -1; }
  .process-grid:has(> :nth-child(4):last-child), .why-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .process-grid:has(> :nth-child(4):last-child), .why-grid:has(> :nth-child(4):last-child), .process-grid:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
}

/* services hub: its own order of services, ten cards as two rows of five */
[data-page="services"] #services .service-card:nth-child(1), [data-page="services"] .services-grid > .service-card:nth-child(1) { --c: var(--c-web); --t: var(--t-web); }
[data-page="services"] .services-grid > .service-card:nth-child(2) { --c: var(--c-shop); --t: var(--t-shop); }
[data-page="services"] .services-grid > .service-card:nth-child(3) { --c: var(--c-sys); --t: var(--t-sys); }
[data-page="services"] .services-grid > .service-card:nth-child(4) { --c: var(--c-bot); --t: var(--t-bot); }
[data-page="services"] .services-grid > .service-card:nth-child(5) { --c: var(--c-mail); --t: var(--t-mail); }
[data-page="services"] .services-grid > .service-card:nth-child(6) { --c: var(--c-wp); --t: var(--t-wp); }
[data-page="services"] .services-grid > .service-card:nth-child(7) { --c: var(--c-seo); --t: var(--t-seo); }
[data-page="services"] .services-grid > .service-card:nth-child(8) { --c: var(--c-ux); --t: var(--t-ux); }
[data-page="services"] .services-grid > .service-card:nth-child(9) { --c: var(--c-api); --t: var(--t-api); }
[data-page="services"] .services-grid > .service-card:nth-child(10) { --c: var(--c-audit); --t: var(--t-audit); }
[data-page="services"] .services-grid > .service-card { background: linear-gradient(180deg, var(--t) 0, #fff 120px); }
@media (min-width: 1181px) {
  .services-grid:has(> .service-card:nth-child(10):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- blog ---------- */
[data-accent="web"] { --accent: var(--c-web); --accent-soft: var(--t-web); }
[data-accent="shop"] { --accent: var(--c-shop); --accent-soft: var(--t-shop); }
[data-accent="sys"] { --accent: var(--c-sys); --accent-soft: var(--t-sys); }
[data-accent="ux"] { --accent: var(--c-ux); --accent-soft: var(--t-ux); }
[data-accent="seo"] { --accent: var(--c-seo); --accent-soft: var(--t-seo); }
[data-accent="wp"] { --accent: var(--c-wp); --accent-soft: var(--t-wp); }
.blog-hero h1 { max-width: 18ch; }
.blog-hero .lead { max-width: 64ch; margin-top: 10px; }
.blog-list-section { padding-top: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--rule); overflow: hidden; color: var(--text); transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.blog-card:hover { color: var(--text); box-shadow: var(--shadow-2); transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }
.blog-card::before { content: ''; height: 8px; background: var(--accent); }
.blog-card__img { aspect-ratio: 16 / 9; background: var(--accent-soft); overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; background: linear-gradient(180deg, var(--accent-soft), #fff 140px); }
.blog-card__title { font-size: 22px; line-height: 1.25; margin: 0; letter-spacing: -.02em; }
.blog-card__text { color: var(--text-3); font-size: 15.5px; line-height: 1.55; }
.blog-card__meta { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; font-size: 14px; color: var(--text-4); font-weight: 550; }
.blog-card__go { color: var(--accent); font-weight: 650; }

.article-head { padding-block: clamp(26px, 3.4vw, 52px) clamp(20px, 2.6vw, 36px); background: radial-gradient(800px 380px at 90% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), #fff; border-bottom: 1px solid var(--rule); }
.article-back { display: inline-flex; gap: 6px; font-weight: 600; font-size: 15px; margin-bottom: 18px; color: var(--accent); }
.article-head h1 { max-width: 22ch; font-size: clamp(34px, 4.2vw, 58px); }
.article-lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 64ch; margin: 6px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--text-4); margin: 0; }
.article-meta span + span::before { content: '\00b7'; margin-right: 18px; color: var(--rule-2); }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 340px); justify-content: space-between; gap: clamp(28px, 5vw, 80px); padding-block: clamp(28px, 3.4vw, 52px); }
.prose { font-size: 18px; line-height: 1.72; color: var(--text-2); }
.prose h2 { font-size: clamp(25px, 2.1vw, 31px); line-height: 1.2; margin: 1.9em 0 .55em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .4em; }
.prose p { margin: 0 0 1.05em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.5; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; margin: 1.4em 0; }
.prose th { background: var(--navy); color: #fff; text-align: left; font-weight: 650; padding: 12px 14px; }
.prose td { padding: 12px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--soft); }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-radius: 14px; background: var(--accent-soft); color: var(--text); }
.article-cover { margin: 0 0 1.6em; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); }
.article-faq { margin-top: 2.4em; }
.article-faq .faq-list { margin-top: .8em; }
.article-aside { position: relative; }
.article-sticky { position: sticky; top: 96px; }
.article-toc { padding: 18px 20px; border: 1px solid var(--rule); border-radius: 16px; background: #fff; margin-bottom: 16px; }
.article-toc__title { font-size: 13.5px; font-weight: 700; color: var(--text-4); margin: 0 0 8px; }
.article-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.article-toc a { display: block; padding: 6px 8px; border-radius: 8px; font-size: 14.5px; color: var(--text-2); line-height: 1.35; }
.article-toc a:hover { background: var(--soft); color: var(--text); }
.article-offer { padding: 22px; border-radius: 18px; background: var(--navy); color: rgba(255, 255, 255, .78); }
.article-offer__title { color: #fff; font-size: 21px; font-weight: 720; letter-spacing: -.02em; margin: 0 0 8px; }
.article-offer p { font-size: 15px; }
.article-offer .btn { width: 100%; margin-top: 14px; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-sticky { position: static; }
  .article-toc { display: none; }
}
@media (max-width: 760px) {
  .prose { font-size: 17px; }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* source links inside data tables: a light underline, so a table full of linked prices stays readable */
.prose table a { font-weight: 500; text-decoration-thickness: 1px; text-decoration-color: rgba(43, 89, 255, .35); text-underline-offset: 3px; }
.prose table a:hover { text-decoration-color: currentColor; }

/* ---------- phones: buttons side by side, card rows slide sideways ---------- */
@media (max-width: 760px) {
  .hero-cta-row { flex-wrap: nowrap; gap: 6px; }
  .hero-cta-row .btn { min-height: 48px; padding: 0 14px; font-size: 15px; letter-spacing: -.01em; }
  .hero-cta-row .btn .arrow { display: none; }
  .hero-cta-row .btn:first-child { flex: 1 1 auto; }
  .hero-cta-row .btn + .btn { flex: 0 1 auto; padding-inline: 10px; }

  .process-grid, .why-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none;
  }
  .process-grid::-webkit-scrollbar, .why-grid::-webkit-scrollbar { display: none; }
  .process-grid > *, .why-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
}

/* screenshot tabs (admin showcase, outreach): one row that slides sideways on phones (Deniss 2026-11-03) */
@media (max-width: 760px) {
  .shot-tabs__nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .shot-tabs__nav::-webkit-scrollbar { display: none; }
  .shot-tabs__btn { flex: none; }
}

/* phones (Deniss 2026-11-03): no stats band; price plans and the home projects slide sideways like the services; the
   plan tabs stay on one row; every slider snaps with the page gutter */
@media (max-width: 760px) {
  .stats-band { display: none; }

  .pricing-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .pricing-tabs::-webkit-scrollbar { display: none; }
  .pricing-tab { flex: none; padding: 9px 11px; font-size: 14px; white-space: nowrap; }

  .pricing-grid:has(> .price-card + .price-card), [data-page="home"] #portfolio .portfolio-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 16px var(--gutter) 24px; scrollbar-width: none;
  }
  .pricing-grid:has(> .price-card + .price-card)::-webkit-scrollbar, [data-page="home"] #portfolio .portfolio-grid::-webkit-scrollbar { display: none; }
  .pricing-grid:has(> .price-card + .price-card) > .price-card, [data-page="home"] #portfolio .portfolio-grid > .portfolio-card { flex: 0 0 82%; scroll-snap-align: start; }

  .services-grid, .process-grid, .why-grid, .pricing-grid, .portfolio-grid { scroll-padding-inline: var(--gutter); }
}

/* ---------- home hero picture: client site in front, admin behind, a phone on top ---------- */
.home-visual:not(.home-visual--mock) { position: relative; padding: 0; aspect-ratio: 1 / .8; }
.home-visual:not(.home-visual--mock)::before { inset: 9% 3% 3% 8%; border-radius: 30px; }
.home-visual:not(.home-visual--mock) .home-visual__item { position: absolute; margin: 0; }
.home-visual:not(.home-visual--mock) .home-visual__item--3 { top: 0; right: 0; width: 64%; z-index: 1; opacity: 1; }
.home-visual:not(.home-visual--mock) .home-visual__item--1 { left: 0; bottom: 7%; width: 79%; z-index: 2; }
.home-visual:not(.home-visual--mock) .home-visual__item.is-phone { right: 2%; bottom: 0; width: 22%; z-index: 3; top: auto; left: auto; }
.home-visual .shot { box-shadow: 0 1px 2px rgba(14, 23, 38, .08), 0 30px 60px -24px rgba(14, 23, 38, .35); }
.home-visual .home-visual__item--3 .shot { box-shadow: 0 1px 2px rgba(14, 23, 38, .06), 0 18px 40px -22px rgba(14, 23, 38, .3); }
@media (max-width: 1024px) {
  .home-visual:not(.home-visual--mock) { max-width: 760px; margin-top: 8px; }
}
@media (max-width: 760px) {
  .home-visual:not(.home-visual--mock) .home-visual__item.is-phone { width: 25%; }
  .home-visual .shot-bar { height: 18px; padding: 0 8px; gap: 4px; }
  .home-visual .shot-bar i { width: 6px; height: 6px; }
}

/* ---------- hero promises: on phones one line moving sideways (Deniss 2026-11-03: "a carousel, so they move linearly
   one next to each other" ... "only in the phone version") ----------
   site.js puts a copy of the list beside it and adds .is-moving. Desktop keeps the two-column list and never shows the
   copy; without the script, or with reduced motion, phones keep the plain list too. It keeps moving under the finger:
   his slider rule, no pause. */
.home-hero__text .hero-promises-strip { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.home-hero__text .hero-promises-strip .hero-promises { margin: 0; padding-top: 0; border-top: 0; }
.hero-promises-view .hero-promises[aria-hidden="true"] { display: none; }
@media (max-width: 760px) {
  .hero-promises-strip.is-moving .hero-promises-view {
    display: flex; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .hero-promises-strip.is-moving .hero-promises { display: flex; flex: none; gap: 40px; padding-right: 40px; max-width: none; animation: sl-promises var(--promises-dur, 32s) linear infinite; }
  .hero-promises-strip.is-moving .hero-promises[aria-hidden="true"] { display: flex; }
  .hero-promises-strip.is-moving .hero-promises li { flex: none; white-space: nowrap; }
}
@keyframes sl-promises { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .hero-promises-strip.is-moving .hero-promises { animation: none; } }

/* ---------- contact strip under the home hero: e-mail on one line ---------- */
.hero-contact-strip { grid-template-columns: minmax(180px, .55fr) minmax(0, 2.3fr) auto; }
.hero-contact-strip .hcc-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
.hero-contact-strip .hcc-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-contact-strip .hcc-row { padding: 11px 12px; }
@media (max-width: 1180px) {
  .hero-contact-strip { grid-template-columns: minmax(0, 1fr); }
  .hero-contact-strip .hcc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-contact-strip .hcc-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- e-shop platform band (home) ---------- */
.ecom-section { --accent: #7fe3b3; --accent-soft: rgba(127, 227, 179, .12);
  background: radial-gradient(900px 480px at 100% 0%, rgba(43, 89, 255, .28), transparent 65%), linear-gradient(135deg, #06301f 0%, #0a4a31 55%, #0d5c3c 100%);
  color: rgba(255, 255, 255, .78); padding-block: clamp(40px, 5vw, 76px); overflow: hidden; }
.ecom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ecom-text h2 { color: #fff; margin-bottom: 14px; }
.ecom-text h2 span[style] { color: var(--accent) !important; }
.ecom-text .lead { color: rgba(255, 255, 255, .78); }
.ecom-feats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.ecom-feats li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.ecom-feats strong { color: #fff; font-size: 17px; font-weight: 650; }
.ecom-feats span { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.ecom-cta { margin-top: 28px; }
.btn-light { background: #fff; color: #06301f; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn-light:hover { background: #e9fff4; color: #06301f; }
.ecom-visual { position: relative; aspect-ratio: 1 / .78; }
.ecom-shot { position: absolute; margin: 0; }
.ecom-shot--1 { top: 0; left: 0; width: 82%; z-index: 1; }
.ecom-shot--2 { right: 0; bottom: 0; width: 70%; z-index: 2; }
.ecom-section .shot { border-color: rgba(255, 255, 255, .25); box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .7); }
@media (max-width: 1024px) {
  .ecom-grid { grid-template-columns: minmax(0, 1fr); }
  .ecom-visual { max-width: 720px; }
}
@media (max-width: 760px) {
  .ecom-feats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
  .ecom-feats strong { font-size: 15.5px; }
  .ecom-feats span { font-size: 14px; }
}

/* ---------- B2B e-mail outreach band (home): heading + text on top, the tabbed admin screenshot full width, six
   feature lines below. Light, so it does not sit dark-on-dark next to the e-shop band. ---------- */
.outreach-section { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 70%); border-top: 1px solid var(--rule); padding-block: clamp(40px, 5vw, 76px); }
.outreach-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: start; margin-bottom: clamp(22px, 3vw, 36px); }
.outreach-head h2 { margin: 0; }
.outreach-intro .lead { margin: 0 0 14px; }
.outreach-proof { margin: 0 0 22px; padding: 12px 16px; border-left: 3px solid var(--brand); background: #fff; border-radius: 0 10px 10px 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); box-shadow: var(--shadow-1); }
/* the price line above the button (Deniss 2026-11-03: €50–€250 a month) */
.outreach-price { margin: 0 0 16px; font-size: 16px; line-height: 1.45; color: var(--text-3); }
.outreach-price strong { font-size: 22px; font-weight: 750; letter-spacing: -.02em; color: var(--text); }
.outreach-shots .shot { box-shadow: var(--shadow-shot); }
.outreach-shots .shot-tabs__nav { justify-content: center; }
.outreach-feats { list-style: none; padding: 0; margin: clamp(26px, 3vw, 40px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; }
.outreach-feats li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--rule); }
.outreach-feats strong { color: var(--text); font-size: 17px; font-weight: 650; }
.outreach-feats span { font-size: 15px; line-height: 1.5; color: var(--text-3); }
@media (max-width: 960px) {
  .outreach-head { grid-template-columns: minmax(0, 1fr); }
  .outreach-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .outreach-shots .shot-tabs__nav { justify-content: flex-start; }
  .outreach-feats { gap: 14px 16px; }
  .outreach-feats strong { font-size: 15.5px; }
  .outreach-feats span { font-size: 14px; }
}

/* ---------- cost calculator (page cost-calculator) in the light theme ----------
   The page carries its own <style> written for the dark theme (white text, gold edges). Its var(--gold) already
   resolves to the brand blue; these rules replace the hard-coded whites and gold tints. [data-page] outranks the
   page's own selectors, which load after this stylesheet. */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-calc, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-sec {
  --slc-line: var(--rule); --slc-edge: var(--rule-2); --slc-panel: #fff; --slc-text: var(--text-2); --slc-muted: var(--text-3);
  color: var(--text-2);
}
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-calc { background: radial-gradient(900px 420px at 92% -8%, rgba(43, 89, 255, .08), transparent 70%), #fff; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-sec { background: var(--soft); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-legend, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-label { color: var(--text); }

/* choices */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-opt span { background: #fff; border-color: var(--rule-2); color: var(--text-2); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-opt input:checked + span { color: var(--text); border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-opt input:checked + span small { color: var(--brand); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-opt input:focus-visible + span { outline-color: var(--brand); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-hours input { color: var(--text); background: #fff; border-color: var(--rule-2); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-step { color: var(--brand); background: #fff; border-color: var(--rule-2); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-note { color: var(--brand-dark); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-calc select, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-calc option { color: var(--text); background-color: #fff; }
@media (hover: hover) and (pointer: fine) {
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-opt:hover span, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-step:hover { border-color: var(--brand); }
}

/* result panel */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-result { background: #fff; border-color: var(--rule); box-shadow: 0 1px 2px rgba(14, 23, 38, .05), 0 18px 40px -22px rgba(14, 23, 38, .25); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-total, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-breakdown dd,
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-compare-title, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-compare-range { color: var(--text); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-bar-ours { background: var(--brand); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-bar-agency { border-color: #b9c3d3; background: #dfe5ef; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-diff { color: var(--text-2); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-diff strong { color: var(--brand); }

/* method, embed code, questions */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-method h2, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-embed h2, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item h3 { color: var(--text); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-method p, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-method li,
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-embed p, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item p { color: var(--text-3); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-method a, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq a { color: var(--brand); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-embed { background: var(--soft); border-color: var(--rule); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-code { color: var(--text-2); background: #fff; border-color: var(--rule-2); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-copy-status { color: var(--brand); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-vat { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--text-3); }

/* e-shop: the gain against a subscription platform, the first thing under the total (Deniss: "make it very clear") */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-platform-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-num { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; font-size: 14px; color: var(--text-2); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-num input { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--rule-2); border-radius: 12px; background: #fff; color: var(--text); font-variant-numeric: tabular-nums; width: 100%; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-num input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain { margin: 18px 0 4px; padding: 16px 18px; border-radius: 14px; background: var(--t-shop); border: 1px solid #bfe8d2; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain-label { margin: 0; font-size: 14.5px; font-weight: 650; color: #0b6b43; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain-value { display: block; margin: 2px 0 0; font-size: clamp(36px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; color: var(--c-shop); font-variant-numeric: tabular-nums; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain-sub { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #24543f; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #4f7a64; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain.is-loss { background: var(--soft); border-color: var(--rule); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain.is-loss .slc-gain-label, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain.is-loss .slc-gain-sub { color: var(--text-2); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-gain.is-loss .slc-gain-value { color: var(--text); }
@media (max-width: 640px) { :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-platform-inputs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- simpler view (Deniss 11-03: "too much information for a regular person") ---------- */
/* "Precizēt aprēķinu": the plan, extra hours and comparison rates, folded away */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more { border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more > summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 650; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more > summary::-webkit-details-marker, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how > summary::-webkit-details-marker,
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more-plain > summary::-webkit-details-marker, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-embed summary::-webkit-details-marker { display: none; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more > summary::after { content: '+'; font-size: 20px; font-weight: 500; color: var(--brand); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more[open] > summary::after { content: '–'; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more-body { display: grid; gap: 24px; padding: 4px 18px 20px; }
/* result: total + savings in sight, every calculation line under "Kā aprēķināts" */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-result .slc-gain { margin: 14px 0 0; padding: 14px 16px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-result .slc-gain-value { font-size: clamp(30px, 3.6vw, 42px); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 12px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how > summary { cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 650; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how > summary::after { content: '▾'; font-size: 12px; transition: transform .15s ease; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how[open] > summary::after { transform: rotate(180deg); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how-block { margin-top: 10px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how .slc-gain-sub { color: var(--text-2); font-size: 14px; margin: 6px 0 0; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how .slc-gain-note { color: var(--text-4); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-how .slc-breakdown { margin-top: 14px; padding-top: 12px; font-size: 14px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-vat { border-top: 0; padding-top: 0; margin-top: 12px; }
/* method notes + embed box folded */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-more-plain > summary, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-embed summary { cursor: pointer; list-style: none; font-weight: 650; color: var(--brand); margin-top: 10px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-embed summary { color: var(--text); font-size: 18px; margin: 0; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-embed details[open] summary { margin-bottom: 12px; }
/* the short answer + price table (search and AI answers quote this) */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-summary { margin-top: clamp(40px, 5vw, 64px); max-width: 980px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-summary h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 10px; color: var(--text); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-summary > p { color: var(--text-2); font-size: 16px; line-height: 1.6; margin: 0 0 16px; max-width: 75ch; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table th, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--text-2); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table thead th { font-size: 13px; font-weight: 650; color: var(--text-3); background: var(--soft); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody th { color: var(--text); font-weight: 650; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody tr:last-child th, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody tr:last-child td { border-bottom: 0; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td:last-child { color: var(--c-shop); font-weight: 650; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-asof { font-size: 13px; color: var(--text-4); margin: 10px 0 0; }
/* phones: every option row stays on one line (Deniss 2026-11-03): the pills share the width by their text, the plan
   cards in equal thirds; a longer word in another language wraps inside its pill instead of pushing a pill to a new row */
@media (max-width: 760px) {
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-options { flex-wrap: nowrap; gap: 6px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-options > .slc-opt { flex: 1 1 auto; min-width: 0; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-options > .slc-opt-card { flex: 1 1 0; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-options > .slc-opt span { flex: 1 1 auto; min-width: 0; padding: 10px 8px; font-size: 14px; white-space: normal; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-options > .slc-opt:not(.slc-opt-card) span { align-items: center; justify-content: center; text-align: center; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-options > .slc-opt-card span { padding: 10px; }
}
/* phones: the intro line goes below the result (Deniss 2026-11-03) — heading, then the questions, then the total and the
   saving, then the intro; only the visual order changes, the page source stays heading, intro, form, result */
@media (max-width: 760px) {
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators > .container { display: flex; flex-direction: column; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators > .container > .section-head,
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators > .container > .slc-grid { display: contents; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators .section-head > .left { order: 1; margin-bottom: 18px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators .slc-form { order: 2; margin-bottom: 24px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators .slc-result { order: 3; margin-bottom: 20px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators .section-head > .right { order: 4; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) #slc-kalkulators > .container > :not(.section-head):not(.slc-grid) { order: 5; }
}
/* phones: the price table as one card per project — the name, then the other studios' median beside SiteLab's price,
   then the published range — so the whole comparison fits the screen and can be screenshotted (Deniss 2026-11-03).
   The labels come from data-label on each cell (build-calculator.mjs) */
@media (max-width: 760px) {
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table { display: block; min-width: 0; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table thead { display: none; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody { display: grid; gap: 10px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name name" "median own" "range range"; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody th, :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td { border: 0; padding: 0 14px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody th { grid-area: name; padding-top: 14px; padding-bottom: 10px; font-size: 16px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 550; color: var(--text-3); }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td:nth-of-type(1) { grid-area: median; font-size: 19px; font-weight: 700; color: var(--text); }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td:nth-of-type(3) { grid-area: own; font-size: 19px; font-weight: 750; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td:nth-of-type(2) { grid-area: range; padding-top: 10px; padding-bottom: 14px; font-size: 14px; color: var(--text-3); }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table td:nth-of-type(2)::before { display: inline; margin-right: 4px; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-table tbody tr:last-child td:nth-of-type(3) { font-size: 15px; line-height: 1.35; }
  :is([data-page="cost-calculator"], [data-page="pricing"]) .slc-asof { margin-top: 12px; }
}
/* the calculator FAQ folds (Artis in DDA, 2026-11-03: "nobody is reading this"): the questions stay in sight, each answer
   opens on a tap; one column of cards like the site's other FAQs. The answers stay in the page for search and AI */
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 880px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item { border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item > summary::-webkit-details-marker { display: none; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item > summary h3 { margin: 0; font-size: 17px; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item > summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: var(--text-3); transition: transform .2s ease; }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item[open] > summary::after { transform: rotate(45deg); }
:is([data-page="cost-calculator"], [data-page="pricing"]) .slc-faq-item > p { padding: 0 20px 18px; max-width: none; }

/* ---------- cold-outreach landing (page landing, noindex) in the light theme ----------
   The section carries its own <style> written for the dark theme; these rules replace its white text, mono labels
   and gold glow. Shared parts (process cards, admin mockup, portfolio, booking form) already follow site.css. */
[data-page="landing"] .slw-landing-hero h1 { text-transform: none; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; max-width: 16ch; }
[data-page="landing"] .slw-landing-micro, [data-page="landing"] .slw-landing-video-cap,
[data-page="landing"] .slw-landing-how .slw-landing-time { font-family: inherit; letter-spacing: 0; text-transform: none; }
[data-page="landing"] .slw-landing-micro { font-size: 13px; color: var(--text-4); }
[data-page="landing"] .slw-landing-video-cap { font-size: 14px; color: var(--text-4); }
[data-page="landing"] .slw-landing-note { color: var(--text-2); background: var(--brand-soft); border-left-color: var(--brand); }
[data-page="landing"] .slw-landing-how .process-card p, [data-page="landing"] .slw-landing-why .process-card p { color: var(--text-3); }
[data-page="landing"] .slw-landing-how .slw-landing-time { font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); border-color: transparent; }
[data-page="landing"] .slw-landing-admin .feat strong { color: var(--text); }
[data-page="landing"] .slw-landing-admin .feat span { color: var(--text-3); }
[data-page="landing"] .slw-landing-admin .feat em { color: var(--brand); }
[data-page="landing"] .slw-landing-final .slw-landing-alt { color: var(--text-3); }
[data-page="landing"] .slw-landing-final .slw-landing-alt a { color: var(--brand); }
[data-page="landing"] .slw-landing-video-wrap { border-color: var(--rule); box-shadow: var(--shadow-shot); }
[data-page="landing"] .slw-landing-play span { color: #fff; box-shadow: 0 20px 50px -14px rgba(43, 89, 255, .6); }
[data-page="landing"] .slw-landing-dialog { border-color: var(--rule); background: #fff; color: var(--text); box-shadow: var(--shadow-shot); }
[data-page="landing"] .slw-landing-dialog::backdrop { background: rgba(11, 19, 36, .55); }
[data-page="landing"] .slw-landing-close { border-color: var(--rule); background: #fff; color: var(--text-3); }
[data-page="landing"] .slw-landing-err { color: #c62828; }

/* ---------- portfolio page: its own style block paints dark cards with !important; light cards win here ---------- */
body #portfolio .portfolio-grid { gap: 20px; }
body #portfolio .portfolio-card { background: #fff !important; border: 1px solid var(--rule) !important; box-shadow: none !important; transition: box-shadow .15s ease, transform .15s ease; }
body #portfolio .portfolio-card:hover { transform: translateY(-2px); border-color: var(--rule-2) !important; box-shadow: var(--shadow-2) !important; }
body #portfolio .portfolio-img.has-photo { border-bottom: 1px solid var(--rule); }
body #portfolio .portfolio-img.has-photo img, body #portfolio .portfolio-card:hover .portfolio-img.has-photo img { filter: none; transform: none; }
body #portfolio .portfolio-info { padding: 18px 20px 20px; }
body #portfolio .portfolio-info h3 { color: var(--text) !important; font-weight: 650; }
body #portfolio .portfolio-info p { color: var(--text-3) !important; font-size: 15px; line-height: 1.55; }
body #portfolio .portfolio-tag { background: var(--soft) !important; border: 0 !important; color: var(--text-3) !important; padding: 4px 9px; }
body #portfolio .portfolio-tag:first-child { color: var(--accent) !important; background: var(--accent-soft) !important; }
body #portfolio .portfolio-link { color: var(--brand) !important; }

/* ---------- FAQ page: the page title sits in the narrow left column ---------- */
.faq-section > .container > .section-head h1 { font-size: clamp(32px, 3.4vw, 50px); }

/* ---------- phones, shorter (Deniss 2026-11-03) ---------- */
/* e-shop and outreach features: details.feat ship open, so wide screens and no-JS show every line as before; on phones
   72-feat-accordion.js closes them into tap-to-open rows */
.feat > summary { display: block; list-style: none; }
.feat > summary::-webkit-details-marker { display: none; }
.feat > span { display: block; margin-top: 4px; }
@media (min-width: 761px) { .feat > summary { cursor: default; pointer-events: none; } }
@media (max-width: 760px) {
  .ecom-feats, .outreach-feats { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 20px; }
  .ecom-feats li, .outreach-feats li { padding-top: 0; }
  .ecom-feats li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .outreach-feats li:last-child { border-bottom: 1px solid var(--rule); }
  .feat > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .feat > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .65; transition: transform .2s ease; }
  .feat[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .feat > span { margin-top: -6px; padding-bottom: 14px; }

  /* tech rows (home "Mūsu tehnoloģijas", service pages): one sliding row of cards, like the services */
  .feature-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border-top: 0;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .feature-list::-webkit-scrollbar { display: none; }
  .feature-list > .feature-row { flex: 0 0 82%; scroll-snap-align: start; padding: 18px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: #fff; }

  /* project cards in the home slider: each card as tall as its own text, one row of tags, title and text clamped, so
     no empty band above "Apskatīt projektu" */
  [data-page="home"] #portfolio .portfolio-grid { align-items: flex-start; }
  [data-page="home"] #portfolio .portfolio-tags { flex-wrap: nowrap; overflow: hidden; }
  [data-page="home"] #portfolio .portfolio-tag { flex: none; }
  [data-page="home"] #portfolio .portfolio-tag:nth-child(n+3) { display: none; }
  [data-page="home"] #portfolio .portfolio-info h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  [data-page="home"] #portfolio .portfolio-info p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  [data-page="home"] #portfolio .portfolio-link { margin-top: 2px; }
}

/* a section head with no heading — empty, or only a grey line repeating the section above — is left out (Deniss
   2026-11-03: on No WordPress a big empty gap sat above the benefit cards; on Čatboti the heads were empty). The No
   WordPress benefit cards then sit right under the "why move" cards: same background, one group */
.section-head:not(:has(h1, h2)) { display: none; }
[data-page="wordpress-migration"] #sl-section-benefits > .services-section { padding-top: 0; }
[data-page="wordpress-migration"] #sl-section-pain > .services-section { padding-bottom: 24px; }

/* footer: the Rīga office under the company lines */
.footer-brand .addr .addr-office { display: inline-block; margin-top: 6px; color: rgba(255, 255, 255, .72); }

/* the "accepting projects" status line is gone everywhere (Deniss 2026-11-03) */
.hcc-foot { display: none !important; }
.hero-contact-strip { grid-template-columns: minmax(180px, .55fr) minmax(0, 2.3fr); }
@media (max-width: 1180px) { .hero-contact-strip { grid-template-columns: minmax(0, 1fr); } }

/* team: real photos */
.team-avatar { width: 84px; height: 84px; border-radius: 22px; background: var(--soft); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

/* photo left, name / role / LinkedIn right (Deniss 2026-11-03: less empty space in the cards) */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.team-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; }
.team-card .team-avatar { grid-row: 1 / span 3; margin: 0; width: 96px; height: 96px; }
.team-card h3, .team-card h4, .team-card .team-role, .team-card .team-link { grid-column: 2; }
.team-card h3, .team-card h4 { align-self: end; }
.team-card .team-role { margin-bottom: 6px; }
.team-card .team-link { align-self: start; justify-self: start; }
@media (max-width: 760px) { .team-card .team-avatar { width: 76px; height: 76px; border-radius: 18px; } }

/* four people in one row on desktop (Jānis removed again 11-03); two per row on tablets, one on phones; a fifth person wraps centred */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.team-grid > .team-card { flex: 0 1 calc((100% - 48px) / 4); min-width: 0; }
@media (max-width: 1100px) { .team-grid > .team-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .team-grid > .team-card { flex-basis: 100%; } }

/* ---------- fewer colours (Deniss 2026-11-03: "too many colours, limit them") ----------
   Palette: brand blue for actions and accents, navy for text / footer / stats, one green for the e-shop band only. */

/* every service and page uses the brand blue */
:root, [data-page], [data-accent] { --accent: var(--brand); --accent-soft: var(--brand-soft); }
.service-card, #services .service-card, [data-page="services"] .services-grid > .service-card { --c: var(--brand); --t: var(--brand-soft); }

/* cards: plain white, no colour bar on top, no tinted wash */
.service-card::before { display: none; }
#services .service-card, [data-page="services"] .services-grid > .service-card { background: #fff; }
.service-link { color: var(--brand); }

/* menu: no coloured dots */
.nav-dropdown li a::before { display: none; }

/* stats band: one colour */
.stat-item .stat-value, .stat-item:nth-child(n) .stat-value { color: #fff; }

/* logo square: solid brand blue */
.logo-mark { background: var(--brand); box-shadow: none; }

/* section washes: blue and neutral only */
.process-steps-section, .team-section { background: var(--soft); }
.hero { background: radial-gradient(900px 420px at 92% -8%, rgba(43, 89, 255, .10), transparent 70%), #fff; }
.hero--home { background: radial-gradient(820px 440px at 100% 0%, rgba(43, 89, 255, .10), transparent 70%), #fff; }
.home-visual::before, .home-visual:not(.home-visual--mock)::before { background: linear-gradient(135deg, #e8eeff 0%, #f1f4fb 100%); }
.article-head { background: radial-gradient(800px 380px at 90% -10%, rgba(43, 89, 255, .10), transparent 70%), #fff; }
.blog-card::before { background: var(--brand); }
.blog-card__body { background: #fff; }
.hcc-icon, .booking-contact-icon, .feature-row-icon, .why-icon { color: var(--brand); }

/* ---------- clients strip under the hero ---------- */
.clients-strip { padding-block: 22px; border-block: 1px solid var(--rule); background: #fff; }
.client-logos { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.client-logos__track { display: flex; align-items: center; gap: 46px; padding: 6px 23px; margin: 0; list-style: none; flex: none; animation: sl-clients 70s linear infinite; }
.client-logos__track li { flex: none; }
.client-logos__track a { display: flex; align-items: center; height: 44px; }
.client-logos__track img { max-height: 40px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: grayscale(.45); opacity: .88; transition: opacity .15s ease, filter .15s ease; }
.client-logos__track img.on-dark { filter: invert(1) hue-rotate(180deg) grayscale(.45); }   /* white logos: dark on white, hues kept */
.client-logos__track a:hover img { opacity: 1; filter: none; }
.client-logos__track a:hover img.on-dark { filter: invert(1) hue-rotate(180deg); }
.client-text { font-size: 19px; font-weight: 750; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; }
.client-text:hover { color: var(--text); }
@keyframes sl-clients { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 760px) {
  .client-logos__track { gap: 30px; }
  .client-logos__track img { max-height: 32px; max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .client-logos__track { animation: none; } .client-logos { overflow-x: auto; } }

/* ---------- logo square: the original colourful swirl under a light brand-blue wash (Deniss 11-03: back to the colourful one) ---------- */
.logo-mark { background: linear-gradient(rgba(43, 89, 255, .12), rgba(43, 89, 255, .12)), conic-gradient(from 210deg at 70% 30%, #7a4dff, #2b59ff 30%, #1592e6 45%, #0f9f62 60%, #d98a00 75%, #f0484f 88%, #7a4dff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

/* ---------- the Google rating, now an item in the hero promises (Deniss 2026-11-03: in the strip, no review count) ---------- */
.hero-promises a { color: inherit; text-decoration: none; }
.hero-promises a:hover { color: var(--brand); }

/* the rich-text editor wraps an edited heading in paragraphs: no paragraph gaps inside headings */
h1 > p, h2 > p { margin: 0; }
/* article-tables 2026-11-07: on phones every article table row is a card; each cell shows its column name (data-label,
   set by parts/99z-article-tables.js). Without the script the table keeps the old sideways scroll.
   Also the legal pages (section slw-legal-cards, .legal-prose): cookie tables become light cards, and name/value tables
   (impresszum: a th + td per row, class slw-kv) show the name as a small label above the value. */
@media (max-width: 760px) {
  .prose table.slw-stack { display: block; white-space: normal; overflow: visible; border: 0; border-radius: 0; font-size: 15.5px; }
  .prose table.slw-stack thead, .prose table.slw-stack tr.slw-stack-head { display: none; }
  .prose table.slw-stack tbody, .prose table.slw-stack tr, .prose table.slw-stack td { display: block; }
  .prose table.slw-stack tr { border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; margin: 0 0 12px; background: #fff; }
  .prose table.slw-stack tr:nth-child(even) td:not(:first-child) { background: transparent; }
  .prose table.slw-stack td { border-top: 1px solid var(--rule); padding: 10px 14px; }
  .prose table.slw-stack td:first-child { border-top: 0; background: var(--navy); color: #fff; font-weight: 650; }
  .prose table.slw-stack td:first-child a { color: #fff; }
  .prose table.slw-stack td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 13px; line-height: 1.4; font-weight: 650; color: var(--text-4); margin-bottom: 2px; }

  .legal-prose table.slw-stack { display: block; border: 0; }
  .legal-prose table.slw-stack thead, .legal-prose table.slw-stack tr.slw-stack-head { display: none; }
  .legal-prose table.slw-stack tbody, .legal-prose table.slw-stack tr, .legal-prose table.slw-stack td { display: block; }
  .legal-prose table.slw-stack tr { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin: 0 0 10px; }
  .legal-prose table.slw-stack td { border: 0; border-top: 1px solid var(--rule); padding: 8px 12px; overflow-wrap: anywhere; }
  .legal-prose table.slw-stack td:first-child { border-top: 0; background: var(--soft); color: var(--text); font-weight: 700; }
  .legal-prose table.slw-stack td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12.5px; line-height: 1.4; font-weight: 650; color: var(--text-4); }

  :is(.prose, .legal-prose) table.slw-kv { display: block; white-space: normal; overflow: hidden; border: 1px solid var(--rule); border-radius: 12px; }
  :is(.prose, .legal-prose) table.slw-kv tbody, :is(.prose, .legal-prose) table.slw-kv tr,
  :is(.prose, .legal-prose) table.slw-kv th, :is(.prose, .legal-prose) table.slw-kv td { display: block; }
  :is(.prose, .legal-prose) table.slw-kv tr + tr { border-top: 1px solid var(--rule); }
  :is(.prose, .legal-prose) table.slw-kv th { border: 0; padding: 8px 12px 0; background: none; color: var(--text-4); font-size: 12.5px; line-height: 1.4; font-weight: 650; }
  :is(.prose, .legal-prose) table.slw-kv td { border: 0; padding: 0 12px 8px; background: none; color: var(--text); overflow-wrap: anywhere; }
}

/* === multi-step contact form 2026-11-12 ===
   Styles snippets/shared/multistep-contact-form inside the existing .booking-right card. Logical properties only, so
   the Arabic (RTL) pages mirror without overrides. Without JS (.is-enhanced missing) every step shows in one stack. */
.sl-ms { display: flex; flex-direction: column; gap: 26px; min-inline-size: 0; text-align: start; }
.sl-ms [hidden] { display: none !important; }
.sl-ms-sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.sl-ms-top { display: flex; flex-direction: column; gap: 16px; }
.sl-ms-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-block-size: 28px; }
.sl-ms-logo { display: block; block-size: 26px; inline-size: auto; max-inline-size: 62%; object-fit: contain; }
.sl-ms-count { flex: none; font: 500 14px/1 var(--font); color: var(--text-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sl-ms-count b { font-weight: 700; color: var(--text); }
.sl-ms-bar { block-size: 4px; border-radius: 999px; background: var(--soft-2); overflow: hidden; }
.sl-ms-bar-fill { display: block; block-size: 100%; inline-size: 16.667%; border-radius: inherit; background: var(--brand); transition: inline-size .36s cubic-bezier(.23, 1, .32, 1); }
.sl-ms-live { position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sl-ms:not(.is-enhanced) .sl-ms-count, .sl-ms:not(.is-enhanced) .sl-ms-bar { display: none; }

.sl-msform { display: flex; flex-direction: column; gap: 20px; margin: 0; min-inline-size: 0; }
.sl-ms-steps { display: flex; flex-direction: column; gap: 40px; min-inline-size: 0; }
.sl-ms-step { display: flex; flex-direction: column; gap: 20px; min-inline-size: 0; }
.sl-ms-q { margin: 0; font: 700 clamp(22px, 2vw, 26px)/1.2 var(--font); letter-spacing: -.02em; color: var(--text); text-wrap: balance; overflow-wrap: break-word; }
.sl-ms-q:focus { outline: none; }
.sl-ms-sub { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--text-3); text-wrap: pretty; }

.sl-ms-opts { display: grid; gap: 10px; }
.sl-ms-opt { position: relative; display: flex; align-items: center; gap: 14px; min-block-size: 62px; padding: 12px 16px; border-radius: var(--radius); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .14s cubic-bezier(.23, 1, .32, 1); }
.sl-ms-opt:active { transform: scale(.985); }
.sl-ms-opt input { position: absolute; inset: 0; z-index: 2; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sl-ms-opt-box { position: absolute; inset: 0; border: 1px solid var(--rule-2); border-radius: inherit; background: #fff; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.sl-ms-opt-ico, .sl-ms-opt-label, .sl-ms-opt-mark { position: relative; z-index: 1; }
.sl-ms-opt-ico { flex: none; display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 11px; background: var(--soft); color: var(--text-2); transition: background-color .15s ease, color .15s ease; }
.sl-ms-opt-ico svg { inline-size: 21px; block-size: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sl-ms-opt-label { flex: 1 1 auto; min-inline-size: 0; font: 550 16px/1.35 var(--font); letter-spacing: -.005em; color: var(--text); overflow-wrap: break-word; }
.sl-ms-opt-mark { flex: none; inline-size: 22px; block-size: 22px; border: 1.5px solid var(--rule-2); border-radius: 50%; background: #fff center / 14px 14px no-repeat; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.sl-ms-opt input[type="checkbox"] ~ .sl-ms-opt-mark { border-radius: 7px; }
@media (hover: hover) {
  .sl-ms-opt:hover .sl-ms-opt-box { border-color: var(--text-4); background: var(--soft); }
  .sl-ms-opt:hover .sl-ms-opt-ico { background: var(--soft-2); }
  .sl-ms-opt:hover input:checked ~ .sl-ms-opt-box { border-color: var(--brand); background: var(--brand-soft); }
  .sl-ms-opt:hover input:checked ~ .sl-ms-opt-ico { background: #fff; }
}
.sl-ms-opt input:checked ~ .sl-ms-opt-box { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.sl-ms-opt input:checked ~ .sl-ms-opt-ico { background: #fff; color: var(--brand); }
.sl-ms-opt input[type="radio"]:checked ~ .sl-ms-opt-mark { border-color: var(--brand); background-color: var(--brand); box-shadow: inset 0 0 0 4.5px #fff; }
.sl-ms-opt input[type="checkbox"]:checked ~ .sl-ms-opt-mark { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sl-ms-opt input:focus-visible ~ .sl-ms-opt-box { outline: 2px solid var(--brand); outline-offset: 2px; }

.sl-ms-fields { display: grid; gap: 14px; }
.sl-ms-fields .form-group { min-inline-size: 0; }
.sl-ms-phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.sl-ms-dial { inline-size: 124px; text-align: left; }
.sl-ms:not(.is-enhanced) .sl-ms-phone { grid-template-columns: minmax(0, 1fr); }
.sl-ms:not(.is-enhanced) .sl-ms-dial { display: none; }
.sl-ms-fields .form-input[dir="ltr"] { text-align: left; }
[dir="rtl"] .sl-ms-fields .form-input[dir="ltr"]:placeholder-shown { text-align: right; }
.sl-ms-fields .form-textarea { min-height: 96px; }

.sl-ms-err { margin: -4px 0; font-size: 14.5px; line-height: 1.45; font-weight: 500; color: #c0291f; }

.sl-ms-nav { display: flex; align-items: stretch; gap: 10px; }
.sl-ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 54px; padding: 10px 24px; border: 1px solid transparent; border-radius: 999px; font: 600 16.5px/1.2 var(--font); letter-spacing: -.005em; text-align: center; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .14s cubic-bezier(.23, 1, .32, 1); }
.sl-ms-btn:active { transform: scale(.975); }
.sl-ms-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sl-ms-btn-primary { flex: 1 1 auto; background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(29, 67, 214, .25), 0 8px 20px -8px rgba(43, 89, 255, .55); }
.sl-ms-btn-primary:hover { background: var(--brand-dark); color: #fff; }
.sl-ms-btn-back { flex: none; padding-inline: 20px; background: #fff; color: var(--text-2); border-color: var(--rule-2); }
.sl-ms-btn-back:hover { border-color: var(--text-4); color: var(--text); }
.sl-ms-btn.is-busy { pointer-events: none; opacity: .72; }
.sl-ms-arrow { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
[dir="rtl"] .sl-ms-arrow { transform: scaleX(-1); }
@media (hover: hover) {
  .sl-ms-btn-primary:hover .sl-ms-arrow { transform: translateX(3px); }
  [dir="rtl"] .sl-ms-btn-primary:hover .sl-ms-arrow { transform: scaleX(-1) translateX(3px); }
}
.sl-ms:not(.is-enhanced) [data-ms-back], .sl-ms:not(.is-enhanced) [data-ms-next] { display: none; }

/* Physical right gap so the fixed .sl-wa-fab never sits on the primary button. */
.sl-ms-nav .sl-ms-btn-primary { margin-right: 68px; }

.sl-ms-after { display: grid; gap: 12px; }
.sl-ms-after .booking-trust { margin-top: 0; }
.sl-ms-privacy { margin: 0; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--text-3); text-wrap: balance; }
.sl-ms-privacy a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; white-space: nowrap; }
.sl-ms-privacy a:hover { color: var(--brand); text-decoration-color: currentColor; }

.sl-ms-thanks { display: flex; flex-direction: column; align-items: flex-start; padding-block: 6px 4px; }
.sl-ms-thanks-ico { display: grid; place-items: center; inline-size: 56px; block-size: 56px; margin-block-end: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.sl-ms-thanks-ico svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sl-ms-thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; inline-size: 100%; margin-block-start: 26px; }
.sl-ms-thanks-actions .sl-ms-btn { flex: 1 1 200px; }
.sl-ms-restart { align-self: center; margin-block-start: 14px; padding: 10px 12px; min-block-size: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--text-3); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.sl-ms-restart:hover { color: var(--brand); text-decoration-color: currentColor; }

@keyframes sl-ms-in { from { opacity: 0; transform: translateX(var(--sl-ms-dx, 14px)); } to { opacity: 1; transform: none; } }
.sl-ms.is-enhanced .sl-ms-step.is-enter, .sl-ms-thanks.is-enter { animation: sl-ms-in .28s cubic-bezier(.23, 1, .32, 1) both; }

@media (max-width: 480px) {
  .sl-ms { gap: 22px; }
  .sl-ms-step { gap: 16px; }
  .sl-ms-opt { gap: 12px; min-block-size: 58px; padding: 10px 14px; }
  .sl-ms-opt-ico { inline-size: 36px; block-size: 36px; }
  .sl-ms-opt-label { font-size: 15.5px; }
  .sl-ms-dial { inline-size: 112px; }
  .sl-ms-btn { padding-inline: 20px; }
  .sl-ms-btn-back { padding-inline: 16px; }
}
@media (max-width: 350px) {
  .sl-ms-btn-back span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sl-ms-btn-back { inline-size: 54px; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-ms.is-enhanced .sl-ms-step.is-enter, .sl-ms-thanks.is-enter { animation: none; }
  .sl-ms-bar-fill, .sl-ms-opt, .sl-ms-btn, .sl-ms-arrow { transition: none; }
  .sl-ms-opt:active, .sl-ms-btn:active { transform: none; }
}

/* Hash links should land below the sticky site header (nav is ~75px desktop / ~65px mobile).
   Extra section padding-bottom gives enough scroll room at the end of the page. */
html { scroll-padding-top: 112px; }
#contact,
.booking-section,
.booking-right,
.sl-ms,
.sl-ms-thanks {
  scroll-margin-top: 112px;
}
.booking-section { padding-bottom: 96px; }

/* sl-wa-fab clearance: the site FAB is position:fixed at the physical bottom-right
   on every breakpoint and does not flip in RTL, so this uses physical right/bottom. */
@media (max-width: 720px) {
  .sl-ms,
  .sl-ms-thanks {
    padding-bottom: 28px;
  }
  .sl-ms-nav {
    flex-wrap: wrap;
  }
  .sl-ms-nav .sl-ms-btn-primary {
    flex: 1 1 100%;
  }
  .sl-ms-thanks-actions,
  .sl-ms-after,
  .sl-ms-privacy,
  .sl-ms-restart {
    padding-right: 68px;
  }
}

/* === end multi-step contact form 2026-11-12 === */
