:root {
  --ink: #07162b;
  --ink-2: #10233f;
  --paper: #f6f8fb;
  --line: #dbe4ee;
  --muted: #607086;
  --white: #ffffff;
  --orange: #ff7a00;
  --orange-2: #ffb21f;
  --cyan: #1fb6ff;
  --green: #1cbf84;
  --shadow: 0 20px 50px rgba(7, 22, 43, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(11, 27, 51, .12);
  box-shadow: 0 10px 28px rgba(7, 22, 43, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand img {
  width: clamp(210px, 25vw, 310px);
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(11, 27, 51, .72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.header-actions,
.hero-actions,
.access-actions,
.section-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

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

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-2);
}

.btn-outline {
  color: var(--ink);
  border-color: rgba(11, 27, 51, .18);
  background: rgba(11, 27, 51, .03);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(11, 27, 51, .34);
  background: rgba(11, 27, 51, .07);
}

.btn-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.btn-light:hover,
.btn-light:focus-visible {
  border-color: #b7c7d9;
}

.hero-actions .btn-outline,
.contact .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
}

.hero-actions .btn-outline:hover,
.hero-actions .btn-outline:focus-visible,
.contact .btn-outline:hover,
.contact .btn-outline:focus-visible {
  border-color: rgba(255, 255, 255, .44);
  background: rgba(255, 255, 255, .09);
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 27, 51, .18);
  border-radius: 8px;
  background: rgba(11, 27, 51, .05);
  color: var(--ink);
  font-size: 0;
  line-height: 1;
}

.menu-toggle::before {
  content: "";
  display: none;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-header[data-open="true"] .menu-toggle::before {
  box-shadow: none;
  transform: rotate(45deg);
}

.hero {
  position: relative;
  min-height: min(680px, calc(100vh - 82px));
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 22, 43, .96) 0%, rgba(7, 22, 43, .86) 42%, rgba(7, 22, 43, .42) 100%),
    var(--hero-image, url("/assets/Hero Technician-Bm7sfEZV.png")) right center / min(52vw, 640px) auto no-repeat,
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 0, .7), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vh, 96px) 22px 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .05);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(28, 191, 132, .16);
}

.hero h1 {
  max-width: 760px;
  margin: 26px 0 18px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: .95;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--orange-2);
}

.hero-copy {
  max-width: 640px;
  width: 100%;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.55;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  max-width: 540px;
  margin-top: 34px;
}

.metric {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 22px;
}

.metric span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.access-strip {
  max-width: 1180px;
  margin: -28px auto 0;
  padding: 0 22px;
  position: relative;
  z-index: 2;
}

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

.access-card,
.service-card,
.contact-panel,
.plan-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.access-card {
  padding: 22px;
}

.access-card small,
.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.access-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.access-card p {
  min-height: 46px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: clamp(72px, 9vw, 108px) 22px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

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

.service-card {
  overflow: hidden;
  box-shadow: none;
}

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

.service-card img[role="button"] {
  cursor: zoom-in;
}

.service-card img[role="button"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

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

.service-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.lightbox-open {
  overflow: hidden;
}

.service-lightbox[hidden] {
  display: none;
}

.service-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.service-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(7, 22, 43, .84);
  cursor: zoom-out;
}

.service-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

.service-lightbox__toolbar,
.service-lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-lightbox__toolbar span {
  color: var(--muted);
  font-size: 14px;
}

.service-lightbox__button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.service-lightbox__button:hover,
.service-lightbox__button:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.service-lightbox__button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.service-lightbox__figure {
  min-height: 0;
  display: grid;
  gap: 10px;
  margin: 0;
}

.service-lightbox__figure img {
  width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  border-radius: 6px;
  background: #f4f7fb;
}

.service-lightbox__figure figcaption {
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.blog-preview {
  background: var(--white);
}

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

.blog-home-search {
  max-width: 620px;
  display: flex;
  gap: 10px;
  margin: -10px 0 28px;
}

.blog-home-search input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  box-shadow: 0 10px 26px rgba(7, 22, 43, .06);
}

.blog-home-search input:focus {
  border-color: rgba(255, 122, 0, .72);
}

.blog-home-search button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.blog-preview-card {
  min-height: 260px;
  display: grid;
  align-content: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 182, 255, .16), transparent 34%),
    linear-gradient(145deg, #ffffff, #f6f8fb);
  box-shadow: 0 12px 34px rgba(7, 22, 43, .08);
}

.blog-preview-card small {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-preview-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.16;
}

.blog-preview-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.blog-preview-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255, 122, 0, .12);
  color: var(--ink);
  font-weight: 900;
}

.blog-preview-actions {
  margin-top: 24px;
}

.plan {
  background: var(--white);
}

.plan-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}

.plan-panel {
  padding: clamp(26px, 4vw, 38px);
  box-shadow: none;
}

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

.plan-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-2);
}

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange-2);
  font-weight: 900;
  font-size: 14px;
}

.plan-highlight {
  min-height: 360px;
  display: grid;
  align-content: end;
  padding: 28px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 22, 43, .08), rgba(7, 22, 43, .88)),
    var(--plan-image, url("/assets/Tech Service-gTNe6o1q.png")) center / cover no-repeat;
}

.plan-highlight strong {
  font-size: 38px;
}

.plan-highlight span {
  color: rgba(255, 255, 255, .78);
}

.contact {
  background: var(--ink);
  color: var(--white);
}

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

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

.testimonial-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(7, 22, 43, .08);
}

.testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-card strong {
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
}

.contact-panel {
  padding: 28px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
  color: var(--white);
  box-shadow: none;
}

.contact-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}

.contact-panel p {
  color: rgba(255, 255, 255, .7);
  line-height: 1.55;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .84);
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, .11);
}

.site-footer {
  padding: 34px 22px;
  background: #ffffff;
  color: rgba(11, 27, 51, .72);
  border-top: 1px solid rgba(11, 27, 51, .1);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  max-height: 102px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mobile-only {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    gap: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    justify-content: stretch;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  .menu-toggle::before {
    display: block;
  }

  .site-header[data-open="true"] {
    align-content: start;
    max-height: calc(100vh - 12px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header[data-open="true"] .main-nav,
  .site-header[data-open="true"] .header-actions {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    background: #ffffff;
    border: 1px solid rgba(11, 27, 51, .12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header[data-open="true"] .main-nav {
    max-height: min(56vh, 430px);
    margin-top: 4px;
    padding: 10px;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-header[data-open="true"] .main-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .site-header[data-open="true"] .main-nav a:hover,
  .site-header[data-open="true"] .main-nav a:focus-visible {
    background: var(--paper);
  }

  .site-header[data-open="true"] .header-actions {
    padding: 10px;
    gap: 8px;
  }

  .site-header[data-open="true"] .header-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: 590px;
    background:
      linear-gradient(180deg, rgba(7, 22, 43, .96) 0%, rgba(7, 22, 43, .82) 56%, rgba(7, 22, 43, .7) 100%),
      var(--hero-image, url("/assets/Hero Technician-Bm7sfEZV.png")) center bottom / 520px auto no-repeat,
      var(--ink);
  }

  .hero-inner {
    padding-top: 58px;
  }

  .hero h1 {
    max-width: 540px;
  }

  .access-grid,
  .services-grid,
  .blog-preview-grid,
  .testimonial-grid,
  .plan-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .access-card p {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .service-lightbox {
    padding: 10px;
  }

  .service-lightbox__panel {
    max-height: calc(100vh - 20px);
    padding: 10px;
  }

  .service-lightbox__figure img {
    max-height: calc(100vh - 172px);
  }

  .service-lightbox__button {
    min-width: 0;
    padding: 9px 12px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 84px;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand img {
    width: min(240px, calc(100vw - 96px));
    max-height: 92px;
  }

  .hero {
    min-height: 560px;
    background-position: 44% bottom;
  }

  .hero-inner {
    padding: 42px 18px 46px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .access-actions,
  .section-actions,
  .blog-home-search {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 260px;
    gap: 8px;
  }

  .metric {
    padding: 10px 12px;
  }

  .section {
    padding: 66px 18px;
  }

  .access-strip {
    margin-top: -18px;
    padding: 0 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo {
    width: min(230px, 72vw);
    max-height: 96px;
  }
}
