:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --paper: #f8faf9;
  --panel: #ffffff;
  --teal: #007f78;
  --teal-dark: #005b55;
  --amber: #f2a93b;
  --steel: #d9e1e6;
  --charcoal: #172026;
  --line: #dfe6ea;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: rgba(10, 19, 24, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #08211f;
  background: var(--amber);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.nav a:hover,
.header-call:hover {
  color: #ffffff;
}

.header-call {
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  padding: 112px clamp(18px, 5vw, 72px) 44px;
}

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

.hero-media {
  background: url("assets/phone-repair-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 14, 18, 0.94) 0%, rgba(7, 14, 18, 0.78) 38%, rgba(7, 14, 18, 0.16) 78%),
    linear-gradient(0deg, rgba(7, 14, 18, 0.58), rgba(7, 14, 18, 0.08));
}

.hero-content {
  position: relative;
  width: min(710px, 100%);
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 8vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

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

.hero-copy {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

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

.button.primary {
  color: #06211f;
  background: var(--amber);
}

.button.primary:hover {
  background: #ffc15d;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.85);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 20, 25, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.hero-stats div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #ffffff;
  font-size: 1.25rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.notice-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  color: #ffffff;
  background: var(--charcoal);
}

.notice-band span {
  padding: 18px;
  text-align: center;
  font-weight: 800;
  background: var(--teal-dark);
}

.section,
.split-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(58px, 9vw, 104px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
}

.intro p:last-child,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

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

.icon {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--teal);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(58px, 9vw, 104px);
}

.panel {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
}

.panel.dark {
  color: #ffffff;
  background: var(--charcoal);
}

.panel.light {
  background: #eaf2f1;
  border: 1px solid #ccddda;
}

.steps,
.check-list {
  margin: 26px 0 0;
  padding: 0;
}

.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  margin-top: 22px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #08211f;
  background: var(--amber);
  border-radius: 8px;
  font-weight: 900;
}

.steps strong,
.steps span {
  grid-column: 2;
}

.steps span {
  color: rgba(255, 255, 255, 0.72);
}

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

.check-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid #ccddda;
  font-weight: 800;
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-weight: 800;
}

.contact-details a {
  color: var(--teal-dark);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 127, 120, 0.18);
  border-color: var(--teal);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.quote-result {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f1f7f6;
  border: 1px solid #ccddda;
  border-radius: 8px;
}

.quote-result h3 {
  margin: 0;
}

.quote-option {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #ccddda;
}

.quote-option strong {
  color: var(--teal-dark);
  white-space: nowrap;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: #0b1418;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .header-call {
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding-top: 156px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 14, 18, 0.94) 0%, rgba(7, 14, 18, 0.72) 64%, rgba(7, 14, 18, 0.3) 100%),
      linear-gradient(0deg, rgba(7, 14, 18, 0.62), rgba(7, 14, 18, 0.1));
  }

  .intro,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 180px;
  }

  .nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero-stats,
  .notice-band,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .notice-band span {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }
}
