﻿:root {
  --brand: #1c87c9;
  --brand-dark: #14639a;
  --brand-deep: #0f4a75;
  --accent: #f15335;
  --accent-dark: #d43e22;
  --ink: #333333;
  --muted: #777777;
  --bg: #ffffff;
  --bg-alt: #fbfbfb;
  --line: #e3e3e3;
  --footer-bg: #2b2b2b;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(15, 74, 117, 0.12);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: 2rem; }

p { margin: 0 0 1em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.logo { display: inline-flex; align-items: center; }

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--brand); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
}

.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem;
  cursor: pointer;
  color: var(--brand-deep);
}

.nav-toggle svg { width: 1.4rem; height: 1.4rem; display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

.btn-card {
  background: var(--brand);
  color: #fff;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}
.btn-card:hover { background: var(--brand-dark); }

.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--bg-alt); }

/* ---------- Hero ---------- */

.hero {
  background: #173f5d;
}

.hero-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: 3rem;
  padding-inline: max(1.25rem, calc((100vw - 1140px) / 2));
  background:
    linear-gradient(90deg, rgba(20, 45, 65, 0.88) 0%, rgba(20, 45, 65, 0.6) 48%, rgba(20, 45, 65, 0.18) 100%),
    #173f5d url("../assets/img/banner.jpg") center / 100% auto no-repeat;
  color: #fff;
}

.hero-copy { max-width: 34rem; }

.hero .eyebrow { color: #ffb3a3; }

.hero h1 {
  font-size: 2.9rem;
  margin-bottom: 0.4em;
}

.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--brand-deep);
  color: #fff;
  padding-block: 2.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.trust-item h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.trust-item p { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; margin: 0; }

/* ---------- Sections ---------- */

.section { padding-block: 4.5rem; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 46rem;
  margin-bottom: 3rem;
}

.section-lead { color: var(--muted); font-size: 1.05rem; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.legend li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.legend strong { color: var(--brand-dark); }

.series-title {
  font-size: 1.3rem;
  color: var(--brand-deep);
  margin: 2.5rem 0 1.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--line);
}

.series-title span {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.product-grid-wide { grid-template-columns: repeat(2, 1fr); }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-media {
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h4 { font-size: 1.2rem; color: var(--brand-deep); margin-bottom: 0.15em; }

.product-tag {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.9em;
}

.spec-list {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}

.spec-list li {
  padding: 0.35rem 0 0.35rem 1.3rem;
  position: relative;
  border-bottom: 1px solid var(--bg-alt);
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.product-foot .btn-card { width: 100%; }

.doc-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.doc-link:hover { text-decoration: underline; }

/* ---------- Comparison table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 3rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.94rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: var(--brand-deep);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:hover { background: var(--bg-alt); }

.compare-table .yes { color: #48a34f; font-weight: 700; }
.compare-table .no { color: var(--muted); }

/* ---------- Scenarios ---------- */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.scenario {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.scenario h3 { font-size: 1.02rem; color: var(--brand-deep); }
.scenario p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- About ---------- */

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-copy p { color: var(--muted); }
.about-copy .eyebrow { margin-bottom: 0.6em; }

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.8rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  padding: 1.6rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 74, 117, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card[href]:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.contact-label {
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  margin-bottom: 0.35rem;
  color: var(--brand-deep);
  font-size: 1.2rem;
}

.contact-card > span:last-child { color: var(--muted); }

.contact-card address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.contact-card address strong {
  display: inline-block;
  color: var(--brand-deep);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--accent);
  color: #fff;
  padding-block: 4rem;
  text-align: center;
}

.cta-inner h2 { font-size: 2rem; }
.cta-inner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.8em;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.logo-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.logo-footer .logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.footer-brand p { font-size: 0.9rem; margin: 0; }

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.94rem;
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.2rem;
}

.footer-bottom p { margin: 0; font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid-wide { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .main-nav.is-open { display: flex; }

  .main-nav a { padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--bg-alt); }
  .main-nav a:last-child { border-bottom: none; }

  .nav-cta {
    text-align: center;
    margin-top: 0.6rem;
    padding: 0.7rem 1.1rem;
  }

  .logo-img { height: 36px; }

  .hero-banner {
    min-height: 460px;
    padding: 2.75rem 1.25rem 7.5rem;
    align-items: flex-start;
    background-position: center, center bottom;
  }
  .hero h1 { font-size: 1.9rem; }
  .hero-lead { font-size: 1rem; }

  .trust-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .product-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }

  .section { padding-block: 3rem; }
  h2 { font-size: 1.6rem; }

  .product-foot { flex-direction: column; align-items: stretch; }
  .btn-card { width: 100%; }

  .footer-inner { flex-direction: column; }
}
