:root {
  --brand:        #FF7600;
  --brand-dark:   #D96400;
  --brand-light:  #FFF3E6;
  --navy:         #002D5A;
  --navy-mid:     #1A4A7A;
  --navy-light:   #1a6fbd;
  --text-primary: #1A1A1A;
  --text-sec:     #4B5563;
  --text-muted:   #9CA3AF;
  --surface:      #FFFFFF;
  --surface-soft: #F8F6F2;
  --surface-warm: #FDFAF6;
  --border:       #E5E7EB;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface-warm);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════
   UTILITY BAR (Row 1)
   ═══════════════════ */
.util-bar { background: var(--brand); border-bottom: 1px solid rgba(0,0,0,0.08); }
.util-bar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: flex-end;
  height: 36px;
}
.util-bar a {
  color: #fff; font-size: 12.5px; font-weight: 500;
  text-decoration: none; padding: 0 12px; line-height: 36px;
  border-right: 1px solid rgba(255,255,255,0.25);
  transition: background 0.15s; white-space: nowrap;
}
.util-bar a:first-child { border-left: 1px solid rgba(255,255,255,0.25); }
.util-bar a:hover { background: rgba(0,0,0,0.12); }
.util-bar a.demo-link { font-weight: 700; background: rgba(0,0,0,0.15); }
.util-bar a.demo-link:hover { background: rgba(0,0,0,0.25); }

/* ═══════════════════
   MAIN HEADER (Row 2)
   ═══════════════════ */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
  border-bottom: 3px solid var(--brand);
}
.header-row {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: stretch; height: 64px;
}
.logo-wrap { display: flex; align-items: center; margin-right: 28px; flex-shrink: 0; }
.logo-wrap img { height: 44px; width: auto; display: block; }
.header-nav { display: flex; align-items: stretch; flex: 1; justify-content: flex-end; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.82); font-size: 13.5px;
  text-decoration: none; padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: all 0.15s; white-space: nowrap; position: relative;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--brand); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--brand);
}
.nav-chevron { font-size: 9px; opacity: 0.55; margin-top: 1px; }
.nav-cta {
  background: var(--brand); color: #fff !important;
  font-weight: 700 !important; font-size: 13px !important;
  padding: 0 20px !important; border-right: none !important;
  border-left: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; }

/* ═══════════════
   BREADCRUMB
   ═══════════════ */
.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  margin-top: 110px;
}
.breadcrumb-inner {
  max-width: 1280px; margin: 0 auto; padding: 10px 24px;
  font-size: 13px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.breadcrumb-inner a { color: var(--brand); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }

/* ═══════════════════════════════
   PAGE OUTER & GRID (2 columns)
   ═══════════════════════════════ */
.page-outer { max-width: 1280px; margin: 28px auto 48px; padding: 0 24px; }
.page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* ═══════════════════════════════
   LEFT COLUMN — TENDER NOTICE
   ═══════════════════════════════ */
.tender-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Card header bar */
.tender-card-header {
  background: var(--navy);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.tender-card-header h1 {
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  color: #fff; letter-spacing: 0.3px;
}
.notice-type-badge {
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  letter-spacing: 0.4px; white-space: nowrap; flex-shrink: 0;
}

/* Field rows */
.field-list { padding: 0; }
.field-row {
  display: grid;
  grid-template-columns: 195px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.field-row:last-child { border-bottom: none; }
.field-row:hover { background: var(--surface-soft); }
.field-label {
  padding: 11px 24px 11px 20px;
  font-size: 12.5px; font-weight: 700;
  color: var(--text-sec);
  display: flex; align-items: flex-start;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.015);
  line-height: 1.4;
}
.field-value {
  padding: 11px 20px 11px 18px;
  font-size: 13.5px; color: var(--text-primary);
  line-height: 1.5;
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px;
}

/* Deadline urgency pill */
.deadline-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: #FEF2F2; border: 1px solid #FECACA;
  color: #B91C1C; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
.deadline-days {
  display: inline-flex; align-items: center;
  background: #FFF7ED; border: 1px solid #FED7AA;
  color: var(--brand-dark); font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 20px; margin-left: 6px;
}

/* Sector / CPV tags */
.sector-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: var(--brand-light); color: var(--brand-dark);
  border: 1px solid rgba(255,118,0,0.2);
  padding: 3px 10px; border-radius: 20px;
}
.cpv-tag {
  display: inline-block; font-size: 11.5px;
  background: var(--surface-soft); color: var(--text-sec);
  border: 1px solid var(--border);
  padding: 2px 9px; border-radius: 14px;
  margin: 1px 2px 1px 0;
}

/* Estimated cost */
.cost-val {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--navy);
}

/* Locked field link */
.locked-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--brand); text-decoration: none; font-size: 13px; font-weight: 600;
  transition: color 0.15s;
}
.locked-link::after { content: ' →'; font-size: 12px; }
.locked-link:hover { color: var(--brand-dark); text-decoration: underline; }
.lock-chip {
  font-size: 10px; background: var(--brand-light);
  border: 1px solid rgba(255,118,0,0.2);
  color: var(--brand-dark); padding: 1px 7px; border-radius: 10px;
  font-weight: 600; flex-shrink: 0;
}

/* CTA bar inside card */
.tender-card-cta {
  padding: 14px 20px; background: var(--surface-soft);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.btn-unlock {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: #fff;
  padding: 9px 20px; border-radius: var(--radius-md);
  text-decoration: none; font-size: 13px; font-weight: 700;
  transition: all 0.2s; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255,118,0,0.25);
}
.btn-unlock:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255,118,0,0.35);
}
.cta-note { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.cta-note strong { color: var(--text-sec); }

/* ═══════════════════════════════
   BENEFITS STRIP (below left card)
   ═══════════════════════════════ */
.benefits-strip {
  background: linear-gradient(155deg, #1A4A7A 0%, #002D5A 60%, #001830 100%);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-top: 18px;
  position: relative; overflow: hidden;
}
.benefits-strip::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,118,0,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.benefits-heading {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: #fff; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.benefits-heading em { color: var(--brand); font-style: italic; }
.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 20px; position: relative; z-index: 1;
}
.benefit-item {
  display: flex; align-items: flex-start; gap: 8px;
}
.bcheck {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,118,0,0.18);
  border: 1.5px solid rgba(255,118,0,0.45);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 9px; color: var(--brand);
  font-weight: 800; margin-top: 2px;
}
.btext { font-size: 12.5px; color: rgba(255,255,255,0.72); line-height: 1.35; }

/* ═══════════════════════════════
   RIGHT COLUMN — REGISTER PANEL
   ═══════════════════════════════ */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: sticky; top: 76px; /* sticky below nav */
}
.form-panel-header {
  background: var(--brand);
  padding: 18px 22px;
  text-align: center;
}
.form-panel-header h2 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  color: #fff; line-height: 1.25; margin-bottom: 5px;
}
.form-panel-header p {
  font-size: 12.5px; color: rgba(255,255,255,0.88); line-height: 1.4;
}
.form-panel-body { padding: 18px 20px 16px; }

/* Form fields */
.fp-group { margin-bottom: 11px; }
.fp-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-sec); margin-bottom: 3px; letter-spacing: 0.15px;
}
.fp-label .req { color: var(--brand); margin-left: 1px; }
.fp-input {
  width: 100%; padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-primary); background: var(--surface-soft);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none; -webkit-appearance: none;
}
.fp-input:focus {
  border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,118,0,0.1);
}
.fp-input::placeholder { color: var(--text-muted); }
.fp-select {
  width: 100%; padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-primary); background: var(--surface-soft);
  cursor: pointer; outline: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fp-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,118,0,0.1);
}
.phone-wrap { display: flex; gap: 6px; }
.phone-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .phone-wrap .form-input:not(.ph-in) {
    height: 42px;
  }
  /* Fine‑tune intl-tel-input flag/dial spacing */
  #iti-0__dropdown-content{width: 40vh !important; left: -22px}
  .ph-in{width: 15% !important;background: none !important;border: none !important;padding-left: 78px !important;}
  #iti-0__search-input{padding-left: 30px !important}
  .phone-wrap .iti__flag-container { padding: 0 8px; }
  .phone-wrap .iti__selected-flag { height: 100%; display: flex; align-items: center; }
  .phone-wrap .iti__selected-dial-code { font-weight: 600; }

  @media (max-width: 480px) {
    .phone-wrap { gap: 6px; }
  }
.phone-code {
  width: 15%; flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
  padding: 0px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  font-size: 12px; color: var(--text-sec); cursor: pointer;
}
.phone-code {
  flex: 0 0 96px;
}
.phone-code .iti { width: 100%; }
.phone-code .form-input {
  height: 42px;
  padding: 10px 10px 10px 44px; /* room for flag */
  box-sizing: border-box;
  background: #f9fafb;
  cursor: default;
}
.phone-code .form-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px #d0d7de inset;
}
.phone-flag { font-size: 16px; line-height: 1; }
.phone-dial { font-weight: 600; color: var(--text-primary); }

.btn-submit {
  width: 100%; padding: 11px;
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 4px;
}
.btn-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,118,0,0.35);
}
.btn-submit:active { transform: translateY(0); }

.form-panel-footer {
  padding: 11px 20px; background: var(--surface-soft);
  border-top: 1px solid var(--border); text-align: center;
}
.form-panel-footer p { font-size: 12px; color: var(--text-muted); }
.form-panel-footer a { color: var(--brand); text-decoration: none; font-weight: 600; }
.form-panel-footer a:hover { text-decoration: underline; }
.form-legal { font-size: 11px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.form-legal a { color: var(--navy-mid); }

/* ═══════════
   FOOTER
   ═══════════ */
.site-footer { background: var(--navy); padding: 22px 0; margin-top: 8px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.5); font-size: 13px;
  text-decoration: none; padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: color 0.15s;
}
.footer-links a:first-child { padding-left: 0; }
.footer-links a:last-child { border-right: none; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 12px;
  text-decoration: none; transition: all 0.15s;
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ═══════════════
   FLOATING CTAs
   ═══════════════ */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 28px;
  text-decoration: none; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); transition: all 0.2s;
}
.float-btn-brand { background: var(--brand); color: #fff; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.28); }
.float-btn-wa { background: #25D366; color: #fff; }
.float-btn-demo { background: var(--brand); color: #fff; }

/* ═══════════════
   RESPONSIVE
   ═══════════════ */
@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; }
  .form-panel { position: static; }
  .benefits-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 160px 1fr; }
}
@media (max-width: 600px) {
  .page-outer { padding: 0 12px; margin: 16px auto 36px; }
  .field-row { grid-template-columns: 1fr; }
  .field-label { border-right: none; border-bottom: 1px solid var(--border); padding: 8px 14px 4px; }
  .field-value { padding: 6px 14px 10px; }
  .tender-card-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .header-nav .nav-link:not(.nav-cta):not(.active) { display: none; }
  .float-cta { bottom: 14px; right: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { flex-direction: column; gap: 6px; }
  .footer-links a { padding: 2px 0; border-right: none; }
}