/* ============================================================
   RM2 Shopfitters — Site Stylesheet
   Corporate / Architectural tone
   ============================================================ */

:root {
  --rm2-red: #A81010;
  --rm2-red-hover: #8a0d0d;
  --rm2-charcoal: #292929;
  --rm2-black: #1f1f1f;
  --rm2-dark: #343A40;
  --rm2-mid: #555;
  --rm2-light: #F5F5F4;
  --rm2-white: #ffffff;
  --rm2-stone: #B8B2A6;
  --rm2-body: #444;

  --max: 1140px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.07);
  --shadow2: 0 2px 12px rgba(0,0,0,.08);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box }
html, body { margin: 0; padding: 0 }
body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--rm2-body);
  background: var(--rm2-white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none }
a:hover { opacity: .85 }
img { max-width: 100%; display: block }

/* Layout */
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto }
.section { padding: 64px 0 }
.section-sm { padding: 36px 0 }

/* ============================================================
   TYPOGRAPHY — lighter, more corporate
   ============================================================ */
.badge {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 600; font-size: 12px; letter-spacing: .05em;
  color: var(--rm2-white);
  background: var(--rm2-red);
  padding: 6px 14px; border-radius: 4px;
}
.kicker {
  font-weight: 600; letter-spacing: .10em; text-transform: uppercase;
  font-size: 12px; color: var(--rm2-mid);
}
.h1 {
  font-size: clamp(30px, 3.8vw, 46px); line-height: 1.15;
  margin: 10px 0 14px; font-weight: 600; color: var(--rm2-charcoal);
  letter-spacing: -.01em;
}
.h2 {
  font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2;
  margin: 0 0 14px; font-weight: 600; color: var(--rm2-charcoal);
  letter-spacing: -.005em;
}
.h3 {
  font-size: 18px; line-height: 1.3; margin: 0 0 6px;
  font-weight: 600; color: var(--rm2-charcoal);
}
.h4 {
  font-size: 16px; line-height: 1.35; margin: 0 0 4px;
  font-weight: 600; color: var(--rm2-charcoal);
}
.p {
  font-size: 17px; margin: 0; color: var(--rm2-body);
  line-height: 1.7;
}
.small {
  font-size: 15px; color: var(--rm2-mid);
  line-height: 1.6;
}
.text-white { color: var(--rm2-white) }

/* ============================================================
   BUTTONS — refined, not shouty
   ============================================================ */
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 6px;
  font-weight: 600; letter-spacing: .01em; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow2); opacity: 1 }
.btn-primary { background: var(--rm2-red); color: var(--rm2-white) }
.btn-primary:hover { background: var(--rm2-red-hover) }
.btn-ghost { background: transparent; border-color: rgba(41,41,41,.20); color: var(--rm2-charcoal) }
.btn-ghost:hover { background: rgba(0,0,0,.03) }
.btn-dark { background: var(--rm2-charcoal); color: var(--rm2-white) }
.btn-dark:hover { background: var(--rm2-black) }
.btn-white { background: var(--rm2-white); color: var(--rm2-charcoal); border-color: rgba(41,41,41,.12) }

/* ============================================================
   TOPBAR / NAVIGATION
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(31,31,31,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex; align-items: center;
  font-weight: 600; color: var(--rm2-white);
}
.brand-name {
  display: block; line-height: 1.02;
  font-size: 30px; font-weight: 700;
  letter-spacing: -0.02em;
  font-family: "Segoe UI", "Segoe UI Variable", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
.brand-name em {
  color: var(--rm2-red); font-style: normal; font-size: inherit;
}
.brand small {
  display: block; font-weight: 400; opacity: .6;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.navlinks { display: flex; gap: 2px; align-items: center }
.navlinks a {
  color: rgba(255,255,255,.85);
  font-weight: 400; font-size: 14px;
  padding: 8px 12px; border-radius: 6px;
  transition: background .15s ease;
}
.navlinks a:hover { background: rgba(255,255,255,.08); opacity: 1 }
.navlinks a[aria-current="page"] { background: rgba(255,255,255,.10); font-weight: 600 }
.navlinks .btn-primary { margin-left: 8px; font-weight: 600 }
.nav-cta { display: none }

.burger {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,.20);
  color: #fff; border-radius: 6px; padding: 8px 14px; font-weight: 600;
  cursor: pointer; font-size: 13px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(1200px 500px at 20% 10%, rgba(168,16,16,.15), transparent 60%),
    linear-gradient(180deg, #1c1c1c 0%, #151515 100%);
  color: var(--rm2-white);
  padding: 72px 0 52px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start;
}
.hero .h1 { color: #fff }
.hero .p { color: rgba(255,255,255,.78) }
.hero .kicker { color: rgba(255,255,255,.50) }

.hero-card {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 24px;
}
.hero-card .meta { display: grid; gap: 12px; margin-top: 16px }
.meta .row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap }
.meta .row div { font-weight: 600; font-size: 15px }
.meta .row span { opacity: .60; font-weight: 400; font-size: 14px }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }

/* ============================================================
   CARDS — cleaner, less shadow
   ============================================================ */
.card {
  border: 1px solid rgba(41,41,41,.10);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow) }
.card.dark {
  background: rgba(255,255,255,.06);
  color: var(--rm2-white);
  border-color: rgba(255,255,255,.10);
}
.card.dark .h3 { color: #fff }
.card.dark .small { color: rgba(255,255,255,.65) }
.card.dark .kicker { color: rgba(255,255,255,.45) }

.card .ph {
  height: 200px;
  overflow: hidden;
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-accent {
  border-left: 3px solid var(--rm2-red);
}

/* ============================================================
   SPLIT / PANELS
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.split.reverse { direction: rtl }
.split.reverse > * { direction: ltr }

.panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(41,41,41,.10);
}
.panel .ph {
  background: linear-gradient(135deg, rgba(168,16,16,.08), rgba(41,41,41,.05));
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(41,41,41,.30); font-weight: 400; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em;
}
.panel .cap { padding: 16px; background: #fff }

.panel img {
  width: 100%; height: 280px; object-fit: cover;
}

/* ============================================================
   LISTS
   ============================================================ */
.list { margin: 0; padding-left: 18px }
.list li { margin: 6px 0; font-size: 15px; line-height: 1.6; color: var(--rm2-body) }
.list-check { list-style: none; padding-left: 0 }
.list-check li { padding-left: 24px; position: relative; margin: 8px 0 }
.list-check li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--rm2-red); font-weight: 600;
}

/* ============================================================
   NOTICE
   ============================================================ */
.notice {
  background: rgba(168,16,16,.04);
  border: 1px solid rgba(168,16,16,.10);
  padding: 14px 16px; border-radius: var(--radius);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding: 24px 0; margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.stat .stat-num {
  font-size: 28px; font-weight: 600; line-height: 1;
  color: var(--rm2-red);
}
.stat .stat-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; opacity: .60; margin-top: 4px;
}

/* ============================================================
   SECTOR TAG
   ============================================================ */
.sector-tag {
  display: inline-block;
  padding: 3px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(168,16,16,.08); color: var(--rm2-red);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: var(--rm2-light);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(41,41,41,.06);
}
.page-header.dark {
  background: linear-gradient(180deg, #1c1c1c, #222);
  color: var(--rm2-white);
  border-bottom-color: rgba(255,255,255,.06);
}
.page-header .kicker { margin-bottom: 4px }
.page-header.dark .kicker { color: rgba(255,255,255,.45) }
.page-header.dark .p { color: rgba(255,255,255,.70) }
.page-header.dark .h1 { color: #fff }

/* Breadcrumb */
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  font-size: 13px; font-weight: 400; margin-bottom: 10px;
}
.breadcrumb a { opacity: .55; font-weight: 600 }
.breadcrumb a:hover { opacity: 1 }
.breadcrumb .sep { opacity: .30 }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111;
  color: rgba(255,255,255,.80);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 24px;
}
.footer a { color: rgba(255,255,255,.80) }
.footer a:hover { color: #fff; opacity: 1 }
.footer .small { color: rgba(255,255,255,.50); font-size: 14px }
.footer .h3 { margin-bottom: 12px; font-size: 15px; color: rgba(255,255,255,.90) }
.footer-bottom {
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .small { font-size: 12px; color: rgba(255,255,255,.40) }
.footer .social-links { display: flex; gap: 10px; margin-top: 14px }
.footer .social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  transition: background .15s ease;
}
.footer .social-links a:hover { background: rgba(255,255,255,.10) }
.footer .social-links svg { width: 15px; height: 15px; fill: currentColor }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 16px }
.field { display: grid; gap: 5px }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
label { font-weight: 600; font-size: 13px; color: var(--rm2-charcoal) }
input, textarea, select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(41,41,41,.16);
  font: inherit; font-size: 15px;
  color: var(--rm2-charcoal);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--rm2-red);
  box-shadow: 0 0 0 3px rgba(168,16,16,.08);
}
textarea { min-height: 120px; resize: vertical }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 28px }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px;
  width: 1px; background: rgba(168,16,16,.18);
}
.timeline-item { position: relative; margin-bottom: 24px }
.timeline-item::before {
  content: ''; position: absolute; left: -23px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--rm2-red);
  border: 2px solid var(--rm2-white);
  box-shadow: 0 0 0 1px rgba(168,16,16,.18);
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr }
  .grid-3 { grid-template-columns: 1fr }
  .grid-4 { grid-template-columns: 1fr 1fr }
  .grid-2 { grid-template-columns: 1fr }
  .split { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .field-row { grid-template-columns: 1fr }
  .navlinks { display: none }
  .burger { display: inline-flex }
  .nav-cta { display: flex; gap: 8px; align-items: center }
  .navlinks.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 60px;
    padding: 16px 24px; background: #151515;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 16px 32px rgba(0,0,0,.4);
  }
  .navlinks.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05) }
  .stats-bar { gap: 24px }
}

@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr }
  .section { padding: 44px 0 }
  .container { width: calc(100% - 32px) }
  .hero { padding: 48px 0 36px }
}
