
:root {
  /* Material Design 3-inspired design tokens */
  --md-primary: #f6b900;
  --md-primary-hover: #ffc72a;
  --md-on-primary: #201a00;
  --md-surface: #faf9f6;
  --md-surface-container: #f1f0ec;
  --md-surface-container-high: #e8e8e3;
  --md-on-surface: #171b1f;
  --md-on-surface-variant: #586067;
  --md-outline: #c9c8c3;
  --steady-ink: #0d1822;
  --steady-ink-2: #172632;
  --white: #ffffff;
  --max: 1200px;
  --shadow: 0 16px 40px rgba(13, 24, 34, 0.10);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--md-surface);
  color: var(--md-on-surface);
  font-family: "Inter", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

h1, h2, h3 { margin: 0; line-height: 1.08; color: var(--steady-ink); }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.35rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.04em; }
h3 { font-size: 1.22rem; }
p { margin: 0; color: var(--md-on-surface-variant); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .77rem;
  font-weight: 850;
}
.eyebrow::after {
  content: "";
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: var(--md-primary);
}

.material-symbols-rounded { font-size: 21px; line-height: 1; }

.btn {
  min-height: 48px;
  border: 0;
  border-radius: var(--pill);
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--md-primary); color: var(--md-on-primary); }
.btn-primary:hover { background: var(--md-primary-hover); }
.btn-dark { background: var(--steady-ink); color: white; }
.btn-outline {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.42);
  color: white;
}
.btn-outline-dark {
  background: white;
  border: 1px solid var(--md-outline);
  color: var(--steady-ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(13,24,34,.07);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 230px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .94rem;
  font-weight: 700;
}
.nav-links a { padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--md-primary); }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  border-radius: 50%;
  padding: 10px;
}

/* Home hero */
.hero {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(6,14,22,.97) 0%, rgba(6,14,22,.91) 38%, rgba(6,14,22,.43) 67%, rgba(6,14,22,.15) 100%),
    url("assets/hero-industrial.png") center / cover no-repeat;
}
.hero-content { max-width: 690px; padding: 84px 0 112px; }
.hero .eyebrow { color: #ffd454; }
.hero h1 { color: white; margin: 18px 0 20px; }
.hero-title { max-width: 860px; }
.hero-line { display: block; white-space: nowrap; }
.hero-emphasis { color: var(--md-primary); margin-top: .05em; }
.hero p { color: rgba(255,255,255,.87); font-size: 1.12rem; max-width: 630px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.location-chip {
  position: absolute;
  bottom: 26px;
  right: max(22px, calc((100vw - var(--max))/2));
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: rgba(7,16,24,.84);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 14px 17px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.location-chip .material-symbols-rounded { color: var(--md-primary); }

/* Shared sections */
.section { padding: 86px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}
.section-head .eyebrow { margin-bottom: 13px; }
.section-head p { max-width: 540px; justify-self: end; font-size: 1.02rem; }

/* Featured services */
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card {
  background: white;
  border: 1px solid rgba(13,24,34,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-image { height: 215px; overflow: hidden; background: #d9dcdf; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-card:hover .card-image img { transform: scale(1.035); }
.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff2bb;
}
.card-content p { font-size: .95rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  margin-top: auto;
  padding-top: 8px;
}
.all-services { margin-top: 30px; display: flex; justify-content: center; }

/* Uptime band */
.uptime-band { background: var(--steady-ink); color: white; }
.uptime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.uptime-band h2 { color: white; margin: 15px 0 16px; }
.uptime-band p { color: rgba(255,255,255,.78); }
.uptime-visual {
  min-height: 340px;
  border-radius: 26px;
  background: url("assets/service-planned.jpg") center / cover no-repeat;
}
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.metric {
  padding: 17px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
}
.metric strong { display: block; color: var(--md-primary); }
.metric small { color: rgba(255,255,255,.72); }

/* About on home */
.about-home { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-home h2 { margin: 15px 0 16px; }
.about-photo {
  min-height: 410px;
  border-radius: 26px;
  background: url("assets/service-mechanical.jpg") center / cover no-repeat;
}
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.trust {
  padding: 17px;
  background: white;
  border: 1px solid rgba(13,24,34,.08);
  border-radius: 17px;
}
.trust strong { display: block; margin-bottom: 4px; }
.trust span { color: var(--md-on-surface-variant); font-size: .9rem; }

.cta-wrap { padding: 38px 0; }
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px;
  border-radius: 26px;
  background: linear-gradient(125deg,#f0f2f3,#e4e8ea);
}
.cta-copy { display: flex; align-items: center; gap: 16px; }
.cta-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
}

/* Internal page hero */
.page-hero {
  padding: 74px 0 64px;
  color: white;
  background:
    linear-gradient(90deg,rgba(6,14,22,.97),rgba(6,14,22,.70)),
    url("assets/hero-industrial.png") center / cover no-repeat;
}
.page-hero h1 { color: white; font-size: clamp(2.45rem,5vw,4.55rem); }
.page-hero .eyebrow { color: #ffd454; margin-bottom: 15px; }
.page-hero p { color: rgba(255,255,255,.80); max-width: 760px; margin-top: 17px; font-size: 1.06rem; }

/* Services page */
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.capability {
  background: white;
  border: 1px solid rgba(13,24,34,.08);
  border-radius: 22px;
  padding: 26px;
}
.capability.featured { border-top: 4px solid var(--md-primary); }
.capability-top { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; }
.capability-icon {
  width: 48px; height: 48px; flex: none;
  border-radius: 15px; display: grid; place-items: center;
  background: #fff2bb;
}
.capability ul { margin: 14px 0 0; padding-left: 19px; color: var(--md-on-surface-variant); }
.capability li { margin: 6px 0; }

/* About page */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card {
  background: white;
  border: 1px solid rgba(13,24,34,.08);
  border-radius: 22px;
  padding: 27px;
}
.info-card h3 { margin-bottom: 10px; }

/* Rates page */
.rates-panel {
  max-width: 850px;
  margin-inline: auto;
  background: white;
  border: 1px solid rgba(13,24,34,.08);
  border-radius: 26px;
  padding: 38px;
  box-shadow: var(--shadow);
  text-align: center;
}
.rates-panel h2 { margin-bottom: 16px; }
.rate-factors { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin: 28px 0; }
.factor { background: var(--md-surface-container); border-radius: 18px; padding: 20px; }
.factor .material-symbols-rounded { margin-bottom: 8px; }

/* Contact */
.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 38px; align-items: start; }
.contact-aside { display: grid; gap: 14px; }
.contact-box {
  background: white;
  border: 1px solid rgba(13,24,34,.08);
  border-radius: 20px;
  padding: 22px;
}
.contact-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
.form-card {
  background: white;
  border: 1px solid rgba(13,24,34,.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field label { font-size: .88rem; font-weight: 800; }
.req { color: #b3261e; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--md-outline);
  border-radius: 14px;
  background: white;
  padding: 13px 15px;
  outline: none;
}
.field textarea { min-height: 165px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #b98700;
  box-shadow: 0 0 0 3px rgba(246,185,0,.20);
}
.helper { font-size: .82rem; color: var(--md-on-surface-variant); }
.form-status { min-height: 24px; margin-top: 12px; font-weight: 700; }

/* Footer */
footer { padding: 46px 0 24px; background: white; border-top: 1px solid rgba(13,24,34,.08); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .95fr; gap: 34px; }
.footer-logo { width: 245px; margin-bottom: 12px; }
.footer-links, .footer-contact { display: grid; gap: 9px; }
.footer-line { display: flex; gap: 9px; align-items: flex-start; }
.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(13,24,34,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .84rem;
  color: var(--md-on-surface-variant);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .desktop-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav.open { flex-wrap: wrap; align-items: flex-start; padding-bottom: 16px; }
  .nav.open .nav-links { display: grid; width: 100%; gap: 4px; }
  .nav.open .nav-links a { padding: 12px 0; }

  .hero { min-height: 620px; background-position: 68% center; }
  .hero-content { padding: 70px 0 126px; }
  .location-chip { left: 20px; right: auto; }

  .section-head, .uptime-grid, .about-home, .form-layout { grid-template-columns: 1fr; }
  .section-head { gap: 14px; }
  .section-head p { justify-self: start; }
  .service-grid, .capability-grid, .about-layout { grid-template-columns: 1fr; }
  .card-image { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero-line { white-space: normal; }

  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .brand img { width: 190px; }

  .hero { min-height: 650px; background-position: 72% center; }
  .hero-content { padding: 58px 0 138px; }
  .hero p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .location-chip { left: 14px; right: 14px; justify-content: center; }

  .section { padding: 62px 0; }
  .card-image { height: 220px; }
  .metric-row, .trust-grid, .rate-factors, .form-row { grid-template-columns: 1fr; }
  .uptime-visual, .about-photo { min-height: 280px; }

  .cta { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
