/* Follows Smartifo CVI v1.0: variant 3a, Archivo only, sharp corners, 2 px lines, black-and-white photos. */
:root {
  --ink: #201e1d;
  --accent: #ec3013;
  --bg: #f3f2f2;
  --white: #fff;
  --line: 2px solid var(--ink);
}

* { box-sizing: border-box; border-radius: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

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

main img { filter: grayscale(1); }

a { color: inherit; }

p { max-width: 70ch; }

h1, h2, h3 { margin: 0; }

h1, h2 { font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }

h1 { font-size: clamp(40px, 5.2vw, 64px); }

h2 { margin-bottom: 26px; font-size: clamp(30px, 4vw, 40px); }

h3 { font-size: 24px; font-weight: 700; line-height: 1.2; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 24px; }

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

.site-header { border-bottom: var(--line); background: var(--bg); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }

.logo img { width: 158px; }

.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 700; }

.nav-links a:not(.button) { text-decoration: none; }

.nav-links a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }

.button {
  display: inline-block;
  border: 0;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  padding: 14px 22px;
  text-decoration: none;
}

.button:hover { background: var(--ink); }

.button:disabled { cursor: wait; opacity: .7; }

.button-small { padding: 10px 16px; font-size: 16px; }

.hero { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--line); background: var(--white); }

.hero-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 84px) max(24px, calc((100vw - 1200px) / 2 + 24px)); padding-right: clamp(24px, 4vw, 56px); }

.hero-text p { margin: 22px 0 30px; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.text-link { font-weight: 700; text-underline-offset: 4px; }

.hero-photo { width: 100%; height: 100%; min-height: 420px; border-left: var(--line); object-fit: cover; }

.section { padding-block: clamp(48px, 7vw, 84px); border-bottom: var(--line); }

#lahendused > .wrap, .why, .faq { width: min(1200px, 100%); }

.eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.moments, .features, .steps, .why-grid {
  display: grid;
  gap: 2px;
  border: var(--line);
  background: var(--ink);
}

.moments { grid-template-columns: repeat(2, 1fr); }

.moment { background: var(--white); }

.moment img { width: 100%; aspect-ratio: 3 / 2; border-bottom: var(--line); object-fit: cover; }

.moment > div { padding: 20px 22px 24px; }

.moment p { margin: 8px 0 0; }

.fine { margin: 18px 0 0; font-size: 16px; }

.features { grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }

.features li { padding: 22px; background: var(--white); }

.features strong, .features span { display: block; }

.features strong { margin-bottom: 6px; font-size: 22px; line-height: 1.2; }

.why { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; padding-inline: 24px; }

.why > div { padding: clamp(24px, 3vw, 38px); border: var(--line); background: var(--white); }

.why img { width: 100%; height: 100%; max-height: none; border: var(--line); border-left: 0; object-fit: cover; }

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

.checks li { position: relative; margin-bottom: 14px; padding-left: 26px; }

.checks li:last-child { margin-bottom: 0; }

.checks li::before { content: ""; position: absolute; top: .45em; left: 0; width: 12px; height: 12px; background: var(--accent); }

.energy { background: var(--ink); color: var(--white); }

.energy-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); }

.energy-inner img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.energy-inner p:last-child { margin: 0; }

.steps { grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: step; }

.steps li { padding: 22px; background: var(--white); counter-increment: step; }

.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; color: var(--accent); font-size: 28px; font-weight: 800; line-height: 1; }

.steps strong, .steps span { display: block; }

.steps strong { margin-bottom: 6px; font-size: 20px; line-height: 1.2; }

.faq details { border-top: var(--line); padding: 16px 0; }

.faq details:last-child { border-bottom: var(--line); }

.faq summary { cursor: pointer; font-size: 20px; font-weight: 700; }

.faq details p { margin: 10px 0 0; }

.form-section { border-bottom: 0; background: var(--ink); color: var(--white); }

.form-wrap { max-width: 808px; }

.form-wrap h2 { margin-bottom: 10px; }

.form-wrap > p { margin: 0 0 24px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { margin-bottom: 16px; }

.field label { display: block; margin-bottom: 6px; font-weight: 700; }

input[type="text"], textarea {
  width: 100%;
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea::placeholder { color: #5f5b59; }

fieldset { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; padding: 0; border: 0; }

legend { margin-bottom: 8px; padding: 0; font-weight: 700; }

fieldset label { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }

fieldset input { width: 18px; height: 18px; accent-color: var(--accent); }

.form-section :focus-visible { outline-color: var(--white); }

.hp { position: absolute; left: -9999px; }

.note { margin: 14px 0 0; font-size: 15px; }

.status { min-height: 1.5em; margin: 12px 0 0; font-weight: 700; }

.status.error { padding: 10px 12px; background: var(--white); color: var(--ink); }

.footer { padding-block: 24px 30px; border-top: 2px solid var(--white); background: var(--ink); color: var(--white); font-size: 15px; }

.footer-logo { width: 158px; margin: 0 0 12px -14px; }

.footer p { margin: 4px 0; }

.prose { max-width: 760px; padding-block: 30px 64px; }

.prose h1 { margin: 22px 0; font-size: clamp(34px, 6vw, 48px); }

.prose h2 { margin: 28px 0 6px; font-size: 24px; letter-spacing: -.01em; }

.prose p { margin: 0 0 12px; }

@media (max-width: 860px) {
  .hero, .why, .energy-inner { grid-template-columns: 1fr; }
  .hero-text { padding: 40px 16px; }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-top: var(--line); border-left: 0; }
  .why { padding-inline: 16px; }
  .why img { border: var(--line); border-top: 0; aspect-ratio: 4 / 3; height: auto; }
  .wrap { padding-inline: 16px; }
  .moments, .features, .steps, .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav-links a:not(.button) { display: none; }
}
