/* === PAKALPOJUMI (pakalpojumi.html) ===
   Sānjosla, virsraksts un pogas — style.css */

/* ── SECTION ─────────────────────────────────────────── */
.pak-section {
  scroll-margin-top: 105px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.pak-section:first-of-type { border-top: none; padding-top: 0; }

.pak-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.pak-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2fa;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pak-section-title {
  font-size: 21px;
  font-weight: 600;
  color: #111;
}

.pak-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tag);
  background: #e8f5e9;
  border-radius: 20px;
  padding: 3px 10px;
  margin-left: 4px;
}

.pak-section-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 820px;
}

.pak-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 28px 0 12px;
}

.pak-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* ── TELPU KARTES ────────────────────────────────────── */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.room-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, border-color .15s;
}

.room-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.09);
  border-color: #c0d0e8;
}

.room-img {
  aspect-ratio: 16/10;
  background: #c8cdd8;
}

.room-img img { width: 100%; height: 100%; object-fit: cover; }

.room-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.room-title { font-size: 15px; font-weight: 700; color: var(--blue); }

.room-meta { display: flex; gap: 8px; flex-wrap: wrap; }

.room-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--light-bg);
  border-radius: 6px;
  padding: 3px 8px;
}

.room-price {
  margin-top: auto;
  font-size: 13px;
  color: var(--muted);
}

.room-price strong { font-size: 18px; color: #111; font-weight: 600; }

/* ── CENU TABULA ─────────────────────────────────────── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.price-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--light-bg);
  padding: 10px 16px;
}

.price-table td {
  padding: 11px 16px;
  border-top: 1px solid #eef0f4;
  color: var(--text);
}

.price-table tr:hover td { background: #fafbfd; }

.price-table .col-unit { color: var(--muted); white-space: nowrap; }

.price-table .col-price {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  color: #111;
}

.price-table th.col-price { text-align: right; }

.price-table .group-row td {
  background: #eef2fa;
  font-weight: 700;
  color: var(--blue);
  font-size: 12.5px;
}

/* divas tabulas blakus */
.price-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* ── DOKUMENTU / SAIŠU RINDA ─────────────────────────── */
.doc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ── KONSULTĀCIJAS ───────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.step {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text { font-size: 13px; line-height: 1.5; color: var(--text); }
.step-text strong { display: block; font-size: 13.5px; margin-bottom: 2px; }
.step-text a { color: var(--blue); font-weight: 600; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.topic-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.topic-head svg { color: var(--blue); flex-shrink: 0; }

.topic-card ul {
  list-style: none;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.topic-card li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 3px;
}

.topic-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.topic-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eef0f4;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topic-foot strong { color: var(--text); font-weight: 600; }

/* ── RESURSU CENTRS ──────────────────────────────────── */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.equip-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  display: flex;
  gap: 12px;
  align-items: center;
}

.equip-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eef2fa;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.equip-title { font-size: 13px; font-weight: 700; color: #111; line-height: 1.35; }
.equip-sub { font-size: 11.5px; color: var(--muted); }

.contact-box {
  margin-top: 20px;
  background: var(--navy);
  border-radius: 12px;
  padding: 22px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-box p { font-size: 13px; color: rgba(255,255,255,.75); }

.contact-links { display: flex; gap: 10px; flex-wrap: wrap; }

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: background .15s;
}

.contact-links a:hover { background: rgba(255,255,255,.2); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .room-grid, .topic-grid, .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .pak-section { scroll-margin-top: 150px; }
  .price-cols { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .room-grid, .topic-grid, .equip-grid { grid-template-columns: 1fr; }
  .room-img { aspect-ratio: 16/7; }
  .price-table { font-size: 12.5px; }
  .price-table th, .price-table td { padding: 9px 10px; }
  .price-table .col-unit { white-space: normal; font-size: 11.5px; }
  .contact-links a { word-break: break-all; }
}

.room-img { aspect-ratio: 16 / 10; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; display: block; }