:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-alt: #e9eeeb;
  --ink: #0d1518;
  --ink-soft: #172327;
  --muted: #59656f;
  --line: #d7ddd5;
  --teal: #15998f;
  --teal-bright: #1fb5a8;
  --teal-dark: #0b5652;
  --amber: #f4a62a;
  --amber-dark: #a96412;
  --red: #b42318;
  --shadow: 0 18px 44px rgba(13, 21, 24, 0.14);
  --shadow-tight: 0 8px 20px rgba(13, 21, 24, 0.10);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

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

h1 {
  max-width: 760px;
  font-size: 5.25rem;
  font-weight: 900;
}

h2 {
  font-size: 2.7rem;
  font-weight: 900;
}

h3 {
  font-size: 1.1rem;
  font-weight: 900;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(42vw, 520px);
  height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--amber));
  content: "";
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 236px;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand-name span:last-child {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(31, 181, 168, 0.10);
  border-color: rgba(31, 181, 168, 0.20);
  color: var(--teal);
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-tight);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.button.accent {
  background: var(--teal-dark);
}

.button.warning {
  background: var(--amber);
  color: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(690px, calc(100vh - 132px));
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.95) 0%, rgba(13, 21, 24, 0.75) 42%, rgba(13, 21, 24, 0.28) 78%),
    url("img/repair-bench-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal-bright), var(--amber));
  content: "";
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 74px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: var(--teal-bright);
  content: "";
}

.eyebrow.dark {
  color: var(--amber-dark);
}

.eyebrow.dark::before {
  background: var(--teal-dark);
}

.hero-copy {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
  margin-top: 26px;
}

.hero-chips span {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(13, 21, 24, 0.44);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.trust-strip {
  background: var(--ink);
  border-bottom: 0;
  color: #fff;
}

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

.trust-item {
  position: relative;
  padding: 24px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-link {
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.trust-link:hover {
  background: rgba(31, 181, 168, 0.12);
}

.trust-link::after {
  position: absolute;
  top: 22px;
  right: 18px;
  color: var(--amber);
  font-size: 1.05rem;
  font-weight: 900;
  content: ">";
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.section {
  padding: 76px 0;
}

.section.tight {
  padding: 46px 0;
}

.section.alt {
  background: linear-gradient(180deg, #edf2ee 0%, #f7f5ef 100%);
}

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section.dark p,
.section.dark .muted {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section-head h2 {
  max-width: 560px;
}

.section-head p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.media-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.media-feature.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 21, 24, 0.14);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  content: "";
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.brand-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brand-badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(13, 21, 24, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 181, 168, 0.08), transparent 50%),
    var(--surface);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 1px 0 rgba(13, 21, 24, 0.05);
}

.card,
.price-card,
.notice,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card,
.price-card,
.notice {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.card::before,
.price-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-bright), var(--amber));
  content: "";
}

.card {
  box-shadow: 0 1px 0 rgba(13, 21, 24, 0.05);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.card:hover {
  border-color: rgba(21, 153, 143, 0.35);
  box-shadow: var(--shadow-tight);
  transform: translateY(-2px);
}

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

.service-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-right: 2px solid rgba(31, 181, 168, 0.24);
  border-bottom: 2px solid rgba(244, 166, 42, 0.42);
  content: "";
}

.service-card h3 {
  margin-top: 18px;
  font-size: 1.22rem;
}

.price-card {
  background:
    linear-gradient(135deg, rgba(31, 181, 168, 0.08), transparent 44%),
    var(--surface);
}

.card h3,
.price-card h3 {
  margin-bottom: 10px;
}

.card p,
.price-card p {
  color: var(--muted);
}

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

.card-link::after {
  margin-left: 8px;
  content: ">";
}

.card-link:hover {
  color: var(--teal);
}

.price {
  display: block;
  margin: 14px 0;
  color: var(--teal-dark);
  font-size: 1.65rem;
  font-weight: 900;
}

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

.list li {
  position: relative;
  padding-left: 22px;
}

.list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
  content: "";
}

.banner {
  padding: 30px 0;
  background:
    linear-gradient(135deg, rgba(31, 181, 168, 0.20), transparent 38%),
    var(--teal-dark);
  color: #fff;
}

.banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.banner p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  overflow: hidden;
  padding: 72px 0 54px;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.94) 0%, rgba(13, 21, 24, 0.74) 42%, rgba(13, 21, 24, 0.24) 82%),
    url("img/repair-bench-hero.png");
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.01);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 21, 24, 0.08), rgba(13, 21, 24, 0.28));
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

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

.page-hero.hero-repairs::before {
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.95) 0%, rgba(13, 21, 24, 0.76) 42%, rgba(13, 21, 24, 0.28) 82%),
    url("img/workshop-intake.png");
  background-position: center right;
}

.page-hero.hero-bios::before {
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.96) 0%, rgba(13, 21, 24, 0.78) 42%, rgba(13, 21, 24, 0.24) 82%),
    url("img/bios-repair-hero.png");
  background-position: center right;
}

.page-hero.hero-board::before {
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.96) 0%, rgba(13, 21, 24, 0.78) 42%, rgba(13, 21, 24, 0.22) 82%),
    url("img/board-repair-hero.png");
  background-position: center right;
}

.page-hero.hero-laptops::before {
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.90) 0%, rgba(13, 21, 24, 0.64) 44%, rgba(13, 21, 24, 0.20) 82%),
    url("img/refurbished-laptops-hero.png");
  background-position: center right;
}

.page-hero.hero-business::before {
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.95) 0%, rgba(13, 21, 24, 0.74) 42%, rgba(13, 21, 24, 0.22) 82%),
    url("img/business-it-hero.png");
  background-position: center right;
}

.page-hero.hero-book::before,
.page-hero.hero-proof::before {
  background-image:
    linear-gradient(90deg, rgba(13, 21, 24, 0.95) 0%, rgba(13, 21, 24, 0.74) 42%, rgba(13, 21, 24, 0.26) 82%),
    url("img/mail-in-laptops.png");
  background-position: center right;
}

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

.breadcrumb {
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f3ef;
  color: var(--ink);
  font-size: 0.88rem;
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.form-panel {
  padding: 26px;
}

form {
  display: grid;
  gap: 24px;
}

fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 2px;
  font-size: 1.05rem;
  font-weight: 900;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c6cdc6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

input[type="range"] {
  padding: 0;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

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

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-status.is-pending,
.form-status.is-error {
  display: block;
}

.form-status.is-pending {
  background: #e3efed;
  color: var(--teal-dark);
}

.form-status.is-error {
  background: #f7dedb;
  color: var(--red);
}

.hidden-field {
  display: none;
}

.notice {
  border-left: 5px solid var(--amber);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
}

.product-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e3efed;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.badge.amber {
  background: #f4dfbf;
  color: #68410d;
}

.muted {
  color: var(--muted);
}

.footer {
  padding: 46px 0 28px;
  background: linear-gradient(135deg, #0d1518 0%, #122126 72%, #0b5652 150%);
  color: #fff;
}

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

.footer h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.footer p,
.footer small {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 36px 0 12px;
  font-size: 1.55rem;
}

.legal-content h3 {
  margin: 24px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 8px;
}

.contact-method {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.contact-method strong {
  color: var(--teal-dark);
  font-size: 1.08rem;
}

.contact-method .button {
  width: fit-content;
  margin-top: auto;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .header-actions .button.secondary {
    display: none;
  }

  .trust-grid,
  .grid.four,
  .grid.three,
  .grid.two,
  .split,
  .media-feature,
  .media-feature.reverse,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    gap: 24px;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    min-height: min(640px, calc(100vh - 122px));
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(13, 21, 24, 0.94) 0%, rgba(13, 21, 24, 0.78) 58%, rgba(13, 21, 24, 0.52) 100%),
      url("img/repair-bench-hero.png");
    background-position: center right;
  }

  .page-hero {
    min-height: 390px;
    padding: 58px 0 46px;
  }

  .page-hero::before,
  .page-hero.hero-repairs::before,
  .page-hero.hero-bios::before,
  .page-hero.hero-board::before,
  .page-hero.hero-laptops::before,
  .page-hero.hero-business::before,
  .page-hero.hero-book::before,
  .page-hero.hero-proof::before {
    background-image:
      linear-gradient(180deg, rgba(13, 21, 24, 0.94) 0%, rgba(13, 21, 24, 0.80) 58%, rgba(13, 21, 24, 0.58) 100%),
      var(--mobile-hero-image);
    background-position: center right;
  }

  .page-hero {
    --mobile-hero-image: url("img/repair-bench-hero.png");
  }

  .page-hero.hero-repairs {
    --mobile-hero-image: url("img/workshop-intake.png");
  }

  .page-hero.hero-bios {
    --mobile-hero-image: url("img/bios-repair-hero.png");
  }

  .page-hero.hero-board {
    --mobile-hero-image: url("img/board-repair-hero.png");
  }

  .page-hero.hero-laptops {
    --mobile-hero-image: url("img/refurbished-laptops-hero.png");
  }

  .page-hero.hero-business {
    --mobile-hero-image: url("img/business-it-hero.png");
  }

  .page-hero.hero-book,
  .page-hero.hero-proof {
    --mobile-hero-image: url("img/mail-in-laptops.png");
  }

  .brand {
    min-width: 176px;
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-name {
    gap: 5px;
    font-size: 1rem;
  }

  .nav-wrap {
    gap: 10px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head,
  .banner .container,
  .footer-bottom {
    display: grid;
    align-items: start;
  }

  .trust-grid,
  .grid.four,
  .grid.three,
  .grid.two,
  .split,
  .media-feature,
  .media-feature.reverse,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .brand-badges {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .header-actions .button {
    min-width: 96px;
    padding: 0 12px;
  }

  .form-panel {
    padding: 18px;
  }
}
