/* ============================================================
   Cjenovnik page — page-specific styles
   ============================================================ */

/* ---------- BREADCRUMB HERO ---------- */
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: 96px; /* clear fixed nav */
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%),
    url("/assets/services-bg.jpg") center/cover no-repeat,
    linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 360px at 90% 10%, rgba(132,185,63,0.28), transparent 60%),
    radial-gradient(700px 320px at 5% 100%, rgba(132,185,63,0.22), transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: var(--container);
  width: 100%;
  padding: 0 var(--safe);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.breadcrumbs a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color .2s ease;
}
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs .sep {
  color: var(--green);
  font-size: 16px;
  line-height: 1;
}
.breadcrumbs .current {
  color: #fff;
}
.page-title {
  font-family: "Merriweather", serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 0;
  color: #fff;
  letter-spacing: -0.01em;
}
.title-dash {
  display: block;
  width: 100px;
  height: 4px;
  background: url("/assets/line.svg") center/contain no-repeat;
  margin-top: 14px;
}

/* nav active state */
.nav-links a.active {
  color: var(--green) !important;
  font-weight: 700;
}

/* ---------- PRICING SECTION ---------- */
.pricing {
  padding: 0;
  background: var(--bg);
}
.pricing-row {
  padding: 48px var(--safe);
  background: var(--bg);
}
.pricing-row:first-of-type { padding-top: 96px; }
.pricing-row:last-of-type { padding-bottom: 80px; }
.pricing-row--gray { background: #F0F0F0; }
.pricing-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
}
.price-card {
  display: flex;
  flex-direction: column;
}
.price-cat {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.price-table thead th {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-align: left;
  padding: 12px 18px;
  letter-spacing: 0.02em;
}
.price-table thead th:last-child {
  text-align: center;
  width: 38%;
}
.price-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #EEF1F3;
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.45;
  font-size: 16px;
}
.price-table tbody td:last-child {
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  width: 38%;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: rgba(132,185,63,0.06); }

/* ---------- CONTACT CTA STRIP ---------- */
.pricing-cta {
  max-width: var(--container);
  margin: 80px auto 0;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-card);
}
.pricing-cta p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.pricing-cta .btn { flex-shrink: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pricing-grid { gap: 40px 36px; }
}
@media (max-width: 820px) {
  .page-hero { height: 320px; }
  .pricing { padding: 64px var(--safe) 60px; }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .pricing-cta .btn { width: 100%; max-width: 320px; }
}
@media (max-width: 480px) {
  .page-hero { height: 280px; }
  .price-cat { font-size: 22px; }
  .price-table { font-size: 16px; }
  .price-table thead th,
  .price-table tbody td { padding: 12px 14px; }
}
