/* ===========================================================
   MSG Equipment Services — shared stylesheet
   =========================================================== */

:root {
  --black: #0a0a0c;
  --panel: #131316;
  --panel-alt: #1a1a1e;
  --border: #262629;
  --gold: #f5b400;
  --orange: #ff7a1a;
  --gradient: linear-gradient(135deg, #ffd166, #ff7a1a);
  --text: #ececef;
  --muted: #a4a4ab;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover { color: var(--orange); }

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

h1, h2, h3 { color: #fff; line-height: 1.25; }
h2 { font-size: 2rem; margin-bottom: .5rem; }
h3 { font-size: 1.25rem; }

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: .8rem;
}

.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .85rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient);
  color: #1a1200;
}
.btn-primary:hover { filter: brightness(1.08); color: #1a1200; }
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: #1a1200;
}

/* ---------- Header ---------- */
.top-accent {
  height: 4px;
  background: var(--gradient);
}

.topbar {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: .5rem 24px;
}
.topbar-inner a { color: var(--muted); }
.topbar-inner a:hover { color: var(--orange); }

.site-header { position: relative; background: var(--black); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo img { height: 48px; width: auto; }

.site-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: #000;
  background: #ffd600;
  padding: .75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}

@media (max-width: 820px) {
  .site-title {
    order: 2;
    width: 100%;
    text-align: center;
    margin: .5rem 0;
  }
}

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle-label span,
.nav-toggle-label::before,
.nav-toggle-label::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (max-width: 820px) {
  .nav-toggle-label { display: flex; }
  .main-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    order: 3;
  }
  .navbar { flex-wrap: wrap; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  .main-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); }
  .nav-toggle:checked ~ .main-nav { max-height: 400px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% -20%, rgba(255,122,26,.18), transparent 55%), var(--black);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}
.hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: var(--gradient);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: .35;
}
.hero-inner { position: relative; max-width: 720px; }
.hero h1 { font-size: 2.6rem; margin-bottom: 1rem; }
.hero-sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Services ---------- */
.services { padding: 4rem 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
}
.service-card .icon { font-size: 2rem; margin-bottom: .75rem; }
.service-card p { color: var(--muted); }

/* ---------- About teaser / generic split section ---------- */
.split-section { padding: 4rem 0; background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split-section p { color: var(--muted); max-width: 700px; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 3.5rem 0 2.5rem;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin: 0; }
.breadcrumb { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Generic content ---------- */
.content { padding: 3.5rem 0; }
.content h2 { margin-top: 2rem; }
.content ul { color: var(--muted); }
.content p { color: var(--muted); }
.legal p, .legal li { color: var(--muted); }
.legal h2 { margin-top: 2.25rem; font-size: 1.35rem; }
.last-updated { color: var(--muted); font-size: .85rem; font-style: italic; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.value-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  background: var(--panel);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li {
  display: flex;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.contact-info-list .icon { color: var(--orange); }

form.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: 6px;
}
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .65rem .75rem;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note { font-size: .8rem; color: var(--muted); }

/* ---------- Stub / coming soon ---------- */
.stub { padding: 5rem 0; text-align: center; }
.stub .icon { font-size: 3rem; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .9rem; }

.footer-links h3,
.footer-contact h3 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: 1px;
  margin-top: 0;
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li,
.footer-contact li {
  padding: .4rem 0;
  border-bottom: 1px dotted var(--border);
  font-size: .9rem;
  display: flex;
  gap: .5rem;
  color: var(--muted);
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
.footer-contact .icon { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 24px;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}
.footer-version {
  font-size: .85rem;
  color: var(--muted);
  margin-left: .5rem;
}
