/* ====== Base ====== */
:root{
  --bg: #fbfaf7;
  --text: #141413;
  --muted: #5c5c57;
  --card: #ffffff;
  --border: rgba(20,20,19,0.10);

  /* pasteļtoņi, ko minēji */
  --moss: #5f775f;
  --sand: #cbb8a3;
  --clay: #b08b7a;

  --shadow: 0 10px 30px rgba(20,20,19,0.08);
  --radius: 16px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

/* ====== Header / Nav ====== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand .name{
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.brand .tag{
  color: var(--muted);
  font-size: 12px;
}

.nav-links{
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a{
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a.active,
.nav-links a:hover{
  background: rgba(95,119,95,0.10);
  color: var(--text);
  text-decoration: none;
}

/* ====== Hero ====== */
.hero{
  padding: 56px 0 28px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}

.lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}

.p{
  margin: 0 0 12px;
  color: var(--text);
  max-width: 80ch;
}

.cta-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 6px 18px rgba(20,20,19,0.06);
  font-weight: 600;
  font-size: 14px;
}

.btn.primary{
  background: linear-gradient(180deg, rgba(95,119,95,0.95), rgba(95,119,95,0.85));
  color: #fff;
  border-color: rgba(95,119,95,0.30);
}

.btn:hover{ text-decoration: none; transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

/* ====== Cards / Images ====== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.card h3{
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.figure{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f2f2ef;
}

.figure img{
  display: block;
  width: 100%;
  height: auto;
}

/* ====== Sections ====== */
.section{
  padding: 26px 0;
}

.section h2{
  margin: 0 0 12px;
  font-size: 20px;
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.process{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

hr.sep{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

/* ====== Footer ====== */
.site-footer{
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.footer-row{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.small-link{
  color: var(--muted);
  text-decoration: underline;
}

/* ====== Responsive ====== */
@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
}
