/* =========================================================
   SUPER BLOC — global stylesheet
   Brand palette derived from logo (deep blue #00629B)
   ========================================================= */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Design tokens ---------- */
:root {
  --primary: #00629B;       /* logo blue */
  --primary-dark: #003F66;
  --primary-light: #E8F3FB;
  --accent: #FFB800;        /* warm accent for CTAs */
  --accent-dark: #E09C00;

  --text: #1A2733;
  --text-soft: #5C6B7A;
  --text-light: #8A97A4;

  --bg: #FFFFFF;
  --bg-alt: #F5F9FC;
  --bg-muted: #EEF4F8;

  --border: #DCE5EC;
  --success: #0B8F4F;
  --danger: #C0392B;

  --shadow-sm: 0 1px 2px rgba(0, 60, 100, 0.06);
  --shadow: 0 6px 24px rgba(0, 60, 100, 0.09);
  --shadow-lg: 0 16px 48px rgba(0, 60, 100, 0.14);

  --radius: 10px;
  --radius-lg: 18px;

  --container: 1180px;
  --nav-height: 78px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--text); }
.lead { font-size: 1.15rem; color: var(--text-soft); line-height: 1.65; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }
.row { display: flex; flex-wrap: wrap; gap: 32px; }
.text-center { text-align: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex; align-items: center;
  backdrop-filter: saturate(180%) blur(10px);
}
.nav {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 0.97rem;
  padding: 6px 0; position: relative;
}
.nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -24px; left: 0; right: 0; height: 3px;
  background: var(--primary); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  border: 1px solid var(--border); border-radius: 999px;
  display: flex; overflow: hidden; background: #fff;
}
.lang-toggle button {
  font-size: 0.85rem; font-weight: 600; padding: 6px 14px;
  color: var(--text-soft);
}
.lang-toggle button.active {
  background: var(--primary); color: #fff;
}

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; transition: 0.15s;
}
.cart-btn:hover { background: var(--primary); color: #fff; }
.cart-count {
  background: var(--accent); color: var(--primary-dark);
  font-size: 0.75rem; font-weight: 800;
  min-width: 22px; height: 22px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}

/* Mobile nav toggle */
.nav-burger {
  display: none; width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 500px; padding: 16px 24px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bg-alt); }
  .nav-links a.active::after { display: none; }
  .nav-burger { display: flex; }
  .lang-toggle button { padding: 6px 10px; font-size: 0.78rem; }
  .cart-btn span.cart-label { display: none; }
  .cart-btn { padding: 10px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  transition: 0.2s; text-decoration: none;
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 16px rgba(0, 98, 155, 0.25);
}
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 98, 155, 0.3); }
.btn-accent {
  background: var(--accent); color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.3);
}
.btn-accent:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: #fff; color: var(--primary);
  border: 2px solid var(--primary); padding: 12px 26px;
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-outline-light { background: rgba(255,255,255,0.12); color: #fff; border: 2px solid rgba(255,255,255,0.8); padding: 12px 26px; backdrop-filter: blur(4px); } .btn-outline-light:hover { background: #fff; color: var(--primary); text-decoration: none; transform: translateY(-1px); border-color: #fff; } .btn-ghost { color: var(--primary); padding: 12px 18px; }
.btn-ghost:hover { background: var(--primary-light); text-decoration: none; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #00629B 0%, #003F66 100%);
  color: #fff;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'><path d='M0,100 C240,180 480,20 720,100 C960,180 1200,20 1440,100 L1440,200 L0,200 Z' fill='%23ffffff' fill-opacity='0.05'/></svg>");
  background-repeat: repeat-y;
  background-size: 100% 220px;
  opacity: 0.9;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: rgba(255, 255, 255, 0.92); font-size: 1.2rem; margin-bottom: 32px; }
.hero-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 24px;
  color: #fff;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(1deg);
}
.hero-image img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 80px; }
  .hero-image { transform: none; }
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 8px; color: var(--primary-dark); }
.feature-card p { color: var(--text-soft); font-size: 0.98rem; }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 1.1rem; }

/* ---------- Comparison table ---------- */
.compare-wrap {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.compare {
  width: 100%; border-collapse: collapse;
}
.compare th, .compare td {
  padding: 16px 22px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  background: var(--bg-muted);
  font-weight: 700; color: var(--primary-dark);
  font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.compare td.col-feature { font-weight: 600; color: var(--primary-dark); width: 36%; }
.compare td.col-us { background: rgba(0, 98, 155, 0.04); font-weight: 500; }
.compare td.col-them { color: var(--text-soft); }
.compare tr:last-child td { border-bottom: none; }
.tick { color: var(--success); font-weight: 700; }
.cross { color: var(--danger); font-weight: 700; }
.badge-ours {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-left: 8px;
}
@media (max-width: 680px) {
  .compare th, .compare td { padding: 12px 14px; font-size: 0.9rem; }
}

/* ---------- Step timeline ---------- */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.step {
  position: relative; padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step-num {
  position: absolute; top: -20px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 98, 155, 0.3);
}
.step h3 { margin: 16px 0 8px; font-size: 1.15rem; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Use case grid ---------- */
.usecase-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.usecase {
  padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--primary-light), #fff);
  border: 1px solid var(--border);
}
.usecase .feature-icon { background: #fff; }
.usecase h3 { font-size: 1.1rem; margin-bottom: 6px; }
.usecase p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Product cards (shop) ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-img {
  background: var(--bg-muted);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.product-img img { max-height: 100%; width: auto; object-fit: contain; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-size {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  align-self: flex-start;
}
.product-title { font-size: 1.15rem; color: var(--primary-dark); font-weight: 700; }
.product-desc { color: var(--text-soft); font-size: 0.92rem; }
.product-variants { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.variant {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px;
}
.variant .variant-info { display: flex; flex-direction: column; }
.variant .variant-name { font-weight: 600; font-size: 0.95rem; }
.variant .variant-per { font-size: 0.8rem; color: var(--text-soft); }
.variant .variant-price { font-weight: 700; color: var(--primary-dark); font-size: 1rem; margin-right: 10px; }
.variant button {
  background: var(--primary); color: #fff;
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 4px;
  transition: 0.15s;
}
.variant button:hover { background: var(--primary-dark); }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 20, 40, 0.4);
  z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 420px;
  background: #fff; z-index: 100;
  transform: translateX(100%); transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.2rem; color: var(--primary-dark); }
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-muted); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; color: var(--text-soft); padding: 40px 0; }
.cart-item {
  display: flex; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; font-size: 0.95rem; color: var(--primary-dark); }
.cart-item-sub { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 6px; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg-muted); font-weight: 700; color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.qty-control button:hover { background: var(--primary-light); }
.qty-val { font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; color: var(--primary-dark); }
.cart-item-remove {
  color: var(--danger); font-size: 0.8rem; font-weight: 500; margin-top: 2px;
}
.cart-item-remove:hover { text-decoration: underline; }
.cart-footer { padding: 20px 22px; border-top: 1px solid var(--border); background: var(--bg-alt); }
.cart-total {
  display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem;
  color: var(--primary-dark); margin-bottom: 14px;
}
.cart-note { font-size: 0.8rem; color: var(--text-soft); margin-top: 10px; text-align: center; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--primary-dark); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; font-size: 1rem; font-family: inherit; color: var(--text);
  background: #fff; transition: 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 98, 155, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ---------- Two-column blocks ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-dark); color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 28px; font-size: 0.95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); max-width: 280px; font-size: 0.92rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.bg-alt { background: var(--bg-alt); }
.bg-muted { background: var(--bg-muted); }
.text-primary { color: var(--primary); }
.hidden { display: none !important; }
.img-bleed { width: 100%; height: 100%; object-fit: cover; }

/* Trust stripe */
.trust-stripe {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.88);
  padding: 18px 0; font-size: 0.92rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-stripe .container {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  text-align: center;
}
.trust-stripe span { display: inline-flex; align-items: center; gap: 8px; }

/* Page hero (smaller than home hero, used on other pages) */
.page-hero {
  background: linear-gradient(135deg, #00629B 0%, #003F66 100%);
  color: #fff; padding: 80px 0 60px; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); max-width: 680px; margin: 0 auto; font-size: 1.1rem; }

/* Callout banner */
.callout {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 50px; border-radius: var(--radius-lg);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.callout h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.callout p { color: rgba(255, 255, 255, 0.88); max-width: 520px; }

/* Number highlight */
.metric {
  text-align: center; padding: 24px;
}
.metric-num {
  font-size: 2.8rem; font-weight: 900; color: var(--primary);
  line-height: 1; letter-spacing: -0.02em;
}
.metric-label { color: var(--text-soft); font-size: 0.95rem; margin-top: 6px; }
.metrics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
