/* ============================================
   SafetyPass — Design System
   ============================================ */

:root {
  /* Brand colors derived from logo + product cards */
  --navy-900: #0a1f5c;
  --navy-800: #122d7a;
  --navy-700: #1f3a8a;
  --navy-600: #2a4ba8;
  --navy-50:  #eef2ff;

  /* Product accent colors (Construction / WorkForce / Energy) */
  --orange: #e85d2c;
  --orange-dark: #b8431d;
  --green: #4a9d5f;
  --green-dark: #357044;
  --red: #d63a3a;
  --red-dark: #a82828;

  /* Neutrals */
  --ink:        #0c1430;
  --ink-soft:   #344160;
  --ink-mute:   #6b7590;
  --line:       #e3e8f3;
  --line-soft:  #f1f4fb;
  --bg:         #ffffff;
  --bg-soft:    #f7f9fd;
  --bg-tint:    #eef2fa;

  /* Type */
  --font-display: 'Trebuchet MS', 'Lucida Sans', sans-serif;
  --font-body: 'Trebuchet MS', 'Lucida Sans', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================ Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================ Top utility bar */
.utility-bar {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.utility-bar .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.utility-left { display: flex; gap: 1.25rem; }
.utility-left a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.utility-left a:hover { color: #fff; }
.lang-switch a {
  padding: 2px 8px; border-radius: 3px; transition: background 0.2s;
}
.lang-switch a.active { background: rgba(255,255,255,0.15); color: #fff; }
.lang-switch a:hover:not(.active) { background: rgba(255,255,255,0.08); color: #fff; }

/* ============================================ Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(10, 31, 92, 0.06); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy-700); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--navy-700); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-700); color: #fff;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--navy-800); transform: translateY(-1px); }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px; transition: background 0.2s;
}
.menu-toggle:hover { background: var(--bg-soft); }
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: 0.3s;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: 0.3s;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0; width: min(85%, 360px);
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 100px 2rem 2rem; gap: 1.5rem;
    box-shadow: -10px 0 40px rgba(10, 31, 92, 0.1);
    transition: right 0.4s var(--ease);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 18px; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links .nav-cta { display: inline-flex; margin-top: 1rem; }
}

/* ============================================ Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(31, 58, 138, 0.06), transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(232, 93, 44, 0.04), transparent 70%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 31, 92, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 31, 92, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2rem; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: var(--navy-50); color: var(--navy-700);
  border-radius: 999px; font-size: 13px; font-weight: 500;
  margin-bottom: 1.5rem; letter-spacing: 0.02em;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 157, 95, 0.2);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: -0.03em; margin-bottom: 1.25rem;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic; color: var(--navy-700); font-weight: 500;
  position: relative; display: inline-block;
}
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 8px; background: rgba(232, 93, 44, 0.2); z-index: -1;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft); line-height: 1.6;
  max-width: 38em; margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--navy-700); color: #fff;
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31, 58, 138, 0.25); }
.btn-secondary {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-arrow {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-secondary .btn-arrow { background: var(--navy-50); color: var(--navy-700); }

.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: var(--navy-700); letter-spacing: -0.02em; line-height: 1;
}
.hero-stat .label {
  font-size: 13px; color: var(--ink-mute); margin-top: 6px; letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ''; position: absolute; inset: 10% -5% 10% 5%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
  z-index: 0;
  animation: blob 12s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%; }
  50% { border-radius: 50% 50% 40% 60% / 60% 30% 70% 40%; }
}
.hero-visual img {
  position: relative; z-index: 1;
  max-height: 580px; width: auto;
  filter: drop-shadow(0 30px 60px rgba(10, 31, 92, 0.25));
}

.hero-floating-card {
  position: absolute; z-index: 2;
  background: #fff; border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 20px 50px rgba(10, 31, 92, 0.15);
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
}
.hero-floating-card.card-1 { top: 12%; left: -2%; }
.hero-floating-card.card-2 { bottom: 18%; right: -2%; }
.hero-floating-card .icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff;
}
.hero-floating-card.card-2 .icon { background: var(--navy-700); }
.hero-floating-card .text strong { display: block; color: var(--ink); font-weight: 600; }
.hero-floating-card .text span { color: var(--ink-mute); font-size: 12px; }

@media (max-width: 900px) {
  .hero-floating-card { display: none; }
  .hero-visual img { max-height: 420px; }
}

/* ============================================ Trust strip / Logos */
.trust-strip {
  background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}
.trust-strip .wrap {
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; justify-content: center;
}
.trust-label {
  font-size: 13px; color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase;
  flex-shrink: 0;
}
.trust-logos {
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; justify-content: center;
}
.trust-logo {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  color: var(--ink-mute); opacity: 0.7; transition: opacity 0.2s, color 0.2s;
  letter-spacing: -0.01em;
}
.trust-logo:hover { opacity: 1; color: var(--navy-700); }

/* ============================================ Section common */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(3rem, 5vw, 4.5rem); }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 500;
  color: var(--navy-700); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem;
  color: var(--ink);
}
.section-head p {
  font-size: 1.1rem; color: var(--ink-soft); line-height: 1.6;
}

/* ============================================ What is */
.what-is {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.what-is-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
@media (max-width: 900px) { .what-is-grid { grid-template-columns: 1fr; } }

.what-is-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem); margin-bottom: 1.5rem; color: var(--ink);
}
.what-is-text p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.05rem; }

.what-is-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.what-is-list li {
  display: flex; gap: 14px; padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.what-is-list li:last-child { border-bottom: 1px solid var(--line); }
.what-is-list .check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.what-is-list strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.what-is-list span { color: var(--ink-mute); font-size: 14.5px; }

.what-is-visual {
  position: relative; padding: 2rem;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.what-is-visual img { border-radius: var(--radius); }

/* ============================================ Products */
.products { background: var(--bg); }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(10, 31, 92, 0.12);
  border-color: transparent;
}

.product-image {
  position: relative;
  padding: 2.5rem 1rem 1rem;
  display: flex; justify-content: center;
  background: var(--accent-bg, var(--bg-soft));
  transition: background 0.4s var(--ease);
}
.product-card.workforce .product-image { --accent-bg: #e8f3eb; }
.product-card.construction .product-image { --accent-bg: #fdebe2; }
.product-card.energy .product-image { --accent-bg: #fce5e5; }

.product-image img {
  max-height: 280px; width: auto;
  filter: drop-shadow(0 20px 30px rgba(10, 31, 92, 0.15));
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-image img { transform: translateY(-8px) rotate(-2deg); }

.product-body {
  padding: 1.75rem 1.75rem 2rem; flex: 1;
  display: flex; flex-direction: column;
}
.product-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 12px; align-self: flex-start;
}
.product-card.workforce .product-tag { background: rgba(74, 157, 95, 0.12); color: var(--green-dark); }
.product-card.construction .product-tag { background: rgba(232, 93, 44, 0.12); color: var(--orange-dark); }
.product-card.energy .product-tag { background: rgba(214, 58, 58, 0.12); color: var(--red-dark); }

.product-body h3 {
  font-size: 1.6rem; margin-bottom: 8px; color: var(--ink);
}
.product-body p {
  color: var(--ink-soft); font-size: 14.5px; line-height: 1.55;
  margin-bottom: 1.25rem;
}

.product-features {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: flex; flex-direction: column; gap: 6px;
}
.product-features li {
  font-size: 13.5px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.product-features li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-color, var(--navy-700));
}
.product-card.workforce { --accent-color: var(--green); }
.product-card.construction { --accent-color: var(--orange); }
.product-card.energy { --accent-color: var(--red); }

.product-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
}
.product-price {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--ink);
}
.product-price small { font-size: 12px; color: var(--ink-mute); font-weight: 400; font-family: var(--font-body); }
.product-buy {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--navy-700);
  padding: 8px 14px; border-radius: 999px;
  background: var(--navy-50); transition: background 0.2s, color 0.2s, transform 0.2s;
}
.product-buy:hover {
  background: var(--navy-700); color: #fff; transform: translateX(3px);
}

/* ============================================ Wallet feature */
.wallet {
  background: var(--navy-900);
  color: #fff;
  position: relative; overflow: hidden;
}
.wallet::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232, 93, 44, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(74, 157, 95, 0.1), transparent 60%);
  pointer-events: none;
}
.wallet-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .wallet-grid { grid-template-columns: 1fr; gap: 2rem; } }

.wallet-text .section-eyebrow { color: rgba(255,255,255,0.7); }
.wallet-text h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.7rem); margin-bottom: 1.25rem; }
.wallet-text p { color: rgba(255,255,255,0.8); margin-bottom: 1rem; font-size: 1.05rem; line-height: 1.6; }

.wallet-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem;
}
.wallet-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem; border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.wallet-feature .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(232, 93, 44, 0.2); color: #ff9670;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.wallet-feature h4 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: #fff; margin-bottom: 4px; letter-spacing: 0; }
.wallet-feature p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; margin: 0; }

.wallet-image { display: flex; justify-content: center; }
.wallet-image img {
  max-width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* ============================================ ELINYAE / Authority */
.authority {
  background: var(--bg-soft);
}
.authority-grid {
  display: grid; grid-template-columns: 0.6fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 900px) { .authority-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; } }

.authority-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--navy-900); padding: 1.5rem 2rem; border-radius: var(--radius);
}
.authority-badge img { height: 64px; width: auto; }
.authority-badge .text { color: #fff; }
.authority-badge .text small { display: block; font-size: 11px; letter-spacing: 0.1em; opacity: 0.7; text-transform: uppercase; }
.authority-badge .text strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }

.authority-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; color: var(--ink); }
.authority-text p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1rem; }
.authority-cert {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 1.5rem; padding: 12px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.authority-cert svg { color: var(--green); }

/* ============================================ How it works */
.how {
  background: var(--bg);
}
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  position: relative;
}
.how-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(to right, var(--line) 0, var(--line) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps::before { display: none; }
}
@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; }
}

.step {
  position: relative; z-index: 1;
  text-align: center; padding: 0 0.5rem;
}
.step-num {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  border-radius: 50%; background: #fff;
  border: 2px solid var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--navy-700);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.step:hover .step-num { background: var(--navy-700); color: #fff; transform: scale(1.05); }
.step h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: 0; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ============================================ CTA Block */
.cta-block {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-inner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(232, 93, 44, 0.2), transparent 60%),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(74, 157, 95, 0.15), transparent 60%);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2rem; }
.cta-inner .btn-primary { background: #fff; color: var(--navy-900); }
.cta-inner .btn-primary:hover { background: var(--navy-50); }
.cta-inner .btn-primary .btn-arrow { background: var(--navy-50); color: var(--navy-900); }

/* ============================================ Footer */
.site-footer {
  background: #e8edf6; color: #6b7590;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 38px; margin-bottom: 1rem; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 28em; color: var(--ink-soft); }
.footer-col h4 { font-family: var(--font-body); color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--navy-700); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
  font-size: 13px;
}
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ============================================ Page hero (interior pages) */
.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black, transparent 80%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center; font-size: 13.5px;
  color: rgba(255,255,255,0.65); margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: #fff; }

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem); color: #fff; max-width: 16ch;
  margin-bottom: 1rem;
}
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 50ch; }

/* ============================================ Shop page */
.shop-section { padding: 5rem 0; }
.shop-intro { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.shop-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.shop-intro p { color: var(--ink-soft); font-size: 1.05rem; }

.shop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 900px) { .shop-grid { grid-template-columns: 1fr; } }

/* Bundles section */
.bundles-section { padding: 5rem 0; background: var(--bg-soft); }
.bundles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 920px; margin: 0 auto;
}
@media (max-width: 800px) { .bundles-grid { grid-template-columns: 1fr; } }

.product-card.bundle .product-image { background: linear-gradient(135deg, #f7f9fd, #eef2fa); }
.product-card.bundle.bundle-construction .product-image { background: linear-gradient(135deg, #e8f3eb, #fdebe2); }
.product-card.bundle.bundle-energy .product-image { background: linear-gradient(135deg, #e8f3eb, #fce5e5); }

.product-card.bundle .product-tag {
  background: var(--navy-50); color: var(--navy-700);
}
.bundle-saving {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-left: 8px;
}
.price-old {
  text-decoration: line-through;
  color: var(--ink-mute);
  font-size: 1rem;
  font-family: var(--font-body); font-weight: 400;
  margin-right: 8px;
}

/* Sector/audience boxes for homepage */
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem;
}
@media (max-width: 800px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; transition: border-color 0.3s, transform 0.3s;
}
.audience-card:hover { border-color: var(--navy-700); transform: translateY(-3px); }
.audience-card .label {
  display: inline-block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--navy-700); margin-bottom: 8px;
}
.audience-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* Curriculum list (training modules) */
.curriculum {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
@media (max-width: 600px) { .curriculum { grid-template-columns: 1fr; } }
.curriculum li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; background: var(--bg-soft); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink-soft); line-height: 1.4;
}
.curriculum li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-color, var(--navy-700)); margin-top: 7px;
}

/* Info table (additional info on product pages) */
.info-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-soft); border-radius: var(--radius);
  overflow: hidden; margin: 2rem 0;
}
.info-table th, .info-table td {
  padding: 14px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th {
  background: rgba(31, 58, 138, 0.04);
  color: var(--ink); font-weight: 600;
  width: 38%;
}
.info-table td { color: var(--ink-soft); }

/* Order request notice on product pages */
.order-notice {
  background: var(--navy-50);
  border-left: 4px solid var(--navy-700);
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  font-size: 14px; color: var(--ink-soft); line-height: 1.55;
}
.order-notice strong { color: var(--navy-900); }

/* Order summary block in form */
.order-summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; margin-bottom: 1.5rem;
}
.order-summary .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 14px;
}
.order-summary .row.total {
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px;
  font-weight: 600; color: var(--ink); font-size: 16px;
}
.order-summary .label-row { color: var(--ink-soft); }

/* Bank details info card */
.bank-info {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff; padding: 2rem; border-radius: var(--radius-lg);
  margin-top: 2rem;
}
.bank-info h3 {
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600;
  color: #fff; margin-bottom: 12px; letter-spacing: 0.02em;
}
.bank-info p { color: rgba(255,255,255,0.8); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* Out of stock badge */
.stock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-left: 12px;
}
.stock-badge.out { background: rgba(214, 58, 58, 0.12); color: var(--red-dark); }
.stock-badge.in { background: rgba(74, 157, 95, 0.12); color: var(--green-dark); }

/* ============================================ Product detail */
.product-detail { padding: 4rem 0; }
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
@media (max-width: 900px) { .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; } }

.product-detail-image {
  position: relative; padding: 3rem;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.product-detail-image img {
  max-height: 420px; width: auto;
  filter: drop-shadow(0 30px 60px rgba(10, 31, 92, 0.2));
}
.product-detail-image.workforce { background: linear-gradient(135deg, #e8f3eb, #d0e8d6); }
.product-detail-image.construction { background: linear-gradient(135deg, #fdebe2, #f9d4c0); }
.product-detail-image.energy { background: linear-gradient(135deg, #fce5e5, #f8c8c8); }

.product-detail-body .product-tag { font-size: 12px; padding: 6px 12px; }
.product-detail-body h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.product-detail-body .price-row {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 1.5rem;
}
.product-detail-body .price {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.02em;
}
.product-detail-body .price-note { color: var(--ink-mute); font-size: 14px; }
.product-detail-body .desc { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; margin-bottom: 2rem; }

.includes-list {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; gap: 12px;
}
.includes-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--bg-soft); border-radius: var(--radius);
}
.includes-list .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.includes-list strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.includes-list span { color: var(--ink-soft); font-size: 14px; }

.buy-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding-top: 1rem; border-top: 1px solid var(--line);
}

/* ============================================ Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.contact-info p { color: var(--ink-soft); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.6; }

.contact-method {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-method:first-of-type { border-top: 1px solid var(--line); }
.contact-method .icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--navy-50); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-method strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.contact-method a { color: var(--ink-soft); transition: color 0.2s; }
.contact-method a:hover { color: var(--navy-700); }
.contact-method span { color: var(--ink-soft); display: block; font-size: 14.5px; }

.contact-form {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(31, 58, 138, 0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  width: 100%; margin-top: 1rem;
  background: var(--navy-700); color: #fff;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 500; font-size: 15.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, transform 0.2s;
}
.form-submit:hover { background: var(--navy-800); transform: translateY(-1px); }

/* ============================================ Reveal animation */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ISO certifications row in footer */
.footer-iso {
  display: flex; align-items: center; gap: 12px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-iso .label {
  font-size: 11px; font-weight: 600; color: var(--ink-mute);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-right: 4px;
}
.footer-iso img {
  height: 64px; width: auto; max-width: 200px; opacity: 0.9;
  transition: opacity 0.2s;
  object-fit: contain;
}
.footer-iso img:hover { opacity: 1; }
