/* ============================================================
   ADAPTA — vizītkartes lapa
   Krāsu shēma atvasināta no logotipa (zils + oranžs).
   Krāsas maināmas :root sadaļā.
   ============================================================ */

:root {
  --navy:      #0a2e5c;   /* tumšais zils (logo burti) */
  --navy-2:    #123a72;
  --blue:      #1560b0;   /* pamata zils */
  --blue-dk:   #0e4485;
  --blue-lt:   #2f9fd6;   /* gaišais akcents logo */
  --accent:    #f6871f;   /* oranžs (logo "p" / iekava) */
  --accent-dk: #e0700e;
  --ink:       #16283f;
  --muted:     #5b6b7b;
  --line:      #e3e9f0;
  --bg:        #ffffff;
  --bg-alt:    #f4f7fb;
  --radius:    14px;
  --shadow:    0 12px 34px rgba(10, 46, 92, 0.10);
  --maxw:      1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand-logo { display: block; height: 60px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav-lang {
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .08em;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
  color: var(--blue) !important;
}
.nav-lang:hover { border-color: var(--blue); background: rgba(21,96,176,0.06); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dk); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(47,159,214,0.28), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, rgba(246,135,31,0.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--blue-dk) 100%);
  color: #fff;
  padding: 96px 0 104px;
}
.hero-inner { max-width: 800px; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,0.85);
  margin: 0 0 34px;
  max-width: 660px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; }
.hero-stat {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.16);
  max-width: 560px;
}
.hero-stat strong { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section-intro {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
  margin: 0 0 48px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(21,96,176,0.14), rgba(246,135,31,0.14));
  color: var(--blue);
  font-size: 20px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.3; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Specializācija + versijas ---------- */
.specialize {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.specialize-text p { color: var(--muted); font-size: 17px; }
.specialize-text .section-title { color: var(--blue-dk); }
.versions-label,
.industries-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 16px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
}
.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #c6d2df;
  flex: none;
}
.timeline-item--current {
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(246,135,31,0.10), transparent 70%);
}
.timeline-item--current .timeline-dot { background: var(--accent); box-shadow: 0 0 0 5px rgba(246,135,31,0.22); }
.timeline-item--current .timeline-ver { font-weight: 700; }

/* ---------- Industries chips ---------- */
.industries { margin-top: 44px; }
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chips li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Par mums ---------- */
.about {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text p { color: var(--muted); font-size: 17px; }
.about-text .section-title { color: var(--ink); }
.about-skills-line {
  font-size: 15.5px !important;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.about-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.about-highlights li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}
.about-highlights strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.about-highlights span { color: var(--muted); font-size: 14.5px; }

/* ---------- Kontakti ---------- */
.section-contact {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(47,159,214,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--blue-dk) 100%);
  color: #fff;
}
.section-contact .section-eyebrow { color: var(--accent); }
.contact-intro { color: rgba(255,255,255,0.8); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 4px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  transition: border-color .15s ease, background .15s ease;
}
a.contact-item:hover { border-color: var(--accent); background: rgba(255,255,255,0.09); }
.contact-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.contact-value { font-size: 17px; font-weight: 600; }
.contact-note { font-size: 13.5px; color: rgba(255,255,255,0.6); }

/* ---------- Karte ---------- */
.map-wrap {
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  line-height: 0;
}
.map-wrap iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #071f3d;
  color: rgba(255,255,255,0.6);
  padding: 30px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-legal { display: flex; flex-direction: column; gap: 3px; }
.footer-legal strong { color: #fff; font-size: 15px; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.social a:hover { color: #fff; border-color: var(--accent); background: rgba(246,135,31,0.16); }
.footer-copy { color: rgba(255,255,255,0.45); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .specialize { grid-template-columns: 1fr; gap: 36px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.nav-cta):not(.nav-lang) { display: none; }
}
@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .hero { padding: 72px 0 80px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
}
