/* YGS Brothers — Handyman Services
   Design tokens — matched to the gold/dark-ink logo */
:root {
  --navy: #1a1410;
  --navy-dark: #0f0b07;
  --navy-light: #2b2118;
  --orange: #b8912b;
  --orange-dark: #93711f;
  --gold-ink: #2a1f10;
  --gray-50: #faf8f3;
  --gray-100: #f1ebdd;
  --gray-300: #ded0ab;
  --gray-600: #6b6357;
  --gray-900: #221c13;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(26, 20, 16, 0.1);
  --shadow-lg: 0 12px 32px rgba(26, 20, 16, 0.16);
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 800; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.lede { font-size: 1.15rem; color: var(--gray-600); max-width: 640px; }
.section-navy .lede { color: #e7ddc4; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--gold-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}
.brand { display: block; line-height: 1.1; }
.brand-logo { height: 66px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a { font-weight: 600; color: var(--gray-900); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

@media (max-width: 880px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--gray-100); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .header-cta .btn-navy { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.trust-item svg { flex-shrink: 0; }
.stars { color: #ffb020; letter-spacing: 2px; }

.hero-card {
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { margin-bottom: 6px; }
.hero-card .btn-primary { margin-top: 14px; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 56px 0 64px;
}
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--white); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Photo placeholder (swap for <img> once real photos are added) */
.photo-placeholder {
  background: repeating-linear-gradient(135deg, var(--gray-100), var(--gray-100) 10px, var(--gray-50) 10px, var(--gray-50) 20px);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 16px;
}
.photo-placeholder.tall { min-height: 320px; }
.photo-placeholder.short { min-height: 140px; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 881px) and (max-width: 1080px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.service-card svg { color: var(--orange); margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--gray-600); margin-bottom: 0; font-size: 0.95rem; }

.value-card { text-align: left; }
.value-card .eyebrow { margin-bottom: 4px; }

/* City chips / blocks */
.city-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.city-chip {
  background: var(--gray-100);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.city-block { border-bottom: 1px solid var(--gray-100); padding: 28px 0; }
.city-block:last-child { border-bottom: none; }
.city-block h2 { font-size: 1.3rem; }

/* Reviews */
.review-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.review-score { font-size: 2.4rem; font-weight: 800; color: var(--navy); }

/* Before/after */
.ba-item figure { margin: 0; }
.ba-caption { font-weight: 700; margin-top: 10px; color: var(--navy); }

/* Team */
.team-card { display: flex; gap: 18px; align-items: center; }
.avatar-placeholder {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  flex-shrink: 0;
}
.avatar {
  width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.team-card h3 { margin-bottom: 2px; font-size: 1.05rem; }
.team-card .role { color: var(--orange); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Values */
.values-list { display: grid; gap: 20px; }
.values-list .value-row { display: flex; gap: 16px; align-items: flex-start; }
.values-list .value-row .num { font-weight: 800; color: var(--orange); font-size: 1.3rem; min-width: 2ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.info-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.info-list li:last-child { border-bottom: none; }
.info-list strong { display: block; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cabfa9; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.site-footer a { color: #cabfa9; }
.site-footer a:hover { color: var(--orange); }
.footer-logo { height: 64px; width: auto; display: block; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Sticky mobile call bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--white);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  padding: 10px 14px;
  gap: 10px;
}
@media (max-width: 880px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 68px; }
}
.mobile-cta-bar .btn { flex: 1; padding: 12px; font-size: 0.9rem; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--gold-ink); text-align: center; }
.cta-band h2 { color: var(--gold-ink); }
.cta-band .lede { color: rgba(42,31,16,0.8); margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-outline { color: var(--gold-ink); border-color: rgba(42,31,16,0.45); }
.cta-band .btn-navy { color: var(--white); }

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(184, 145, 43, 0.14);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.numbered-list { counter-reset: item; display: grid; gap: 16px; }
.numbered-list li { counter-increment: item; display: flex; gap: 14px; align-items: flex-start; }
.numbered-list li::before {
  content: counter(item);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
