/* =========================================================
   QMA GENERAL MANAGING LTD — Site Stylesheet
   Theme: Charcoal & Orange
   ========================================================= */

:root {
  --charcoal: #1e2024;
  --charcoal-soft: #2a2d33;
  --charcoal-softer: #383c44;
  --orange: #ed6c02;
  --orange-dark: #c45800;
  --orange-light: #ff8a33;
  --cream: #f6f4f1;
  --off-white: #fbfaf8;
  --grey: #6b6f76;
  --grey-light: #9a9ea5;
  --border: #e6e3de;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(30, 32, 36, 0.10);
  --shadow-sm: 0 4px 14px rgba(30, 32, 36, 0.08);
  --radius: 10px;
  --radius-lg: 18px;
  --max-width: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section--tight {
  padding: 56px 0;
}

.section--dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: rgba(237, 108, 2, 0.10);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.section--dark .eyebrow {
  color: var(--orange-light);
  background: rgba(255, 138, 51, 0.14);
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; color: var(--grey); }
.section--dark p { color: #c7c9ce; }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(237, 108, 2, 0.30);
}
.btn--primary:hover { background: var(--orange-dark); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.10); border-color: var(--white); }

.btn--dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn--dark:hover { background: var(--charcoal-soft); }

.btn--outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn--outline:hover { background: var(--charcoal); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand img {
  height: 44px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--charcoal);
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background: rgba(237, 108, 2, 0.08);
  color: var(--orange-dark);
}

.main-nav a.active {
  color: var(--orange-dark);
  background: rgba(237, 108, 2, 0.10);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label span {
  width: 26px;
  height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 34px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 30% 30%, rgba(237,108,2,0.55), rgba(237,108,2,0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-inner {
  max-width: 660px;
}

.hero .eyebrow {
  color: var(--orange-light);
  background: rgba(255, 138, 51, 0.14);
}

.hero h1 { color: var(--white); }
.hero p.lead {
  font-size: 18px;
  color: #cfd1d5;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--orange-light);
}

.hero-stats .stat-label {
  font-size: 13px;
  color: #b7b9bf;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Page header (non-home pages) */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -60%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(237,108,2,0.45), rgba(237,108,2,0) 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb {
  font-size: 13px;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.page-hero p { color: #c7c9ce; max-width: 620px; margin-bottom: 0; }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(237, 108, 2, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
}
.icon-badge svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 15px; }

/* Service card with number */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(237,108,2,0.35);
}
.service-card .service-index {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 34px;
  font-weight: 800;
  color: var(--border);
}
.service-card .icon-badge { margin-bottom: 22px; }
.service-card ul.tick-list {
  margin-top: 14px;
}

.tick-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 8px;
}
.tick-list li svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--orange);
}

/* ---------- Split section (image-free graphic panel + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.graphic-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-soft) 60%, var(--orange-dark) 150%);
  min-height: 340px;
  padding: 40px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.graphic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
}
.graphic-panel .gp-content { position: relative; z-index: 2; }
.graphic-panel .gp-badge {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

/* ---------- Value / Feature list ---------- */
.feature-row {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}
.feature-row .icon-badge {
  margin-bottom: 0;
  flex: none;
}
.feature-row h4 { margin-bottom: 6px; font-size: 17px; }
.feature-row p { margin-bottom: 0; font-size: 15px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-strip .grid--4 {
  padding: 44px 0;
  text-align: center;
}
.stats-strip .stat-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--charcoal);
}
.stats-strip .stat-num span { color: var(--orange); }
.stats-strip .stat-label {
  font-size: 13px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- Timeline / Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.process-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--orange-light);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; margin-bottom: 0; }

/* ---------- Values grid (About page) ---------- */
.value-card {
  text-align: left;
}

/* ---------- Team-less "why choose us" checklist panel ---------- */
.check-panel {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.check-panel h3 { color: var(--white); }
.check-panel ul.tick-list li { color: #cfd1d5; }
.check-panel ul.tick-list li svg { color: var(--orange-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--charcoal) 0%, #24262b 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(237,108,2,0.5), transparent 70%);
}
.cta-band .cta-text { position: relative; z-index: 2; max-width: 520px; }
.cta-band .cta-text h2 { color: var(--white); margin-bottom: 8px; }
.cta-band .cta-text p { margin-bottom: 0; color: #c7c9ce; }
.cta-band .cta-actions { position: relative; z-index: 2; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-info-card h3 { color: var(--white); }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-item .icon-badge {
  background: rgba(255,138,51,0.16);
  color: var(--orange-light);
  margin-bottom: 0;
}
.contact-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  margin-bottom: 4px;
}
.contact-item .value {
  font-weight: 600;
  color: var(--white);
  word-break: break-word;
}
.contact-item .value a:hover { color: var(--orange-light); }

.map-placeholder {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  height: 180px;
  background:
    linear-gradient(rgba(30,32,36,0.55), rgba(30,32,36,0.75)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 22px),
    var(--charcoal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--grey-light);
  padding: 16px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--off-white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(237,108,2,0.15);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 13px;
  color: var(--grey-light);
  margin-top: 6px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #c7c9ce;
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 18px;
}
.footer-brand p {
  color: #a7aab0;
  font-size: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 14px;
  color: #a7aab0;
  transition: color 0.15s ease;
}
.footer-col ul li a:hover { color: var(--orange-light); }

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #a7aab0;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact li svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--orange-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: 13px;
  color: #8a8d94;
}

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

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle-label { display: flex; }
  .nav-cta { display: none; }

  .nav-toggle:checked ~ .main-nav {
    display: block;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .nav-toggle:checked ~ .main-nav a { display: block; padding: 12px 10px; }

  .grid--4 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 60px 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
