/* ===========================================================
   Raymore Handyman Pros — Design System
   Palette: hardware-store Americana, not startup cream/clay
   =========================================================== */

:root {
  --navy: #2B4257;
  --navy-dark: #1C2C3A;
  --barn-red: #B23A2E;
  --barn-red-dark: #93291F;
  --goldenrod: #D9A339;
  --ivory: #F6F1E4;
  --ivory-dark: #ECE3CE;
  --charcoal: #2A211B;
  --sage: #6B7A5E;
  --white: #FFFFFF;
  --line: rgba(42, 33, 27, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tag: "IBM Plex Mono", monospace;

  --radius: 6px;
  --shadow-card: 0 6px 24px rgba(28, 44, 58, 0.10);
  --shadow-ticket: 0 10px 30px rgba(28, 44, 58, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-tag);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--barn-red);
  font-weight: 600;
}

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

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-call {
  background: var(--barn-red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(178, 58, 46, 0.35);
}
.btn-call:hover { background: var(--barn-red-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold {
  background: var(--goldenrod);
  color: var(--navy-dark);
}
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-dark);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.logo span {
  font-family: var(--font-tag);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--sage);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a { text-decoration: none; color: var(--charcoal); }
.nav-links a:hover { color: var(--barn-red); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-family: var(--font-tag);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--navy-dark);
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--navy-dark); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .header-phone span.label { display: none; }
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy-dark);
  padding: 12px 16px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--barn-red);
  color: var(--white);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1.05rem;
}
@media (max-width: 720px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 72px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dark) 100%);
  padding: 64px 0 90px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 26px 0 30px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-row li { list-style: none; display: flex; align-items: center; gap: 8px; }
.trust-row { padding: 0; margin-top: 22px; }
.trust-row svg { flex-shrink: 0; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Work-order ticket (signature element) ---------- */
.ticket {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-ticket);
  padding: 30px 30px 26px;
  position: relative;
  transform: rotate(1.2deg);
  border: 1px solid var(--line);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  background: var(--ivory);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px dashed var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.ticket-head .eyebrow { color: var(--sage); }
.ticket-id { font-family: var(--font-tag); font-size: 0.75rem; color: var(--charcoal); opacity: 0.5; }
.ticket h3 { margin-bottom: 4px; }
.ticket-sub { font-size: 0.9rem; color: var(--charcoal); opacity: 0.7; margin-bottom: 18px; }

/* ---------- Form ---------- */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--font-tag);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--ivory);
  color: var(--charcoal);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--goldenrod);
  outline-offset: 1px;
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: 0.78rem; color: var(--charcoal); opacity: 0.6; margin-top: 10px; text-align: center; }

/* ---------- Services grid ---------- */
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-services { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  color: var(--charcoal);
  display: block;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--ivory-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--barn-red);
}
.service-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.service-card p { margin: 0; font-size: 0.92rem; opacity: 0.8; }
.service-card .card-link { font-family: var(--font-tag); font-size: 0.75rem; color: var(--navy); margin-top: 12px; display: block; font-weight: 700; }

/* ---------- Steps / process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--goldenrod);
  -webkit-text-stroke: 1.5px var(--navy-dark);
  color: transparent;
  margin-bottom: 6px;
  font-weight: 700;
}

/* ---------- Band / dark section ---------- */
.band {
  background: var(--navy-dark);
  color: var(--ivory);
}
.band h2, .band h3 { color: var(--white); }
.band .eyebrow { color: var(--goldenrod); }

/* ---------- Areas grid ---------- */
.grid-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .grid-areas { grid-template-columns: repeat(2, 1fr); } }
.area-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--navy-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.area-chip:hover { border-color: var(--barn-red); color: var(--barn-red); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
}
.stars { color: var(--goldenrod); letter-spacing: 2px; margin-bottom: 10px; }
.testi-name { font-family: var(--font-tag); font-size: 0.78rem; opacity: 0.6; margin-top: 12px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-dark);
  color: var(--ivory);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h4 {
  color: var(--goldenrod);
  font-family: var(--font-tag);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer a { text-decoration: none; color: var(--ivory); opacity: 0.85; font-size: 0.92rem; }
footer a:hover { opacity: 1; color: var(--goldenrod); }
.footer-bottom {
  border-top: 1px solid rgba(246,241,228,0.15);
  padding-top: 22px;
  font-size: 0.8rem;
  opacity: 0.6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--ivory-dark);
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-family: var(--font-tag);
  font-size: 0.75rem;
  color: var(--navy);
  opacity: 0.7;
  margin-bottom: 10px;
}
.breadcrumb a { text-decoration: none; color: var(--navy); }

/* ---------- Utility ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.checklist svg { flex-shrink: 0; margin-top: 3px; color: var(--sage); }
.cta-band {
  background: var(--barn-red);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band .btn-gold:hover { transform: translateY(-2px); }
