/* =====================================================================
   IIBAUTO — mājaslapas stils (v3)
   Krāsas un izmēri ir mainīgajos (:root).
   ===================================================================== */
:root {
  --ink: #14171b;
  --ink-2: #1b1f25;
  --ink-3: #262c34;
  --line-dark: rgba(255, 255, 255, .12);
  --paper: #f6f4ef;
  --white: #ffffff;
  --stone: #e8e3d8;
  --stone-2: #d6cfbf;
  --text: #1a1e23;
  --muted: #59616c;
  --muted-dark: #b3bac3;
  --on-dark: #d3d8de;
  --accent: #ffb703;
  --accent-hover: #ffc633;
  --accent-ink: #8a5300;
  --accent-soft: rgba(255, 183, 3, .14);
  --ok: #17734a;
  --err: #b42318;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 23, 27, .05), 0 10px 30px rgba(20, 23, 27, .08);
  --shadow-lg: 0 24px 60px rgba(20, 23, 27, .18);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.ico {
  display: grid; place-items: center; flex: none;
  width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--accent);
}
.ico .i { width: 25px; height: 25px; }

/* ---------- Galvene (iepriekšējās versijas navigācija) ---------- */
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.topbar { background: #0c0e11; color: var(--muted-dark); font-size: .85rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; min-height: 40px; flex-wrap: wrap; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .i { width: 15px; height: 15px; color: var(--accent); }
.topbar a { color: #eef0f2; text-decoration: none; font-weight: 700; white-space: nowrap; }
.topbar a:hover { color: var(--accent); }
@media (max-width: 900px) { .topbar { display: none; } }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 23, 27, .97); color: #fff; border-bottom: 1px solid var(--line-dark);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 60px; width: auto; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: .55rem .8rem; border-radius: 999px; white-space: nowrap;
  text-decoration: none; color: #e9ecef; font-weight: 600; font-size: .96rem;
}
.site-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav ul a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-dark);
    background: transparent; color: #fff; cursor: pointer;
  }
  .js .nav-toggle .i { width: 24px; height: 24px; }
  .js .nav-toggle .i-close { display: none; }
  .menu-open .nav-toggle .i-open { display: none; }
  .menu-open .nav-toggle .i-close { display: block; }
  .js .site-nav {
    position: absolute; top: 100%; inset-inline: 0; margin: 0; background: var(--ink);
    border-bottom: 1px solid var(--line-dark); padding: 1rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h)); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { padding: .85rem 1rem; font-size: 1.1rem; border-radius: 12px; }
  .js .nav-extra { display: grid; gap: .6rem; margin-top: 1rem; }
  .js .nav-extra .btn { justify-content: flex-start; padding-inline: 1.2rem; }
  .header-actions { margin-inline-start: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .6rem; }
  html:not(.js) .site-nav { order: 3; width: 100%; margin: 0; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .site-header .brand-logo { height: 50px; }
}

/* ---------- Pogas un virsraksti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.35rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .i { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 6px 20px rgba(255, 183, 3, .25); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); }
.hero .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.28rem); }

/* ---------- Sākumlapas augšdaļa (iepriekšējā versija) ---------- */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(600px, 86vh, 820px); padding-block: 4.5rem;
  background: var(--ink); color: #fff;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 16, 19, .94) 0%, rgba(14, 16, 19, .84) 36%, rgba(14, 16, 19, .38) 66%, rgba(14, 16, 19, .12) 100%),
    linear-gradient(0deg, rgba(14, 16, 19, .8) 0%, rgba(14, 16, 19, 0) 42%);
}
.hero > .container { position: relative; z-index: 2; }
.hero-content { max-width: 860px; }
.hero h1 { font-size: clamp(2.3rem, 1.1rem + 3.7vw, 3.9rem); letter-spacing: -.02em; line-height: 1.12; }
.hero h1 span { display: block; color: var(--accent); }
.hero .lead { color: var(--on-dark); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-phones { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; padding: 0; }
.hero-phones a {
  display: flex; align-items: center; gap: .85rem;
  padding: .7rem 1.15rem .7rem .75rem; border-radius: 14px; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-phones a:hover { background: rgba(255, 255, 255, .15); }
.hero-phones .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent); color: var(--ink); }
.hero-phones .ico .i { width: 21px; height: 21px; }
.hero-phones small { display: block; font-size: .78rem; color: #c3c9d0; line-height: 1.3; }
.hero-phones strong { font-size: 1.18rem; letter-spacing: .01em; }
@media (max-width: 720px) {
  .hero { min-height: 0; padding-block: 4rem 3.5rem; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 16, 19, .66) 0%, rgba(14, 16, 19, .88) 55%, rgba(14, 16, 19, .97) 100%); }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Sākumlapa: divas lielās bildes ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.tile {
  position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none;
  height: clamp(460px, calc(100vh - var(--header-h)), 860px);
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 16, 19, .05) 35%, rgba(14, 16, 19, .55) 70%, rgba(14, 16, 19, .9) 100%);
}
.tile + .tile { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile-label {
  position: absolute; z-index: 2; inset-inline: clamp(1.25rem, 4vw, 3.5rem); bottom: clamp(1.5rem, 6vh, 3.5rem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.tile-text {
  font-weight: 900; font-size: clamp(1.5rem, .9rem + 2.4vw, 3rem); line-height: 1.05; letter-spacing: .02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.tile-text::before { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--accent); margin-bottom: 1rem; }
.tile-arrow {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--ink); transition: transform .3s ease;
}
.tile-arrow .i { width: 28px; height: 28px; }
.tile:hover .tile-arrow { transform: translateX(5px); }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { height: clamp(260px, 44vh, 420px); }
  .tile + .tile { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .tile-arrow { width: 52px; height: 52px; }
}

/* ---------- Sadaļas ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section-dark { background: var(--ink); color: #fff; }

/* ---------- Pakalpojumi ---------- */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.svc-grid > * { flex: 0 1 calc((100% - 3 * 1.25rem) / 4); }
.svc-card {
  display: flex; flex-direction: column; gap: .55rem;
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-card .ico { margin-bottom: .6rem; }
.svc-media { margin: -1.6rem -1.6rem .9rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: #ece7dc; border-bottom: 1px solid var(--stone); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.media-icon { display: grid; place-items: center; color: #2b2f35; background: linear-gradient(135deg, #efeadf, #e3dccd); }
.media-icon .i { width: 76px; height: 76px; stroke-width: 1.3; opacity: .55; }
.svc-card h2 { font-size: 1.18rem; margin: 0; }
.svc-card p { margin: 0; color: var(--muted); font-size: .99rem; }
.svc-photo { position: relative; min-height: 240px; margin: 0; border-radius: var(--radius); overflow: hidden; }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .svc-grid > * { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 600px) { .svc-grid > * { flex-basis: 100%; } }

/* ---------- Par uzņēmumu ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.about-lead { font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.2rem); font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 1.8rem; }
.about-list { list-style: none; display: grid; gap: 1.15rem; margin: 0; padding: 0; }
.about-list li { display: flex; gap: 1rem; align-items: flex-start; color: var(--on-dark); font-size: 1.05rem; }
.about-list .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.about-list .ico .i { width: 22px; height: 22px; }
.mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: clamp(380px, 44vw, 580px); }
.mosaic figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.mosaic figure:first-child { grid-row: 1 / span 2; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .mosaic { height: 440px; } }

/* ---------- Apakšlapu virsraksts ar bildi ---------- */
.page-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(280px, 46vh, 520px); padding-block: 3rem; background: var(--ink); color: #fff;
}
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 16, 19, .1) 0%, rgba(14, 16, 19, .3) 45%, rgba(14, 16, 19, .86) 100%);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 1.1rem + 3.8vw, 4.2rem); letter-spacing: .02em; margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.page-hero h1::before { content: ""; display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--accent); margin-bottom: 1.1rem; }

/* ---------- Tehnika ---------- */
.fleet { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.machine { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 1.5rem; }
.machine-top { display: flex; align-items: center; gap: .95rem; margin-bottom: 1rem; }
.machine .ico { width: 60px; height: 60px; background: var(--paper); border: 1px solid var(--stone); color: var(--ink); }
.machine .ico .i { width: 38px; height: 38px; stroke-width: 1.6; }
.machine h2 { font-size: 1.25rem; margin: 0; }
.machine-type { display: inline-block; margin-top: .3rem; font-size: .9rem; font-weight: 700; color: var(--accent-ink); }
.spec-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.spec-lines li { padding-block: .5rem; border-bottom: 1px dashed var(--stone-2); font-size: .98rem; }
.machine-photo { margin: -1.5rem -1.5rem 1.2rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--paper); border-bottom: 1px solid var(--stone); }
.machine-photo img { width: 100%; height: 100%; object-fit: cover; }
.machine-photo.media-logo { display: grid; place-items: center; background: var(--ink); }
.machine-photo.media-logo img { width: 58%; height: auto; object-fit: contain; }
.machine-extra { margin: auto 0 0; font-size: .95rem; color: var(--muted); background: var(--paper); border-radius: 10px; padding: .8rem .95rem; }

/* ---------- Materiāli ---------- */
.price-wrap { max-width: 1000px; margin-inline: auto; }
.price-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 8.5rem 10rem; align-items: center; gap: .4rem 1.4rem; padding: 1rem 1.4rem; border-top: 1px solid var(--stone); }
.price-row:first-child { border-top: 0; }
.price-row:hover { background: #fbfaf6; }
.price-name { font-weight: 800; }
.price-unit { color: var(--muted); white-space: nowrap; }
.price-value { text-align: end; white-space: nowrap; }
.price-value strong { font-size: 1.12rem; font-weight: 900; }
.price-value small { display: block; color: var(--muted); font-size: .85rem; }
.swatch { width: 42px; height: 42px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), inset 0 -6px 10px rgba(0, 0, 0, .12); }
.sw-dolomite { background: radial-gradient(circle at 28% 32%, #f5f5f3 0 11%, transparent 12%), radial-gradient(circle at 64% 58%, #9fa4a7 0 13%, transparent 14%), radial-gradient(circle at 40% 76%, #e1e3e1 0 10%, transparent 11%), radial-gradient(circle at 74% 26%, #cdd0d0 0 10%, transparent 11%), #b8bcbd; }
.sw-stone { background: radial-gradient(circle at 30% 30%, #8d8f91 0 12%, transparent 13%), radial-gradient(circle at 66% 62%, #5f6366 0 13%, transparent 14%), radial-gradient(circle at 38% 74%, #b4b6b7 0 10%, transparent 11%), #7d8184; }
.sw-gravel { background: radial-gradient(circle at 30% 34%, #d8c7a8 0 9%, transparent 10%), radial-gradient(circle at 66% 56%, #8b7a62 0 10%, transparent 11%), radial-gradient(circle at 44% 74%, #c2ad8a 0 8%, transparent 9%), radial-gradient(circle at 72% 28%, #a8977c 0 8%, transparent 9%), #b19f82; }
.sw-sand { background: radial-gradient(circle at 35% 35%, #ecd3a0 0 20%, transparent 55%), #d7b06a; }
.sw-pebble { background: radial-gradient(ellipse at 30% 32%, #cdb79a 0 14%, transparent 15%), radial-gradient(ellipse at 66% 60%, #8f8273 0 15%, transparent 16%), radial-gradient(ellipse at 40% 76%, #b9a58c 0 12%, transparent 13%), radial-gradient(ellipse at 72% 28%, #a2a3a0 0 12%, transparent 13%), #9c907f; }
.sw-soil { background: radial-gradient(circle at 35% 35%, #4d3d33 0 25%, transparent 60%), #2e241e; }
.mat-photo { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; flex: none; background: var(--paper); }
.notes { display: grid; gap: .7rem; margin-top: 1.6rem; color: var(--muted); }
.notes p { margin: 0; display: flex; gap: .7rem; }
.notes .i { color: var(--accent-ink); margin-top: .22rem; width: 19px; height: 19px; }
.notes a { color: var(--accent-ink); font-weight: 700; }
@media (max-width: 640px) {
  .mat-photo { width: 72px; height: 72px; }
  .price-row { grid-template-columns: auto minmax(0, 1fr); padding: 1rem 1.1rem; }
  .price-row .swatch, .price-row .mat-photo { grid-row: span 3; align-self: start; }
  .price-unit, .price-value { grid-column: 2; text-align: start; }
}

/* ---------- Kontakti ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem; align-items: start; }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow); }
.contact-card h2 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); margin-bottom: 1.5rem; }
.contact-rows { list-style: none; display: grid; gap: 1.2rem; margin: 0; padding: 0; }
.contact-rows li { display: flex; gap: 1rem; align-items: center; font-size: 1.08rem; }
.contact-rows .lbl { color: var(--muted); }
.contact-rows a { font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-rows a:hover { color: var(--accent-ink); text-decoration: underline; }
.req-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); }
.req-panel p { margin: 0 0 .45rem; color: var(--on-dark); overflow-wrap: anywhere; }
.req-panel p:first-child { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: .9rem; }
.req-panel p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .contact-wrap { grid-template-columns: 1fr; } }

/* ---------- Kājene ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 3rem; border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer .brand-logo { height: 88px; }
.footer-req { display: grid; grid-template-columns: repeat(3, auto); gap: .4rem 2.4rem; font-size: .96rem; }
.footer-req p { margin: 0; }
@media (max-width: 900px) { .footer-req { grid-template-columns: repeat(2, auto); } }
@media (max-width: 560px) { .footer-req { grid-template-columns: 1fr; } }

/* ---------- Forma "Pieprasīt cenu" ---------- */
.form-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .5rem; }
.form-card > p { color: var(--muted); }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-weight: 700; font-size: .95rem; }
.req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; font: inherit; font-size: 1rem; color: var(--text);
  padding: .75rem .95rem; border: 1.5px solid var(--stone-2); border-radius: 12px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 183, 3, .35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; flex: 1 1 260px; }
.form-note a { color: var(--accent-ink); }
.form-status { display: none; padding: .9rem 1rem; border-radius: 12px; font-weight: 600; }
.form-status.is-ok { display: block; background: #e7f5ee; color: var(--ok); border: 1px solid #b7e1cb; }
.form-status.is-err { display: block; background: #fdecea; color: var(--err); border: 1px solid #f5c2bd; }
.form-status.is-info { display: block; background: #fff6dc; color: #6b4a00; border: 1px solid #ffe08a; }
.botcheck { display: none !important; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Teksta lapas (privātuma politika, paldies) ---------- */
.page-hero.compact { min-height: 0; align-items: center; padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.page-hero .lead { color: var(--on-dark); max-width: 680px; margin: 1.1rem 0 0; }
.page-hero.center { text-align: center; }
.page-hero.center h1::before { margin-inline: auto; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero.center .hero-actions { justify-content: center; }
.section-white { background: var(--white); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose ul { padding-inline-start: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--accent-ink); font-weight: 600; }

/* ---------- Animācijas ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .tile img, .svc-card, .tile-arrow, .btn { transition: none; }
}
