/* ==========================================================================
   FIKSO — mājas meistaru aģentūra
   Design tokens and components transcribed from the Claude Design prototype
   (FIKSO Majaslapa.dc.html + FIKSO Orange Contrast.dc.html).
   Radius is 0 everywhere — square corners are part of the identity.
   ========================================================================== */

:root {
  /* Brand */
  --orange-surface: #F26B21;
  --orange-action: #C04607;
  --orange-action-hover: #A63B05;
  --orange-error-text: #8F3405;

  /* Ink */
  --ink: #14181A;
  --body: #3B4243;
  /* The prototype's muted grey was #6D7677, which lands at 4.36:1 on the warm
     (#FAF7F3) and cool (#F5F7F7) surfaces — just under WCAG AA. Darkened by a
     hair so muted text clears 4.5:1 on every surface it is used on. */
  --muted: #67706F;

  /* Teal */
  --teal: #0F7E7C;
  --teal-dark: #0C6C6A;
  --teal-tint: #EAF5F4;
  --footer-teal: #0E3A3A;
  --footer-text: #C3D6D5;
  --footer-dim: #9FBAB9;
  --footer-label: #7FA5A4;
  --whatsapp-teal: #9FE0DE;

  /* Lines & surfaces */
  --line: #E4E9E9;
  --line-input: #DDE3E3;
  --line-dashed: #C3CFCF;
  --warm: #FAF7F3;
  --warm-line: #EFEAE3;
  --warm-hover: #F5EFE7;
  --cool: #F5F7F7;
  --img-bg: #EDF0F0;
  --error-bg: #FDF1EC;

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell: 1280px;
}

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

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

/* Offset in-page anchors so the sticky header never covers a section start. */
[id] { scroll-margin-top: 78px; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Components below set display on the same elements JS toggles, so [hidden]
   has to win — otherwise confirmation panels and filtered-out cards stay visible. */
[hidden] { display: none !important; }

a { color: var(--teal); }
a:hover { color: var(--orange-action); }

input, textarea, select, button { font-family: var(--font); }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font: 700 15px/1 var(--font);
  padding: 14px 20px;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------- layout --- */
.wrap {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.site-main { flex: 1; }
.section { border-top: 1px solid var(--line); }
.section-pad { padding-top: 76px; padding-bottom: 80px; }
.section-pad-sm { padding-top: 72px; padding-bottom: 80px; }
.section-pad-page { padding-top: 56px; padding-bottom: 80px; }

/* ----------------------------------------------------------- typography - */
.h1 {
  font: 800 clamp(38px, 5.2vw, 64px)/1 var(--font);
  color: var(--ink);
  margin: 0 0 22px;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.h1-page {
  font: 800 clamp(32px, 4.4vw, 52px)/1.03 var(--font);
  margin: 0 0 14px;
  letter-spacing: -.04em;
}
.h1-project {
  font: 800 clamp(30px, 4.2vw, 48px)/1.05 var(--font);
  margin: 0 0 16px;
  letter-spacing: -.04em;
  max-width: 820px;
  text-wrap: balance;
}
.h2 {
  font: 800 clamp(28px, 3.4vw, 40px)/1.05 var(--font);
  margin: 0;
  letter-spacing: -.035em;
}
.h3 {
  font: 700 20px/1.25 var(--font);
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.lead { font: 400 17px/1.6 var(--font); color: var(--muted); margin: 0; max-width: 560px; text-wrap: pretty; }
.lead-lg { font: 400 18px/1.6 var(--font); color: var(--body); margin: 0 0 28px; max-width: 680px; text-wrap: pretty; }
.body-sm { font: 400 16px/1.55 var(--font); color: var(--muted); margin: 0; }
.eyebrow {
  font: 700 13px/1 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow-muted { color: var(--muted); }
.eyebrow-h { margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- buttons - */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { flex: none; }

.btn-primary { font: 700 18px/1 var(--font); color: #fff; background: var(--orange-action); padding: 21px 32px; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--orange-action-hover); color: #fff; }

.btn-primary-sm { font: 700 15px/1 var(--font); color: #fff; background: var(--orange-action); padding: 14px 22px; white-space: nowrap; }
.btn-primary-sm:hover, .btn-primary-sm:focus-visible { background: var(--orange-action-hover); color: #fff; }

.btn-primary-md { font: 700 17px/1 var(--font); color: #fff; background: var(--orange-action); padding: 18px 26px; }
.btn-primary-md:hover, .btn-primary-md:focus-visible { background: var(--orange-action-hover); color: #fff; }

.btn-outline {
  font: 600 18px/1 var(--font);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: transparent;
  padding: 20px 26px;
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); color: #fff; }

.btn-outline-md {
  font: 600 17px/1 var(--font);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 16px 24px;
}
.btn-outline-md:hover, .btn-outline-md:focus-visible { background: var(--ink); color: #fff; }

.btn-outline-sm {
  font: 600 16px/1 var(--font);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 15px 22px;
}
.btn-outline-sm:hover, .btn-outline-sm:focus-visible { background: var(--ink); color: #fff; }

.btn-whatsapp { font: 600 17px/1 var(--font); color: var(--teal); padding: 20px 4px; background: none; }
.btn-whatsapp:hover { color: var(--orange-action-hover); }

.btn-block { display: flex; width: 100%; }

/* --------------------------------------------------------------- header - */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.header-logo img { height: 32px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.nav-link {
  font: 500 15px/1 var(--font);
  color: var(--body);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--orange-action); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 16px/1 var(--font);
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--orange-action); }
.nav-phone:hover svg { stroke: currentColor; }

.header-phone-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 1.8px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* ----------------------------------------------------------------- hero - */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  align-items: stretch;
}
.hero-copy {
  padding: 64px 24px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-rule { width: 40px; height: 2px; background: var(--orange-surface); }
.hero-kicker {
  font: 500 13px/1 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-price {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  align-self: flex-start;
  margin-bottom: 24px;
  font: 800 36px/1.2 var(--font);
  color: var(--ink);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.hero-price small { font: 500 18px/1.4 var(--font); color: var(--body); letter-spacing: 0; }
.hero-text {
  font: 400 19px/1.55 var(--font);
  color: var(--body);
  margin: 0 0 30px;
  max-width: 540px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-media { background: var(--orange-surface); padding: 32px; display: flex; }
.hero-frame { flex: 1; min-height: 380px; overflow: hidden; background: var(--img-bg); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* -------------------------------------------------------- trust strip --- */
.trust { border-bottom: 1px solid var(--line); }
.trust-grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.trust-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-left: 1px solid var(--line);
  font: 500 16px/1.35 var(--font);
  color: var(--ink);
  text-decoration: none;
}
.trust-cell:first-child { border-left: 0; }
.trust-cell svg { flex: none; }
a.trust-cell { transition: background-color .15s ease; }
a.trust-cell:hover { background: var(--warm); color: var(--ink); }
.trust-cell strong { font: 700 16px/1.35 var(--font); }

/* ----------------------------------------------------------- services --- */
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 28px 34px;
}
.service-cell svg { margin-bottom: 22px; }
.service-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .15s ease;
}
.service-link:hover { background: var(--cool); color: var(--ink); }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--teal-text);
  font: 700 14px/1.3 var(--font);
}
.service-more svg { margin: 0; }
.service-cta {
  background: var(--warm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .15s ease;
}
.service-cta:hover { background: var(--warm-hover); color: var(--ink); }
.service-cta-title { font: 700 19px/1.3 var(--font); margin-bottom: 10px; letter-spacing: -.015em; }
.service-cta-text { font: 400 16px/1.55 var(--font); color: var(--muted); margin-bottom: 18px; }
.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 17px/1 var(--font);
  color: var(--orange-action);
}
.service-note {
  margin: 20px 0 0;
  font: 400 15px/1.6 var(--font);
  color: var(--muted);
  max-width: 820px;
}
.pad-32 { padding: 32px; }
.service-page-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 28px;
}
.service-page-links a {
  color: var(--teal-text);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ------------------------------------------------------ popular jobs --- */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.job-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 24px 24px;
  display: flex;
  gap: 12px;
}
.job-cell svg { flex: none; margin-top: 2px; }
.job-cell .title { font: 700 17px/1.35 var(--font); color: var(--ink); margin-bottom: 5px; letter-spacing: -.015em; }
.job-cell .text { font: 400 15px/1.55 var(--font); color: var(--muted); }

/* -------------------------------------------------------------- price --- */
.price-band { background: var(--warm); border-top: 1px solid var(--warm-line); border-bottom: 1px solid var(--warm-line); }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.price-left { padding: 48px 44px 52px; border-right: 1px solid var(--line); }
.price-right {
  padding: 48px 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.price-figure { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.price-figure .amount {
  font: 800 clamp(48px, 7vw, 72px)/1 var(--font);
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.price-figure .unit { font: 400 24px/1 var(--font); color: var(--muted); }
.price-sub { font: 700 21px/1.4 var(--font); margin: 0 0 14px; }
.price-note { font: 400 17px/1.6 var(--font); color: var(--body); margin: 0 0 18px; max-width: 440px; }
.price-example {
  font: 600 16px/1.55 var(--font);
  color: var(--ink);
  background: var(--warm);
  border-left: 3px solid var(--orange-surface);
  padding: 14px 16px;
  margin: 0 0 16px;
  max-width: 440px;
}
.price-free { font: 400 15px/1.6 var(--font); color: var(--muted); margin: 0 0 28px; max-width: 440px; }
.price-list-label {
  font: 700 13px/1 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.price-rows { display: flex; flex-direction: column; gap: 20px; padding-top: 4px; }

.numbered-row { display: flex; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.numbered-row:last-child { padding-bottom: 0; border-bottom: 0; }
.numbered-row .num { font: 800 14px/1.7 var(--font); color: var(--orange-action); flex: none; }
.numbered-row .txt { font: 400 18px/1.55 var(--font); color: var(--body); }

/* ------------------------------------------------------------ process --- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.step-chip {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 16px/1 var(--font);
  margin-bottom: 18px;
  background: var(--teal-tint);
  color: var(--teal-dark);
}
.step-chip.is-first { background: var(--orange-surface); color: var(--ink); }

/* ---------------------------------------------------------- portfolio --- */
.works-band { background: var(--cool); }
.works-head-right {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.link-underline {
  font: 600 16px/1.4 var(--font);
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid #9FC9C8;
  white-space: nowrap;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease;
}
.work-card:hover, .work-card:focus-visible { border-color: var(--ink); color: var(--ink); }
.work-card-media { position: relative; height: 220px; overflow: hidden; background: var(--img-bg); }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tag-after {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink);
  color: #fff;
  font: 700 11px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 11px;
}
.work-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.chip-category {
  align-self: flex-start;
  font: 600 13px/1 var(--font);
  color: var(--teal-dark);
  background: var(--teal-tint);
  padding: 8px 11px;
  margin-bottom: 14px;
}
.work-card-body p { font: 400 16px/1.55 var(--font); color: var(--muted); margin: 0 0 20px; }
.work-card-more {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 16px/1 var(--font);
  color: var(--orange-action);
}

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip {
  font: 600 15px/1 var(--font);
  padding: 13px 18px;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line-input);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty-state {
  border: 1.5px dashed var(--line-dashed);
  background: #FAFBFB;
  padding: 44px;
  text-align: center;
  font: 600 16px/1.5 var(--font);
  color: var(--muted);
}
.empty-state-lg { padding: 44px 32px; text-align: center; }
.empty-state-lg .title { font: 700 20px/1.3 var(--font); color: var(--ink); margin-bottom: 10px; letter-spacing: -.02em; }
.empty-state-lg .text { font: 400 16px/1.6 var(--font); color: var(--muted); max-width: 460px; margin: 0 auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-grid-home { margin-top: 28px; }
.gallery-section { margin-top: 56px; padding-top: 52px; border-top: 1px solid var(--line); }
.gallery-heading { margin-bottom: 26px; }
.gallery-item { margin: 0; background: #fff; border: 1px solid var(--line); min-width: 0; }
.gallery-link { display: block; height: 260px; position: relative; overflow: hidden; background: var(--img-bg); }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.gallery-link:hover img, .gallery-link:focus-visible img { transform: scale(1.02); }
.gallery-phase {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 11px;
  background: rgba(15, 24, 39, .92);
  color: #fff;
  font: 700 11px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gallery-item figcaption { padding: 13px 14px 15px; font: 600 15px/1.35 var(--font); color: var(--ink); }

/* --------------------------------------------------------- suitability -- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: start;
}
.split-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.check-list { display: flex; flex-direction: column; gap: 18px; }
.check-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.check-row svg { flex: none; margin-top: 3px; }
.check-row .title { font: 700 18px/1.35 var(--font); margin-bottom: 4px; }
.check-row .text { font: 400 16px/1.55 var(--font); color: var(--muted); }
.tall-frame { height: 520px; overflow: hidden; background: var(--img-bg); }
.tall-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.inline-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.h3-lg { font: 800 clamp(20px, 2.2vw, 26px)/1.2 var(--font); margin: 0; letter-spacing: -.025em; }
.job-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}
.job-columns > div {
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
  font: 500 17px/1.4 var(--font);
  color: var(--ink);
}
.call-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--warm);
  border: 1px solid var(--warm-line);
  padding: 22px 26px;
}
.call-bar p { font: 400 17px/1.55 var(--font); color: var(--body); flex: 1; min-width: 260px; margin: 0; }

/* -------------------------------------------------------------- areas --- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { font: 500 16px/1 var(--font); border: 1px solid var(--line); padding: 12px 16px; }
.area-label {
  font: 700 13px/1 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.link-teal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 18px/1 var(--font);
  color: var(--teal);
  text-decoration: none;
}
.link-teal:hover { color: var(--orange-action); }

/* ---------------------------------------------------------------- FAQ --- */
.faq-band { background: var(--cool); }
.faq-card { background: #fff; border: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font: 700 19px/1.35 var(--font);
  color: var(--ink);
  letter-spacing: -.015em;
}
.faq-trigger svg { flex: none; stroke: var(--muted); transition: transform .2s ease, stroke .15s ease; }
.faq-trigger[aria-expanded="true"] svg { stroke: var(--orange-action); transform: rotate(180deg); }
.faq-panel { padding: 0 26px 24px; font: 400 17px/1.6 var(--font); color: var(--body); max-width: 680px; }
.faq-panel[hidden] { display: none; }

/* ---------------------------------------------------------- reviews CTA - */
.warm-card { background: var(--warm); border: 1px solid var(--warm-line); }
.reviews-cta {
  padding: 40px 44px 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}
.reviews-cta h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.15 var(--font); margin: 0 0 12px; letter-spacing: -.03em; }
.reviews-cta p { font: 400 18px/1.6 var(--font); color: var(--body); margin: 0; max-width: 560px; text-wrap: pretty; }
.reviews-cta-actions { display: flex; flex-direction: column; gap: 12px; }
.reviews-cta-note { font: 400 15px/1.55 var(--font); color: var(--muted); }

.review-card { border: 1px solid var(--line); padding: 24px 24px 26px; }
.review-grid { display: grid; gap: 16px; margin-bottom: 24px; }
.review-source-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.review-source {
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--body);
  font: 600 13px/1 var(--font);
}
.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.review-rating { display: inline-flex; align-items: center; gap: 8px; font: 700 18px/1 var(--font); color: var(--ink); }
.review-badge {
  font: 700 11px/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 10px;
  background: var(--teal-tint);
  color: var(--teal-dark);
}
.review-badge.is-pending { background: #FFF3E9; color: var(--orange-error-text); }
.review-card p { font: 400 17px/1.6 var(--font); color: var(--body); margin: 0 0 18px; }
.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-meta .name { font: 700 16px/1 var(--font); color: var(--ink); }
.review-meta .dim { font: 400 15px/1 var(--font); color: var(--muted); }

.rules-card { background: var(--cool); border: 1px solid var(--line); padding: 30px 28px 34px; }
.rules-label {
  font: 700 13px/1 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.rules-list { display: flex; flex-direction: column; gap: 14px; }
.rules-list > div { display: flex; gap: 12px; }
.rules-list .num { font: 800 13px/1.7 var(--font); color: var(--orange-action); flex: none; }
.rules-list .txt { font: 400 16px/1.6 var(--font); color: var(--body); }
.rules-foot {
  font: 400 15px/1.6 var(--font);
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

/* --------------------------------------------------------------- forms -- */
.request-band { background: var(--orange-surface); }
.request-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: start;
}
.request-copy h2 { font: 800 clamp(30px, 4vw, 46px)/1.03 var(--font); margin: 0 0 16px; letter-spacing: -.038em; }
.request-copy p { font: 400 19px/1.55 var(--font); color: #1F2426; margin: 0 0 10px; max-width: 520px; }
.request-price { font: 700 19px/1.5 var(--font); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.request-note { font: 400 16px/1.6 var(--font); color: #1F2426; margin: 0 0 28px; max-width: 520px; }
.request-actions { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.btn-on-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 700 18px/1 var(--font);
  color: var(--ink);
  background: #fff;
  padding: 20px 0;
  text-decoration: none;
}
.btn-on-orange:hover { background: var(--ink); color: #fff; }
.btn-on-orange-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 600 17px/1 var(--font);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 18px 0;
  text-decoration: none;
}
.btn-on-orange-outline:hover { background: var(--ink); color: #fff; }

.form-card { background: #fff; padding: 32px 30px 36px; }
.form-label-top {
  font: 700 13px/1 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .field-legend { font: 700 14px/1.4 var(--font); color: var(--ink); }
.field input[type="text"],
.field input[type="tel"],
.field select,
.field textarea,
.field input[type="file"] {
  font: 400 16px/1.4 var(--font);
  padding: 14px;
  border: 1.5px solid var(--line-input);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  width: 100%;
}
.field textarea { line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.field-file {
  border: 1.5px dashed var(--line-input);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.field-file svg { flex: none; }
.field-file > div { min-width: 0; }
.field-file .hint { display: block; font: 400 15px/1.5 var(--font); color: var(--muted); }
.field-file input[type="file"] {
  border: 0;
  padding: 0;
  font: 400 14px/1.4 var(--font);
  color: var(--muted);
  margin-top: 6px;
  max-width: 100%;
}
/* The rate explanation shown inside the request form, above the submit button,
   so nobody sends a request without having read how the price is calculated. */
.price-brief {
  background: var(--warm);
  border: 1px solid var(--warm-line);
  border-left: 3px solid var(--orange-surface);
  padding: 16px 18px 18px;
}
.price-brief-title { font: 700 15px/1.4 var(--font); color: var(--ink); margin-bottom: 6px; }
.price-brief p { font: 400 15px/1.6 var(--font); color: var(--body); margin: 0 0 8px; }
.price-brief p:last-child { margin-bottom: 0; }

.form-error {
  background: var(--error-bg);
  border-left: 3px solid var(--orange-action);
  padding: 12px 14px;
  font: 600 15px/1.5 var(--font);
  color: var(--orange-error-text);
}
.form-submit {
  font: 700 18px/1 var(--font);
  color: #fff;
  background: var(--orange-action);
  border: 0;
  padding: 20px 0;
  cursor: pointer;
  transition: background-color .15s ease;
}
.form-submit:hover { background: var(--orange-action-hover); }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.form-foot { font: 400 14px/1.55 var(--font); color: var(--muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.check-badge {
  width: 48px;
  height: 48px;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-done h2, .form-done h3 { font: 800 24px/1.2 var(--font); margin: 0; letter-spacing: -.02em; }
.form-done p { font: 400 17px/1.6 var(--font); color: var(--body); margin: 0; }

.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--orange-action); }
.consent span { font: 400 15px/1.5 var(--font); color: var(--body); }

/* Star rating: native radios in natural 1→5 order (so arrow keys move the way
   the stars look), rendered as the design's square star buttons. A star lights
   when its own radio is checked or any later one is — `:has()` handles the
   "or later" half; browsers without it still light the selected star. */
.stars { display: flex; gap: 8px; }
.stars input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.star-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--line-input);
  transition: background-color .15s ease, border-color .15s ease;
}
.star-btn svg { fill: none; stroke: #A9B4B4; }
.stars input:checked + .star-btn,
.stars .star-btn:has(~ input:checked) { background: #FFF3E9; border-color: var(--orange-action); }
.stars input:checked + .star-btn svg,
.stars .star-btn:has(~ input:checked) svg { fill: var(--orange-surface); stroke: var(--orange-action); }
.stars input:focus-visible + .star-btn { outline: 2px solid var(--teal); outline-offset: 2px; }

.form-panel { border: 1px solid var(--line); padding: 32px 30px 36px; display: flex; flex-direction: column; gap: 16px; }

/* Feedback / suggestion / complaint form (/atsauksmes-un-sudzibas/). */
.field-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-group .field-legend { padding: 0; margin-bottom: 9px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.choice {
  font: 600 15px/1 var(--font);
  color: var(--body);
  border: 1.5px solid var(--line-input);
  background: #fff;
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.choice:hover { border-color: var(--ink); }
.choice-row input:checked + .choice { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice-row input:focus-visible + .choice { outline: 2px solid var(--teal); outline-offset: 2px; }
.field-optional { font: 400 13px/1.4 var(--font); color: var(--muted); font-style: normal; }
.field input[disabled] { background: var(--cool); color: var(--muted); cursor: not-allowed; }
.field.is-disabled > span { color: var(--muted); }

/* Neutral status block. Used for the honest "submission is not connected yet"
   message — never styled as a success confirmation. */
.form-notice {
  background: var(--cool);
  border-left: 3px solid var(--teal);
  padding: 14px 16px;
  font: 400 15px/1.6 var(--font);
  color: var(--body);
}
.form-notice strong { font-weight: 700; color: var(--ink); }
.form-notice p { margin: 0 0 8px; }
.form-notice p:last-child { margin-bottom: 0; }
.form-notice a { color: var(--teal); }
.link-teal-inline { color: var(--teal); }

/* ------------------------------------------------------- project page --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 15px/1 var(--font);
  color: var(--teal);
  text-decoration: none;
}
.back-link:hover { color: var(--orange-action); }
.back-row { margin-bottom: 28px; }

.beforeafter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.ba-frame { height: 360px; overflow: hidden; background: var(--img-bg); }
.ba-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ba-label {
  font: 700 13px/1 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.project-story { display: flex; flex-direction: column; gap: 28px; }
.project-story h2 { font: 800 24px/1.15 var(--font); margin: 0 0 10px; letter-spacing: -.03em; }
.project-story p { font: 400 17px/1.6 var(--font); color: var(--body); margin: 0; max-width: 620px; }
.project-aside { background: var(--warm); border: 1px solid var(--warm-line); padding: 28px 26px 30px; }
.project-aside-label {
  font: 700 13px/1 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.spec-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--warm-line);
}
.spec-row:last-child { padding-bottom: 0; border-bottom: 0; }
.spec-row dt { font: 400 15px/1.4 var(--font); color: var(--muted); margin: 0; }
.spec-row dd { font: 700 15px/1.4 var(--font); text-align: right; margin: 0; }

/* -------------------------------------------------------------- footer -- */
.site-footer { background: var(--footer-teal); }
.footer-inner { max-width: var(--shell); margin: 0 auto; padding: 52px 24px 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-logo { height: 32px; width: auto; margin-bottom: 20px; }
.footer-about { font: 400 16px/1.6 var(--font); color: var(--footer-text); max-width: 340px; }
.footer-label {
  font: 700 13px/1 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--footer-label);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font: 400 16px/1.3 var(--font); color: #E4EEED; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-phone {
  display: block;
  font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--font);
  color: #fff;
  text-decoration: none;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.footer-phone:hover { color: var(--whatsapp-teal); }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 16px/1 var(--font);
  color: var(--whatsapp-teal);
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-rate { font: 400 16px/1.5 var(--font); color: var(--footer-dim); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.footer-cta {
  display: inline-block;
  font: 700 16px/1 var(--font);
  color: #fff;
  background: var(--orange-action);
  padding: 17px 24px;
  text-decoration: none;
  transition: background-color .15s ease;
}
.footer-cta:hover { background: var(--orange-action-hover); color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.footer-copy { font: 400 15px/1.4 var(--font); color: var(--footer-label); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a { font: 400 15px/1.4 var(--font); color: var(--footer-dim); text-decoration: none; }
.footer-bottom-links a:hover { color: #fff; }

/* --------------------------------------------------- mobile action bar -- */
.action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.action-bar .ab-primary { font: 700 17px/1 var(--font); color: #fff; background: var(--orange-action); padding: 17px 0; }
.action-bar .ab-call { font: 700 17px/1 var(--font); color: var(--ink); border: 1.5px solid var(--ink); padding: 16px 0; }

/* ==========================================================================
   Responsive — the layout is fluid by default; these rules cover the
   mobile header, the stacked hero and the sticky action bar (390 spec).
   ========================================================================== */

@media (max-width: 1080px) {
  .price-left { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .header-inner { padding: 14px 18px; gap: 14px; flex-wrap: nowrap; }
  .header-logo img { height: 26px; }

  .nav-toggle { display: flex; }
  .header-phone-mobile {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 700 15px/1 var(--font);
    color: var(--teal);
    text-decoration: none;
    white-space: nowrap;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 18px 22px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav .nav-link {
    font: 600 17px/1 var(--font);
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav .nav-phone { padding: 18px 0; font-size: 18px; }
  .nav .btn-primary-sm { margin-top: 14px; padding: 18px 22px; font-size: 17px; }

  .header-actions { display: flex; align-items: center; gap: 14px; }

  .action-bar { display: grid; }
  .site-footer { padding-bottom: 78px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 24px 18px 26px; }
  .hero-eyebrow { gap: 10px; margin-bottom: 14px; }
  .hero-kicker { display: none; }
  .hero-rule { width: 28px; }
  .h1 { font-size: 36px; margin-bottom: 16px; }
  .hero-price { font-size: 30px; padding-top: 12px; margin-bottom: 16px; align-self: stretch; }
  .hero-price small { font-size: 16px; white-space: nowrap; }
  .hero-text { font-size: 16px; line-height: 1.5; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-primary { padding: 21px 0; }
  .hero-actions .btn-outline { padding: 20px 0; }
  .hero-actions .btn-whatsapp { padding: 16px 0; }
  .hero-media { padding: 18px; }
  .hero-frame { min-height: 0; height: 210px; }

  .trust-cell { padding: 15px 18px; font-size: 15px; border-left: 0; border-top: 1px solid #EFF2F2; }
  .trust-cell:first-child { border-top: 0; }

  .wrap { padding-left: 18px; padding-right: 18px; }
  .section-pad, .section-pad-sm { padding-top: 52px; padding-bottom: 56px; }
  .section-pad-page { padding-top: 32px; padding-bottom: 56px; }
  .section-head { gap: 16px; margin-bottom: 28px; align-items: start; }

  .service-cell { padding: 24px 20px 26px; }
  .price-left, .price-right { padding: 32px 22px 34px; }
  .reviews-cta { padding: 28px 22px 30px; gap: 24px; }
  .form-card { padding: 24px 20px 28px; }
  .form-panel { padding: 24px 20px 28px; }
  .job-cell { padding: 20px 20px 22px; }
  .rules-card, .project-aside { padding: 24px 20px 26px; }
  .split { gap: 32px; }
  .tall-frame { height: 320px; }
  .ba-frame { height: 260px; }
  .empty-state { padding: 32px 20px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery-link { height: 220px; }
  .gallery-section { margin-top: 40px; padding-top: 40px; }
  .footer-inner { padding: 40px 18px 32px; }
  .call-bar { padding: 20px; }
  .faq-trigger { padding: 20px; font-size: 17px; }
  .faq-panel { padding: 0 20px 20px; font-size: 16px; }
}

@media (max-width: 520px) {
  .price-figure .amount { font-size: 48px; }
  .footer-phone { font-size: 24px; }
  .reviews-cta h2 { font-size: 24px; }
  .job-columns { gap: 16px; }
  .gallery-link { height: 190px; }
  .gallery-item figcaption { padding: 11px 10px 13px; font-size: 13px; }
}

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

@media print {
  .site-header, .action-bar, .nav-toggle { display: none !important; }
}

/* ==========================================================================
   Utilities — the handful of one-off spacing values the layout needs.
   Kept as classes rather than style="" so the Content-Security-Policy in
   netlify.toml can forbid inline styles outright.
   ========================================================================== */
.mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-32 { margin-bottom: 32px; }
.mb-36 { margin-bottom: 36px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }
.mw-420 { max-width: 420px; }
.mw-480 { max-width: 480px; }
.mw-560 { max-width: 560px; }
.self-start { align-self: flex-start; }
.chip-inline { display: inline-block; margin: 0; }
.row-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.pad-reviews { padding-top: 64px; padding-bottom: 68px; }
.pad-request { padding-top: 68px; padding-bottom: 76px; }
.meta-line { font-size: 15px; line-height: 1.5; }

/* Full-width buttons inside narrow cards keep the design's vertical padding
   while dropping the horizontal padding that centring makes redundant. */
.btn-block.pad-21 { padding: 21px 0; }
.btn-block.pad-20 { padding: 20px 0; }
.btn-block.pad-18 { padding: 18px 0; margin-bottom: 10px; }
.btn-block.pad-17 { padding: 17px 0; }
.btn-block.pad-16 { padding: 16px 0; }

.review-invite { padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.review-invite-title { font: 700 20px/1.3 var(--font); margin-bottom: 6px; letter-spacing: -.02em; }

.confirm-card { max-width: 640px; border: 1px solid var(--line); padding: 40px 40px 44px; }
.confirm-card .check-badge { width: 52px; height: 52px; margin-bottom: 22px; }
.confirm-card h2 { font: 800 30px/1.15 var(--font); margin: 0 0 14px; letter-spacing: -.03em; }
.confirm-card p { font: 400 17px/1.6 var(--font); color: var(--body); margin: 0 0 26px; }
.h1-review { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 16px; }

@media (max-width: 860px) {
  .confirm-card { padding: 26px 20px 30px; }
  .confirm-card h2 { font-size: 24px; }
  .review-invite { padding: 24px 20px 26px; }
  .pad-reviews, .pad-request { padding-top: 48px; padding-bottom: 52px; }
  .mb-56 { margin-bottom: 36px; }
}
