/* ==========================================================================
   GEOID — galvenais stils (bez Bootstrap/jQuery)
   ========================================================================== */

:root {
  --red: #b42435;
  --red-600: #951c2b;
  --red-light: #ff5a6a;
  --ink: #15171a;
  --ink-2: #1f2226;
  --text: #2c3038;
  --muted: #5f6672;
  --line: #e4e6ea;
  --bg: #f4f5f7;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 6px rgba(16, 18, 22, .05), 0 10px 30px rgba(16, 18, 22, .06);
  --shadow-lg: 0 6px 16px rgba(16, 18, 22, .06), 0 24px 60px rgba(16, 18, 22, .12);
  --header-h: 76px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Pamati ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
picture { display: block; }

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-600); }

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.7vw, 2.55rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }

.media-fill picture,
.media-fill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sekcijas ---------- */
.section { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section--muted { background: var(--bg); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.07rem; margin: 0; }
.section-head h2:last-child { margin-bottom: 0; }
.section-head--row {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
}
.section-head--row > div { max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--red-light); }

/* ---------- Pogas ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1.2 var(--font);
  cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon[class] { transform: translateX(2px); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(180, 36, 53, .25); }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--red); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Augšējā josla ---------- */
.topbar { background: var(--ink); color: #b6bbc4; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.topbar__contacts > * { display: inline-flex; align-items: center; gap: .45rem; color: inherit; }
.topbar__contacts a:hover { color: #fff; }
.topbar .icon { color: var(--red-light); }

.social { display: flex; gap: .4rem; }
.social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; color: inherit; transition: background-color .2s, color .2s;
}
.social a:hover { background: var(--red); color: #fff; }
.topbar .social .icon { color: inherit; }
.social--footer a { width: 40px; height: 40px; background: rgba(255, 255, 255, .07); color: #fff; }

@media (max-width: 1099px) { .topbar__address { display: none !important; } }
@media (max-width: 767px)  { .topbar { display: none; } }

/* ---------- Galvene ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(16, 18, 22, .07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }

.site-nav__list { list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: block; padding: .5rem .1rem;
  color: var(--ink); font-weight: 700; font-size: .93rem;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--red); }

.site-nav__phone { display: none; }

.nav-toggle {
  display: none; position: relative;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 992px) {
  .site-nav { display: flex; align-items: center; gap: 2.2rem; }
  .site-nav__list { display: flex; gap: 1.8rem; }
  .site-nav__cta { min-height: 46px; padding-inline: 1.3rem; }
}

@media (max-width: 991px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; gap: 1rem;
    padding: .5rem 1.25rem 1.5rem;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(16, 18, 22, .14);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: .95rem 0; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .site-nav__cta { width: 100%; }
  .site-nav__phone {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-weight: 700; color: var(--ink); padding: .4rem;
  }
  body.nav-open { overflow: hidden; }
}

/* ---------- Sākumlapas hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    url("../images/contours.svg") center / cover no-repeat,
    linear-gradient(100deg, rgba(13, 14, 17, .94) 0%, rgba(13, 14, 17, .82) 40%, rgba(13, 14, 17, .45) 75%, rgba(13, 14, 17, .3) 100%);
}
.hero__inner { max-width: 760px; padding-block: clamp(4.5rem, 3rem + 7vw, 8.5rem) clamp(6.5rem, 5rem + 7vw, 10.5rem); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 span { color: var(--red-light); }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #d3d7de; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 2.2rem 0 0; padding: 0; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__chips .icon { color: var(--red-light); }

/* ---------- Skaitļi ---------- */
.stats { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -3rem - 2vw, -3rem); }
.stats__grid {
  margin: 0; display: grid; grid-template-columns: repeat(2, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: clamp(1.2rem, 1rem + 1vw, 1.9rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat dt { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.stat dd { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.stat strong { display: block; color: var(--ink); font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .15rem; }
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ---------- Kartītes (pakalpojumi) ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.card__media img { transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.card__title { font-size: 1.15rem; margin-bottom: .55rem; }
.card__text { flex: 1; color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--red); }
.card__more .icon { transition: transform .2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

/* ---------- Teksts + attēls ---------- */
.split { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split__media { position: relative; isolation: isolate; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media::before {
  content: ""; position: absolute; z-index: -1; right: -14px; bottom: -14px;
  width: 55%; height: 55%; border-radius: var(--radius); background: var(--red);
}

.checklist { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.checklist strong { color: var(--ink); }

/* ---------- Objekti ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button {
  font: 700 .9rem/1 var(--font); padding: .75rem 1.2rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.projects { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.project {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: fade-in .4s var(--ease);
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.project__media img { transition: transform .6s var(--ease); }
.project:hover .project__media img { transform: scale(1.05); }
.project__tags { position: absolute; top: .8rem; left: .8rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  display: inline-block; padding: .3rem .65rem; border-radius: 999px;
  background: rgba(21, 23, 26, .78); color: #fff; font-size: .74rem; font-weight: 700;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.project__body { padding: 1.2rem 1.3rem 1.4rem; }
.project__title { font-size: 1.06rem; margin-bottom: .45rem; }
.project__meta { display: flex; gap: .35rem; align-items: flex-start; color: var(--muted); font-size: .9rem; margin-bottom: .35rem; }
.project__meta .icon { color: var(--red); margin-top: .2em; }
.project__works { font-size: .9rem; margin: 0; color: var(--text); }

@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Priekšrocības ---------- */
.features { display: grid; gap: 1.5rem; }
@media (min-width: 768px) and (max-width: 1099px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
}
.feature__icon { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; margin-bottom: 1.3rem; }
.feature p, .feature li { font-size: .95rem; }
.feature p { color: var(--muted); }
.feature .checklist { margin-bottom: 1rem; }
.feature .link-arrow { margin-top: auto; }

.values { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.value__num { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--red); margin-bottom: 1.2rem; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(2rem, 1.4rem + 3vw, 3.6rem);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--red); color: rgba(255, 255, 255, .88);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: url("../images/contours.svg") right center / cover no-repeat;
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.15rem); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Apakšlapu hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #c4c9d1;
  padding-block: clamp(2.6rem, 2rem + 3vw, 4.6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/contours.svg") right center / cover no-repeat;
}
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.page-hero__lead { max-width: 680px; margin: 1rem 0 0; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }

.breadcrumbs ol { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .45; }
.breadcrumbs a { color: #c4c9d1; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--red-light); font-weight: 600; }

/* ---------- Pakalpojuma lapa ---------- */
.service-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 992px) {
  .service-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.prose { max-width: 75ch; }
.prose p { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); margin-top: 1.8em; }
.prose strong { color: var(--ink); }
.article-figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg); }

.callout {
  margin: 1.5rem 0; padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #fbf1f2; color: var(--ink);
}

.aside { display: grid; gap: 1.25rem; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.aside-card__title { font-size: 1.1rem; margin-bottom: .6rem; }
.aside-card--dark { background: var(--ink); border-color: var(--ink); color: #b6bbc4; }
.aside-card--dark .aside-card__title { color: #fff; }
.aside-card--dark p { font-size: .95rem; margin-bottom: 1.2rem; }
.aside-card__phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; color: #fff; font-weight: 700; }
.aside-card__phone:hover { color: var(--red-light); }

.service-links { list-style: none; margin: 0; padding: 0; }
.service-links a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600;
}
.service-links li:last-child a { border-bottom: 0; padding-bottom: 0; }
.service-links a .icon { color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.service-links a:hover .icon { transform: translateX(3px); color: var(--red); }
.service-links a[aria-current="page"] { color: var(--red); }
.service-links a[aria-current="page"] .icon { color: var(--red); }

/* ---------- Kontakti ---------- */
.contact { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; } }

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow);
}
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 576px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: .4rem; font-size: .86rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem;
  font: 500 1rem/1.4 var(--font); color: var(--ink);
  background: #f9fafb; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0aa; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(180, 36, 53, .12);
}
.field [aria-invalid="true"] { border-color: #d02c2c; background: #fff6f6; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; }
.form-status.is-success { background: #e7f6ed; color: #16613a; }
.form-status.is-error { background: #fdecec; color: #9b1c1c; }
.form__note { margin: 0; font-size: .82rem; color: var(--muted); }

.contact-side { display: grid; gap: 1.25rem; grid-template-rows: auto 1fr; }
.contact-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.contact-list li { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; background: #fff; }
.contact-list__icon {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: #fbf1f2; color: var(--red);
}
.contact-list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 700; word-break: break-word; }
.contact-list a:hover { color: var(--red); }

.map { min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Kājene ---------- */
.site-footer { background: #0f1012; color: #9aa0aa; font-size: .95rem; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.site-footer a { color: #b6bbc4; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 576px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .site-footer__grid { grid-template-columns: 1.3fr .9fr 1fr 1.4fr; } }
.footer-logo { display: inline-block; padding: .55rem .85rem; margin-bottom: 1.1rem; background: #fff; border-radius: 12px; }
.footer-logo img { height: 34px; width: auto; }
.footer-about p { max-width: 320px; }
.footer-title { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer address { font-style: normal; line-height: 1.75; font-size: .9rem; }
.site-footer address strong { color: #fff; }
.footer-contacts { display: grid; gap: .4rem; margin-top: 1rem; }
.footer-contacts a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.footer-contacts .icon { color: var(--red-light); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.4rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

/* Mobilā zvana poga */
.fab-call {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; box-shadow: 0 12px 28px rgba(180, 36, 53, .45);
}
.fab-call:hover { color: #fff; background: var(--red-600); }
.fab-call .icon { width: 24px; height: 24px; }
@media (min-width: 768px) { .fab-call { display: none; } }
@media (max-width: 767px) { .site-footer { padding-bottom: 72px; } }

/* 404 */
.notfound { text-align: center; max-width: 560px; }
.notfound__code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; line-height: 1; color: var(--red); margin-bottom: .5rem; letter-spacing: -.04em; }
.notfound .hero__actions { justify-content: center; }

/* Pieejamība: samazināta kustība */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Drukāšana */
@media print {
  .topbar, .site-header, .fab-call, .cta-band, .map, .form { display: none !important; }
  .page-hero, .hero { background: none; color: #000; }
  .page-hero h1, .hero h1 { color: #000; }
}
