/* security-bold */
:root {
  --lk-primary: #0f172a;
  --lk-primary-dark: #020617;
  --lk-accent: #d97706;
  --lk-bg-light: #fafaf9;
  --lk-surface: #ffffff;
  --lk-text: #1c1917;
  --lk-muted: #57534e;
  --lk-border: #e7e5e4;
  --lk-badge-bg: #fef3c7;
  --lk-badge-text: #92400e;
  --lk-badge-radius: 4px;
  --lk-card-radius: 8px;
  --lk-font-heading: 'Space Grotesk', sans-serif;
  --lk-font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--lk-font-body);
  color: var(--lk-text);
  background-color: var(--lk-bg-light);
  line-height: 1.62;
  font-size: 16px;
  padding-bottom: 72px;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4 {
  font-family: var(--lk-font-heading);
  color: var(--lk-text);
  line-height: 1.22;
  margin-top: 0;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--lk-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--lk-primary-dark);
}

.raam {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top utility bar */
.ylariba {
  background: var(--lk-text);
  color: #f8fafc;
  font-size: 0.85rem;
  padding: 8px 0;
}

.ylariba-sisu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
}

.ylariba a {
  color: #ffffff;
  font-weight: 600;
}

/* Main Header */
.pais {
  background: var(--lk-surface);
  border-bottom: 1px solid var(--lk-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.pais-sisu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}

.nimi {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--lk-font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--lk-text);
}

.nimi:hover {
  color: var(--lk-primary);
}

.nimi svg {
  flex-shrink: 0;
}

.nimi-lisa {
  display: block;
  font-family: var(--lk-font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--lk-muted);
  line-height: 1.2;
}

.menuu {
  display: none;
  align-items: center;
  gap: 20px;
}

@media (min-width: 960px) {
  .menuu {
    display: flex;
  }
}

.menuu a {
  color: var(--lk-text);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

.menuu a:hover {
  color: var(--lk-primary);
}

.pais-nupud {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Below 900px the sticky mobile bar carries the order CTA. */
.pais-nupud .nupp {
  display: none;
}

@media (min-width: 900px) {
  .pais-nupud .nupp {
    display: inline-flex;
  }
}

.keeled {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--lk-border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 600;
  flex-shrink: 0;
}

.keeled a, .keeled span {
  padding: 6px 10px;
}

.keeled span.active {
  background: var(--lk-primary);
  color: #ffffff;
}

.keeled a {
  color: var(--lk-text);
  background: var(--lk-surface);
}

.nupp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.nupp-pohi {
  background: var(--lk-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.nupp-pohi:hover {
  background: var(--lk-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.nupp-kontuur {
  background: var(--lk-surface);
  color: var(--lk-text);
  border-color: var(--lk-border);
}

.nupp-kontuur:hover {
  border-color: var(--lk-primary);
  color: var(--lk-primary);
}

/* Breadcrumbs */
.rada {
  padding: 14px 0 0;
  font-size: 0.86rem;
  color: var(--lk-muted);
}

.rada a {
  color: var(--lk-muted);
}

.rada a:hover {
  color: var(--lk-primary);
}

/* Hero Section */
.avaplokk {
  padding: 36px 0 48px;
}

.avaplokk-jaotus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.avaplokk-jaotus > * {
  min-width: 0;
}

@media (min-width: 960px) {
  .avaplokk-jaotus {
    grid-template-columns: 1.22fr 0.92fr;
    gap: 40px;
  }
}

.silt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lk-badge-bg);
  color: var(--lk-badge-text);
  padding: 6px 13px;
  border-radius: var(--lk-badge-radius);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.juhatus {
  font-size: 1.08rem;
  color: var(--lk-muted);
  margin-bottom: 18px;
}

.hinnasilt {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-left: 4px solid var(--lk-primary);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.hinnasilt strong {
  color: var(--lk-primary-dark);
  font-size: 1.05rem;
}

.jarjekord {
  background: var(--lk-surface);
  border: 1px dashed var(--lk-primary);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--lk-text);
  margin-bottom: 20px;
}

.avaplokk-nupud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.margid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mark {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  color: var(--lk-muted);
  font-weight: 500;
}

/* Lead Form Card */
.vormikast {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-card-radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.vormikast h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.vormi-juhend {
  font-size: 0.88rem;
  color: var(--lk-muted);
  margin-bottom: 16px;
}

.vormi-markus {
  font-size: 0.8rem;
  color: var(--lk-muted);
  line-height: 1.45;
  margin-top: 10px;
}

.vali-plokk {
  margin-bottom: 13px;
}

.vali-plokk label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--lk-text);
}

.vali {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--lk-text);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vali:focus {
  outline: none;
  border-color: var(--lk-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.kaks-veergu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 540px) {
  .kaks-veergu {
    grid-template-columns: 1fr 1fr;
  }
}

.meepott {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.teade {
  display: none;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 500;
}

.teade.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.teade.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Content Sections */
.osa {
  padding: 44px 0;
}

.osa-hele {
  background: var(--lk-surface);
  border-top: 1px solid var(--lk-border);
  border-bottom: 1px solid var(--lk-border);
}

.kaardid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 680px) {
  .kaardid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .kaardid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.teenus {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-card-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.teenus:hover {
  transform: translateY(-2px);
  border-color: var(--lk-primary);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.teenus h3 a {
  color: var(--lk-text);
}

.teenus h3 a:hover {
  color: var(--lk-primary);
}

.teenuse-hind {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--lk-border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lk-primary-dark);
}

/* Technical prose & bullets */
.tekst {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-card-radius);
  padding: 26px;
  margin-bottom: 24px;
}

.loend {
  margin: 0 0 16px;
  padding-left: 20px;
}

.loend li {
  margin-bottom: 10px;
}

/* Price Table */
.tabeli-keri {
  overflow-x: auto;
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-card-radius);
}

.hinnatabel {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.hinnatabel th, .hinnatabel td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--lk-border);
  vertical-align: top;
}

.hinnatabel th {
  background: var(--lk-bg-light);
  font-weight: 700;
  color: var(--lk-text);
}

.hinnatabel tr:last-child td {
  border-bottom: none;
}

.summa {
  font-weight: 700;
  color: var(--lk-primary-dark);
  white-space: nowrap;
}

.avaplokk-jaotus .summa {
  white-space: normal;
  min-width: 10.5em;
}

/* City links grid */
.linnad {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.linn {
  display: block;
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--lk-text);
  font-size: 0.92rem;
}

.linn:hover {
  border-color: var(--lk-primary);
  color: var(--lk-primary);
}

.linn small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--lk-muted);
}

/* FAQ */
.kkk-loend {
  display: grid;
  gap: 12px;
}

.kkk {
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: 10px;
  padding: 16px 20px;
}

.kkk summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.02rem;
  color: var(--lk-text);
}

.kkk p {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--lk-muted);
}

/* Footer */
.jalus {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 36px;
  font-size: 0.9rem;
}

.jalus-veerud {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .jalus-veerud {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.jalus h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.jalus ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jalus li {
  margin-bottom: 7px;
}

.jalus a {
  color: #cbd5e1;
}

.jalus a:hover {
  color: #ffffff;
}

.jalus-all {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Sticky Mobile Bar */
.alariba {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--lk-surface);
  border-top: 1px solid var(--lk-border);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  z-index: 120;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

@media (min-width: 900px) {
  .alariba {
    display: none;
  }
}
