/* ============================================================
   B2 Apple Repair Centre — dark premium theme
   ============================================================ */
:root {
  --bg: #0b0d12;
  --bg-alt: #10131a;
  --surface: #161a23;
  --surface-2: #1c2130;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f6f8;
  --text-muted: #9aa3b2;
  --accent: #2997ff;
  --accent-strong: #0a84ff;
  --whatsapp: #22c55e;
  --star: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

svg { display: block; }

a { color: var(--accent); text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }

.grad {
  background: linear-gradient(100deg, #2997ff, #5ac8fa 60%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 32px rgba(10, 132, 255, 0.5); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06240f;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.28);
}
.btn-whatsapp:hover { box-shadow: 0 10px 32px rgba(34, 197, 94, 0.42); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }

.btn-sm { padding: 10px 20px; font-size: 14.5px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
}
.brand-logo { width: 40px; height: 40px; display: block; }
.brand-text { font-weight: 400; letter-spacing: -0.01em; }
.brand-text strong { font-weight: 700; }

.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(10, 132, 255, 0.22), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.stars { color: var(--star); letter-spacing: 2px; font-size: 14px; }

.hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin-top: 34px;
}
.hero-ticks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-ticks svg { width: 16px; height: 16px; color: var(--whatsapp); }

/* Hero visual card */
.hero-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.device-visual {
  width: 230px;
  height: 330px;
  border-radius: 36px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.28);
}
.device-visual svg { width: 130px; height: 130px; }

.stat-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
  background: rgba(22, 26, 35, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
}
.stat-chip strong { font-size: 20px; font-weight: 700; }
.stat-chip span { font-size: 12.5px; color: var(--text-muted); }
.chip-1 { top: 8%; right: 4%; animation-delay: 0s; }
.chip-2 { bottom: 14%; left: 0; animation-delay: 1.4s; }
.chip-3 { bottom: -2%; right: 12%; animation-delay: 2.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Trust bar ---------- */
.trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trustbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 34px 24px;
  text-align: center;
}
.trust-item strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.trust-item span { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(41, 151, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(41, 151, 255, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  text-align: center;
  padding: 34px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(41, 151, 255, 0.35); }
.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(41, 151, 255, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-content .eyebrow { margin-bottom: 12px; }
.about-content h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; margin-bottom: 20px; }
.about-content p { color: var(--text-muted); font-size: 16.5px; margin-bottom: 16px; }
.about-content p strong { color: var(--text); }
.about-ticks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 30px;
}
.about-ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 500;
}
.about-ticks svg { width: 18px; height: 18px; color: var(--whatsapp); flex-shrink: 0; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card .stars { font-size: 16px; }
.review-card blockquote {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}
.review-card figcaption { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.reviews-cta { text-align: center; margin-top: 42px; }
.reviews-cta svg { width: 16px; height: 16px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-row { display: flex; gap: 18px; }
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(41, 151, 255, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-icon svg { width: 23px; height: 23px; }
.contact-row h3 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.contact-row p { font-size: 15px; color: var(--text-muted); }
.contact-row a { color: var(--text); font-weight: 600; font-size: 17px; }
.contact-row a:hover { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  box-shadow: var(--shadow);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(20%) contrast(1.05);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(10, 132, 255, 0.22), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
}
.cta-band-inner { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; margin-bottom: 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-text { font-size: 18px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--text-muted); max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-links a { color: var(--text); font-size: 14.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-links p { font-size: 14px; color: var(--text-muted); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  padding-bottom: 96px;
}
.footer-bottom p { font-size: 12.5px; color: var(--text-muted); }

.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { color: #fff; border-color: rgba(41, 151, 255, 0.5); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-bottom .footer-social { justify-content: center; margin: 0 0 16px; }
.footer .footer-bottom:first-child { text-align: center; padding-top: 40px; }
.dev-credit { margin-top: 8px; }
.dev-credit a { color: var(--text-muted); font-weight: 600; }
.dev-credit a:hover { color: var(--accent); }

/* ---------- Blog ---------- */
.page-head { padding: 150px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 16px; }
.page-head p { color: var(--text-muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-bottom: 96px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(41, 151, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.blog-card .post-meta { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.blog-card h2 { font-size: 21px; font-weight: 700; }
.blog-card p { font-size: 14.5px; color: var(--text-muted); flex: 1; }
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}
.blog-card .read-more svg { width: 15px; height: 15px; }

.article { max-width: 760px; margin: 0 auto; padding: 150px 24px 80px; }
.article .breadcrumb {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.article .breadcrumb a { color: var(--text-muted); }
.article .breadcrumb a:hover { color: var(--accent); }
.article h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; margin-bottom: 18px; }
.article .post-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 36px; }
.article h2 { font-size: 26px; font-weight: 700; margin: 42px 0 14px; }
.article h3 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.article p { color: #c3cad6; font-size: 16.5px; margin-bottom: 18px; }
.article ul, .article ol { color: #c3cad6; font-size: 16.5px; margin: 0 0 18px 22px; }
.article li { margin-bottom: 10px; }
.article strong { color: var(--text); }
.article a { font-weight: 500; }

.article-cta {
  margin: 44px 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(41, 151, 255, 0.3);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta h2 { font-size: 24px; margin: 0 0 10px; }
.article-cta p { margin-bottom: 22px; }
.article-cta .hero-actions { justify-content: center; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}
.sticky-cta .btn { flex: 1; padding: 13px 10px; font-size: 15px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stat-chip { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { min-height: 340px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0b0d12;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-sm { display: none; }

  .hero { padding: 120px 0 70px; }
  .section { padding: 72px 0; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .reviews-grid, .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .article { padding-top: 120px; }
  .sticky-cta { display: flex; }
  .hero-actions .btn-lg { width: 100%; }
}

@media (max-width: 480px) {
  .why-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .chip-2 { left: -6px; }
  .chip-3 { right: 0; }
}
