/* Wichita Falls Equipment — neon green dark theme */
:root {
  --bg: #0a0f0d;            /* page background */
  --bg-2: #0e1512;          /* section alt background */
  --card: #121a16;          /* card surface */
  --card-2: #16201b;
  --line: #223028;          /* borders */
  --ink: #f2f7f4;           /* headings */
  --body: #9db3a7;          /* body text */
  --neon: #39ff14;          /* neon green accent */
  --neon-soft: #2fd411;
  --neon-dim: #39ff1422;
  --glow: 0 0 12px #39ff1466, 0 0 40px #39ff1422;
  --radius: 16px;
  --shadow: 0 4px 18px rgba(0, 0, 0, .45);
  --shadow-lg: 0 14px 44px rgba(0, 0, 0, .6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--body); background: var(--bg); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; font-weight: 800; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.section-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 34px; flex-wrap: wrap;
}
.section-row h2, .section-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .02em; }
.section-row h2::after, .section-head h2::after {
  content: ""; display: block; width: 54px; height: 4px; margin-top: 12px;
  background: var(--neon); border-radius: 2px; box-shadow: var(--glow);
}
.section-head h2::after { margin-inline: auto; }
.section-link { color: var(--neon); font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.section-link:hover { text-shadow: var(--glow); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--neon); margin-bottom: 10px;
}

/* ---------- Floating pill nav ---------- */
header.site {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100; pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1180px; margin: 0 auto; padding: 0 14px 0 18px;
  display: flex; align-items: center; gap: 22px; height: 64px;
  background: #0c130fd9; backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow), inset 0 0 0 1px #39ff1411;
}
@media (min-width: 1220px) { .nav { margin: 0 auto; } }
@media (max-width: 1219px) { header.site { padding: 0 12px; } }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.brand img { height: 36px; width: 36px; object-fit: contain; filter: drop-shadow(0 0 6px #39ff1455); }
.brand small { display: block; font-weight: 600; font-size: .64rem; color: var(--neon); letter-spacing: .08em; text-transform: uppercase; }
#nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
#nav-links a { color: #cfe0d6; font-weight: 700; font-size: .92rem; }
#nav-links a:hover, #nav-links a.active { color: var(--neon); text-shadow: var(--glow); }
.nav .btn { margin-left: 4px; }
#nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

/* Nav dropdown (Resources) */
.nav-group { position: relative; }
.nav-group > .nav-trigger {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: #cfe0d6; font-weight: 700; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-group > .nav-trigger::after { content: "▾"; font-size: .7em; opacity: .7; }
.nav-group:hover > .nav-trigger,
.nav-group:focus-within > .nav-trigger,
.nav-group > .nav-trigger.active { color: var(--neon); text-shadow: var(--glow); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 186px; padding: 8px; z-index: 60;
  background: #0c130ff5; backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  display: none; flex-direction: column; gap: 2px;
}
/* Hover covers mice; .open is set by JS so tapping works on touch screens too */
.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu,
.nav-group.open .nav-menu { display: flex; }
.nav-group.open > .nav-trigger { color: var(--neon); text-shadow: var(--glow); }
.nav-menu a { padding: 9px 12px; border-radius: 9px; font-size: .9rem; white-space: nowrap; }
.nav-menu a:hover { background: #39ff1418; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 800; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s, color .12s;
}
.btn-primary { background: var(--neon); color: #04140a; box-shadow: var(--glow); }
.btn-primary:hover { background: var(--neon-soft); transform: translateY(-2px); }
.btn-ghost { background: #1a2820; border-color: #ffffff2e; color: var(--ink); }
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); box-shadow: var(--glow); }
.btn-dark { background: #0c130f; color: var(--ink); border-color: var(--line); }
.btn-dark:hover { border-color: var(--neon); color: var(--neon); }
.btn-offer { background: #1a1200; border-color: #c8860a; color: #f0a820; }
.btn-offer:hover { background: #f0a820; color: #120d00; box-shadow: 0 0 14px #f0a82055; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: 150px 0 72px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/equip-5.webp") center 30% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, #0a0f0d 4%, #0a0f0dd8 30%, #0a0f0d55 65%, #0a0f0d99 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 4.2rem); text-transform: uppercase;
  letter-spacing: .01em; margin: 0 0 18px;
}
.hero h1 em { color: var(--neon); font-style: normal; text-shadow: var(--glow); }
.hero p.lede { color: #c9d9d0; font-size: 1.12rem; max-width: 40rem; }
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Stats row ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); padding: 40px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat .num {
  font-size: 2rem; font-weight: 900; color: var(--neon); text-shadow: var(--glow);
  line-height: 1.1;
}
.stat .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: #39ff1466; box-shadow: var(--shadow-lg), var(--glow); }
.card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0d1420; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.04rem; text-transform: uppercase; letter-spacing: .03em; }
.card-body p { font-size: .9rem; }
.card-cta { margin-top: auto; color: var(--neon); font-weight: 800; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.cat-stock { color: var(--body); font-size: .9rem; font-weight: 600; }
/* "Browse everything" tile that closes out the category grid */
.cat-more {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: linear-gradient(160deg, #16241b, var(--bg-2));
  border: 1px solid #39ff1433; border-radius: var(--radius); padding: 32px;
  transition: border-color .15s, box-shadow .15s;
}
.cat-more:hover { border-color: var(--neon); box-shadow: var(--glow); }
.cat-more h3 { font-size: 1.15rem; text-transform: uppercase; }
.cat-more ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.cat-more li { color: var(--body); font-size: .9rem; }
.cat-more .btn { align-self: flex-start; margin-top: 4px; }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 13px; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.badge.in-stock { background: var(--neon); color: #04140a; box-shadow: var(--glow); }
.badge.sold-out { background: #2a3630; color: #9db3a7; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-size: 1.3rem; font-weight: 900; color: var(--ink); }
.permo { font-size: .84rem; font-weight: 700; color: var(--neon); }
.price-row.big .price { font-size: 2.1rem; }
.price-row.big .permo { font-size: 1rem; }

/* ---------- Ready-to-ship scroller ---------- */
.ready-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px);
  gap: 20px; overflow-x: auto; padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}
.ready-row .card { scroll-snap-align: start; }

/* ---------- Auto-scrolling product marquee ---------- */
.marquee {
  overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee + .marquee { margin-top: 20px; }
.marquee-track { display: flex; width: max-content; animation: marquee-l 64s linear infinite; }
.marquee.rev .marquee-track { animation-name: marquee-r; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
/* No flex gap: spacing lives on the cards so the 50% loop point stays exact */
.marquee .card { flex: 0 0 265px; width: 265px; margin-right: 20px; }
@keyframes marquee-l { from { transform: translateX(0); }      to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); }   to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}
.ready-row::-webkit-scrollbar { height: 10px; }
.ready-row::-webkit-scrollbar-track { background: var(--bg-2); border-radius: 999px; }
.ready-row::-webkit-scrollbar-thumb { background: #223028; border-radius: 999px; }
.ready-row::-webkit-scrollbar-thumb:hover { background: #39ff1466; }

/* ---------- Inventory page ---------- */
.page-head {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 150px 0 48px;
}
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); text-transform: uppercase; }
.page-head p { margin-top: 6px; }
.inv-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 30px 0 24px; }
#filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: .86rem; color: var(--body); cursor: pointer;
}
.chip:hover { border-color: var(--neon); color: var(--neon); }
.chip.active { background: var(--neon); border-color: var(--neon); color: #04140a; box-shadow: var(--glow); }
.inv-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
#inv-count { font-size: .88rem; font-weight: 700; }
#sort-select {
  padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font-weight: 700; color: var(--ink); background: var(--card);
}
.empty { padding: 40px 0; text-align: center; }
.empty a { color: var(--neon); font-weight: 800; }

/* ---------- Unit detail ---------- */
.unit-section { padding-top: 130px; }
.crumbs { font-size: .86rem; margin-bottom: 20px; }
.crumbs a { color: var(--neon); font-weight: 700; }
.unit-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.unit-img { position: relative; }
.unit-img img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg); width: 100%; }
.unit-info h1 { font-size: 1.9rem; margin-bottom: 12px; text-transform: uppercase; }
.unit-desc { margin: 16px 0 20px; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: .93rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.specs th { color: var(--ink); font-weight: 700; width: 42%; }
.unit-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: .78rem; color: #6d8177; margin-top: 18px; }

/* ---------- Brand logos section ---------- */
.brands { background: var(--bg-2); border-block: 1px solid var(--line); }
.brand-logos {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: center;
  padding: 8px 0 38px;
}
.brand-logo-item {
  display: flex; align-items: center; justify-content: center;
  background: #f4f6f5; border-radius: 12px;
  width: 150px; height: 68px; padding: 12px 18px;
  opacity: .82; transition: opacity .2s, transform .2s, box-shadow .2s;
}
.brand-logo-item:hover {
  opacity: 1; transform: translateY(-3px);
  box-shadow: 0 0 0 1px #39ff1466, var(--glow);
}
.brand-logo-item img {
  max-height: 100%; max-width: 100%; width: auto; height: auto;
  object-fit: contain;
}
/* These brands ship white artwork — darken it so it reads on the light chip */
.brand-logo-item.is-white img { filter: brightness(0); }
.titan-badge {
  background: var(--card); border: 1px solid #39ff1433;
  border-radius: var(--radius); padding: 26px 32px;
  display: flex; gap: 28px; align-items: center;
  transition: border-color .15s, box-shadow .15s;
}
.titan-badge:hover { border-color: var(--neon); box-shadow: var(--glow); }
.titan-badge-logo { height: 52px; width: auto; flex-shrink: 0; }
.titan-badge-text h3 { font-size: 1.25rem; margin: 4px 0 8px; }
.titan-badge-text p { color: var(--body); max-width: 560px; font-size: .95rem; }
.titan-badge-text strong { color: var(--neon); }

/* ---------- Brand tag on unit cards ---------- */
.brand-tag {
  display: inline-block; font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--neon); border: 1px solid #39ff1433;
  border-radius: 5px; padding: 2px 8px;
}
.titan-warranty {
  background: #39ff1411; border: 1px solid #39ff1444;
  border-radius: 10px; padding: 10px 14px;
  font-size: .88rem; color: var(--body); margin-bottom: 18px;
}
.titan-warranty strong { color: var(--neon); }

/* ---------- Financing ---------- */
.financing { background: var(--bg-2); border-block: 1px solid var(--line); }
.fin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.fin-card .num { font-size: 1.35rem; font-weight: 900; color: var(--neon); text-shadow: var(--glow); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .02em; }
.fin-card p { font-size: .93rem; }

/* ---------- Reviews ---------- */
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.stars { color: var(--neon); letter-spacing: 3px; margin-bottom: 12px; text-shadow: var(--glow); }
.review-card blockquote { font-size: .96rem; color: var(--ink); margin-bottom: 14px; }
.review-card cite { font-style: normal; font-weight: 800; color: var(--ink); font-size: .88rem; }
.review-card cite span { display: block; font-weight: 600; color: var(--body); font-size: .8rem; }

/* ---------- Phone section ---------- */
.phone-cta { text-align: center; }
.phone-cta h2 { text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.phone-cta .sub { max-width: 34rem; margin: 12px auto 26px; }
.big-phone {
  display: inline-block; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900;
  color: var(--neon); text-shadow: var(--glow); letter-spacing: .02em; line-height: 1.1;
}
.big-phone:hover { text-decoration: underline; }
.phone-hours { margin: 14px 0 30px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .84rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; text-transform: uppercase; }
.info-row { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-row svg { flex: none; margin-top: 3px; }
.info-row strong { color: var(--ink); display: block; }
.info-row a { color: var(--neon); font-weight: 700; }
form.lead { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
form.lead h3 { margin-bottom: 18px; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 800; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--bg-2);
}
.field input::placeholder, .field textarea::placeholder { color: #5d7166; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--neon); border-color: var(--neon); }
form.lead button { width: 100%; margin-top: 16px; }
#form-done {
  margin-top: 14px; background: var(--neon-dim); border: 1px solid #39ff1455; color: var(--neon);
  padding: 12px 16px; border-radius: 10px; font-weight: 700; font-size: .92rem;
}
#form-done a { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-2); border-block: 1px solid var(--line); padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.6rem; text-transform: uppercase; }
.cta-band p { font-weight: 600; }

/* ---------- Footer ---------- */
footer.site { background: #070b09; border-top: 1px solid var(--line); color: var(--body); padding: 56px 0 30px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 36px; }
footer.site h4 { color: var(--ink); margin-bottom: 14px; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; }
footer.site a:hover { color: var(--neon); }
footer.site ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .brand small { display: none; }
}
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .unit-layout, .contact-layout { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .titan-badge { flex-direction: column; text-align: center; }
  .titan-badge-logo { height: 44px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  #nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #0c130ff2; backdrop-filter: blur(14px);
    flex-direction: column; padding: 20px 24px; gap: 16px;
    border: 1px solid var(--line); border-radius: 20px;
  }
  #nav-links.open { display: flex; }
  #nav-toggle { display: block; margin-left: auto; }
  .nav .btn { display: none; }
  /* Dropdown flattens into the stacked mobile menu: the trigger becomes a
     plain group label and its links sit under it, always visible. */
  .nav-group { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .nav-group > .nav-trigger {
    pointer-events: none;              /* label only — nothing to toggle here */
    font-size: .68rem; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--body);
  }
  .nav-group > .nav-trigger::after { content: none; }
  .nav-menu {
    position: static; transform: none; display: flex; padding: 0;
    background: none; border: 0; box-shadow: none; backdrop-filter: none;
    gap: 14px; min-width: 0; align-items: center;
  }
  .nav-menu a { padding: 0; font-size: .92rem; font-weight: 700; }
  .nav-menu a:hover { background: none; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { min-height: 78vh; }
}

/* ---------- Offer cards ---------- */
.offer-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
}
.offer-card:hover { transform: translateY(-4px); border-color: #ff6b0066; box-shadow: var(--shadow-lg), 0 0 18px #ff6b0033; }
.offer-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 13px; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.offer-badge.neon  { background: var(--neon); color: #04140a; box-shadow: var(--glow); }
.offer-badge.sale  { background: #ff4d00; color: #fff; box-shadow: 0 0 12px #ff4d0055; }
.offer-badge.hot   { background: #ff1744; color: #fff; box-shadow: 0 0 12px #ff174455; }
.offer-badge.bundle{ background: #ffd600; color: #1a1200; box-shadow: 0 0 12px #ffd60055; }
.offer-img { aspect-ratio: 16/9; overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.offer-body h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.offer-prices { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer-regular { font-size: .95rem; font-weight: 700; color: var(--body); text-decoration: line-through; }
.offer-sale { font-size: 1.5rem; font-weight: 900; color: var(--neon); text-shadow: var(--glow); }
.offer-save { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ff9100; }
.offer-desc { font-size: .9rem; flex: 1; }
.offer-cta { margin-top: auto; padding-top: 6px; color: var(--neon); font-weight: 800; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- Admin tabs ---------- */
.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.admin-tab {
  padding: 11px 22px; border: none; background: none; color: var(--body);
  font: inherit; font-weight: 800; font-size: .92rem; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.admin-tab.active { color: var(--neon); border-bottom-color: var(--neon); }
.admin-tab:hover:not(.active) { color: var(--ink); }

/* ---------- Import modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 600;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 16px 40px; overflow-y: auto;
}
.modal-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  width: 100%; max-width: 900px; padding: 30px; box-shadow: var(--shadow-lg);
}
.modal-box h2 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 6px; }
.modal-box .muted { color: var(--body); font-size: .85rem; margin-bottom: 16px; }
.modal-scroller { max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; margin: 16px 0; }
.modal-box table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.modal-box th { background: var(--bg-2); color: var(--ink); padding: 9px 10px; text-align: left; font-weight: 800; font-size: .73rem; text-transform: uppercase; letter-spacing: .06em; position: sticky; top: 0; }
.modal-box td { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--body); }
.modal-box td:first-child { color: var(--ink); font-weight: 700; }
.modal-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.modal-warn { color: #ff9100; font-size: .85rem; font-weight: 700; }
.import-opts { display: flex; gap: 18px; margin: 12px 0; }
.import-opts label { display: flex; gap: 7px; align-items: center; font-weight: 700; cursor: pointer; }
.import-opts input[type=radio] { accent-color: var(--neon); }

/* ---------- Offers admin rows ---------- */
.offer-row {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; margin-bottom: 14px;
  display: grid; grid-template-columns: 1.6fr 1fr .85fr .85fr auto; gap: 14px; align-items: start;
}
.offer-row label { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--body); margin-bottom: 4px; }
.offer-row input, .offer-row select, .offer-row textarea {
  width: 100%; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--bg-2); color: var(--ink); font: inherit; font-size: .9rem;
}
.offer-row textarea { resize: vertical; min-height: 60px; }
.offer-row .row-expand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.offer-active { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); }
.offer-active input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--neon); }
@media (max-width: 900px) {
  .offer-row { grid-template-columns: 1fr 1fr; }
  .offer-row .row-expand { grid-template-columns: 1fr 1fr; }
}

/* ---------- Received customer offers ---------- */
.rcv-row {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 12px; display: grid;
  grid-template-columns: auto 1fr auto; gap: 12px 20px; align-items: start;
}
.rcv-row.is-new { border-color: var(--neon); }
.rcv-amount { font-size: 1.35rem; font-weight: 900; color: #f0a820; white-space: nowrap; }
.rcv-unit   { font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.rcv-meta   { font-size: .83rem; color: var(--body); }
.rcv-meta strong { color: var(--ink); }
.rcv-meta a { color: var(--neon); }
.rcv-note   { font-size: .83rem; color: var(--body); margin-top: 6px; font-style: italic; }
.rcv-actions { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; }
.rcv-date   { font-size: .75rem; color: var(--body); text-align: right; }
.rcv-status { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
              padding: 3px 8px; border-radius: 20px; }
.rcv-status.new      { background: #39ff1422; color: var(--neon); border: 1px solid #39ff1444; }
.rcv-status.read     { background: var(--bg-2); color: var(--body); border: 1px solid var(--line); }
.rcv-btn { padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--line);
           background: none; color: var(--body); font: inherit; font-size: .78rem;
           font-weight: 800; cursor: pointer; white-space: nowrap; }
.rcv-btn:hover { border-color: var(--neon); color: var(--neon); }
.rcv-btn.del { border-color: #5a2323; color: #ff5a5a; }
.rcv-btn.del:hover { background: #ff5a5a22; }
@media (max-width: 700px) { .rcv-row { grid-template-columns: 1fr; } }

/* ---------- Settings tab ---------- */
.settings-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 28px; max-width: 560px;
}
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.settings-label { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.settings-desc { font-size: .85rem; color: var(--body); max-width: 380px; line-height: 1.5; }
.settings-preview {
  margin-top: 14px; padding: 12px 16px; background: #0f1a10;
  border: 1px solid #39ff1444; border-radius: 10px;
  font-size: .85rem; color: var(--body);
}
.settings-preview strong { color: var(--neon); }

/* Toggle switch */
.toggle-switch { position: relative; display: inline-block; flex-shrink: 0; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  display: block; width: 52px; height: 28px; border-radius: 14px;
  background: var(--bg-2); border: 1.5px solid var(--line);
  transition: background .2s, border-color .2s;
}
.toggle-thumb {
  position: absolute; top: 4px; left: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--body); transition: transform .2s, background .2s;
}
.toggle-switch input:checked + .toggle-track { background: #0f2a10; border-color: var(--neon); }
.toggle-switch input:checked + .toggle-track .toggle-thumb { transform: translateX(24px); background: var(--neon); }

/* ---------- Under construction overlay ---------- */
#uc-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.uc-card {
  text-align: center; max-width: 480px; width: 100%;
}
.uc-logo { height: 64px; margin: 0 auto 20px; filter: drop-shadow(0 0 14px #39ff1455); }
.uc-badge {
  display: inline-block; padding: 5px 16px; border-radius: 20px;
  background: #1a1200; border: 1px solid #c8860a; color: #f0a820;
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.uc-name { font-size: 1.6rem; margin-bottom: 10px; }
.uc-tagline { color: var(--body); font-size: .95rem; margin-bottom: 28px; line-height: 1.6; }
.uc-details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 8px 0; text-align: left;
}
.uc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; color: var(--ink); font-size: .95rem; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.uc-row:last-child { border-bottom: none; }
.uc-row svg { color: var(--neon); flex-shrink: 0; }
a.uc-row:hover { color: var(--neon); }

/* ---------- Resource pages (manuals / videos) ---------- */
.res-lead { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.res-lead p { font-size: 1.02rem; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.res-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.res-card:hover { border-color: #39ff1455; box-shadow: var(--glow); }
.res-card .res-icon { font-size: 1.8rem; line-height: 1; }
.res-card h3 { font-size: 1.15rem; text-transform: uppercase; }
.res-card p { color: var(--body); font-size: .94rem; }
.res-card .btn { align-self: flex-start; margin-top: 6px; }
.res-note {
  max-width: 900px; margin: 34px auto 0; text-align: center;
  color: var(--body); font-size: .92rem;
}
.res-note a { color: var(--neon); font-weight: 700; }
.brand-doc-list {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 900px; margin: 34px auto 0;
}
.brand-doc-list span {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  font-size: .85rem; font-weight: 700; color: var(--body);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); aspect-ratio: 4 / 3;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.gallery-item:hover { border-color: var(--neon); box-shadow: var(--glow); transform: translateY(-3px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px;
  background: linear-gradient(transparent, #04140acc 55%);
  font-weight: 800; font-size: .95rem; color: #f2f7f4;
}
.gallery-cap small {
  display: block; font-weight: 600; font-size: .78rem;
  color: var(--neon); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px;
}

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: #04140af2; backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 32px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 100%; max-height: 86vh; border-radius: 14px; border: 1px solid #39ff1444; }
#lightbox .lb-close {
  position: absolute; top: 20px; right: 26px; background: none; border: 0;
  color: var(--ink); font-size: 2.2rem; line-height: 1; cursor: pointer;
}
#lightbox .lb-close:hover { color: var(--neon); }

/* ---------- About ---------- */
.about-lead { max-width: 780px; margin: 0 auto 48px; }
.about-lead p { font-size: 1.04rem; margin-bottom: 16px; }
.owner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.owner-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.owner-card:hover { border-color: #39ff1455; box-shadow: var(--glow); }
.owner-initial {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 900;
  color: #04140a; background: var(--neon); box-shadow: var(--glow);
}
.owner-card h3 { font-size: 1.2rem; }
.owner-card .owner-role {
  display: block; color: var(--neon); font-size: .78rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin: 5px 0 12px;
}
.owner-card p { color: var(--body); font-size: .93rem; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.value-item {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.value-item h4 { font-size: 1rem; text-transform: uppercase; margin-bottom: 8px; color: var(--ink); }
.value-item p { color: var(--body); font-size: .92rem; }
.sister-card {
  background: var(--card); border: 1px solid #39ff1433; border-radius: var(--radius);
  padding: 30px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  transition: border-color .15s, box-shadow .15s;
}
.sister-card:hover { border-color: var(--neon); box-shadow: var(--glow); }
.sister-card div { flex: 1 1 320px; }
.sister-card h3 { font-size: 1.2rem; margin: 4px 0 8px; }
.sister-card p { color: var(--body); font-size: .94rem; }

/* ---------- Floating chat widget ---------- */
#chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 300; }
#chat-launcher {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--neon); color: #04140a; box-shadow: var(--glow), var(--shadow);
  display: grid; place-items: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
#chat-launcher:hover { transform: translateY(-3px) scale(1.04); }
#chat-launcher svg { width: 28px; height: 28px; }
#chat-launcher .icon-close { display: none; }
#chat-widget.open .icon-open { display: none; }
#chat-widget.open .icon-close { display: block; }
/* Attention dot until it's been opened once */
#chat-launcher::after {
  content: ""; position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #ff4d4d; border: 2px solid var(--bg);
}
#chat-widget.open #chat-launcher::after,
#chat-widget.seen #chat-launcher::after { display: none; }

#chat-panel {
  position: absolute; right: 0; bottom: 74px; width: 310px;
  background: var(--card); border: 1px solid #39ff1440; border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
#chat-widget.open #chat-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-head { background: var(--bg-2); padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chat-head strong { color: var(--ink); font-size: 1rem; display: block; }
.chat-head span { color: var(--body); font-size: .84rem; }
.chat-body { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.chat-opt {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2);
  color: var(--ink); font-weight: 700; font-size: .92rem;
  transition: border-color .15s, background .15s, transform .12s;
}
.chat-opt:hover { border-color: var(--neon); background: #16201b; transform: translateX(2px); }
.chat-opt svg { width: 20px; height: 20px; flex-shrink: 0; }
.chat-opt small { display: block; font-weight: 600; font-size: .76rem; color: var(--body); }
.chat-foot { padding: 0 16px 16px; color: var(--body); font-size: .76rem; text-align: center; }
@media (max-width: 420px) {
  #chat-widget { right: 14px; bottom: 14px; }
  #chat-panel { width: calc(100vw - 28px); }
}

/* ---------- Wide-screen density ---------- */
/* Three big tiles read as oversized on a large monitor — go to four from
   tablet-landscape up, and let the container breathe a little wider. */
@media (min-width: 1024px) {
  #category-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  #category-grid .cat-card h3 { font-size: 1rem; }
  #category-grid .cat-more { padding: 24px; }
  #category-grid .cat-more h3 { font-size: 1.02rem; }
  #category-grid .cat-more ul { gap: 3px; }
  #category-grid .cat-more li { font-size: .84rem; }
}
@media (min-width: 1500px) {
  .wrap { max-width: 1320px; }
  #category-grid { grid-template-columns: repeat(5, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Category tile with no photo — fill the space instead of leaving a gap */
.cat-card.no-img {
  background: linear-gradient(160deg, #16241b, var(--bg-2));
  justify-content: center;
}
.cat-card.no-img .card-body { padding: 30px 22px; gap: 10px; }
.cat-card.no-img h3 { font-size: 1.15rem; }

/* ---------- Reviews empty state (Google Business Profile) ---------- */
.reviews-empty {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px 32px; text-align: center; box-shadow: var(--shadow);
  max-width: 680px; margin: 0 auto;
}
.reviews-empty .g-mark { width: 46px; height: 46px; margin: 0 auto 18px; }
.reviews-empty h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 10px; }
.reviews-empty p { color: var(--body); max-width: 46ch; margin: 0 auto 26px; }
.reviews-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
