/* PRIMAANTE — shared styles across en/uk/sk */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --blue: #1B4D8C;
  --blue-dark: #123A6B;
  --green: #3FA66B;
  --green-dark: #2F8655;
  --ink: #15181B;
  --ink-muted: #565E66;
  --ink-faint: #8A9199;
  --bg: #FFFFFF;
  --bg-sunk: #F4F6F8;
  --line: #E2E6EA;
  --white: #FFFFFF;
  --font-heading: "Montserrat", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 2px 8px -2px rgba(21,24,27,0.08);
  --shadow-md: 0 12px 28px -10px rgba(21,24,27,0.18);
  --shadow-lg: 0 20px 44px -14px rgba(21,24,27,0.26);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EDEFF1;
    --ink-muted: #AEB4BA;
    --ink-faint: #7A8188;
    --bg: #101316;
    --bg-sunk: #181C20;
    --line: #262B30;
  }
}
:root[data-theme="dark"] {
  --ink: #EDEFF1;
  --ink-muted: #AEB4BA;
  --ink-faint: #7A8188;
  --bg: #101316;
  --bg-sunk: #181C20;
  --line: #262B30;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, .step-num, .logo-text { font-family: var(--font-heading); }

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

a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 128px;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  height: 100px;
  width: auto;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo img { filter: invert(1); }
}
:root[data-theme="dark"] .logo img { filter: invert(1); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 600;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.15s;
}
nav.main-nav a:hover { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
}
.lang-switch a {
  text-decoration: none;
  color: var(--ink-faint);
  padding: 2px 4px;
}
.lang-switch a.current, .lang-switch a:hover { color: var(--blue); }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14,24,38,0.88) 0%, rgba(14,24,38,0.62) 48%, rgba(14,24,38,0.28) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 0;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(63,166,107,0.16);
  border: 1px solid rgba(63,166,107,0.4);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero p.lede {
  font-size: 17.5px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  max-width: 52ch;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-credit {
  position: absolute;
  bottom: 10px;
  right: 16px;
  z-index: 2;
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
}
.hero-credit a { color: rgba(255,255,255,0.7); text-decoration: underline; }

/* ---------- Sections (generic) ---------- */
section { padding: 88px 0; }
section.sunk { background: var(--bg-sunk); }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow-sm {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-head p {
  font-size: 16.5px;
  color: var(--ink-muted);
}

/* ---------- Backup power section (split layout) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split > * { min-width: 0; }
.split img {
  border-radius: 12px;
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.img-credit {
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 6px;
  text-align: right;
}
.img-credit a { color: var(--ink-faint); text-decoration: underline; }
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.feature-list li:first-child { border-top: none; }
.feature-list .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 7px;
  flex-shrink: 0;
}
.feature-list strong { display: block; margin-bottom: 2px; }
.feature-list span.desc { color: var(--ink-muted); font-size: 14px; }

/* ---------- How it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps > * { min-width: 0; }
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}
.step:hover .step-num { transform: scale(1.08); }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------- Trust signals ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-grid > * { min-width: 0; }
.trust-stat {
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.trust-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  background: var(--bg);
}
.trust-stat .num {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.trust-stat .label {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 6px;
}
.trust-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bg-sunk);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-grid > * { min-width: 0; }
.price-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 8px 28px -12px rgba(27,77,140,0.35);
  position: relative;
  transform: scale(1.02);
}
.price-card.featured:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.price-card .badge {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--blue);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.price-card h3 { font-size: 16px; margin-bottom: 6px; }
.price-card .size { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 18px; }
.price-card .amount {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 4px;
}
.price-card .amount .from { font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.price-card .note { font-size: 13px; color: var(--ink-muted); margin-bottom: 22px; }
.price-card .btn { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-wrap > * { min-width: 0; }
form.quote-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 90px; }

.contact-info h3 { font-size: 18px; margin-bottom: 14px; }
.contact-info p { color: var(--ink-muted); font-size: 15px; margin-bottom: 20px; }
.contact-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.contact-row:first-of-type { border-top: none; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) footer.site-footer { background: var(--bg-sunk); }
}
:root[data-theme="dark"] footer.site-footer { background: var(--bg-sunk); }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-logo img { height: 64px; filter: invert(1); margin-bottom: 14px; }
.footer-top p { max-width: 36ch; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-lang { display: flex; gap: 10px; }
.footer-lang a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.15s ease; }
.footer-lang a.current, .footer-lang a:hover { color: var(--green); }

.lang-switch a { transition: color 0.15s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .lang-switch { display: none; }
  .nav-right { gap: 0; }
  .site-header .container { height: 84px; }
  .logo img { height: 56px; }
  .btn-primary { padding: 10px 16px; font-size: 13.5px; }
  .hero h1 { font-size: 32px; }
  .split { grid-template-columns: 1fr; }
  .split img { height: 240px; }
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .price-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-cols { gap: 32px; flex-wrap: wrap; }
  section { padding: 56px 0; }
}
