/* ── CSS mainīgie (ja izmanto) ── */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif; /* Vai cits pamateksta fonts */
}

/* ── Visiem virsrakstiem lapā ── */
h1, h2, h3,
.h1, .h2, .h3 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 700; /* Vai nozīmētā biezuma vērtība */
}

/* Globālais sekcijas iepakojums */

/* Centrētais satura konteiners */
.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 64px;
  padding-right: 64px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

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

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

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background-color: #ffffff;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

p, h1, h2, h3 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 8px 16px;
  background: #fff;
  color: #121a2a;
  font-size: 14px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* Atstarpe starp pašām lielajām sekcijām, ja tās seko viena otrai */
.stage-importance-section + .stage-importance-section {
  margin-top: 64px; /* Vai 80px, atkarībā no vēlamā gaisa starp blokiem */
}

/* Vai, ja liec padding pašai sekcijai: */
.stage-importance-section {
  padding-bottom: 40px;
}

/* Lielā virsraksta atstarpe no augšas (ja tas nav pašā augšā) */
.stage-importance-title {
  margin-top: 48px;
  margin-bottom: 20px;
}

/* Pirmā virsraksta specifika, ja tam vajag citādu augšējo atstarpi */
.stage-importance-section:first-of-type .stage-importance-title {
  margin-top: 0;
}

/* Atstarpe starp apakšsadaļas virsrakstu un pirmo paragrāfu */
.stage-subsection-title {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 20px; /* Pielāgo pēc nepieciešamības */
  font-weight: 700;
  color: var(--Semantics-Text-Primary, #22314E);
}

/* Atstarpes starp atsevišķajām apakšsadaļām (ja to ir vairākas) */
.stage-subsection-item + .stage-subsection-item {
  margin-top: 32px;
}

/* Atstarpes starp paragrāfiem apakšsadaļas blokā */
.stage-subsection-text-block p + p {
  margin-top: 16px;
}

/* Ja nepieciešams, arī pamata paragrāfam, ja tas atrodas tieši blokā */
.stage-subsection-text-block p {
  margin-bottom: 16px;
  line-height: 1.6;
}


/* Konteiners pirms animācijas */
.heading-container {
  opacity: 0;
  /* Palielinām distancēšanos no 60px uz 120px un sākam ar nedaudz mazāku izmēru (0.92) */
  transform: translateY(120px) scale(0.92);
  
  /* Pagarinām laiku uz 1.2 sekundēm un izmantojam pamanāmu "ease-out" līkni */
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 1.2s ease-out;
              
  /* GPU paātrinājumam un gludākam FPS */
  will-change: transform, opacity;
}

/* Aktīvais stāvoklis, kad elements iebrauc ekrānā */
.heading-container.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Lielais virsraksts parādās pirmais */
.heading-container.is-visible h2 {
  transition-delay: 0s;
}

/* Mazais apakšvirsraksts/teksts pievelkas ar 0.2 sekunžu aizkavēšanos */
.heading-container h2 + *,
.heading-container p {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, 
              opacity 1.2s ease-out 0.2s;
}
  /* Komandas Sekcija */
.team-section {
  width: 100%;
  background-color: #ffffff;
  color: var(--semantics-text-primary, #0f172a);
  box-sizing: border-box;
}

.team-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 112px 64px; /* Figma paddings */
  display: flex;
  flex-direction: column;
  gap: 80px; /* Figma vertical gap */
  box-sizing: border-box;
}

/* Virsraksti */
.team-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-title {
  font-family: Poppins, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #22314E;
  margin: 0;
}

.team-subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: #22314E;
  margin: 0;
}

/* Komandas biedru tīkls */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 48px;
}

/* Atsevišķa biedra kartīte */
.team-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.team-card-image-wrapper {
  flex: 0 0 200px;
  height: 240px;
  border-radius: var(--Radius-XL, 12px);
  overflow: hidden;
  background-color: #f1f5f9;
}

.team-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card-name {
  font-size: 18px;
  font-weight: 600;
  color: #22314E;
  margin: 0;
  line-height: 1.3;
}

.team-card-role {
  font-size: 14px;
  color: #22314E;
  font-weight: 500;
}

.team-card-bio {
  font-size: 14px;
  line-height: 1.5;
  color: #22314E;
  margin: 0;
}

.team-card-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  transition: opacity 0.2s ease;
}

.team-card-social:hover {
  opacity: 0.7;
}

/* "We're hiring!" bloks */
.team-hiring {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.team-hiring-title {
  font-size: 28px;
  font-weight: 700;
  color: #22314E;
  margin: 0;
  letter-spacing: -0.01em;
}

.team-hiring-text {
  font-size: 16px;
  line-height: 1.5;
  color: #22314E;
  margin: 0 0 12px 0;
}

.team-hiring-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid #cbd5e1;
  border-radius: var(--Radius-M, 12px);
  background-color: transparent;
  color: #22314E;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-hiring-btn:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.stage-importance-section {
  /* padding: 80px 0; */
  width: 100%;
}

/* Ārējais grid/flex konteiners */
.stage-importance-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
  display: flex;
  justify-content: center; /* Nocentrē 768px bloku lapas vidū */
}

/* Iekšējais satura bloks precīzi 768px platumā */
.stage-importance-content {
  width: 100%;
  max-width: 768px;
}

.stage-importance-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: #111;
}

.stage-importance-text-block p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #333;
}

.stage-importance-media {
  margin: 40px 0;
  padding: 0;
}

.stage-importance-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.stage-importance-caption {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
  border-left: 2px solid #111;
  padding-left: 8px;
}

.stage-importance-highlight {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin-bottom: 16px;
}

.stage-importance-text {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* Saraksta stils iekš stage-importance-content */
.stage-importance-content ul.stage-importance-list {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
  list-style-type: disc; /* Vai square, vai cits, pēc izvēles */
}

.stage-importance-content ul.stage-importance-list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-weight: 700;
  color: inherit; /* Pārmanto teksta krāsu no apkārtējā bloka */
}

/* Responsīvās pielāgošanas */
@media (max-width: 1024px) {
  .team-container {
    padding: 64px 24px;
    gap: 48px;
  }

  .team-grid {
    grid-template-columns: 1fr; /* Mobilajās ierīcēs un planšetēs 1 kolonna */
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .team-card {
    flex-direction: column;
  }

  .team-card-image-wrapper {
    width: 100%;
    flex: none;
    height: 280px;
  }
}  /* ── Hero Service Sekcija ───────────────────────────────── */
  .hero-service-section {
    width: 100%;
    background-color: #FFFFFF;
    padding-top: 112px; /* Figma padding-top no inspekcijas rīka */
    padding-bottom: 36px;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
  }

  .hero-service-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrē visus bērnus (Header bloku un Bildi) */
    gap: 80px; /* Atstarpe starp teksta bloku un bildi no Figma maketa */
    box-sizing: border-box;
  }

  /* ── Header Bloks (Saturs + Breadcrumbs) ─────────────── */
  .hero-service-header {
    max-width: 768px; /* 768px platums no Figma specifikācijas */
    width: 100%;
    margin: 0 auto;   /* Centrē pašu bloku lapas vidū */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Visus bērnus piespiež pie KREISĀS malas */
    text-align: left;        /* Teksts pie KREISĀS malas */
    gap: 24px;               /* 24px atstarpe no Figma */
  }

  .stage-conclusion-section {
    background-color: #FAFAFB;
    padding: 36px 0;
    width: 100%;
  }

  .stage-conclusion-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 64px;
    box-sizing: border-box;
  }

  .stage-conclusion-content {
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
  }

  .content-body {
    padding-bottom: 36px;
  }

   /* ── Breadcrumbs ──────────────────────────────────────── */
  .breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Piespiež saites pie KREISĀS malas */
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  .breadcrumb-item {
    color: #475569;
    text-decoration: none;
  }

  .breadcrumb-item.active {
    color: #0F172A;
    font-weight: 500;
  }

  .breadcrumb-separator {
    color: #94A3B8;
  }

  /* ── Teksti ───────────────────────────────────────────── */
  .hero-service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #0F172A;
    margin: 0;
  }

  /* ── Attēls ────────────────────────────────────────────── */
  .hero-service-image-wrapper {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-service-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  /* ── Responsive ─────────────────────────────────────────── */
  @media (max-width: 1024px) {
    .hero-service-section {
      padding-top: 60px;
      padding-bottom: 40px;
    }

    .hero-service-container {
      padding: 0 24px;
      gap: 24px;
    }

    .hero-service-title {
      font-size: 36px;
    }
  }

  @media (max-width: 640px) {
    .hero-service-title {
      font-size: 28px;
    }

    .hero-service-image-wrapper {
      border-radius: 12px;
      max-height: 300px;
    }
  }

.stage-importance-section {
  /* padding: 80px 0; */
  width: 100%;
}

/* Ārējais grid/flex konteiners */
.stage-importance-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
  display: flex;
  justify-content: center; /* Nocentrē 768px bloku lapas vidū */
}

/* Iekšējais satura bloks precīzi 768px platumā */
.stage-importance-content {
  width: 100%;
  max-width: 768px;
}

.stage-importance-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: #111;
}

.stage-importance-text-block p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #333;
}

.stage-importance-media {
  margin: 40px 0;
  padding: 0;
}

.stage-importance-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.stage-importance-caption {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
  border-left: 2px solid #111;
  padding-left: 8px;
}

.stage-importance-highlight {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin-bottom: 16px;
}

.stage-importance-text {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}


/* ==========================================
   CONTENT BODY & BLOCKS
   ========================================== */
.content-body {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px; /* Atstarpe starp atsevišķajiem blokiem */
}

.content-block {
  display: flex;
  flex-direction: column;
}

.content-block__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  margin: 0 0 24px 0;
}

.content-block__text {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Atstarpe starp rindkopām */
}

.content-block__text p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* Citāts / Callout block */
.content-block__highlight {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #0f172a;
  /* border-left: 4px solid #0f172a; 
  padding: 8px 0 8px 24px;  */
  margin: 32px 0 0 0;
}

/* Attēli raksta vidū */
.content-block__figure {
  width: 100%;
  margin: 32px 0 0 0;
}

.content-block__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.stage-conclusion-quote {
  margin: 36px 0 24px 0;
  padding-left: 20px;
  border-left: 2px solid #111;
}

.stage-conclusion-quote p {
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: #111;
  margin: 0;
}

/* ── Cards Grid ────────────────────────────────────────── */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
}

.srv-card {
  position: relative;
  height: 414px;
  border-radius: 20px;
  overflow: hidden;
  padding: 50px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-decoration: none;
  background-color: #F8FAFC;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

/* ── Dinamiskais fona attēls ────────────────────────────── */
.srv-card__bg {
  position: absolute;
  z-index: 1;
  max-width: none !important;

  /* Pozicionēšana */
  top: var(--top, auto);
  right: var(--right, auto);
  bottom: var(--bottom, auto);
  left: var(--left, auto);

  width: var(--width, auto);
  height: var(--height, auto);
  object-position: var(--obj-pos, center);

  /* Transformācija un animācija */
  transform: var(--transform, none);
  transition: transform 0.4s ease;
}

/* Hover efektam saglabājam pamata transformāciju un pievienojam mērogu */
.srv-card:hover .srv-card__bg {
  transform: var(--transform, none) scale(1.03);
}

/* ── Satura kārta ──────────────────────────────────────── */
.srv-card__content {
  position: relative;
  z-index: 2;
  max-width: 320px;
}

.srv-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: var(--Text-Sizes-Heading-3, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: #0F172A;
  margin: 0 0 12px 0;
}

.srv-card__link {
  font-size: 14px;
  font-weight: 500;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.srv-card:hover .srv-card__link {
  gap: 10px;
}

/* Saraksta stils iekš stage-importance-content */
.stage-importance-content ul.stage-importance-list {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
  list-style-type: disc; /* Vai square, vai cits, pēc izvēles */
}

.stage-importance-content ul.stage-importance-list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-weight: 700;
  color: inherit; /* Pārmanto teksta krāsu no apkārtējā bloka */
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 640px) {

  .content-block__title {
    font-size: 24px;
  }

  
  .content-block__img {
    height: 240px;
  }
}/*$vite$:1*/