:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef4f8;
  --text: #102033;
  --muted: #607086;
  --line: #dbe4ee;
  --primary: #075e75;
  --primary-2: #0c7894;
  --accent: #16a36d;
  --shadow: 0 20px 60px rgba(16, 32, 51, 0.10);
  --radius: 22px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand-logo { width: 220px; height: auto; max-height: 58px; object-fit: contain; display:block; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--primary); color: white; font-weight: 800;
}
.brand small { display: block; color: var(--muted); font-size: 12px; }
.logo-only .brand-logo { width: 260px; max-height: 70px; }
nav { display: flex; gap: 18px; align-items: center; font-weight: 700; font-size: 14px; }
.nav-cta { color: var(--primary); }

.hero, .section, .split, .quote-section, .stats {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 420px;
  gap: 34px;
  padding: 78px 0 36px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(40px, 6vw, 76px); line-height: 0.95; margin: 14px 0 22px; letter-spacing: -0.055em; }
.hero-copy p, .section-heading p, .quote-copy p, .split p { color: var(--muted); font-size: 18px; }
.eyebrow { color: var(--primary-2); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.hero-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 15px;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(7, 94, 117, .18); }
.btn.secondary { background: #fff; color: var(--primary); border: 1px solid var(--line); }
.btn.whatsapp { background: #18b56f; color: #fff; }
.btn.small { padding: 9px 14px; font-size: 13px; }
.btn.full { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-row span, .tag {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.hero-card, .mini-card, .quote-form, .product-card, .category-card, .document-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 30px; }
.hero-card h2 { margin-top: 0; font-size: 28px; }
.hero-card ul { padding-left: 20px; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.stats div {
  background: var(--text);
  color: white;
  border-radius: 20px;
  padding: 22px;
}
.stats strong { display:block; font-size: 30px; }
.stats span { color: rgba(255,255,255,.72); font-weight: 700; }
.section { padding: 72px 0; }
.section.muted { background: var(--surface-2); width: 100%; padding-left: max(18px, calc((100% - 1180px)/2)); padding-right: max(18px, calc((100% - 1180px)/2)); }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 26px; }
.section-heading h2, .split h2, .quote-copy h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1; margin: 10px 0; letter-spacing: -0.04em; }
.section-heading p { max-width: 470px; }
.category-grid, .document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { padding: 24px; cursor: pointer; box-shadow: none; transition: transform .15s ease, border-color .15s ease; }
.category-card:hover { transform: translateY(-2px); border-color: var(--primary-2); }
.category-card h3 { margin: 0 0 8px; font-size: 21px; }
.category-card p { color: var(--muted); margin: 0; }
.toolbar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
  margin-bottom: 16px;
}
.search-box, .select-box { display: grid; gap: 8px; font-weight: 900; color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px 15px;
  background: white;
  font: inherit;
  color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(12,120,148,.15); border-color: var(--primary-2); }
.selected-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #e7fff4;
  border: 1px solid #b9eed8;
  border-radius: 18px;
  padding: 13px 16px;
  margin-bottom: 18px;
}
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; box-shadow: none; display: flex; flex-direction: column; }
.product-image { aspect-ratio: 4/3; background: white; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-body { padding: 18px; display: grid; gap: 12px; flex: 1; }
.product-body h3 { margin: 0; line-height: 1.15; text-transform: capitalize; }
.product-body p { color: var(--muted); margin: 0; }
.product-actions { display: flex; gap: 10px; margin-top: auto; }
.product-actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
.empty-state { padding: 30px; background: white; border-radius: 18px; text-align: center; color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 42px;
  align-items: center;
  padding: 84px 0;
}
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.check-grid span { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-weight: 800; }
.mini-card { padding: 26px; display: grid; gap: 12px; }
.mini-card h3 { margin: 0 0 8px; font-size: 26px; }
.document-grid article { padding: 24px; box-shadow: none; }
.document-grid h3 { margin-top: 0; }
.document-grid p { color: var(--muted); }
.quote-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
  padding: 80px 0;
}
.quote-form { padding: 26px; display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-note { color: var(--muted); font-size: 13px; margin: 0; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 64px) 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
}
.modal {
  width: min(980px, calc(100% - 28px));
  border: 0;
  border-radius: 28px;
  padding: 0;
  box-shadow: 0 40px 100px rgba(0,0,0,.28);
}
.modal::backdrop { background: rgba(8, 20, 35, .55); }
.modal-close {
  position: sticky; top: 14px; float: right; margin: 14px 14px 0 0;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: white; font-size: 26px; cursor: pointer; z-index: 2;
}
.modal-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; padding: 34px; }
.modal-gallery { display: grid; gap: 12px; align-content: start; }
.modal-gallery img { background: var(--bg); border-radius: 18px; padding: 12px; border: 1px solid var(--line); }
.modal-copy h2 { margin-top: 0; font-size: 34px; text-transform: capitalize; }
.modal-copy ul { color: var(--muted); }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th, .table-wrap td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.table-wrap th { background: var(--surface-2); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .split, .quote-section, .modal-layout { grid-template-columns: 1fr; }
  .stats, .category-grid, .product-grid, .document-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar, .form-row { grid-template-columns: 1fr; }
  .section-heading { display: block; }
}
@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  .hero { padding-top: 44px; }
  .stats, .category-grid, .product-grid, .document-grid, .check-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 42px; }
  .sticky-cta { width: calc(100% - 24px); }
  .sticky-cta .btn { flex: 1; }
  .footer { display: block; }
}

/* Conversion improvements: quote cart */
.btn.danger {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.product-card.is-selected {
  border-color: #16a36d;
  box-shadow: 0 14px 34px rgba(22, 163, 109, .12);
}
.quote-basket {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbfd;
  overflow: hidden;
}
.quote-basket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.quote-basket-head strong { display: block; }
.quote-basket-head span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.quote-basket-list { display: grid; gap: 10px; padding: 14px; }
.quote-basket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
}
.quote-basket-item strong { display: block; text-transform: capitalize; }
.quote-basket-item span { display: block; color: var(--muted); font-size: 13px; }
.quote-remove {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 900;
  cursor: pointer;
}
.quote-empty {
  color: var(--muted);
  background: white;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
}
@media (max-width: 620px) {
  .quote-basket-head, .quote-basket-item { align-items: flex-start; flex-direction: column; }
}


/* SEO internal link grid */
.seo-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.seo-link-grid a {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.seo-link-grid a:hover { border-color: var(--brand); color: var(--brand); }

.recaptcha-wrap {
  margin: 14px 0 4px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #ffffff;
}
.captcha-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
}


.quote-basket-item { gap: 14px; }
.quote-item-main { min-width: 0; }
.quote-item-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quantity-control { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
.quantity-control input, .product-qty-inline input, .modal-quantity-control input { width: 96px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--text); background: #fff; font-weight: 800; }
.quantity-control input:focus, .product-qty-inline input:focus, .modal-quantity-control input:focus { outline: 3px solid rgba(11, 99, 255, .15); border-color: var(--primary); }
.quote-qty-note { color: var(--muted); font-size: 13px; margin-top: 4px; display: block; }
.product-card.is-selected { outline: 2px solid rgba(22, 163, 109, .35); }
.product-selected-note { color: var(--accent); font-weight: 900; font-size: 13px; margin-top: 6px; }

.form-row.single { grid-template-columns: 1fr; }

/* v9 logo sizing */
.site-header .brand{display:flex;align-items:center;min-width:220px;}
@media(max-width:720px){.brand-logo{width:170px;max-height:48px}.site-header .brand{min-width:auto}}
