/* ============================================================
   Starkey Handyman — stylesheet
   Palette: deep navy + warm amber accent
   ============================================================ */

:root {
  --navy: #16233a;
  --navy-light: #1f3252;
  --amber: #f5a623;
  --amber-dark: #d98c0f;
  --text: #2b2f36;
  --muted: #5c6470;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(22, 35, 58, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.25;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

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

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--amber-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--amber);
}

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

.logo-mark {
  height: 90px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 24px;
  margin-right: 5%;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.13rem;
  white-space: nowrap;
}

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

.btn-header {
  background: var(--amber);
  color: var(--navy);
  padding: 10px 18px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--amber-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 96px 0;
}

.hero-inner {
  max-width: 760px;
}

.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: "\2713";
  color: var(--amber);
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--amber);
}

.section-alt .card,
.section-contact .card {
  background: #fff;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* ---------- Service area ---------- */
.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.area-list li {
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
}

.area-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step {
  text-align: center;
  padding: 28px 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.section-contact {
  background: var(--bg-alt);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 24px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-big {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-hours {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 32px 0;
  text-align: center;
  font-size: 0.95rem;
}

.footer-inner p {
  margin-bottom: 8px;
}

.footer-small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  /* Prevent any horizontal overflow from pushing the page wide */
  html,
  body {
    overflow-x: hidden;
  }

  .nav {
    display: none;
  }

  .header-inner {
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-mark {
    height: 66px;
  }

  .btn-header {
    font-size: 0.85rem;
    padding: 9px 14px;
    white-space: nowrap;
  }

  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }

  .contact-big {
    font-size: 1.05rem;
    word-break: break-word;
  }
}
