/* ==========================================================================
   Metro Facility Services — Stylesheet
   Design: Corporate & Trusted (Navy / White / Gray)
   ========================================================================== */

:root {
  --navy-900: #0F2A44;
  --navy-700: #1E3A5F;
  --navy-500: #2F5578;
  --navy-100: #E8EEF5;
  --gold: #B8924A;
  --gray-900: #1A202C;
  --gray-700: #2D3748;
  --gray-500: #718096;
  --gray-300: #CBD5E0;
  --gray-100: #F5F7FA;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 42, 68, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 42, 68, 0.12);
  --radius: 6px;
  --max-width: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-700); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--navy-900); }

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

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

/* -------- Typography -------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--gray-700);
  max-width: 720px;
}

/* -------- Header -------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--navy-900);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
}
.brand-name { line-height: 1.1; }
.brand-name small {
  display: block;
  font-weight: 500;
  color: var(--gray-500);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav a:hover, .nav a.active { color: var(--navy-900); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-secondary:hover { background: var(--navy-100); color: var(--navy-900); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* -------- Hero -------- */
.hero {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(135deg, rgba(15,42,68,0.88) 0%, rgba(30,58,95,0.82) 100%),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184,146,74,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 860px; }
.hero .eyebrow { color: var(--gold); }
.hero p.lede { color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.hero-ctas .btn-secondary:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.hero-sub {
  padding: 56px 0 48px;
  background-color: var(--navy-700);
  background-image:
    linear-gradient(135deg, rgba(30,58,95,0.88) 0%, rgba(15,42,68,0.92) 100%),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero-sub h1 { color: var(--white); }
.hero-sub .eyebrow { color: var(--gold); }

/* -------- Sections -------- */
section {
  padding: 80px 0;
}
section.alt {
  background: var(--gray-100);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-header p { color: var(--gray-500); font-size: 1.0625rem; }

/* -------- Service Cards -------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-100);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--navy-100);
  color: var(--navy-900);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--navy-900); }
.card p { color: var(--gray-700); font-size: 0.9375rem; margin-bottom: 0; }

/* -------- Trust Row -------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust-item {
  text-align: center;
}
.trust-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.trust-item span {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* -------- Feature List -------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.feature-list { list-style: none; }
.feature-list li {
  padding: 16px 0 16px 32px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 16px;
  width: 22px;
  height: 22px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.feature-list li strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 2px;
}

/* -------- Service detail blocks -------- */
.service-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-block:last-child { border-bottom: none; }
.service-block .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.service-block h2 { margin-bottom: 12px; }
.service-block ul {
  list-style: none;
  margin-top: 16px;
}
.service-block ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--gray-700);
}
.service-block ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* -------- Service areas list -------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.areas-grid li {
  list-style: none;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: center;
}

/* -------- CTA Block -------- */
.cta-block {
  background: var(--navy-900);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-block h2 { color: var(--white); margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto 28px; font-size: 1.0625rem; }
.cta-block .btn-primary { background: var(--gold); color: var(--navy-900); }
.cta-block .btn-primary:hover { background: #A07F3F; color: var(--white); }
.cta-block .btn-secondary { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.cta-block .btn-secondary:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

/* -------- Contact -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
}
.contact-info-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 20px; }
.contact-info-card dl dt {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-top: 18px;
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info-card dl dd {
  color: var(--navy-900);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 0;
}

form.quote-form { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 18px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}
textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; font-size: 0.9375rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

/* -------- Showcase / Feature Image -------- */
.showcase-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
}
.showcase-image {
  aspect-ratio: 4/3;
  background-color: var(--navy-100);
  background-image: url('images/feature.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.showcase-text h2 { margin-bottom: 16px; }

.feature-image {
  aspect-ratio: 21/9;
  background-color: var(--navy-100);
  background-image: url('images/feature.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}

/* -------- Badges (certifications / ownership) -------- */
.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-900);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge.badge-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.badge svg { width: 14px; height: 14px; }

.hero .badge {
  background: rgba(184, 146, 74, 0.2);
  border: 1px solid rgba(184, 146, 74, 0.6);
  color: var(--gold);
}

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .site-header .container { gap: 12px; }
  .header-phone { display: none; }
  .feature-split, .contact-grid, .showcase-grid { grid-template-columns: 1fr; gap: 32px; }
  .showcase-image { min-height: 240px; }
  .service-block .container { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row.split { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .brand-name small { display: none; }
}
