/* ============================================
   I-FixIT — Shared Styles
   Brand: navy #16335B, steel blue #5B84AD
   Display font: Space Grotesk / Body font: Inter
   ============================================ */

:root {
  --navy: #16335B;
  --navy-dark: #0E2440;
  --steel: #5B84AD;
  --steel-light: #E8EFF5;
  --amber: #E8A33D;
  --ink: #1B2430;
  --gray: #5C6470;
  --gray-light: #8A9099;
  --bg: #FFFFFF;
  --surface: #F5F8FB;
  --border: #E1E6EB;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 16px rgba(22, 51, 91, 0.08);
  --shadow-lg: 0 12px 32px rgba(22, 51, 91, 0.14);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--gray); }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
ul { padding-left: 0; list-style: none; margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #C9D6E5; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

/* ---------- Signature bracket rule (from the logo) ---------- */
.bracket-rule {
  display: flex;
  align-items: center;
  gap: 0;
  width: 64px;
  margin: 18px 0 28px;
}
.bracket-rule::before,
.bracket-rule::after {
  content: '';
  width: 2px;
  height: 12px;
  background: var(--steel);
  flex-shrink: 0;
}
.bracket-rule span {
  flex: 1;
  height: 2px;
  background: var(--steel);
}
.section--navy .bracket-rule::before,
.section--navy .bracket-rule::after,
.section--navy .bracket-rule span { background: var(--amber); }
.center .bracket-rule { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand svg { width: 38px; height: auto; }
.brand-word {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-top: -2px;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a.active { color: var(--steel); }
.main-nav a:hover { color: var(--steel); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }
.btn--accent { background: var(--steel); color: #fff; }
.btn--accent:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--navy); }
.btn--ghost:hover { border-color: var(--steel); color: var(--steel); }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 88px;
}
.hero-copy p.lead { font-size: 1.1rem; color: var(--gray); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-weight: 600;
  color: var(--navy);
}
.hero-phone .ico-circle { width: 36px; height: 36px; }
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(22,51,91,0.92);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item { text-align: center; }
.trust-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  color: var(--navy);
}
.trust-item span { font-size: 0.85rem; color: var(--gray); }

/* ---------- Icon circle ---------- */
.ico-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--steel-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ico-circle svg { width: 24px; height: 24px; }
.ico-circle.lg { width: 60px; height: 60px; }
.ico-circle.lg svg { width: 30px; height: 30px; }
.section--navy .ico-circle { background: rgba(255,255,255,0.12); }

/* ---------- Section headings ---------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: 18px; margin-bottom: 8px; font-size: 1.15rem; }
.card p { font-size: 0.95rem; margin-bottom: 14px; }
.card .card-link { font-weight: 600; font-size: 0.9rem; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.service-block:first-of-type { border-top: none; }
.service-block ul { margin-top: 14px; }
.service-block li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray);
  padding: 6px 0;
}
.service-block li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.service-block .closing { margin-top: 16px; font-size: 0.95rem; }

/* ---------- Values list ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 28px; background: var(--surface); border-radius: var(--radius-lg); }

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--ink);
}
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}
.cta-band h3 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #C9D6E5; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { margin: 0; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
}
.form-note { font-size: 0.82rem; color: var(--gray-light); margin-top: 14px; }
.form-success {
  display: none;
  background: var(--steel-light);
  color: var(--navy);
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #B8C4D4; padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-word { color: #fff; }
.footer-brand p { color: #93A2B5; max-width: 320px; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #B8C4D4; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7D8CA0;
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row svg { width: 18px; height: 18px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, var(--steel-light) 0%, #fff 100%);
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero p.lead { font-size: 1.1rem; max-width: 600px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .main-nav ul { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn span.full { display: none; }
  .section { padding: 56px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 48px 1fr; }
  .cta-band { padding: 32px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
    margin: 0;
  }
}

/* ============================================
   Refresh additions
   ============================================ */

/* ---------- Service-area pills ---------- */
.area-band { padding: 40px 0; border-bottom: 1px solid var(--border); }
.area-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--navy);
}
.area-head svg { width: 20px; height: 20px; flex-shrink: 0; }
.area-row { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pill {
  display: inline-flex;
  align-items: center;
  background: var(--steel-light);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}
.area-pill.muted { background: transparent; border: 1px dashed var(--border); color: var(--gray); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { display: flex; gap: 3px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0; font-size: 0.98rem; color: var(--ink); line-height: 1.65; }
.testimonial .author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--steel);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial .author strong { color: var(--navy); font-size: 0.95rem; display: block; }
.testimonial .author span { font-size: 0.82rem; color: var(--gray-light); }
.reviews-cta { text-align: center; margin-top: 36px; }

/* ---------- Hours ---------- */
.hours-list { margin-top: 4px; }
.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 0;
  font-size: 0.95rem;
  color: var(--gray);
}
.hours-list div span:first-child { color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 0 22px; margin: 0; font-size: 0.97rem; }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
}

/* ---------- Brand lockup (monogram + rule + name + tagline) ---------- */
.brand { gap: 11px; }
.brand-mono {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-mono .f { color: var(--steel); }
.brand-rule {
  width: 2px;
  align-self: stretch;
  margin: 2px 0;
  background: var(--border);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-word { line-height: 0.95; }
.brand-word .fix { color: var(--steel); }
.brand-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 3px;
}

/* Footer (reversed on dark) */
.footer-brand .brand-mono { background: #fff; color: var(--navy); }
.footer-brand .brand-mono .f { color: var(--steel); }
.footer-brand .brand-rule { background: rgba(255,255,255,0.18); }
.footer-brand .brand-word .fix { color: var(--steel); }
.footer-brand .brand-tagline { color: #9FB2C9; }
