
/* Mulish — self-hosted (selfhost-font.sh), latin + latin-ext + cyrillic (LV diakritika) */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/mulish-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/mulish-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/mulish-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* PT Sans — self-hosted (selfhost-font.sh), latin + latin-ext + cyrillic (LV diakritika) */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-sans-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-sans-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-sans-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-sans-normal-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-sans-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-sans-normal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* PT Sans Caption — self-hosted (selfhost-font.sh), latin + latin-ext + cyrillic (LV diakritika) */
@font-face {
  font-family: 'PT Sans Caption';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-sans-caption-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans Caption';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-sans-caption-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans Caption';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-sans-caption-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans Caption';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-sans-caption-normal-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans Caption';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-sans-caption-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans Caption';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-sans-caption-normal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Great Vibes — self-hosted (selfhost-font.sh), latin + latin-ext + cyrillic (LV diakritika) */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/great-vibes-normal-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/great-vibes-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/great-vibes-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cormorant Garamond — self-hosted (selfhost-font.sh), latin + latin-ext + cyrillic (LV diakritika) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-italic-300-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-italic-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-italic-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-300-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-normal-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Montserrat — self-hosted (selfhost-font.sh), latin + latin-ext + cyrillic (LV diakritika) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
  src: url(/fonts/montserrat-normal-200-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
  src: url(/fonts/montserrat-normal-200-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
  src: url(/fonts/montserrat-normal-200-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins — self-hosted (selfhost-font.sh), latin + latin-ext (LV diakritika) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/poppins-normal-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/poppins-normal-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/poppins-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/poppins-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/poppins-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/poppins-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   lidijaterlanova.lv — tokeni (B dialekts, studijas kontrakts)
   Vērtības no vecās lapas Elementor kita „Loveme” (#12) un nomērītiem
   stiliem (captures/before/styles-1440). Teksta krāsas pieskaņotas
   kontrastam ≥ 4.5:1 (vecajā: #7B7B7B = 4.2:1, balts uz #86A0B6 = 2.7:1).
   ============================================================ */
:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #EDF3F8;          /* kita „Bg” — kājene, video josla */
  --color-bg-form: #F3F5F8;         /* pieteikuma sadaļa */
  --color-surface: #FFFFFF;
  --color-ink: #6B6B6B;             /* kita „Text” #7B7B7B → kontrasts 5.3:1 */
  --color-ink-muted: #6B6B6B;
  --color-heading: #002642;         /* kita „Secondary” */
  --color-heading-form: #1C244B;    /* formas virsraksts (Poppins) */
  --color-accent: #557A99;          /* pogas, saites (balts teksts 4.5:1) */
  --color-accent-hover: #46677F;
  --color-on-accent: #FFFFFF;
  --color-accent-soft: #CDE0EF;     /* kita „Primary” */
  --color-accent-line: #86A0B6;     /* kita „Hover” — līnijas, ikonas, aktīvā izvēlne (nav teksts) */
  --color-price: #7391AA;           /* kita „Hover Two” — cenas (liels teksts ≥ 3:1) */
  --color-line: #E6ECF1;
  --color-wa: #1FAF54;
  --color-wa-deep: #169445;

  --font-display: 'PT Sans', 'Mulish', system-ui, sans-serif;
  --font-caption: 'PT Sans Caption', 'PT Sans', system-ui, sans-serif;
  --font-body: 'Mulish', system-ui, sans-serif;
  --font-form: 'Poppins', 'Mulish', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(0, 38, 66, 0.06);
  --shadow-md: 0 6px 26px rgba(0, 38, 66, 0.08);
  --shadow-lg: 0 14px 40px rgba(0, 38, 66, 0.14);

  --wrap: 1140px;                   /* Elementor kastes platums vecajā lapā */
  --header-h: 96px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

/* ============================================================
   STUDIJAS RESET (~25 rindas) — kopē 1:1 katrā jaunā projektā.
   Pamatā studijas projektu pieredze + mūsdienu reseta prakse.
   Nekāda vizuālā stila — tikai saprātīgi noklusējumi.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;            /* body ≥ 16px mobilajā — vienmēr */
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
}

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

h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.15; text-wrap: balance; color: var(--color-heading); }
p { margin: 0 0 1em; }

input, button, textarea, select { font: inherit; }
button { cursor: pointer; }

/* `hidden` slēpj vienmēr, arī ja āda vai komponente elementam dod display: flex/grid;
   hidden="until-found" paliek pārlūka ziņā (Cmd+F to atrod) */
[hidden]:not([hidden="until-found"]) { display: none !important; }

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

/* Enkuri un fokuss zem lipīgās galvenes: viens mehānisms, tikai scroll-margin (agrāk html scroll-padding-top
   + section[id] scroll-margin deva dubultu nobīdi). Izņēmumu elementam dod projekta CSS ar klasi,
   piem. piespraustai ainai `.aina { scroll-margin-top: 0 }`. */
[id], a, button, input, select, textarea, [tabindex] { scroll-margin-top: calc(var(--header-h, 0px) + 12px); }

/* Kustība tikai tiem, kas to vēlas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   FLUID SKALA — tipogrāfija un atstarpes
   plūst no 360px līdz 1240px viewport bez breakpointiem.
   ------------------------------------------------------------
   Klienta āda maina tikai RAKSTURU, ne mehānismu:
   - elegants/kluss klients → mazāka amplitūda (h1 max ~3.2rem)
   - drosmīgs/skaļš klients → lielāka (h1 max ~4.6rem)
   Pārrēķins: clamp(min, a + b·vw, max) starp 360 un 1240 px.
   ============================================================ */

:root {
  /* ---- Teksta kāpnes (bāze 1rem→1.125rem, ratio ~1.2→1.25) ---- */
  --text-xs: clamp(0.78rem, 0.76rem + 0.10vw, 0.84rem);
  --text-sm: clamp(0.89rem, 0.86rem + 0.14vw, 0.97rem);
  --text-md: clamp(1.00rem, 0.96rem + 0.23vw, 1.13rem);   /* body */
  --text-lg: clamp(1.19rem, 1.12rem + 0.34vw, 1.38rem);   /* ievads/lead */
  --text-xl: clamp(1.42rem, 1.30rem + 0.53vw, 1.72rem);   /* h3 */
  --text-2xl: clamp(1.70rem, 1.50rem + 0.90vw, 2.30rem);  /* h2 min variants */
  --text-3xl: clamp(2.10rem, 1.65rem + 2.00vw, 3.40rem);  /* h1/h2 liels */
  --text-4xl: clamp(2.50rem, 1.80rem + 3.20vw, 4.60rem);  /* hero h1 */

  /* ---- Atstarpju kāpnes (savietojas ar .stack/.cluster/.auto-grid) ---- */
  --space-1: clamp(0.25rem, 0.24rem + 0.07vw, 0.31rem);
  --space-2: clamp(0.50rem, 0.47rem + 0.14vw, 0.63rem);
  --space-3: clamp(0.75rem, 0.71rem + 0.20vw, 0.94rem);
  --space-4: clamp(1.50rem, 1.42rem + 0.41vw, 1.88rem);
  --space-5: clamp(2.00rem, 1.86rem + 0.61vw, 2.50rem);
  --space-6: clamp(3.00rem, 2.80rem + 0.92vw, 3.75rem);
  --space-7: clamp(4.00rem, 3.66rem + 1.53vw, 5.00rem);
  --space-8: clamp(6.00rem, 5.49rem + 2.29vw, 7.50rem);
}

/* Noklusētā piesaiste (projekts drīkst pārrakstīt block CSS līmenī) */
h1 { font-size: var(--text-4xl); font-family: var(--font-display); }
h2 { font-size: var(--text-3xl); font-family: var(--font-display); }
h3 { font-size: var(--text-xl); }
.lead { font-size: var(--text-lg); color: var(--color-ink-muted); max-width: 62ch; }
small, .text-sm { font-size: var(--text-sm); }
.eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--color-accent);
}

/* ============================================================
   LAYOUT PRIMITĪVI — struktūra BEZ stila.
   Šīs klases nekad nenosaka krāsu/fontu — tikai izkārtojumu.
   Klienta unikalitāte nāk no tā, KĀ tās kombinē + tokenu ādas.
   ============================================================ */

/* Konteiners — vienīgais platuma avots (nekādu ad-hoc max-width) */
.wrap {
  width: min(var(--wrap, 1180px), 100% - 2.5rem);
  margin-inline: auto;
}
.wrap--narrow { width: min(840px, 100% - 2.5rem); }

/* Sekcijas vertikālais ritms */
.section { padding-block: clamp(64px, 9vw, 108px); }

/* Stack — vertikāla plūsma ar vienādām atstarpēm starp bērniem */
.stack > * + * { margin-block-start: var(--stack-space, var(--space-4, 1.5rem)); }
.stack--sm > * + * { margin-block-start: var(--space-2, 0.75rem); }
.stack--lg > * + * { margin-block-start: var(--space-6, 3rem); }

/* Cluster — horizontāla grupa, kas dabiski aplaužas (pogas, čipi, meta) */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, var(--space-3, 1rem));
  align-items: var(--cluster-align, center);
}

/* Sidebar — saturs + sāns, kas zem sliekšņa dabiski sakrīt vertikāli */
.with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sidebar-gap, var(--space-5, 2rem));
}
.with-sidebar > :first-child { flex-basis: var(--sidebar-w, 280px); flex-grow: 1; }
.with-sidebar > :last-child { flex-basis: 0; flex-grow: 999; min-inline-size: 55%; }

/* Switcher — rindā, kamēr pietiek vietas; citādi kolonnā (bez media query) */
.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--switcher-gap, var(--space-4, 1.5rem));
}
.switcher > * {
  flex-grow: 1;
  flex-basis: calc((var(--switcher-limit, 640px) - 100%) * 999);
}

/* Auto-grid — kartīšu režģis bez breakpointiem */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-min, 260px), 100%), 1fr));
  gap: var(--grid-gap, var(--space-4, 1.5rem));
}

/* Cover — pilna augstuma sekcija ar centrētu galveno elementu (hero) */
.cover {
  display: flex;
  flex-direction: column;
  min-block-size: var(--cover-h, 100svh);
}
.cover > .cover__center { margin-block: auto; }

/* Palīgi (bez vizuāla stila) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ============================================================
   NAV-BURGER — komponentes CSS
   Tikai tokenu mainīgie (skat. tokens.css).
   Breakpoint 900px SASKAŅOTS ar MOBILE_MQ komponente.js failā —
   mainot vienu, maini abus!
   ============================================================ */

/* ---------- Galvene: lipīga, "glass" (blur 12px = studijas standarts) ---------- */
.navb {
  position: sticky; /* NEMAINĪT uz static — mobilais panelis pozicionējas pret galveni */
  top: 0;
  z-index: 100;
  background: var(--color-bg);   /* ciets fons; caurspīdīgums tikai @supports blokā zemāk */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* color-mix ar var() iekšā — TIKAI @supports blokā. Blakus rezervei tas nestrādā: deklarācija ar var() parsēšanā
   vienmēr ir derīga, tāpēc pārraksta rezervi, un vecajā Safari (<16.2) aprēķinā kļūst nederīga → caurspīdīgs. */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .navb { background: color-mix(in srgb, var(--color-bg) 92%, transparent); }
}
.navb.is-scrolled {
  border-color: var(--color-line);
  box-shadow: var(--shadow-md);
}

.navb__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ---------- Zīmols ---------- */
.navb__brand {
  margin-right: auto; /* stumj saites + CTA pa labi */
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-heading);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Saites (desktop: rindā) ---------- */
.navb__panel { display: flex; gap: 4px; }

.navb__link {
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.navb__link:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-hover);
}

/* ---------- CTA ---------- */
.navb__cta {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.navb__cta:hover { background: var(--color-accent-hover); }

/* ---------- Redzami focus stāvokļi (pieejamība) ---------- */
.navb__brand:focus-visible,
.navb__link:focus-visible,
.navb__cta:focus-visible,
.navb__toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Burgera poga (desktopā paslēpta) ---------- */
.navb__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;  /* min. skāriena mērķis */
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.navb__toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.navb.is-open .navb__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navb.is-open .navb__toggle span:nth-child(2) { opacity: 0; }
.navb.is-open .navb__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Mobilais skats: panelis nokrīt zem galvenes ---------- */
@media (max-width: 900px) {
  .navb__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 18px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .navb.is-open .navb__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .navb__link { padding: 12px 14px; font-size: 1.05rem; }
  .navb__toggle { display: flex; }
  .navb__cta { display: none; } /* ja CTA vajag arī mobilajā — dzēs šo rindu */
}

/* ---------- Kustības samazināšana ---------- */
@media (prefers-reduced-motion: reduce) {
  .navb,
  .navb__panel,
  .navb__link,
  .navb__cta,
  .navb__toggle span { transition: none; }
}

/* ============================================================
   REVEAL — scroll-parādīšanās animācija (IntersectionObserver)
   Ar drošības tīklu (ja IO nenostrādā) + reduced-motion; klase "in"
   Krāsas/laiki TIKAI caur tokeniem — skat. tokens.css
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms); /* iestata JS no data-reveal-delay */
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Tikai caurspīdība, bez translateY: blokam, kurā ir enkura mērķis (piem. formas id).
   Sencim uzliktais translateY nobīda #hash ritināšanas mērķi zem galvenes. Hero ienākšanai
   tas pats princips: @keyframes tikai ar opacity. Lietošana: class="reveal reveal--fade" */
.reveal.reveal--fade {
  transform: none;
}

/* Pašpietiekams drošības tīkls — strādā pat bez reset.css globālā noteikuma */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   LIGHTBOX — komponentes CSS (tikai tokenu var(--…) atsauces).
   Pārklājums = tumšināts --color-ink; pogas krāsojas no tokeniem,
   tāpēc jebkurā klienta paletē izskatās "savs".
   ============================================================ */

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-ink);   /* pilns ink fons; caurspīdīgums tikai @supports blokā zemāk */
}

/* OBLIGĀTI: display:flex uzvar UA [hidden] noklusējumu — bez šīs
   rindas panelis ir "aizvērts", bet joprojām redzams. */
.lb[hidden] { display: none; }

.lb-kadrs { margin: 0; text-align: center; }

.lb-attels {
  max-width: min(92vw, 1200px);
  max-height: 80vh;      /* fallback pārlūkiem bez svh */
  max-height: 80svh;     /* mobilajā redzamais logs ir mazāks par vh — paraksts
                            un skaitītājs citādi var palikt zem rīkjoslas */
  width: auto;            /* pārraksta reset img { height:auto } proporciju loģiku */
  margin-inline: auto;    /* reset.css img{display:block} — text-align bloku necentrē */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* Pogas — uz tumšā pārklājuma, tāpēc teksts/ikonas = --color-bg */
.lb-poga {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-bg);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-bg);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lb-poga svg { width: 22px; height: 22px; }
.lb-poga:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}
/* Uz tumšā pārklājuma akcenta outline var pazust — fokusam gaišais tonis */
.lb-poga:focus-visible { outline-color: var(--color-bg); }

.lb-aizvert { top: 20px; right: 20px; }
.lb-iepr { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-nak  { right: 16px; top: 50%; transform: translateY(-50%); }

/* Skaitītājs "3 / 12" + paraksts vienā joslā zem attēla */
.lb-josla {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  color: var(--color-bg);
}
.lb-skaits {
  flex: none;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.lb-paraksts { font-size: 0.95rem; opacity: 0.85; }
/* color-mix ar var() iekšā — TIKAI @supports blokā. Blakus rezervei tas nestrādā: deklarācija ar var() parsēšanā
   vienmēr ir derīga, tāpēc pārraksta rezervi, un vecajā Safari (<16.2) aprēķinā kļūst nederīga → caurspīdīgs. */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .lb { background: color-mix(in srgb, var(--color-ink) 90%, transparent); }
  .lb-poga { border-color: color-mix(in srgb, var(--color-bg) 35%, transparent); background: color-mix(in srgb, var(--color-bg) 12%, transparent); }
  .lb-skaits { background: color-mix(in srgb, var(--color-bg) 14%, transparent); }
}

/* Sīktēliem kursoru + fokusa rāmi (kailajam <img data-lightbox>) */
[data-lightbox] { cursor: zoom-in; }

@media (max-width: 640px) {
  .lb-iepr { left: 8px; }
  .lb-nak  { right: 8px; }
  .lb-aizvert { top: 12px; right: 12px; }
}

/* ============================================================
   WA-FLOAT — peldošā WhatsApp poga
   Scroll parādīšanās slieksnis 420px + aplis ar pulsējošu gredzenu
   Krāsas TIKAI caur --color-wa / --color-wa-deep (tokens.css)
   ============================================================ */

[data-wa-float] {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  background: var(--color-wa);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

/* JS pievieno šo klasi pēc scroll sliekšņa (skat. komponente.js) */
[data-wa-float].is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

[data-wa-float]:hover,
[data-wa-float]:focus-visible {
  background: var(--color-wa-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

[data-wa-float]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

[data-wa-float] svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}

/* Pulsējošs gredzens — tikai dekoratīvs, tāpēc izslēgts reduced-motion režīmā */
[data-wa-float]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--color-wa);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  [data-wa-float].is-visible::after {
    animation: wa-float-ring 2.6s ease-out infinite;
  }
}
@keyframes wa-float-ring {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* Pašpietiekams drošības tīkls — strādā pat bez reset.css globālā noteikuma */
@media (prefers-reduced-motion: reduce) {
  [data-wa-float] { transition: none; }
}

@media (max-width: 640px) {
  [data-wa-float] {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
  [data-wa-float] svg { width: 26px; height: 26px; }
}

/* ============================================================
   consent-ga4 — sīkdatņu bannera CSS (skelets; visa āda no tokens.css)
   Klases saskan ar komponente.js.
   TIKAI var(--…) atsauces — nekādu tiešu krāsu.
   ============================================================ */

.cc{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  background:var(--color-surface);
  border-top:1px solid var(--color-line);
  box-shadow:var(--shadow-lg);
  padding:16px 0;
  font-family:var(--font-body);
  transform:translateY(110%);
  transition:transform calc(var(--dur) * 2) var(--ease);
}
.cc.show{transform:none}

.cc__in{
  max-width:var(--wrap); margin-inline:auto; padding-inline:20px;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}

.cc__txt{font-size:.9rem; color:var(--color-ink-muted); max-width:640px; line-height:1.55; margin:0}
.cc__txt b{color:var(--color-ink)}
.cc__txt a{color:var(--color-accent); text-decoration:underline; text-underline-offset:3px}

.cc__btns{display:flex; gap:10px; flex-wrap:wrap}
.cc__btn{
  font:inherit; font-size:.92rem; cursor:pointer;
  padding:12px 24px; border-radius:var(--radius-pill);
  border:2px solid transparent;
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cc__btn--primary{background:var(--color-accent); color:var(--color-on-accent)}
.cc__btn--primary:hover{background:var(--color-accent-hover)}
.cc__btn--ghost{background:transparent; color:var(--color-ink); border-color:var(--color-ink)}
.cc__btn--ghost:hover{background:var(--color-ink); color:var(--color-surface)}

/* Redzams fokuss (tastatūra) — bannera pogām, saitei un kājenes atvērējam */
.cc__btn:focus-visible,
.cc__txt a:focus-visible,
[data-cc-open]:focus-visible{outline:3px solid var(--color-ink); outline-offset:2px}

/* Kamēr banneris atvērts, peldošā WhatsApp poga (wa-float) neaizsedz pogas.
   ⚠️ wa-float selektors ir [data-wa-float] (līdz 2026-09-21 te bija tikai .wa — mirusi kārtula,
   poga mobilajā sedza "Piekrītu"). Ja WA jāpatur redzama — paceļ to virs bannera (README).
   ⚠️ `html.` priekšā ir OBLIGĀTS: wa-float `[data-wa-float].is-visible` ir tas
   pats specifiskums (0,2,0), un tās CSS ielādējas PĒC šī faila → bez `html.` uzvar tā, poga paliek redzama.
   Ja projektā wa-float nav — rinda nekait. */
html.cc-open .wa,
html.cc-open [data-wa-float]{opacity:0; pointer-events:none; transition:opacity var(--dur)}

@media (max-width:700px){
  .cc{padding:14px 0}
  .cc__in{gap:12px}
  .cc__txt{font-size:.84rem}
  .cc__btns{width:100%}
  .cc__btns .cc__btn{flex:1; padding:13px 10px}
}

@media (prefers-reduced-motion:reduce){
  .cc{transition:none}
  .cc__btn{transition:none}
}

/* ============================================================
   lidijaterlanova.lv — lapas āda (vecās WordPress/Elementor lapas izskats 1:1)
   Tikai var(--…) no tokens.css. Labojumi pret veco: virsrakstiem nav
   text-transform: capitalize (latviski nav Title Case), kontrasts, mobilās malas.
   ============================================================ */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
main { display: block; overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-hover); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--color-heading); margin: 0; font-weight: 400; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 10px 16px; background: var(--color-heading); color: #fff; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--wide { width: min(1600px, 100% - 40px); margin-inline: auto; }
.wrap--text { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Virsrakstu sistēma (vecās lapas mēri) ---------- */
.h-sekcija {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.45rem + 1.6vw, 2.5rem);   /* 40px */
  line-height: 1.375;                                   /* 55/40 */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
}
.apaksvirsraksts {
  font-family: var(--font-body);
  font-size: 1.25rem; line-height: 1.5;
  color: var(--color-ink);
  text-align: center;
  margin: 0 0 4px;
}
.deko {   /* akvareļa meža josla virs virsrakstiem */
  margin: 0 auto 16px;
  width: min(300px, 70%);
}
.deko--plats { width: min(800px, 100%); }
.deko--pilns { width: 100%; margin: 24px 0; }
.dalitajs {   /* līnija — ornaments — līnija */
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: min(342px, 80%); margin: 14px auto 0;
  color: var(--color-accent-line);
}
.dalitajs::before, .dalitajs::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .7; }
.dalitajs svg { width: 18px; height: 18px; flex: none; }
.dalitajs--img img { width: 78px; height: auto; flex: none; }
.dalitajs--tukss { gap: 40px; width: 400px; max-width: 70%; }

/* ---------- Galvene ---------- */
.navb.galvene {
  position: relative;                 /* vecajā galvene nebija lipīga */
  background: linear-gradient(180deg, #E4E4E4 0%, #FBFBFB 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0;
  z-index: 120;
}
.galvene .navb__inner { max-width: 1352px; min-height: var(--header-h); padding: 0 44px; gap: 24px; }
.galvene .navb__brand { display: block; line-height: 0; }
.galvene .navb__brand img { width: clamp(220px, 18vw + 120px, 360px); height: auto; }
.galvene .navb__panel {
  align-items: center; gap: 0;
  background: #fff; padding: 0 20px; min-height: 80px;
  box-shadow: var(--shadow-sm);
}
.galvene .navb__link {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-transform: uppercase; color: var(--color-heading);
  padding: 26px 20px; border-radius: 0; background: none !important;
}
.galvene .navb__link:hover,
.galvene .navb__link[aria-current="page"] { color: var(--color-price); }
.valodas { display: flex; gap: 2px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--color-line); }
.valodas a {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--color-ink);
  text-decoration: none; padding: 8px 6px; min-width: 32px; text-align: center;
}
.valodas a[aria-current="true"] { color: var(--color-heading); text-decoration: underline; text-underline-offset: 5px; }
.valodas a:hover { color: var(--color-price); }
.galvene .navb__toggle { background: var(--color-accent); border-radius: 0; }
.galvene .navb__toggle span { background: #fff; }

@media (max-width: 1100px) {
  .galvene .navb__inner { padding: 0 20px; }
  .galvene .navb__link { padding: 26px 12px; font-size: 14px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .galvene .navb__panel { background: #fff; padding: 8px 20px 18px; min-height: 0; align-items: stretch; }
  .galvene .navb__link { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid var(--color-line); }
  .valodas { margin: 10px 0 0; padding: 0; border: 0; justify-content: flex-start; gap: 8px; }
  .valodas a { font-size: 15px; padding: 10px 12px; min-height: 44px; }
}

/* ---------- Sadaļas ---------- */
.sekcija { padding: clamp(48px, 6vw, 90px) 0; }
.sekcija--sauss { padding-top: 0; }

/* Hero */
.hero { padding: 40px 0 0; text-align: center; }
.hero h1 {
  font-family: var(--font-caption);
  font-size: clamp(1.05rem, .8rem + 1vw, 1.5625rem);  /* 25px */
  line-height: 2.2; font-weight: 400; letter-spacing: .02em;
  text-transform: uppercase;
}
.hero__citats { font-family: var(--font-caption); font-size: 1rem; line-height: 1.75; color: var(--color-ink); margin: 0; }
.hero__citats p { margin: 0; }
.hero .dalitajs { margin: 2px auto 0; }
.hero__video { margin-top: 2px; }

/* Video plakāts (YouTube / pašu video) */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b0f14;
  border: 0; padding: 0; cursor: pointer; overflow: hidden; color: #fff;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video:hover img { transform: scale(1.02); }
.video__poga {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9); display: grid; place-items: center;
  background: rgba(0, 20, 40, .18); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.video:hover .video__poga, .video:focus-visible .video__poga { background: rgba(0, 20, 40, .38); transform: scale(1.05); }
.video__poga svg { width: 30px; height: 30px; margin-left: 5px; fill: #fff; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video__piezime { font-size: 13px; color: var(--color-ink); margin: 8px 0 0; text-align: center; }

/* Jaukie momenti — karuselis */
.momenti { text-align: center; padding-top: clamp(56px, 7vw, 100px); }
.momenti .h-sekcija { margin-top: 4px; }
.karuselis { position: relative; margin-top: 40px; }
.karuselis__celins {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.karuselis__celins::-webkit-scrollbar { display: none; }
.karuselis__kadrs { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 0 70px; }
.karuselis__kadrs img { max-height: 680px; width: auto; max-width: 100%; object-fit: contain; }
.karuselis__poga {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--color-heading); cursor: pointer;
  display: grid; place-items: center;
}
.karuselis__poga svg { width: 22px; height: 22px; }
.karuselis__poga--iepr { left: 10px; }
.karuselis__poga--nak { right: 10px; }
.karuselis__punkti { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin-top: 26px; }
.karuselis__punkti button {
  width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
@media (max-width: 420px) { .karuselis__punkti { gap: 0; } .karuselis__punkti button { width: 20px; } }
.karuselis__punkti button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C3CCD5; }
.karuselis__punkti button[aria-current="true"]::before { background: var(--color-heading); }

/* Pakalpojumi — 6 kartītes 3×2 */
.pakalpojumi { padding-top: clamp(64px, 8vw, 120px); }
.kartites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
.kartite {
  background: var(--color-surface); box-shadow: var(--shadow-sm);
  padding: 40px 32px 36px; text-align: center;
}
.kartite__ikona { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--color-accent-line); margin-bottom: 18px; }
.kartite__ikona::before, .kartite__ikona::after { content: ""; width: 16px; height: 1px; background: currentColor; }
.kartite__ikona svg { width: 40px; height: 34px; }
.kartite h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.42;  /* 24/34 */
  margin-bottom: 12px;
}
.kartite__teksts { font-size: 15px; line-height: 1.85; }
.kartite__teksts p:last-child { margin-bottom: 0; }

/* Cenas — 6 kartītes ar apaļu foto */
.cenas { padding-top: clamp(64px, 8vw, 110px); scroll-margin-top: 0; }
.cenas__galva { text-align: center; margin-bottom: 110px; }
.cenu-kartites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 110px 30px; }
.cena {
  position: relative; background: var(--color-surface); box-shadow: var(--shadow-sm);
  padding: 92px 24px 32px; text-align: center;
}
.cena__foto {
  position: absolute; top: -78px; left: 50%; transform: translateX(-50%);
  width: 156px; height: 156px; border-radius: 50%; object-fit: cover;
  border: 7px solid #fff; box-shadow: 0 6px 20px rgba(0, 38, 66, .12); background: #fff;
}
.cena h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.0625rem; line-height: 1.3;  /* 17/22 */
  text-transform: uppercase; letter-spacing: .02em; min-height: 2.6em;
  display: flex; align-items: flex-end; justify-content: center;
}
.cena__summa {
  font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1.2;
  color: var(--color-price); margin: 6px 0 20px; white-space: nowrap;
}
.cena hr { border: 0; border-top: 1px solid var(--color-line); margin: 0 -24px 18px; }
.cena ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.85; }
.cena li { margin: 0 0 8px; }
.cena li.ar-kekseti { display: flex; gap: 8px; justify-content: center; align-items: baseline; }
.cena li.ar-kekseti svg { width: 12px; height: 12px; flex: none; color: var(--color-heading); }

/* Kā tas notiek */
.process { text-align: center; padding-top: clamp(64px, 8vw, 110px); }
.process ol { list-style: none; margin: 24px auto 0; padding: 0; max-width: var(--wrap); font-size: 15px; line-height: 1.85; }
.process li { margin: 0; }
.process .dalitajs { margin-top: 26px; }

/* Kāzu video */
.kazu-video { padding-top: clamp(64px, 8vw, 110px); }
.kazu-video__josla {
  background: linear-gradient(var(--color-bg-alt) 0 62%, transparent 62%);
  padding: 60px clamp(20px, 5vw, 56px) 0; text-align: center;
}
.kazu-video .video { max-width: 1028px; margin: 40px auto 0; outline: 3px solid var(--color-accent-soft); }

/* Pieteikums — 3 soļu forma */
.pieteikums { background: var(--color-bg-form); padding: clamp(64px, 8vw, 110px) 0; text-align: center; margin-top: clamp(64px, 8vw, 110px); }
.pieteikums h2 {
  font-family: var(--font-form); font-weight: 600; color: var(--color-heading-form);
  font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.0625rem); line-height: 1.2;   /* 65/78 */
  text-transform: uppercase; max-width: 820px; margin: 0 auto;
}
.pieteikums__apakss { font-family: var(--font-form); font-weight: 300; font-size: 1.375rem; color: var(--color-heading-form); margin: 26px 0 30px; }
:lang(ru) .pieteikums h2, :lang(ru) .pieteikums__apakss, :lang(ru) .forma { font-family: var(--font-body); }  /* Poppins nav kirilicas */
.forma { width: min(600px, 100%); margin: 0 auto; text-align: left; font-family: var(--font-form); }
.forma__soli { display: flex; align-items: center; justify-content: space-between; margin: 0 0 34px; padding: 0; list-style: none; position: relative; }
.forma__soli::before { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: #C9D2DC; }
.forma__soli li {
  position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; line-height: 1; border: 1px solid var(--color-heading-form); background: var(--color-bg-form); color: var(--color-heading-form);
}
.forma__soli li[aria-current="step"], .forma__soli li.ir-izdarits { background: var(--color-heading-form); color: #fff; }
.forma__solis { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
.forma__solis legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js .forma__solis[hidden] { display: none; }
.forma__lauks { display: grid; gap: 4px; }
.forma__lauks label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.forma input[type="text"], .forma input[type="email"], .forma input[type="tel"], .forma input[type="date"] {
  width: 100%; height: 56px; padding: 0 18px; border: 1px solid #CFD8E1; background: #fff; border-radius: 0;
  font: inherit; font-size: 15px; color: var(--color-heading-form);
}
.forma input::placeholder { color: #7B8794; opacity: 1; }
.forma input:focus { outline: 2px solid var(--color-accent); outline-offset: 0; border-color: var(--color-accent); }
.forma input[aria-invalid="true"] { border-color: #B3261E; }
.forma__kluda { color: #B3261E; font-size: 13px; min-height: 0; }
.forma__piekrisana { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--color-ink); }
.forma__piekrisana input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--color-accent); }
.forma__pogas { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.poga {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 30px;
  border-radius: var(--radius-pill); border: 0; background: var(--color-accent); color: var(--color-on-accent);
  font: 500 15px/1 var(--font-form); cursor: pointer; text-decoration: none; transition: background var(--dur) var(--ease);
}
:lang(ru) .poga { font-family: var(--font-body); font-weight: 700; }
.poga:hover { background: var(--color-accent-hover); color: #fff; }
.poga--rinda { background: transparent; color: var(--color-accent); border: 1px solid var(--color-accent); }
.poga--rinda:hover { background: var(--color-accent); color: #fff; }
.poga[disabled] { opacity: .6; cursor: progress; }
.poga--wa { background: var(--color-wa-deep); gap: 8px; }
.poga--wa:hover { background: #0F7A38; }
.poga--wa svg { width: 18px; height: 18px; flex: none; }
.forma__pogas--sutit { flex-wrap: wrap; gap: 10px; }
.forma__pogas--sutit .poga { padding: 0 20px; }
@media (max-width: 520px) {
  .forma__pogas--sutit { display: grid; grid-template-columns: 1fr; }
  .forma__pogas--sutit .poga { width: 100%; }
  .forma__pogas--sutit [data-atpakal] { order: 3; }
}
.forma__slazds { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.forma__zinja { margin-top: 18px; text-align: center; font-family: var(--font-body); font-size: 15px; }
.forma__zinja.ir-ok { color: #1F6B3A; }
.forma__zinja.ir-kluda { color: #B3261E; }

/* ---------- Apakšlapas ---------- */
.lapa-galva { text-align: center; padding-top: clamp(40px, 6vw, 80px); }
.lapa-galva h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 1.45rem + 1.6vw, 2.5rem); line-height: 1.375;
}
.lapa-galva__ievads { text-align: left; margin-top: 10px; }
.teksts { font-size: 16px; line-height: 1.75; }
.teksts h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.3; margin: 1.6em 0 .6em; }
.teksts h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.3; margin: 1.4em 0 .5em; }
.teksts ul, .teksts ol { padding-left: 1.4em; margin: 0 0 1em; }
.teksts li { margin-bottom: .35em; }
.teksts hr { border: 0; border-top: 1px solid var(--color-line); margin: 2em 0; }
.teksts strong { color: #4A4A4A; }

/* Kontakti */
.kontakti__rindas { list-style: none; margin: 4px 0 0; padding: 0; text-align: center; }
.iemesli { padding-top: 10px; }
.iemesli h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; text-align: center; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); line-height: 1.3; margin-bottom: 18px; }
.iemesli h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; margin: 26px 0 10px; }
.iemesli p { font-size: 15px; }

/* Atsauksmes — laika līnija */
.laika-linija { position: relative; list-style: none; margin: 60px auto 0; padding: 0; display: grid; gap: 50px; }
.laika-linija::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--color-accent-soft); }
.laika-linija li { position: relative; width: calc(50% - 56px); }
.laika-linija li:nth-child(odd) { text-align: right; }
.laika-linija li:nth-child(even) { margin-left: auto; }
.laika-linija__mezgls {
  position: absolute; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent-soft);
  color: var(--color-heading); display: grid; place-items: center;
}
.laika-linija li:nth-child(odd) .laika-linija__mezgls { right: -76px; }
.laika-linija li:nth-child(even) .laika-linija__mezgls { left: -76px; }
.laika-linija__mezgls svg { width: 20px; height: 20px; }
.laika-linija img { margin: 0 0 14px; width: 100%; }
.laika-linija .teksts { font-size: 15px; }

/* Galerija — stāsti ar foto lenti */
.stasts { padding-top: clamp(56px, 7vw, 90px); }
.stasts h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; text-align: center; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); line-height: 1.3; }
.stasts__foto { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; color: var(--color-heading); text-align: center; margin: 4px 0 0; }
.stasts .teksts { margin-top: 26px; font-size: 15px; }
.stasts .teksts p { margin-bottom: .55em; }
.lente { position: relative; margin-top: 34px; }
.lente__celins {
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: thin;
}
.lente__celins a { flex: none; scroll-snap-align: start; display: block; height: clamp(260px, 30vw, 420px); }
.lente__celins img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.lente .karuselis__poga { color: #fff; background: rgba(0, 20, 40, .35); border-radius: 50%; }
.lente .karuselis__poga:hover { background: rgba(0, 20, 40, .55); }

/* Raksts */
.raksts { padding-top: clamp(40px, 6vw, 80px); }
.raksts h1 {
  font-family: var(--font-display); font-weight: 700; text-align: center;
  font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.4rem); line-height: 1.3; max-width: 900px; margin: 0 auto 30px;
}
.raksts__datums { text-align: center; font-size: 14px; margin: -14px 0 30px; }

/* Miera lādīte */
.miera { padding: clamp(40px, 7vw, 110px) 0; }

/* 404 */
.kluda404 { text-align: center; padding: 90px 0; }
.kluda404 ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; }

/* ---------- Kājene ---------- */
.kajene { background: var(--color-bg-alt); margin-top: clamp(64px, 8vw, 110px); }
.pieteikums + .kajene, .miera + .kajene { margin-top: 0; }
.kajene__galvena { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 90px 0 70px; }
.kajene__logo img { width: 200px; height: auto; }
.kajene__citats { font-size: 15px; line-height: 1.75; margin: 22px 0 22px; }
.kajene__citats p { margin: 0; }
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--color-heading);
  display: grid; place-items: center; transition: background var(--dur) var(--ease);
}
.socials a:hover { background: var(--color-accent-soft); color: var(--color-heading); }
.socials svg { width: 16px; height: 16px; }
.kajene h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; text-transform: uppercase; margin: 0 0 22px; }
.kajene__loma { font-size: 15px; margin-bottom: 18px; }
.kontaktu-saraksts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 15px; }
.kontaktu-saraksts li { display: flex; gap: 12px; align-items: center; min-height: 32px; }
.kontaktu-saraksts svg { width: 14px; height: 14px; color: var(--color-accent-line); flex: none; }
.kontaktu-saraksts a { color: var(--color-accent); text-decoration: none; }
.kontaktu-saraksts a:hover { text-decoration: underline; }
.kajene__josla {
  width: min(1310px, 100% - 40px); margin: 0 auto; background: var(--color-accent);
  color: #fff; text-align: center; font-size: 14px; padding: 16px 20px; line-height: 1.6;
}
.kajene__josla p { margin: 0; }
.kajene__josla a { color: #fff; }
.kajene__apaksa { background: #fff; }
.kajene__apaksa .wrap--wide {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  padding: 18px clamp(0px, 8vw, 110px); font-size: 14px;
}
.kajene__izvelne { display: flex; flex-wrap: wrap; gap: 4px 26px; list-style: none; margin: 0; padding: 0; }
.kajene__izvelne a { font-family: var(--font-display); font-weight: 700; color: var(--color-heading); text-decoration: none; padding: 10px 0; display: inline-block; }
.kajene__izvelne a:hover { color: var(--color-price); }
.kajene__tiesibas { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
.kajene__tiesibas a, .kajene__tiesibas button {
  font: inherit; color: var(--color-ink); background: none; border: 0; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* Peldošās pogas: tālrunis virs WhatsApp */
.peld-zvans {
  position: fixed; right: 20px; bottom: 92px; z-index: 89; width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-accent); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.peld-zvans:hover { background: var(--color-accent-hover); color: #fff; transform: translateY(-2px); }
.peld-zvans svg { width: 22px; height: 22px; }
html.cc-open .peld-zvans { opacity: 0; visibility: hidden; }

/* ---------- Pārejas izmēri ---------- */
@media (max-width: 1024px) {
  .kartites, .cenu-kartites { grid-template-columns: repeat(2, 1fr); }
  .kajene__galvena { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .hero { padding-top: 26px; }
  .hero h1 { line-height: 1.6; margin-bottom: 8px; }
  .kartites, .cenu-kartites { grid-template-columns: 1fr; }
  .cenu-kartites { gap: 100px; }
  .cenas__galva { margin-bottom: 100px; }
  .kartite { padding: 34px 22px 30px; }
  .karuselis__kadrs { padding: 0 34px; }
  .karuselis__kadrs img { max-height: 420px; }
  .karuselis__poga--iepr { left: -6px; }
  .karuselis__poga--nak { right: -6px; }
  .kazu-video__josla { padding: 40px 16px 0; }
  .laika-linija::before { left: 19px; }
  .laika-linija li, .laika-linija li:nth-child(even) { width: auto; margin-left: 60px; text-align: left; }
  .laika-linija li:nth-child(odd) .laika-linija__mezgls,
  .laika-linija li:nth-child(even) .laika-linija__mezgls { left: -60px; right: auto; }
  .kajene__galvena { grid-template-columns: 1fr; padding: 60px 0 40px; gap: 30px; }
  .kajene__apaksa .wrap--wide { flex-direction: column; text-align: center; padding: 18px 0 90px; }
  .kajene__izvelne { justify-content: center; }
  .peld-zvans { right: 16px; bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .video img, .poga, .peld-zvans, .karuselis__celins, .lente__celins { transition: none; scroll-behavior: auto; }
}

html:not(.js) [data-talak], html:not(.js) [data-atpakal], html:not(.js) .forma__soli { display: none; }
