/* ===========================================================
   Friendly Wing Laptop Service — shared design system
   Token system: bg / surface / text / accent / whatsapp / brand
=========================================================== */
:root{
  --bg:#0B1420;
  --bg-alt:#0F1A2A;
  --surface:#152238;
  --surface-2:#1B2C47;
  --text:#EAF1F8;
  --text-dim:#95A8BF;
  --border:rgba(255,255,255,.09);
  --accent:#2F8FE0;
  --accent-soft:rgba(47,143,224,.14);
  --amber:#FFB020;
  --whatsapp:#25D366;
  --whatsapp-dark:#128C4A;
  --brand:#2F8FE0; /* overridden per page */
  --radius:14px;
  --font-display:'Sora',sans-serif;
  --font-body:'Inter',sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  padding-top:64px; /* space for sticky bar */
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{font-family:var(--font-display);font-weight:700;letter-spacing:-.01em;}
.container{max-width:640px;margin:0 auto;padding:0 18px;}

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

/* ---------------- Sticky top booking bar ---------------- */
.topbar{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(11,20,32,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar-inner{
  max-width:640px;margin:0 auto;
  display:flex;align-items:center;gap:10px;
  padding:9px 14px;
}
.topbar-logo{display:flex;align-items:center;gap:8px;flex:1;min-width:0;}
.topbar-logo img{height:30px;width:30px;border-radius:8px;object-fit:cover;background:#fff;}
.topbar-logo span{
  font-family:var(--font-display);font-size:13px;font-weight:700;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.topbar-cta{
  display:flex;align-items:center;gap:6px;
  background:var(--whatsapp);color:#06301A;
  font-weight:700;font-size:13px;
  padding:9px 12px;border-radius:999px;
  white-space:nowrap;border:none;
}
.topbar-cta svg{width:16px;height:16px;flex-shrink:0;}
.topbar-call{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  background:var(--surface-2);border:1px solid var(--border);
  flex-shrink:0;
}
.topbar-call svg{width:16px;height:16px;color:var(--accent);}

/* ---------------- Quick booking form (in-page, top) ---------------- */
.booking-panel{
  background:linear-gradient(180deg,var(--surface),var(--bg-alt));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  margin:14px 0 22px;
  position:relative;
  overflow:hidden;
}
.booking-panel::before{
  content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:linear-gradient(90deg,var(--brand),var(--whatsapp));
}
.booking-panel h2{font-size:16px;margin-bottom:3px;}
.booking-panel .sub{color:var(--text-dim);font-size:12.5px;margin-bottom:14px;}
.booking-form{display:flex;flex-direction:column;gap:10px;}
.booking-form label{font-size:11.5px;color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;display:block;}
.booking-form input,.booking-form select,.booking-form textarea{
  width:100%;
  background:var(--bg-alt);
  border:1px solid var(--border);
  color:var(--text);
  border-radius:9px;
  padding:11px 12px;
  font-size:14.5px;
  font-family:var(--font-body);
}
.booking-form input::placeholder,.booking-form textarea::placeholder{color:#5D7085;}
.booking-form .row{display:flex;gap:10px;}
.booking-form .row > div{flex:1;}
.submit-wa{
  margin-top:4px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:var(--whatsapp);color:#06301A;
  font-weight:700;font-size:15px;
  padding:13px 16px;border:none;border-radius:10px;
  cursor:pointer;
  transition:transform .15s ease;
}
.submit-wa:active{transform:scale(.98);}
.submit-wa svg{width:19px;height:19px;}
.form-note{font-size:11px;color:var(--text-dim);text-align:center;margin-top:2px;}

/* ---------------- Hero ---------------- */
.hero{padding:26px 0 8px;}
.badge-row{display:flex;align-items:center;gap:8px;margin-bottom:14px;flex-wrap:wrap;}
.brand-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--accent-soft);
  border:1px solid rgba(47,143,224,.35);
  color:var(--brand);
  font-size:12px;font-weight:700;
  padding:5px 11px;border-radius:999px;
}
.trust-badge{
  display:inline-flex;align-items:center;gap:5px;
  background:var(--surface);border:1px solid var(--border);
  font-size:11.5px;color:var(--text-dim);
  padding:5px 10px;border-radius:999px;
}
.hero h1{font-size:26px;line-height:1.22;margin-bottom:10px;}
.hero h1 em{font-style:normal;color:var(--brand);}
.hero p.lead{color:var(--text-dim);font-size:14.5px;margin-bottom:6px;}

/* ---------------- Sections ---------------- */
section{padding:26px 0;}
.section-title{font-size:20px;margin-bottom:4px;}
.section-sub{color:var(--text-dim);font-size:13px;margin-bottom:16px;}
.eyebrow{
  font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--amber);margin-bottom:6px;
}

/* ---------------- Repair ticket cards (signature element) ---------------- */
.ticket-grid{display:flex;flex-direction:column;gap:12px;}
.ticket{
  position:relative;
  background:var(--surface);
  border:1.5px dashed rgba(255,255,255,.18);
  border-radius:12px;
  padding:14px 16px 14px 18px;
  display:flex;align-items:center;gap:14px;
}
.ticket::before,.ticket::after{
  content:"";position:absolute;top:50%;transform:translateY(-50%);
  width:16px;height:16px;background:var(--bg);border-radius:50%;
}
.ticket::before{left:-8px;}
.ticket::after{right:-8px;}
.ticket-icon{
  width:42px;height:42px;flex-shrink:0;border-radius:10px;
  background:var(--accent-soft);
  display:flex;align-items:center;justify-content:center;
  color:var(--brand);
}
.ticket-icon svg{width:22px;height:22px;}
.ticket-body h3{font-size:14.5px;margin-bottom:2px;}
.ticket-body p{font-size:12.5px;color:var(--text-dim);}

/* ---------------- Models strip ---------------- */
.models-strip{display:flex;flex-wrap:wrap;gap:8px;}
.model-chip{
  background:var(--surface);border:1px solid var(--border);
  font-size:12.5px;color:var(--text);
  padding:7px 12px;border-radius:8px;
}

/* ---------------- Steps ---------------- */
.steps{display:flex;flex-direction:column;gap:0;}
.step{display:flex;gap:14px;padding:12px 0;position:relative;}
.step:not(:last-child)::before{
  content:"";position:absolute;left:16px;top:38px;bottom:-4px;
  width:1.5px;background:var(--border);
}
.step-num{
  flex-shrink:0;width:32px;height:32px;border-radius:50%;
  background:var(--surface-2);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:13px;color:var(--brand);
  z-index:1;
}
.step-text h3{font-size:14px;margin-bottom:2px;}
.step-text p{font-size:12.5px;color:var(--text-dim);}

/* ---------------- Why us grid ---------------- */
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.why-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:14px;
}
.why-card svg{width:20px;height:20px;color:var(--amber);margin-bottom:8px;}
.why-card h3{font-size:13px;margin-bottom:3px;}
.why-card p{font-size:11.5px;color:var(--text-dim);}

/* ---------------- Testimonial ---------------- */
.testimonial{
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:16px;margin-bottom:10px;
}
.testimonial p{font-size:13.5px;color:var(--text);margin-bottom:8px;font-style:italic;}
.testimonial .who{font-size:12px;color:var(--text-dim);}
.stars{color:var(--amber);font-size:13px;margin-bottom:6px;}

/* ---------------- Map / address ---------------- */
.address-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:16px;display:flex;gap:12px;align-items:flex-start;
}
.address-card svg{width:20px;height:20px;color:var(--brand);flex-shrink:0;margin-top:2px;}
.address-card p{font-size:13px;color:var(--text-dim);}
.address-card strong{color:var(--text);}

/* ---------------- FAQ ---------------- */
.faq-item{border-bottom:1px solid var(--border);padding:14px 0;}
.faq-item summary{
  font-size:14px;font-weight:600;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:18px;color:var(--brand);}
.faq-item[open] summary::after{content:"–";}
.faq-item p{font-size:13px;color:var(--text-dim);margin-top:8px;}

/* ---------------- Footer CTA ---------------- */
.final-cta{
  background:linear-gradient(160deg,var(--surface-2),var(--bg-alt));
  border:1px solid var(--border);border-radius:16px;
  padding:24px 18px;text-align:center;margin:8px 0 4px;
}
.final-cta h2{font-size:19px;margin-bottom:6px;}
.final-cta p{font-size:13px;color:var(--text-dim);margin-bottom:16px;}
.btn-row{display:flex;gap:10px;}
.btn{
  flex:1;display:flex;align-items:center;justify-content:center;gap:7px;
  padding:13px;border-radius:10px;font-weight:700;font-size:14px;border:none;
}
.btn-wa{background:var(--whatsapp);color:#06301A;}
.btn-call{background:transparent;border:1.5px solid var(--border);color:var(--text);}
.btn svg{width:17px;height:17px;}

footer{
  text-align:center;padding:22px 18px 90px;color:var(--text-dim);font-size:11.5px;
}
footer a{color:var(--accent);}

/* ---------------- Floating WhatsApp button ---------------- */
.fab-wa{
  position:fixed;right:16px;bottom:20px;z-index:90;
  width:54px;height:54px;border-radius:50%;
  background:var(--whatsapp);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,.4);
}
.fab-wa svg{width:27px;height:27px;color:#06301A;}

/* ---------------- Hub page grid (index) ---------------- */
.hub-grid{display:flex;flex-direction:column;gap:10px;}
.hub-card{
  display:flex;align-items:center;gap:12px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;padding:14px;
}
.hub-card .mark{
  width:44px;height:44px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:15px;
  background:var(--accent-soft);color:var(--brand);
}
.hub-card h3{font-size:14.5px;margin-bottom:2px;}
.hub-card p{font-size:12px;color:var(--text-dim);}
.hub-card .go{margin-left:auto;color:var(--text-dim);font-size:18px;}

@media(min-width:560px){
  .hero h1{font-size:30px;}
}
