/* ==========================================================================
   Ozols DU
   ========================================================================== */

/* ---- Fonti: Roboto (lokāli) + Georgia (sistēmas) – bez ārējiem pieprasījumiem ---- */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/roboto-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/roboto-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/roboto-latin-wght-normal.woff2) format("woff2");
  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+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Mainīgie ---- */
:root {
  --ink: #071514;
  --panel: #081412;
  --cream: #f5f2e8;
  --cream-dim: rgba(245, 242, 232, 0.74);
  --gold: #d3aa55;
  --brass: #9a6a28;
  --green: #3e5c41;
  --green-hover: #4a6e4e;
  --text-dark: #1f2826;
  --muted-dark: #666b64;
  --line-light: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(31, 40, 38, 0.16);

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Roboto, Arial, Helvetica, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --radius: 3px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ---- Palīgklases ---- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flag {
  width: 20px;
  height: 14px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---- Pogas ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn .icon {
  font-size: 1.125rem;
}
.btn--primary {
  background: var(--green);
  border-color: #56785b;
  color: #fff;
}
.btn--primary:hover {
  background: var(--green-hover);
}
.btn--ghost {
  border-color: var(--gold);
  color: var(--cream);
  background: rgba(7, 21, 20, 0.25);
}
.btn--ghost:hover {
  background: rgba(211, 170, 85, 0.16);
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  background: linear-gradient(rgba(7, 21, 20, 0.9), rgba(7, 21, 20, 0.62));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: none;
}
.brand__logo {
  width: 200px;
}
.brand__tag {
  color: var(--cream-dim);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 34px);
}
.site-nav a {
  display: block;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover {
  color: var(--gold);
}
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Valodu izvēlne (details/summary – strādā arī bez JS) */
.lang {
  position: relative;
}
.lang summary {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(7, 21, 20, 0.7);
  font-size: 0.8125rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang__chev {
  font-size: 0.9rem;
  transition: transform 0.2s;
}
.lang[open] .lang__chev {
  transform: rotate(180deg);
}
.lang__list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  min-width: 100%;
  padding: 6px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--ink);
}
.lang__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 0.8125rem;
  white-space: nowrap;
}
.lang__list a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.lang__list a[aria-current] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(7, 21, 20, 0.7);
  font-size: 1.375rem;
}
.nav-toggle__close {
  display: none;
}
.is-open .nav-toggle__open {
  display: none;
}
.is-open .nav-toggle__close {
  display: block;
}

@media (max-width: 1299px) {
  .nav-toggle {
    display: grid;
  }
  .site-header__inner {
    min-height: 80px;
    gap: 16px;
  }
  .brand__logo {
    width: 168px;
  }
  .site-header__tools {
    margin-left: auto;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    border-top: 1px solid var(--line-light);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
  }
  .is-open .site-nav {
    display: block;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 1rem;
  }
  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--line-light);
  }
}

@media (max-width: 519px) {
  .brand__logo {
    width: 148px;
  }
  .brand__tag {
    font-size: 0.5rem;
    letter-spacing: 0.16em;
  }
  .lang summary {
    padding: 0 10px;
    gap: 7px;
  }
  .lang summary span {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 62vh, 660px);
  padding: 150px 0 80px;
  background: #0a1a16 url(../img/hero-sm.webp) 62% center / cover no-repeat;
}
@media (min-width: 900px) {
  .hero {
    background-image: url(../img/hero.webp);
    background-position: center;
  }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(5, 14, 12, 0.7) 0%,
    rgba(5, 14, 12, 0.3) 52%,
    rgba(5, 14, 12, 0.05) 100%
  );
}
.hero__title {
  max-width: 14em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.hero__lead {
  max-width: 34rem;
  margin-top: 18px;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: #fff;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ==========================================================================
   Statistika
   ========================================================================== */
.stats {
  background: var(--cream);
  color: var(--text-dark);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 38px 32px;
}
.stat:first-child {
  padding-left: 0;
}
.stat + .stat {
  border-left: 1px solid var(--line-dark);
}
.stat__icon {
  width: 60px;
  height: 60px;
  color: var(--brass);
  stroke-width: 1.1px;
}
.stat__value {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}
.stat__unit {
  margin-left: 0.4rem;
  font-size: 1.375rem;
  font-weight: 400;
}
.stat__title {
  margin-top: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.stat__text {
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-dark);
  max-width: 22rem;
}

@media (max-width: 899px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .stat,
  .stat:first-child {
    padding: 26px 0;
  }
  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
}

/* ==========================================================================
   Sekciju kopīgais
   ========================================================================== */
.section-head {
  max-width: 46rem;
  margin: 0 auto 46px;
  text-align: center;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  line-height: 1.2;
  text-wrap: balance;
}
.section-lead {
  margin-top: 12px;
  font-size: 1rem;
}

/* ==========================================================================
   Pakalpojumi
   ========================================================================== */
.services {
  position: relative;
  isolation: isolate;
  padding: 80px 0 88px;
  background: #0a1a16 url(../img/services-bg-sm.webp) center / cover no-repeat;
}
@media (min-width: 900px) {
  .services {
    background-image: url(../img/services-bg.webp);
  }
}
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 13, 11, 0.74);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(6, 18, 15, 0.94);
}
.card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}
.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.card__icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  stroke-width: 1.3px;
}
.card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
}
.card__text {
  margin-bottom: 22px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--cream-dim);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--gold);
  font-size: 0.9375rem;
}
.card__link .icon {
  transition: transform 0.2s;
}
.card__link:hover .icon {
  transform: translateX(4px);
}

@media (max-width: 1099px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 599px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .services {
    padding: 60px 0 64px;
  }
}

/* ==========================================================================
   Kāpēc mēs
   ========================================================================== */
.why {
  padding: 72px 0 80px;
  background: var(--cream);
  color: var(--text-dark);
}
.why .eyebrow {
  color: var(--text-dark);
  letter-spacing: 0.26em;
}
.why .section-head {
  margin-bottom: 40px;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.why__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 6px 36px;
}
.why__item:first-child {
  padding-left: 0;
}
.why__item + .why__item {
  border-left: 1px solid var(--line-dark);
}
.why__icon {
  width: 64px;
  height: 64px;
  color: var(--brass);
  stroke-width: 1.2px;
}
.why__icon--map {
  width: 84px;
  height: 54px;
  margin-top: 6px;
  stroke-width: 1.3px;
}
.why__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.25;
}
.why__text {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-dark);
}

@media (max-width: 899px) {
  .why {
    padding: 56px 0 60px;
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .why__item,
  .why__item:first-child {
    padding: 24px 0;
  }
  .why__item + .why__item {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
}

/* ==========================================================================
   Kontaktforma
   ========================================================================== */
.contact {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
  background: #0a1a16 url(../img/contact-bg-sm.webp) 30% center / cover
    no-repeat;
}
@media (min-width: 900px) {
  .contact {
    background-image: url(../img/contact-bg.webp);
  }
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(4, 13, 11, 0.5),
    rgba(4, 13, 11, 0.7)
  );
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  text-wrap: balance;
}
.contact__lead {
  max-width: 26rem;
  margin-top: 18px;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.form {
  padding: 28px;
  border: 1px solid rgba(211, 170, 85, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 24, 21, 0.92);
}
.form__title {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field--full {
  grid-column: 1 / -1;
}

.input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-light);
  border-radius: 2px;
  background: rgba(7, 21, 20, 0.85);
  font-size: 0.875rem;
  transition: border-color 0.2s;
}
.input::placeholder {
  color: rgba(245, 242, 232, 0.52);
}
.input:hover {
  border-color: rgba(255, 255, 255, 0.28);
}
.input:focus-visible {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
textarea.input {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}
select.input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d3aa55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
select.input:invalid {
  color: rgba(245, 242, 232, 0.52);
}
select.input option {
  background: #0d1d1e;
  color: var(--cream);
}

.captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.captcha label {
  flex: 1 1 14rem;
  font-size: 0.875rem;
  color: var(--cream-dim);
}
.captcha__input {
  width: 110px;
  text-align: center;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  min-height: 1.5em;
  margin: 14px 0;
  font-size: 0.875rem;
}
.form__status[data-state="success"] {
  color: #a6d9ab;
}
.form__status[data-state="error"] {
  color: #f4a9a0;
}
.form__status:empty {
  margin: 6px 0;
}

@media (max-width: 899px) {
  .contact {
    padding: 60px 0;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 599px) {
  .form {
    padding: 22px 18px;
  }
  .form__grid {
    grid-template-columns: 1fr;
  }
  .captcha__input {
    width: 100%;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-top: 40px;
  background: var(--ink);
  font-size: 0.8125rem;
  color: var(--cream-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1.1fr;
}
.footer-col {
  padding: 4px 28px;
}
.footer-col:first-child {
  padding-left: 0;
}
.footer-col:last-child {
  padding-right: 0;
}
.footer-col + .footer-col {
  border-left: 1px solid var(--line-light);
}
.footer-title {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}
.footer-col p,
.footer-links li {
  line-height: 1.75;
}
.footer-links a:hover,
.footer-contact a:hover,
.footer-bar a:hover {
  color: var(--gold);
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.brand--footer .brand__logo {
  width: 240px;
}
.brand--footer .brand__tag {
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
}

.socials {
  display: flex;
  gap: 14px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
}
.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.875rem;
  color: var(--cream);
}
.footer-contact .icon {
  font-size: 1.25rem;
  color: var(--gold);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 32px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line-light);
  font-size: 0.75rem;
  color: rgba(245, 242, 232, 0.6);
}
.footer-bar ul {
  display: flex;
  gap: 22px;
}

@media (max-width: 1019px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
    order: -1;
    border-left: 0;
    padding: 0 0 8px;
  }
  .footer-col--company {
    padding-left: 0;
    border-left: 0;
  }
  .footer-col--links {
    padding-left: 0;
    border-left: 0;
  }
  .footer-col--contact {
    padding-right: 0;
  }
}
@media (max-width: 599px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col,
  .footer-col + .footer-col {
    padding: 0;
    border-left: 0;
  }
}

/* ==========================================================================
   404
   ========================================================================== */
.notfound {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 140px 0 80px;
  background: var(--ink) url(../img/contact-bg-sm.webp) center / cover no-repeat;
  position: relative;
  isolation: isolate;
}
.notfound::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 13, 11, 0.8);
}
.notfound__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
}
.notfound__text {
  max-width: 30rem;
  margin: 14px 0 28px;
  font-size: 1.0625rem;
}

/* ==========================================================================
   Apakšlapas: hero ar ceļu + "Par mums"
   ========================================================================== */
.hero--page {
  align-items: flex-end;
  min-height: clamp(340px, 42vh, 440px);
  padding: 140px 0 48px;
}
.hero--page .hero__title {
  max-width: none;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 10px;
}
.crumbs a:hover {
  text-decoration: underline;
}

.eyebrow--dark {
  color: var(--text-dark);
  letter-spacing: 0.26em;
}

/* Teksts vienā pusē, attēls līdz ekrāna malai otrā pusē */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  color: var(--text-dark);
}
.split__text {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  align-self: center;
  padding: 64px 56px 64px var(--edge);
}
.split--reverse .split__text {
  padding: 64px var(--edge) 64px 56px;
}
.split__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.3vw, 2.5rem);
  line-height: 1.2;
  text-wrap: balance;
}
.split__title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 22px 0 24px;
  background: var(--green);
}
.split__text > p:not(.eyebrow) {
  max-width: 38rem;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.7;
  color: #3a423f;
}
.split__title + p {
  margin-top: 0;
}
.split__media {
  position: relative;
  min-height: 400px;
}
.split--intro .split__media {
  margin-block: 24px;
}
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facts {
  background: #eceae1;
  color: var(--text-dark);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 36px;
  text-align: center;
}
.fact + .fact {
  border-left: 1px solid var(--line-dark);
}
.fact__icon {
  width: 40px;
  height: 40px;
  color: var(--green);
  stroke-width: 1.3px;
}
.fact__icon--map {
  width: 52px;
  height: 34px;
  margin-block: 3px;
}
.fact__value {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}
.fact__label {
  margin-top: 6px;
  max-width: 14rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

@media (max-width: 899px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split__text,
  .split--reverse .split__text {
    padding: 48px var(--gutter);
  }
  .split__media,
  .split--intro .split__media {
    min-height: 0;
    margin: 0;
    aspect-ratio: 16 / 10;
  }
  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact:nth-child(odd) {
    border-left: 0;
  }
  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }
}
@media (max-width: 479px) {
  .facts__grid {
    grid-template-columns: 1fr;
  }
  .fact + .fact {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
}

/* ==========================================================================
   Pakalpojumu lapa
   ========================================================================== */
.hero--page .hero__lead {
  max-width: 30rem;
  margin-top: 14px;
}

.service-list {
  padding: 40px 0 24px;
  background: var(--cream);
  color: var(--text-dark);
}
.service {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: 48px 0;
  scroll-margin-top: 16px;
}
.service:nth-child(even) .service__text {
  order: 2;
}

/* plānā zelta līnija starp blokiem */
.service + .service::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 64px;
  height: 1px;
  background: rgba(154, 106, 40, 0.55);
  transform: translateX(-50%) rotate(-48deg);
}

.service__mark {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.service__mark::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}
.service__icon {
  width: 34px;
  height: 34px;
  color: var(--brass);
  stroke-width: 1.2px;
}
.service__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  line-height: 1.2;
}
.service__text > p {
  max-width: 34rem;
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #3a423f;
}

.checks {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.4;
}
.checks__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #123a2e;
  color: #fff;
  font-size: 0.75rem;
}
.checks__mark .icon {
  stroke-width: 2.6px;
}

/* Visiem attēliem vienāds slīpums */
.service__media {
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.service__media img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
}

.cta-band {
  padding: 24px 0 56px;
  background: var(--cream);
}
.cta-band__panel {
  display: grid;
  grid-template-columns: auto 1.1fr 1.2fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 40px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--cream);
  background: linear-gradient(rgba(5, 15, 13, 0.86), rgba(5, 15, 13, 0.86)),
    #0a1a16 url(../img/contact-bg-sm.webp) center / cover;
}
.cta-band__icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  stroke-width: 1.1px;
}
.cta-band__title .eyebrow {
  margin-bottom: 6px;
  font-size: 0.6875rem;
}
.cta-band__title h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}
.cta-band__text {
  max-width: 26rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--cream-dim);
}

@media (max-width: 1019px) {
  .cta-band__panel {
    grid-template-columns: auto 1fr;
    padding: 28px;
  }
  .cta-band__text,
  .cta-band__panel .btn {
    grid-column: 1 / -1;
  }
  .cta-band__panel .btn {
    justify-self: start;
  }
}
@media (max-width: 799px) {
  .service {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }
  .service:nth-child(even) .service__text {
    order: 0;
  }
  .service + .service::before {
    display: none;
  }
  .service__media {
    max-width: 460px;
    justify-self: start;
  }
}
@media (max-width: 479px) {
  .cta-band__panel {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .cta-band__icon {
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Uzņēmumiem un investoriem
   ========================================================================== */
.steps {
  padding: 48px 0 24px;
  background: var(--cream);
  color: var(--text-dark);
}
.steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: 28px 0;
}
.step:nth-child(even) .step__media {
  order: -1;
}
.step:nth-child(even) .step__text {
  justify-self: start;
}

.step__text {
  max-width: 34rem;
}
.step__no {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.step__no::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}
.step__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--brass);
  stroke-width: 1.2px;
}
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
  line-height: 1.2;
  text-wrap: balance;
}
.step__text > p:last-child {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a524f;
}

.step__media img {
  width: 100%;
  aspect-ratio: 11 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.cta-wide {
  padding: 24px 0 56px;
  background: var(--cream);
}
.cta-wide__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  color: var(--cream);
  background: linear-gradient(
      90deg,
      rgba(4, 13, 11, 0.9) 10%,
      rgba(4, 13, 11, 0.45)
    ),
    #0a1a16 url(../img/cta-forest.webp) center / cover;
}
.cta-wide__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
  max-width: 18ch;
}
.cta-wide__text {
  max-width: 30rem;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 799px) {
  .step {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .step:nth-child(even) .step__media {
    order: 0;
  }
  .step__media {
    order: 1;
  }
  .cta-wide__panel .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Realizētie darbi
   ========================================================================== */
.works {
  padding: 40px 0 24px;
  background: var(--cream);
  color: var(--text-dark);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filters__btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  color: var(--text-dark);
  font-size: 0.875rem;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filters__btn:hover {
  border-color: var(--brass);
}
.filters__btn[aria-pressed="true"] {
  background: #a8703a;
  border-color: #a8703a;
  color: #fff;
}

.works__list {
  counter-reset: work;
  margin: 0;
  padding: 0;
  list-style: none;
}
.work {
  counter-increment: work;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 32px 0;
}
.work + .work {
  border-top: 1px solid var(--line-dark);
}
.work[hidden] {
  display: none;
}
.work.is-flip .work__media {
  order: 2;
}

.work__media img {
  width: 100%;
  aspect-ratio: 11 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.work__no {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.work__no::before {
  content: counter(work, decimal-leading-zero);
}
.work__no::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}
.work__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  text-wrap: balance;
}
.work__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 18px;
}
.work__meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: #555c58;
}
.work__meta .icon {
  font-size: 1.375rem;
  color: var(--brass);
  stroke-width: 1.3px;
}
.work__text {
  margin-top: 18px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #555c58;
}

.works__empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted-dark);
}
.works__empty[hidden] {
  display: none;
}
.works {
  padding-bottom: 56px;
}

@media (max-width: 799px) {
  .filters__btn {
    flex: 1 1 calc(50% - 10px);
    padding: 0 12px;
  }
  .work {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }
  .work.is-flip .work__media {
    order: 0;
  }
}

/* ==========================================================================
   Kontakti
   ========================================================================== */
.btn--brass {
  background: #a8703a;
  border-color: #a8703a;
  color: #fff;
}
.btn--brass:hover {
  background: #b8803f;
}
.eyebrow--brass {
  color: #a8703a;
}

.reach {
  padding: 48px 0 56px;
  background: var(--cream);
  color: var(--text-dark);
  scroll-margin-top: 16px;
}
.reach__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.reach__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
  line-height: 1.15;
}
.reach__lead {
  max-width: 30rem;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: #4a524f;
}
.reach__list {
  display: grid;
  gap: 26px;
  margin-top: 36px;
}
.reach__list li {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.reach__icon {
  width: 36px;
  height: 36px;
  margin-top: 2px;
  color: #a8703a;
  stroke-width: 1.3px;
}
.reach__value {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}
a.reach__value:hover {
  color: #a8703a;
}
.reach__list p:not(.reach__value) {
  margin-top: 2px;
  font-size: 0.9375rem;
  color: #555c58;
}

/* Gaišā formas versija */
.form--light {
  border-color: var(--line-dark);
  background: #fbfaf6;
  color: var(--text-dark);
  box-shadow: 0 1px 2px rgba(31, 40, 38, 0.06);
}
.form--light .form__title {
  font-weight: 700;
}
.form--light .input {
  border-color: rgba(31, 40, 38, 0.2);
  background: #fff;
  color: var(--text-dark);
}
.form--light .input::placeholder {
  color: #7b807b;
}
.form--light .input:hover {
  border-color: rgba(31, 40, 38, 0.4);
}
.form--light .input:focus-visible {
  border-color: #a8703a;
  box-shadow: 0 0 0 1px #a8703a;
}
.form--light select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f2826' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form--light select.input option {
  background: #fff;
  color: var(--text-dark);
}
.form--light .captcha label {
  color: #4a524f;
}
.form--light .form__status[data-state="success"] {
  color: #2d6a3a;
}
.form--light .form__status[data-state="error"] {
  color: #b3392c;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #4a524f;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #a8703a;
}

.coverage {
  padding: 56px 0 64px;
  background: #f0eee5;
  color: var(--text-dark);
}
.coverage__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.coverage__map {
  width: 100%;
  height: auto;
}
.coverage__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
  line-height: 1.15;
}
.coverage__title::before {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-bottom: 22px;
  background: #a8703a;
}
.coverage__lead {
  max-width: 34rem;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: #4a524f;
}
.coverage__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.coverage__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  color: #a8703a;
  stroke-width: 1.3px;
}
.coverage__features h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}
.coverage__features p {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555c58;
}

.cta-wide--dark {
  padding: 0;
  background: var(--ink);
}
.cta-wide--dark .wrap {
  max-width: none;
  padding: 0;
}
.cta-wide--dark .cta-wide__panel {
  border-radius: 0;
  padding: clamp(36px, 5vw, 56px)
    max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  background-image: linear-gradient(
      90deg,
      rgba(4, 13, 11, 0.9) 10%,
      rgba(4, 13, 11, 0.5)
    ),
    url(../img/cta-forest.webp);
}

.faq {
  padding: 56px 0 64px;
  background: var(--cream);
  color: var(--text-dark);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.faq__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
  line-height: 1.15;
}
.faq__list {
  display: grid;
  gap: 8px;
}
.faq__item {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  font-size: 0.9375rem;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 1.375rem;
  line-height: 1;
  color: #555c58;
}
.faq__item[open] summary {
  font-weight: 700;
}
.faq__item[open] summary::after {
  content: "\2212";
}
.faq__item p {
  padding: 0 18px 16px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4a524f;
}

@media (max-width: 899px) {
  .reach__grid,
  .coverage__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }
  .coverage__features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .coverage__features li {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 16px;
  }
  .coverage__icon {
    grid-row: span 2;
    margin: 0;
  }
}

/* Sociālo tīklu zīmolu ikonas (aizpildītas, ne kontūras) */
.socials .icon {
  fill: currentColor;
  stroke: none;
  width: 1em;
  height: 1em;
}

/* ==========================================================================
   Juridiskās lapas (privātums, sīkdatnes) + piezīme zem formām
   ========================================================================== */
.legal {
  padding: 48px 0 72px;
  background: var(--cream);
  color: var(--text-dark);
}
.legal__wrap {
  max-width: 52rem;
}
.legal__updated {
  font-size: 0.8125rem;
  color: var(--muted-dark);
}
.legal__intro {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
}
.legal h2 {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}
.legal p,
.legal li {
  font-size: 1rem;
  line-height: 1.7;
  color: #3a423f;
}
.legal h2 + p,
.legal p + p,
.legal ul + p {
  margin-top: 12px;
}
.legal ul {
  margin: 12px 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal li {
  margin-top: 6px;
  padding-left: 4px;
}
.legal a {
  color: #8a5a2b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal a:hover {
  color: #a8703a;
}

.form__note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--cream-dim);
}
.form__note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form--light .form__note {
  color: #555c58;
}
.form--light .form__note a {
  color: #8a5a2b;
}

/* ==========================================================================
   Sākumlapas kustīgais hero (peles kustība)
   ========================================================================== */
.hero--home {
  background: #0a1a16;
}
.hero__bg {
  position: absolute;
  inset: -0px;
  z-index: -2;
  background: #0a1a16 url(../img/hero-sm.webp) 62% center / cover no-repeat;
  will-change: transform;
}
@media (min-width: 900px) {
  .hero__bg {
    background-image: url(../img/hero.webp);
    background-position: center;
  }
}

/* ==========================================================================
   Vakances
   ========================================================================== */
.hero__lead--rule {
  position: relative;
  padding-left: 52px;
}
.hero__lead--rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.hero--page .eyebrow {
  margin-bottom: 10px;
}

.vacancies {
  padding: 48px 0 56px;
  background: var(--cream);
  color: var(--text-dark);
}
.vacancies__head {
  max-width: 46rem;
  margin-bottom: 32px;
}
.vacancies__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.15;
}
.vacancies__lead {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.65;
  color: #4a524f;
}
.vacancies__empty {
  padding: 24px 0;
  color: #4a524f;
}

.vac-list {
  display: grid;
  gap: 10px;
}
.vac {
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: #fbfaf6;
}
.vac__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 190px 150px 170px 24px;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  list-style: none;
  cursor: pointer;
}
.vac__head::-webkit-details-marker {
  display: none;
}
.vac__icon {
  width: 40px;
  height: 40px;
  color: #a8703a;
  stroke-width: 1.2px;
}
.vac__title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}
.vac__meta {
  display: contents;
}
.vac__cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.875rem;
  color: #4a524f;
  white-space: nowrap;
}
.vac__cell .icon {
  font-size: 1.375rem;
  color: #a8703a;
}
.vac__chev {
  font-size: 1.375rem;
  color: #a8703a;
  transition: transform 0.2s;
}
.vac[open] .vac__chev {
  transform: rotate(180deg);
}
.vac[open] .vac__head {
  border-bottom: 1px solid var(--line-dark);
}

.vac__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 28px 24px 32px;
}
.vac__col + .vac__col {
  padding-left: 40px;
  border-left: 1px solid var(--line-dark);
}
.vac__col {
  padding-right: 40px;
}
.vac__col h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
}
.vac__col h3:first-child {
  margin-top: 0;
}
.vac__col p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4a524f;
}
.dots {
  display: grid;
  gap: 6px;
}
.dots li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #4a524f;
}
.dots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8703a;
}

.apply {
  padding: 56px 0 64px;
  background: linear-gradient(rgba(4, 13, 11, 0.55), rgba(4, 13, 11, 0.55)),
    #0a1a16 url(../img/contact-bg-sm.webp) center / cover no-repeat;
}
@media (min-width: 900px) {
  .apply {
    background-image: linear-gradient(
        rgba(4, 13, 11, 0.55),
        rgba(4, 13, 11, 0.55)
      ),
      url(../img/contact-bg.webp);
  }
}
.apply__card {
  max-width: 46rem;
  margin-inline: auto;
  padding: 32px 36px 28px;
}
.apply__head {
  margin-bottom: 20px;
  text-align: center;
}
.apply__head .eyebrow {
  margin-bottom: 8px;
}
.apply__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.15;
}
.apply__head p:last-child {
  margin-top: 8px;
  color: #4a524f;
}
.apply__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 16px;
  align-items: end;
}
.apply__grid .field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  color: #3a423f;
}
.apply__grid .field label span {
  color: #b3392c;
}
.apply__grid .captcha {
  display: block;
}
.apply__grid .captcha .captcha__input {
  width: 100%;
  text-align: left;
}
.apply__note {
  grid-column: 1 / 3;
  align-self: center;
}
.apply__submit {
  width: 100%;
}

@media (max-width: 1099px) {
  .vac__head {
    grid-template-columns: 40px 1fr 24px;
    padding: 14px 16px;
    gap: 12px 14px;
  }
  .vac__meta {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 6px 22px;
  }
}
@media (max-width: 899px) {
  .vac__body {
    grid-template-columns: 1fr;
    padding: 22px 16px 26px;
  }
  .vac__col,
  .vac__col + .vac__col {
    padding: 0;
    border: 0;
  }
  .vac__col + .vac__col {
    margin-top: 24px;
  }
  .apply__card {
    padding: 24px 18px;
  }
  .apply__grid {
    grid-template-columns: 1fr;
  }
  .apply__note {
    grid-column: auto;
  }
}
.form--light select.input:invalid {
  color: #7b807b;
}

/* ==========================================================================
   Galvenās izvēlnes nolaižamais saraksts ("Pērkam")
   ========================================================================== */
.has-sub {
  position: relative;
}
.sub-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: inherit;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.sub-toggle:hover,
.has-sub.is-open .sub-toggle {
  color: var(--gold);
}
.sub-toggle.is-current {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.sub-toggle__chev {
  font-size: 0.9rem;
  transition: transform 0.2s;
}
.has-sub.is-open .sub-toggle__chev {
  transform: rotate(180deg);
}
.sub-list {
  display: none;
  position: absolute;
  left: -16px;
  top: 100%;
  z-index: 40;
  min-width: 16rem;
  padding: 8px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.has-sub:hover .sub-list,
.has-sub:focus-within .sub-list,
.has-sub.is-open .sub-list {
  display: block;
}
.site-nav .sub-list a {
  padding: 10px 12px;
  border: 0;
  white-space: normal;
}
.site-nav .sub-list a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.site-nav .sub-list a[aria-current="page"] {
  color: var(--gold);
}
@media (max-width: 1299px) {
  .sub-toggle {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 1rem;
    pointer-events: none;
  }
  .sub-toggle__chev {
    display: none;
  }
  .sub-toggle.is-current {
    border-bottom-color: var(--line-light);
  }
  .sub-list {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .site-nav .sub-list a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 0.9375rem;
    color: var(--cream-dim);
  }
}

/* ==========================================================================
   Pirkšanas lapas (meža īpašumi, cirsmas un apaugumi)
   ========================================================================== */
.hero--buy .hero__actions {
  margin-top: 24px;
}
.hero--buy .hero__lead {
  max-width: 36rem;
}
.buy-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
}
.buy-text {
  max-width: 34rem;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: #4a524f;
}

.buy-why {
  padding: 56px 0;
  background: var(--cream);
  color: var(--text-dark);
  scroll-margin-top: 16px;
}
.buy-why__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.buy-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.buy-features li {
  padding: 22px 28px;
}
.buy-features li:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--line-dark);
}
.buy-features li:nth-child(n + 3) {
  border-top: 1px solid var(--line-dark);
}
.buy-features__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: #a8703a;
  stroke-width: 1.2px;
}
.buy-features h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}
.buy-features p {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555c58;
}

.split--dark {
  background: var(--ink);
  color: var(--cream);
}
.split--dark .split__title::after {
  display: none;
}
.split--dark .split__title {
  margin-bottom: 14px;
}
.split--dark .split__text > p:not(.eyebrow) {
  color: var(--cream-dim);
}
.buy-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.buy-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.buy-list__icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  stroke-width: 1.2px;
}
.buy-list span {
  padding-top: 4px;
}

.buy-steps {
  padding: 56px 0 40px;
  background: var(--cream);
  color: var(--text-dark);
}
.buy-steps .section-head {
  margin-bottom: 36px;
}
.steps4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.steps4 li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.steps4 li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -32px;
  top: 18px;
  color: #a8703a;
  font-size: 1.25rem;
}
.steps4__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: #a8703a;
  stroke-width: 1.2px;
}
.steps4 h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
}
.steps4 p {
  max-width: 15rem;
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555c58;
}

.buy-form {
  padding: 24px 0 56px;
  background: var(--cream);
  color: var(--text-dark);
  scroll-margin-top: 16px;
}
.buy-form__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: #f0eee5;
  padding: 0;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
}
.buy-form__main {
  padding: 32px 36px 36px;
}
.buy-form__main .form {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.buy-form__media {
  position: relative;
  min-height: 320px;
}
.buy-form__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-wide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-wide--dark .cta-wide__title {
  max-width: none;
}

@media (max-width: 899px) {
  .buy-why__grid,
  .buy-form__grid {
    grid-template-columns: 1fr;
  }
  .buy-features li:nth-child(odd) {
    padding-left: 0;
  }
  .steps4 {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .steps4 li:not(:last-child)::after {
    display: none;
  }
  .buy-form__main {
    padding: 24px 18px 28px;
  }
  .buy-form__media {
    min-height: 220px;
  }
}
@media (max-width: 599px) {
  .buy-features {
    grid-template-columns: 1fr;
  }
  .buy-features li,
  .buy-features li:nth-child(odd) {
    padding: 18px 0;
    border-right: 0;
  }
  .buy-features li:nth-child(n + 2) {
    border-top: 1px solid var(--line-dark);
  }
  .steps4 {
    grid-template-columns: 1fr;
  }
  .cta-wide__actions .btn {
    width: 100%;
  }
}

/* ---- Interaktīvā Latvijas karte (reģioni, pilsētas, koki) ---- */
.coverage__grid:has(.rmap) { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.rmap { position: relative; width: 100%; --brass: #c98a2b; --deep: #10302c; }
.rmap__stage { position: relative; width: 100%; aspect-ratio: 1713 / 972; }
.rmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.rg { fill: rgba(255, 255, 255, 0); stroke: #fff; stroke-width: 3.5; stroke-linejoin: round; cursor: pointer;
  transition: fill .35s ease; }
.rmap:not([data-region]) .rg:hover { fill: rgba(255, 255, 255, .16); }
.rmap[data-region] .rg[data-region]:hover { fill: rgba(255, 255, 255, .14); }
.rbase { transition: opacity .5s ease; }
.rmap[data-region] .rbase { opacity: .94; }

.ro { opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.ro.is-on { opacity: 1; }
.rg-line { stroke: #fff; stroke-width: 3.5; stroke-linejoin: round; pointer-events: none; transition: stroke-width .4s ease, filter .4s ease; }
.rg-line.is-on { stroke-width: 4.5; filter: drop-shadow(0 7px 9px rgba(8, 30, 20, .45)); }

.rl { font-family: inherit; font-weight: 800; font-size: 66px; letter-spacing: .14em; fill: #5f6d57; opacity: 0;
  pointer-events: none; transition: opacity .35s ease, fill .35s ease; paint-order: stroke; }
.rmap:not([data-region]) .rg:hover ~ .rl[data-region] { opacity: 0; }
.rl.is-hover { opacity: .6; }
.rl.is-on { opacity: 1; fill: #fff; stroke: none; filter: drop-shadow(0 3px 7px rgba(5, 25, 15, .55)); }

/* pilsētu punkti */
.rmap__pin {
  position: absolute; z-index: 3; width: 16px; height: 16px; margin: -8px 0 0 -8px; padding: 0; border: 0;
  background: none; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent;
  transition: opacity .35s ease, transform .35s cubic-bezier(.3, 1.5, .5, 1), visibility 0s linear 0s;
}
.rmap__pin i { position: absolute; inset: 1px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3bf 0, #f7c548 32%, #d98f12 78%, #b36f08 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 4px 8px rgba(5, 20, 12, .45); transition: transform .25s ease; }
.rmap__pin span {
  position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  padding: 5px 10px; border-radius: 9px; background: var(--deep); color: #fff; font-weight: 600;
  font-size: clamp(10px, 1.45vw, 15px); line-height: 1.1; box-shadow: 0 6px 14px rgba(7, 21, 20, .25);
  transition: opacity .3s ease, transform .3s ease;
}
.rmap__pin--right span { left: 22px; transform: translateY(calc(-50% + var(--ly, 0px))); }
.rmap__pin--left span { right: 22px; transform: translateY(calc(-50% + var(--ly, 0px))); }
.rmap__pin:hover i, .rmap__pin.is-active i { transform: scale(1.35); }
.rmap__pin:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 50%; }

/* sākuma stāvoklis: tikai lielākās pilsētas */
.rmap:not([data-region]) .rmap__pin:not([data-major]) { opacity: 0; transform: scale(.2); visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, .35s; }
/* izvēlēts reģions: tā pilsētas redzamas, pārējās pelēkāk */
.rmap[data-region] .rmap__pin { opacity: .55; transform: scale(.85); }
.rmap[data-region] .rmap__pin span { opacity: 0; transform: translateY(calc(-50% + var(--ly, 0px))) scale(.9); }
.rmap[data-region] .rmap__pin:not([data-major]):not([data-region="kurzeme"]):not([data-region="zemgale"]):not([data-region="vidzeme"]):not([data-region="latgale"]) { display: none; }
.rmap[data-region="kurzeme"] .rmap__pin:not([data-region="kurzeme"]):not([data-major]),
.rmap[data-region="zemgale"] .rmap__pin:not([data-region="zemgale"]):not([data-major]),
.rmap[data-region="vidzeme"] .rmap__pin:not([data-region="vidzeme"]):not([data-major]),
.rmap[data-region="latgale"] .rmap__pin:not([data-region="latgale"]):not([data-major]) { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.2); }
.rmap[data-region="kurzeme"] .rmap__pin[data-region="kurzeme"],
.rmap[data-region="zemgale"] .rmap__pin[data-region="zemgale"],
.rmap[data-region="vidzeme"] .rmap__pin[data-region="vidzeme"],
.rmap[data-region="latgale"] .rmap__pin[data-region="latgale"] { opacity: 1; transform: scale(1); transition-delay: calc(var(--i, 0) * 70ms + 250ms), calc(var(--i, 0) * 70ms + 250ms), 0s; }
/* izvēlētā reģiona pilsētām paliek tikai punkti (nosaukums parādās uz kartītes) */
/* kartīte */
.rmap__card {
  position: absolute; z-index: 6; width: min(210px, 52%); background: #fff; color: #17201a; border-radius: 14px;
  overflow: hidden; pointer-events: none; box-shadow: 0 18px 40px rgba(7, 21, 20, .3); opacity: 0;
  transform: translateY(6px) scale(.98); transition: opacity .2s ease, transform .2s ease;
}
.rmap__card[hidden] { display: none; }
.rmap__card.is-on { opacity: 1; transform: none; }
.rmap__card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.rmap__body { padding: 10px 14px 12px; }
.rmap__body b { display: block; font-size: 1rem; line-height: 1.25; }
.rmap__body span { display: block; margin-top: 2px; font-size: .88rem; line-height: 1.35; color: #4a5a50; }

/* reģionu pogas un saraksts */
.rmap__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rmap__chip {
  appearance: none; border: 1.5px solid rgba(16, 48, 44, .22); background: #fff; color: var(--deep);
  padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.rmap__chip:hover { border-color: var(--deep); transform: translateY(-1px); }
.rmap__chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.rmap__chip:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.rmap__lists { margin-top: 14px; min-height: 3.2em; }
.rmap__hint { margin: 0; color: #5a665e; font-size: .95rem; }
.rmap__list[hidden], .rmap__hint[hidden] { display: none; }
.rmap__ltitle { margin: 0 0 8px; font-weight: 700; font-size: .95rem; color: var(--deep); }
.rmap__list ul { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.rmap__list button {
  appearance: none; border: 0; background: rgba(16, 48, 44, .08); color: var(--deep); padding: 5px 12px; border-radius: 8px;
  font: inherit; font-size: .9rem; cursor: pointer; transition: background .2s ease;
}
.rmap__list button:hover, .rmap__list button:focus-visible { background: rgba(201, 138, 43, .35); outline: none; }

@media (max-width: 899px) {
  .coverage__grid:has(.rmap) { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rmap__pin span { padding: 3px 6px; border-radius: 6px; font-size: 9px; }
  .rmap__pin { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
  .rmap__pin--right span { left: 17px; } .rmap__pin--left span { right: 17px; }
  .rl { font-size: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .rg, .ro, .rl, .rmap__pin, .rmap__pin span, .rmap__card, .rmap__chip { transition: none !important; }
}
@media (max-width: 520px) {
  .rmap__chips { gap: 6px; }
  .rmap__chip { padding: 7px 13px; font-size: .88rem; }
}

.rmap[data-region] .rmap__pin[data-region] i { inset: 3px; }
