:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #1a2332;
  --muted: #5c6b7f;
  --brand: #0d4f8b;
  --brand-dark: #083a66;
  --accent: #c8a45c;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(13, 79, 139, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--max), 92vw); margin: 0 auto; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--brand); }
.nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--text); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn-secondary:hover { background: #eef4fa; color: var(--brand); }

.hero {
  background: linear-gradient(135deg, #0d4f8b 0%, #1565a8 55%, #1a7ab8 100%);
  color: #fff;
  padding: 3.5rem 0 3.25rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.2; margin: 0 0 1rem; max-width: 20ch; }
.hero-copy p { font-size: 1.05rem; opacity: 0.95; max-width: 52ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: center;
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255,255,255,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  background: #fff;
}
.hero-visual img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}
.category-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(13, 79, 139, 0.14);
  text-decoration: none;
}
.category-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0f4f8;
}
.category-card-body { padding: 1.1rem 1.25rem 1.25rem; }
.category-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--text); }
.category-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.trust-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}
a.trust-link.trust-item {
  color: #fff;
  text-decoration: none;
  display: block;
}
a.trust-link.trust-item:hover {
  background: rgba(255,255,255,0.22);
  text-decoration: none;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cert-card img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 220px; background: #f0f4f8; }
.cert-thumb-link { display: block; }
.cert-pdf-btn { margin-top: 0.75rem; font-size: 0.85rem; padding: 0.45rem 0.9rem; }
.cert-on-request { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted); }
.cert-body { padding: 1rem 1.15rem 1.25rem; }
.cert-meta { color: var(--muted); font-size: 0.82rem; margin-bottom: 0.35rem; }
.cert-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.cert-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

section { padding: 3.5rem 0; }
.section-title { font-size: 1.75rem; margin: 0 0 0.5rem; }
.section-lead { color: var(--muted); margin: 0 0 2rem; max-width: 65ch; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; font-size: 1.1rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-card img { aspect-ratio: 1; object-fit: cover; background: #f0f4f8; }
.product-card .body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 0.95rem; margin: 0 0 0.5rem; line-height: 1.35; }
.product-card .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.product-card .btn { margin-top: auto; align-self: flex-start; font-size: 0.85rem; padding: 0.5rem 1rem; }

.facts-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.facts-table th, .facts-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.facts-table th { width: 32%; background: #f0f5fa; font-weight: 600; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }

.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--muted); }

.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { margin: 0 0 0.75rem; }
.cta-band p { opacity: 0.9; margin: 0 0 1.5rem; }

.breadcrumb { font-size: 0.9rem; color: var(--muted); margin: 1.5rem 0; }
.breadcrumb a { color: var(--muted); }
.page-hero { padding: 2.5rem 0 1rem; }
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.product-gallery { display: grid; gap: 0.75rem; }
.product-gallery .main { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.spec-table th, .spec-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); text-align: left; }
.spec-table th { color: var(--muted); font-weight: 500; width: 40%; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.6rem 0.75rem; }
.prose blockquote { margin: 1rem 0; padding: 0.75rem 1rem; border-left: 4px solid var(--accent); background: #fffdf5; color: var(--muted); }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.9rem; }

.site-footer {
  background: #0f1c2e;
  color: #c5d0dc;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; margin: 0 0 0.75rem; }
.site-footer a { color: #c5d0dc; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1rem; font-size: 0.85rem; color: #8fa0b3; }

.factory-shot { margin: 1.5rem 0; }
.factory-shot img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.factory-shot figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.9rem; text-align: center; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s;
}
.whatsapp-float:hover {
  transform: scale(1.06);
  color: #fff;
  text-decoration: none;
}

.category-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.category-pills a {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
}
.category-pills a.active, .category-pills a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .hero-copy h1 { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .footer-grid, .product-detail, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
}
