:root {
  color-scheme: light;
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-2: #eef8f6;
  --surface-3: #fff7ed;
  --ink: #132330;
  --muted: #60707d;
  --line: #d8e7e7;
  --brand: #087f8c;
  --brand-dark: #075867;
  --brand-soft: #dff5f2;
  --accent: #f9734b;
  --accent-2: #f5b84b;
  --success: #14966f;
  --danger: #c24848;
  --shadow: 0 18px 45px rgba(7, 88, 103, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 184, 75, 0.18), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(8, 127, 140, 0.16), transparent 32%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(8, 127, 140, 0.22);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.drawer-nav a,
.account-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 650;
}

.desktop-nav a {
  padding: 10px 13px;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.drawer-nav a:hover,
.drawer-nav a.active,
.account-nav a:hover,
.account-nav a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

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

.header-phones {
  display: grid;
  grid-template-columns: 34px auto;
  column-gap: 9px;
  row-gap: 1px;
  align-items: center;
  padding: 7px 11px 7px 8px;
  border: 1px solid rgba(8, 127, 140, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(223, 245, 242, 0.86)),
    #fff;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.15;
  box-shadow: 0 12px 26px rgba(8, 127, 140, 0.12);
}

.header-phones::before {
  grid-row: 1 / 4;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E") center / 18px 18px no-repeat,
    linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 20px rgba(249, 115, 75, 0.2);
  content: "";
}

.header-phones::after {
  grid-column: 2;
  color: var(--accent);
  content: "Call us";
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-phones a {
  grid-column: 2;
  white-space: nowrap;
}

.header-phones a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), #0aa4a6);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 127, 140, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: 0 14px 28px rgba(8, 127, 140, 0.28);
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--surface);
  border-color: rgba(8, 127, 140, 0.22);
  color: var(--brand-dark);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--brand-soft);
}

.icon-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.icon-lines,
.icon-lines::before,
.icon-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: currentColor;
  content: "";
}

.icon-lines::before {
  transform: translateY(-7px);
}

.icon-lines::after {
  transform: translateY(5px);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: none;
  background: rgba(12, 23, 32, 0.42);
}

.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 200;
  width: min(86vw, 330px);
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(-104%);
  transition: transform 220ms ease;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.drawer-nav {
  display: grid;
  gap: 8px;
}

.drawer-nav a {
  padding: 13px 12px;
}

.close-menu {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 76px);
  padding: 54px 0 42px;
}

.hero h1 {
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 690px;
  font-size: 3.8rem;
  letter-spacing: 0;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.18rem;
}

.lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-media {
  overflow: hidden;
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dff5f2, #fff7ed);
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fcfb);
}

.stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.search-band {
  padding: 24px 0 50px;
}

.search-band-top {
  padding-top: 24px;
  padding-bottom: 26px;
}

.tender-search-box {
  display: grid;
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.92)),
    linear-gradient(135deg, var(--brand-soft), var(--surface-3));
  box-shadow: 0 18px 42px rgba(7, 88, 103, 0.14);
}

.tender-search-box::before {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--accent-2));
  content: "";
}

.tender-search-box-compact {
  gap: 14px;
  padding: 20px 24px;
}

.tender-search-box-compact::before {
  width: 48px;
}

.tender-search-box-compact .search-copy {
  gap: 2px;
}

.tender-search-box-compact h2 {
  font-size: 1.45rem;
}

.tender-search-box-compact .tender-search-form {
  gap: 0;
}

.search-copy {
  display: grid;
  gap: 8px;
}

.ai-search-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ai-search-topline .eyebrow {
  margin: 0;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.search-copy p {
  margin: 0;
  color: var(--muted);
}

.tender-search-form {
  display: grid;
  gap: 16px;
}

.search-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 18px 45px rgba(8, 127, 140, 0.12);
}

.search-spark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: 0.83rem;
  font-weight: 900;
}

.search-input-wrap input {
  min-width: 0;
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 1.06rem;
  outline: none;
}

.search-input-wrap input::placeholder {
  color: #84939d;
}

.search-btn {
  min-width: 132px;
  min-height: 54px;
}

.keyword-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.9rem;
}

.keyword-suggestions span {
  font-weight: 800;
}

.keyword-chip {
  min-height: 34px;
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-dark);
  padding: 6px 12px;
  font-weight: 760;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.keyword-chip:hover,
.keyword-chip:focus {
  border-color: rgba(249, 115, 75, 0.48);
  background: #fff0df;
  color: #9a431c;
  transform: translateY(-1px);
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.search-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.search-filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(8, 127, 140, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.search-filters select:focus,
.search-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(8, 127, 140, 0.12);
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: linear-gradient(180deg, #ffffff 0%, #f0faf8 100%);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid rgba(8, 127, 140, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(19, 35, 48, 0.06);
}

.card p {
  color: var(--muted);
}

.feature-highlight {
  background:
    radial-gradient(circle at 14% 18%, rgba(249, 115, 75, 0.13), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(8, 127, 140, 0.16), transparent 30%),
    #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffd 100%);
  box-shadow: 0 16px 36px rgba(7, 88, 103, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
  border-color: rgba(249, 115, 75, 0.4);
  box-shadow: 0 22px 48px rgba(7, 88, 103, 0.16);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 14px 28px rgba(8, 127, 140, 0.22);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3 {
  color: var(--brand-dark);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.browse-tender-section {
  padding-bottom: 34px;
}

.browse-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.browse-card {
  display: grid;
  gap: 13px;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffd 100%);
  box-shadow: 0 16px 36px rgba(7, 88, 103, 0.1);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.browse-card:hover {
  border-color: rgba(249, 115, 75, 0.44);
  box-shadow: 0 22px 48px rgba(7, 88, 103, 0.16);
  transform: translateY(-3px);
}

.browse-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}

.browse-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.browse-card h3 {
  color: var(--brand-dark);
}

.browse-card p {
  margin: 0;
  color: var(--muted);
}

.category-link-grid,
.date-browse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-link-card,
.date-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 88, 103, 0.09);
}

.category-link-card strong,
.date-card strong {
  color: var(--brand-dark);
  font-size: 1.08rem;
}

.category-link-card span,
.date-card span {
  color: var(--muted);
}

.pricing-card {
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(249, 115, 75, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: 0 22px 48px rgba(249, 115, 75, 0.18);
}

.alert-pricing-grid {
  align-items: stretch;
}

.trial-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0faf8 100%);
}

.plan-note {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.pricing-feature-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.ai-pricing-callout {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(249, 115, 75, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(223, 245, 242, 0.96)),
    #fff;
  box-shadow: 0 22px 48px rgba(249, 115, 75, 0.16);
}

.ai-pricing-callout p {
  margin: 0;
  color: var(--muted);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.included-grid span {
  display: grid;
  min-height: 56px;
  align-items: center;
  border: 1px solid rgba(8, 127, 140, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  padding: 12px 14px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(7, 88, 103, 0.08);
}

.package-category {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--brand-dark);
}

.price strong {
  font-size: 2.4rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
}

.feature-list li::before {
  color: var(--accent);
  content: "+";
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid rgba(8, 127, 140, 0.14);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.tender-list {
  display: grid;
  gap: 14px;
}

.tender-results-section {
  padding-top: 20px;
}

.search-results-head {
  margin-bottom: 10px;
}

.search-results-head .eyebrow {
  margin-bottom: 6px;
}

.search-results-head h1 {
  max-width: 100%;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.tender-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(7, 88, 103, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tender-item:hover {
  border-color: rgba(8, 127, 140, 0.28);
  box-shadow: 0 14px 30px rgba(7, 88, 103, 0.13);
  transform: translateY(-1px);
}

.tender-result-content {
  min-width: 0;
}

.tender-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.tender-result-title {
  color: var(--brand-dark);
  font-size: 1.22rem;
  line-height: 1.32;
}

.tender-result-title mark {
  color: inherit;
}

.tender-result-url {
  margin: 5px 0 7px;
  color: var(--success);
  font-size: 0.88rem;
}

.tender-result-snippet {
  display: -webkit-box;
  max-width: 900px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

mark {
  border-radius: 3px;
  background: #fff0ae;
  color: inherit;
  padding: 0 1px;
}

.tender-result-action {
  white-space: nowrap;
}

.tender-detail-section {
  padding-top: 44px;
}

.tender-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: 26px;
}

.tender-detail-card,
.tender-access-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 88, 103, 0.08);
}

.tender-detail-card {
  overflow: hidden;
}

.tender-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.tender-detail-meta div {
  padding: 18px 20px;
  background: #f8fcfc;
}

.tender-detail-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tender-detail-meta strong {
  color: var(--ink);
  line-height: 1.4;
}

.tender-raw-text {
  padding: 26px;
}

.tender-raw-text h2,
.tender-access-card h2 {
  margin-top: 0;
  color: var(--brand-dark);
}

.tender-raw-text p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
  white-space: normal;
}

.tender-access-card {
  padding: 22px;
}

.tender-access-card > p {
  color: var(--muted);
  line-height: 1.6;
}

.tender-image-preview {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  background: #e7f0f0;
}

.tender-image-preview img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: blur(9px);
  transform: scale(1.06);
}

.tender-image-placeholder {
  display: grid;
  min-height: 245px;
  place-items: center;
  color: #47656a;
  filter: blur(5px);
  font-weight: 800;
}

.tender-image-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 49, 58, 0.26);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.tender-image-lock span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(5, 49, 58, 0.55);
}

.tender-login-link {
  width: 100%;
}

@media (max-width: 760px) {
  .tender-detail-grid {
    grid-template-columns: 1fr;
  }

  .tender-detail-meta {
    grid-template-columns: 1fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff0df;
  color: #9a431c;
  font-size: 0.8rem;
  font-weight: 800;
}

.page-hero {
  padding: 72px 0 52px;
  background:
    linear-gradient(135deg, rgba(223, 245, 242, 0.95), rgba(255, 247, 237, 0.95)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-weight: 750;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #cfe2e2;
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(8, 127, 140, 0.14);
}

.auth-wrap {
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
  padding: 44px 0;
}

.auth-card {
  width: min(100%, 480px);
  border: 1px solid rgba(8, 127, 140, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 251, 0.96)),
    var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
}

.auth-card .lead {
  margin-top: 10px;
  font-size: 1rem;
}

.field small,
.field-optional {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-footer a,
.text-link {
  color: var(--accent);
  font-weight: 750;
}

.account-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  padding: 34px 0 70px;
}

.account-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  border: 1px solid rgba(8, 127, 140, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
}

.account-nav {
  display: grid;
  gap: 6px;
}

.account-nav a {
  padding: 12px;
}

.account-main {
  display: grid;
  gap: 18px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(8, 127, 140, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.mobile-account-toggle {
  display: none;
  margin: 22px 0 0;
}

.site-footer {
  padding: 42px 0 20px;
  background: linear-gradient(135deg, #132330, #075867);
  color: rgba(255, 255, 255, 0.78);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
}

.footer-about {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.footer-brand {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 850;
}

.footer-about p {
  margin: 8px 0 4px;
}

.footer-about a:not(.footer-brand),
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-about a:hover,
.footer-nav a:hover {
  color: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 7px 28px;
  align-content: start;
}

.footer-nav h2 {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  display: none;
  max-width: min(92vw, 360px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 13px 15px;
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .desktop-nav,
  .nav-actions .secondary {
    display: none;
  }

  .header-phones {
    grid-template-columns: 30px auto;
    font-size: 0.78rem;
  }

  .header-phones::before {
    width: 30px;
    height: 30px;
  }

  .icon-btn {
    display: grid;
    place-items: center;
  }

  .hero,
  .content-grid,
  .contact-grid,
  .pricing-feature-wrap,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .grid-3,
  .feature-grid,
  .browse-card-grid,
  .category-link-grid,
  .date-browse-grid,
  .pricing-grid,
  .included-grid,
  .search-filters,
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .account-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 210;
    width: min(86vw, 300px);
    border-radius: 0;
    transform: translateX(-104%);
    transition: transform 220ms ease;
  }

  .account-sidebar.open {
    transform: translateX(0);
  }

  .mobile-account-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand span:last-child {
    max-width: 148px;
  }

  .header-phones {
    grid-template-columns: 28px auto;
    column-gap: 7px;
    padding: 5px 7px 5px 6px;
    font-size: 0.68rem;
  }

  .header-phones::before {
    width: 28px;
    height: 28px;
    background-size: 15px 15px, auto;
  }

  .header-phones::after {
    font-size: 0.58rem;
  }

  .nav-actions .btn:not(.secondary) {
    display: none;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions,
  .section-head,
  .footer-shell,
  .footer-bottom,
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .grid-3,
  .feature-grid,
  .browse-card-grid,
  .category-link-grid,
  .date-browse-grid,
  .pricing-grid,
  .included-grid,
  .search-filters,
  .dashboard-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .tender-search-box {
    padding: 20px;
  }

  .search-input-wrap {
    grid-template-columns: 1fr;
  }

  .search-spark {
    width: 100%;
  }

  .search-btn {
    width: 100%;
  }

  .tender-item {
    grid-template-columns: 1fr;
  }

  .tender-item {
    gap: 14px;
    padding: 16px;
  }

  .tender-result-title {
    font-size: 1.08rem;
  }

  .tender-result-meta {
    gap: 6px 9px;
    font-size: 0.8rem;
  }

  .tender-result-action {
    width: 100%;
  }

  .auth-card {
    padding: 22px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .nav-shell {
    gap: 8px;
  }

  .header-phones {
    display: none;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand span:last-child {
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    flex: 0 0 auto;
  }
}

/* Monochrome light theme */
:root {
  --bg: #ffffff;
  --surface: #dedede;
  --surface-2: #d4d4d4;
  --surface-3: #c9c9c9;
  --ink: #000000;
  --muted: #000000;
  --line: #cfcfcf;
  --brand: #000000;
  --brand-dark: #000000;
  --brand-soft: #e5e5e5;
  --accent: #000000;
  --accent-2: #000000;
  --success: #000000;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

body,
.section.alt,
.feature-highlight,
.page-hero {
  background: #ffffff;
  color: #000000;
}

.site-header {
  background: var(--surface);
  border-color: var(--line);
}

.site-header,
.drawer,
.site-footer,
.header-phones,
.tender-search-box,
.search-input-wrap,
.card,
.feature-card,
.browse-card,
.category-link-card,
.date-card,
.tender-item,
.faq-list details,
.auth-card,
.account-sidebar,
.table-wrap,
.hero-media,
.stat,
.included-grid span,
.plan-note,
.ai-pricing-callout {
  --ink: #000000;
  --muted: #000000;
  --line: #cfcfcf;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.drawer-nav a:hover,
.drawer-nav a.active,
.account-nav a:hover,
.account-nav a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.header-phones,
.tender-search-box,
.search-input-wrap,
.search-filters select,
.card,
.feature-card,
.browse-card,
.category-link-card,
.date-card,
.tender-item,
.faq-list details,
.auth-card,
.account-sidebar,
.table-wrap {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media,
.stat,
.included-grid span,
.plan-note,
.ai-pricing-callout {
  border-color: var(--line);
  background: var(--surface-2);
}

.search-spark,
.brand-mark,
.feature-icon,
.browse-icon,
.btn {
  background: #000000;
  color: #ffffff;
  box-shadow: none;
}

.btn:hover {
  background: #222222;
  box-shadow: none;
}

.btn.secondary,
.keyword-chip,
.ai-badge,
.close-menu,
.icon-btn {
  border-color: var(--line);
  background: #000000;
  color: #ffffff;
}

.btn.secondary {
  color: #ffffff;
}

.search-input-wrap input,
.field input,
.field textarea,
.field select {
  background: transparent;
  color: var(--ink);
}

.search-input-wrap input::placeholder {
  color: #8fa1b7;
}

.keyword-chip:hover,
.keyword-chip:focus {
  border-color: var(--accent);
  background: #3b2a10;
  color: #fde68a;
}

.feature-highlight,
.page-hero,
.section.alt {
  border-color: var(--line);
}

.page-hero {
  background: #ffffff;
}

.feature-card h3,
.browse-card h3,
.category-link-card strong,
.date-card strong,
.tender-result-title,
.footer-brand {
  color: var(--ink);
}

.tender-search-box h1,
.tender-search-box h2,
.tender-search-box h3,
.card h1,
.card h2,
.card h3,
.feature-card h1,
.feature-card h2,
.feature-card h3,
.browse-card h1,
.browse-card h2,
.browse-card h3,
.category-link-card h1,
.category-link-card h2,
.category-link-card h3,
.date-card h1,
.date-card h2,
.date-card h3,
.tender-item h1,
.tender-item h2,
.tender-item h3,
.faq-list details h1,
.faq-list details h2,
.faq-list details h3,
.auth-card h1,
.auth-card h2,
.auth-card h3,
.account-sidebar h1,
.account-sidebar h2,
.account-sidebar h3 {
  color: #000000;
}

.badge {
  background: var(--surface-2);
  color: #000000;
}

mark {
  background: var(--surface-3);
  color: #000000;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

/* Keep all text neutral, while retaining accessible contrast on controls. */
body * {
  color: #000000;
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
.search-btn,
.close-menu,
.icon-btn {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

button *,
.btn *,
.search-btn *,
.close-menu *,
.icon-btn * {
  color: #ffffff;
}

/* Footer navigation remains readable against the light-grey footer. */
.footer-nav h2,
.footer-nav a,
.footer-about,
.footer-about p,
.footer-about a:not(.footer-brand),
.footer-brand,
.footer-bottom {
  color: #000000;
}

/* Feature icons are intentionally plain black blocks. */
.feature-icon svg {
  display: none;
}

/* Keep navigation hover states and the AI search field on a white surface. */
.desktop-nav a:hover,
.drawer-nav a:hover,
.account-nav a:hover,
.search-input-wrap,
.search-input-wrap input {
  background: #fff;
}

/* Modern portal design system: these rules intentionally supersede the old
   monochrome theme above while preserving the existing component structure. */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f0fdfa;
  --surface-3: #fffbeb;
  --ink: #172033;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --success: #15803d;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius: 12px;
}

body,
.section.alt,
.feature-highlight,
.page-hero {
  background: var(--bg);
  color: var(--ink);
}

body * { color: inherit; }

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

.nav-shell { min-height: 68px; }

.desktop-nav a,
.drawer-nav a,
.account-nav a { color: var(--muted); }

.desktop-nav a:hover,
.drawer-nav a:hover,
.account-nav a:hover {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px var(--line);
}

.desktop-nav a.active,
.drawer-nav a.active,
.account-nav a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn,
.search-btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: none;
}

.btn:hover,
.search-btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn.secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--brand-dark);
}

.btn.secondary:hover { background: var(--surface-2); }

.search-band-top { padding-block: 20px 28px; }

.tender-search-box {
  padding: 28px;
  border-color: var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f0fdfa);
  box-shadow: var(--shadow);
}

.search-input-wrap,
.search-input-wrap input {
  background: #ffffff;
  color: var(--ink);
}

.search-input-wrap {
  border-color: #cbd5e1;
  border-radius: 12px;
  box-shadow: none;
}

.search-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.search-spark,
.brand-mark,
.feature-icon,
.browse-icon {
  background: var(--brand);
  color: #ffffff;
  box-shadow: none;
}

.section { padding-block: 72px; }

.section.alt,
.feature-highlight { background: #ffffff; }

.card,
.feature-card,
.browse-card,
.category-link-card,
.date-card,
.tender-item,
.faq-list details,
.auth-card,
.account-sidebar,
.table-wrap {
  border-color: var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.card,
.feature-card { padding: 28px; }

.feature-grid { gap: 20px; }

.feature-card {
  min-height: 250px;
  border-top: 3px solid var(--brand);
}

.feature-card:hover,
.browse-card:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.feature-icon svg { display: block; }

.feature-card h3,
.browse-card h3,
.category-link-card strong,
.date-card strong { color: var(--ink); }

.feature-card p,
.card p,
.browse-card p,
.section-head p,
.category-link-card span,
.date-card span { color: var(--muted); }

.hero-media,
.stat,
.included-grid span,
.plan-note,
.ai-pricing-callout {
  border-color: var(--line);
  background: #ffffff;
}

.stat strong { color: var(--brand-dark); }

.badge {
  background: var(--surface-3);
  color: #92400e;
}

.keyword-chip,
.ai-badge,
.close-menu,
.icon-btn {
  border-color: var(--line);
  background: #ffffff;
  color: var(--brand-dark);
}

.keyword-chip:hover,
.keyword-chip:focus {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.footer-bottom a {
  color: var(--brand-dark);
  font-weight: 700;
}

.footer-bottom a:hover { color: var(--brand); }

/* Dark footer provides contrast for the white navigation hover state. */
.site-footer {
  background: #ccc;
  border-top-color: #999;
  color: rgba(0, 0, 0, 0.76);
}

.footer-brand,
.footer-nav h2 { color: #000; }

.footer-about,
.footer-about p,
.footer-about a:not(.footer-brand),
.footer-nav a,
.footer-bottom { color: rgba(0, 0, 0, 0.76); }

.footer-about a:hover,
.footer-nav a:hover,
.footer-bottom a,
.footer-bottom a:hover { color: #000; }
