/* SLV BBUILDTECH Landing Page Styles */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0b74de;
  --brand-700: #085db1;
  --accent: #16a34a;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #3b82f6);
  box-shadow: var(--shadow);
  display: grid; place-items: center; font-weight: 800;
}
.logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.brand-name { font-weight: 700; letter-spacing: .2px; }

.nav ul { display: flex; list-style: none; gap: 20px; margin: 0; padding: 0; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a:focus { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 6px; }

/* Hero */
.hero {
  padding: 80px 0 40px;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(11, 116, 222, 0.14), transparent 60%),
              radial-gradient(800px 400px at 10% 10%, rgba(22, 163, 74, 0.08), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; }
.btn.primary { background: var(--brand); border-color: var(--brand); }
.btn.primary:hover { background: var(--brand-700); border-color: var(--brand-700); }
.btn.ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--text); }

.frame-illustration {
  width: 100%; aspect-ratio: 4/3; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.frame-illustration .pane { position: absolute; background: rgba(11,116,222,0.06); border: 1px solid rgba(2,6,23,0.06); box-shadow: inset 0 0 20px rgba(11,116,222,0.05); }
.frame-illustration .pane:nth-child(1) { left: 6%; top: 8%; width: 40%; height: 40%; }
.frame-illustration .pane:nth-child(2) { right: 6%; top: 8%; width: 40%; height: 40%; }
.frame-illustration .pane:nth-child(3) { left: 6%; bottom: 8%; width: 40%; height: 40%; }
.frame-illustration .pane:nth-child(4) { right: 6%; bottom: 8%; width: 40%; height: 40%; }

/* Sections */
.section { padding: 60px 0; }
.section.alt { background: linear-gradient(180deg, #f8fafc, #ffffff); }
.section h2 { font-size: clamp(22px, 2.8vw, 32px); margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 26px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; font-size: 18px; }
.card p { color: var(--muted); }
.card ul { list-style: none; margin: 12px 0 0; padding: 0; color: var(--muted); }

/* CTA strip */
.cta-strip { margin-top: 16px; background: var(--surface-2); border: 1px solid var(--border); padding: 12px 14px; border-radius: 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.cta-strip p { margin: 0; color: var(--muted); }

/* Products */
.products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { position: relative; min-height: 110px; overflow: hidden; background: linear-gradient(180deg, #ffffff, var(--surface-2)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column; justify-content: center; }
.product:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(2,6,23,.12); border-color: rgba(11,116,222,.35); }
.product h3 { margin-bottom: 6px; }
.product p { margin: 0; }
.product::after { content: ""; position: absolute; right: -20px; top: -20px; width: 120px; height: 120px; background: radial-gradient(closest-side, rgba(11,116,222,.12), transparent 70%); transform: rotate(25deg); }
/* removed gradient bottom border */
.products .product:nth-child(2) h3::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
.products .product:nth-child(3) h3::before { background: #fb923c; box-shadow: 0 0 0 3px rgba(251,146,60,.18); }
.products .product:nth-child(4) h3::before { background: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.18); }

/* About */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; }
.check-list li { position: relative; padding-left: 24px; margin: 8px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; }
.stat span { display: block; font-weight: 700; font-size: 22px; }
.stat em { color: var(--muted); font-style: normal; font-size: 12px; }

/* Projects */
/* replaced projects with brands/testimonials/faq */

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.step-badge { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.steps p { color: var(--muted); margin: 6px 0 0; }

/* Brands badges */
.badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.badges li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; color: var(--muted); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.testimonials blockquote { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; color: var(--text); box-shadow: var(--shadow); }
.testimonials cite { display: block; margin-top: 8px; color: var(--muted); font-style: normal; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.gallery img:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(2,6,23,.12); }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; background: rgba(2,6,23,.88); display: grid; place-items: center; z-index: 2000; }
.lightbox-image { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.1); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.lightbox-close { top: 20px; right: 20px; font-size: 18px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.18); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* Floating WhatsApp */
.floating-whatsapp { position: fixed; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.06); }
.floating-whatsapp:hover { filter: brightness(0.95); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 12px 0 0; color: var(--muted); }
.contact-list a { color: var(--text); text-decoration: underline; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-weight: 600; font-size: 14px; }
input, textarea { background: #ffffff; color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 12px; font: inherit; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,116,222,0.25); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 20px 0; background: #ffffff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 12px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav ul { display: none; position: absolute; right: 4%; top: 56px; flex-direction: column; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px; width: 220px; }
  .nav ul.open { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .about-stats { grid-template-columns: 1fr; }
  .nav ul { left: 4%; right: 4%; width: auto; }
}
