/* ========== GLOBAL ========== */
:root {
  --bg: #111317;
  --bg-soft: #1b1f27;
  --bg-softer: #252a33;
  --text: #ffffff;
  --muted: #b4bdc9;
  --accent: #facc15;
  --accent-soft: rgba(250, 204, 21, 0.12);
  --radius: 14px;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  background: radial-gradient(circle at top, #151823 0, #05070b 55%);
  color: var(--text);
  min-height: 100vh;
}

/* ========== TOP STRIP ========== */
.top-strip {
  height: 6px;
  background: linear-gradient(
    to right,
    #fbbf24 0%,
    #f97316 16%,
    #ec4899 32%,
    #6366f1 48%,
    #06b6d4 64%,
    #22c55e 80%,
    #eab308 100%
  );
}

/* ========== HEADER ========== */
header {
  background: #05070b;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: conic-gradient(
    from 140deg,
    #f97316,
    #facc15,
    #22c55e,
    #06b6d4,
    #6366f1,
    #ec4899,
    #f97316
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.7);
}

.brand-mark span {
  font-weight: 900;
  font-size: 20px;
  color: #020617;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 18px;
}

.brand-text span:last-child {
  font-size: 12px;
  color: var(--muted);
}

/* Right buttons same place as original icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions a {
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e5e7eb;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.18s ease-out;
}

.header-actions a.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.35);
}

.header-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.8);
}

.header-actions a.primary:hover {
  filter: brightness(1.04);
}

/* ========== LAYOUT ========== */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

/* ========== HERO (HOME) ========== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(40px, 4vw + 20px, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero h1 span.highlight {
  background: linear-gradient(120deg, #facc15, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}

.hero-sub {
  margin-top: 18px;
  font-size: 14px;
  color: #e5e7eb;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 14px;
}

.hero-cta a {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
}

.hero-cta .hero-main {
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 16px 35px rgba(250, 204, 21, 0.45);
}

.hero-cta .hero-sec {
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5f5;
}

/* Hero right side */
.hero-panel {
  background: radial-gradient(circle at top, #1f2937 0, #020617 70%);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
}

.hero-panel-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  font-size: 11px;
  color: #bbf7d0;
  margin-bottom: 14px;
}

.hero-metrics {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
}

.metric-value {
  font-size: 20px;
  font-weight: 700;
  margin-top: 4px;
}

/* ========== GENERIC SECTIONS ========== */
.section {
  margin-top: 70px;
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-header p {
  color: var(--muted);
  max-width: 540px;
  font-size: 14px;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-soft);
  border-radius: 18px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 20px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--muted);
}

/* “Project of Manchester Chamber” section */
.project-banner {
  margin-top: 60px;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 70%);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}

.project-banner h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.project-banner p {
  color: var(--muted);
  font-size: 14px;
  max-width: 650px;
}

.project-tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #facc15;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

/* ========== ABOUT & CONTACT PAGE SPECIALS ========== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
}

.badge-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-list span {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

/* Contact form */
form.contact-form {
  background: var(--bg-soft);
  border-radius: 18px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 20px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.contact-form label {
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 10px 11px;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 14px;
}

.contact-form button {
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
}

/* ========== AUTH PAGES ========== */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #111827 0, #020617 60%);
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 360px;
  padding: 30px 26px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid rgba(75, 85, 99, 0.9);
  box-shadow: var(--shadow-soft);
}

.auth-card h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

.auth-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.auth-card label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.auth-card input {
  width: 100%;
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 9px 11px;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 12px;
}

.auth-card button {
  width: 100%;
  border-radius: 999px;
  padding: 11px 18px;
  border: none;
  margin-top: 6px;
  font-size: 14px;
  background: linear-gradient(135deg, #facc15, #f97316);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
}

/* ========== FOOTER ========== */

footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
  padding: 18px 20px;
  color: #9ca3af;
  font-size: 12px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-actions a {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .main-wrap {
    padding-top: 30px;
  }
}
