/* =========================================================
   QuickHomesRepairs — Design Tokens
   Palette: deep navy (trust/trade) + safety-amber (action)
   Display: Oswald (signage/condensed) | Body: Inter | Utility: JetBrains Mono
   Signature element: the "Work Order" ticket card
   ========================================================= */

:root{
  --navy-900:#0B1F33;
  --navy-800:#0F2A45;
  --navy-700:#16344F;
  --navy-600:#1F435F;
  --amber-500:#F2A93B;
  --amber-600:#E8922A;
  --amber-700:#D97C1A;
  --sand-50:#F7F4EE;
  --sand-100:#EFEAE0;
  --steel-500:#5C6B7A;
  --steel-300:#9AA7B2;
  --white:#FFFFFF;
  --ink:#152633;
  --success:#2F9E64;
  --danger:#D64545;

  --font-display:'Oswald', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --radius-sm:6px;
  --radius-md:10px;
  --shadow-soft:0 10px 30px rgba(11,31,51,0.10);
  --shadow-card:0 6px 18px rgba(11,31,51,0.08);
}

/* =========================================================
   Base
   ========================================================= */
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--sand-50);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,.font-display{
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:.02em;
  font-weight:700;
  color:var(--navy-900);
}
.lead-text{
  color:var(--steel-500);
  font-size:1.08rem;
}
.text-amber{color:var(--amber-600) !important;}
.bg-navy{background:var(--navy-900) !important;}
.bg-sand{background:var(--sand-100) !important;}
a{text-decoration:none;}
.eyebrow{
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--amber-600);
  font-weight:600;
}
section{position:relative;}
.section-pad{padding:5.5rem 0;}
@media (max-width:767.98px){
  .section-pad{padding:3.25rem 0;}
}

/* blueprint grid texture, used behind dark sections */
.blueprint-bg{
  background-color:var(--navy-900);
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:36px 36px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-amber{
  background:var(--amber-500);
  border:2px solid var(--amber-500);
  color:var(--navy-900);
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:600;
  padding:.7rem 1.6rem;
  border-radius:var(--radius-sm);
  transition:.2s ease;
}
.btn-amber:hover{
  background:var(--amber-600);
  border-color:var(--amber-600);
  color:var(--navy-900);
  transform:translateY(-2px);
}
.btn-outline-light-custom{
  background:transparent;
  border:2px solid rgba(255,255,255,.55);
  color:var(--white);
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:600;
  padding:.65rem 1.5rem;
  border-radius:var(--radius-sm);
  transition:.2s ease;
}
.btn-outline-light-custom:hover{
  background:rgba(255,255,255,.12);
  border-color:var(--white);
  color:var(--white);
}
.btn-navy{
  background:var(--navy-900);
  border:2px solid var(--navy-900);
  color:var(--white);
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:600;
  padding:.7rem 1.6rem;
  border-radius:var(--radius-sm);
  transition:.2s ease;
}
.btn-navy:hover{background:var(--navy-700); border-color:var(--navy-700); color:var(--white);}

/* =========================================================
   Top utility bar + Navbar
   ========================================================= */
.topbar{
  background:var(--navy-900);
  color:var(--steel-300);
  font-size:.85rem;
  padding:.45rem 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar a{color:var(--steel-300);}
.topbar a:hover{color:var(--amber-500);}
.topbar .divider{opacity:.3; margin:0 .65rem;}

.navbar-qhr{
  background:var(--white);
  padding:.85rem 0;
  transition:.25s ease;
  box-shadow:0 1px 0 rgba(11,31,51,.06);
}
.navbar-qhr.is-scrolled{padding:.5rem 0; box-shadow:var(--shadow-soft);}

.brand-mark{
  display:flex;
  align-items:center;
  gap:.6rem;
}
.brand-mark .icon-box{
  width:42px;height:42px;
  background:var(--navy-900);
  border-radius:var(--radius-sm);
  display:flex;align-items:center;justify-content:center;
  color:var(--amber-500);
  font-size:1.25rem;
  flex-shrink:0;
}
.brand-mark .word{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.25rem;
  color:var(--navy-900);
  line-height:1.05;
  text-transform:uppercase;
}
.brand-mark .word span{color:var(--amber-600);}
.brand-mark .tagline{
  font-family:var(--font-mono);
  font-size:.62rem;
  letter-spacing:.1em;
  color:var(--steel-500);
  text-transform:uppercase;
}

.nav-link-qhr{
  font-family:var(--font-display);
  font-weight:600;
  font-size:.92rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--navy-900) !important;
  padding:.5rem 1rem !important;
  position:relative;
}
.nav-link-qhr.active{color:var(--amber-600) !important;}
.nav-link-qhr.active::after{
  content:"";
  position:absolute;
  left:1rem;right:1rem;bottom:.15rem;
  height:2px;background:var(--amber-500);
}
.nav-link-qhr:hover{color:var(--amber-600) !important;}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  padding:7.5rem 0 5rem;
  overflow:hidden;
}
.hero .badge-pill{
  display:inline-flex;align-items:center;gap:.4rem;
  background:rgba(242,169,59,.12);
  border:1px solid rgba(242,169,59,.4);
  color:var(--amber-500);
  font-family:var(--font-mono);
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.4rem .9rem;
  border-radius:50px;
}
.hero h1{
  color:var(--white);
  font-size:clamp(2.1rem, 4.2vw, 3.4rem);
  line-height:1.12;
}
.hero h1 .hl{color:var(--amber-500);}
.hero p.lead-text-light{
  color:#C9D4DD;
  font-size:1.1rem;
  max-width:520px;
}
.trust-row{
  display:flex;flex-wrap:wrap;gap:1.4rem;
  margin-top:2.4rem;
}
.trust-row .item{
  display:flex;align-items:center;gap:.5rem;
  color:#C9D4DD;font-size:.85rem;
  font-family:var(--font-mono);
}
.trust-row .item i{color:var(--amber-500);}

/* ----- Work Order ticket (signature element) ----- */
.ticket{
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-soft);
  position:relative;
  overflow:hidden;
}
.ticket-head{
  background:var(--navy-900);
  color:var(--white);
  padding:1rem 1.4rem;
  display:flex;justify-content:space-between;align-items:center;
}
.ticket-head .wo-no{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.06em;
  color:var(--amber-500);
}
.ticket-head .wo-title{
  font-family:var(--font-display);
  text-transform:uppercase;
  font-weight:700;
  font-size:1rem;
  letter-spacing:.03em;
}
.ticket-stamp{
  font-family:var(--font-mono);
  font-size:.65rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--amber-500);
  border:1px solid var(--amber-500);
  border-radius:4px;
  padding:.15rem .5rem;
  transform:rotate(3deg);
}
.ticket-body{padding:1.5rem 1.4rem 1.7rem;}
.ticket-perf{
  height:0;
  border-top:2px dashed var(--sand-100);
  position:relative;
  margin:0 1.4rem;
}
.ticket-perf::before,.ticket-perf::after{
  content:"";
  position:absolute;top:-9px;
  width:18px;height:18px;
  background:var(--sand-50);
  border-radius:50%;
}
.ticket-perf::before{left:-1.55rem;}
.ticket-perf::after{right:-1.55rem;}

.form-control-qhr, .form-select-qhr{
  border:1px solid var(--sand-100);
  background:var(--sand-50);
  border-radius:var(--radius-sm);
  padding:.65rem .9rem;
  font-size:.92rem;
}
.form-control-qhr:focus, .form-select-qhr:focus{
  border-color:var(--amber-500);
  box-shadow:0 0 0 3px rgba(242,169,59,.18);
  background:var(--white);
}
label.form-label-qhr{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--steel-500);
  margin-bottom:.3rem;
}

/* =========================================================
   Section headers
   ========================================================= */
.section-head{margin-bottom:3rem;}
.section-head h2{
  font-size:clamp(1.7rem, 3vw, 2.3rem);
  margin-top:.5rem;
}
.section-head.light h2{color:var(--white);}
.section-head.light .lead-text{color:#C9D4DD;}
.divider-amber{
  width:54px;height:4px;background:var(--amber-500);
  border-radius:2px;
}

/* =========================================================
   Service ticket-cards (home + services overview)
   ========================================================= */
.service-card{
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  height:100%;
  padding:2rem 1.6rem;
  transition:.25s ease;
  border-top:3px solid var(--amber-500);
}
.service-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-soft);}
.service-card .num{
  font-family:var(--font-mono);
  font-size:.75rem;
  color:var(--steel-300);
  letter-spacing:.08em;
}
.service-card .icon{
  width:54px;height:54px;
  background:var(--navy-900);
  color:var(--amber-500);
  border-radius:var(--radius-sm);
  display:flex;align-items:center;justify-content:center;
  font-size:1.5rem;
  margin:.7rem 0 1.1rem;
}
.service-card h3{
  font-size:1.15rem;
  margin-bottom:.6rem;
}
.service-card p{color:var(--steel-500); font-size:.92rem; margin-bottom:1rem;}
.service-card .more-link{
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--navy-900);
  font-weight:600;
}
.service-card .more-link i{transition:.2s; }
.service-card:hover .more-link i{transform:translateX(4px);}

/* =========================================================
   Feature / why-choose-us
   ========================================================= */
.feature-item{display:flex; gap:1rem;}
.feature-item .icn{
  width:50px;height:50px;flex-shrink:0;
  background:var(--sand-100);
  color:var(--navy-900);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:1.25rem;
}
.feature-item h4{font-size:1.05rem; margin-bottom:.35rem;}
.feature-item p{color:var(--steel-500); font-size:.9rem; margin:0;}

/* =========================================================
   Process steps (sequential — numbering justified)
   ========================================================= */
.process-step{position:relative; padding-top:.5rem;}
.process-step .step-no{
  font-family:var(--font-display);
  font-size:3rem;
  font-weight:700;
  color:rgba(11,31,51,.08);
  line-height:1;
}
.process-step h4{
  margin-top:-1.6rem;
  font-size:1.05rem;
}
.process-step p{color:var(--steel-500); font-size:.9rem;}

/* =========================================================
   Service area chips
   ========================================================= */
.area-chip{
  display:inline-flex;align-items:center;gap:.4rem;
  background:var(--white);
  border:1px solid var(--sand-100);
  border-radius:50px;
  padding:.45rem 1rem;
  font-size:.85rem;
  color:var(--navy-900);
  margin:.25rem;
}
.area-chip i{color:var(--amber-600); font-size:.8rem;}

/* =========================================================
   Stats counters (about page)
   ========================================================= */
.stat-box{text-align:center;}
.stat-box .num{
  font-family:var(--font-display);
  font-size:clamp(2.2rem,4vw,3rem);
  font-weight:700;
  color:var(--amber-500);
}
.stat-box .lbl{
  font-family:var(--font-mono);
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#C9D4DD;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-card{
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  padding:2.2rem;
  max-width:680px;
  margin:0 auto;
  text-align:center;
}
.testimonial-card .stars{color:var(--amber-500); margin-bottom:1rem;}
.testimonial-card p.quote{font-size:1.05rem; color:var(--navy-900); font-style:italic;}
.testimonial-card .who{
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--steel-500);
  margin-top:1rem;
}
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next{
  width:42px;height:42px;top:50%;transform:translateY(-50%);
  background:var(--navy-900); border-radius:50%; opacity:1;
}
#testimonialCarousel .carousel-control-prev{left:-10px;}
#testimonialCarousel .carousel-control-next{right:-10px;}
@media (max-width:767.98px){
  #testimonialCarousel .carousel-control-prev{left:-4px;}
  #testimonialCarousel .carousel-control-next{right:-4px;}
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner{
  background:linear-gradient(120deg, var(--amber-600), var(--amber-500));
  border-radius:var(--radius-md);
  padding:2.6rem;
  color:var(--navy-900);
}
.cta-banner h3{margin-bottom:.4rem;}
.cta-banner p{color:var(--navy-800); margin-bottom:0;}

/* =========================================================
   Footer
   ========================================================= */
.footer-qhr{
  background:var(--navy-900);
  color:#9FB0BE;
  padding-top:4rem;
}
.footer-qhr h5{
  color:var(--white);
  font-family:var(--font-display);
  text-transform:uppercase;
  font-size:1rem;
  letter-spacing:.04em;
  margin-bottom:1.1rem;
}
.footer-qhr a{color:#9FB0BE;}
.footer-qhr a:hover{color:var(--amber-500);}
.footer-qhr ul{list-style:none; padding:0; margin:0;}
.footer-qhr ul li{margin-bottom:.6rem; font-size:.92rem;}
.footer-qhr .f-contact-item{display:flex; gap:.6rem; margin-bottom:1rem; font-size:.92rem;}
.footer-qhr .f-contact-item i{color:var(--amber-500); margin-top:.2rem;}
.footer-social a{
  width:36px;height:36px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  margin-right:.5rem;
}
.footer-social a:hover{background:var(--amber-500); border-color:var(--amber-500); color:var(--navy-900);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:2.8rem;
  padding:1.2rem 0;
  font-size:.82rem;
  color:#7E90A0;
}

/* =========================================================
   Page (inner) header banner
   ========================================================= */
.page-banner{
  padding:8.5rem 0 4rem;
  position:relative;
}
.page-banner h1{
  color:var(--white);
  font-size:clamp(1.9rem,3.6vw,2.7rem);
}
.breadcrumb-qhr{
  font-family:var(--font-mono);
  font-size:.8rem;
  color:#9FB0BE;
}
.breadcrumb-qhr a{color:#9FB0BE;}
.breadcrumb-qhr a:hover{color:var(--amber-500);}
.breadcrumb-qhr .sep{margin:0 .4rem; color:var(--steel-500);}

/* =========================================================
   About page
   ========================================================= */
.about-img-wrap{position:relative;}
.about-img-wrap img{border-radius:var(--radius-md); box-shadow:var(--shadow-soft);}
.about-img-wrap .floating-badge{
  position:absolute; bottom:-1.4rem; right:-1.2rem;
  background:var(--navy-900); color:var(--white);
  border-radius:var(--radius-md);
  padding:1.1rem 1.4rem;
  box-shadow:var(--shadow-soft);
  text-align:center;
}
.about-img-wrap .floating-badge .num{
  font-family:var(--font-display); color:var(--amber-500);
  font-size:1.9rem; font-weight:700; line-height:1;
}
.about-img-wrap .floating-badge .lbl{
  font-family:var(--font-mono); font-size:.65rem;
  letter-spacing:.06em; text-transform:uppercase;
}
@media (max-width:991.98px){
  .about-img-wrap .floating-badge{right:.5rem;}
}

.value-card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:1.8rem;
  box-shadow:var(--shadow-card);
  height:100%;
}
.value-card .icon{
  width:48px;height:48px;
  background:var(--sand-100);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--navy-900);
  margin-bottom:1rem;
}

.cert-badge{
  display:flex;align-items:center;gap:.7rem;
  background:var(--white);
  border:1px solid var(--sand-100);
  border-radius:var(--radius-sm);
  padding:.9rem 1.1rem;
}
.cert-badge i{color:var(--amber-600); font-size:1.4rem;}
.cert-badge span{font-size:.85rem; color:var(--navy-900); font-weight:600;}

/* =========================================================
   Services page detail sections
   ========================================================= */
.service-detail{padding:4rem 0; border-bottom:1px solid var(--sand-100);}
.service-detail:last-of-type{border-bottom:none;}
.service-detail .tag{
  font-family:var(--font-mono);
  font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--amber-600);
}
.service-detail img{border-radius:var(--radius-md); box-shadow:var(--shadow-card);}
.check-list{list-style:none; padding:0; margin:1.2rem 0 0;}
.check-list li{
  display:flex; gap:.6rem; align-items:flex-start;
  margin-bottom:.65rem; font-size:.94rem; color:var(--ink);
}
.check-list li i{color:var(--success); margin-top:.2rem;}

/* =========================================================
   Contact page
   ========================================================= */
.contact-info-card{
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  padding:1.7rem;
  height:100%;
  border-left:3px solid var(--amber-500);
}
.contact-info-card .icon{
  width:46px;height:46px;
  background:var(--navy-900); color:var(--amber-500);
  border-radius:var(--radius-sm);
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem; margin-bottom:1rem;
}
.contact-info-card h4{font-size:1rem; margin-bottom:.4rem;}
.contact-info-card p{color:var(--steel-500); font-size:.88rem; margin:0;}

.map-wrap{
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  line-height:0;
}
.map-wrap iframe{width:100%; height:100%; min-height:420px; border:0;}

.contact-form-card{
  background:var(--white);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);
  padding:2.2rem;
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.is-visible{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none;}
  html{scroll-behavior:auto;}
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top{
  position:fixed; right:1.4rem; bottom:1.4rem;
  width:46px;height:46px;
  background:var(--navy-900); color:var(--amber-500);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
  box-shadow:var(--shadow-soft);
  opacity:0; visibility:hidden;
  transition:.25s ease;
  z-index:999;
  border:none;
}
.back-to-top.show{opacity:1; visibility:visible;}
.back-to-top:hover{background:var(--amber-500); color:var(--navy-900);}

/* Floating call button (mobile) */
.mobile-call-btn{
  position:fixed; left:1.2rem; bottom:1.2rem;
  background:var(--amber-500); color:var(--navy-900);
  width:54px; height:54px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.3rem; box-shadow:var(--shadow-soft);
  z-index:999;
}
@media (min-width:768px){.mobile-call-btn{display:none;}}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--amber-500);
  outline-offset:2px;
}
