/* =========================================================
   EBS Lighting and Electrical Supplies — main stylesheet
   ========================================================= */

:root {
  /* Color */
  --navy-deep:  #081527;
  --navy:       #0C2148;
  --navy-soft:  #16305C;
  --gold:       #F5A800;
  --gold-dark:  #D99000;
  --ink:        #14203A;
  --muted:      #5C6579;
  --line:       #E3E7EE;
  --bg-soft:    #F6F7FA;
  --white:      #FFFFFF;
  --success:    #1E8E5A;

  /* Type */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  /* Century Gothic isn't a licensed webfont (no Google Fonts version),
     so this relies on it being installed locally -- true on most
     Windows and Mac machines since it ships with Office -- and falls
     back to a similar geometric sans everywhere else. */
  --font-logo: 'Century Gothic', CenturyGothic, 'Century Gothic Paneuropean', 'Poppins', sans-serif;

  /* Layout */
  --wrap: 1240px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.2px;
}
p { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-soft); }

/* =========================================================
   Utility bar
   ========================================================= */
.utility-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.utility-bar__left { display: flex; align-items: center; gap: 10px; }
.utility-bar__item { display: inline-flex; align-items: center; gap: 6px; }
.icon-check { color: var(--gold); }
.utility-bar__divider { opacity: 0.35; }
.utility-bar__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600; }
.utility-bar__right { display: flex; align-items: center; gap: 16px; }
.utility-bar__ccy select {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  font-size: 12.5px;
  padding: 3px 6px;
  cursor: pointer;
}
.utility-bar__ccy select:hover { background: rgba(255,255,255,0.14); }
.utility-bar__ccy noscript button {
  font-size: 12px; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: rgba(255,255,255,0.85); cursor: pointer; margin-left: 4px;
}

/* Indicative FX equivalent — next to an order total only (never a
   per-item price), same restraint as account-invoice.php's selector.
   What's actually charged is always the JMD figure beside it. */
.price-fx-mark { font-size: 0.62em; font-weight: 600; color: var(--muted); vertical-align: super; margin-left: 1px; }
.fx-disclaimer { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.utility-bar .fx-disclaimer { margin: 0; color: rgba(255,255,255,0.65); white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(300px, 560px) auto auto;
  align-items: center;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo__icon { display: block; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__title {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.1px;
  color: var(--navy);
}
.logo__ebs {
  font-family: var(--font-logo);
  font-weight: 700;
  color: #F1592A;
  margin-right: 2px;
}
.logo__tag { font-size: 12px; color: var(--gold-dark); font-weight: 600; margin-top: 2px; font-family: var(--font-body); }

.site-search { position: relative; display: flex; border: 1.5px solid var(--line); border-radius: var(--radius); }
.site-search input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  min-width: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}
.site-search button {
  background: var(--gold);
  border: none;
  padding: 0 18px;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.site-search button:hover { background: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions__link { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink); }
.header-actions__link span { line-height: 1.35; }
.header-actions__link b { font-weight: 700; font-size: 13.5px; }
.header-actions__cart { position: relative; }
.cart-icon { position: relative; display: inline-flex; }
.cart-icon__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 10.5px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.nav-toggle { display: none; background: none; border: none; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Main nav ---------- */
.main-nav { background: var(--navy); }
.main-nav__list { display: flex; align-items: stretch; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 18px;
  color: rgba(255,255,255,0.88);
  font-size: 14.5px;
  font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.main-nav__list > li > a:hover,
.main-nav__list > li > a.is-active {
  color: var(--white);
  border-bottom: 1px solid var(--gold);
  background: rgba(255,255,255,0.04);
}
.has-dropdown:hover .dropdown { display: flex; }
.dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: 0 12px 24px rgba(8,21,39,0.14);
  z-index: 20;
}
.dropdown a { padding: 11px 18px; font-size: 14px; color: var(--ink); font-weight: 500; }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(100deg, rgba(8,21,39,0.94) 0%, rgba(8,21,39,0.72) 45%, rgba(8,21,39,0.4) 100%),
              linear-gradient(135deg, #17243F 0%, #0B1830 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding: 96px 0 108px;
  max-width: 640px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.hero__eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.hero h1 {
  font-size: 60px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  position: relative;
  display: flex;
  gap: 42px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero__stat b { font-family: var(--font-display); font-size: 28px; display: block; color: var(--white); }
.hero__stat span { font-size: 12.5px; color: rgba(255,255,255,0.65); }

/* =========================================================
   Section heading pattern
   ========================================================= */
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 620px; margin-bottom: 42px; }
.section-head__eyebrow { color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: 0.4px; margin-bottom: 8px; display: block; }
.section-head h2 { font-size: 38px; color: var(--navy); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- Category tiles ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.category-tile {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(8,15,28,0.92) 0%, rgba(8,15,28,0.15) 65%, rgba(8,15,28,0.05) 100%), var(--navy);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.category-tile__lighting   { background-color: #1c2a45; }
.category-tile__electrical { background-color: #262f3e; }
.category-tile__tools      { background-color: #2a2320; }
.category-tile__solar      { background-color: #1b3a2e; }
.category-tile__icon { position: absolute; top: 22px; left: 22px; color: var(--gold); opacity: 0.9; }
.category-tile h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 6px; }
.category-tile p { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-bottom: 14px; line-height: 1.5; }
.category-tile__link { color: var(--gold); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.category-tile:hover .category-tile__link { text-decoration: underline; }

/* ---------- Feature strip ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h4 { font-size: 18px; color: var(--ink); margin-bottom: 8px; text-transform: none; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover { border-color: #CFD5E0; box-shadow: 0 10px 24px rgba(8,21,39,0.08); }
.product-card__image {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B9C0CE;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__category { font-size: 11.5px; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.3px; }
.product-card__name { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.4; min-height: 40px; }
.product-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.product-card__stars { color: var(--gold); letter-spacing: 1px; }
.product-card__price { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-top: 2px; }
.product-card__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 11px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.15s ease;
}
.product-card__cta:hover { background: var(--navy-soft); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stats-grid .stat:last-child { border-right: none; }
.stat__icon { color: var(--gold); flex-shrink: 0; }
.stat b { font-family: var(--font-display); font-size: 30px; display: block; }
.stat span { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(100deg, rgba(8,21,39,0.94) 0%, rgba(8,21,39,0.6) 60%), var(--navy-deep);
  color: var(--white);
  padding: 64px 0;
}
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h2 { font-size: 34px; text-transform: uppercase; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 15px; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Trust strip (compact, reused near footer) ---------- */
.trust-strip { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 24px; }
.trust-item:not(:last-child) { border-right: 1px solid var(--line); }
.trust-item__icon { color: var(--navy); flex-shrink: 0; }
.trust-item h5 { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; color: var(--ink); margin-bottom: 3px; }
.trust-item p { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding-top: 56px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.3fr; gap: 28px; padding-bottom: 40px; }
.logo--footer { margin-bottom: 14px; color: var(--white); }
.logo--footer .logo__title { color: var(--white); font-size: 18.5px; }
.footer-col--brand p { line-height: 1.6; font-size: 13.5px; margin-bottom: 18px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.social-links a:hover { background: var(--gold); color: var(--navy-deep); }
.footer-col h4 { font-family: var(--font-body); font-size: 14px; color: var(--white); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 16px; }
.footer-col p { font-size: 13.5px; line-height: 1.7; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13.5px; }
.footer-signup { display: flex; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); overflow: hidden; margin-top: 4px; }
.footer-signup input { flex: 1; min-width: 0; border: none; background: transparent; color: var(--white); padding: 11px 12px; font-size: 13px; }
.footer-signup input::placeholder { color: rgba(255,255,255,0.5); }
.footer-signup button { background: var(--gold); border: none; padding: 0 14px; color: var(--navy-deep); display: flex; align-items: center; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px; flex-wrap: wrap; gap: 12px;
}
.payment-icons { display: flex; gap: 10px; }
.payment-icons span {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-search { display: none; }
  .header-actions span { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .main-nav__list { flex-direction: column; }
  .has-dropdown .dropdown { display: none !important; position: static; box-shadow: none; border: none; }
  .has-dropdown.is-open .dropdown { display: flex !important; }
  .category-grid, .feature-strip, .stats-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .stat, .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 640px) {
  .utility-bar__left span:not(:first-child) { display: none; }
  .utility-bar__right { gap: 8px; }
  .utility-bar .fx-disclaimer { display: none; }
  .utility-bar__ccy select { font-size: 11.5px; padding: 2px 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-grid, .feature-strip, .stats-grid, .trust-grid, .product-grid { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 34px; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
}

/* =========================================================
   Secondary page hero (About, and future inner pages)
   ========================================================= */
.hero--page { padding-bottom: 0; }
.hero--page .hero__inner { padding: 64px 0 108px; max-width: 560px; }
.hero--page h1 { font-size: 46px; }
.hero--page p { margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--gold); }

/* =========================================================
   Who We Are (About page)
   ========================================================= */
.who-we-are { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.who-we-are__copy p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.who-we-are__badges { display: flex; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: var(--ink); max-width: 150px; }
.badge-item svg { color: var(--gold-dark); flex-shrink: 0; }

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #16294a 0%, #0a1728 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.28);
}
.photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 22px);
}
.photo-frame span {
  position: relative;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
}
.photo-frame__icon { position: relative; color: var(--gold); opacity: 0.85; }

/* =========================================================
   Value grid (Why Customers Choose EBS)
   ========================================================= */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; text-align: center; }
.value-item__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin: 0 auto 16px;
}
.value-item h4 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.value-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* =========================================================
   Contact modal
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(6,13,26,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: 8px;
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 38px;
  position: relative;
  transform: translateY(14px);
  transition: transform 0.18s ease;
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.modal__close:hover { background: var(--line); color: var(--ink); }
.modal__eyebrow { color: var(--gold-dark); font-weight: 700; font-size: 12.5px; letter-spacing: 0.3px; display: block; margin-bottom: 8px; }
.modal h3 { font-size: 28px; color: var(--navy); margin-bottom: 6px; }
.modal__sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; line-height: 1.5; }


/* =========================================================
   Announcement modal (admin-editable, popup on home page)
   ========================================================= */
.announcement-modal { text-align: center; }
.announcement-modal__body { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.announcement-modal__promo {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-soft);
  border: 1.5px dashed var(--gold-dark);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 0 auto 20px;
}
.announcement-modal__promo-code { font-weight: 800; letter-spacing: 1px; color: var(--navy); font-size: 16px; }
.announcement-modal__promo-copy {
  border: none; background: none; color: var(--gold-dark); font-weight: 700; font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.announcement-modal__promo-copy:hover { color: var(--navy); }
.announcement-modal__cta { display: inline-block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.form-field label .req { color: #C0392B; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 5px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--navy); }

.form-status {
  font-size: 13.5px;
  padding: 11px 13px;
  border-radius: 5px;
  margin-bottom: 16px;
  display: none;
}
.form-status.is-success { display: block; background: #E7F6EE; color: var(--success); }
.form-status.is-error { display: block; background: #FDEDEC; color: #C0392B; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

@media (max-width: 900px) {
  .who-we-are { grid-template-columns: 1fr; }
  .photo-frame { order: -1; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .modal { padding: 28px 22px; }
}

/* =========================================================
   Font Awesome icon sizing across shared components
   ========================================================= */
.category-tile__icon { font-size: 26px; line-height: 1; }
.category-tile__icon svg { display: block; }
.category-tile__link i { font-size: 11px; margin-left: 2px; }
.feature-card__icon i { font-size: 19px; }
.stat__icon i { font-size: 24px; }
.trust-item__icon i { font-size: 21px; }
.value-item__icon i { font-size: 20px; }
.product-card__stars i { font-size: 11px; margin-right: 1px; }
.product-card__stars .fa-regular { color: #D8DCE4; }
.product-card__image i { font-size: 42px; }
.badge-item i { font-size: 15px; }

/* ---------- Featured products header row ---------- */
.featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.featured-head h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
}
.featured-head a { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.featured-head a i { font-size: 11px; margin-left: 4px; }
.featured-head a:hover { color: var(--gold-dark); }

.category-featured-section .category-grid { margin-bottom: 48px; }

@media (max-width: 640px) {
  .featured-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* =========================================================
   Shop listing pages (Lighting / Electrical / Tools / Shop All)
   ========================================================= */
.shop-tabs {
  position: relative;
  display: flex;
  height: 84px;
  background: var(--white);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  margin-top: -84px;
  margin-bottom: 36px;
  z-index: 5;
}
.shop-tab {
  flex: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 24px;
  height: 100%;
  background: var(--white);
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.shop-tab:last-child { border-right: none; }
.shop-tab:hover { background: var(--bg-soft); }
.shop-tab__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 17px;
  flex-shrink: 0;
}
.shop-tab__icon svg { width: 19px; height: 19px; }
.shop-tab__name { display: block; font-weight: 700; font-size: 15px; color: var(--ink); }
.shop-tab__count { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.shop-tab.is-active { background: var(--navy-deep); border-bottom: 1px solid var(--gold); }
.shop-tab.is-active:hover { background: var(--navy-deep); }
.shop-tab.is-active .shop-tab__icon { background: rgba(255,255,255,0.12); color: var(--gold); }
.shop-tab.is-active .shop-tab__name { color: var(--white); }
.shop-tab.is-active .shop-tab__count { color: rgba(255,255,255,0.65); }

.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 30px 0 70px; align-items: start; }

.filters-sidebar { border: 1px solid var(--line); border-radius: 8px; padding: 22px; position: sticky; top: 20px; }
.filters-sidebar__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.filters-sidebar__head h4 { font-size: 15px; color: var(--ink); }
.filters-sidebar__head a { font-size: 12.5px; color: var(--navy); font-weight: 600; }
.filter-group { border-top: 1px solid var(--line); padding: 16px 0; }
.filter-group:first-of-type { border-top: none; padding-top: 12px; }
.filter-group__title { font-size: 13px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; cursor: pointer; }
.filter-option input { accent-color: var(--navy); width: 15px; height: 15px; flex-shrink: 0; }
.filter-option .count { margin-left: auto; color: #9AA2B1; font-size: 12px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; border: 1.5px solid var(--line); border-radius: 5px; padding: 8px 10px; font-size: 13px; }
.price-inputs span { color: var(--muted); font-size: 12.5px; }
.filter-apply-btn { width: 100%; margin-top: 16px; padding: 11px; font-size: 14px; }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.shop-toolbar__count { font-size: 13.5px; color: var(--muted); }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.shop-sort select { border: 1.5px solid var(--line); border-radius: 5px; padding: 9px 12px; font-size: 13.5px; color: var(--ink); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 34px; color: #C7CEDA; margin-bottom: 14px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 6px; display: flex; align-items: center; justify-content: center; border-radius: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pagination a:hover { background: var(--bg-soft); }
.pagination .is-current { background: var(--navy); color: var(--white); }
.pagination .is-disabled { color: #C7CCD6; pointer-events: none; }

@media (max-width: 960px) {
  .shop-tabs { flex-direction: column; height: auto; margin-top: 16px; box-shadow: none; border: 1px solid var(--line); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
}

/* =========================================================
   Cart page
   ========================================================= */
.cart-header { display: flex; align-items: baseline; justify-content: space-between; padding: 32px 0 20px; flex-wrap: wrap; gap: 10px; }
.cart-header h1 { font-size: 32px; color: var(--navy); }
.cart-header .item-count { color: var(--muted); font-size: 14px; margin-left: 10px; font-family: var(--font-body); }
.cart-header a { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.cart-header a i { font-size: 11px; margin-right: 4px; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; padding-bottom: 60px; }

.cart-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 18px; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: none; }
.cart-row__thumb { width: 76px; height: 76px; border-radius: 6px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: #B9C0CE; font-size: 26px; }
.cart-row__name { font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.cart-row__meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.cart-row__stock { color: var(--success); font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.cart-row__badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--gold-dark); background: #FFF6E5; padding: 2px 8px; border-radius: 4px; }
.cart-row__actions { display: flex; gap: 14px; margin-top: 8px; }
.cart-row__actions button { background: none; border: none; font-size: 12.5px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.cart-row__actions button:hover { color: var(--navy); }
.cart-row__actions .remove-btn:hover { color: #C0392B; }
.cart-row__price { font-family: var(--font-display); font-size: 17px; color: var(--ink); text-align: right; white-space: nowrap; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty-stepper button { width: 30px; height: 32px; background: var(--bg-soft); border: none; font-size: 15px; color: var(--ink); }
.qty-stepper button:hover { background: var(--line); }
.qty-stepper input { width: 40px; height: 32px; border: none; text-align: center; font-size: 13.5px; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-row__subtotal { font-family: var(--font-display); font-size: 18px; color: var(--ink); text-align: right; white-space: nowrap; }

.shipping-progress { border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-top: 18px; display: flex; align-items: center; gap: 16px; }
.shipping-progress i { color: var(--navy); font-size: 18px; flex-shrink: 0; }
.shipping-progress__text { font-size: 13px; color: var(--ink); margin-bottom: 8px; }
.shipping-progress__bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.shipping-progress__fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width 0.3s ease; }

.order-summary { border: 1px solid var(--line); border-radius: 8px; padding: 24px; position: sticky; top: 20px; }
.order-summary h3 { font-size: 19px; color: var(--navy); margin-bottom: 16px; }
.summary-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.summary-line b { color: var(--ink); font-weight: 600; }
.summary-line a { font-size: 12px; color: var(--navy); font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 18px; }
.summary-total span:first-child { font-weight: 700; color: var(--ink); font-size: 15px; }
.summary-total span:last-child { font-family: var(--font-display); font-size: 24px; color: var(--navy); }
.promo-form { display: flex; gap: 8px; margin-bottom: 18px; }
.promo-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 5px; padding: 10px 12px; font-size: 13px; }
.promo-form button { border: 1.5px solid var(--line); background: var(--white); border-radius: 5px; padding: 0 16px; font-size: 13px; font-weight: 600; color: var(--ink); }
.checkout-btn { width: 100%; margin-bottom: 10px; padding: 13px; font-size: 14.5px; }
.secure-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); margin: 16px 0; line-height: 1.5; }
.secure-note i { color: var(--success); margin-top: 2px; }
.need-help-box { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin-top: 18px; }
.need-help-box h4 { font-size: 14.5px; color: var(--ink); margin-bottom: 10px; }
.need-help-box p { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.need-help-box i { color: var(--navy); width: 14px; }

.cart-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.cart-trust-row .trust-item { border: 1px solid var(--line); border-radius: 8px; padding: 18px; flex-direction: column; align-items: flex-start; gap: 10px; }

.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart i { font-size: 48px; color: #C7CEDA; margin-bottom: 18px; }
.empty-cart h2 { font-size: 24px; color: var(--navy); margin-bottom: 10px; }
.empty-cart p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 60px 1fr; grid-template-areas: "thumb name" "thumb price"; }
  .cart-row__thumb { grid-area: thumb; }
  .cart-row__name-col { grid-area: name; }
  .cart-row__price { display: none; }
  .cart-trust-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Product detail page
   ========================================================= */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px 0 50px; align-items: start; }

.pd-main-image {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: #C7CEDA;
  font-size: 100px;
}
.pd-main-image__zoom {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.pd-info__brand { font-size: 12.5px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; display: block; }
.pd-info h1 { font-size: 26px; color: var(--ink); line-height: 1.25; margin-bottom: 10px; }
.pd-info__sku { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.pd-info__rating { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.pd-info__rating .stars { color: var(--gold); font-size: 13px; }
.pd-info__rating .stars .fa-regular { color: #D8DCE4; }
.pd-info__rating a { color: var(--navy); font-weight: 600; }
.pd-info__price { font-family: var(--font-display); font-size: 34px; color: var(--ink); margin-bottom: 16px; }
.pd-info__desc { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.pd-info__stock { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 20px; }
.pd-info__stock i { color: var(--success); }
.pd-info__stock .sep { color: var(--line); }
.pd-info__stock .note { color: var(--muted); }

.pd-qty-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pd-qty-row label { font-size: 13px; font-weight: 700; color: var(--ink); margin-right: 8px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; min-width: 180px; }

.pd-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-perk { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pd-perk i, .pd-perk svg { color: var(--navy); font-size: 18px; }
.pd-perk b { font-size: 12.5px; color: var(--ink); }
.pd-perk span { font-size: 11.5px; color: var(--muted); line-height: 1.4; }

.pd-tabs-section { padding-bottom: 60px; }
.pd-tabs-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.pd-tab-btn {
  background: none; border: none;
  padding: 14px 18px;
  font-size: 13.5px; font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pd-tab-btn.is-active { color: var(--navy); border-bottom: 1px solid var(--gold); }
.pd-tab-panel { display: none; }
.pd-tab-panel.is-active { display: block; }
.pd-overview-grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.pd-overview-grid p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.shipping-box { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.shipping-box h4 { font-size: 14px; color: var(--ink); margin-bottom: 16px; }
.shipping-box__item { display: flex; gap: 12px; margin-bottom: 16px; }
.shipping-box__item:last-child { margin-bottom: 0; }
.shipping-box__item i { color: var(--navy); font-size: 16px; margin-top: 2px; }
.shipping-box__item b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.shipping-box__item span, .shipping-box__item p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.shipping-box__item a { font-size: 12.5px; color: var(--navy); font-weight: 600; }

.spec-table { width: 100%; border-collapse: collapse; max-width: 560px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 12px 4px; font-size: 13.5px; }
.spec-table td:first-child { color: var(--muted); font-weight: 600; width: 40%; }
.spec-table td:last-child { color: var(--ink); }

.feature-list { list-style: none; padding: 0; max-width: 560px; }
.feature-list li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: none; }
.feature-list i { color: var(--success); margin-top: 3px; }

.related-section { padding-bottom: 60px; }
.related-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.related-grid .product-card__name { min-height: 34px; font-size: 13px; }
.related-grid .product-card__price { font-size: 18px; }

@media (max-width: 1100px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; }
  .pd-overview-grid { grid-template-columns: 1fr; }
  .pd-perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-actions .btn { min-width: 100%; }
}

/* =========================================================
   Solar Calculator
   ========================================================= */
.calc-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 36px 0 70px; align-items: start; }

.calc-card { border: 1px solid var(--line); border-radius: 8px; padding: 24px; margin-bottom: 22px; background: var(--white); }
.calc-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.calc-hint { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }

.calc-mode-toggle { display: flex; gap: 6px; background: var(--bg-soft); border-radius: 7px; padding: 5px; margin-bottom: 20px; }
.calc-mode-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.calc-mode-btn.is-active { background: var(--white); color: var(--navy); box-shadow: 0 1px 4px rgba(8,21,39,0.12); }
.calc-mode-panel { display: none; }
.calc-mode-panel.is-active { display: block; }

.equipment-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.equipment-row {
  display: grid;
  grid-template-columns: 1fr 64px 64px auto auto;
  gap: 8px;
  align-items: center;
}
.equipment-row select,
.equipment-row input {
  border: 1.5px solid var(--line);
  border-radius: 5px;
  padding: 9px 10px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink);
  width: 100%;
}
.eq-hours-label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.eq-remove {
  width: 30px; height: 30px;
  border-radius: 5px;
  border: none;
  background: var(--bg-soft);
  color: var(--muted);
  flex-shrink: 0;
}
.eq-remove:hover { background: #FDEDEC; color: #C0392B; }

/* ---------- Results sidebar ---------- */
.calc-results { position: sticky; top: 20px; }
.calc-results__inner {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--bg-soft);
}
.calc-results__eyebrow { display: block; font-size: 12.5px; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 14px; }
.calc-stat { display: flex; flex-direction: column; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.calc-stat__label { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.calc-stat__value { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.calc-stat__value small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.calc-stat__value--lg { font-size: 36px; color: var(--navy); }

.calc-tier { margin-bottom: 16px; }
.calc-tier__badge {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  background: var(--line);
  color: var(--muted);
}
.calc-tier.tier-starter .calc-tier__badge   { background: #E7F0FF; color: #2A5FBF; }
.calc-tier.tier-essential .calc-tier__badge { background: #E7F6EE; color: #1E8E5A; }
.calc-tier.tier-standard .calc-tier__badge  { background: #FFF6E5; color: var(--gold-dark); }
.calc-tier.tier-premium .calc-tier__badge   { background: #FDEDEC; color: #C0392B; }
.calc-tier.tier-custom .calc-tier__badge    { background: var(--navy); color: var(--white); }

.calc-breakdown { margin-bottom: 18px; }
.calc-breakdown__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.calc-breakdown__row b { color: var(--ink); font-weight: 600; }

.calc-formula { font-size: 11.5px; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: 5px; padding: 10px; margin-bottom: 18px; line-height: 1.5; }
.calc-disclaimer { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 14px; }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .equipment-row { grid-template-columns: 1fr; }
  .eq-hours-label { display: none; }
}

.calc-promo-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 32px;
}
.calc-promo-banner:hover { background: var(--navy-soft); }
.calc-promo-banner__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.calc-promo-banner b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.calc-promo-banner span span { font-size: 12.5px; color: rgba(255,255,255,0.75); }
.calc-promo-banner > i { margin-left: auto; flex-shrink: 0; }

/* =========================================================
   Careers page
   ========================================================= */
.position-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.position-card { border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: var(--white); display: flex; flex-direction: column; }
.position-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.position-card__meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.position-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.position-card__badge { display: inline-block; background: #FFF6E5; color: var(--gold-dark); font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 14px; align-self: flex-start; }
.position-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.position-card__link { color: var(--navy); font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.position-card__link:hover { color: var(--gold-dark); }

.job-modal .modal { max-width: 620px; }
.job-modal__meta { display: flex; gap: 16px; color: var(--muted); font-size: 13px; margin-bottom: 18px; flex-wrap: wrap; }
.job-modal__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-modal h4 { font-size: 13px; color: var(--navy); text-transform: uppercase; letter-spacing: 0.4px; margin: 20px 0 10px; }
.job-modal ul { padding-left: 18px; margin: 0; }
.job-modal ul li { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.job-modal__desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.why-join-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.why-join-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.why-join-list li i { color: var(--success); margin-top: 3px; }

@media (max-width: 900px) {
  .position-grid { grid-template-columns: 1fr; }
  .why-join-list { grid-template-columns: 1fr; }
}

/* =========================================================
   Legal content (Terms of Use / Privacy Policy) — shared by
   the standalone pages and their modal versions
   ========================================================= */
.legal-content h2 { font-size: 17px; color: var(--navy); margin: 24px 0 8px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.legal-content a { color: var(--navy); font-weight: 600; }
.legal-notice-banner { background: #FFF6E5; border: 1px solid #F5D98A; border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; font-size: 13px; color: #8A6D1E; line-height: 1.6; }
.print-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 28px; display: flex; align-items: center; gap: 8px; }
@media print { .print-hint, .legal-notice-banner { display: none; } }

.legal-modal .modal { max-width: 640px; }
.legal-modal__body { max-height: 46vh; overflow-y: auto; margin: 16px 0; padding: 16px 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* =========================================================
   Search autocomplete dropdown
   ========================================================= */
.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8,21,39,0.14);
  z-index: 50;
  overflow: hidden;
  display: none;
}
.search-suggestions.is-open { display: block; }
.search-suggestions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.search-suggestions a:last-child { border-bottom: none; }
.search-suggestions a:hover,
.search-suggestions a.is-active { background: var(--bg-soft); }
.search-suggestions .sg-name { font-weight: 600; }
.search-suggestions .sg-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.search-suggestions .sg-category { color: var(--gold-dark); font-weight: 600; font-size: 11px; text-transform: uppercase; margin-right: 8px; }
