/* ============================================================
   TAP Services — v2 Redesign
   Brand: Amber #F5820A + Black — Industrial Training Institute
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --amber:        #F5820A;
  --amber-dark:   #D96D00;
  --amber-deeper: #B55A00;
  --amber-light:  #FFF3E0;
  --amber-glow:   rgba(245,130,10,0.18);
  --amber-border: rgba(245,130,10,0.3);

  --black:   #080808;
  --dark:    #0F0F0F;
  --dark-2:  #161616;
  --dark-3:  #1E1E1E;
  --dark-4:  #272727;
  --dark-5:  #323232;

  --white:   #FFFFFF;
  --off-white: #F5F5F0;
  --gray-100: #F0F0EC;
  --gray-200: #E0E0D8;
  --gray-400: #A0A098;
  --gray-500: #787870;
  --gray-600: #585850;

  --text:     #1A1A16;
  --text-2:   #4A4A42;
  --text-3:   #787870;
  --text-inv: rgba(255,255,255,0.92);
  --text-inv2: rgba(255,255,255,0.55);
  --text-inv3: rgba(255,255,255,0.28);

  --border-dark:  rgba(255,255,255,0.08);
  --border-dark2: rgba(255,255,255,0.13);
  --border-light: #E0E0D8;

  --shadow:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-lg: 0 20px 56px rgba(0,0,0,0.24);
  --shadow-amber: 0 8px 32px rgba(245,130,10,0.28);

  --r-sm:  5px;
  --r:     8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;

  --t:     180ms ease;
  --t-md:  280ms ease;

  --max-w: 1200px;
  --max-w-sm: 740px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; width: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── Type Scale ────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Barlow', sans-serif;
  line-height: 1.1;
  font-weight: 800;
}
.display-1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display-2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.display-3 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}
.lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ── Layout ────────────────────────────────────────────── */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: var(--max-w-sm); margin: 0 auto; padding: 0 32px; }
.section      { padding: 88px 0; }
.section-sm   { padding: 56px 0; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 22px; border-radius: var(--r);
  cursor: pointer; border: none;
  transition: all var(--t); line-height: 1;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--t);
}
.btn:hover::before { opacity: 1; }
.btn-amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--black);
  box-shadow: 0 2px 12px rgba(245,130,10,0.25);
}
.btn-amber:hover {
  background: linear-gradient(135deg, #fa8c12 0%, var(--amber) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,130,10,0.45);
}
.btn-dark {
  background: var(--dark-3); color: var(--white);
  border: 1px solid var(--border-dark2);
}
.btn-dark:hover {
  background: var(--dark-4);
  border-color: var(--amber-border);
  color: var(--amber);
  transform: translateY(-1px);
}
.btn-outline-amber {
  background: transparent; color: var(--amber);
  border: 1.5px solid var(--amber-border);
}
.btn-outline-amber:hover {
  background: var(--amber-glow);
  border-color: var(--amber);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
  color: white;
  transform: translateY(-1px);
}
.btn-lg { padding: 15px 34px; font-size: 13.5px; border-radius: var(--r-md); letter-spacing: 0.07em; }
.btn-sm { padding: 8px 16px; font-size: 11.5px; }
.btn svg { flex-shrink: 0; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(6,6,6,0.96);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 76px; display: flex; align-items: center;
  transition: all var(--t-md);
}
.navbar.scrolled {
  border-bottom-color: var(--amber-border);
  height: 68px;
  background: rgba(4,4,4,0.98);
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.navbar .container {
  width: 100%;
}
.navbar-inner {
  display: flex; align-items: center;
  justify-content: space-between; width: 100%;
  gap: 24px;
}
.navbar-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.navbar-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245,130,10,0.2));
  transition: filter var(--t-md);
}
.navbar-logo:hover img {
  filter: drop-shadow(0 0 12px rgba(245,130,10,0.4));
}
.navbar-nav {
  display: flex; align-items: center; gap: 0;
  flex: 1; justify-content: center;
}
.navbar-nav a {
  padding: 8px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  transition: color var(--t);
  position: relative;
  white-space: nowrap;
}
.navbar-nav a::after {
  content: '';
  position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 1.5px; background: var(--amber);
  transform: scaleX(0); transition: transform var(--t);
  transform-origin: center;
}
.navbar-nav a:hover { color: rgba(255,255,255,0.88); }
.navbar-nav a:hover::after { transform: scaleX(1); }
.navbar-nav a.active { color: var(--amber); }
.navbar-nav a.active::after { transform: scaleX(1); }
.navbar-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.navbar-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.38);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--t);
  white-space: nowrap;
}
.navbar-phone:hover { color: var(--amber); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 76px;
  background: var(--black);
}
.hero .container {
  width: 100%;
}
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('https://tapsvs.com/wp-content/uploads/Apprentice-scaled.webp');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(5,5,5,0.98) 0%, rgba(5,5,5,0.88) 50%, rgba(5,5,5,0.3) 100%),
    linear-gradient(180deg, transparent 55%, rgba(5,5,5,0.92) 100%);
}
/* Technical grid */
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(245,130,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,130,10,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
/* Corner accent marks */
.hero-corner {
  position: absolute; width: 48px; height: 48px;
  pointer-events: none;
}
.hero-corner.tl { top: 92px; left: 32px; border-top: 1.5px solid var(--amber); border-left: 1.5px solid var(--amber); }
.hero-corner.tr { top: 92px; right: 32px; border-top: 1.5px solid rgba(245,130,10,0.28); border-right: 1.5px solid rgba(245,130,10,0.28); }
.hero-corner.bl { bottom: 36px; left: 32px; border-bottom: 1.5px solid rgba(245,130,10,0.28); border-left: 1.5px solid rgba(245,130,10,0.28); }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1000px;
  padding: 64px 0 72px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(245,130,10,0.08);
  border: 1px solid rgba(245,130,10,0.28);
  padding: 6px 14px; border-radius: 2px;
  margin-bottom: 26px;
}
.hero-badge-icon {
  width: 14px; height: 14px; color: var(--amber); flex-shrink: 0;
}
.hero-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
}
.hero-title {
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.hero-title em {
  font-style: normal;
  color: var(--amber);
  display: block;
}
.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-tagline::after {
  content: ''; flex: 1; max-width: 60px;
  height: 1px; background: rgba(255,255,255,0.12);
}
.hero-sub {
  font-size: 16px; line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 680px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

/* Hero stat bar */
.hero-stats-bar {
  display: flex; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 32px;
}
.hero-stat {
  padding-right: 48px; margin-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px; font-weight: 900;
  color: var(--amber); line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.hero-stat-lbl {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ── Ticker Bar ────────────────────────────────────────── */
.ticker {
  background: var(--amber);
  padding: 0; height: 36px;
  overflow: hidden; position: relative;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--black);
}
.ticker-dot { width: 4px; height: 4px; background: rgba(0,0,0,0.35); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Headers ───────────────────────────────────── */
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-header.center .eyebrow::before { display: none; }
.section-header.center .eyebrow::after {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--amber); flex-shrink: 0;
}
.section-title { margin-bottom: 14px; }
.section-sub { font-size: 16px; line-height: 1.7; color: var(--text-2); max-width: 560px; }
.section-header.center .section-sub { margin-inline: auto; }

/* ── Service Cards ─────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border-light); }
.svc-card {
  background: var(--white);
  padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: all var(--t-md);
  display: block;
}
.svc-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--amber);
  transform: scaleY(0); transition: transform var(--t-md);
  transform-origin: bottom;
}
.svc-card:hover { background: var(--gray-100); }
.svc-card:hover::before { transform: scaleY(1); }
.svc-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px; font-weight: 900;
  color: var(--gray-200); line-height: 1;
  margin-bottom: 12px; display: block;
  transition: color var(--t-md);
}
.svc-card:hover .svc-num { color: rgba(245,130,10,0.15); }
.svc-icon {
  width: 44px; height: 44px;
  background: var(--amber-light);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); margin-bottom: 18px;
  flex-shrink: 0;
}
.svc-title {
  font-family: 'Barlow', sans-serif;
  font-size: 19px; font-weight: 800;
  color: var(--text); margin-bottom: 10px;
  line-height: 1.2;
}
.svc-desc { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 22px; }
.svc-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t);
}
.svc-link:hover { gap: 10px; }

/* ── Dark Section ──────────────────────────────────────── */
.dark-section { background: var(--dark); }
.dark-section .section-title { color: var(--white); }
.dark-section .section-sub { color: var(--text-inv2); }
.dark-section .eyebrow { color: var(--amber); }

/* ── Pillar Cards ──────────────────────────────────────── */
.pillar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.06); }
.pillar-card {
  padding: 44px 36px;
  background: var(--dark-2);
  position: relative; overflow: hidden;
  transition: background var(--t-md);
}
.pillar-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--amber);
  transform: scaleX(0); transition: transform var(--t-md);
}
.pillar-card:hover { background: var(--dark-3); }
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-letter {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 72px; font-weight: 900;
  color: var(--amber); opacity: 0.18;
  line-height: 1; margin-bottom: 0;
  position: absolute; top: 20px; right: 28px;
}
.pillar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px;
}
.pillar-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px; font-weight: 900;
  color: var(--white); text-transform: uppercase;
  margin-bottom: 6px; line-height: 1;
}
.pillar-sub {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 16px;
}
.pillar-desc { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.48); }

/* ── Stats Strip ───────────────────────────────────────── */
.stats-strip {
  background: var(--amber);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-block {
  padding: 36px 28px; text-align: center;
  border-right: 1px solid rgba(0,0,0,0.12);
  position: relative;
}
.stat-block:last-child { border-right: none; }
.stat-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px; font-weight: 900;
  color: var(--black); line-height: 1; margin-bottom: 4px;
}
.stat-lbl {
  font-family: 'Barlow', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(0,0,0,0.5);
}

/* ── Photo + Content Split ─────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-photo {
  position: relative; overflow: hidden; min-height: 480px;
}
.split-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.split-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,8,8,0.3) 0%, transparent 60%);
}
.split-body {
  padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-body.dark { background: var(--dark-2); }
.split-body.light { background: var(--gray-100); }

/* ── Cost Comparison ───────────────────────────────────── */
.cost-table { width: 100%; border-collapse: collapse; }
.cost-table thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); padding: 0 0 12px 0;
  text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cost-table thead th:last-child { text-align: right; }
.cost-row-data td { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: middle; }
.cost-row-data:last-child td { border-bottom: none; }
.cost-name {
  font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.cost-tag {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 3px;
  display: inline-block; margin-top: 3px;
}
.cost-bar-cell { padding: 0 20px !important; }
.cost-bar-track { height: 6px; background: rgba(255,255,255,0.07); border-radius: 3px; min-width: 160px; }
.cost-bar-fill  { height: 100%; border-radius: 3px; }
.cost-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900;
  text-align: right;
}

/* ── Course Cards ──────────────────────────────────────── */
.course-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--border-light); }
.course-card {
  background: var(--white); overflow: hidden;
  transition: all var(--t-md); display: block;
}
.course-card:hover { background: var(--gray-100); }
.course-photo {
  height: 200px; overflow: hidden; position: relative;
}
.course-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-photo img { transform: scale(1.04); }
.course-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.65) 0%, transparent 50%);
}
.course-photo-tag {
  position: absolute; bottom: 14px; left: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); display: flex; align-items: center; gap: 6px;
}
.course-photo-tag::before {
  content: '';
  width: 12px; height: 2px; background: var(--amber);
}
.course-body { padding: 28px 30px; }
.course-title {
  font-family: 'Barlow', sans-serif;
  font-size: 19px; font-weight: 800;
  color: var(--text); margin-bottom: 9px; line-height: 1.2;
}
.course-desc { font-size: 13.5px; line-height: 1.7; color: var(--text-2); margin-bottom: 18px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.course-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-3);
  background: var(--gray-200); border-radius: 3px;
  padding: 3px 9px;
}
.course-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--border-light);
}
.course-ceu {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center; gap: 5px;
}

/* ── Checklist ─────────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; gap: 12px;
  font-size: 14.5px; line-height: 1.6; color: var(--text-2);
}
.check-mark {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  background: var(--amber); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
}
.check-mark-dark {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  background: rgba(245,130,10,0.15); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
}

/* ── Testimonials ──────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border-light); }
.testi-card {
  background: var(--white); padding: 32px;
  transition: background var(--t);
}
.testi-card:hover { background: var(--gray-100); }
.testi-quote-mark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px; font-weight: 900;
  color: var(--amber); line-height: 0.7; margin-bottom: 14px;
}
.testi-text {
  font-size: 15px; line-height: 1.75;
  color: var(--text); margin-bottom: 22px;
  font-style: italic;
}
.testi-line { height: 2px; background: var(--amber); width: 32px; margin-bottom: 16px; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text-3); margin-top: 2px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

/* ── Deliverable List ──────────────────────────────────── */
.del-list { display: flex; flex-direction: column; gap: 0; }
.del-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--t);
}
.del-item:last-child { border-bottom: none; }
.del-item:hover { background: rgba(245,130,10,0.05); }
.del-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--amber); min-width: 28px;
}
.del-text {
  font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5;
}

/* ── Requirement Cards ─────────────────────────────────── */
.req-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--border-light); }
.req-card {
  background: var(--white); padding: 28px 26px;
  transition: background var(--t-md);
  position: relative; overflow: hidden;
}
.req-card:hover { background: var(--gray-100); }
.req-card-accent {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--amber); opacity: 0;
  transition: opacity var(--t-md);
}
.req-card:hover .req-card-accent { opacity: 1; }
.req-num { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.req-title { font-family: 'Barlow', sans-serif; font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.25; }
.req-desc { font-size: 13.5px; line-height: 1.65; color: var(--text-2); }

/* ── Process Steps ─────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 1px; background: var(--amber); opacity: 0.3;
  pointer-events: none;
}
.step {
  text-align: center; padding: 40px 32px;
}
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--amber); color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-title { font-family: 'Barlow', sans-serif; font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── Info Cards ────────────────────────────────────────── */
.info-box {
  background: var(--amber-light);
  border: 1px solid rgba(245,130,10,0.2);
  border-left: 3px solid var(--amber);
  border-radius: var(--r); padding: 22px 24px;
  margin-top: 24px;
}
.info-box h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.info-box p  { font-size: 13.5px; line-height: 1.7; color: var(--text-2); }

/* ── Quote Banner ──────────────────────────────────────── */
.quote-banner {
  background: var(--dark-2);
  border-left: 4px solid var(--amber);
  padding: 28px 32px; border-radius: var(--r);
}
.quote-banner p {
  font-family: 'Barlow', sans-serif;
  font-size: 18px; font-style: italic; font-weight: 600;
  line-height: 1.65; color: rgba(255,255,255,0.75);
}

/* ── Industry Tags ─────────────────────────────────────── */
.industry-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--border-light);
  border-radius: 3px; padding: 5px 12px;
  display: flex; align-items: center; gap: 6px;
  transition: all var(--t);
}
.ind-tag-dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
.ind-tag:hover { border-color: var(--amber); color: var(--amber); }

/* ── Client Logos ──────────────────────────────────────── */
.clients-bar { background: var(--dark-2); padding: 40px 0; }
.clients-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  text-align: center; margin-bottom: 24px;
}
.clients-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.client-chip {
  height: 34px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px; padding: 0 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  min-width: 120px; transition: all var(--t);
}
.client-chip:hover { border-color: var(--amber-border); color: var(--amber); background: var(--amber-glow); }

/* ── CTA Section ───────────────────────────────────────── */
.cta-section { background: var(--black); position: relative; overflow: hidden; }
.cta-photo {
  position: absolute; inset: 0;
  background-image: url('https://tapsvs.com/wp-content/uploads/Apprentice-scaled.webp');
  background-size: cover; background-position: center;
  opacity: 0.08;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.75) 100%);
}
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: 14px; }
.cta-content p  { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.48); margin-bottom: 32px; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900;
  color: var(--amber); margin-bottom: 28px;
  letter-spacing: 0.02em;
  transition: color var(--t);
}
.cta-phone:hover { color: var(--amber-dark); }

/* ── Page Hero (internal) ──────────────────────────────── */
.page-hero {
  background: var(--black);
  padding: 128px 0 68px; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,130,10,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,130,10,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 100% 50%, rgba(245,130,10,0.07) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,0.28); transition: color var(--t); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb svg { color: rgba(255,255,255,0.18); }
.page-hero-title { color: var(--white); margin-bottom: 16px; }
.page-hero-sub { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.48); max-width: 580px; }
.page-hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Page Badge ────────────────────────────────────────── */
.page-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.page-badge.amber {
  background: rgba(245,130,10,0.12);
  border: 1px solid rgba(245,130,10,0.3);
  color: var(--amber);
}
.page-badge.red {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.28);
  color: #fca5a5;
}
.page-badge.green {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}

/* ── Footer ────────────────────────────────────────────── */
footer { background: var(--black); color: var(--text-inv2); padding: 72px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand-logo img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand-desc {
  font-size: 13.5px; line-height: 1.8;
  color: rgba(255,255,255,0.32); max-width: 280px;
}
.footer-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin-top: 14px;
}
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 13.5px; color: rgba(255,255,255,0.32);
  transition: color var(--t);
}
.footer-col ul a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); transition: all var(--t);
}
.social-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--black); }

/* ── Scroll nav highlight ──────────────────────────────── */
section[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber-deeper); }

/* ── Mobile Menu ───────────────────────────────────────── */
.mob-btn {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  cursor: pointer; flex-shrink: 0;
  transition: background var(--t);
  -webkit-tap-highlight-color: transparent;
}
.mob-btn:hover { background: rgba(255,255,255,0.1); }
.mob-btn span {
  display: block; width: 20px; height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: all 250ms ease;
  transform-origin: center;
}
.mob-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mob-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mob-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mob-nav {
  display: none;
  position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  z-index: 199;
  flex-direction: column;
  padding: 24px 0;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  border-top: 1px solid rgba(245,130,10,0.2);
}
.mob-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mob-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  font-family: 'Barlow', sans-serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--t), background var(--t);
  -webkit-tap-highlight-color: transparent;
}
.mob-nav a:hover, .mob-nav a:active { color: var(--amber); background: rgba(245,130,10,0.05); }
.mob-nav a.active { color: var(--amber); }
.mob-nav a svg { opacity: 0.3; }
.mob-nav-divider {
  height: 1px; background: rgba(255,255,255,0.05);
  margin: 8px 24px;
}
.mob-nav a.mob-nav-phone,
.mob-nav-phone {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900;
  color: var(--amber) !important; letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  justify-content: flex-start;
}
.mob-nav a.mob-nav-phone svg { flex-shrink: 0; opacity: 1 !important; }
.mob-nav-cta {
  padding: 16px 24px;
}
.mob-nav-cta .btn {
  width: 100%; justify-content: center;
  padding: 14px 24px; font-size: 14px;
}

/* ── Responsive ─────────────────────────────────────────── */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; }
  .split-body { padding: 52px 44px; }
  .split-photo { min-height: 340px; order: -1; }
  .split.reverse .split-photo { order: -1; }
  .navbar-nav a { padding: 8px 12px; font-size: 12px; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  /* Navbar — logo LEFT, hamburger RIGHT */
  .navbar { height: 62px; overflow: hidden; }
  .navbar.scrolled { height: 58px; }
  .navbar .container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
  }
  .navbar-inner {
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }
  .navbar-nav {
    display: none !important;
    flex: 0 !important;
  }
  .navbar-logo {
    flex: 0 0 auto !important;
    order: 0;
  }
  .navbar-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(245,130,10,0.25));
  }
  .navbar-phone { display: none !important; }
  .navbar-actions {
    flex: 0 0 auto !important;
    order: 1;
    gap: 10px !important;
    margin-left: 0;
    display: flex !important;
    align-items: center !important;
  }
  .navbar-actions .btn { display: none !important; }
  .mob-btn { display: flex; }
  .mob-nav { display: flex; top: 62px; }


  /* Layout */
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }

  /* Page hero */
  .page-hero { padding: 96px 0 52px; }
  .page-hero-sub { font-size: 15px; }
  .page-hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-hero-actions .btn { width: 100%; justify-content: center; }

  /* Hero (home) */
  .hero { padding-top: 62px; }
  .hero-content { padding: 52px 0 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0 8px; border-top: 1px solid rgba(255,255,255,0.07); }
  .hero-stat { border-right: none; padding: 0; margin: 0; }
  .hero-stat-num { font-size: 28px; }
  .hero-badge { margin-bottom: 18px; }
  .hero-tagline { font-size: 11px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 36px; }

  /* Service cards */
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 28px 22px; }
  .svc-num { font-size: 44px; }

  /* Pillar cards */
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { padding: 32px 24px; }

  /* Stats strip */
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-block { padding: 28px 18px; }
  .stat-val { font-size: clamp(30px, 8vw, 44px); }

  /* Split sections */
  .split { grid-template-columns: 1fr; direction: ltr !important; }
  .split > * { direction: ltr !important; }
  .split-body { padding: 36px 24px !important; }
  .split-photo { min-height: 260px; order: -1 !important; }

  /* Cost table */
  .cost-table-wrap { overflow-x: visible; }
  .cost-table, .cost-table thead, .cost-table tbody, .cost-table tr, .cost-table td, .cost-table th {
    display: block;
    width: 100%;
  }
  .cost-table thead {
    display: none;
  }
  .cost-row-data {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    gap: 8px 16px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  .cost-row-data:last-child {
    border-bottom: none !important;
  }
  .cost-row-data td {
    padding: 0 !important;
    border: none !important;
  }
  .cost-row-data td:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .cost-row-data td.cost-price {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
  }
  .cost-row-data td.cost-price::after {
    content: "/HP/Yr";
    display: block;
    font-size: 10px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -2px;
  }
  .cost-row-data td.cost-bar-cell {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    margin-top: 4px;
  }
  .cost-bar-track {
    width: 100%;
    min-width: 0;
  }

  /* Maintenance program grid */
  .prog-grid { grid-template-columns: 1fr !important; }
  .prog-card { padding: 28px 22px !important; }
  .cost-stat-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

  /* Training course rows */
  .course-row { flex-direction: column !important; }
  .course-row-photo { width: 100% !important; height: 220px !important; flex-shrink: 0 !important; }
  .course-row-body { padding: 24px 20px !important; }

  /* Course grid */
  .course-grid { grid-template-columns: 1fr; }
  .course-body { padding: 22px 20px; }
  .course-photo { height: 180px; }

  /* Req cards */
  .req-grid { grid-template-columns: 1fr; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .step { padding: 28px 20px; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card { padding: 26px 22px; }

  /* Deliverable items */
  .del-item { padding: 14px 16px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; padding-bottom: 32px; }
  footer { padding: 52px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-brand-desc { max-width: 100%; }
  .footer-brand-logo img { height: 28px; }

  /* Quote banner */
  .quote-banner { padding: 20px 18px; }
  .quote-banner p { font-size: 15px; }

  /* CTA section */
  .cta-content { text-align: left; }
  .cta-phone { font-size: 22px; }

  /* Clients */
  .client-chip { min-width: 90px; font-size: 11px; padding: 0 12px; }

  /* Section header */
  .section-sub { font-size: 14.5px; }
  .section-header { margin-bottom: 36px; }

  /* Checklist */
  .checklist li { font-size: 14px; gap: 10px; }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* Hero headline */
  .display-1 { font-size: clamp(36px, 10vw, 52px); }
  .display-2 { font-size: clamp(26px, 8vw, 36px); }

  /* Stats strip */
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-block { padding: 22px 14px; }
  .stat-val { font-size: clamp(26px, 7vw, 38px); }

  /* Maintenance cost cards */
  .prog-grid { grid-template-columns: 1fr !important; }
  .cost-stat-grid { grid-template-columns: 1fr 1fr !important; }

  /* Page hero */
  .page-hero { padding: 88px 0 44px; }
  .page-hero-title { font-size: clamp(24px, 7.5vw, 40px); }

  /* Footer */
  .footer-brand-logo img { height: 26px; }

  /* Navbar logo size at small mobile */
  .navbar-logo img { height: 36px; }
}

/* ── Responsive Grid Overrides (inline-style grids) ──────── */
/* These override inline grid-template-columns on mobile */
@media (max-width: 768px) {
  /* 2-col content grids -> stacked single column */
  .grid-2col {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  /* 3-col feature grids -> stacked single column */
  .grid-3col {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  /* Course rows: image on top, content below */
  .course-row {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .course-row > div:first-child {
    height: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
  }
  .course-row > div:last-child {
    padding: 24px 20px !important;
  }
  .grid-2col img {
    height: auto !important;
    max-height: 400px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .course-row > div:first-child { height: 180px !important; min-height: 180px !important; }
  .course-row > div:last-child { padding: 20px 16px !important; }
  .grid-2col { gap: 24px !important; }
}

/* ═══════════════════════════════════════════════════════════
   CART BUTTON (Navbar)
   ═══════════════════════════════════════════════════════════ */
.tapsvs-cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  transition: color var(--t), border-color var(--t), background var(--t);
  flex-shrink: 0;
}
.tapsvs-cart-btn:hover {
  color: var(--amber);
  border-color: var(--amber-border);
  background: var(--amber-glow);
}
.tapsvs-cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 16px; height: 16px;
  background: var(--amber);
  color: var(--black);
  font-family: 'Barlow', sans-serif;
  font-size: 9px; font-weight: 900;
  letter-spacing: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   SHOP — PAGE HERO
   ═══════════════════════════════════════════════════════════ */
/* Reuses .page-hero from existing styles; additional shop-specific overrides: */
.shop-search-form {
  margin-top: 32px;
}
.shop-search-inner {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 6px 6px 6px 16px;
  max-width: 560px;
  transition: border-color var(--t);
}
.shop-search-inner:focus-within {
  border-color: var(--amber-border);
  background: rgba(245,130,10,0.04);
}
.shop-search-inner svg { color: rgba(255,255,255,0.3); flex-shrink: 0; }
.shop-search-inner input {
  flex: 1;
  background: transparent; border: none; outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--white);
  min-width: 0;
}
.shop-search-inner input::placeholder { color: rgba(255,255,255,0.3); }
.shop-search-inner .btn { flex-shrink: 0; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════
   SHOP — CATEGORY FILTER BAR
   ═══════════════════════════════════════════════════════════ */
.shop-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.shop-cat-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  background: transparent;
  transition: color var(--t), border-color var(--t), background var(--t);
  cursor: pointer;
}
.shop-cat-btn:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
}
.shop-cat-btn.active {
  color: var(--black);
  background: var(--amber);
  border-color: var(--amber);
}
.shop-cat-btn.active:hover { background: #fa8c12; }
.shop-cat-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 10px; font-weight: 700;
  padding: 0 5px;
}
.shop-cat-btn.active .shop-cat-count {
  background: rgba(0,0,0,0.18);
}

/* ═══════════════════════════════════════════════════════════
   SHOP — TOOLBAR (results + sort)
   ═══════════════════════════════════════════════════════════ */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.shop-results {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.shop-results strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.shop-results em { font-style: normal; color: var(--amber); }

.shop-sort-form { display: flex; align-items: center; gap: 10px; }
.shop-sort-form label { /* sr-only */
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.shop-sort-wrap {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 7px 32px 7px 12px;
  cursor: pointer;
  transition: border-color var(--t);
}
.shop-sort-wrap:hover { border-color: rgba(255,255,255,0.22); }
.shop-sort-wrap > svg:first-child { color: rgba(255,255,255,0.4); flex-shrink: 0; }
.shop-sort-wrap select {
  background: transparent; border: none; outline: none;
  font-family: 'Barlow', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  min-width: 140px;
  position: relative; z-index: 1;
}
.shop-sort-wrap select option {
  background: var(--dark-3);
  color: var(--white);
}
.shop-sort-arrow {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SHOP — PRODUCT GRID & CARDS
   ═══════════════════════════════════════════════════════════ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.shop-prod-card {
  background: var(--surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--t-md), transform var(--t-md), box-shadow var(--t-md);
  position: relative;
}
.shop-prod-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,130,10,0.08);
}

.shop-prod-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark-2);
  display: block;
}
.shop-prod-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-prod-card:hover .shop-prod-img { transform: scale(1.05); }

.shop-prod-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--amber);
  color: var(--black);
  font-family: 'Barlow', sans-serif;
  font-size: 10px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
}
.shop-prod-badge--featured {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  left: auto; right: 12px;
}
/* When both badges exist, stack them */
.shop-prod-badge + .shop-prod-badge--featured { top: 12px; }
.shop-prod-badge--featured + .shop-prod-badge { top: 38px; }

.shop-prod-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(5,5,5,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--t-md);
}
.shop-prod-card:hover .shop-prod-overlay { opacity: 1; }
.shop-prod-overlay-btn {
  font-family: 'Barlow', sans-serif;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--black);
  background: var(--amber);
  padding: 9px 22px; border-radius: var(--r);
  transform: translateY(8px);
  transition: transform var(--t-md);
}
.shop-prod-card:hover .shop-prod-overlay-btn { transform: translateY(0); }

.shop-prod-body {
  padding: 20px;
  display: flex; flex-direction: column; flex: 1;
  gap: 6px;
}
.shop-prod-cat {
  font-family: 'Barlow', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber);
}
.shop-prod-cat a { color: inherit; }
.shop-prod-title {
  font-family: 'Barlow', sans-serif;
  font-size: 17px; font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
}
.shop-prod-title a { color: inherit; }
.shop-prod-title a:hover { color: var(--amber); }

/* Star ratings */
.shop-prod-rating {
  display: flex; align-items: center; gap: 2px;
  margin-top: 2px;
}
.shop-star {
  font-size: 13px;
  background: linear-gradient(
    to right,
    var(--amber) calc(var(--fill, 0%)),
    rgba(255,255,255,0.18) calc(var(--fill, 0%))
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.shop-prod-rating-count {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-left: 4px;
  font-family: 'Inter', sans-serif;
  -webkit-text-fill-color: rgba(255,255,255,0.35);
}

.shop-prod-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.shop-prod-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
}
/* WooCommerce price overrides */
.shop-prod-price del,
.shop-prod-price .woocommerce-Price-amount.amount:first-of-type:not(:last-of-type) {
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  text-decoration: line-through;
  margin-right: 6px;
}
.shop-prod-price ins {
  text-decoration: none;
  color: var(--amber);
}

.shop-add-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--black);
  font-family: 'Barlow', sans-serif;
  font-size: 10.5px; font-weight: 900;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: var(--r);
  border: none; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  white-space: nowrap;
}
.shop-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,130,10,0.45);
  background: linear-gradient(135deg, #fa8c12 0%, var(--amber) 100%);
}
.shop-add-btn--out {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
}
.shop-add-btn--out:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════
   SHOP — PAGINATION
   ═══════════════════════════════════════════════════════════ */
.shop-pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.shop-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  background: transparent;
  transition: all var(--t);
  cursor: pointer;
}
.shop-page-btn:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
}
.shop-page-btn.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
}

/* ═══════════════════════════════════════════════════════════
   SHOP — EMPTY STATE
   ═══════════════════════════════════════════════════════════ */
.shop-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 80px 32px;
}
.shop-empty-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(245,130,10,0.06);
  border: 1px solid rgba(245,130,10,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2);
}
.shop-empty h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 28px; font-weight: 900;
  color: var(--white);
}
.shop-empty p {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  max-width: 400px; line-height: 1.7;
}
.shop-empty p a { color: var(--amber); }

/* ═══════════════════════════════════════════════════════════
   SHOP — TRUST STRIP
   ═══════════════════════════════════════════════════════════ */
.shop-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.shop-trust-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.shop-trust-item svg { flex-shrink: 0; margin-top: 2px; }
.shop-trust-item div {
  display: flex; flex-direction: column; gap: 3px;
}
.shop-trust-item strong {
  font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}
.shop-trust-item span {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   SHOP — WooCommerce DEFAULT OVERRIDES
   ═══════════════════════════════════════════════════════════ */
/* Make WooCommerce notices match theme */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--surface) !important;
  border-color: var(--amber-border) !important;
  color: rgba(255,255,255,0.75) !important;
  border-radius: var(--r) !important;
  padding: 16px 20px !important;
  margin-bottom: 24px !important;
}
.tapsvs-woo-wrap { background: var(--black); }

/* ── Screen-reader only utility ─────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ═══════════════════════════════════════════════════════════
   SHOP — RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .shop-trust-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .shop-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .shop-trust-strip { grid-template-columns: 1fr; gap: 20px; }
  .shop-search-inner { flex-wrap: wrap; }
  .shop-search-inner .btn { width: 100%; justify-content: center; }
}

@media (max-width: 540px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-prod-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .shop-add-btn { width: 100%; justify-content: center; }
}
