/* =========================================================
   SYNMAR.lv — eļļas un smērvielas
   Gaišs, premium dizains synmar.nl stilā
   Fonti tiek ielādēti galvenē (preconnect + link), nevis ar @import,
   lai nebloķētu renderēšanu (ātrāks LCP).
   ========================================================= */

:root {
  --bg:        #ffffff;
  --surface:   #f5f3ef;   /* silti gaiši pelēks */
  --surface-2: #ece8e1;
  --ink:       #16191d;
  --ink-soft:  #3a4047;
  --muted:     #6c727a;
  --muted-dim: #9aa0a7;

  --gold:        #c0892b;
  --gold-bright: #dba23a;
  --gold-soft:   #f3e6cd;
  --bronze:      #9a6a1f;
  --charcoal:    #14171b;

  --line:      #e6e2db;
  --line-dark: rgba(255,255,255,0.12);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  --maxw: 1240px;
  --gut:  clamp(1.25rem, 4vw, 3.5rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px -22px rgba(20, 23, 27, 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink-soft);
  font-family: var(--font-body); font-size: clamp(1rem, 0.4vw + 0.9rem, 1.0625rem);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
.eyebrow {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }

/* ===== Augšējā josla ===== */
.topbar { background: var(--charcoal); color: rgba(255,255,255,0.72); font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.72); transition: color 0.2s; }
.topbar a:hover { color: var(--gold-bright); }
.topbar .tb-right { display: flex; gap: 1.4rem; align-items: center; }

/* ===== Galvene ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px -16px rgba(20,23,27,0.22); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; transition: min-height 0.35s var(--ease); }
.site-header.scrolled .wrap { min-height: 64px; }

.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 1.55rem; letter-spacing: 0.02em; color: var(--ink); }
.brand__name b { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-size: 0.93rem; font-weight: 600; color: var(--ink-soft); position: relative; padding: 0.3rem 0; transition: color 0.2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--gold); transition: width 0.3s var(--ease); }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a:not(.btn)[aria-current="page"]::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ===== Pogas ===== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; padding: 0.85rem 1.5rem; border-radius: 100px; cursor: pointer; border: 1.5px solid transparent; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--bronze); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; }
.btn svg { width: 18px; height: 18px; }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; background:
  radial-gradient(60% 70% at 85% 0%, var(--gold-soft), transparent 60%),
  linear-gradient(180deg, #fff, var(--surface)); }
.hero__splash { position: absolute; right: -4%; bottom: -12%; width: clamp(280px, 38vw, 560px); aspect-ratio: 1; background: radial-gradient(circle at 38% 32%, var(--gold-bright), var(--bronze) 58%, transparent 72%); opacity: 0.16; filter: blur(6px); border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; animation: float 16s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translate(0,0) rotate(0deg);} 50% { transform: translate(-26px,-22px) rotate(10deg);} }
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin: 1.3rem 0; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 48ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero__panel h3 { font-size: 1.1rem; margin-bottom: 1.2rem; }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.spec:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); font-size: 0.9rem; }
.spec dd { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--gold); }

/* ===== Logo / standartu josla ===== */
.marquee { background: var(--charcoal); padding: 1.3rem 0; }
.marquee .wrap { display: flex; flex-wrap: wrap; gap: clamp(1.4rem,4vw,3.2rem); align-items: center; justify-content: space-between; }
.marquee span { color: rgba(255,255,255,0.45); font-family: var(--font-display); font-weight: 700; font-size: clamp(0.95rem,1.6vw,1.3rem); letter-spacing: 0.04em; }

/* ===== Sekcijas ===== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--surface { background: var(--surface); }
.section__head { max-width: 58ch; margin-bottom: clamp(2.5rem,5vw,4rem); }
.section__head h2 { font-size: clamp(2rem,4.5vw,3.2rem); margin: 1rem 0; text-transform: uppercase; }
.section__head p { color: var(--muted); font-size: 1.08rem; }

/* ===== Kategoriju režģis ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; position: relative; overflow: hidden; display: block; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card:hover::after { transform: scaleY(1); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--bronze); margin-bottom: 1.2rem; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.card .tags span { font-size: 0.73rem; font-weight: 700; color: var(--bronze); background: var(--gold-soft); padding: 0.22rem 0.6rem; border-radius: 100px; }

/* ===== Segmenti ===== */
.segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.segment { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem 1.2rem; text-align: center; transition: transform 0.3s var(--ease), border-color 0.3s; }
.segment:hover { transform: translateY(-4px); border-color: var(--gold); }
.segment__icon { width: 44px; height: 44px; margin: 0 auto 0.9rem; color: var(--gold); }
.segment__icon svg { width: 100%; height: 100%; }
.segment span { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); }

/* ===== Iezīmes ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem 2.5rem; }
.feature__num { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--gold); margin-bottom: 0.4rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ===== Produktu katalogs ===== */
.catalog-group { margin-bottom: clamp(3rem,6vw,5rem); scroll-margin-top: 110px; }
.catalog-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.catalog-group__head h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); text-transform: uppercase; }
.catalog-group__head p { color: var(--muted); font-size: 0.95rem; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.35rem; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.product__grade { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--bronze); background: var(--gold-soft); padding: 0.2rem 0.7rem; border-radius: var(--r-sm); white-space: nowrap; }
.product__bottle { color: var(--muted-dim); }
.product__bottle svg { width: 30px; height: 38px; }
.product h3 { font-size: 1.15rem; margin-top: 0.5rem; }
.product p { color: var(--muted); font-size: 0.9rem; }
.product__specs { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.product__specs span { font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line); padding: 0.2rem 0.5rem; border-radius: 5px; }
.product .btn { margin-top: 1rem; justify-content: center; }
.product__img { aspect-ratio: 4/3; margin: -0.4rem 0 0.6rem; border-radius: var(--r-sm); background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 0.6rem; }
.product__caps { color: var(--muted); font-size: 0.85rem; }

/* Kategoriju ātrā navigācija */
.cat-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3rem; }
.cat-nav a { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 0.5rem 1rem; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.cat-nav a:hover { border-color: var(--gold); color: var(--gold); }
.cat-nav a span { color: var(--muted-dim); font-weight: 700; margin-left: 0.2rem; }

/* Sticky filtru josla */
.filterbar { position: sticky; top: 62px; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 0.9rem 0; box-shadow: 0 6px 20px -16px rgba(20,23,27,0.3); }
.filterbar__main { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.filterbar__cats { display: flex; gap: 0.5rem; flex-wrap: wrap; flex: 1; min-width: 0; }
.chip { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1.5px solid var(--line); border-radius: 100px; padding: 0.45rem 0.95rem; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.chip span { color: inherit; opacity: 0.55; font-weight: 700; margin-left: 0.15rem; }
.filterbar__tools { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.filterbar__search, .filterbar__visc, .filterbar__spec { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font-family: var(--font-body); font-size: 0.9rem; padding: 0.5rem 0.8rem; }
.filterbar__search { width: 180px; max-width: 45vw; }
.filterbar__spec { width: 210px; max-width: 55vw; }
.filterbar__search:focus, .filterbar__visc:focus, .filterbar__spec:focus { outline: none; border-color: var(--gold); }
.filterbar__clear { background: none; border: none; color: var(--muted); font-size: 0.85rem; font-weight: 600; cursor: pointer; padding: 0.5rem; }
.filterbar__clear:hover { color: var(--gold); }
.filterbar__banner { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; flex-wrap: wrap; margin-top: 0.8rem; padding: 0.7rem 1rem; background: var(--gold-soft); border: 1px solid rgba(192,137,43,0.3); border-radius: var(--r-sm); font-size: 0.92rem; color: var(--ink); }
.filterbar__banner b { color: var(--bronze); }
.filterbar__banner button { background: none; border: none; color: var(--bronze); font-weight: 700; cursor: pointer; white-space: nowrap; }
.filter-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
.filter-empty { color: var(--muted); font-size: 1rem; padding: 2rem 0; }
.filter-empty a { color: var(--gold); font-weight: 600; }

/* Widget rezultāta pogas */
.oilsel__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.2rem; }

@media (max-width: 720px) {
  .filterbar { top: 62px; } /* zem sticky galvenes (saraušanās augstums) */
  .filterbar__main { flex-direction: column; align-items: stretch; }
  .filterbar__search { width: 100%; max-width: none; flex: 1; }
  .filterbar__tools { width: 100%; flex-wrap: wrap; }
  .filterbar__visc { flex: 1; }
  .filterbar__spec { width: 100%; max-width: none; flex: 1 1 100%; }
}

/* ===== CTA ===== */
.cta { margin: clamp(3rem,6vw,5rem) auto; max-width: min(var(--maxw), calc(100% - 2 * var(--gut))); border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--charcoal); }
.cta::before { content:""; position:absolute; right:-6%; top:-40%; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(219,162,58,0.30), transparent 70%); }
.cta__inner { padding: clamp(2.5rem,6vw,4.5rem) var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); max-width: 20ch; text-transform: uppercase; }
.cta p { color: rgba(255,255,255,0.7); margin-top: 0.6rem; }

/* ===== Apakšlapu augšdaļa ===== */
.page-hero { padding: clamp(3.5rem,7vw,5.5rem) 0 clamp(2rem,4vw,3rem); background: radial-gradient(50% 80% at 90% 0%, var(--gold-soft), transparent 60%), var(--surface); position: relative; }
.page-hero h1 { font-size: clamp(2.4rem,6vw,4.4rem); margin: 1rem 0; text-transform: uppercase; }
.page-hero p { color: var(--muted); max-width: 56ch; font-size: 1.1rem; }
.crumbs { font-size: 0.85rem; color: var(--muted-dim); }
.crumbs a:hover { color: var(--gold); }

/* ===== Kontakti ===== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--gold-soft); color: var(--bronze); }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-dim); margin-bottom: 0.2rem; }
.contact-item a, .contact-item p { font-size: 1.05rem; color: var(--ink); }
.contact-item a:hover { color: var(--gold); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem,4vw,2.5rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.45rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 1rem; transition: border-color 0.2s, background 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field .error { color: #c0392b; font-size: 0.82rem; margin-top: 0.35rem; }
.hp { position: absolute; left: -9999px; }

.alert { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.4rem; font-weight: 600; font-size: 0.95rem; }
.alert--success { background: #e7f6ec; color: #1d7a3f; border: 1px solid #b7e3c4; }

.map-embed { margin-top: 2.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }

/* ===== Kāja ===== */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.6); padding: clamp(3rem,5vw,4.5rem) 0 2rem; }
.site-footer h4 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-grid .brand__name { color: #fff; }
.footer-grid p { color: rgba(255,255,255,0.55); font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.13em; color: rgba(255,255,255,0.4); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.62); font-size: 0.95rem; padding: 0.3rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-legal { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.6rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,0.4); font-size: 0.85rem; flex-wrap: wrap; }

/* ===== Auto eļļu izvēle (picker) ===== */
.oilsel { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem,4vw,2.5rem); box-shadow: var(--shadow); }
.oilsel__head { margin-bottom: 1.6rem; }
.oilsel__head h2 { font-size: clamp(1.5rem,3vw,2.2rem); margin: 0.8rem 0 0.6rem; text-transform: uppercase; }
.oilsel__head p { color: var(--muted); font-size: 1rem; max-width: 60ch; }
.oilsel__form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1rem; align-items: end; }
.oilsel__field label { display:block; font-size: 0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color: var(--muted-dim); margin-bottom: 0.45rem; }
.oilsel__field select { width:100%; background: var(--surface); border:1.5px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 1rem; transition: border-color 0.2s, background 0.2s; }
.oilsel__field select:focus { outline:none; border-color: var(--gold); background:#fff; }
.oilsel__field select:disabled { opacity:0.55; cursor:not-allowed; }
.oilsel__reset { background:none; border:none; color: var(--muted); font-size:0.85rem; cursor:pointer; padding:0.8rem 0.4rem; white-space:nowrap; }
.oilsel__reset:hover { color: var(--gold); }
.oilsel__loading { margin-top:1.2rem; color: var(--muted); font-weight:600; }
.oilsel__result { margin-top: 1.6rem; padding: 1.4rem; background: var(--gold-soft); border-radius: var(--r-md); border:1px solid rgba(192,137,43,0.25); }
.oilsel__vehicle { font-family: var(--font-display); font-weight:800; font-size: 1.2rem; color: var(--ink); margin-bottom: 0.9rem; }
.oilsel__specs { display:flex; flex-wrap:wrap; gap: 0.6rem 1.4rem; }
.oilsel__spec { font-size: 0.95rem; color: var(--ink-soft); }
.oilsel__spec b { color: var(--bronze); font-weight:700; }
.oilsel__note { color: var(--muted); font-size: 0.85rem; margin-top: 0.8rem; }
@media (max-width: 780px) { .oilsel__form { grid-template-columns: 1fr; } }

/* ===== Animācijas ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__splash { animation: none; } html { scroll-behavior: auto; } }

/* ===== Responsīvs ===== */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Mobilā izvēlne — hamburgers pirms desktop izvēlnes aplaušanās */
  /* SVARĪGI: noņemam backdrop-filter, citādi galvene kļūst par piesaistes bloku
     position:fixed izvēlnei un panelis tiek ieslodzīts galvenes augstumā. */
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 330px); flex-direction: column; align-items: flex-start; gap: 0.3rem; background: #fff; border-left: 1px solid var(--line); padding: 6rem 2rem 2rem; transform: translateX(100%); transition: transform 0.4s var(--ease); z-index: 90; box-shadow: var(--shadow); }
  .nav.open { transform: translateX(0); }
  .nav a:not(.btn) { font-size: 1.12rem; width: 100%; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 0.8rem; }
}
@media (max-width: 720px) {
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-left { display: none; }
}
