:root {
  --bg: #0b0d10;
  --bg-soft: #12161d;
  --surface: #171c24;
  --surface-2: #1e2430;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(29, 185, 84, 0.35);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #1db954;
  --accent-hover: #22d363;
  --accent-soft: rgba(29, 185, 84, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

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

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

/* Top Info Bar */
.topbar {
  background: #07090b;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 13, 16, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo img {
  height: 58px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  border-radius: 8px;
  white-space: nowrap;
  transition: 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: none;
}
.nav-item:hover > .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  border-radius: 6px;
  color: #cbd5e1;
}
.nav-dropdown a:hover { background: var(--accent-soft); color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #061109;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(29, 185, 84, 0.28);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm { padding: 9px 15px; font-size: 13.5px; }

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(26px, 3.2vw, 38px); }
.section-sub { color: var(--text-muted); max-width: 680px; margin: 0; }

/* Hero */
.hero {
  position: relative;
  padding: 84px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(29, 185, 84, 0.16), transparent 55%),
              linear-gradient(90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.82) 55%, rgba(11, 13, 16, 0.65) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 17px;
  color: #cbd5e1;
  margin: 0 0 24px;
  max-width: 600px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: #e2e8f0;
}
.pill strong { color: var(--accent); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: rgba(23, 28, 36, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}
.hero-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}
.hero-card-body { padding: 18px 20px; }
.hero-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.hero-card-meta span { display: block; font-size: 11.5px; color: var(--text-muted); }
.hero-card-meta strong { font-size: 15px; color: var(--accent); }

/* Cards Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #0d1015;
}
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 10px;
}
.card-title { font-size: 19px; margin-bottom: 8px; }
.card-text { color: var(--text-muted); font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}

/* Tabs & Tables */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}
.tab-btn.active {
  background: var(--accent);
  color: #061109;
  border-color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-highlight { color: var(--accent); font-weight: 700; }

/* Before After Slider */
.ba-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  user-select: none;
}
.ba-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  z-index: 4;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #061109;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.72);
  z-index: 3;
}
.ba-label-left { left: 12px; }
.ba-label-right { right: 12px; }

/* Quote Wizard & Forms */
.wizard-box {
  background: linear-gradient(145deg, var(--surface), #10141b);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 28px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: #cbd5e1; }
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #0c0f14;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 17px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(180deg, #131820, var(--bg));
  border-bottom: 1px solid var(--border);
  padding: 46px 0 38px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.breadcrumb a:hover { color: var(--accent); }

/* Rich Content */
.prose { color: #cbd5e1; font-size: 15.5px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 24px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* Alert */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 14px;
}
.alert-success { background: rgba(29, 185, 84, 0.15); border: 1px solid var(--accent); color: #bbf7d0; }
.alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #fecaca; }

/* Map */
.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: #07090b;
  border-top: 1px solid var(--border);
  padding: 56px 0 84px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-title { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  padding-right: 210px;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #052e16;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}
.wa-float:hover { transform: translateY(-2px); background: #2ee573; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu, .header-actions .btn-outline { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
  }
  .nav-dropdown { position: static; box-shadow: none; display: block; padding-left: 14px; background: transparent; border: none; }
}

@media (max-width: 640px) {
  .hero-grid, .grid-3, .grid-2, .grid-4, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .header-inner { min-height: 64px; gap: 8px; }
  .brand-logo img { height: 42px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-primary { padding: 8px 11px; font-size: 12.5px; }
  .mobile-toggle { padding: 8px 10px; font-size: 13px; }
  .nav-menu.open { top: 64px; }
  .section { padding: 52px 0; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .footer-bottom { padding-right: 0; }
}
