/* ============ MAINĪGIE / DESIGN TOKENS ============ */
:root {
  --navy:      #0f1b2d;
  --navy-2:    #16263d;
  --navy-3:    #1e3350;
  --orange:    #ff8c1a;
  --orange-d:  #f57600;
  --whatsapp:  #25d366;
  --text:      #e7edf5;
  --muted:     #9aabc0;
  --line:      rgba(255, 255, 255, 0.10);
  --bg:        #0f1b2d;
  --bg-alt:    #15233a;
  --card:      #1b2c46;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.40);
  --maxw:      1140px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ POGAS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(245, 118, 0, .35); }
.btn--primary:hover { background: var(--orange-d); }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1eb959; }
.btn--block { width: 100%; padding: 16px; font-size: 1.05rem; }

/* ============ NAVIGĀCIJA ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 27, 45, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
  max-width: none;
  padding: 0 32px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__icon { display: inline-flex; }
.logo__icon img { height: 40px; width: auto; display: block; }
.logo__text {
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -.3px;
}
.logo__text strong { color: var(--orange); font-weight: 800; }
.logo__tld { color: rgba(255,255,255,.6); font-weight: 500; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
}
.nav__links a { color: rgba(255,255,255,.82); font-weight: 500; font-size: .98rem; transition: color .15s; white-space: nowrap; }
.nav__links a:hover { color: #fff; }
.nav__cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav__cta:hover { background: var(--orange-d); }

/* Valodu pārslēdzējs */
.lang { display: inline-flex; gap: 1px; }
.lang button {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.55);
  font-family: inherit;
  font-weight: 700;
  font-size: .8rem;
  padding: 5px 6px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.lang button:hover { color: #fff; }
.lang button.is-active { color: var(--orange); background: rgba(255,255,255,.08); }
.lang--mobile { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: .25s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,27,45,.92) 0%, rgba(15,27,45,.72) 45%, rgba(15,27,45,.30) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 80px 24px; max-width: 760px; }
.hero__badge {
  display: inline-block;
  color: var(--orange);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero__subtitle {
  color: rgba(255,255,255,.88);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  margin-bottom: 32px;
  max-width: 620px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__points {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
.hero__points strong { color: var(--orange); }

/* ============ HERO SCROLL-SCRUB VIDEO ============ */
.hero-scrub {
  position: relative;
  height: 280vh;              /* ritināšanas "ceļš" — jo garāks, jo lēnāks scrub */
  background: var(--navy);
}
.hero-scrub__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-scrub__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrub .hero__overlay { z-index: 1; }
.hero-scrub .hero__content { position: relative; z-index: 2; padding: 80px 24px; max-width: 760px; }

/* Sākuma ekrāns — logo + "ritini" norāde */
.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
}
.hero-intro__logo {
  width: clamp(130px, 22vw, 210px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
}
.hero-intro__brand {
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.hero-intro__brand strong { color: var(--orange); font-weight: 800; }
.hero-intro__brand span { color: rgba(255,255,255,.6); font-weight: 500; }
.hero-intro__scroll {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.92);
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-intro__scroll svg { animation: heroBounce 1.6s ease-in-out infinite; }
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ============ PRIEKŠROCĪBAS ============ */
.features { background: var(--navy-2); padding: 0; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.feature {
  background: var(--navy-2);
  padding: 40px 28px;
  text-align: center;
}
.feature__icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: rgba(255,255,255,.65); font-size: .94rem; }

/* ============ SEKCIJAS ============ */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section__eyebrow {
  display: inline-block;
  color: var(--orange-d);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .82rem;
  margin-bottom: 12px;
}
.section__eyebrow--light { color: var(--orange); }
.section__head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* ============ PAKALPOJUMI ============ */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.service-card--accent {
  background: linear-gradient(160deg, #20324e 0%, #16263d 100%);
  border-color: rgba(255, 140, 26, 0.4);
  color: #fff;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card--accent h3 { color: var(--orange); }
.service-card > p { color: var(--muted); margin-bottom: 20px; }
.service-card--accent > p { color: rgba(255,255,255,.78); }
.service-card ul { list-style: none; display: grid; gap: 12px; }
.service-card li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}
.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange-d);
  font-weight: 800;
}
.service-card--accent li::before { color: var(--orange); }

/* ============ CENAS (saraksts) ============ */
.price-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-row:hover { transform: translateX(5px); box-shadow: var(--shadow-lg); }
.price-row__flags {
  font-size: 1.5rem;
  letter-spacing: 1px;
  flex-shrink: 0;
  min-width: 90px;
}
.price-row__name {
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text);
  flex: 1;
}
.price-row__price { color: var(--muted); font-size: 1rem; white-space: nowrap; flex-shrink: 0; }
.price-row__price strong { color: var(--orange-d); font-size: 1.6rem; font-weight: 800; }
.price-row--highlight {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  border-color: var(--navy);
}
.price-row--highlight .price-row__name { color: #fff; }
.price-row--highlight .price-row__price { color: rgba(255,255,255,.7); }
.price-row--highlight .price-row__price strong { color: var(--orange); }
.prices__note {
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  margin-top: 28px;
}

/* ============ KĀ TAS NOTIEK ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 12px;
  position: relative;
}
.step__num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(245,118,0,.3);
}
.step h3 { font-size: 1.16rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ============ ANKETA ============ */
.section--cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.form-intro { color: #fff; padding-top: 10px; }
.form-intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.form-intro > p { color: rgba(255,255,255,.78); font-size: 1.08rem; margin-bottom: 26px; }

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form__field { display: flex; flex-direction: column; }
.form__field { margin-bottom: 18px; }
.form__row .form__field { margin-bottom: 0; }
.form__field label { font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--text); }
.form__field input,
.form__field select,
.form__field textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #0f1b2d;
  transition: border-color .15s, box-shadow .15s;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #6b7c93; }
.form__field select option { color: #1c2533; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,140,26,.15);
}
.form__field textarea { resize: vertical; }
.form__privacy { text-align: center; color: var(--muted); font-size: .84rem; margin-top: 14px; }
.form__status { margin-top: 14px; padding: 12px; border-radius: 10px; text-align: center; font-weight: 600; }
.form__status--ok { background: #e4f8ec; color: #167a3e; }
.form__status--err { background: #fdeaea; color: #c0392b; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 56px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.logo--footer .logo__text { font-size: 1.3rem; }
.footer__brand p { margin-top: 12px; max-width: 320px; font-size: .95rem; }
.footer__col h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.footer__col p { margin-bottom: 8px; }
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  font-size: .88rem;
}

/* ============ FAQ ============ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
  box-shadow: var(--shadow);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 18px 36px 18px 0;
  position: relative;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--orange-d);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  color: var(--muted);
  padding: 0 0 20px;
  margin: 0;
}

/* ============ IEVADS / SEO sadaļa ============ */
.intro-text {
  max-width: 820px;
  margin: -20px auto 44px;
  text-align: center;
}
.intro-text p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 16px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.benefit__icon { font-size: 2rem; margin-bottom: 12px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .95rem; }
.intro-cta {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  color: var(--text);
  font-size: 1.08rem;
}

/* ============ FADE-IN (ritinot skatā) ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSĪVS / MOBILE ============ */
@media (max-width: 980px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 768px) {
  /* Mobilā navigācija */
  .nav__inner { padding: 0 18px; }
  .nav__toggle { display: flex; }
  .lang--desktop { display: none; }
  .lang--mobile { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: 70px;
    right: 0;
    left: auto;
    width: min(280px, 80vw);
    height: calc(100vh - 70px);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    border-left: 1px solid rgba(255,255,255,.08);
  }
  .nav__links.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav__links a { width: 100%; padding: 12px 8px; font-size: 1.05rem; }
  .nav__cta { text-align: center; margin-top: 10px; }

  /* Valodu pārslēdzējs izvēlnē (mobile) */
  .nav__links .lang {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    gap: 6px;
  }
  .nav__links .lang button { font-size: 1rem; padding: 9px 14px; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero-scrub { height: 220vh; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(15,27,45,.78) 0%, rgba(15,27,45,.82) 100%);
  }
  .hero-scrub .hero__content { padding: 56px 20px; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions .btn { flex: 1; }
  .hero__points { gap: 16px; font-size: .95rem; }

  .section { padding: 60px 0; }
  .services { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 28px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__row .form__field { margin-bottom: 18px; }
  .form { padding: 26px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }

  /* Cenu saraksts uz telefona */
  .price-row {
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 18px 20px;
  }
  .price-row__flags { min-width: 0; }
  .price-row__name { flex: 1 1 100%; order: 3; font-size: 1.05rem; }
  .price-row__price { margin-left: auto; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__points { flex-direction: column; gap: 8px; }
}
