:root {
  --red: #d6202a;
  --red-deep: #a8131c;
  --ink: #151719;
  --graphite: #24272b;
  --steel: #66717c;
  --line: #dde2e7;
  --cloud: #f5f7f8;
  --white: #ffffff;
  --green: #1c7c54;
  --gold: #b8872c;
  --shadow: 0 20px 55px rgba(15, 19, 24, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 226, 231, 0.72);
  backdrop-filter: blur(14px);
}

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

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  color: #34383d;
  font-size: 0.92rem;
  font-weight: 650;
}

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

.main-nav a:hover {
  color: var(--red);
}

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

.ghost-link,
.solid-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 750;
  font-size: 0.92rem;
}

.ghost-link {
  color: var(--ink);
  border: 1px solid var(--line);
}

.solid-link {
  color: var(--white);
  background: var(--red);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 118px clamp(22px, 6vw, 72px) 74px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/photos/workbench.jpg");
  background-size: cover;
  background-position: center 48%;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 15, 18, 0.9) 0%, rgba(12, 15, 18, 0.75) 38%, rgba(12, 15, 18, 0.34) 72%, rgba(12, 15, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 15, 18, 0.38), rgba(12, 15, 18, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.red {
  color: var(--red);
}

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

h1 {
  margin-bottom: 20px;
  max-width: 820px;
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 36px rgba(214, 32, 42, 0.28);
}

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

.button.tertiary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.button:hover,
.solid-link:hover {
  transform: translateY(-1px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 650;
}

.trust-strip {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: -42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 112px;
  padding: 24px;
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.trust-strip span {
  color: var(--steel);
  font-size: 0.95rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) 0;
}

.section-text p {
  color: var(--steel);
  font-size: 1.08rem;
}

.repair-lanes {
  padding-bottom: clamp(48px, 7vw, 86px);
}

.photo-proof {
  padding-bottom: clamp(48px, 7vw, 86px);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: minmax(246px, auto);
  gap: 16px;
}

.proof-card {
  position: relative;
  min-height: 246px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--graphite);
}

.proof-card.large {
  grid-row: span 2;
  min-height: 510px;
}

.proof-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.03);
}

.proof-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(12, 15, 18, 0.82), rgba(12, 15, 18, 0));
}

.proof-card strong,
.proof-card span {
  display: block;
}

.proof-card strong {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.proof-card span {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.shop-photo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.shop-photo-row figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.shop-photo-row img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: var(--cloud);
}

.shop-photo-row figcaption {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: #33383d;
  font-size: 0.92rem;
  font-weight: 760;
}

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

.lane-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lane-card h3 {
  font-size: 1.55rem;
}

.lane-card p {
  color: var(--steel);
}

.mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.mini-list span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: #32373d;
  background: var(--cloud);
  font-size: 0.9rem;
  font-weight: 720;
}

.focus-section {
  padding-bottom: clamp(48px, 7vw, 86px);
}

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

.focus-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 8px;
  overflow: hidden;
}

.focus-card .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.focus-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.04;
}

.focus-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.focus-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.focus-card li {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 720;
}

.focus-card .button {
  width: fit-content;
  margin-top: auto;
}

.focus-photo {
  width: calc(100% + clamp(56px, 8vw, 88px));
  max-width: none;
  height: 230px;
  margin: calc(clamp(28px, 4vw, 44px) * -1) calc(clamp(28px, 4vw, 44px) * -1) 28px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.macbook-card {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(26, 29, 34, 0.92), rgba(78, 16, 22, 0.94)),
    var(--ink);
}

.phone-card {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(214, 32, 42, 0.94), rgba(139, 17, 27, 0.96)),
    var(--red);
}

.phone-card .button.secondary.dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.console-card {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(33, 39, 43, 0.94), rgba(84, 18, 26, 0.95)),
    var(--ink);
}

.button.tertiary.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.symptom-grid span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #33383d;
  background: var(--cloud);
  font-weight: 720;
}

.symptom-grid.wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 34px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--white);
  font-weight: 850;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.service-section {
  border-top: 1px solid var(--line);
}

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

.section-heading p {
  color: var(--steel);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.service-card img {
  width: calc(100% + 48px);
  max-width: none;
  height: 156px;
  margin: -24px -24px 22px;
  object-fit: cover;
  background: var(--graphite);
}

.service-card p {
  color: var(--steel);
}

.service-mark {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.shop-partners {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.shop-partners .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.partner-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

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

.partner-list div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.partner-list strong,
.partner-list span {
  display: block;
}

.partner-list strong {
  margin-bottom: 8px;
}

.partner-list span {
  color: rgba(255, 255, 255, 0.68);
}

.faq-section {
  border-bottom: 1px solid var(--line);
}

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

.faq-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cloud);
}

.faq-grid p {
  color: var(--steel);
}

.process-section {
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 28px;
  border-radius: 8px;
  background: var(--cloud);
}

.process-list span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--graphite);
  font-weight: 900;
}

.process-list p {
  color: var(--steel);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  min-height: 520px;
  color: var(--white);
  background: var(--red);
}

.contact-copy {
  padding: clamp(44px, 7vw, 86px) max(22px, calc((100vw - var(--max)) / 2));
  padding-right: clamp(28px, 5vw, 64px);
  align-self: center;
}

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

.map-card {
  min-height: 420px;
  background: var(--graphite);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(0.25);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(18px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: #0f1113;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a {
  font-weight: 850;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand img {
    width: 128px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-items: center;
    justify-self: end;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

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

  .nav-open .main-nav {
    position: fixed;
    inset: 72px 12px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-open .main-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav-open .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 92vh;
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 15, 18, 0.92) 0%, rgba(12, 15, 18, 0.76) 58%, rgba(12, 15, 18, 0.44) 100%),
      linear-gradient(0deg, rgba(12, 15, 18, 0.4), rgba(12, 15, 18, 0.1));
  }

  .trust-strip,
  .lane-grid,
  .proof-grid,
  .service-grid,
  .faq-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .focus-grid,
  .shop-partners,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .lane-card {
    min-height: auto;
  }

  .proof-card,
  .proof-card.large {
    min-height: 320px;
  }

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

  .focus-card {
    min-height: auto;
  }

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

  .shop-partners {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-copy {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 62px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .contact-actions,
  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

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

  .focus-card .button {
    width: 100%;
  }

  .focus-photo {
    height: 210px;
    margin: -22px -22px 22px;
    width: calc(100% + 44px);
  }

  .shop-photo-row {
    grid-template-columns: 1fr;
  }

  .shop-photo-row img {
    height: 210px;
  }

  .focus-card,
  .lane-card,
  .faq-grid article,
  .service-card,
  .process-list li {
    padding: 22px;
  }

  .site-footer {
    display: grid;
  }

  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: #0f1113;
  }

  .mobile-cta a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    color: var(--white);
    font-weight: 850;
    line-height: 1.12;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mobile-cta .cta-label {
    font-size: 0.82rem;
  }

  .mobile-cta .cta-phone {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .mobile-cta a:first-child {
    background: var(--red);
  }

  .mobile-cta a:last-child {
    border-right: 0;
  }
}
