/* Vējstikli 2026 design (direction A "Darbnīca"), ported from explorations/a-darbnica.html.
   Fonts are self-hosted: Muller ExtraBold for headings, Inter for text (Latin, Latin Extended, Cyrillic). */
@font-face { font-family: "Muller"; src: url("../../fonts/MEB.woff2") format("woff2"), url("../../fonts/MEB.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-cyrillic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
:root { --logo: url("../img/logo.svg"); }
:root {
	--green: #009b3b;
	--green-ink: #007a2f;
	--green-tint: #e7f5ec;
	--deep: #0a2a1a;
	--ink: #14181c;
	--muted: #5b6670;
	--line: #e3e8ec;
	--soft: #f4f6f7;
	--white: #fff;
	--radius: 16px;
	--wrap: 1200px;
	--wrap-wide: 1680px;
	--gutter: clamp(20px, 3vw, 48px);
	--section: clamp(72px, 9vw, 120px);
	--display: "Muller", "Helvetica Neue", Arial, sans-serif;
	--text: "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--text); color: var(--ink); background: var(--white); font-kerning: normal; -webkit-font-smoothing: antialiased; }
:where(img) { max-width: 100%; display: block; }
:where(a) { color: inherit; }
:where(p) { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
:where(h1, h2, h3) { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; font-feature-settings: "kern" 1; }
:where(h1) { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.025em; }
:where(h2) { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.018em; }
:where(h3) { font-size: 21px; line-height: 1.2; letter-spacing: -.008em; }
.eyebrow { display: block; font: 600 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.num { font-variant-numeric: lining-nums tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; font: 600 15px/1 var(--text); text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { border-color: #c9d1d7; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header: full width, like szybex */
.header { position: fixed; inset: 0 0 auto; z-index: 40; color: #fff; transition: background-color .3s var(--ease-out, ease), box-shadow .3s var(--ease-out, ease); }
/* always on top (client asked for the szybex behaviour): transparent over the hero, solid and a little shorter once the page scrolls */
.header.stuck { background: var(--deep); box-shadow: 0 10px 30px -14px rgba(0,0,0,.45); }
.header.stuck .header-bar { height: 72px; }
html { scroll-padding-top: 88px; }
/* logo | centred menu | actions */
.header-bar { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; height: 84px; transition: height .3s var(--ease-out, ease); width: min(var(--wrap-wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.logo { display: block; width: 184px; aspect-ratio: 1008 / 118; flex: none; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.nav { display: flex; gap: 30px; margin-inline: 24px; font-size: 16.5px; font-weight: 500; }
.nav a { text-decoration: none; white-space: nowrap; opacity: .88; padding-block: 8px; }
.nav a:hover { opacity: 1; }
.header-right { margin-left: auto; justify-self: end; display: flex; align-items: center; gap: 22px; }
.phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; }
.header .btn { min-height: 44px; padding: 0 20px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: .04em; opacity: .8; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; padding: 0; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--hero-img, url("../img/Vejstikli_Fons_vejstiklu_stikla_maina.jpg")) 70% center / cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,28,17,.95) 0%, rgba(6,28,17,.8) 40%, rgba(6,28,17,.12) 100%), linear-gradient(0deg, rgba(6,28,17,.6), transparent 40%); }
.hero-inner { position: relative; min-height: min(760px, 92vh); display: flex; flex-direction: column; justify-content: center; padding: 140px 0 88px; }
.hero h1 { max-width: 8.5em; }
.hero .lead { font-size: 19px; line-height: 1.55; max-width: 44ch; margin: 24px 0 36px; color: rgba(255,255,255,.86); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-call { margin-top: 36px; font-size: 14px; color: rgba(255,255,255,.7); }
.hero-call a { display: block; font: 800 24px/1.2 var(--display); letter-spacing: -.005em; color: #fff; text-decoration: none; margin-top: 6px; }

/* Insurer logos */
.insurers { border-bottom: 1px solid var(--line); }
.insurers .wrap { display: flex; align-items: center; gap: 48px; padding-block: 30px; }
.insurers p { flex: none; width: 15ch; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--muted); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; padding-right: 72px; animation: scroll 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.lg { width: auto; height: 36px; flex: none; }
.lg-bta { height: 36px; } .lg-balta { height: 46px; } .lg-if { height: 42px; } .lg-ergo { height: 46px; } .lg-compensa { height: 36px; } .lg-swedbank { height: 32px; } .lg-ban { height: 26px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Intro + stats */
.intro { padding-top: var(--section); text-align: center; }
.section-head h2, .why h2 { margin-top: 0; }
.intro h2 { max-width: 22ch; margin-inline: auto; }
.stats { background: var(--deep); color: #fff; border-radius: 20px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 48px 24px; margin-top: 48px; }
.stat { padding: 0 16px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; font: 800 46px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.stat span { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.4; }

/* Benefits */
.benefits { padding: 72px 0 var(--section); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.benefit { border-top: 2px solid var(--ink); padding-top: 20px; }
.benefit h3 { margin: 0 0 8px; }
.benefit p { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 30ch; }

/* Services */
.services { padding-block: var(--section); background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.link-arrow i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-style: normal; font-size: 14px; transition: transform .2s; }
.link-arrow:hover i, .card:hover .link-arrow i { transform: translateX(3px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,42,26,.1); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.chip { align-self: flex-start; font-size: 13px; line-height: 1; font-weight: 600; color: var(--green-ink); background: var(--green-tint); padding: 7px 11px; border-radius: 999px; margin-bottom: 14px; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 10px; }
.card .link-arrow { margin-top: auto; padding-top: 22px; }

/* Why */
.why { padding-block: var(--section); }
.why .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why img { border-radius: 20px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
@media (max-width: 1100px) { .why img { aspect-ratio: 16 / 9; } }
.why p.body { color: var(--muted); font-size: 17px; line-height: 1.65; margin-top: 20px; max-width: 46ch; }
.quote { margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.quote p { font: 800 22px/1.35 var(--display); letter-spacing: -.01em; color: var(--ink); max-width: 30ch; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; color: var(--muted); }

/* Branches */
.branches { padding-bottom: var(--section); }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.branch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.branch img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.branch-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.branch h3 { font-size: 26px; margin-bottom: 18px; }
.branch dl { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 10px 16px; font-size: 15px; line-height: 1.45; }
.branch dt { color: var(--muted); }
.branch dd { margin: 0; font-weight: 500; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }

/* CTA */
.cta { background: var(--green); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 72px; }
.cta h2 { max-width: 18ch; }
.cta p { margin-top: 14px; color: rgba(255,255,255,.88); font-size: 17px; }
.cta .btn-primary { background: #fff; color: var(--green-ink); }
.cta .btn-primary:hover { background: var(--deep); color: #fff; }


.mobile-bar { display: none; }

@media (max-width: 1100px) {
	.nav, .header .lang, .header .btn { display: none; }
	.burger { display: grid; place-items: center; }
	.header-right { gap: 8px; }
	.benefit-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
	.cards { grid-template-columns: 1fr; }
	.card { flex-direction: row; }
	.card img { width: 42%; aspect-ratio: auto; object-fit: cover; }
	.why .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.header-bar, .header.stuck .header-bar { height: 64px; }
	html { scroll-padding-top: 76px; }
	.logo { width: 148px; }
	.phone span { display: none; }
	.phone { width: 44px; height: 44px; justify-content: center; }
	.hero-inner { min-height: 0; padding: 120px 0 56px; }
	.hero-bg { background-position: 62% center; background-image: var(--hero-img-m, var(--hero-img, url("../img/Vejstikli_Fons_vejstiklu_stikla_maina.jpg"))); }
	.hero-bg::after { background: linear-gradient(0deg, rgba(6,28,17,.96) 35%, rgba(6,28,17,.6) 100%); }
	.hero .lead { font-size: 17px; margin: 18px 0 28px; }
	.hero-ctas .btn { flex: 1 1 100%; }
	.hero-call { margin-top: 28px; }
	.insurers .wrap { flex-direction: column; align-items: start; gap: 18px; padding-block: 24px; }
	.insurers p { width: auto; }
	.marquee { width: 100%; }
	.marquee-track { gap: 48px; padding-right: 48px; }
	.lg-bta { height: 29px; } .lg-balta { height: 37px; } .lg-if { height: 34px; } .lg-ergo { height: 37px; } .lg-compensa { height: 29px; } .lg-swedbank { height: 26px; } .lg-ban { height: 21px; }
	.stats { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; margin-top: 36px; }
	.stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
	.stat b { font-size: 40px; }
	.benefits { padding-top: 56px; }
	.benefit-grid { grid-template-columns: 1fr; gap: 32px; }
	.section-head { flex-direction: column; align-items: start; margin-bottom: 32px; }
	.card { flex-direction: column; }
	.card img { width: 100%; aspect-ratio: 16 / 9; }
	.branch-grid { grid-template-columns: 1fr; }
	.branch-body { padding: 24px; }
	.branch dl { grid-template-columns: 96px 1fr; }
	.cta .wrap { flex-direction: column; align-items: start; padding-block: 56px; }
	.cta .btn { width: 100%; }
	.mobile-bar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
	.mobile-bar .btn { pointer-events: auto; justify-content: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.12); }
	body { padding-bottom: 72px; }
}
/* Footer: brand + call/booking row, four link columns, legal bar (layout adapted from szybex.pl) */
.ft { background: var(--ft-bg); color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.5; }
.ft a { text-decoration: none; transition: color .15s, background .15s; }
.ft-cols a:hover, .ft-legal a:hover, .ft-lang a:hover { color: #fff; }
.ft-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 88px 0 72px; }
.ft-logo { display: block; width: 210px; aspect-ratio: 1008 / 118; background: #fff; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; flex: none; }
.ft-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.ft-call { display: block; text-align: right; margin-right: 16px; color: #fff; }
.ft-call small { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 4px; }
.ft-call b { font-size: 22px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 88px; }
.ft-cols h2 { margin: 0 0 22px; color: #fff; font-family: var(--ft-head-font); font-weight: var(--ft-head-weight); font-size: 20px; line-height: 1.2; letter-spacing: var(--ft-head-ls); }
.ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ft-branch + .ft-branch { margin-top: 18px; }
.ft-branch b { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.ft-branch span, .ft-branch a { display: block; }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 36px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ft-legal span { color: rgba(255,255,255,.55); }
.ft-meta { display: flex; align-items: center; gap: 20px; flex: none; }
.ft-lang { display: flex; gap: 2px; }
.ft-lang a { padding: 6px 9px; border-radius: 8px; font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.ft-lang a[aria-current] { color: #fff; background: rgba(255,255,255,.12); }
.ft-social { display: flex; gap: 8px; }
.ft-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.ft-social a:hover { background: #fff; color: #0b120e; }
.ft-social svg { width: 18px; height: 18px; }
@media (max-width: 1100px) {
	.ft-top { flex-direction: column; align-items: flex-start; padding: 72px 0 56px; }
	.ft-actions { justify-content: flex-start; }
	.ft-call { text-align: left; width: 100%; margin: 0 0 8px; }
	.ft-cols { grid-template-columns: 1fr 1fr; gap: 44px 32px; padding-bottom: 64px; }
	.ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.ft-top { padding: 56px 0 44px; gap: 28px; }
	.ft-logo { width: 170px; }
	.ft-actions { width: 100%; }
	.ft-actions .btn { flex: 1 1 100%; }
	.ft-cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-bottom: 48px; }
	.ft-cols { font-size: 15px; }
	.ft-cols h4 { margin-bottom: 16px; }
	.ft-legal { flex-direction: column; gap: 10px; }
	.ft-meta { width: 100%; justify-content: space-between; }
}
.ft { --ft-bg: linear-gradient(180deg, #0f3a24 0%, #08200f 50%, #030a06 100%); --ft-head-font: var(--display); --ft-head-weight: 800; --ft-head-ls: -.01em; }
/* Header dropdown: Pakalpojumi mega panel */
.dd-trigger { display: inline-flex; align-items: center; gap: 6px; }
.dd-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.dd.open .dd-trigger svg { transform: rotate(180deg); }
.dd-panel { position: absolute; left: 50%; top: 100%; z-index: 40; width: min(1260px, 100% - 2 * var(--gutter)); padding-top: 10px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s, transform .18s, visibility 0s .18s; }
.dd.open .dd-panel { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .18s, transform .18s; }
.dd-card { display: grid; grid-template-columns: 1fr 1fr 1fr 280px; gap: 8px; padding: 12px; border-radius: var(--dd-radius); background: #fff; color: #0f1a14; box-shadow: 0 2px 4px rgba(10,20,14,.06), 0 24px 60px rgba(10,20,14,.18); text-align: left; }
.dd-col { padding: 20px 18px 18px; }
.dd-col .dd-h { margin: 0 0 12px; font: 600 12px/1 var(--dd-label-font); letter-spacing: .08em; text-transform: uppercase; color: #6a756e; }
.dd-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dd-col a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; margin: 0 -12px; border-radius: 10px; font-size: 15px; font-weight: 500; line-height: 1.3; color: #0f1a14; text-decoration: none; opacity: 1; }
.dd-col a small { font-size: 12px; font-weight: 500; color: #7a857e; white-space: nowrap; }
.dd-col a:hover { background: var(--dd-hover); color: var(--dd-accent-ink); }
.nav .dd-promo { position: relative; overflow: hidden; border-radius: calc(var(--dd-radius) - 6px); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; min-height: 260px; isolation: isolate; text-decoration: none; }
.dd-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dd-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,16,11,0) 30%, rgba(8,16,11,.88) 85%); }
.dd-promo b { font: var(--dd-head-weight) 20px/1.15 var(--dd-head-font); letter-spacing: var(--dd-head-ls); }
.dd-promo span { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.8); }
.dd-promo i { margin-top: 16px; align-self: flex-start; font-style: normal; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 999px; background: var(--dd-accent); color: var(--dd-accent-on); }
.dd-all { grid-column: 1 / 4; display: flex; align-items: center; justify-content: space-between; margin: 0 6px 4px; padding: 14px 12px 6px; border-top: 1px solid #e6ebe8; font-size: 14px; color: #5d6862; }
.dd-all a { font-weight: 600; color: #0f1a14; text-decoration: none; opacity: 1; padding: 0; }
.dd-all a:hover { color: var(--dd-accent-ink); }
.dd-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(8,16,11,.28); opacity: 0; visibility: hidden; transition: opacity .18s, visibility 0s .18s; }
.dd-scrim.on { opacity: 1; visibility: visible; transition: opacity .18s; }
.header:has(.dd.open) { z-index: 60; }
@media (max-width: 1280px) { .dd-panel, .dd-scrim { display: none; } }
.dd { --dd-radius: 18px; --dd-hover: #e7f5ec; --dd-accent: var(--green); --dd-accent-on: #fff; --dd-accent-ink: var(--green-ink); --dd-head-font: var(--display); --dd-head-weight: 800; --dd-head-ls: -.01em; --dd-label-font: var(--text); }
/* Dropdown service icons: the current site's own set, recoloured per direction (main + accent) */
.dd-col a { justify-content: flex-start; align-items: center; gap: 14px; }
.dd-ic { flex: none; width: 34px; height: 26px; display: grid; place-items: center; color: var(--ic-main); --ic-accent: var(--ic-acc); transition: color .2s; }
.dd-ic svg { width: 100%; height: 100%; }
.dd-col a:hover .dd-ic { color: var(--dd-accent-ink); }
.dd { --ic-main: var(--deep); --ic-acc: var(--green); }
.mm { --mm-bg: var(--deep); --mm-ink: #fff; --mm-muted: rgba(255,255,255,.6); --mm-line: rgba(255,255,255,.12); --mm-chip: rgba(255,255,255,.1); --mm-logo: #fff; --mm-head-font: var(--display); --mm-head-weight: 800; --mm-head-ls: -.01em; --mm-ic-main: #fff; --mm-ic-acc: #3ad07a; --mm-label-font: var(--text); }
@media (max-width: 640px) { .branch-actions .btn { flex: 1 1 auto; } }
@media (max-width: 640px) {
	/* stats stay in one compact row instead of three stacked blocks */
	.stats { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, 1.25fr); gap: 0; padding: 24px 6px; }
	.stat + .stat { border-top: 0; padding-top: 0; border-left: 1px solid rgba(255,255,255,.14); }
	.stat { padding: 0 7px; }
	.stat b { font-size: clamp(15px, 5.2vw, 24px); }
	.stat span { font-size: 12px; margin-top: 8px; }
}
@media (max-width: 359px) {
	.stat span { font-size: 11px; }
}
/* keep the menu truly centred: phone as an icon below 1520px, tighter menu below 1320px */
@media (max-width: 1520px) { .header .phone span { display: none; } .header .phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); } }
@media (max-width: 1320px) { .nav { gap: 22px; margin-inline: 16px; font-size: 16px; } }
/* below 1281px the menu, booking button and language move into the burger menu */
@media (max-width: 1280px) {
	.nav, .header .lang, .header .btn { display: none; }
	.burger { display: grid; place-items: center; }
	.header-right { gap: 8px; }
	.header-bar { display: flex; }
	.header .phone { box-shadow: none; }
}

/* ---- Mobile and tablet menu ---- */
/* Mobile and tablet menu (built by menu.js from the page's own header and dropdown). Colours come from per-page --mm-* variables. */
.mm { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: var(--mm-bg); color: var(--mm-ink); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease-out, ease), transform .5s var(--ease-out, ease), visibility 0s .35s; overscroll-behavior: contain; }
.mm.open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease-out, ease), transform .5s var(--ease-out, ease); }
html.mm-lock, html.mm-lock body { overflow: hidden; }
.mm-bar { flex: none; display: flex; align-items: center; justify-content: space-between; height: 68px; padding-inline: var(--gutter, 20px); border-bottom: 1px solid var(--mm-line); }
.mm-logo { display: block; width: 150px; aspect-ratio: 1008 / 118; background: var(--mm-logo); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.mm-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mm-chip); color: inherit; cursor: pointer; }
.mm-close svg { width: 20px; height: 20px; }
.mm-body { flex: 1; overflow-y: auto; padding: 8px var(--gutter, 20px) 24px; -webkit-overflow-scrolling: touch; }
.mm-nav { list-style: none; margin: 0; padding: 0; }
.mm-nav > li { border-bottom: 1px solid var(--mm-line); }
.mm-nav > li > a, .mm-acc { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; border: 0; background: none; color: inherit; text-decoration: none; text-align: left; cursor: pointer; font: var(--mm-head-weight, 600) 24px/1.15 var(--mm-head-font); letter-spacing: var(--mm-head-ls, -.02em); }
.mm-acc svg { width: 20px; height: 20px; transition: transform .35s var(--ease-out, ease); }
.mm-acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out, ease); }
.mm-sub.open { grid-template-rows: 1fr; }
.mm-sub > div { overflow: hidden; }
.mm-group { padding: 4px 0 14px; }
.mm-group .mm-h { margin: 10px 0 6px; font: 600 12px/1 var(--mm-label-font, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--mm-muted); }
.mm-group ul { list-style: none; margin: 0; padding: 0; }
.mm-group a { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: inherit; text-decoration: none; font-size: 16px; font-weight: 500; }
.mm-group .dd-ic { width: 32px; height: 24px; color: var(--mm-ic-main); --ic-accent: var(--mm-ic-acc); }
.mm-foot { flex: none; display: grid; gap: 10px; padding: 16px var(--gutter, 20px) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--mm-line); }
.mm-call { display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: inherit; }
.mm-call small { display: block; font-size: 13px; color: var(--mm-muted); }
.mm-call b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.mm-lang { display: flex; gap: 4px; }
.mm-lang a { padding: 7px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--mm-muted); text-decoration: none; }
.mm-lang a[aria-current] { color: var(--mm-ink); background: var(--mm-chip); }
.mm-foot .btn { width: 100%; justify-content: center; }
.mm-foot .btn .chip { margin-left: auto; }
/* stagger the rows in */
.mm .mm-nav > li, .mm .mm-foot > * { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease-out, ease), transform .55s var(--ease-out, ease); }
.mm.open .mm-nav > li, .mm.open .mm-foot > * { opacity: 1; transform: none; }
.mm.open .mm-nav > li:nth-child(2) { transition-delay: .04s; } .mm.open .mm-nav > li:nth-child(3) { transition-delay: .08s; }
.mm.open .mm-nav > li:nth-child(4) { transition-delay: .12s; } .mm.open .mm-nav > li:nth-child(5) { transition-delay: .16s; }
.mm.open .mm-foot > * { transition-delay: .2s; }
@media (min-width: 1281px) { .mm { display: none; } }
.nw { white-space: nowrap; }
html.mm-lock nav[aria-label="Dizaina virzieni"] { display: none !important; }
/* the floating booking button on phones waits until the hero has scrolled away */
.mobile-bar .btn { transform: translateY(calc(100% + 28px)); opacity: 0; transition: transform .55s var(--ease-out, ease), opacity .3s var(--ease-out, ease); }
.mobile-bar.show .btn { transform: none; opacity: 1; }

/* ---- Motion ---- */
/*
  Shared motion for the three directions. Everything is gated on html.motion, which a tiny inline
  script sets only when the visitor has not asked for reduced motion. Without it, or without JS,
  the pages render fully static. A failsafe animation reveals anything still hidden after 2.5s.
*/
:root {
	--ease-out: cubic-bezier(.16, 1, .3, 1);      /* expo-out: fast start, long soft landing */
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--ease-spring: cubic-bezier(.34, 1.4, .64, 1); /* small overshoot for presses and chips */
}

/* Micro-interactions: one easing everywhere */
.btn, .card, .svc, .branch, .nav a, .dd-col a, .ft a, .all, .link-arrow, .bk-row, .bk-slot, .bk-day, .bk-seg button { transition-timing-function: var(--ease-out); }
.btn .chip, .btn .arr, .link-arrow i, .card .go .chip, .all svg { transition: transform .45s var(--ease-spring); }
.svc, .branch { transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out); }
.svc:hover { transform: translateY(-2px); }
.branch:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .08s; }

@keyframes mo-failsafe { to { opacity: 1; transform: none; clip-path: none; } }
@keyframes mo-zoom { from { transform: scale(1.12); } }
@keyframes mo-word { from { transform: translateY(110%); } }

/* Hero entrance */
html.motion .hero :is(.lead, .hero-ctas, .hero-call, .trust, .booker, .hero-photo, .rating):not(.in) { opacity: 0; transform: translateY(22px); animation: mo-failsafe 0s 2.5s forwards; }
html.motion .hero .vphoto:not(.in) { opacity: 0; transform: translateX(6%) scale(.96); animation: mo-failsafe 0s 2.5s forwards; }
html.motion .hero-bg:not(.in) { opacity: 0; animation: mo-failsafe 0s 2.5s forwards; }
html.motion .hero :is(.lead, .hero-ctas, .hero-call, .trust, .booker, .hero-photo, .rating, .vphoto) { transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out); }
html.motion .hero-bg { transition: opacity 1.4s var(--ease-out); }
html.motion .hero h1:not(.split) { opacity: 0; animation: mo-failsafe 0s 2.5s forwards; }
html.motion .hero-photo.in img, html.motion .vphoto.in img { animation: mo-zoom 1.8s var(--ease-out) backwards; }

/* Headline words rise from behind a mask (padding keeps Latvian accents and descenders unclipped) */
/* fixed line breaks (<br>) in the markup; no balancing, so nothing re-wraps after the entrance */
.split { text-wrap: wrap; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .1em; margin: -.14em 0 -.1em; }
.split .wi { display: inline-block; will-change: transform; }
html.motion .split:not(.in) .wi { transform: translateY(110%); }
html.motion .split .wi { transition: transform 1.05s var(--ease-out); }

/* Scroll reveals */
html.motion .rv:not(.in) { opacity: 0; transform: translateY(28px); animation: mo-failsafe 0s 2.5s forwards; animation-play-state: paused; }
html.motion .rv { transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
html.motion .rv.in img { animation: mo-zoom 1.5s var(--ease-out) backwards; }
html.motion .rv.in .ft-logo, html.motion .rv.in .logo { animation: none; }

/* Header gains a hairline shadow once the page scrolls */
.header { transition: box-shadow .4s var(--ease-out), background .4s var(--ease-out); }
html.scrolled .header { box-shadow: 0 1px 0 rgba(10, 20, 14, .06), 0 10px 30px -18px rgba(10, 20, 14, .35); }

/* Dropdown: panel eases in, columns follow one after another */
.dd-panel { transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s .3s !important; }
.dd.open .dd-panel { transition: opacity .3s var(--ease-out), transform .45s var(--ease-out) !important; }
.dd-col, .dd-promo, .dd-all { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .5s var(--ease-out); }
.dd.open :is(.dd-col, .dd-promo, .dd-all) { opacity: 1; transform: none; }
.dd.open .dd-col:nth-child(2) { transition-delay: .04s; }
.dd.open .dd-col:nth-child(3) { transition-delay: .08s; }
.dd.open .dd-promo { transition-delay: .12s; }
.dd.open .dd-all { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* WordPress: keep the fixed header below the admin bar */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; z-index: 1000; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 12px 16px; background: #fff; color: var(--ink); border-radius: 8px; }

/* WordPress markup on top of the static design */
.lang { display: flex; gap: 10px; }
.lang a { text-decoration: none; }
.lang a:hover { opacity: 1; }
.nav a[aria-current] { opacity: 1; }
.branch dd a { text-decoration: none; }
.branch dd a:hover { color: var(--green-ink); }
.ft-legal [role="button"] { cursor: pointer; }
.ft-legal [role="button"]:hover { color: #fff; }

/* Buttons in the theme's own type, whatever plugin CSS is on the page */
.btn { text-transform: none; letter-spacing: 0; cursor: pointer; }
.btn-ghost, .btn-outline { background: transparent; }

/* ===================== Inner pages ===================== */

/* Page hero: dark band under the transparent header, the page's own photo faded in */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--deep); }
.page-hero__bg { position: absolute; inset: 0; background: center / cover no-repeat; }
/* same treatment as the homepage hero: text side dark, the photo shows through on the right */
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,28,17,.95) 0%, rgba(6,28,17,.8) 42%, rgba(6,28,17,.18) 100%), linear-gradient(0deg, rgba(6,28,17,.55), transparent 45%); }
@media (max-width: 760px) { .page-hero__bg::after { background: linear-gradient(90deg, rgba(6,28,17,.92), rgba(6,28,17,.7)), linear-gradient(0deg, rgba(6,28,17,.5), transparent 50%); } }
.page-hero__bg { background-position: 70% center; }
.page-hero__inner { position: relative; padding: 156px 0 64px; }
.page-hero--lg .page-hero__inner { padding: 176px 0 88px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.022em; max-width: 16em; }
.page-hero .lead { font-size: 18px; line-height: 1.55; max-width: 52ch; margin-top: 20px; color: rgba(255,255,255,.86); }
.page-hero .hero-ctas { margin-top: 32px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 18px; font-size: 14px; color: rgba(255,255,255,.62); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }
@media (max-width: 640px) {
	.page-hero__inner { padding: 112px 0 44px; }
	.page-hero--lg .page-hero__inner { padding: 120px 0 52px; }
	.page-hero .lead { font-size: 16.5px; }
	.page-hero .hero-ctas .btn { flex: 1 1 100%; }
}

/* Readable content column for block-editor pages */
.page-body { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.prose { color: var(--ink); font-size: 17px; line-height: 1.7; }
/* the column lines up with the hero title on the left; text stays at a readable measure */
.prose > *, .prose .wp-block-group__inner-container > *, .prose .wp-block-group > * { max-width: 780px; }
.prose .wp-block-group { max-width: none; }
.prose .in-row, .prose .youtube { max-width: 900px; }
.prose > * + *, .prose .wp-block-group__inner-container > * + *, .prose .wp-block-group > * + * { margin-top: 1.1em; }
.prose :is(h1, h2, h3, h4) { font-family: var(--display); font-weight: 800; color: var(--ink); text-wrap: balance; margin: 2em 0 0; }
.prose :is(h1, h2) { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.015em; }
.prose :is(h3, h4) { font-size: 21px; line-height: 1.25; }
.prose :is(h1, h2, h3, h4) + * { margin-top: .7em; }
.prose > :first-child, .prose .wp-block-group:first-child > :first-child, .prose .wp-block-group:first-child .wp-block-group__inner-container > :first-child { margin-top: 0; }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--green); }
.prose strong { font-weight: 600; }
.prose :is(ul, ol) { padding-left: 1.3em; }
.prose * + :is(ul, ol) { margin-top: .8em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--green); font-weight: 600; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose img { border-radius: 14px; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose :is(th, td) { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
/* Old content classes, kept meaningful in the new type */
.prose .gray-small { font: 600 13px/1.4 var(--text) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-top: 2.4em; }
.prose .gray-small br:first-child { display: none; }
.prose .green { color: var(--green-ink); font-weight: 600; }
.prose .red { color: #a3123f; }
.prose .pl-0 { padding-left: 0; }
.prose .full-height { min-height: 0; }
.prose :is(.in-row, .in-row > .wp-block-group__inner-container) { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.prose .in-row > .wp-block-group__inner-container { max-width: none; margin: 0; }
.prose :is(.in-row, .in-row > .wp-block-group__inner-container) > .wp-block-group { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.prose .in-row .gray-small { margin-top: 0; }
.prose :is(.doc, .bank) { font-variant-numeric: lining-nums tabular-nums; }
/* [child_vakances] / [sibling_vakances] buttons */
.prose .button-wrap { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.prose .button-wrap .btn { background: var(--green); color: #fff; text-decoration: none; min-height: 50px; padding: 0 24px; border-radius: 10px; font: 600 15px/1 var(--text); display: inline-flex; align-items: center; }
.prose .button-wrap .btn:hover, .prose .button-wrap .btn.active { background: var(--green-ink); }
/* [custom_video] YouTube facade */
.youtube { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; }
.youtube .youtube-thumbnail { width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: .85; transition: opacity .2s; }
.youtube:hover .youtube-thumbnail { opacity: 1; }
.youtube .overlay { position: absolute; inset: 0; display: grid; place-items: center; }
.youtube:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.youtube .playButton { width: 84px; height: 84px; }
.youtube .playButton circle:first-child { fill: rgba(255,255,255,.92); }
.youtube iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.youtube .hidden { display: none; }
@media (max-width: 640px) { .prose { font-size: 16px; } }

/* Service page: body text beside a sticky price / booking card */
.svc { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-body > * { max-width: 760px; }
.svc-aside { position: sticky; top: 104px; }
.svc-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 12px; background: #fff; box-shadow: 0 18px 40px -24px rgba(10,42,26,.25); }
.svc-card__label { font: 600 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.svc-card__price { font: 800 40px/1 var(--display); letter-spacing: -.02em; margin-top: 2px; }
.svc-card__title { font: 800 24px/1.15 var(--display); letter-spacing: -.01em; }
.svc-card__note { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.svc-card__list { list-style: none; margin: 8px 0 10px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; }
.svc-card__list li { position: relative; padding-left: 26px; }
.svc-card__list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%23007a2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.svc-card .btn { width: 100%; }
.svc-card__more { justify-self: start; margin-top: 4px; font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--green-ink); }
.svc-media { display: block; width: 100%; margin-top: 2.4em; border-radius: 16px; }
.svc-media--video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
/* Placeholders and tips inside service content */
.prose .service-media-ph { display: flex; align-items: center; justify-content: center; min-height: 140px; border: 1.5px dashed #c9d1d7; border-radius: 16px; color: var(--muted); font-size: 14px; letter-spacing: .04em; background: var(--soft); }
.prose .service-tip { background: var(--green-tint); border-radius: 14px; padding: 18px 22px; color: #1d4a2e; font-size: 16px; }
.prose figure { margin: 2em 0 0; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) {
	.svc-grid { grid-template-columns: 1fr; }
	.svc-aside { position: static; max-width: 560px; }
}

/* FAQ */
.faq-section { padding: var(--section) 0; background: var(--soft); }
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item { background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; font: 600 17px/1.4 var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--green-tint); transition: transform .25s var(--ease-out, ease), background .2s; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--green-ink); }
.faq-ico::after { transform: rotate(90deg); transition: transform .25s var(--ease-out, ease); }
.faq-item[open] .faq-ico { background: var(--green); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: #fff; }
.faq-item[open] .faq-ico::after { transform: rotate(0); }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 72ch; }
.faq-a p + p { margin-top: .8em; }
@media (max-width: 640px) { .faq-item summary { padding: 18px; font-size: 16px; } .faq-a { padding: 0 18px 18px; } }

/* Related services and the services overview */
.related { padding: var(--section) 0; }
/* two white sections in a row (service page without FAQ): one gap between them, not two */
.svc + .related, .page-body + .related:not(.related--soft) { padding-top: 0; }
.svc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.svc-tile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 600; transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc-tile:hover { border-color: transparent; box-shadow: 0 14px 34px -14px rgba(10,42,26,.25); transform: translateY(-2px); }
.svc-tile__t { flex: 1; line-height: 1.35; }
.svc-tile i { font-style: normal; color: var(--green); transition: transform .2s; }
.svc-tile:hover i { transform: translateX(3px); }
.svc-tile__ic { flex: none; width: 46px; height: 34px; display: grid; place-items: center; color: var(--deep); --ic-accent: var(--green); }
.svc-tile__ic svg { width: 100%; height: 100%; }
.svc-list { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.svc-group + .svc-group { margin-top: clamp(56px, 7vw, 88px); }
.svc-group h2 { margin-bottom: 28px; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.svc-card-link { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.svc-card-link:hover { border-color: transparent; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,42,26,.1); }
.svc-card-link .svc-tile__ic { width: 58px; height: 44px; margin-bottom: 8px; justify-content: start; }
.svc-card-link h3 { font-size: 21px; }
.svc-card-link p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.svc-card-link .link-arrow { margin-top: auto; padding-top: 12px; }
.svc-card-link:hover .link-arrow i { transform: translateX(3px); }
/* desktop: no orphan cards: 4 in a row, 5 as 2 + 3, 3 in a row */
@media (min-width: 1101px) {
	.svc-cards { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.svc-cards > * { grid-column: span 3; }
	.svc-cards:has(> :nth-child(5):last-child) > :nth-child(-n+2) { grid-column: span 6; }
	.svc-cards:has(> :nth-child(5):last-child) > :nth-child(n+3) { grid-column: span 4; }
	.svc-cards:has(> :nth-child(3):last-child) > *, .svc-cards:has(> :nth-child(6):last-child) > * { grid-column: span 4; }
}

/* Prices */
.prices { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 6vw, 64px); }
.tabs a { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .15s, background .15s; }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current] { background: var(--deep); border-color: var(--deep); color: #fff; }
.prices-section + .prices-section { margin-top: var(--section); }
.prices-section > h2 { margin-bottom: 32px; }
/* cards flow down two columns, so short and long groups pack without gaps */
.price-groups { columns: 2 420px; column-gap: 24px; }
.price-group { break-inside: avoid; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 14px; }
.price-group h3 { font-size: 20px; margin-bottom: 10px; }
.price-group dl { margin: 0; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.price-row:first-child { border-top: 0; }
.price-row dt { color: var(--ink); }
.price-row dd { margin: 0; flex: none; font-weight: 600; white-space: nowrap; }
.top100-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.top100-head h2 { margin: 0; }
.select { position: relative; display: inline-block; min-width: 240px; }
.select select { appearance: none; width: 100%; min-height: 50px; padding: 0 44px 0 16px; border: 1.5px solid #c9d1d7; border-radius: 10px; background: #fff; font: 500 15px/1 var(--text); color: var(--ink); cursor: pointer; }
.select select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.top100-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.top100 { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.top100 th { text-align: left; padding: 14px 20px; background: var(--soft); font: 600 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.top100 td { padding: 13px 20px; border-top: 1px solid var(--line); }
.top100 tbody tr:hover { background: #fafbfb; }
.top100 .num { text-align: right; white-space: nowrap; font-weight: 600; }
.top100 th.num { font-weight: 600; }
.top100-empty { padding: 20px; color: var(--muted); }
.prices-note { margin-top: 24px; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
	.price-group { padding: 20px 20px 8px; }
	.top100 { font-size: 14.5px; }
	.top100 :is(th, td) { padding: 12px 14px; }
	.select { width: 100%; }
}

/* Kontakti */
.contacts { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.map-wrap { margin-top: 24px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
#map { height: clamp(360px, 42vw, 520px); }
.hidden { display: none; }
.zoom-controle, .fullscreen-controle { display: grid; gap: 8px; margin: 14px; }
.zoom-controle > div, .fullscreen-controle > div { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.14); cursor: pointer; }
.zoom-controle svg, .fullscreen-controle svg { width: 16px; height: auto; }
.zoom-controle svg line, .zoom-controle svg path, .fullscreen-controle svg path { stroke: var(--ink); }
.map-wrap { position: relative; }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; color: var(--muted); }
.map-ph__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.map-ph .btn { background: #fff; }
#map:not(:empty) + .map-ph { display: none; }

/* Booking page and the LatePoint widget, in the site's type and colours */
.booking { padding: clamp(40px, 6vw, 72px) 0 var(--section); background: var(--soft); }
.booking-form { max-width: 1040px; margin-inline: auto; }
.booking-help { max-width: 1040px; margin: 28px auto 0; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.booking-help > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; display: grid; gap: 4px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.booking-help b { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.booking-help__call small { font-size: 13px; }
.booking-help__call a { font: 800 24px/1.2 var(--display); color: var(--ink); text-decoration: none; }
@media (max-width: 860px) { .booking-help { grid-template-columns: 1fr; } }
/* LatePoint's inline dropdowns sit at z-index 9999: keep the fixed header (and the open mobile menu) above them here */
.page-template-template-booking .header { z-index: 10000; }
.page-template-template-booking .mm { z-index: 10001; }
.page-template-template-booking .mobile-bar { display: none; }
.booking .latepoint-w { font-family: var(--text); }
.booking .latepoint-w :is(.os-heading-text, .latepoint-desc-title, h1, h2, h3) { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; }
.booking .latepoint-booking-form-element { border-radius: 20px !important; box-shadow: 0 24px 60px -30px rgba(10,42,26,.35) !important; overflow: hidden; }
.booking .latepoint-side-panel { background: var(--green-tint) !important; }
.booking .os-item .os-item-i { border-radius: 12px !important; transition: border-color .15s, box-shadow .15s; }
.booking .os-item:hover .os-item-i { box-shadow: 0 10px 24px -14px rgba(10,42,26,.35) !important; }
.booking .os-item-name { font-weight: 600; }
.booking .latepoint-btn { border-radius: 10px !important; font-family: var(--text) !important; font-weight: 600 !important; }

/* Blog, archives, search */
.blog { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.blog-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.blog-cards .card { border: 1px solid var(--line); }
.blog-cards .card img { aspect-ratio: 16 / 10; width: 100%; }
.card-ph { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--deep), #12422a); position: relative; }
.card-ph::after { content: ""; position: absolute; inset: 0; margin: auto; width: 46%; aspect-ratio: 1008 / 118; height: auto; background: rgba(255,255,255,.18); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.related--soft { background: var(--soft); }
.post-media { margin: 0 0 2em; }
.post-media img { width: 100%; border-radius: 16px; }
.pager .nav-links, nav.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager .page-numbers.current { background: var(--deep); border-color: var(--deep); color: #fff; }
.pager .page-numbers:hover:not(.current) { border-color: var(--ink); }
.empty { max-width: 560px; display: grid; gap: 20px; color: var(--muted); font-size: 17px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid #c9d1d7; border-radius: 10px; font: 400 16px/1 var(--text); color: var(--ink); background: #fff; }
.search-field:focus, .wpcf7 :is(input, textarea):focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.search-submit { min-height: 50px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font: 600 15px/1 var(--text); cursor: pointer; }
.search-submit:hover { background: var(--green-ink); }

/* Vacancy application (Contact Form 7 #236) */
.apply { margin-top: clamp(48px, 6vw, 72px); max-width: 780px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--soft); }
.apply h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 20px; }
.apply-consent { display: grid; gap: 18px; justify-items: start; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.apply-err { color: #a3123f; font-size: 14.5px; font-weight: 600; }
.apply-note { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.wpcf7 form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.wpcf7 label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 :is(input[type=text], input[type=email], input[type=tel], textarea) { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #c9d1d7; border-radius: 10px; background: #fff; font: 400 16px/1.2 var(--text); color: var(--ink); }
.wpcf7 input[type=file] { width: 100%; padding: 10px; border: 1.5px dashed #c9d1d7; border-radius: 10px; background: #fff; font: 400 14px/1.2 var(--text); }
.wpcf7 input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--green-tint); color: var(--green-ink); font: 600 14px/1 var(--text); cursor: pointer; }
.wpcf7 .inpt.green.ib { display: none; }
.wpcf7 .right { display: flex !important; justify-content: flex-end; gap: 10px; grid-template-columns: none; }
.wpcf7 .right .btn, .wpcf7 input[type=submit] { min-height: 50px; padding: 0 24px; border-radius: 10px; font: 600 15px/1 var(--text); cursor: pointer; border: 1.5px solid transparent; }
.wpcf7 input[type=submit] { background: var(--green); color: #fff; }
.wpcf7 input[type=submit]:hover { background: var(--green-ink); }
.wpcf7 .right .btn.blk { background: transparent; border-color: #c9d1d7; color: var(--ink); }
.wpcf7-not-valid-tip { font-size: 13px; color: #a3123f; font-weight: 500; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; }
@media (max-width: 640px) { .wpcf7 form > div { grid-template-columns: 1fr; } .search-form { flex-direction: column; } }
@media (min-width: 1101px) { .blog-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* TOP 100 on phones: each row as make + price, model underneath */
@media (max-width: 640px) {
	.top100 thead { display: none; }
	.top100 tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
	.top100 tbody tr:first-child { border-top: 0; }
	.top100 td { padding: 0; border: 0; }
	.top100 td:nth-child(1) { font-weight: 600; }
	.top100 td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: 14px; margin-top: 2px; }
	.top100 td:nth-child(3) { grid-column: 2; grid-row: 1; }
}

/* ===== Review fixes ===== */
/* Pakalpojumi dropdown: columns wrap their labels so the promo stays inside the card; no promo below 1321px */
.dd-col a { white-space: normal; }
.dd-card { grid-template-columns: repeat(3, minmax(0, 1fr)) 280px; }
@media (max-width: 1320px) { .dd-card { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nav .dd-promo { display: none; } .dd-all { grid-column: 1 / -1; } }
/* Editorial photo/video placeholders in service content stay out of sight until real media replaces them */
.prose .service-media-ph, .prose .blog-media-ph { display: none; }
/* Booking: the LatePoint card uses the full content width, services in two columns on desktop */
.booking-form, .booking-help { max-width: none; }
/* Booking card fills the content width, lined up with the hero title and the info row below.
   LatePoint lays out fixed flex columns (side 270 / form 470 / summary 270, the summary only after a
   service is picked); on desktop the form column takes the remaining width instead, so the card keeps
   one width through every step, and the services list uses two columns while there is room. */
.booking-form { margin-inline: 0; }
.booking-help { margin: 24px 0 0; }
@media (min-width: 1101px) {
	.booking .latepoint-booking-form-element { width: 100% !important; max-width: none !important; margin: 0 !important; }
	.booking .latepoint-booking-form-element .latepoint-form-w { flex: 1 1 auto !important; width: auto !important; min-width: 0; }
	.booking .latepoint-form-w .os-services.os-as-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
	.booking .latepoint-form-w .os-services.os-as-rows > .os-item { margin: 0 !important; }
}
}
/* Tablets: two columns, a lone last card spans the row */
@media (min-width: 641px) and (max-width: 1100px) {
	.svc-cards, .svc-tiles, .blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:is(.svc-cards, .svc-tiles) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1101px) {
	.blog-cards:has(> :nth-child(3):last-child), .svc-tiles:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.svc-tiles:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	/* the FAQ lines up with the body column beside the price card */
	.faq { max-width: calc(100% - 360px - clamp(40px, 6vw, 96px)); }
}
/* Service page on tablets and phones: the price / booking card comes before the long text */
@media (max-width: 1100px) { .svc-grid .svc-aside { order: -1; margin-bottom: 8px; } .page-grid .svc-aside { max-width: 560px; } }
/* Breadcrumbs: no separator after the last crumb */
.crumbs span:last-child { display: none; }
@media (max-width: 359px) { .hero h1 { font-size: 36px; } }
/* Tap targets on phones */
.branch dd a, .ft-branch a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.ft-lang a, .mm-lang a { min-height: 44px; min-width: 44px; display: inline-grid; place-items: center; }
.crumbs a { padding-block: 11px; margin-block: -11px; }
.prose .red { color: var(--green-ink); }
/* Map placeholder before cookie consent: shorter */
.map-wrap #map:empty { height: 280px; }
/* Vacancy form */
.wpcf7 .right > p { display: flex; gap: 10px; margin: 0; }
.wpcf7 label br { display: none; }
.prose .vacancy-h3 { margin-top: 48px; text-transform: none; font-style: normal; }
.prose .vacancy-h3 em { font-style: normal; }
/* Text pages with a side card */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1100px) { .page-grid { grid-template-columns: 1fr; } }
/* Search results as a compact list */
.results { display: grid; gap: 12px; max-width: 900px; }
.result { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.result:hover { border-color: transparent; box-shadow: 0 14px 34px -14px rgba(10,42,26,.25); }
.result small { display: block; font: 600 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 8px; }
.result h3 { font-size: 20px; }
.result p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ===== Vacancies ===== */
.hero-meta { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 15px; font-weight: 500; color: #fff; }
.hero-meta svg { width: 18px; height: 18px; color: #6fdc98; }
.page-hero .hero-meta + .hero-ctas { margin-top: 28px; }
/* overview */
.jobs { padding: clamp(56px, 7vw, 96px) 0 var(--section); }
.jobs-count { font-size: 15px; font-weight: 600; color: var(--green-ink); background: var(--green-tint); padding: 8px 14px; border-radius: 999px; }
.job-list { display: grid; gap: 16px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.job:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,42,26,.1); }
.job h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.015em; }
.job-meta { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; }
.job-meta li { display: inline-flex; align-items: center; gap: 7px; }
.job-meta svg { width: 18px; height: 18px; color: var(--green); }
.job-duties { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.job-duties li { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.job .btn { flex: none; }
.jobs-empty { display: grid; gap: 18px; justify-items: start; max-width: 560px; color: var(--muted); font-size: 17px; }
.why-work { padding: 0 0 var(--section); }
@media (max-width: 760px) { .job { flex-direction: column; align-items: stretch; } .job .btn { width: 100%; } }
/* single vacancy */
.vac-about { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.vac-about__text p { font-size: 18px; line-height: 1.7; color: var(--ink); max-width: 64ch; }
.vac-about__text p + p { margin-top: 1em; }
.vac-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vac-list { padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.vac-list h2 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 16px; }
.vac-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vac-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; }
.vac-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%23007a2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.vac-list--offer { grid-column: 1 / -1; background: var(--deep); border-color: var(--deep); color: #fff; }
.vac-list--offer h2 { color: #fff; }
.vac-list--offer ul { display: block; columns: 2 240px; column-gap: 32px; }
.vac-list--offer li { break-inside: avoid; margin-bottom: 14px; }
.vac-list--offer li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%236fdc98' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.vac-list--offer strong { color: #6fdc98; font-weight: 600; }
.vac-facts { margin: 6px 0 4px; display: grid; gap: 0; }
.vac-facts > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.vac-facts dt { font-size: 13px; color: var(--muted); }
.vac-facts dd { margin: 0; font-weight: 600; font-size: 17px; }
.vac-facts small { font-weight: 500; color: var(--muted); font-size: 13px; }
.apply-band { background: var(--soft); padding: var(--section) 0; scroll-margin-top: 72px; }
.apply-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.apply-intro h2 { margin-bottom: 16px; }
.apply-intro__text { color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.apply-steps { counter-reset: s; list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.apply-steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; font-weight: 500; }
.apply-steps li::before { content: counter(s); display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font: 800 15px/1 var(--display); }
.apply-band .apply { margin-top: 0; max-width: none; background: #fff; box-shadow: 0 24px 60px -36px rgba(10,42,26,.35); }
@media (max-width: 1100px) {
	.apply-grid { grid-template-columns: 1fr; }
	.vac-lists { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .vac-list { padding: 22px; } }
/* vacancy: on tablets and phones the summary card follows the details (the hero already shows role, place and pay);
   the floating booking button would read as "apply" here, so it is hidden */
@media (max-width: 1100px) { .vacancy-main .svc-grid .svc-aside { order: 0; margin: 8px 0 0; } }
.vacancy-main ~ .mobile-bar, body:has(.vacancy-main) .mobile-bar { display: none; }

/* LatePoint dropdowns (e.g. the KASKO insurer custom field): same box as its text inputs, our chevron instead of the browser's */
.latepoint-w select.os-form-control {
	-webkit-appearance: none; appearance: none;
	height: 44px; padding: 0 40px 0 12px;
	border: 1px solid #cad2e0; border-radius: 8px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2314181c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
	font: 400 15px/1.2 var(--text); color: #32373c; cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.latepoint-w select.os-form-control:hover { border-color: #a9b4c7; }
.latepoint-w select.os-form-control:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,155,59,.15); }
.latepoint-w select.os-form-control::-ms-expand { display: none; }

/* Arrow circles ("Visi pakalpojumi", "Uzzināt vairāk"): a drawn arrow instead of the → character,
   which some desktop fonts (Windows) render thin and pale; solid brand green on every platform */
.link-arrow i { font-size: 0; opacity: 1; background: var(--green); color: #fff; }
.link-arrow i::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.link-arrow:hover i, .card:hover .link-arrow i, .svc-card-link:hover .link-arrow i { background: var(--green-ink); }

/* ===== Cookie consent (WebToffee GDPR plugin) in the site's design =====
   The plugin sets inline styles from its settings, hence the !important. */
#cookie-law-info-bar.wt-cli-cookie-bar {
	left: 24px !important; right: auto !important; bottom: 24px !important; top: auto !important;
	width: auto !important; max-width: 420px; padding: 24px !important; z-index: 1000 !important;
	border-radius: 18px; background: #fff !important; color: var(--ink) !important;
	box-shadow: 0 24px 60px -18px rgba(10,42,26,.35), 0 0 0 1px rgba(10,42,26,.06);
	font: 400 15px/1.55 var(--text) !important; text-align: left !important;
}
#cookie-law-info-bar .cli-wrapper { display: block; }
#cookie-law-info-bar #wt-cli-cookie-banner-title { display: flex !important; align-items: center; gap: 12px; margin: 0 0 10px !important; padding: 0 !important; font: 800 19px/1.25 var(--display) !important; letter-spacing: -.01em; color: var(--ink) !important; outline: 0; }
#cookie-law-info-bar #wt-cli-cookie-banner-title::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23007a2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.9 12.6A9 9 0 1 1 11.4 3a3.5 3.5 0 0 0 4 4 3.5 3.5 0 0 0 5.5 5.6z'/%3E%3Cpath d='M8.5 9.5h.01M15.5 15.5h.01M10 15h.01M12.5 12h.01'/%3E%3C/g%3E%3C/svg%3E") center / 20px no-repeat; }
#cookie-law-info-bar .cli-bar-container { display: block; }
#cookie-law-info-bar .cli-bar-message { width: auto; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
#cookie-law-info-bar #wt-cli-settings-btn { display: inline; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; color: var(--green-ink) !important; font: inherit !important; font-weight: 600 !important; text-decoration: underline !important; text-underline-offset: 2px; cursor: pointer; }
#cookie-law-info-bar #wt-cli-settings-btn:hover { color: var(--ink) !important; }
#cookie-law-info-bar .cli-bar-btn_container { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
#cookie-law-info-bar .cli-bar-btn_container a { flex: 1 1 0;display: inline-flex !important; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px !important; margin: 0 !important; border-radius: 10px !important; font: 600 15px/1 var(--text) !important; text-decoration: none !important; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
#cookie-law-info-bar #wt-cli-accept-btn { background: var(--green) !important; color: #fff !important; border: 0 !important; }
#cookie-law-info-bar #wt-cli-accept-btn:hover { background: var(--green-ink) !important; }
#cookie-law-info-bar #wt-cli-reject-btn { background: #fff !important; color: var(--ink) !important; border: 1.5px solid #c9d1d7 !important; }
#cookie-law-info-bar #wt-cli-reject-btn:hover { border-color: var(--ink) !important; }
#cookie-law-info-bar a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
/* the plugin's "Pārvaldīt piekrišanu" tab: the footer already links to the cookie settings */
#cookie-law-info-again { display: none !important; }
@media (max-width: 640px) {
	#cookie-law-info-bar.wt-cli-cookie-bar { left: 12px !important; right: 12px !important; bottom: 12px !important; max-width: none; padding: 20px !important; }
	#cookie-law-info-bar .cli-bar-btn_container a { padding: 0 12px !important; font-size: 14.5px !important; }
}

/* settings popup */
.cli-modal .cli-modal-dialog { max-width: 720px; font-family: var(--text); }
.cli-modal .cli-modal-content { border-radius: 20px !important; padding: 32px 0 24px !important; box-shadow: 0 40px 100px -30px rgba(10,42,26,.5); }
/* the plugin's grid gutters cancel each other out (container 15px, row -15px): one 32px inset instead */
.cli-modal .cli-tab-container { padding: 0 32px !important; }
.cli-modal .cli-row { margin: 0 !important; }
.cli-modal .cli-modal-body .cli-tab-container { padding-right: 20px !important; }
.cli-modal .cli-modal-body .cli-row { padding-right: 12px; max-height: min(500px, calc(100vh - 220px)); overscroll-behavior: contain; }
.cli-modal .cli-modal-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.cli-modal .cli-modal-footer .cli-row { justify-content: flex-end; }
.cli-modal #wt-cli-privacy-title { padding-right: 48px; }
/* keep the page scrollbar while the settings are open (the plugin hides it, which shifts the page sideways) */
body.cli-modal-open, body.cli-barmodal-open { overflow: visible !important; padding-right: 0 !important; }
@media (max-width: 640px) {
	.cli-modal .cli-modal-content { padding: 24px 0 18px !important; }
	.cli-modal .cli-tab-container { padding: 0 20px !important; }
	.cli-modal .cli-modal-body .cli-tab-container { padding-right: 12px !important; }
	.cli-modal .cli-modal-body .cli-row { padding-right: 8px; max-height: calc(100vh - 200px); }
}
.cli-modal-backdrop.cli-show { background: rgba(8,16,11,.55) !important; opacity: 1 !important; }
.cli-modal .cli-modal-close { top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; padding: 0; }
.cli-modal .cli-modal-close svg { width: 14px; height: 14px; fill: var(--ink); }
.cli-modal #wt-cli-privacy-title { font: 800 24px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.cli-modal .cli-privacy-content-text, .cli-modal .cli-tab-container p { color: var(--muted) !important; font-size: 15px; line-height: 1.6; }
.cli-modal a.cli-privacy-readmore { color: var(--green-ink) !important; font-weight: 600; text-decoration: none; }
.cli-modal .cli-tab-section { margin-top: 10px; }
.cli-modal .cli-tab-header { background: var(--soft) !important; border-radius: 12px; padding: 14px 16px; }
.cli-modal .cli-tab-header a.cli-nav-link { color: var(--ink) !important; font: 600 15px/1.3 var(--text); text-decoration: none; }
.cli-modal .cli-tab-header a:before { border-color: var(--ink) !important; }
.cli-modal span.cli-necessary-caption { color: var(--green-ink) !important; font-weight: 600; font-size: 13.5px; }
.cli-modal .cli-switch .cli-slider { background-color: #d5dbe0 !important; }
.cli-modal .cli-switch input:checked + .cli-slider { background-color: var(--green) !important; }
.cli-modal .cli-switch .cli-slider:after { color: var(--muted) !important; font-size: 13px; }
.cli-modal .cli-tab-content { padding: 4px 16px 8px; }
.cli-modal table.cookielawinfo-winter { font-size: 13px; border-radius: 10px; overflow: hidden; }
.cli-modal table.cookielawinfo-winter thead th { background: var(--deep) !important; color: #fff !important; }
.cli-modal .cli-tab-footer .wt-cli-privacy-accept-btn, .cli-modal .cli-tab-footer .wt-cli-privacy-accept-all-btn { background: var(--green) !important; color: #fff !important; border-radius: 10px !important; padding: 13px 22px !important; font: 600 15px/1 var(--text) !important; }
.cli-modal .cli-tab-footer .wt-cli-privacy-accept-btn:hover { background: var(--green-ink) !important; }

/* insurer strip: Balcia, and BAN's mark with its full name */
.lg-balcia { height: 40px; }
.lg-named { flex: none; display: inline-flex; align-items: center; gap: 12px; }
.lg-named .lg-ban { height: 24px; }
.lg-named span { font: 700 12px/1.15 var(--text); letter-spacing: .02em; text-transform: uppercase; color: #1d1d1b; max-width: 12ch; }
@media (max-width: 760px) { .lg-balcia { height: 32px; } .lg-named .lg-ban { height: 20px; } .lg-named span { font-size: 10.5px; } }
