:root {
  --black: #111111;
  --dark: #1a1a1a;
  --charcoal: #242424;
  --gray: #6b6b6b;
  --light-gray: #f4f1ed;
  --white: #ffffff;
  --orange: #f47b20;
  --orange-dark: #c95e0f;
  --tan: #c7a27a;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--orange);
  color: var(--black);
  padding: 10px 14px;
  z-index: 1000;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.96);
  color: var(--white);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-weight: 900;
  font-size: 20px;
  color: var(--black);
  background: var(--orange);
  border-radius: 8px;
  letter-spacing: -1px;
}

.brand-logo {
  object-fit: contain;
  padding: 0;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text small {
  font-size: 11px;
  color: #d7d7d7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav a {
  color: #eeeeee;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--orange);
}

.header-call {
  padding: 10px 14px;
  color: var(--black);
  background: var(--orange);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.92), rgba(17,17,17,0.58), rgba(17,17,17,0.2)),
    url("assets/j8-services-hero.jpg") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(17,17,17,0.95));
}

.hero-content {
  position: relative;
  max-width: 780px;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 18px;
}

.hero-copy {
  font-size: clamp(18px, 2vw, 23px);
  color: #eeeeee;
  max-width: 720px;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
}

.btn-primary:hover {
  background: #ff8d38;
}

.btn-secondary {
  border-color: rgba(255,255,255,0.75);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

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

.section {
  padding: 84px 0;
}

.intro-band {
  background: var(--light-gray);
}

.grid-two {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.detail-card,
.contact-card,
.quote-form,
.about-panel {
  background: var(--white);
  border: 1px solid #e8e1da;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.06);
}

.service-card {
  min-height: 270px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--black);
  background: var(--orange);
  border-radius: 12px;
  font-weight: 900;
}

.dark-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(244,123,32,0.18), transparent 28%),
    var(--dark);
  color: var(--white);
}

.dark-section p {
  color: #d8d8d8;
}

.services-list {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-columns > div {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.service-columns h3 {
  color: var(--orange);
}

ul {
  margin: 0;
  padding-left: 18px;
}

li {
  margin: 8px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.split-image img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 14px 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.cta-section {
  background: var(--light-gray);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17,17,17,0.96), rgba(35,35,35,0.94)),
    url("assets/j8-services-hero.jpg") center / cover no-repeat;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: #eeeeee;
}

.site-footer {
  padding: 52px 0 28px;
  color: #eeeeee;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.45fr 1fr;
  gap: 40px;
}

.footer-grid h3 {
  color: var(--orange);
  font-size: 17px;
}

.footer-grid p {
  color: #d1d1d1;
}

.footer-grid a,
.footer-bottom a {
  color: var(--white);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #bfbfbf;
}

.page-hero {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17,17,17,0.94), rgba(17,17,17,0.72)),
    url("assets/j8-services-hero.jpg") center / cover no-repeat;
}

.page-hero .container {
  max-width: 860px;
}

.page-hero p {
  font-size: 19px;
  color: #eeeeee;
}

.service-detail-grid {
  display: grid;
  gap: 26px;
}

.detail-card h2 {
  color: var(--black);
}

.detail-card ul {
  columns: 2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item,
.gallery-placeholder {
  min-height: 190px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--charcoal);
}

.gallery-item {
  position: relative;
  margin: 0;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(0,0,0,0.72);
  border-radius: 10px;
  font-weight: 700;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 20px;
  color: var(--white);
  text-align: center;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(244,123,32,0.88), rgba(17,17,17,0.92));
}

.gallery-note {
  margin-top: 24px;
  color: var(--gray);
}

.narrow {
  max-width: 780px;
}

.about-panel {
  margin-top: 28px;
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.big-phone {
  display: inline-block;
  margin: 10px 0 18px;
  color: var(--orange-dark);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  text-decoration: none;
}

.small-note {
  color: var(--gray);
}

.contact-services {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8e1da;
}

.quote-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid #d9d1c8;
  border-radius: 10px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(244,123,32,0.25);
  border-color: var(--orange);
}

.form-note {
  margin: 0;
  color: var(--gray);
  font-size: 13px;
}

@media (max-width: 960px) {
  .header-call {
    display: none;
  }

  .card-grid.three,
  .services-list,
  .service-columns,
  .split,
  .grid-two,
  .cta-box,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: rgba(255,255,255,0.06);
  }

  .hero {
    min-height: 620px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(17,17,17,0.84), rgba(17,17,17,0.86)),
      url("assets/j8-services-hero.jpg") center / cover no-repeat;
  }

  .section {
    padding: 58px 0;
  }

  .service-card,
  .detail-card,
  .contact-card,
  .quote-form,
  .about-panel {
    padding: 22px;
  }

  .detail-card ul {
    columns: 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.featured {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-box {
    padding: 28px;
  }

  .btn {
    width: 100%;
  }
}
