/* Business Services Page */
:root {
  --brand:#00a3c8;
  --brand-dark:#0089a8;
  --accent:#71b247;
  --ink-900:#0f172a;
  --ink-700:#334155;
  --ink-500:#64748b;
  --bg-1:#f4fbff;
  --bg-2:#eef7fb;
  --card:#ffffff;
  --border:#e6eef3;
  --shadow:0 18px 40px rgba(15,23,42,0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Vesper Libre", serif;
}

body {
  background:
    radial-gradient(900px 280px at 10% -10%, rgba(0,163,200,.18), transparent 60%),
    radial-gradient(800px 280px at 90% 10%, rgba(113,178,71,.15), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: var(--ink-900);
}

.container {
  padding: 50px 5% 70px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .3px;
}

.page-subtitle {
  color: var(--ink-500);
  font-size: 15px;
  margin-top: 6px;
}

.urgent-banner {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 2px dashed rgba(0, 163, 200, 0.45);
  background: linear-gradient(90deg, rgba(0, 163, 200, 0.08), rgba(113, 178, 71, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 12px 26px rgba(0, 163, 200, 0.08);
}

.urgent-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.urgent-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 163, 200, 0.18);
  color: var(--brand);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  flex: 0 0 auto;
}

.urgent-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink-900);
  font-family: "Inter", sans-serif;
}

.urgent-subtitle {
  font-size: 13px;
  color: var(--ink-700);
  font-family: "Inter", sans-serif;
}

.urgent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.urgent-btn {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 163, 200, 0.35);
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 20px rgba(0, 163, 200, 0.1);
}

.urgent-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 14px 28px rgba(0, 163, 200, 0.22);
}

.urgent-btn.urgent-yes {
  background: rgba(113, 178, 71, 0.12);
  color: #4d8b2f;
  border-color: rgba(113, 178, 71, 0.45);
}

.urgent-btn.urgent-yes.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  width: 100%;
  margin: 18px 0 34px;
}

.filter-wrapper {
  position: relative;
}

#filter-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
}

#filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15,23,42,0.12);
}

#filter-btn img {
  width: 22px;
  height: 22px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.service-card {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: cardIn .6s ease both;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15,23,42,0.12);
}

.service-card img {
  width: 240px;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
}

.service-title-link,
.service-image-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.service-title-link:hover {
  color: var(--brand-dark);
}

.service-content {
  flex: 1;
}

.service-content h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.service-content p {
  font-size: 15px;
  color: var(--ink-700);
  margin-bottom: 10px;
  line-height: 1.6;
}

.recommended {
  display: inline-block;
  color: var(--ink-500);
  font-size: 13px;
  font-weight: 600;
  background: #f1f7fb;
  border-radius: 999px;
  padding: 6px 10px;
}

.quote-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.quote-btn:hover {
  background: var(--brand-dark);
}

/* Filter modal */
.filter-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.filter-modal.open {
  display: flex;
}

.filter-card {
  width: min(420px, 92%);
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15,23,42,0.2);
  padding: 20px;
  animation: modalIn .25s ease;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.filter-head h3 {
  font-size: 20px;
}

.filter-close {
  background: #f1f6fb;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
}

.filter-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
  margin: 12px 0 18px;
}

.filter-actions {
  display: flex;
  gap: 10px;
}

.filter-actions button {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.filter-actions .apply {
  background: var(--brand);
  color: #fff;
}

.filter-actions .reset {
  background: #f1f6fb;
  color: var(--ink-700);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .service-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-card img {
    width: 100%;
    height: auto;
  }
  .quote-btn {
    width: 100%;
    text-align: center;
  }
  .urgent-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .urgent-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
