/* ==========================================================================
   FIXIT RIGHT — flagship handyman kit shared design system
   Loaded by every page (home / services / gallery / about / book).
   Bright, friendly, trustworthy trade-service look: blue + amber on white.
   Distinct from the other 3 flagships (dark luxury / light blush / dark
   industrial) — this is the light, punchy, "call us today" archetype.
   Mobile-first, zero horizontal overflow at 344px.
   ========================================================================== */

:root{
  --bg:#ffffff;
  --bg-alt:#f5f8fc;
  --panel:#ffffff;
  --panel-2:#eef3fa;
  --line:rgba(15,23,42,.09);
  --line-strong:rgba(15,23,42,.16);
  --ink:#0f172a;
  --ink-dim:rgba(15,23,42,.68);
  --ink-faint:rgba(15,23,42,.46);
  --blue:#1d6fe0;
  --blue-deep:#12417f;
  --blue-soft:rgba(29,111,224,.09);
  --amber:#f5a524;
  --amber-deep:#c97e0a;
  --shadow:0 24px 60px rgba(15,23,42,.14);
  --shadow-sm:0 10px 26px rgba(15,23,42,.10);
  --display:"Manrope",system-ui,-apple-system,sans-serif;
  --sans:Inter,system-ui,-apple-system,sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; min-width:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  font-family:var(--sans);
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
  width:100%;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
section{ width:100%; }

.wrap{ width:100%; max-width:1200px; margin:0 auto; padding-inline:clamp(20px,4vw,44px); }

/* ---- type helpers ---- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--blue-deep);
}
.eyebrow::before{ content:""; width:22px; height:3px; border-radius:2px; background:var(--amber); display:inline-block; }
.eyebrow.center{ justify-content:center; }
h1,h2,h3{ font-family:var(--display); font-weight:800; letter-spacing:-0.02em; line-height:1.06; color:var(--ink); }
h1 em, h2 em{ font-style:normal; color:var(--blue); }

.sec-head{ max-width:600px; margin:0 auto clamp(28px,4vw,40px); text-align:center; }
.sec-head h2{ font-size:clamp(26px,3.4vw,40px); margin:14px 0 12px; }
.sec-head p{ color:var(--ink-dim); font-size:15px; }

/* ---- buttons ---- */
.btn-solid{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  background:var(--amber); color:#241802; font-weight:800; font-size:14px;
  border:0; border-radius:12px; padding:15px 28px; cursor:pointer;
  box-shadow:0 10px 24px rgba(245,165,36,.35);
  transition:filter .2s ease, transform .2s ease;
}
.btn-solid:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.btn-outline{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  border:2px solid var(--line-strong); border-radius:12px;
  padding:13px 26px; font-size:13.5px; font-weight:700; color:var(--ink);
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.btn-outline:hover{ border-color:var(--blue); color:var(--blue); background:var(--blue-soft); }
.btn-ghost{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--blue); }
.btn-ghost:hover{ color:var(--blue-deep); }

/* ---- top nav ---- */
.site-nav{
  position:sticky; top:0; z-index:40;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px clamp(20px,4vw,44px);
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.brand{ display:flex; align-items:center; gap:11px; font-family:var(--display); font-size:clamp(17px,2vw,20px); font-weight:800; white-space:nowrap; color:var(--ink); }
.brand .mark{ flex:none; width:34px; height:34px; border-radius:10px; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; }
.nav-links{ display:flex; gap:clamp(18px,2.6vw,32px); font-size:14px; font-weight:650; color:var(--ink-dim); }
.nav-links a{ position:relative; padding:4px 0; transition:color .2s ease; }
.nav-links a:hover, .nav-links a.active{ color:var(--blue); }
.nav-links a.active::after{ content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; border-radius:2px; background:var(--amber); }
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--blue); color:#fff; border-radius:10px;
  padding:11px 20px; font-size:13px; font-weight:800; white-space:nowrap;
  box-shadow:0 8px 18px rgba(29,111,224,.3);
  transition:filter .2s ease, transform .2s ease;
}
.nav-cta:hover{ filter:brightness(1.08); transform:translateY(-1px); }

/* ---- trust row ---- */
.trust-row{ display:flex; flex-wrap:wrap; gap:12px 28px; align-items:center; }
.trust{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--ink-dim); }
.trust svg{ color:var(--blue); flex:none; }

/* ---- service card ---- */
.svc-card{
  background:var(--panel); border:1px solid var(--line); border-radius:18px;
  padding:26px 22px; display:flex; flex-direction:column; gap:12px;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.svc-card:hover{ transform:translateY(-4px); border-color:var(--blue); box-shadow:var(--shadow); }
.svc-card .ic{ width:52px; height:52px; border-radius:14px; background:var(--blue-soft); color:var(--blue); display:flex; align-items:center; justify-content:center; }
.svc-card h3{ font-size:17px; }
.svc-card p{ color:var(--ink-dim); font-size:14px; line-height:1.55; }
.svc-card .price{ margin-top:auto; padding-top:10px; font-family:var(--display); font-weight:800; color:var(--blue-deep); font-size:15px; }

/* ---- project / gallery card ---- */
.proj-card{
  position:relative; display:block; border-radius:16px; overflow:hidden;
  aspect-ratio:4/3; border:1px solid var(--line); box-shadow:var(--shadow-sm);
}
.proj-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.proj-card:hover img{ transform:scale(1.06); }
.proj-card .cap{
  position:absolute; left:0; right:0; bottom:0; padding:16px;
  background:linear-gradient(to top, rgba(15,23,42,.82), transparent);
  color:#fff;
}
.proj-card .cat{ font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#ffd889; }
.proj-card h3{ color:#fff; font-size:16px; margin-top:3px; }

/* ---- before/after ---- */
.ba-pair{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.ba-fig{ position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/3; border:1px solid var(--line); }
.ba-fig img{ width:100%; height:100%; object-fit:cover; }
.ba-fig .tag{ position:absolute; top:12px; left:12px; font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; padding:6px 12px; border-radius:999px; background:rgba(15,23,42,.75); color:#fff; }
.ba-fig.after .tag{ background:var(--blue); }

/* ---- forms ---- */
.field{ display:flex; flex-direction:column; gap:7px; }
.field label{ font-size:12.5px; font-weight:700; color:var(--ink-dim); }
.input, .field input, .field select, .field textarea{
  width:100%; background:var(--bg-alt); border:1.5px solid var(--line-strong);
  border-radius:11px; padding:13px 15px; color:var(--ink); font:600 14px var(--sans);
  outline:none; transition:border-color .2s ease, background .2s ease;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--blue); background:#fff; }
.field input::placeholder, .field textarea::placeholder{ color:var(--ink-faint); font-weight:500; }
.field select{ appearance:none; cursor:pointer; }

/* ---- testimonial ---- */
.stars{ display:inline-flex; gap:4px; color:var(--amber); }

/* ---- footer ---- */
.site-foot{ background:var(--ink); color:rgba(255,255,255,.65); padding:clamp(40px,5vw,56px) 0 clamp(24px,3vw,32px); }
.foot-grid{
  display:grid; grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,36px);
  padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,.14); margin-bottom:20px;
}
.foot-brand .brand{ color:#fff; }
.foot-brand p{ font-size:13px; color:rgba(255,255,255,.5); max-width:280px; margin-top:12px; }
.foot-col h4{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.4); margin-bottom:13px; }
.foot-col ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.foot-col a{ font-size:13px; color:rgba(255,255,255,.65); }
.foot-col a:hover{ color:var(--amber); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.foot-bottom span{ font-size:12px; color:rgba(255,255,255,.4); }
.foot-social{ display:flex; gap:10px; }
.foot-social a{ width:33px; height:33px; border-radius:50%; border:1px solid rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.65); }
.foot-social a:hover{ border-color:var(--amber); color:var(--amber); }

/* ---- motion ---- */
@media (prefers-reduced-motion: no-preference){
  .fade-up{ animation:fadeUp .7s ease both; }
  .fade-up.d1{ animation-delay:.08s; }
  .fade-up.d2{ animation-delay:.16s; }
  .fade-up.d3{ animation-delay:.24s; }
}
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:translateY(0);} }

/* ---- shared grids ---- */
.grid-2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,3vw,40px); }
.grid-3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,22px); }
.grid-4{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,2vw,18px); }

@media (max-width:960px){
  .grid-3{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .grid-4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px){
  .nav-links{ display:none; }
  .foot-grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .grid-2{ grid-template-columns:minmax(0,1fr); }
  .ba-pair{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px){
  .grid-3{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:480px){
  .foot-grid{ grid-template-columns:minmax(0,1fr); }
}
