:root {
  --ink: #17212b;
  --muted: #5f6c73;
  --line: #d9e0e3;
  --paper: #ffffff;
  --wash: #f3f7f8;
  --night: #101920;
  --night-2: #162128;
  --teal: #0b7280;
  --teal-dark: #07515a;
  --gold: #d9972b;
  --green: #4f6f52;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  clip: auto;
  color: var(--paper);
  background: var(--teal);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  color: var(--paper);
  background: rgba(16, 25, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.brand img {
  width: 196px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  padding: 10px 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--paper);
}

.site-nav a.is-active {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.site-nav .nav-call {
  margin-left: 8px;
  color: var(--paper);
  background: var(--teal);
  border-radius: 8px;
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 24, 31, 0.94) 0%, rgba(13, 24, 31, 0.78) 45%, rgba(13, 24, 31, 0.25) 100%),
    linear-gradient(0deg, rgba(13, 24, 31, 0.72), rgba(13, 24, 31, 0.08));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: end;
  padding: 96px 0 56px;
}

.hero-copy {
  max-width: 740px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 780px;
  font-size: clamp(2.6rem, 7vw, 5.3rem);
  line-height: 0.98;
  font-weight: 900;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.8vw, 3.25rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--paper);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary-dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-panel dl,
.hero-panel dd {
  margin: 0;
}

.hero-panel div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel dd {
  margin-top: 4px;
  font-weight: 900;
}

.quick-strip {
  background: var(--teal-dark);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-grid a {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: var(--paper);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 900;
  text-decoration: none;
}

.quick-grid a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-grid span {
  color: var(--gold);
  font-size: 0.82rem;
}

.section,
.contact-section {
  padding: 88px 0;
}

.muted {
  background: var(--wash);
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head p:not(.eyebrow),
.rich-text p,
.rich-text li,
.wide-card p,
.wide-card li {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.service-card,
.wide-card,
.side-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.08);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px;
}

.faq-list summary {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.testimonial-band {
  padding: 72px 0;
  color: var(--paper);
  background: var(--night-2);
}

.testimonial-band blockquote {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
}

.contact-cta {
  padding: 72px 0;
  background: #f9faf7;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta-grid h2 {
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.page-hero {
  padding: 78px 0;
  color: var(--paper);
  background:
    linear-gradient(115deg, rgba(16, 25, 32, 0.96), rgba(16, 25, 32, 0.88)),
    var(--night);
}

.page-hero.compact {
  padding: 86px 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 52px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.35rem);
}

.page-hero img {
  width: 100%;
  height: 390px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: start;
}

.rich-text {
  max-width: 780px;
}

.rich-text h2 + p,
.rich-text p + p,
.rich-text p + ul,
.rich-text ul + h2,
.rich-text p + h2 {
  margin-top: 18px;
}

.rich-text h2:not(:first-child) {
  margin-top: 46px;
}

.rich-text ul,
.wide-card ul {
  padding-left: 20px;
}

.rich-text li + li,
.wide-card li + li {
  margin-top: 10px;
}

.side-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.side-panel h2 {
  font-size: 1.3rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.service-list {
  display: grid;
  gap: 22px;
}

.wide-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
}

.wide-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.wide-card div {
  padding: 30px;
}

.wide-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.image-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.08);
}

.image-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.image-tile figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-gallery {
  margin: 18px 0 28px;
}

.product-gallery .image-tile img {
  height: 180px;
  object-fit: cover;
  background: #f7f9fa;
}

.inline-visual {
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.08);
}

.inline-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #f7f9fa;
}

.inline-visual figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.brand-strip {
  margin: 28px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.brand-strip img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.payment-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.payment-card p {
  margin: 0;
}

.payment-card img {
  width: 100%;
  border-radius: 6px;
}

.contact-section {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(115deg, rgba(16, 25, 32, 0.98), rgba(16, 25, 32, 0.83)),
    url("images/hero-tools.jpg") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-copy h1 {
  font-size: clamp(2.15rem, 5vw, 4.2rem);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-cards a,
.contact-info {
  display: block;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--paper);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.contact-cards span,
.contact-info span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(11, 114, 128, 0.15);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 44px 0 42px;
  color: rgba(255, 255, 255, 0.78);
  background: #0f171d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 28px;
}

.site-footer img {
  width: 190px;
  height: auto;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1rem;
}

.site-footer p {
  margin-bottom: 0;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .brand img {
    width: 170px;
  }

  .site-nav a {
    padding-inline: 7px;
    font-size: 0.84rem;
  }
}

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

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

  .brand img {
    width: 174px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    display: block;
    background: var(--paper);
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: none;
    padding: 16px 14px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--night);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  }

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

  .site-nav a {
    padding: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
  }

  .site-nav .nav-call {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(13, 24, 31, 0.93) 0%, rgba(13, 24, 31, 0.76) 100%);
  }

  .hero-grid,
  .page-hero-grid,
  .content-grid,
  .two-col,
  .contact-grid,
  .footer-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 30px;
    padding: 72px 0 42px;
  }

  h1,
  .page-hero h1,
  .contact-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.04;
  }

  .lead {
    font-size: 1.04rem;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    justify-content: stretch;
  }

  .hero-panel {
    padding: 20px;
  }

  .quick-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid a,
  .quick-grid a:last-child {
    min-height: auto;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section,
  .contact-section {
    padding: 64px 0;
  }

  .page-hero,
  .page-hero.compact {
    padding: 56px 0;
  }

  .page-hero img {
    height: 290px;
  }

  .side-panel {
    position: static;
  }

  .wide-card {
    grid-template-columns: 1fr;
  }

  .wide-card img {
    height: 260px;
  }

  .image-grid,
  .mini-gallery,
  .payment-card {
    grid-template-columns: 1fr;
  }

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

  .product-gallery .image-tile img {
    height: 150px;
  }

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

  .payment-card img {
    max-width: 220px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 160px;
  }

  .contact-form,
  .wide-card div,
  .service-card div {
    padding: 20px;
  }

  .home-services .service-grid,
  .home-interventions .image-grid {
    gap: 12px;
  }

  .home-services .service-card,
  .home-interventions .image-tile {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: stretch;
  }

  .home-services .service-card img,
  .home-interventions .image-tile img {
    width: 112px;
    height: 100%;
    min-height: 116px;
    aspect-ratio: auto;
  }

  .home-services .service-card div {
    padding: 14px;
  }

  .home-services .service-card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.12;
  }

  .home-services .service-card p {
    margin-bottom: 6px;
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .home-services .text-link {
    margin-top: 0;
    font-size: 0.86rem;
  }

  .home-interventions .image-tile figcaption {
    display: flex;
    align-items: center;
    padding: 12px;
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-gallery .image-tile img {
    height: 205px;
  }

  .product-gallery .image-tile figcaption {
    padding: 10px;
    font-size: 0.84rem;
  }

  .testimonial-band {
    padding: 54px 0;
  }
}
