:root {
  --c-primary: #0B3A5C;
  --c-primary-deep: #07263d;
  --c-accent: #E08A2C;
  --c-accent-hover: #c97318;
  --c-ink: #1a2330;
  --c-muted: #5c6b7a;
  --c-line: #d5dde6;
  --c-bg: #f3f6f9;
  --c-surface: #ffffff;
  --c-steel: #8aa0b4;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 12px 40px rgba(7, 38, 61, 0.12);
  --radius: 2px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 1rem; }
.container { width: min(1140px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Topbar / Header */
.topbar {
  background: var(--c-primary-deep);
  color: #c9d7e4;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 36px; padding-block: 0.35rem;
}
.topbar-links { display: flex; gap: 1.25rem; }
.topbar a { color: #e8eef4; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; }
.brand:hover { color: inherit; }
.brand-logo { height: 44px; width: auto; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--c-primary); color: #fff;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; }
.brand-text small { color: var(--c-muted); font-size: 0.75rem; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { color: var(--c-ink); font-weight: 600; font-size: 0.95rem; }
.site-nav a.is-active { color: var(--c-accent); }
.nav-toggle {
  display: none; background: none; border: 0; width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-primary); width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.25rem; border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-decoration: none; border-radius: var(--radius);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-deep); color: #fff; }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-hover); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--c-primary); }
.btn-outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero carousel */
.hero {
  position: relative; min-height: min(88vh, 720px);
  background: var(--c-primary-deep); color: #fff; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .7s ease;
  background:
    linear-gradient(105deg, rgba(7,38,61,.92) 0%, rgba(11,58,92,.72) 48%, rgba(7,38,61,.45) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(224,138,44,.25), transparent 55%),
    url("../img/hero-pattern.svg") center/cover;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero-slide.has-image {
  background-size: cover;
  background-position: center;
}
.hero-inner {
  position: relative; z-index: 2;
  min-height: min(88vh, 720px);
  display: grid; align-items: end;
  padding: 5rem 0 4rem;
}
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  text-transform: uppercase; margin-bottom: 1rem;
}
.hero p { font-size: 1.15rem; color: #d7e2ec; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-dots {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer;
}
.hero-dots button.is-active { background: var(--c-accent); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-head { margin-bottom: 2.25rem; max-width: 640px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); text-transform: uppercase; color: var(--c-primary); }
.section-head p { color: var(--c-muted); margin: 0; }
.section-muted { background: #e8eef3; }
.section-dark {
  background: linear-gradient(135deg, var(--c-primary-deep), var(--c-primary));
  color: #fff;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #c9d7e4; }

.partners {
  padding: 1.75rem 0; background: #fff; border-block: 1px solid var(--c-line);
}
.partners-track {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; align-items: center;
}
.partner-pill {
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.06em;
  color: var(--c-steel); text-transform: uppercase; opacity: .85;
}
.partner-pill img { height: 36px; width: auto; filter: grayscale(1); opacity: .7; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.service-tile {
  background: var(--c-surface); border: 1px solid var(--c-line);
  padding: 1.5rem 1.35rem; transition: border-color .2s, box-shadow .2s;
}
.service-tile:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.service-icon {
  width: 48px; height: 48px; color: var(--c-accent); margin-bottom: 1rem;
}
.service-icon svg { width: 100%; height: 100%; }
.service-tile h3 { font-size: 1.35rem; color: var(--c-primary); }
.service-tile p { color: var(--c-muted); margin: 0; font-size: 0.95rem; }

.product-card {
  background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-media {
  aspect-ratio: 4/3; background:
    linear-gradient(160deg, #dfe7ee, #b8c8d6),
    url("../img/placeholder-product.svg") center/45% no-repeat;
  background-blend-mode: multiply;
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card .brand-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 0.35rem;
}
.product-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.product-card h3 a { color: var(--c-primary); }
.product-card p { color: var(--c-muted); font-size: 0.9rem; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .75rem; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.25rem 0.5rem; background: #e8eef3; color: var(--c-primary);
}
.badge-ok { background: #e4f4ea; color: #1d6b3a; }
.badge-warn { background: #fff1df; color: #9a5b12; }
.badge-off { background: #f0e4e4; color: #8a2f2f; }

.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.why-panel {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 1.75rem; display: grid; gap: 1rem;
}
.why-stat strong {
  display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--c-accent);
}
.why-stat span { color: #c9d7e4; font-size: 0.95rem; }

.cta-band {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem;
  background: #fff; border: 1px solid var(--c-line); padding: 1.75rem 2rem;
}
.cta-band h2 { margin: 0; font-size: 1.8rem; color: var(--c-primary); text-transform: uppercase; }
.cta-band p { margin: 0.35rem 0 0; color: var(--c-muted); }

/* Page hero (inner) */
.page-hero {
  background:
    linear-gradient(100deg, rgba(7,38,61,.94), rgba(11,58,92,.8)),
    url("../img/hero-pattern.svg") center/cover;
  color: #fff; padding: 3.5rem 0 3rem;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; }
.page-hero p { color: #d0dce8; max-width: 40rem; margin: 0; }

/* Catalog */
.catalog-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 1.75rem; align-items: start;
}
.filters {
  background: #fff; border: 1px solid var(--c-line); padding: 1.25rem;
  position: sticky; top: calc(var(--header-h) + 1rem);
}
.filters h2 { font-size: 1.2rem; color: var(--c-primary); margin-bottom: 1rem; }
.filters label { display: block; font-size: 0.8rem; font-weight: 700; margin: 0.85rem 0 0.35rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.filters input, .filters select,
.form-control {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--c-line);
  font: inherit; background: #fff; color: var(--c-ink);
}
.filters .btn { margin-top: 1rem; width: 100%; }
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem;
  color: var(--c-muted); font-size: 0.95rem;
}
.empty-state {
  background: #fff; border: 1px dashed var(--c-line); padding: 3rem 1.5rem; text-align: center; color: var(--c-muted);
}

/* Product detail */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: #fff;
  border: 1px solid var(--c-line); padding: 1.5rem;
}
.product-gallery {
  aspect-ratio: 1; background: #e8eef3; overflow: hidden;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.specs-list {
  list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--c-line);
}
.specs-list li {
  padding: 0.65rem 0; border-bottom: 1px solid var(--c-line); color: var(--c-muted);
}

/* Forms */
.form-grid { display: grid; gap: 1rem; }
.form-grid label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
.form-grid textarea.form-control { min-height: 140px; resize: vertical; }
.alert {
  padding: 0.85rem 1rem; margin-bottom: 1rem; border: 1px solid transparent;
}
.alert-ok { background: #e7f6ec; color: #1a5c32; border-color: #b7e0c4; }
.alert-err { background: #fde8e8; color: #8a1f1f; border-color: #efc0c0; }

.content-prose { max-width: 720px; }
.content-prose p { color: var(--c-muted); }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; color: var(--feature-color, inherit); }
.feature-list li {
  padding-left: 1.5rem; position: relative; color: var(--feature-color, inherit); font-weight: 500;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 0.65rem; height: 0.65rem; background: var(--c-accent);
}

/* Footer */
.site-footer {
  background: var(--c-primary-deep); color: #c9d7e4; padding-top: 3rem; margin-top: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem;
}
.site-footer h3, .site-footer h4 { color: #fff; text-transform: uppercase; }
.site-footer a { color: #c9d7e4; display: block; margin-bottom: 0.4rem; }
.site-footer a:hover { color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1rem 0 1.25rem;
  font-size: 0.85rem; color: #8aa0b4;
}
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; font-weight: 800; box-shadow: var(--shadow);
}
.whatsapp-fab:hover { color: #fff; filter: brightness(1.05); }

/* Animations */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: rise .7s ease both; }
.reveal-delay-1 { animation-delay: .12s; }
.reveal-delay-2 { animation-delay: .24s; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .why-grid, .product-detail, .catalog-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .filters { position: static; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.25rem; border-bottom: 1px solid var(--c-line);
    gap: 0.75rem;
  }
  .site-nav.is-open { display: flex; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .hero-inner { padding: 4rem 0 3.5rem; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .container { width: min(1140px, calc(100% - 1.5rem)); }
}
