/* =====================================================================
   PAKALPOJUMU LAPAS: katrai savs izkārtojums, krāsa un interaktīvs elements
   (ielādē tikai apakšlapas, pēc pages.css)
   ===================================================================== */
[hidden] { display: none !important; }

/* Visām lapām tikai Justify logo zilā krāsa (--accent no styles.css); katrai lapai atšķiras izkārtojums, nevis krāsa */
main[class*="theme-"] { --active-card: color-mix(in srgb, var(--accent) 14%, #0d0e10); }
main[class*="theme-"] .field input:focus, main[class*="theme-"] .field textarea:focus, main[class*="theme-"] .field select:focus,
main[class*="theme-"] .amount:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }

/* Hero pamati */
.sv-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 64px 0 80px; }
.sv-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 460px at var(--gx, 85%) var(--gy, 0%), color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%); }
.sv-hero .wrap { position: relative; }
.sv-h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin: 0 0 20px; font-size: clamp(34px, 5.2vw, 58px); overflow-wrap: break-word; }
.sv-h1 .hl { color: var(--accent); }
.sv-hero .lead { max-width: 560px; margin-bottom: 28px; }
.sv-hero .cta-row { justify-content: flex-start; }

/* 1) centrēts */
.hero-center .sv-text { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .cta-row { justify-content: center; }
.hero-center .w { max-width: 860px; margin: 0 auto; }

/* 2) vizuālais pa kreisi, teksts pa labi */
.sv-row { display: flex; flex-wrap: wrap; gap: 44px 64px; align-items: center; }
.sv-row > .sv-t { flex: 1 1 400px; min-width: 0; }
.sv-row > .sv-v { flex: 1 1 380px; min-width: 0; }
.sv-row.is-flip { flex-direction: row-reverse; }

/* 3) milzu virsraksts augšā, zem tā plats logs */
.hero-stack .sv-text { margin-bottom: 36px; }
.hero-stack .sv-h1 { font-size: clamp(38px, 7.2vw, 88px); max-width: 1000px; }
.hero-stack .sv-sub { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.hero-stack .sv-sub .lead { margin: 0; flex: 1 1 420px; max-width: 620px; }

/* 4) liela kartīte */
.hero-card { padding: 48px 0 64px; }
.hero-card .sv-card { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, #0d0e10), var(--card) 70%); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 32px; padding: clamp(22px, 4vw, 56px); }
.hero-card .sv-text { margin-bottom: 32px; max-width: 760px; }
.hero-card .w { background: rgba(13, 14, 16, 0.55); }

/* 5) krāsaina josla, pāri tai paceļas logs */
.hero-band { padding: 0; }
.hero-band .band-top { background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 34%, #0d0e10), #0d0e10 72%); padding: 64px 0 150px; }
.hero-band .band-top .lead { margin-bottom: 28px; }
.hero-band .band-vis { margin-top: -104px; padding-bottom: 72px; }
.hero-band .w { max-width: 860px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }

/* 6) šaurs teksts + liels logs */
.hero-side .sv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 56px; align-items: center; }
.hero-side.is-flip .sv-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.hero-side.is-flip .sv-t { order: 2; }

/* Widget pamats */
.w { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; text-align: left; min-width: 0; }
.w-label { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.w .chips { margin-bottom: 16px; }
.w .seg { margin-bottom: 16px; }
.w-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 14px; }
.w-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.w-chips-l { font-size: 13px; color: var(--dim); margin-right: 4px; }
.w .chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.w .seg button.is-on { background: color-mix(in srgb, var(--accent) 22%, var(--card)); }
.w .mock { max-width: none; }
.w .mock-notice { margin-top: 14px; }
.w .hint { margin: 8px 0 0; }
.w select { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--ctrl); border-radius: 10px; padding: 13px 14px; width: 100%; min-height: 48px; }

/* Google */
.w-serp { margin-top: 4px; }

/* Meta */
.w-phone { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 16px; max-width: 360px; margin: 0 auto 18px; }
.w-phone-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.w-phone-bar strong { display: block; font-size: 15px; }
.w-phone .mock-media { aspect-ratio: 4 / 3; }
.w-phone[data-plat="ig"] { border-radius: 28px; }
.w-phone[data-plat="ig"] .mock-media { aspect-ratio: 1; border-radius: 4px; }

/* Mājaslapa */
.w-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.w-toolbar .seg, .w-toolbar .chips { margin: 0; }
.w-stage { background: repeating-linear-gradient(135deg, var(--stripe-a) 0 22px, var(--stripe-b) 22px 44px); border-radius: 16px; padding: 22px; display: flex; justify-content: center; overflow: hidden; }
.w-frame { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; width: 100%; transition: max-width 0.4s; }
.w-frame.is-desktop { max-width: 880px; }
.w-frame.is-phone { max-width: 290px; }
.w-frame .mock-bar { border-radius: 0; justify-content: space-between; margin: 0; }
.w-page { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.w-hero-b { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--card)), var(--card)); border-radius: 10px; padding: 24px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.w-hero-b b { font-family: var(--display); font-size: 22px; }
.w-hero-b span { font-size: 14px; color: var(--muted); }
.w-btn { font-style: normal; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 8px; display: inline-block; }
.w-block { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; animation: fade 0.3s ease-out; }
.w-block > i:not(.w-btn) { display: block; height: 28px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); }
.w-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.w-slots span { border: 1px solid var(--ctrl); border-radius: 8px; padding: 6px 10px; font-size: 13px; color: var(--soft); }
.w-bot { align-self: flex-end; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 99px 99px 4px 99px; animation: fade 0.3s ease-out; }
.w-langs { font-size: 12px; color: var(--accent); font-weight: 600; }
.w-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 18px; }
.w-summary p { margin: 0; color: var(--muted); }
.w-summary b { color: var(--accent); font-size: 20px; }

/* SEO */
.w-seo { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 260px); gap: 24px 32px; align-items: start; }
.w-ring { position: relative; width: 200px; height: 200px; }
.w-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.w-ring circle { fill: none; stroke-width: 10; }
.rg-bg { stroke: var(--line); }
.rg-fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 0.5s ease; }
.w-ring-n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 28px; }
.w-ring-n b { font-family: var(--display); font-size: 40px; color: var(--accent); line-height: 1; }
.w-ring-n span { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.w-check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 15px; color: var(--soft); }
.w-check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; margin: 1px 0 0; }
.w-fix ol { margin: 0; padding-left: 20px; color: var(--soft); font-size: 15px; display: flex; flex-direction: column; gap: 8px; }

/* Čatbots */
.w-chat-head { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.w-chat-head strong { display: block; }
.w-chat-log { min-height: 170px; max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; margin-bottom: 14px; }
.w-chat-sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.w-chat-form { display: flex; gap: 8px; margin-top: 12px; }
.w-chat-form input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--ctrl); border-radius: 10px; padding: 11px 14px; min-height: 44px; }
.w-chat-form input:focus { outline: none; border-color: var(--accent); }
main[class*="theme-"] .bubble.me { background: var(--accent); }

/* E-veikals */
.w-shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; margin-top: 14px; }
.w-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
.w-prods .mock-product { display: flex; flex-direction: column; gap: 4px; }
.w-prods .btn { margin-top: 6px; min-height: 38px; padding: 8px; }
.w-prods .mock-media[data-c="1"] { background: linear-gradient(135deg, #14202b, #0094e055); }
.w-prods .mock-media[data-c="2"] { background: linear-gradient(135deg, #172431, #4da3ff55); }
.w-prods .mock-media[data-c="3"] { background: linear-gradient(135deg, #1b2230, #7cc4f055); }
.w-cart { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.w-cart ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; flex: 1; }
.w-cart li { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--soft); }
.w-empty { color: var(--dim) !important; }
.w-qty { display: inline-flex; gap: 4px; }
.w-qty button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--ctrl); background: transparent; color: var(--ink); cursor: pointer; font-size: 16px; }
.w-cart .total-row b { font-size: 24px; }

/* Shipping label */
.w-lab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 24px 32px; align-items: start; }
.w-lab-grid .w-controls { grid-template-columns: 1fr; margin: 0; }
.w-lab-grid .row-2 { gap: 14px; }
.w-lab-view .mock-label { min-height: 250px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.mock-label.is-printing { animation: labelOut 0.7s ease-out; }
@keyframes labelOut { 0% { transform: translateY(-28px); opacity: 0.2; } 100% { transform: none; opacity: 1; } }
.w-lab-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.w-lab-bar .seg { margin: 0; }
.w-meter { margin-top: 16px; }
.w-meter-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.w-meter-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.35s; }
.w-meter b { color: var(--ink); }

/* Kartiņas: pieskāriens ar telefonu (augsta skatuve, lai nekas netiek nogriezts) */
.w-tap-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.w-tap-top .seg { margin: 0; flex-wrap: wrap; }
.w-tap-stage { position: relative; min-height: 470px; background: repeating-linear-gradient(135deg, var(--stripe-a) 0 22px, var(--stripe-b) 22px 44px); border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 40px 20px; overflow: hidden; }
.w-tap-card { position: relative; flex: none; height: 360px; display: flex; align-items: center; justify-content: center; }
.w-tap-card img { height: 100%; width: auto; max-width: min(340px, 52vw); object-fit: contain; display: block; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45)); }
.w-ripple { position: absolute; left: 50%; top: 56%; width: 64px; height: 64px; border: 3px solid var(--accent); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.4); pointer-events: none; }
.w-tap-stage.is-tap .w-ripple { animation: ripple 1s ease-out 0.45s 2; }
@keyframes ripple { 0% { opacity: 0.95; transform: translate(-50%, -50%) scale(0.4); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); } }
.w-tap-phone { position: relative; flex: none; width: 176px; height: 350px; background: #0b0c0e; border: 2px solid var(--ctrl); border-radius: 30px; padding: 38px 14px 22px; transform: translateX(26px); transition: transform 0.65s cubic-bezier(.2, .8, .2, 1); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); z-index: 2; }
.w-tap-phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 54px; height: 6px; border-radius: 99px; background: var(--ctrl); transform: translateX(-50%); }
.w-tap-stage.is-tap .w-tap-phone { transform: translateX(-62px); }
.w-ps { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; animation: fade 0.3s ease-out; }
.w-ps-t { margin: 0; font-weight: 700; color: var(--ink); }
.w-idle { margin: 0; color: var(--dim); font-size: 13px; line-height: 1.4; }
.w-av { width: 60px; height: 60px; border-radius: 50%; background: var(--active-card); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 26px; }
.w-spin { width: 38px; height: 38px; border: 3px solid var(--ctrl); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.w-tick { font-size: 44px; line-height: 1; color: var(--accent); }
.w-stars { display: flex; gap: 2px; justify-content: center; }
.w-stars button { background: transparent; border: 0; font-size: 28px; line-height: 1; color: var(--ctrl); cursor: pointer; padding: 2px; }
.w-stars button.is-on { color: #f5b400; }
.w-thanks { margin: 0; color: var(--accent); font-weight: 700; font-size: 17px; }

/* Kartiņu sadaļas */
.sec-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.sec-jump a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 99px; border: 1px solid var(--pill-line); color: var(--soft); transition: border-color 0.2s, color 0.2s; }
.sec-jump a:hover { border-color: var(--accent); color: var(--accent); }
.kc .cat-head { margin: 0 0 28px; }
.kc .cat-head h2 { margin: 0; }
.kc-demo { max-width: 860px; margin: 0 auto 44px; }
.kc + .kc { padding-top: 72px; }

/* Automatizācija */
.w-flow-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.w-flow-top .w-label { margin: 0; }
.w-nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.w-node { width: 100%; height: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; position: relative; transition: border-color 0.25s, background 0.25s, opacity 0.25s, transform 0.25s; }
.w-node b { font-size: 15px; }
.w-node span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.w-node.is-fixed { cursor: default; }
.w-node.is-off { opacity: 0.4; border-style: dashed; }
.w-node.is-now { border-color: var(--accent); background: var(--active-card); transform: translateY(-4px); }
.w-node.is-done { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.w-node.is-done::after { content: "✓"; position: absolute; top: 10px; right: 12px; color: var(--accent); font-weight: 700; }
.w-log { margin: 16px 0 0; min-height: 1.5em; color: var(--soft); font-size: 15px; }

/* E-pasts */
.w-inbox-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; }
.w-maillist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.w-maillist button { width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.w-maillist button[aria-selected="true"] { border-color: var(--accent); background: var(--active-card); }
.w-mt b { display: block; font-size: 15px; }
.w-mt small { color: var(--muted); font-size: 13px; }
.w-maillist em { grid-column: 2; font-style: normal; font-size: 12px; color: var(--accent); font-weight: 600; }
.w-mailpane { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; animation: fade 0.3s ease-out; }
.w-mailpane h3 { margin: 0; font-family: var(--display); font-size: 22px; }
.w-mailpane p { margin: 0; color: var(--muted); }
.w-mailpane .w-when { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.w-note { margin: 14px 0 0; }

/* Sociālie: kalendārs */
.w-cal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.w-cal-top .w-label { margin: 0; }
.w-cal-fill { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-grid > b { text-align: center; font-size: 12px; color: var(--dim); font-weight: 600; padding-bottom: 2px; }
.cal-d { font: inherit; color: var(--soft); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; min-height: 64px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.cal-d small { font-size: 11px; color: var(--dim); align-self: flex-start; padding-left: 4px; }
.cal-d span { font-size: 12px; font-weight: 600; min-height: 1em; }
.cal-d.t1 { border-color: var(--accent); background: var(--active-card); color: var(--accent); }
.cal-d.t2 { border-color: #7cc4f0; color: #7cc4f0; background: #12202c; }
.cal-d.t3 { border-color: #b9dcf5; color: #b9dcf5; background: #162430; }
.cal-d.t4 { border-color: #f2f0eb; color: #f2f0eb; background: #1b2128; }
.w-cal-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 16px; }
.w-cal-sum p { margin: 0; color: var(--muted); }
.w-cal-sum b { color: var(--ink); }
.w-cal-sum .w-sug { color: var(--accent); font-weight: 600; }

/* Cilnes */
.tabs { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab-list button { font: inherit; text-align: left; display: flex; align-items: center; gap: 14px; background: var(--card); color: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-height: 56px; cursor: pointer; font-size: 17px; font-weight: 600; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.tab-list button:hover { border-color: var(--ctrl); }
.tab-list button[aria-selected="true"] { background: var(--active-card); border-color: var(--accent); color: var(--ink); }
.tab-n { font-family: var(--display); color: var(--accent); font-weight: 700; font-size: 15px; flex: none; }
.tab-panels > div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; animation: fade 0.25s ease-out; }
.tab-panels h3 { margin: 0 0 12px; font-family: var(--display); font-size: 28px; font-weight: 600; }
.tab-panels p { margin: 0; color: var(--muted); font-size: 17px; }
.tab-panels ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--soft); }
.tab-panels li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 10px; }
.tabs.is-h { grid-template-columns: 1fr; }
.tabs.is-h .tab-list { flex-direction: row; flex-wrap: wrap; }
.tabs.is-h .tab-list button { flex: 1 1 180px; }

/* Pielāgošana telefonam: pakalpojumu lapas */
@media (max-width: 900px) {
  .hero-side .sv-grid, .hero-side.is-flip .sv-grid { grid-template-columns: 1fr; }
  .hero-side.is-flip .sv-t { order: 0; }
  .w-seo { grid-template-columns: 1fr; }
  .w-ring { margin: 0 auto; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .tab-list button, .tabs.is-h .tab-list button { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; min-height: 48px; padding: 12px 16px; font-size: 16px; }
  .w-nodes { grid-template-columns: 1fr; }
  .w-node { flex-direction: row; flex-wrap: wrap; align-items: baseline; }
  .w-node span { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .sv-hero { padding: 36px 0 48px; }
  .hero-card { padding: 24px 0 40px; }
  .hero-card .sv-card { border-radius: 24px; }
  .hero-band { padding: 0; }
  .hero-band .band-top { padding: 40px 0 120px; }
  .hero-band .band-vis { margin-top: -88px; padding-bottom: 48px; }
  .hero-stack .sv-h1 { font-size: clamp(34px, 11vw, 48px); }
  .w { padding: 16px; border-radius: 18px; }
  .w-stage { padding: 12px; }
  .w-shop-grid, .w-lab-grid, .w-inbox-grid { grid-template-columns: 1fr; }
  .w-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-prods .mock-product:nth-child(3) { display: none; }
  .w-tap-stage { min-height: 380px; gap: 8px; padding: 28px 8px; }
  .w-tap-card { height: 270px; }
  .w-tap-card img { max-width: 150px; }
  .w-tap-phone { width: 128px; height: 270px; padding: 34px 8px 16px; font-size: 13px; transform: translateX(8px); }
  .w-tap-stage.is-tap .w-tap-phone { transform: translateX(-22px); }
  .w-stars button { font-size: 24px; }
  .cal-d { min-height: 52px; }
  .cal-d span { font-size: 10px; }
  .tab-panels > div { padding: 22px; }
  .tab-panels h3 { font-size: 24px; }
  .w-toolbar { flex-direction: column; align-items: stretch; }
}

/* Atsauksmju kartiņu katalogs (kā justify.lv): foto ar numurētiem punktiem un 4 punktu saraksts zem tā */
.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.products > .product:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
.product { gap: 14px; padding: 28px; border-radius: 22px; }
.product-k { display: flex; gap: 8px; flex-wrap: wrap; }
.product-k span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 99px; background: transparent; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); text-transform: none; }
.product-k span:first-child { background: color-mix(in srgb, var(--accent) 80%, #0d0e10); color: #fff; border-color: transparent; text-transform: uppercase; }
.product h4 { font-size: 24px; }
.product .pdesc { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.pimg { height: 340px; display: flex; justify-content: center; margin: 6px 0; }
.pimg-in { position: relative; height: 100%; max-width: 100%; }
.pimg-in img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pimg-ph { height: 100%; width: 100%; max-width: 360px; aspect-ratio: auto; }
.pin, .pn { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--accent) 78%, #0d0e10); color: #fff; font-family: var(--display); font-weight: 700; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; font-size: 15px; border: 2px solid #0d0e10; }
.pn { width: 28px; height: 28px; font-size: 14px; }
.pts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.pts li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.pts b { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.pts small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.product-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 4px; }
.product-foot span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, #0d0e10); color: var(--accent); }
.product-foot em { font-style: normal; font-size: 15px; color: var(--dim); margin-left: 4px; }
@media (max-width: 760px) {
  .products { grid-template-columns: 1fr; }
  .products > .product:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
}
@media (max-width: 640px) {
  .product { padding: 20px; }
  .pimg { height: 280px; }
  .pts { grid-template-columns: 1fr; }
  .product h4 { font-size: 21px; }
}

/* Sociālie tīkli: autoledija.lv mājaslapas bilde josla augšā */
.hero-band .sv-row { align-items: center; }
.partner-shot { display: block; text-decoration: none; border-radius: 18px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: var(--card); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); transform: rotate(1.5deg); transition: transform 0.3s; }
.partner-shot:hover { transform: rotate(0) translateY(-4px); }
.ps-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #101216; border-bottom: 1px solid var(--line); }
.ps-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ctrl); }
.ps-bar b { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.partner-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ps-cap { display: block; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .partner-shot { transform: none; } }

/* Virsraksti: viss balts; tikai platformu nosaukumi kā zīmola uzlīmes */
.brand { display: inline-block; padding: 0.02em 0.28em 0.07em; border-radius: 0.22em; line-height: 1.08; white-space: nowrap; font-weight: 700; }
.b-fb { background: #4267b2; color: #fff; }
.b-ig { background: linear-gradient(135deg, #f9a03c, #dd2a7b 50%, #7a3fb5); color: #fff; }
.b-tt { background: linear-gradient(90deg, #d6006f, #58c4e6); color: #fff; }
.b-google { padding: 0 0.04em; background: none; background-image: linear-gradient(90deg, #4285f4 0 16.6%, #ea4335 16.6% 33.3%, #fbbc05 33.3% 50%, #4285f4 50% 66.6%, #34a853 66.6% 83.3%, #ea4335 83.3% 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* Hero ar fona foto (tumšs pārklājums, lai teksts lasāms) */
.sv-hero.has-bg::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center 25% / cover no-repeat; opacity: 0.55; filter: saturate(0.9); }
.sv-hero.has-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(13, 14, 16, 0.94) 0%, rgba(13, 14, 16, 0.72) 50%, rgba(13, 14, 16, 0.5) 100%), linear-gradient(180deg, rgba(13, 14, 16, 0) 55%, var(--bg) 100%); }
.sv-hero.has-bg .sv-glow { display: none; }
.hero-band.has-bg::before, .hero-band.has-bg::after { display: none; }
.hero-band.has-bg .band-top { position: relative; overflow: hidden; background: none; }
.hero-band.has-bg .band-top::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center 30% / cover no-repeat; opacity: 0.55; }
.hero-band.has-bg .band-top::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(13, 14, 16, 0.94) 0%, rgba(13, 14, 16, 0.7) 55%, rgba(13, 14, 16, 0.45) 100%), linear-gradient(180deg, rgba(13, 14, 16, 0) 60%, var(--bg) 100%); }
.hero-band.has-bg .band-top .wrap { position: relative; z-index: 1; }

/* Ķeksīšu saraksts hero daļā */
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 17px; color: var(--ink); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0e14' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero-center .ticks { align-items: center; }

/* Īsti attēli vietā, kur agrāk bija rezerves lauks */
.mock-media.has-img { padding: 0; overflow: hidden; }
.mock-media.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); display: block; }
.sv-hero.has-bg > .wrap { position: relative; z-index: 2; }
.hero-band.has-bg .band-vis { position: relative; z-index: 2; }
/* Foto redzamāki: gaišāks pārklājums, teksts joprojām lasāms */
.sv-hero.has-bg::before { opacity: 0.9; filter: saturate(0.95) brightness(0.95); }
.sv-hero.has-bg::after { background: linear-gradient(90deg, rgba(13, 14, 16, 0.86) 0%, rgba(13, 14, 16, 0.55) 52%, rgba(13, 14, 16, 0.22) 100%), linear-gradient(180deg, rgba(13, 14, 16, 0) 62%, var(--bg) 100%); }
.hero-band.has-bg .band-top::before { opacity: 0.9; }
.hero-band.has-bg .band-top::after { background: linear-gradient(90deg, rgba(13, 14, 16, 0.86) 0%, rgba(13, 14, 16, 0.55) 55%, rgba(13, 14, 16, 0.2) 100%), linear-gradient(180deg, rgba(13, 14, 16, 0) 65%, var(--bg) 100%); }
.hero-center.has-bg::after { background: linear-gradient(180deg, rgba(13, 14, 16, 0.78) 0%, rgba(13, 14, 16, 0.62) 55%, var(--bg) 100%); }
.sv-hero.has-bg .sv-h1, .sv-hero.has-bg .lead, .sv-hero.has-bg .ticks { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.page-hero-visual .about-photo { height: auto; align-self: center; }

