/* ==========================================================================
   TrueRepair - shared stylesheet (owned by orchestrator)
   Tokens + shared chrome (top bar / header / nav / hero / footer) + motion.
   Page subagents may ONLY append page-scoped rules below, each under a
   banner comment whose text is "page:" + the page slug. Never edit this block.
   ========================================================================== */

:root {
  /* palette */
  --orange:        #eaa338;
  --orange-dark:   #d8912a;
  --orange-soft:   #f2b552;
  --near-black:    #262523;
  --dark:          #2f2d2b;   /* footer / dark bands */
  --topbar:        #37352f;   /* top utility bar */
  --card-dark:     #2f2f2f;   /* dark "02" number card */
  --text:          #2b2b2b;   /* headings */
  --body:          #6a6a6a;   /* body copy */
  --muted:         #9a9a9a;
  --line:          #e6e4e0;
  --bg:            #ffffff;
  --bg-soft:       #f7f6f3;   /* light textured section */
  --white:         #ffffff;

  /* type */
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Mulish", "Segoe UI", Arial, sans-serif;

  /* rhythm */
  --maxw: 1200px;
  --radius: 4px;
  --shadow: 0 12px 34px rgba(0,0,0,.10);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.08);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text); margin: 0; line-height: 1.2; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 200; }

/* ---------- shared building blocks ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); font-size: .78rem;
}
.eyebrow img { width: 20px; height: 20px; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--text); margin: 10px 0 0; }
.dashes { display: inline-block; height: 3px; width: 46px; margin: 16px 0 0;
  background-image: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.btn-primary { background: var(--orange); color: #1f1d1a; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--near-black); }
.wrench-ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft);
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.012) 0 1px, transparent 1px 26px); }

/* ---------- top utility bar ---------- */
.topbar { background: var(--topbar); color: #e9e6df; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; color: #e9e6df; }
.topbar .tb-right { display: inline-flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar svg { width: 15px; height: 15px; fill: var(--orange); flex: none; }

/* ---------- header / nav ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand img { height: 90px; width: auto; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--text); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange); color: #1f1d1a; font-family: var(--font-head); font-weight: 700;
  padding: 14px 22px; border-radius: var(--radius); letter-spacing: .04em; display: inline-flex; gap: 8px; align-items: center;
  transition: background .25s ease, transform .2s ease; }
.nav-cta:hover { background: var(--orange-dark); transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- inner page hero (About / Services / Contact) ---------- */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(234,163,56,.55) 0%, rgba(38,35,30,.72) 100%); }
.page-hero h1 { position: relative; z-index: 2; color: #fff; font-size: 3.4rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #d7d3cc; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-grid h3 { color: var(--orange); font-size: 1.5rem; font-weight: 700; margin: 0; }
.footer-grid .f-sub { color: #fff; font-weight: 700; font-family: var(--font-head); font-size: .95rem; margin: 4px 0 14px; }
.footer-grid p { color: #b9b5ad; font-size: .92rem; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 6px; }
.footer-col .dashes { margin: 6px 0 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #cfcbc3; font-size: .95rem; transition: color .2s ease; }
.footer-links a:hover, .footer-links a.active { color: var(--orange); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: #cfcbc3; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--orange); flex: none; }
.social { display: flex; gap: 14px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: #46433d; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.social a:hover { background: var(--orange); }
.social img { width: 18px; height: 18px; }
.footer-bar { background: var(--orange); color: #2a2622; text-align: center; padding: 14px; font-size: .9rem; font-weight: 600; font-family: var(--font-head); }

/* ==========================================================================
   MOTION - plain CSS only. Reveal animations always RUN and always end
   visible (fill-mode both); nothing is hidden by a static stylesheet rule.
   ========================================================================== */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes fadeRight{ from { opacity: 0; transform: translateX(30px);  } to { opacity: 1; transform: none; } }
@keyframes floatY   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.reveal    { animation: fadeUp .8s ease both; }
.reveal-in { animation: fadeIn 1s ease both; }
.reveal-l  { animation: fadeLeft .8s ease both; }
.reveal-r  { animation: fadeRight .8s ease both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
.float { animation: floatY 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- responsive shared ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 92px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav { gap: 14px; }
  .page-hero h1 { font-size: 2.3rem; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
}
@media (max-width: 560px) {
  .topbar { font-size: .78rem; }
  .topbar-inner { justify-content: center; }
  .brand img { height: 68px; }
}

/* page:home */

/* ---------- hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(234,163,56,.55) 0%, rgba(38,35,30,.78) 78%); }
.hero-inner { position: relative; z-index: 2; padding: 120px 0; max-width: 700px; }
.hero-inner h1 { color: #fff; font-size: 3rem; font-weight: 800; line-height: 1.15; margin: 0 0 18px; }
.hero-inner h1 .orange { color: var(--orange); }
.hero-sub { color: #f2f0ec; font-size: 1.05rem; font-family: var(--font-body); max-width: 520px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.about-media { position: relative; max-width: 420px; padding: 20px 40px 70px 0; }
.about-photo { border-radius: var(--radius); width: 300px; height: 335px; object-fit: cover; position: relative; z-index: 2; }
.about-dots { position: absolute; top: -10px; right: 10px; width: 90px; height: 90px; z-index: 1; }
.about-mower { position: absolute; right: -20px; bottom: 46px; width: 193px; height: 136px; z-index: 3; }
.about-badge { position: absolute; left: 0; bottom: 0; z-index: 4; background: var(--orange); color: #1f1d1a;
  display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.about-badge img { width: 32px; height: 32px; }
.about-badge span { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.about-copy .eyebrow { margin-bottom: 4px; }
.about-copy p { margin-top: 22px; max-width: 520px; }
.check-row { display: flex; align-items: center; gap: 12px; margin: 14px 0; font-family: var(--font-head); font-weight: 600; color: var(--text); font-size: .96rem; }
.check-row img { width: 32px; height: 32px; flex: none; }
.about-copy .btn { margin-top: 22px; }

/* ---------- services ---------- */
.services-sec { position: relative; background: var(--bg-soft); overflow: hidden; }
.services-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .06; z-index: 0; }
.services-inner { position: relative; z-index: 1; }
.services-head { max-width: 640px; margin: 0 auto; text-align: center; }
.services-head p { margin-top: 14px; }
.eyebrow.center { justify-content: center; width: 100%; }
.services-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.svc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; padding-bottom: 24px; }
.svc-media { position: relative; }
.svc-media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.svc-icon { position: absolute; left: 20px; bottom: -24px; width: 72px; height: 72px; background: var(--orange);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); z-index: 2; }
.svc-icon img { width: 34px; height: 34px; }
.svc-tab { position: absolute; right: 0; top: 0; background: var(--orange); color: #1f1d1a; writing-mode: vertical-rl;
  text-orientation: mixed; font-family: var(--font-head); font-weight: 700; font-size: .82rem; padding: 16px 10px;
  letter-spacing: .04em; transition: background .2s ease; }
.svc-tab:hover { background: var(--orange-dark); }
.svc-card h3 { font-size: 1.15rem; margin: 46px 26px 10px; }
.svc-card p { margin: 0 26px; font-size: .92rem; }

/* ---------- service plans band ---------- */
.plans-band { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center; }
.plans-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.plans-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(234,163,56,.88) 0%, rgba(38,35,30,.85) 62%, rgba(38,35,30,.6) 100%); }
.plans-hook { position: absolute; top: 0; left: 46%; width: 59px; height: 80px; z-index: 3; }
.plans-inner { position: relative; z-index: 2; padding: 70px 0; }
.section-title.light, p.light { color: #fff; }
.plans-copy p.light { max-width: 460px; margin: 20px 0 26px; opacity: .92; }

/* ---------- why choose us ---------- */
.why-sec { position: relative; overflow: hidden; }
.why-tracks { position: absolute; right: -40px; top: 40%; width: 500px; height: 500px; object-fit: contain; opacity: .12; z-index: 0; }
.why-sec .container { position: relative; z-index: 1; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.why-card { padding: 40px 34px; border-radius: var(--radius); color: #fff; position: relative; }
.why-orange { background: var(--orange); }
.why-dark { background: var(--card-dark); }
.why-num { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; margin-bottom: 14px; }
.why-icon { width: 54px; height: 54px; margin-bottom: 18px; }
.why-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.why-card p { color: rgba(255,255,255,.92); font-size: .92rem; margin: 0; }

/* ---------- testimonials ---------- */
.testi-band { position: relative; overflow: hidden; padding: 84px 0; }
.testi-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.testi-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(24,22,19,.88); }
.testi-inner { position: relative; z-index: 2; }
.testi-inner .services-head { max-width: 640px; }
.testi-carousel { position: relative; margin-top: 50px; padding: 0 60px; }
.testi-swiper { overflow: hidden; }
.testi-swiper .swiper-slide { height: auto; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 40px 34px; position: relative; height: 100%; }
.testi-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; padding: 0; border: none; border-radius: 2px; cursor: pointer;
  background: var(--orange); color: #1f1d1a; display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease; }
.testi-nav:hover { background: var(--orange-dark); }
.testi-nav svg { width: 16px; height: 16px; fill: currentColor; }
.testi-prev { left: 0; }
.testi-next { right: 0; }
.testi-next svg { transform: rotate(180deg); }
.quote-mark { font-family: var(--font-head); font-size: 3rem; color: var(--orange); font-weight: 800; line-height: 1; margin-bottom: 6px; }
.testi-strong { font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 1.02rem; }
.testi-name { font-family: var(--font-head); font-weight: 700; color: var(--text); margin-top: 16px; }
.testi-stars { width: 120px; height: 20px; margin-top: 6px; }

/* ---------- recent work ---------- */
.work-sec .services-head { margin-bottom: 20px; }
.work-swiper { margin-top: 40px; overflow: hidden; }
.work-swiper .swiper-wrapper { transition-timing-function: linear; }
.work-swiper img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner h1 { font-size: 2.2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { margin: 0 auto 40px; }
  .services-cards { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .plans-hook { display: none; }
  .testi-carousel { padding: 0 44px; }
  .why-tracks { display: none; }
}

/* card ornaments (orchestrator) - source icon-border frame + chevron arrow on service cards */
.svc-icon { position: absolute; }
.svc-icon::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 93px; height: 58px; z-index: -1; background: url(orig/11.png) no-repeat center/contain; opacity: .9; pointer-events: none; }
.svc-media::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 20px; height: 30px; z-index: 3;
  background: url(orig/13.png) no-repeat center/contain; opacity: .85; pointer-events: none; }
