:root {
  --black: #080808;
  --ink: #151515;
  --charcoal: #242424;
  --graphite: #3a3a36;
  --yellow: #ffd21f;
  --yellow-dark: #d5a900;
  --ivory: #fbf6ea;
  --paper: #fffdf7;
  --white: #ffffff;
  --steel: #a6a59c;
  --line: rgba(21, 21, 21, 0.14);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 8, 8, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 210, 31, 0.24);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0;
  font-size: 1.05rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  border-radius: 6px;
  font-weight: 950;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--yellow);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-link {
  color: var(--yellow);
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  border: 0;
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  outline: 3px solid rgba(255, 210, 31, 0.42);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 12px 28px rgba(255, 210, 31, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #ffe067;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover,
.btn-dark:focus {
  background: var(--charcoal);
  color: var(--yellow);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(8, 8, 8, 0.25);
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: var(--yellow-dark);
  background: rgba(255, 210, 31, 0.14);
}

.hero {
  background:
    linear-gradient(115deg, rgba(8, 8, 8, 0.96) 0%, rgba(8, 8, 8, 0.86) 46%, rgba(8, 8, 8, 0.28) 100%),
    radial-gradient(circle at 80% 10%, rgba(255, 210, 31, 0.42), transparent 30%),
    linear-gradient(135deg, #141414, #3d3a2a);
  color: var(--white);
  min-height: 680px;
  display: grid;
  align-items: center;
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 74px 0 54px;
}

.eyebrow {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 0.98;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(1.05rem, 1.9vw, 1.34rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 24px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 42px;
}

.proof {
  border-left: 3px solid var(--yellow);
  padding: 4px 0 4px 12px;
}

.proof strong {
  display: block;
  color: var(--white);
  font-size: 1.35rem;
}

.proof span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.photo-stack {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 16px;
  align-items: end;
}

.photo-panel {
  min-height: 440px;
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  position: relative;
  background: url("../mockups/home-page.png") center top / cover;
}

.photo-panel.small {
  min-height: 300px;
  background-image: url("../mockups/about-us-page.png");
}

.tool-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(8, 8, 8, 0.84);
  color: var(--white);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 14px;
  font-weight: 850;
}

.band {
  padding: 82px 0;
}

.band.dark {
  background: var(--black);
  color: var(--white);
}

.band.paper {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.section-kicker {
  color: var(--yellow-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-copy {
  font-size: 1.06rem;
  color: rgba(21, 21, 21, 0.72);
  margin-top: 18px;
  max-width: 690px;
}

.dark .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(8, 8, 8, 0.08);
}

.dark .card {
  background: #151515;
  border-color: rgba(255, 255, 255, 0.12);
}

.card-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  border-radius: 6px;
  font-weight: 950;
  margin-bottom: 18px;
}

.stagger-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.feature-panel {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.image-copy-panel {
  width: min(100%, 560px);
  background: rgba(8, 8, 8, 0.94);
  color: var(--white);
  border-left: 5px solid var(--yellow);
  border-radius: 6px;
  padding: 22px;
}

.image-copy-panel .eyebrow,
.image-copy-panel .section-copy {
  margin: 0 0 10px;
}

.image-copy-panel h2,
.image-copy-panel h3 {
  color: var(--white);
}

.feature-panel.yellow {
  background: var(--yellow);
  color: var(--black);
}

.feature-panel.image {
  background: url("../mockups/services-page.png") center top / cover;
}

.feature-panel.contact-image {
  background: url("../mockups/contact-us-page.png") center top / cover;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.step {
  border-top: 4px solid var(--yellow);
  padding-top: 18px;
}

.testimonial {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 26px;
  align-items: end;
}

.quote {
  font-size: clamp(1.7rem, 4vw, 3.8rem);
  line-height: 1.04;
  font-weight: 950;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 850;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 21, 21, 0.2);
  border-radius: 6px;
  min-height: 46px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
}

.inline-input {
  min-width: 160px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.92rem;
}

.receipt-camera {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.receipt-video,
.receipt-preview {
  width: 100%;
  max-width: 620px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #111;
}

.receipt-preview {
  object-fit: contain;
  background: var(--white);
}

.receipt-thumb {
  width: 76px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.workorder-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.workorder-photo-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper);
}

.workorder-photo-card img {
  width: 160px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.workorder-photo-card p {
  margin: 6px 0;
}

textarea {
  min-height: 130px;
  resize: vertical;
  overflow: visible;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 210, 31, 0.44);
  border-color: var(--yellow-dark);
}

.full {
  grid-column: 1 / -1;
}

.notice {
  margin-top: 14px;
  padding: 14px;
  border-radius: 6px;
  background: rgba(255, 210, 31, 0.18);
  border: 1px solid rgba(213, 169, 0, 0.38);
  font-weight: 750;
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: 54px 0 26px;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 8px;
  width: min(230px, calc(100vw - 28px));
}

.floating-cta a {
  min-height: 42px;
  border-radius: 7px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 950;
  font-size: 0.82rem;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--yellow);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.floating-cta a:hover,
.floating-cta a:focus {
  background: var(--yellow);
  color: var(--black);
  outline: 3px solid rgba(255, 210, 31, 0.4);
  outline-offset: 2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 24px;
}

.footer h3,
.footer h4 {
  color: var(--yellow);
  margin: 0 0 12px;
}

.footer a,
.footer p {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin: 7px 0;
}

.legal {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
}

.page-hero {
  padding: 90px 0 70px;
  background:
    linear-gradient(105deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.66)),
    radial-gradient(circle at 76% 16%, rgba(255, 210, 31, 0.32), transparent 34%),
    #171717;
  color: var(--white);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
  margin-top: 18px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.service-row {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
}

.map-panel {
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 210, 31, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(8, 8, 8, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  position: relative;
  overflow: hidden;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: 18px;
  border-bottom: 5px solid var(--yellow);
  box-shadow: var(--shadow);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background:
    linear-gradient(rgba(245, 240, 228, 0.86), rgba(245, 240, 228, 0.92)),
    url("../graphics/dashboard-background.svg") right top / min(1120px, 94vw) auto no-repeat,
    #f5f0e4;
  background-attachment: fixed;
}

.app-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 10%, rgba(255, 210, 31, 0.35), transparent 28%),
    linear-gradient(135deg, #080808, #2b2a25);
  padding: 24px;
}

.login-card {
  width: min(460px, 100%);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.app-side {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 50;
  background: var(--black);
  color: var(--white);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 210, 31, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.app-side nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin-top: 8px;
}

.app-side a,
.menu-toggle {
  border: 0;
  text-align: center;
  width: 100%;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  padding: 8px 5px;
  cursor: pointer;
  font-weight: 750;
  font-size: 0.66rem;
  line-height: 1.05;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
}

.app-side a:hover,
.app-side a:focus,
.app-side a.active,
.menu-toggle:hover,
.menu-toggle:focus {
  color: var(--black);
  background: var(--yellow);
  outline: none;
}

.app-main {
  padding: 132px 28px 28px;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.dash-card,
.table-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(8, 8, 8, 0.06);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  table-layout: auto;
}

.table th,
.table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  vertical-align: top;
}

.table th {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 210, 31, 0.22);
  padding: 5px 10px;
  font-weight: 850;
  font-size: 0.82rem;
}

.schedule-state {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 10px;
  font-weight: 950;
  cursor: pointer;
  color: var(--white);
}

.schedule-state.off {
  background: #b42318;
}

.schedule-state.on {
  background: #138a36;
}

.schedule-state.on-call {
  background: #1457d9;
}

.schedule-note {
  display: block;
  margin-top: 8px;
  font-size: 0.86rem;
  color: rgba(21, 21, 21, 0.72);
  white-space: normal;
}

.schedule-empty {
  color: rgba(21, 21, 21, 0.52);
  font-style: italic;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.schedule-day {
  min-height: 128px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
}

.app-main textarea {
  min-height: 170px;
}

.selected,
.toggle-active {
  background: var(--yellow) !important;
  color: var(--black) !important;
}

.tracking-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.track-col {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 16px;
  min-height: 320px;
}

.print-page {
  background: #fff;
  color: #111;
}

.print-sheet {
  width: min(860px, calc(100% - 40px));
  margin: 30px auto;
  background: #fff;
  padding: 34px;
  border: 1px solid #ddd;
}

.hide {
  display: none !important;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .nav-actions {
    flex-wrap: wrap;
  }

  .hero-grid,
  .split,
  .testimonial,
  .footer-grid,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps,
  .dash-grid,
  .tracking-board,
  .service-list,
  .workorder-photo-card {
    grid-template-columns: 1fr;
  }

  .workorder-photo-card img {
    width: 100%;
  }

  .photo-stack,
  .stagger-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .app-side {
    position: static;
  }
}

@media print {
  .site-header,
  .app-side,
  .app-top,
  .btn,
  .workorder-photo-grid,
  .footer {
    display: none !important;
  }

  .app-shell {
    display: block;
  }

  .app-main,
  .print-sheet {
    margin: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
  }
}
