
:root{
  --bg:#0b1220; --card:#0f172a; --muted:#94a3b8; --text:#e2e8f0;
  --brand:#06b6d4; --brand-2:#4f46e5; --accent:#22c55e;
  --shadow:0 10px 30px rgba(0,0,0,.18);
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;background:linear-gradient(180deg,#0b1220,#0b1220 60%,#0e1626);color:var(--text);font:16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial}
a{color:var(--brand);text-decoration:none}
img{max-width:100%;height:auto;display:block}

.site-header{position:sticky;top:0;backdrop-filter:saturate(120%) blur(8px);background:rgba(13,18,33,.6);border-bottom:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:space-between;padding:.5rem .9rem;z-index:10}
.brand img{height:38px}
.menu-toggle{font-size:1.35rem;background:transparent;color:var(--text);border:1px solid rgba(255,255,255,.2);padding:.35rem .6rem;border-radius:.6rem}
.nav{display:none;gap:.8rem}
.nav a{padding:.45rem .7rem;border-radius:.5rem;transition:background .2s}
.nav a:hover{background:rgba(255,255,255,.06)}

.hero{padding:2rem 1rem 1rem;display:grid;gap:1.2rem}
.hero h1{font-size:1.75rem;line-height:1.25;margin:.2rem 0}
.hero p{color:var(--muted);margin:0}
.hero-cta{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.6rem}
.btn{display:inline-block;border:none;border-radius:.6rem;padding:.7rem 1rem;background:linear-gradient(90deg,var(--brand),var(--brand-2));color:white;font-weight:700;box-shadow:var(--shadow)}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,.2)}
.btn-wa{background:#25D366;color:#0b1220}

.section{padding:1.2rem .9rem}
.section h2{font-size:1.3rem;margin:.2rem 0 .8rem}

.grid{display:grid;gap:.8rem}
.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:radial-gradient(1200px 400px at 0% 0%,rgba(79,70,229,.18),transparent 50%),var(--card);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.card img{aspect-ratio:4/3;object-fit:cover}
.card .pad{padding:.7rem}
.card h3{margin:.1rem 0 .3rem;font-size:1rem}
.card p{margin:0;color:var(--muted);font-size:.85rem}

.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.stat{background:var(--card);border:1px solid rgba(255,255,255,.06);padding:.8rem;border-radius:12px;text-align:center}
.stat .num{font-weight:800;font-size:1.3rem;background:linear-gradient(90deg,var(--brand),var(--brand-2));-webkit-background-clip:text;background-clip:text;color:transparent}
.stat .lbl{font-size:.8rem;color:var(--muted)}

.list{display:grid;gap:.5rem}
.list li{background:var(--card);border:1px solid rgba(255,255,255,.06);padding:.7rem;border-radius:12px}
.badge{display:inline-block;padding:.2rem .5rem;border-radius:999px;background:rgba(255,255,255,.08);font-size:.75rem;color:var(--muted)}

.cta-banner{margin:1.2rem .9rem;padding:1rem;border-radius:14px;background:linear-gradient(90deg,rgba(34,197,94,.15),rgba(6,182,212,.15));border:1px dashed rgba(255,255,255,.2)}

.site-footer{padding:1.2rem .9rem;border-top:1px solid rgba(255,255,255,.06);background:rgba(13,18,33,.7)}
.footer-grid{display:grid;gap:1rem}
.footer-grid .contact-list{list-style:none;padding:0;margin:0}
.footer-grid .links{list-style:none;padding:0;margin:0}
.copy{margin-top:1rem;color:var(--muted);font-size:.85rem}

.table{width:100%;border-collapse:separate;border-spacing:0 .5rem}
.table th,.table td{padding:.6rem;text-align:left}
.table tr{background:var(--card);border:1px solid rgba(255,255,255,.06)}
.table tr:first-child{border-top-left-radius:12px;border-top-right-radius:12px}
.table tr:last-child{border-bottom-left-radius:12px;border-bottom-right-radius:12px}

.form{display:grid;gap:.7rem}
.input{padding:.7rem;border-radius:.6rem;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.04);color:var(--text)}
textarea.input{min-height:120px;resize:vertical}

@media(min-width:760px){
  .nav{display:flex}
  .menu-toggle{display:none}
  .cards{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hero{grid-template-columns:1.2fr .8fr;align-items:center}
  .footer-grid{grid-template-columns:2fr 2fr 1fr}
}

/* --- Products table image fixes --- */
.table { table-layout: fixed; }          /* prevents column jitter/collapse */
.table th:first-child,
.table td:first-child { width: 92px; }   /* room for a square thumbnail */

/* square, fully visible image */
.product-thumb{
  display:block;
  inline-size: clamp(64px, 9vw, 92px);  /* responsive width, caps at 92px */
  aspect-ratio: 1;                       /* square */
  object-fit: contain;                   /* show the whole image (no crop) */
  background: var(--bg);                 /* letterbox background */
  border-radius: 8px;
}

/* make sure no global rule forces height:auto in this case */
.table img.product-thumb { height: auto; }  /* safe since aspect-ratio handles height */

/* Base table layout (desktop / tablets) */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 .6rem;
  table-layout: fixed;
}
.table th, .table td { padding: .75rem; text-align: left; }
.table th:first-child, .table td:first-child { width: 92px; }  /* thumbnail */
.table th:last-child, .table td:last-child { width: 110px; }   /* CTA */
.table tr {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
}
.table tr:first-child { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.table tr:last-child  { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }

/* Thumbnail */
.product-thumb{
  display: block;
  inline-size: 92px;
  aspect-ratio: 1;
  object-fit: contain;         /* use 'cover' if you want edge-to-edge crop */
  background: var(--bg);
  border-radius: 8px;
}

/* Text cells */
.product-name { font-weight: 700; }
.product-desc { color: var(--muted); font-size: .9rem; }

/* --- Mobile: transform table rows into cards --- */
@media (max-width: 760px) {

  /* Hide table header on mobile */
  .table thead { display: none; }

  /* Each <tr> becomes a card-like grid */
  .table tr {
    display: grid;
    grid-template-columns: 76px 1fr auto;  /* img | text | button */
    align-items: center;
    gap: .8rem;
    padding: .75rem;         /* inner padding since TDs will collapse */
    border-radius: 14px;
  }

  /* Collapse TD chrome so the grid can breathe */
  .table td { 
    padding: 0; 
    border: 0; 
    background: transparent; 
  }

  /* Ensure first cell (image) behaves */
  .table td:nth-child(1) { grid-column: 1; }
  .table td:nth-child(2) { grid-column: 2; }
  .table td:nth-child(3) { grid-column: 3; justify-self: end; }

  /* Responsive thumb size */
  .product-thumb{
    inline-size: clamp(64px, 16vw, 76px);
  }

  /* Make long names wrap nicely */
  .product-name { line-height: 1.25; }
}

/* Optional: slightly larger touch target for the CTA on small screens */
@media (max-width: 400px){
  .btn.btn-sm, .table td:last-child .btn {
    padding: .6rem .8rem;
    border-radius: .55rem;
  }
}

.call-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  z-index: 9998;
}

.call-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.call-popup-box {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  width: min(90%, 320px);
  text-align: center;
}

.call-popup-box h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--text);
}

.call-popup-box .btn {
  display: block;
  width: 100%;
  margin-bottom: .6rem;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
}