:root {
  --bg:#0b1020;
  --card:#11172e;
  --muted:#94a3b8;
  --text:#e2e8f0;
  --brand:#7c5cff;
  --brand-2:#22d3ee;
  --radius:16px;
  --shadow:0 6px 18px rgba(0,0,0,.25);
}

/* ====== Pamata stils ====== */
* { box-sizing:border-box; }
html,body {
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,'Inter',Arial,sans-serif;
}
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
.container { max-width:1100px; margin:0 auto; padding:0 20px; }

/* ====== Header ====== */
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(11,16,32,.75);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  gap:16px;
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}
.brand img {
  width:25px;
  height:auto;
  max-height:40px;
  object-fit:contain;
}

/* ====== Navigācija ====== */
.menu {
  display:flex;
  gap:16px;
  align-items:center;
}
.menu-btn {
  display:none;
  background:transparent;
  border:none;
  color:var(--text);
  font-size:1.4rem;
  padding:6px;
  line-height:1;
  border-radius:8px;
  cursor:pointer;
}

/* ====== Pogas ====== */
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--shadow);
}
.btn.primary {
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  border:none;
  color:white;
  font-weight:600;
}
.btn.small { padding:8px 12px; font-size:.95rem; }

/* ====== Hero ====== */
.hero {
  background:
    radial-gradient(1200px 600px at 0% -10%,rgba(124,92,255,.25),transparent),
    radial-gradient(900px 500px at 100% 10%,rgba(34,211,238,.18),transparent);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.hero-inner {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:center;
  padding:56px 0 32px;
}

/* ====== Sadaļas ====== */
.section { padding:56px 0; }
.section.alt {
  background:#0d1428;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* ====== Produktu kartītes ====== */
#komplekti .cards {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:center;
  margin-top:20px;
}
#komplekti .card {
  background:var(--card);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  padding:16px;
  flex:1 1 300px;
  max-width:320px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
#komplekti .card:hover {
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(0,0,0,0.3);
}
#komplekti .card img {
  width:100%;
  height:200px;
  object-fit:contain;
  margin-bottom:10px;
}
#komplekti .details {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  margin:10px 0 12px;
  font-size:0.95rem;
}
#komplekti .details .price {
  margin-top:6px;
  font-weight:600;
  color:var(--brand-2);
}
#komplekti .btn.small { align-self:flex-start; }

/* ====== Checkout forma ====== */
.checkout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  background:var(--card);
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
}
.checkout label { display:grid; gap:6px; font-size:.95rem; color:var(--muted); }
.checkout input,.checkout select {
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:#0b1328;
  color:var(--text);
}
.checkout button { grid-column:span 2; }

/* ====== Kontakti ====== */
.contacts {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:12px;
}
.contact {
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
}
.contact .avatar {
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:50%;
  background:#0e1630;
  font-weight:700;
}
.contact .info { line-height:1.25; }
.contact .info .email {
  display:block;
  color:var(--muted);
  margin-top:2px;
}

/* ====== Footer ====== */
.footer-inner {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  gap:12px;
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:24px;
  padding-top:16px;
}
.foot-brand {
  display:flex;
  align-items:center;
  gap:10px;
}
.foot-brand img {
  width:35px;
  height:auto;
}
.foot-links {
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}
.foot-copy {
  text-align:right;
  color:var(--muted);
  font-size:.9rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width:900px) {
  .menu-btn { display:inline-block; }
  .menu { display:none; }
  .menu.open {
    display:flex;
    flex-direction:column;
    position:absolute;
    top:64px;
    right:20px;
    background:var(--card);
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    padding:10px;
    box-shadow:var(--shadow);
    gap:10px;
  }
  .hero-inner { grid-template-columns:1fr; }
  .checkout { grid-template-columns:1fr; }
  .checkout button { grid-column:auto; }
  .contacts { grid-template-columns:1fr; }
  .footer-inner {
    grid-template-columns:1fr;
    text-align:center;
  }
  .foot-copy { text-align:center; }
}
/* Kontakti vienā kolonnā + foto aplītī (ne href) */
.contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}

.avatar {
  width: 120px !important;
  height: 120px !important;
  border-radius: 50%;
  overflow: hidden;     /* apaļš “mask” foto */
  flex-shrink: 0;
  display: grid;        /* ja nav foto, var palikt iniciālis */
  place-items: center;
  background: #0e1630;
  font-weight: 700;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* aizpilda apli bez deformācijas */
}

.info { line-height: 1.25; }
.info strong { display: block; font-weight: 600; }
.info .email {
  display: block;       /* e-pasts jaunā rindā */
  color: var(--muted);
  margin-top: 2px;
}

/* Mazliet mazāks atstatums uz mobilā */
@media (max-width: 900px) {
  .contacts { gap: 12px; }
}
