/* ==========================================================================
   Buki Techcare — Stylesheet
   Design language: "Service Ticket" — every card reads like a repair job
   tag / receipt stub, tying the visual system to the tagline
   "Don't Despair, We Repair." Built mobile-first, system fonts only.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root{
  --green-900:#073D27;
  --green-800:#0A5236;
  --green-700:#0B6B41;
  --green-600:#0E8A56;
  --green-100:#E4F2EA;
  --green-50:#F4FAF6;

  --yellow:#FFC72C;
  --yellow-dark:#E6AE00;
  --yellow-ink:#4A3600;

  --red:#E24C3D;

  --white:#FFFFFF;
  --ink:#10241B;
  --ink-soft:#33473C;
  --muted:#5C7268;
  --line:#D9E8DF;

  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 8px rgba(7,61,39,0.08);
  --shadow-md: 0 12px 30px rgba(7,61,39,0.14);
  --shadow-lg: 0 20px 50px rgba(7,61,39,0.20);

  --container: 1180px;
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4,p{ margin:0; }
:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 2px; }

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

.section{ padding: 64px 0; position:relative; }
.section-alt{ background: var(--green-50); }
.section-dark{ background: var(--green-900); color: var(--white); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12.5px;
  font-weight:700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-dark .eyebrow{ background: rgba(255,255,255,0.1); color: var(--yellow); }

.section-title{
  font-size: clamp(1.5rem, 4.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-900);
  margin-bottom: 12px;
}
.section-dark .section-title{ color: var(--white); }

.section-lead{
  color: var(--muted);
  max-width: 640px;
  font-size: 1.02rem;
}
.section-dark .section-lead{ color: rgba(255,255,255,0.75); }

.section-head{ margin-bottom: 38px; }
.section-head.center{ text-align:center; margin-left:auto; margin-right:auto; }
.section-head.center .section-lead{ margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight:700;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--yellow);
  color: var(--yellow-ink);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover{ background: var(--yellow-dark); box-shadow: var(--shadow-lg); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,0.12); }
.btn-outline-green{
  background: var(--white);
  border-color: var(--green-700);
  color: var(--green-700);
}
.btn-outline-green:hover{ background: var(--green-100); }
.btn-block{ width:100%; }
.btn-sm{ padding: 10px 18px; font-size: .88rem; }

.btn svg{ width:18px; height:18px; flex-shrink:0; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header{
  position: sticky;
  top:0;
  z-index: 500;
  height: var(--header-h);
  display:flex;
  align-items:center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size: 1.15rem;
  color: var(--green-900);
}
.brand img{ width:38px; height:38px; border-radius:9px; }
.brand small{
  display:block;
  font-size: .62rem;
  font-weight:600;
  letter-spacing:.06em;
  color: var(--green-700);
  text-transform:uppercase;
}

.nav-links{
  display:none;
  align-items:center;
  gap: 28px;
  font-weight:600;
  font-size: .95rem;
  color: var(--ink-soft);
}
.nav-links a{ position:relative; padding: 6px 0; }
.nav-links a:hover{ color: var(--green-700); }

.header-actions{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px; height:42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
}
.nav-toggle span{
  display:block; width:20px; height:2px; background: var(--green-900); position:relative;
}
.nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:0; width:20px; height:2px; background:var(--green-900);
}
.nav-toggle span::before{ top:-6px; }
.nav-toggle span::after{ top:6px; }

.mobile-nav{
  position:fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 490;
  padding: 24px 20px 40px;
  overflow-y:auto;
  display:none;
}
.mobile-nav.open{ display:block; }
.mobile-nav a{
  display:block;
  padding: 14px 6px;
  font-weight:700;
  font-size: 1.1rem;
  color: var(--green-900);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn{ margin-top: 22px; }

.whatsapp-btn-header{ display:none; }

@media (min-width: 900px){
  .nav-links{ display:flex; }
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none !important; }
  .whatsapp-btn-header{ display:inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background: linear-gradient(155deg, var(--green-700) 0%, var(--green-900) 78%);
  color: var(--white);
  padding: 48px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  width: 480px; height:480px;
  background: radial-gradient(circle, rgba(255,199,44,0.16), transparent 70%);
  top: -160px; right: -140px;
}
.hero .container{
  display:grid;
  gap: 40px;
  position:relative;
  z-index:1;
}
.hero-copy h1{
  font-size: clamp(1.9rem, 5.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero-copy p.lead{
  margin-top: 16px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}
.hero-badges{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 26px 0 30px;
  max-width: 520px;
}
.hero-badge{
  display:flex;
  align-items:center;
  gap:8px;
  font-size: .82rem;
  font-weight:700;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 10px 12px;
}
.hero-badge .dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--yellow); flex-shrink:0;
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; }

/* Hero ticket card (signature element) */
.ticket{
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position:relative;
  padding: 26px 24px 24px;
  max-width: 420px;
  justify-self: start;
}
.ticket::before, .ticket::after{
  content:"";
  position:absolute;
  width: 26px; height:26px;
  background: var(--green-900);
  border-radius:50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before{ left: -13px; }
.ticket::after{ right: -13px; }
.ticket .tear-line{
  border-top: 2px dashed var(--line);
  margin: 18px 0;
}
.ticket-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.ticket-tag{
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--red);
}
.ticket-id{
  font-size:.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ticket h3{
  font-size: 1.25rem;
  font-weight:800;
  color: var(--green-900);
  margin-top: 10px;
}
.ticket .price{
  font-size: 2rem;
  font-weight:800;
  color: var(--green-700);
  margin-top: 6px;
}
.ticket .price span{ font-size:.95rem; font-weight:600; color: var(--muted); }
.ticket-features{ display:grid; gap:8px; margin-top: 4px; }
.ticket-features li{
  display:flex; align-items:center; gap:8px;
  font-size:.92rem; font-weight:600; color: var(--ink-soft);
}
.ticket-features svg{ width:16px; height:16px; color: var(--green-700); flex-shrink:0; }
.ticket-note{
  font-size:.78rem;
  color: var(--muted);
  margin-top: 14px;
  font-style: italic;
}

@media (min-width: 960px){
  .hero .container{ grid-template-columns: 1.1fr 0.9fr; align-items:center; }
  .hero-badges{ grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Service / Feature Cards ("job tags")
   ========================================================================== */
.grid{ display:grid; gap: 20px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }
@media (min-width: 640px){
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-4{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}

.job-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position:relative;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.job-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-600);
}
.job-card::after{
  content:"";
  position:absolute;
  left:22px; right:22px; bottom:0;
  border-top: 2px dashed var(--line);
}
.job-icon{
  width:52px; height:52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
}
.job-icon svg{ width:26px; height:26px; }
.job-card h3{
  font-size: 1.08rem;
  font-weight:800;
  color: var(--green-900);
  margin-bottom: 8px;
}
.job-card p{ color: var(--muted); font-size: .92rem; margin-bottom: 18px; min-height: 3em; }
.job-card .enquire{
  display:inline-flex; align-items:center; gap:6px;
  font-weight:700; font-size:.88rem; color: var(--green-700);
}
.job-card .enquire svg{ width:15px; height:15px; }
.job-card .enquire:hover{ color: var(--green-900); }

/* ==========================================================================
   Laptop product cards
   ========================================================================== */
.product-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display:flex;
  flex-direction:column;
}
.product-card .thumb{
  background: var(--green-100);
  aspect-ratio: 4/3;
}
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.product-card .body{ padding: 20px 22px 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-card .badge{
  align-self:flex-start;
  font-size:.68rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  background: var(--yellow); color: var(--yellow-ink);
  padding: 4px 10px; border-radius: 999px;
}
.product-card h3{ font-size:1.1rem; font-weight:800; color: var(--green-900); }
.product-card .price-tag{ font-size:1.35rem; font-weight:800; color: var(--green-700); }
.product-card ul{ display:grid; gap:6px; margin: 4px 0 10px; }
.product-card ul li{
  font-size:.88rem; color: var(--ink-soft); display:flex; gap:8px; align-items:flex-start;
}
.product-card ul li::before{ content:"✓"; color: var(--green-700); font-weight:800; }
.product-card .btn{ margin-top:auto; }

/* ==========================================================================
   Repairs list
   ========================================================================== */
.repair-layout{
  display:grid;
  gap: 30px;
}
@media (min-width: 900px){
  .repair-layout{ grid-template-columns: 0.9fr 1.1fr; align-items:center; }
}
.repair-list{ display:grid; gap:10px; }
.repair-list li{
  display:flex; align-items:center; gap:12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-weight:600;
  font-size:.95rem;
  color: var(--ink-soft);
}
.repair-list li svg{ width:18px; height:18px; color: var(--green-700); flex-shrink:0; }
.trust-note{
  margin-top: 22px;
  display:flex;
  gap:12px;
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  border-radius: 12px;
  padding: 16px 18px;
  font-size:.92rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Freight / PNG-wide section
   ========================================================================== */
.freight-grid{ display:grid; gap: 16px; }
@media (min-width: 720px){ .freight-grid{ grid-template-columns: repeat(2,1fr); } }
.freight-item{
  display:flex; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 18px;
}
.freight-item .num{
  font-weight:800; font-size:1.1rem; color: var(--yellow);
  width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,199,44,0.14); flex-shrink:0;
}
.freight-item h4{ font-weight:800; margin-bottom:4px; }
.freight-item p{ color: rgba(255,255,255,0.72); font-size:.9rem; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.value-card{
  background: var(--green-50);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  border: 1px solid var(--line);
}
.value-card .job-icon{ background: var(--white); }
.value-card h3{ font-size:1.02rem; font-weight:800; color: var(--green-900); margin-bottom:6px; }
.value-card p{ font-size:.9rem; color: var(--muted); }

/* ==========================================================================
   Proof / gallery
   ========================================================================== */
.proof-card{
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.proof-card .thumb{ aspect-ratio: 4/3; background: var(--green-100); }
.proof-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.proof-card .cap{
  padding: 14px 16px;
  font-weight:700;
  font-size:.9rem;
  color: var(--green-900);
  border-top: 2px dashed var(--line);
}
.proof-cta{
  margin-top: 30px;
  text-align:center;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list{ display:grid; gap: 12px; max-width: 800px; }
.faq-item{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
}
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 20px;
  background:none;
  border:none;
  text-align:left;
  font-weight:700;
  font-size: .98rem;
  color: var(--green-900);
}
.faq-q .plus{
  width:26px; height:26px; flex-shrink:0;
  border-radius:50%;
  background: var(--green-100);
  color: var(--green-700);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem;
  font-weight:800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item.open .faq-q .plus{
  transform: rotate(45deg);
  background: var(--green-700);
  color: var(--white);
}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition: max-height .25s ease;
}
.faq-a p{
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: .93rem;
}

/* ==========================================================================
   Legal / verification
   ========================================================================== */
.legal-grid{ display:grid; gap:16px; }
@media (min-width:720px){ .legal-grid{ grid-template-columns: 1fr 1fr; } }
.doc-card{
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align:center;
  background: var(--green-50);
}
.doc-card .icon{
  width:56px;height:56px;margin:0 auto 14px;
  border-radius:14px;
  background:var(--white);
  color:var(--green-700);
  display:flex;align-items:center;justify-content:center;
  box-shadow: var(--shadow-sm);
}
.doc-card .icon svg{ width:28px;height:28px; }
.doc-card h4{ font-weight:800; color: var(--green-900); margin-bottom:6px; }
.doc-card p{ font-size:.85rem; color: var(--muted); }
.doc-card .status{
  display:inline-block; margin-top:12px;
  font-size:.72rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  color: var(--green-700); background: var(--green-100);
  padding: 5px 12px; border-radius:999px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{ display:grid; gap: 24px; }
@media (min-width: 900px){ .contact-grid{ grid-template-columns: 1fr 1fr; } }
.contact-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.contact-row{
  display:flex; align-items:center; gap:14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child{ border-bottom:none; }
.contact-row .ico{
  width:42px; height:42px; border-radius:12px;
  background: var(--green-100); color: var(--green-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-row .ico svg{ width:20px; height:20px; }
.contact-row .label{ font-size:.76rem; color: var(--muted); text-transform:uppercase; letter-spacing:.05em; }
.contact-row .value{ font-weight:700; color: var(--ink); }
.contact-actions{ display:grid; gap:10px; margin-top: 20px; }

.form-note{
  background: var(--green-100);
  border-radius: 14px;
  padding: 16px 18px;
  font-size:.88rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  display:flex; gap:10px;
}
.contact-form{ display:grid; gap:14px; }
.contact-form label{ font-size:.85rem; font-weight:700; color: var(--green-900); display:block; margin-bottom:6px; }
.contact-form input, .contact-form textarea{
  width:100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--green-50);
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--green-900);
  color: rgba(255,255,255,0.85);
  padding: 50px 0 26px;
}
.footer-grid{
  display:grid; gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 720px){ .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.15rem; color:var(--white); }
.footer-brand img{ width:34px; height:34px; border-radius:8px; }
.footer-tag{ margin-top: 10px; color: var(--yellow); font-weight:700; font-size:.9rem; }
.footer-desc{ margin-top:12px; font-size:.88rem; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-col h5{ font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color: var(--white); margin-bottom:14px; }
.footer-col ul{ display:grid; gap:10px; }
.footer-col a{ font-size:.9rem; color: rgba(255,255,255,0.7); }
.footer-col a:hover{ color: var(--yellow); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; align-items:center;
  font-size: .82rem; color: rgba(255,255,255,0.55);
}
.footer-disclaimer{
  font-size: .78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  max-width: 760px;
  font-style: italic;
}

/* ==========================================================================
   Floating buttons
   ========================================================================== */
.fab-wrap{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 600;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 10px;
}
.fab{
  width:56px; height:56px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg);
  border: none;
}
.fab-whatsapp{
  background: var(--green-700);
  color: var(--white);
}
.fab-whatsapp svg{ width:28px; height:28px; }
.fab-top{
  width:44px; height:44px;
  background: var(--white);
  color: var(--green-700);
  border: 1px solid var(--line);
  opacity:0;
  pointer-events:none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.fab-top.visible{ opacity:1; pointer-events:auto; transform:none; }
.fab-top svg{ width:20px; height:20px; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.mt-lg{ margin-top: 40px; }
.text-center{ text-align:center; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html{ scroll-behavior:auto; }
}
