/* Elektro Lignum — self-contained stylesheet (no external fonts, no CDN).
   Compatible with CSP: default-src 'self'; style-src 'self'. */

:root {
  --ink: #0f1620;
  --ink-2: #47525f;
  --ink-3: #6b7684;
  --paper: #ffffff;
  --mist: #f2f5f8;
  --mist-2: #e7ecf1;
  --line: #dbe2ea;

  --navy-900: #08192b;
  --navy-800: #0a1e33;
  --navy-700: #10314f;
  --blue-600: #17568c;
  --blue-500: #1d6dae;
  --blue-300: #7fb6e3;
  --blue-100: #d9e8f5;

  --timber-700: #6b4322;
  --timber-600: #8d5c30;
  --timber-500: #a9703f;
  --timber-300: #c08a4e;
  --amber: #f0b429;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(9, 25, 43, .06), 0 6px 16px rgba(9, 25, 43, .06);
  --shadow-md: 0 2px 6px rgba(9, 25, 43, .08), 0 18px 44px rgba(9, 25, 43, .12);
  --wrap: 1140px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  margin: 0 0 .6em;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
h3 { font-size: 1.14rem; letter-spacing: -0.012em; }

p { margin: 0 0 1rem; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-500); }

.btn-accent {
  background: var(--amber);
  color: #2a1c00;
  box-shadow: 0 10px 26px rgba(240, 180, 41, .28);
}
.btn-accent:hover { background: #ffc63f; }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-lg { min-height: 54px; padding: 1rem 1.85rem; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }

.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { display: flex; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-weight: 750;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.brand-sub {
  display: none;
  font-size: .74rem;
  color: var(--ink-3);
  letter-spacing: .02em;
  line-height: 1.2;
}

@media (min-width: 560px) {
  .brand-sub { display: block; }
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav .btn { white-space: nowrap; }
.site-nav > a:not(.btn) {
  display: none;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
}
.site-nav > a:not(.btn):hover { color: var(--blue-600); }

@media (min-width: 860px) {
  .site-nav > a:not(.btn) { display: inline; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90rem 42rem at 78% -10%, rgba(29, 109, 174, .42), transparent 62%),
    radial-gradient(52rem 34rem at 8% 108%, rgba(169, 112, 63, .3), transparent 60%),
    linear-gradient(168deg, var(--navy-700) 0%, var(--navy-900) 72%);
  color: #fff;
  padding: 3.25rem 0 3.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .06));
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero h1 { color: #fff; margin-bottom: .5em; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow-dark { color: var(--blue-600); }

.lead {
  font-size: clamp(1.06rem, 2.3vw, 1.2rem);
  color: #c5d6e5;
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1.9rem 0 2.25rem;
}

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { flex: 0 0 auto; }
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 620px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.hero-facts li { display: flex; flex-direction: column; gap: .15rem; }
.hero-facts strong { font-size: .98rem; font-weight: 700; color: #fff; }
.hero-facts span { font-size: .88rem; color: #9fb5c9; line-height: 1.45; }

.hero-art { display: none; }

@media (min-width: 960px) {
  .hero { padding: 4.75rem 0 5rem; }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas:
      "copy art"
      "facts facts";
    column-gap: 3.5rem;
    align-items: center;
  }
  .hero-copy { grid-area: copy; }
  .hero-art {
    grid-area: art;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
  }
  .art-svg { width: 100%; height: auto; border-radius: var(--radius-lg); }
  .hero-facts { grid-area: facts; margin-top: 1.5rem; }
}

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }
main > section[id] { scroll-margin-top: 84px; }

@media (min-width: 760px) {
  .section { padding: 5.5rem 0; }
}

.section-title { max-width: 22ch; }

.section-lead {
  font-size: 1.08rem;
  max-width: 46ch;
  color: #b9cadb;
  margin-bottom: 2rem;
}
.section-lead-dark { color: var(--ink-2); }

.section-dark {
  background:
    radial-gradient(60rem 34rem at 88% 6%, rgba(29, 109, 174, .34), transparent 62%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-form { background: var(--mist); }

/* ---------- Service cards ---------- */

.grid-3 {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

@media (min-width: 820px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card h3 { margin-bottom: .45em; }
.card p { font-size: .98rem; margin: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-600);
}

.card-featured {
  background: linear-gradient(180deg, #ffffff, #fbf7f2);
  border-color: #e8d7c2;
  box-shadow: var(--shadow-md);
}
.card-featured::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--timber-500), var(--amber));
}
.card-featured .card-icon {
  background: #f3e3d0;
  color: var(--timber-700);
}

/* ---------- Why us ---------- */

.two-col { display: grid; gap: 2.5rem; }

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 4rem;
    align-items: start;
  }
}

.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.reasons li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--timber-500);
  color: #b9cadb;
  font-size: .99rem;
}
.reasons strong {
  display: block;
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: .25rem;
  letter-spacing: -0.01em;
}

.panel {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}

@media (min-width: 760px) {
  .panel { padding: 2.25rem 2rem; }
}

.panel-title { font-size: 1.3rem; margin-bottom: 1.1rem; }

.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .85rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  color: #cfdde9;
  font-size: .99rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 6px var(--navy-900);
}

.panel-note {
  font-size: .92rem;
  color: #9fb5c9;
  margin-bottom: 1.5rem;
}

/* ---------- Form ---------- */

.form-layout { display: grid; gap: 1.5rem; margin-top: 2.25rem; }

@media (min-width: 940px) {
  .form-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.demand-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 620px) {
  .demand-form { padding: 2.25rem 2rem; }
}

.field-grid { display: grid; gap: 1.1rem; }

@media (min-width: 620px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: .4rem; margin: 0; }

.field label {
  font-size: .9rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem .9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fbfcfd;
  border: 1.5px solid var(--mist-2);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 49%, var(--ink-3) 50%, var(--ink-3) 56%, transparent 57%),
                    linear-gradient(-45deg, transparent 49%, var(--ink-3) 50%, var(--ink-3) 56%, transparent 57%);
  background-size: 11px 11px, 11px 11px;
  background-position: right 1.35rem center, right 0.85rem center;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder { color: #93a0ad; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(29, 109, 174, .16);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

@media (min-width: 860px) {
  .faq { grid-template-columns: 1fr 1fr; gap: 1.1rem 2.2rem; }
}

.faq-item {
  padding: 1.35rem 1.4rem;
  background: var(--mist);
  border: 1px solid var(--mist-2);
  border-radius: var(--radius);
}

.faq-item h3 {
  margin-bottom: .5em;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.6;
}

.label-optional {
  margin-left: .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .01em;
}

.field-file input[type="file"] {
  width: 100%;
  padding: .85rem .9rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink-2);
  background: #fbfcfd;
  border: 1.5px dashed var(--mist-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.field-file input[type="file"]:hover {
  border-color: var(--blue-300);
  background: #fff;
}

.field-file input[type="file"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(29, 109, 174, .16);
}

.field-file input[type="file"]::file-selector-button {
  margin-right: .9rem;
  padding: .5rem 1rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  color: #fff;
  background: var(--blue-600);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.field-file input[type="file"]::file-selector-button:hover {
  background: var(--blue-500);
}

.field-hint {
  font-size: .86rem;
  color: var(--ink-3);
  line-height: 1.5;
}

.field-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  margin-top: .25rem;
}

.field-consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: .18rem 0 0;
  accent-color: var(--blue-600);
  flex: 0 0 auto;
}

.field-consent label {
  font-size: .92rem;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.5;
}

.form-fineprint {
  margin: 0;
  font-size: .84rem;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- Next steps ---------- */

.next-steps {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.next-steps h3 { font-size: 1.14rem; margin-bottom: 1.25rem; }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.75rem;
  font-size: .95rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.steps strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: .15rem;
}

.next-steps-address {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.next-steps-address strong { display: block; color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: #9fb5c9;
  padding: 2.5rem 0;
  font-size: .93rem;
}

.footer-inner { display: grid; gap: 1.5rem; }

@media (min-width: 820px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr auto;
    gap: 2.5rem;
    align-items: start;
  }
}

.footer-brand {
  margin: 0 0 .3rem;
  color: #fff;
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.footer-line { margin: 0; color: #8ba3ba; font-size: .9rem; }

.footer-address {
  font-style: normal;
  color: #9fb5c9;
  line-height: 1.6;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: #cfdde9; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
