/* ============================================================
   QIBBY TECH — REDESIGN 2026
   Modern, Premium, Glassmorphism + Gradient Design
   ============================================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4f46e5;
  --primary-light: #818cf8;
  --primary-dark: #3730a3;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --rose: #f43f5e;

  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-section: #f1f5f9;
  --text-h: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: rgba(100,116,139,.15);
  --border-strong: rgba(100,116,139,.3);

  --grad-main: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
  --grad-card: linear-gradient(135deg, rgba(79,70,229,.08) 0%, rgba(124,58,237,.08) 100%);
  --grad-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0c1445 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 16px rgba(79,70,229,.12), 0 1px 3px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(79,70,229,.18), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 40px 80px rgba(79,70,229,.22), 0 8px 24px rgba(0,0,0,.08);
  --glow: 0 0 40px rgba(79,70,229,.35);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --t: .3s;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg: #080d1a;
  --bg-card: #0f172a;
  --bg-section: #0b1120;
  --text-h: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #64748b;
  --border: rgba(148,163,184,.1);
  --border-strong: rgba(148,163,184,.2);
  --shadow: 0 4px 16px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.2);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.3);
  --glow: 0 0 60px rgba(99,102,241,.4);
}

/* --- Base --- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
  padding-inline: 20px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* --- Scroll animation utility --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 0;
  transition: all var(--t) var(--ease);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248,250,252,.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all var(--t) var(--ease);
}
[data-theme="dark"] .site-header::before {
  background: rgba(8,13,26,.88);
}

.site-header.scrolled::before {
  box-shadow: 0 4px 30px rgba(79,70,229,.1);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

/* Logo */
.nav-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.5px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block; /* ensure both words are always visible */
}
.nav-logo span { opacity: 1; } /* full opacity so "Tech" never disappears */

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--text-body);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(79,70,229,.09);
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 8px; }

.btn-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; border-radius: var(--radius-full);
  background: var(--border);
  color: var(--text-body);
  font-size: .9rem;
  transition: all var(--t) var(--ease);
}
.btn-icon:hover { background: rgba(79,70,229,.12); color: var(--primary); }

.btn-wa-nav {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--grad-main);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(79,70,229,.35);
  transition: all var(--t) var(--ease);
  border: none; cursor: pointer;
}
.btn-wa-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79,70,229,.45);
}
.btn-wa-nav i { font-size: 1rem; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--t) var(--ease);
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-h);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1002; /* above header (1000) so close button is clickable */
  visibility: hidden;
  opacity: 0;
  transition: all var(--t) var(--ease);
}
.mobile-drawer.open { visibility: visible; opacity: 1; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-card);
  padding: 80px 32px 40px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%);
  transition: transform var(--t) var(--ease);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.mobile-drawer.open .drawer-panel { transform: none; }
.drawer-panel a {
  display: block;
  padding: 12px 16px;
  color: var(--text-h);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--t) var(--ease);
  border-bottom: 1px solid var(--border);
}
.drawer-panel a:hover { color: var(--primary); background: rgba(79,70,229,.06); }
.drawer-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; border-radius: var(--radius-full);
  background: var(--border); color: var(--text-body);
  font-size: .9rem;
}
.drawer-wa {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: 80px;
}

/* Animated mesh background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(79,70,229,.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(124,58,237,.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 20%, rgba(6,182,212,.2) 0%, transparent 60%);
  animation: meshMove 12s ease-in-out infinite alternate;
}
@keyframes meshMove {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.08) rotate(2deg); }
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 80px;
  width: 100%;
}

/* Hero Text */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  color: #a5b4fc;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge i { color: var(--gold); }

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title .accent {
  background: linear-gradient(135deg, #a5b4fc, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(79,70,229,.4);
  transition: all var(--t) var(--ease-spring);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(79,70,229,.5); }
.btn-primary i { font-size: 1.2rem; }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--t) var(--ease);
}
.btn-outline-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); }

/* Hero micro stats */
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;      /* always single row */
  align-items: center;
}
/* thin vertical divider between stats */
.hero-stat + .hero-stat {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.hero-stat {
  display: flex; flex-direction: column;
  white-space: nowrap;
  gap: 0;
}
.hero-stat .num {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .72rem;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.2;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 36px 36px 36px 36px; /* space for floating badges that hang outside */
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(79,70,229,.3);
  border: 2px solid rgba(255,255,255,.18);
  aspect-ratio: 4/3; /* consistent crop shape on all screens */
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Floating badges on hero image */
.hero-float {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  display: flex; align-items: center; gap: 10px;
  animation: floatY 4s ease-in-out infinite;
}
[data-theme="dark"] .hero-float { background: rgba(15,23,42,.9); }
.hero-float i { font-size: 1.4rem; }
.hero-float-label { font-weight: 700; font-size: .9rem; color: var(--text-h); line-height: 1.2; }
.hero-float-sub { font-size: .75rem; color: var(--text-muted); }
.hero-float.top-left { top: -20px; left: -30px; animation-delay: 0s; z-index: 3; }
.hero-float.bottom-right { bottom: -20px; right: -30px; animation-delay: 2s; z-index: 3; }

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

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #64748b;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-hint .wheel {
  width: 3px; height: 6px;
  background: #a5b4fc;
  border-radius: 3px;
  animation: scrollWheel 1.8s ease infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
section { padding-block: 96px; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-title span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 56px;
}
.section-header.center {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.section-header.center .section-desc { margin-inline: auto; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--bg-section); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,70,229,.4);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }

.service-card-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 8px 20px rgba(79,70,229,.3);
  transition: all var(--t) var(--ease-spring);
}
.service-card:hover .service-card-icon { transform: scale(1.1) rotate(-5deg); }

.service-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 8px;
  position: relative;
}

.service-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
}

.price-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(217,119,6,.08));
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius-full);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .85rem;
  position: relative;
}
[data-theme="dark"] .price-pill { color: var(--gold); }
.price-pill i { font-size: .8rem; }

/* ============================================================
   WHY US / FEATURES SECTION
   ============================================================ */
.features-section { background: var(--bg); }

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-list { display: flex; flex-direction: column; gap: 24px; }

.feature-item {
  display: flex; gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
}
.feature-item:hover {
  border-color: rgba(79,70,229,.35);
  box-shadow: var(--shadow);
  transform: translateX(6px);
}
.feature-item-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(79,70,229,.25);
}
.feature-item-text h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-h);
  margin-bottom: 4px;
}
.feature-item-text p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

.features-image-wrap {
  position: relative;
}
.features-image-wrap img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: auto;          /* honour natural image proportions */
  aspect-ratio: 1/1;     /* square container — matches square Google photo */
  object-fit: cover;
  object-position: center center;
  display: block;
  box-shadow: var(--shadow-xl);
}
.features-image-wrap::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  background: var(--grad-main);
  z-index: -1;
  opacity: .45;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--grad-main);
  padding-block: 64px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 20px;
}
.stat-num {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg-section); overflow: hidden; }

.testimonials-track-wrap {
  overflow: hidden;
  position: relative;
  margin-inline: -20px;
  padding-inline: 20px;
}
.testimonials-track-wrap::before,
.testimonials-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-section), transparent); }
.testimonials-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg-section), transparent); }

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 320px;
  flex-shrink: 0;
  transition: all var(--t) var(--ease);
}
.tcard:hover {
  border-color: rgba(79,70,229,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.tcard-stars {
  display: flex; gap: 3px;
  color: var(--gold);
  margin-bottom: 14px;
  font-size: .9rem;
}

.tcard-text {
  color: var(--text-body);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.tcard-author {
  display: flex; align-items: center; gap: 12px;
}
.tcard-avatar {
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.tcard-name { font-weight: 700; font-size: .9rem; color: var(--text-h); }
.tcard-loc  { font-size: .8rem; color: var(--text-muted); }

/* Review CTA */
.review-cta {
  margin-top: 48px;
  display: flex; align-items: center; justify-content: center;
}
.btn-review {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #fff;
  border: 2px solid var(--border-strong);
  color: var(--text-h);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn-review i { color: #4285f4; font-size: 1.1rem; }
.btn-review:hover { border-color: #4285f4; box-shadow: 0 4px 20px rgba(66,133,244,.2); transform: translateY(-2px); }
[data-theme="dark"] .btn-review { background: var(--bg-card); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-side {}
.contact-info-side h2 { font-family: "Poppins", sans-serif; font-size: 2rem; font-weight: 800; color: var(--text-h); margin-bottom: 12px; }
.contact-info-side > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }

.contact-methods {
  list-style: none;
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
}
.contact-methods li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
}
.contact-methods li:hover { border-color: rgba(79,70,229,.3); box-shadow: var(--shadow); }
.contact-methods li i {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--grad-main);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.contact-methods li a,
.contact-methods li span { color: var(--text-body); font-size: .95rem; line-height: 1.5; }
.contact-methods li a:hover { color: var(--primary); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: all var(--t) var(--ease-spring);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,.45); }
.btn-whatsapp i { font-size: 1.3rem; }

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text-h); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-h);
  font-family: inherit;
  font-size: .95rem;
  transition: all var(--t) var(--ease);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(79,70,229,.35);
  transition: all var(--t) var(--ease-spring);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(79,70,229,.45); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { background: var(--bg-section); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t) var(--ease);
}
.faq-item:hover { border-color: rgba(79,70,229,.3); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-h);
  font-size: .95rem;
  user-select: none;
}
.faq-question i {
  color: var(--primary);
  transition: transform var(--t) var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-item.open { border-color: rgba(79,70,229,.35); box-shadow: var(--shadow); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: .93rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 96px; /* extra bottom room so WA/scroll-top buttons never cover footer text */
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(79,70,229,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(124,58,237,.15) 0%, transparent 60%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}

.footer-brand-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-brand-desc {
  color: #cbd5e1; /* lighter — was #64748b, much easier to read on dark footer */
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex; gap: 10px;
}
.footer-social {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #cbd5e1;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: all var(--t) var(--ease);
}
.footer-social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #f8fafc;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  color: #94a3b8; /* lighter — readable on dark footer */
  font-size: .88rem;
  transition: color var(--t) var(--ease);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: #e2e8f0; }
.footer-links a i { width: 14px; font-size: .8rem; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  color: #94a3b8; /* lighter — readable on dark footer */
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-contact-item i { color: var(--primary-light); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: #94a3b8; transition: color var(--t) var(--ease); }
.footer-contact-item a:hover { color: #e2e8f0; }

.footer-bottom {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #94a3b8; /* lighter */
  font-size: .82rem;
}
.footer-bottom strong { color: #cbd5e1; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
  transition: all var(--t) var(--ease-spring);
  animation: pulse-wa 3s infinite;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 36px rgba(37,211,102,.6);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,.5); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,.75), 0 0 0 8px rgba(37,211,102,.1); }
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;   /* left side — keeps right side clear for WhatsApp */
  z-index: 997;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding-block: 64px; }

  .nav-links { display: none; }
  .btn-wa-nav { display: none; }
  .menu-toggle { display: flex; }

  /* Ensure full logo "QibbyTech" always visible on narrow screens */
  .nav-inner { gap: 12px; }
  .nav-logo { font-size: 1.3rem; }
  .nav-logo span { opacity: 1; display: inline; }

  /* Hero stats — compact single row on mobile */
  .hero-stats { gap: 0; }
  .hero-stat + .hero-stat { padding-left: 14px; }
  .hero-stat .num { font-size: 1.1rem; }
  .hero-stat .lbl { font-size: .6rem; }

  /* Also ensure hero-stats stays centered */
  .hero-stats { justify-content: center; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 40px;
    text-align: center;
  }
  .hero-desc { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 16px; padding: 52px 12px 52px; /* 52px top/bottom = room for floating badges */ }
  /* On mobile, position badges INSIDE the image frame so they're never clipped */
  .hero-float.top-left  { top: 16px; left: 16px; }
  .hero-float.bottom-right { bottom: 16px; right: 16px; }
  /* Reduce badge font size a bit for small screens */
  .hero-float { padding: 8px 12px; gap: 8px; }
  .hero-float-label { font-size: .82rem; }
  .hero-float-sub   { font-size: .7rem; }
  .hero-float i     { font-size: 1.1rem; }
  .hero-img-wrap { aspect-ratio: 4/3; } /* maintain 4:3 on mobile */

  .features-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-image-wrap { order: -1; }
  .features-image-wrap img { aspect-ratio: 1/1; } /* keep square on mobile too */

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .contact-form-card { padding: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   INNER PAGES — SHARED COMPONENTS
   ============================================================ */

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--grad-hero);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 25% 40%, rgba(79,70,229,.35) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 80% 60%, rgba(124,58,237,.25) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 55% 15%, rgba(6,182,212,.18) 0%, transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.page-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  margin-bottom: 16px;
}
.page-breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--t) var(--ease); }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb .sep { opacity: .4; }
.page-breadcrumb .current { color: rgba(255,255,255,.85); }
.page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.page-hero h1 span {
  background: linear-gradient(135deg, #a5b4fc, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.75;
}
.page-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 24px rgba(79,70,229,.4);
  transition: all var(--t) var(--ease-spring);
}
.page-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(79,70,229,.5); }

/* ── Brand Cards ── */
.brands-section-wrap { background: var(--bg); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.brand-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,70,229,.35);
  box-shadow: var(--shadow-lg);
}
.brand-card:hover::before { opacity: 1; }
.brand-card-img {
  position: relative;
  width: 80px; height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: var(--bg-section);
  display: flex; align-items: center; justify-content: center;
}
.brand-card-img img { width: 100%; height: 100%; object-fit: cover; }
.brand-card-img-icon {
  width: 80px; height: 80px;
  border-radius: var(--radius);
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(79,70,229,.3);
}
.brand-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 6px;
  position: relative;
}
.brand-card p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 12px;
  position: relative;
}
.success-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}
.success-pill.high { background: rgba(16,185,129,.12); color: #059669; border: 1px solid rgba(16,185,129,.3); }
.success-pill.med  { background: rgba(245,158,11,.12); color: var(--gold-dark); border: 1px solid rgba(245,158,11,.3); }
[data-theme="dark"] .success-pill.high { color: #34d399; }
[data-theme="dark"] .success-pill.med  { color: var(--gold); }

.brand-feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.brand-feature-list li {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted);
  font-size: .85rem;
}
.brand-feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ── Tech / Info Cards ── */
.info-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--t) var(--ease);
}
.info-card:hover { border-color: rgba(79,70,229,.3); box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card .info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(79,70,229,.25);
}
.info-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-h);
  margin-bottom: 8px;
}
.info-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--grad-main);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1.05rem; }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: all var(--t) var(--ease-spring);
}
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }

/* ── IT Service Tabs ── */
.it-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
  justify-content: center;
}
.it-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-body);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  text-decoration: none;
}
.it-tab i { color: var(--primary); }
.it-tab:hover,
.it-tab.active {
  border-color: var(--primary);
  background: rgba(79,70,229,.08);
  color: var(--primary);
}

/* ── Category Sections (IT Services) ── */
.category-section-wrap { padding-top: 0; }
.category-header-wrap {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.category-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: rgba(79,70,229,.1);
  border: 1px solid rgba(79,70,229,.25);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}
.category-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-h);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.category-desc { color: var(--text-muted); font-size: .95rem; line-height: 1.7; max-width: 560px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  border-color: rgba(79,70,229,.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 8px;
}
.pricing-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.65; margin-bottom: 14px; }
.price-range {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(124,58,237,.08));
  border: 1px solid rgba(79,70,229,.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 14px;
}
.pricing-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.pricing-card ul li {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted);
  font-size: .85rem;
}
.pricing-card ul li i { color: var(--emerald); font-size: .75rem; width: 12px; }

/* Category divider */
.cat-divider {
  height: 1px;
  background: var(--border);
  margin: 64px 0;
  position: relative;
}
.cat-divider::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 80px; height: 3px;
  background: var(--grad-main);
  border-radius: 3px;
}

/* ── Location Cards (redesigned) ── */
.locations-grid { display: flex; flex-direction: column; gap: 16px; }
.loc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t) var(--ease);
}
.loc-card:hover { border-color: rgba(79,70,229,.25); }
.loc-card.open { border-color: rgba(79,70,229,.4); box-shadow: var(--shadow-lg); }
.loc-header {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  transition: background var(--t) var(--ease);
  user-select: none;
}
.loc-header:hover { background: rgba(79,70,229,.03); }
[data-theme="dark"] .loc-header:hover { background: rgba(79,70,229,.06); }
.loc-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(79,70,229,.25);
  transition: all var(--t) var(--ease-spring);
}
.loc-card.open .loc-icon { transform: scale(1.08); }
.loc-meta { flex: 1; min-width: 0; }
.loc-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-h);
  margin-bottom: 3px;
}
.loc-area { color: var(--text-muted); font-size: .88rem; }
.loc-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex-shrink: 0;
}
.avail-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  border: 1.5px solid;
}
.avail-badge.on  { background: rgba(16,185,129,.1); color: #059669; border-color: rgba(16,185,129,.35); }
.avail-badge.off { background: rgba(239,68,68,.1); color: #dc2626; border-color: rgba(239,68,68,.3); }
[data-theme="dark"] .avail-badge.on  { color: #34d399; }
[data-theme="dark"] .avail-badge.off { color: #f87171; }
.avail-badge i { font-size: .55rem; }
.loc-updated { color: var(--text-muted); font-size: .75rem; font-style: italic; }
.loc-chevron {
  color: var(--text-muted);
  font-size: 1rem;
  transition: transform var(--t) var(--ease);
  margin-left: 8px;
  flex-shrink: 0;
}
.loc-card.open .loc-chevron { transform: rotate(180deg); }
.loc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.loc-card.open .loc-body { max-height: 700px; }
.loc-body-inner { padding: 0 28px 28px; }
.loc-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .9rem;
  line-height: 1.55;
}
.loc-alert.available { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.25); color: #065f46; }
.loc-alert.unavailable { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.25); color: #991b1b; }
[data-theme="dark"] .loc-alert.available { color: #6ee7b7; }
[data-theme="dark"] .loc-alert.unavailable { color: #fca5a5; }
.loc-alert i { flex-shrink: 0; margin-top: 2px; }
.loc-map {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.loc-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.btn-directions {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 4px 14px rgba(79,70,229,.3);
  transition: all var(--t) var(--ease-spring);
}
.btn-directions:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,70,229,.4); }

/* Location legend */
.loc-legend {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
  margin-bottom: 32px;
}
.loc-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
}
.loc-legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.loc-legend-dot.green { background: #10b981; }
.loc-legend-dot.red   { background: #ef4444; }

@media (max-width: 640px) {
  .loc-header { padding: 18px 20px; gap: 14px; }
  .loc-body-inner { padding: 0 20px 20px; }
  .loc-map iframe { height: 280px; }
  .loc-name { font-size: 1rem; }
  .cta-banner { padding: 40px 24px; }
  .brand-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
