/*
  Abdal Systems - site theme: "Quiet navy".
  Loaded last on every page, so it decides the final look.
  Calm and flat: navy and white, gold only as a thin line,
  square corners, no glow, no shadows, no pill shapes.
  To change the look of the whole site later, change this one file.
  File location: main folder, theme.css
*/

:root {
  --blue: #0f2236;        /* buttons and links are navy now */
  --blue-dark: #1b3350;
  --light-blue: #f2f4f6;
  --shadow: none;
  --text: #1c2430;
  --muted: #5d6673;
}

/* ---------- headers: navy everywhere ---------- */
.site-header {
  background: #0f2236 !important;
  border-bottom: 3px solid #d99a2b !important;
  backdrop-filter: none !important;
}

.site-header .brand,
.site-header .back-link,
.site-header .nav-links a,
.site-header .mobile-sign-in {
  color: #ffffff !important;
}

.site-header .nav-links a {
  opacity: 0.85;
}

.site-header .nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* The logo on navy: white A with a navy cut-out. */
.site-header .brand-mark path:first-child { fill: #ffffff; }
.site-header .brand-mark path:nth-child(2) { fill: #0f2236; }

.portal-header,
.app-header,
.header {
  border-bottom: 3px solid #d99a2b;
}

/* ---------- buttons: square, navy, no shadow ---------- */
.button,
button.button,
.offer-button,
.portal-button,
.submit-button {
  border-radius: 3px !important;
  box-shadow: none !important;
  transform: none !important;
}

.button-primary,
.offer-button,
.portal-button {
  color: #ffffff !important;
  background: #0f2236 !important;
  border: 1px solid #0f2236 !important;
}

.button-primary:hover,
.offer-button:hover,
.portal-button:hover {
  background: #1b3350 !important;
}

.button-secondary {
  color: #0f2236 !important;
  background: #ffffff !important;
  border: 1px solid #0f2236 !important;
}

.button-secondary:hover {
  background: #f2f4f6 !important;
}

/* On a navy header, the main button is a white outline. */
.site-header .button-primary,
.portal-header .button-primary,
.app-header .button-primary,
.header .button-primary {
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}

.site-header .button-primary:hover,
.portal-header .button-primary:hover,
.app-header .button-primary:hover,
.header .button-primary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* ---------- small labels: plain capitals, no pill ---------- */
.eyebrow,
.offer-eyebrow,
.win-eyebrow {
  padding: 0 !important;
  color: #5d6673 !important;
  background: none !important;
  border-radius: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

/* Status labels stay colored (they carry meaning) but become small rectangles. */
.status-badge,
.due-badge,
.inv-badge,
.sys-badge,
.badge,
.effect,
.business-option,
.toc a {
  border-radius: 3px !important;
}

/* ---------- homepage hero: plain, no glow ---------- */
.hero {
  background: #ffffff !important;
}

.hero h1,
#hero-title {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
}

.business-option[aria-pressed="true"] {
  color: #ffffff !important;
  background: #0f2236 !important;
  border-color: #0f2236 !important;
}

/* Check marks: a simple navy check, no gold circle. */
.check {
  width: auto !important;
  height: auto !important;
  color: #d99a2b !important;
  background: none !important;
  border-radius: 0 !important;
}

.solution-card h2,
.solution-card p,
.solution-list li {
  color: #ffffff;
}

/* ---------- cards and panels: flat, small corners ---------- */
.solution-card,
.ownership-panel {
  background: #0f2236 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

.solution-list li,
.service-card,
.process-step,
.section-card,
.card,
.about-text,
.offer-card,
.win-card,
.contact-box,
.summary,
.platform-note,
.cta form,
.lead-form,
.result {
  border-radius: 4px !important;
  box-shadow: none !important;
}

.about-text,
.win-card {
  border-left-width: 3px !important;
  border-radius: 0 4px 4px 0 !important;
}

.offer-card {
  border-top-width: 3px !important;
}

input,
select,
textarea {
  border-radius: 3px !important;
}

/* ---------- serif headings (Georgia), like a professional firm ---------- */
h1, h2, h3,
.offer-name,
.win-number,
.solution-card h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  letter-spacing: 0 !important;
}

h1,
.offer-name {
  font-weight: 400 !important;
}

h2, h3 {
  font-weight: 700 !important;
}

/* The business name in the logo stays Arial bold, as in the logo files. */
.brand, .brand span {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Offer card check marks: plain, like the rest of the site. */
.offer-includes li::before {
  color: #d99a2b !important;
  background: none !important;
  border-radius: 0 !important;
}
