/*!
Theme Name: Hi-Tech Fire — Forge
Theme URI: https://hitechevs.com/
Description: Dark industrial theme for Hi-Tech Fire Apparatus. Built on _tw with Forge design system.
Version: 1.0.0
Author: Hi-Tech Fire
Author URI: https://hitechevs.com/
Text Domain: hitech_tw
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
*/

/* ─── CSS VARIABLES ─── */
:root {
  --black: #060606;
  --near-black: #0a0a0a;
  --surface: #101010;
  --surface2: #161616;
  --surface3: #1c1c1c;
  --red: #aa182c;
  --red-light: #c41e35;
  --red-pale: #e03545;
  --red-glow: rgba(170,24,44,0.10);
  --navy: #002a3a;
  --white: #f0ece6;
  --cream: #d8d2c8;
  --text: #8a8a8a;
  --muted: #555;
  --border: rgba(255,255,255,0.06);
  --border-red: rgba(170,24,44,0.2);
}

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

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: var(--white); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'League Gothic', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
}

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center;
  padding: 0 48px;
  height: 68px;
  background: transparent;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(6,6,6,0.97);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-brand img { height: 40px; width: auto; }
.nav-name {
  font-family: 'League Gothic', sans-serif;
  font-size: 18px; font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav-links {
  display: flex; list-style: none; gap: 0;
  margin: 0 auto;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 24px 20px;
  transition: color 0.2s;
  position: relative;
  display: block;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 20px; right: 20px;
  height: 1px; background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white) !important;
  background: var(--red);
  padding: 10px 24px; margin-left: 24px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red-light); color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ─── SHARED COMPONENTS ─── */
.tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.tag::before {
  content: '';
  width: 20px; height: 1px; background: var(--red);
}

.heading-lg {
  font-family: 'League Gothic', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin-bottom: 28px;
}

.body-text {
  font-size: 15px; font-weight: 300;
  color: var(--text); line-height: 1.8;
  max-width: 460px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white) !important; background: var(--red);
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); color: var(--white) !important; }

.btn-outline {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text);
  padding: 14px 28px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
  background: transparent; cursor: pointer;
}
.btn-outline:hover { border-color: var(--border-red); color: var(--white); }

/* ─── HERO ─── */
.htf-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.htf-hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.htf-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,6,6,0.85) 0%,
    rgba(6,6,6,0.5) 20%,
    rgba(6,6,6,0.15) 40%,
    rgba(6,6,6,0.5) 70%,
    rgba(6,6,6,0.95) 100%
  );
}
.htf-hero-inner {
  position: relative; z-index: 1;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 64px;
}
.htf-hero-center {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 24px;
}
.htf-hero-title {
  font-family: 'League Gothic', sans-serif;
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  color: var(--white);
  letter-spacing: -0.01em;
}
.htf-hero-title .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}
.htf-hero-title .red { color: var(--red); }

.htf-hero-mid {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.htf-hero-description {
  font-size: 15px; font-weight: 300;
  color: var(--cream); line-height: 1.7;
  max-width: 440px;
}
.htf-hero-scroll-hint {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 4px;
}
.htf-hero-scroll-hint .line { width: 40px; height: 1px; background: var(--muted); }

/* ─── TICKER ─── */
.htf-ticker {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.htf-ticker-track {
  display: flex;
  animation: htf-scroll-left 30s linear infinite;
  width: max-content;
}
.htf-ticker-item {
  font-family: 'League Gothic', sans-serif;
  font-size: 14px; font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  white-space: nowrap;
  padding: 0 32px;
}
.htf-ticker-item::after {
  content: '\2726';
  margin-left: 32px;
  opacity: 0.5;
}
@keyframes htf-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── INTRO SPLIT ─── */
.htf-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.htf-intro-left {
  background: var(--surface);
  padding: 100px 64px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.htf-intro-number {
  font-family: 'League Gothic', sans-serif;
  font-size: 300px; font-weight: 400;
  color: rgba(255,255,255,0.02);
  position: absolute; top: -20px; right: 40px;
  line-height: 1;
  pointer-events: none;
}
.htf-intro-right {
  background-size: cover;
  background-position: center;
  position: relative;
}
.htf-intro-badge {
  position: absolute; bottom: 48px; left: 48px;
  background: rgba(6,6,6,0.9);
  border-left: 3px solid var(--red);
  padding: 20px 28px;
  backdrop-filter: blur(8px);
}
.htf-intro-badge .val {
  font-family: 'League Gothic', sans-serif;
  font-size: 36px; font-weight: 400;
  text-transform: uppercase;
  color: var(--white); line-height: 1;
}
.htf-intro-badge .label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

/* ─── SERVICES STRIP ─── */
.htf-services-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--near-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.htf-strip-card {
  padding: 64px 48px;
  border-right: 1px solid var(--border);
  text-decoration: none; display: block;
  position: relative;
  transition: background 0.3s;
}
.htf-strip-card:last-child { border-right: none; }
.htf-strip-card:hover { background: var(--surface); }
.htf-strip-card .card-img {
  width: 100%; height: 180px;
  object-fit: cover;
  margin-bottom: 28px;
  filter: brightness(0.75);
  transition: filter 0.3s;
}
.htf-strip-card:hover .card-img { filter: brightness(1); }
.htf-strip-title {
  font-family: 'League Gothic', sans-serif;
  font-size: 28px; font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.htf-strip-desc {
  font-size: 13px; font-weight: 300;
  color: var(--text); line-height: 1.7;
  margin-bottom: 32px;
}
.htf-strip-link {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red);
  display: flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
}
.htf-strip-card:hover .htf-strip-link { gap: 14px; }
.htf-strip-link::after { content: '\2192'; font-size: 14px; }

/* ─── NUMBERS ─── */
.htf-numbers {
  padding: 0 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--black);
}
.htf-num-block {
  padding: 72px 32px;
  text-align: center;
  position: relative;
}
.htf-num-block::after {
  content: '';
  position: absolute; top: 30%; bottom: 30%; right: 0;
  width: 1px; background: var(--border);
}
.htf-num-block:last-child::after { display: none; }
.htf-num-val {
  font-family: 'League Gothic', sans-serif;
  font-size: 72px; font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}
.htf-num-val span { color: var(--red); }
.htf-num-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}

/* ─── STORY CINEMATIC ─── */
.htf-story-cine {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.htf-story-cine-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.htf-story-cine-content {
  position: relative; z-index: 1;
  padding: 80px 64px;
  max-width: 620px;
}
.htf-story-cine-year {
  font-family: 'League Gothic', sans-serif;
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.htf-story-cine-year::after {
  content: '';
  flex: 1; height: 1px; background: var(--border-red);
  max-width: 120px;
}
.htf-story-cine h2 {
  font-family: 'League Gothic', sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin-bottom: 32px;
}
.htf-story-cine p {
  font-size: 15px; font-weight: 300;
  color: var(--cream); line-height: 1.8;
  margin-bottom: 24px;
}
.htf-story-cine p:last-of-type { margin-bottom: 40px; }

/* ─── IMAGE TRIO ─── */
.htf-trio {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  height: 50vh;
  gap: 2px;
  background: var(--border);
}
.htf-trio-img {
  background-size: cover;
  background-position: center;
  position: relative;
}
.htf-trio-img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(6,6,6,0.2);
  transition: background 0.4s;
}
.htf-trio-img:hover::after { background: transparent; }

/* ─── EXPANSION ─── */
.htf-expansion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
}
.htf-expansion-content {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.htf-expansion-visual {
  background: var(--red);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.htf-expansion-visual::before {
  content: '';
  position: absolute; top: -50%; right: -30%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.htf-exp-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.htf-exp-title {
  font-family: 'League Gothic', sans-serif;
  font-size: 48px; font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}
.htf-exp-body {
  font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 36px;
}
.htf-exp-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.htf-exp-feature {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 10px;
}
.htf-exp-feature::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── CONTACT BAR ─── */
.htf-contact-bar {
  background: var(--near-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.htf-contact-cell {
  flex: 1;
  padding: 28px 40px;
  border-right: 1px solid var(--border);
}
.htf-contact-cell:last-child { border-right: none; }
.htf-contact-cell-label {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.htf-contact-cell-val {
  font-size: 15px; font-weight: 500;
  color: var(--white);
}
.htf-contact-cell-val a { color: var(--white); text-decoration: none; }
.htf-contact-cell-val a:hover { color: var(--red); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--black);
  padding: 72px 64px 36px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-name {
  font-family: 'League Gothic', sans-serif;
  font-size: 22px; font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 14px;
}
.footer-brand-name img { height: 34px; width: auto; }
.footer-brand-sub {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.7;
  max-width: 280px;
}
.footer-col-head {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px; font-weight: 300;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-copy {
  font-size: 12px; color: var(--muted); opacity: 0.5;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 11px; color: var(--muted);
  text-decoration: none; opacity: 0.4;
  transition: opacity 0.2s;
}
.footer-legal a:hover { opacity: 1; }

.footer-social {
  display: flex; gap: 16px;
  margin-top: 20px;
}
.footer-social-link {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--white) !important; }

/* ─── PAGE HERO ─── */
.htf-page-hero {
  position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.htf-page-hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.htf-page-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0.7) 0%, rgba(6,6,6,0.85) 100%);
}
.htf-page-hero-inner {
  position: relative; z-index: 1;
  padding: 0 64px 64px;
  width: 100%;
}
.htf-page-hero-title {
  font-family: 'League Gothic', sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400; text-transform: uppercase;
  line-height: 1; color: var(--white);
  margin-bottom: 12px;
}
.htf-page-hero-subtitle {
  font-size: 15px; font-weight: 300;
  color: var(--cream); line-height: 1.7;
  max-width: 500px;
}
.htf-page-hero-breadcrumb {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 20px;
  display: flex; align-items: center; gap: 8px;
}
.htf-page-hero-breadcrumb a { color: var(--text); }
.htf-page-hero-breadcrumb a:hover { color: var(--white); }

/* ─── PRODUCT OVERVIEW ─── */
.htf-product-overview {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.htf-product-overview--img-left { direction: rtl; }
.htf-product-overview--img-left > * { direction: ltr; }
.htf-product-overview-content {
  background: var(--surface);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.htf-product-overview-image {
  background-size: cover; background-position: center;
  min-height: 400px;
}

/* ─── FEATURE LIST ─── */
.htf-feature-list {
  padding: 80px 64px;
  background: var(--near-black);
  border-top: 1px solid var(--border);
}
.htf-feature-grid {
  display: grid; gap: 0;
}
.htf-feature-grid--cols-1 { grid-template-columns: 1fr; }
.htf-feature-grid--cols-2 { grid-template-columns: 1fr 1fr; }
.htf-feature-grid--cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.htf-feature-item {
  font-size: 14px; font-weight: 400;
  color: var(--white); padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.htf-feature-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red); border-radius: 50%;
  flex-shrink: 0;
}

/* ─── PHOTO GALLERY ─── */
.htf-gallery {
  display: grid; padding: 0 64px 64px;
}
.htf-gallery--cols-2 { grid-template-columns: repeat(2, 1fr); }
.htf-gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
.htf-gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }
.htf-gallery-item {
  display: block; overflow: hidden;
  position: relative;
}
.htf-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: brightness(0.8);
  transition: filter 0.3s, transform 0.3s;
}
.htf-gallery-item:hover img {
  filter: brightness(1); transform: scale(1.03);
}
.htf-gallery--ratio-4-3 .htf-gallery-item { aspect-ratio: 4/3; }
.htf-gallery--ratio-16-9 .htf-gallery-item { aspect-ratio: 16/9; }
.htf-gallery--ratio-1-1 .htf-gallery-item { aspect-ratio: 1/1; }

/* ─── SPEC TABLE ─── */
.htf-spec-table {
  padding: 64px;
  background: var(--surface);
}
.htf-spec-table-heading {
  font-family: 'League Gothic', sans-serif;
  font-size: 32px; font-weight: 400;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 32px;
}
.htf-spec-row {
  display: flex; padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.htf-spec-row--alt { background: var(--surface2); }
.htf-spec-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); width: 240px; flex-shrink: 0;
}
.htf-spec-value {
  font-size: 14px; font-weight: 400;
  color: var(--white);
}

/* ─── DELIVERY GRID ─── */
.htf-delivery-section { padding: 80px 0; }
.htf-delivery-filter-bar {
  display: flex; gap: 8px;
  padding: 0 64px 40px;
  flex-wrap: wrap;
}
.htf-delivery-filter-btn {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 20px; cursor: pointer;
  transition: all 0.2s;
}
.htf-delivery-filter-btn:hover,
.htf-delivery-filter-btn.active {
  color: var(--white); background: var(--red);
  border-color: var(--red);
}
.htf-delivery-grid {
  display: grid; gap: 2px;
  padding: 0 64px;
}
.htf-delivery-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.htf-delivery-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.htf-delivery-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.htf-delivery-card {
  background: var(--surface);
  text-decoration: none; display: block;
  transition: background 0.3s;
  overflow: hidden;
}
.htf-delivery-card:hover { background: var(--surface2); }
.htf-delivery-card-img { overflow: hidden; }
.htf-delivery-card-img img {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
  filter: brightness(0.8);
  transition: filter 0.3s;
}
.htf-delivery-card:hover .htf-delivery-card-img img { filter: brightness(1); }
.htf-delivery-card-body { padding: 24px; }
.htf-delivery-type-badge {
  display: inline-block;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); background: var(--red-glow);
  padding: 4px 10px; margin-bottom: 10px;
}
.htf-delivery-card-title {
  font-family: 'League Gothic', sans-serif;
  font-size: 22px; font-weight: 400;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 12px;
  line-height: 1.1;
}

/* ─── DEMO CARD ─── */
.htf-demo-card {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  margin: 0 64px 32px;
  overflow: hidden;
}
.htf-demo-card-image {
  position: relative; overflow: hidden;
}
.htf-demo-card-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.htf-demo-badge {
  position: absolute; top: 20px; left: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 16px;
}
.htf-demo-badge--available {
  background: #1a7a3a; color: var(--white);
}
.htf-demo-badge--sold {
  background: var(--muted); color: var(--white);
}
.htf-demo-card-body { padding: 48px; }
.htf-demo-card-title {
  font-family: 'League Gothic', sans-serif;
  font-size: 36px; font-weight: 400;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 24px;
  line-height: 1.05;
}
.htf-demo-specs {
  list-style: none; padding: 0; margin: 0 0 32px;
}
.htf-demo-specs li {
  font-size: 14px; font-weight: 400;
  color: var(--text); padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.htf-demo-specs li::before {
  content: ''; width: 5px; height: 5px;
  background: var(--red); border-radius: 50%; flex-shrink: 0;
}
.htf-demo-card-footer {
  display: flex; align-items: center; gap: 20px;
}
.htf-demo-phone {
  font-size: 18px; font-weight: 500;
  color: var(--white) !important;
}
.htf-demo-phone:hover { color: var(--red) !important; }

/* ─── SERVICE DETAIL ─── */
.htf-service-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface);
}
.htf-service-detail-content {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.htf-service-cta {
  font-size: 14px; font-weight: 600;
  color: var(--red); text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 20px;
  border-top: 1px solid var(--border-red);
  margin-top: 20px;
}
.htf-service-detail-list {
  padding: 80px 64px;
  background: var(--surface2);
}
.htf-service-list-heading {
  font-family: 'League Gothic', sans-serif;
  font-size: 28px; text-transform: uppercase;
  color: var(--white); margin-bottom: 28px;
}
.htf-service-list {
  list-style: none; padding: 0; margin: 0;
}
.htf-service-list-item {
  font-size: 14px; font-weight: 400;
  color: var(--white); padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.htf-service-list-item::before {
  content: ''; width: 6px; height: 6px;
  background: var(--red); border-radius: 50%; flex-shrink: 0;
}
.htf-service-list-item a {
  color: var(--white); text-decoration: none;
}
.htf-service-list-item a:hover { color: var(--red); }

/* ─── CHECKLIST ACCORDION ─── */
.htf-checklist {
  padding: 80px 64px;
  background: var(--near-black);
}
.htf-checklist-section {
  border-left: 3px solid var(--red);
  margin-bottom: 8px;
  background: var(--surface);
}
.htf-checklist-section summary {
  font-family: 'League Gothic', sans-serif;
  font-size: 20px; font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.htf-checklist-section summary::-webkit-details-marker { display: none; }
.htf-checklist-section summary::after {
  content: '+';
  font-size: 24px; color: var(--muted);
  transition: transform 0.2s;
}
.htf-checklist-section[open] summary::after {
  content: '\2212';
}
.htf-checklist-items {
  list-style: none; padding: 0 24px 20px;
  margin: 0;
  columns: 2; column-gap: 32px;
}
.htf-checklist-items li {
  font-size: 13px; font-weight: 300;
  color: var(--text); padding: 6px 0;
  border-bottom: 1px solid var(--border);
  break-inside: avoid;
}

/* ─── TEAM CONTACTS ─── */
.htf-team-contacts {
  padding: 80px 64px;
  background: var(--near-black);
}
.htf-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.htf-team-dept-heading {
  font-family: 'League Gothic', sans-serif;
  font-size: 24px; font-weight: 400;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.htf-contact-card {
  background: var(--surface);
  padding: 20px; margin-bottom: 12px;
  border-left: 3px solid var(--border);
  transition: border-color 0.2s;
}
.htf-contact-card:hover { border-left-color: var(--red); }
.htf-contact-card-name {
  font-size: 15px; font-weight: 600;
  color: var(--white); margin-bottom: 8px;
}
.htf-contact-card-email,
.htf-contact-card-phone {
  display: block;
  font-size: 13px; font-weight: 400;
  color: var(--text); text-decoration: none;
  margin-bottom: 4px;
}
.htf-contact-card-email:hover,
.htf-contact-card-phone:hover { color: var(--red); }

/* ─── MAP EMBED ─── */
.htf-map-section {
  position: relative; overflow: hidden;
}
.htf-map-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: grayscale(80%) invert(90%) contrast(90%);
}
.htf-map-overlay {
  position: absolute; bottom: 40px; left: 64px;
  background: rgba(6,6,6,0.95);
  border-left: 3px solid var(--red);
  padding: 28px 32px;
  backdrop-filter: blur(10px);
  z-index: 1;
}
.htf-map-overlay-title {
  font-family: 'League Gothic', sans-serif;
  font-size: 20px; text-transform: uppercase;
  color: var(--white); margin-bottom: 12px;
}
.htf-map-overlay-line {
  font-size: 13px; font-weight: 400;
  color: var(--cream); margin-bottom: 4px;
}
.htf-map-overlay-line a { color: var(--cream); }
.htf-map-overlay-line a:hover { color: var(--red); }
.htf-map-overlay-fax { color: var(--muted); }

/* ─── PARTS CTA ─── */
.htf-parts-cta {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.htf-parts-cta-content {
  padding: 80px 64px;
}
.htf-parts-urgency {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); background: var(--red);
  padding: 12px 24px; margin-bottom: 20px;
}
.htf-parts-support {
  font-size: 15px; font-weight: 400;
  color: var(--cream); line-height: 1.7;
}
.htf-parts-cta-contacts {
  padding: 80px 64px;
  background: var(--surface2);
  display: flex; flex-direction: column; justify-content: center;
}
.htf-parts-contact-block {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.htf-parts-contact-name {
  font-size: 13px; font-weight: 500;
  color: var(--cream); margin-bottom: 6px;
}
.htf-parts-contact-phone {
  font-family: 'League Gothic', sans-serif;
  font-size: 36px; font-weight: 400;
  color: var(--white) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.htf-parts-contact-phone:hover { color: var(--red) !important; }

/* ─── LOGO STRIP ─── */
.htf-logo-strip {
  padding: 48px 64px;
  background: var(--near-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.htf-logo-strip-heading {
  font-family: 'League Gothic', sans-serif;
  font-size: 18px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
  letter-spacing: 0.1em;
}
.htf-logo-strip-track {
  display: flex; align-items: center;
  gap: 48px; flex-wrap: wrap;
}
.htf-logo-strip-item {
  display: inline-flex;
}
.htf-logo-strip-item img {
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.htf-logo-strip-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}
.htf-logo-strip--scroll { overflow: hidden; }
.htf-logo-strip--scroll .htf-logo-strip-track {
  flex-wrap: nowrap;
  animation: htf-scroll-left 40s linear infinite;
  width: max-content;
}

/* ─── DOWNLOAD BUTTON ─── */
.htf-download-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white) !important;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 16px 32px; margin: 32px 64px;
  text-decoration: none;
  transition: all 0.2s;
}
.htf-download-btn:hover {
  border-color: var(--red); color: var(--red) !important;
}
.htf-download-btn svg { flex-shrink: 0; }
.htf-download-size {
  font-weight: 400; color: var(--muted);
  margin-left: 4px;
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 404 ─── */
.htf-404 {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--black);
}
.htf-404 #main {
  position: relative; z-index: 1;
  width: 100%;
}
.htf-404-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.htf-404-inner {
  position: relative; z-index: 1;
  max-width: 720px;
  padding: 160px 64px 120px;
}
.htf-404-number {
  font-family: 'League Gothic', sans-serif;
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 400;
  line-height: 0.85;
  color: var(--red);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.htf-404-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.htf-404-search {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 460px;
}
.htf-404-search .search-form {
  display: flex; gap: 0;
}
.htf-404-search .search-field {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 300;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.htf-404-search .search-field:focus { border-color: var(--border-red); }
.htf-404-search .search-field::placeholder { color: var(--muted); }
.htf-404-search .search-submit {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: var(--red);
  padding: 14px 28px;
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.htf-404-search .search-submit:hover { background: var(--red-light); }
.htf-404-search label { display: block; }

/* ─── ELEMENTOR OVERRIDES ─── */
.elementor-page .site-nav { z-index: 10000; }
.elementor-page #content { padding-top: 0; }

/* Elementor canvas mode - hide header/footer from theme */
body.elementor-template-canvas .site-nav,
body.elementor-template-canvas .site-footer { display: none; }

/* Full width for Elementor */
.elementor-section.elementor-section-full_width > .elementor-container {
  max-width: 100%;
}
.elementor-section.elementor-section-stretched {
  width: 100% !important;
  left: 0 !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .htf-intro { grid-template-columns: 1fr; }
  .htf-intro-right { min-height: 50vh; }
  .htf-services-strip { grid-template-columns: 1fr; }
  .htf-strip-card { border-right: none; border-bottom: 1px solid var(--border); }
  .htf-numbers { grid-template-columns: repeat(2, 1fr); padding: 0 32px; }
  .htf-expansion { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .htf-trio { grid-template-columns: 1fr; height: auto; }
  .htf-trio-img { min-height: 40vh; }
  .htf-product-overview { grid-template-columns: 1fr; }
  .htf-product-overview-image { min-height: 50vh; }
  .htf-feature-grid--cols-3 { grid-template-columns: 1fr 1fr; }
  .htf-gallery--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .htf-delivery-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .htf-demo-card { grid-template-columns: 1fr; margin: 0 32px 32px; }
  .htf-service-detail { grid-template-columns: 1fr; }
  .htf-team-grid { grid-template-columns: 1fr 1fr; }
  .htf-parts-cta { grid-template-columns: 1fr; }
  .htf-checklist-items { columns: 1; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(6,6,6,0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .htf-hero-inner { padding: 0 24px; }
  .htf-hero-mid { flex-direction: column; gap: 20px; }
  .htf-intro-left { padding: 60px 24px; }
  .htf-story-cine-content { padding: 60px 24px; }
  .htf-expansion-content { padding: 60px 24px; }
  .htf-expansion-visual { padding: 60px 24px; }
  .htf-numbers { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .htf-contact-bar { flex-direction: column; }
  .htf-contact-cell { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .site-footer { padding: 48px 24px 24px; }
  .footer-main { grid-template-columns: 1fr; }
  .htf-exp-features { grid-template-columns: 1fr; }
  .htf-page-hero-inner { padding: 0 24px 40px; }
  .htf-product-overview-content { padding: 60px 24px; }
  .htf-feature-list { padding: 60px 24px; }
  .htf-feature-grid--cols-2,
  .htf-feature-grid--cols-3 { grid-template-columns: 1fr; }
  .htf-gallery { padding: 0 24px 40px; }
  .htf-gallery--cols-3 { grid-template-columns: repeat(2, 1fr); }
  .htf-spec-table { padding: 40px 24px; }
  .htf-spec-label { width: 140px; }
  .htf-delivery-section { padding: 60px 0; }
  .htf-delivery-filter-bar { padding: 0 24px 32px; }
  .htf-delivery-grid { padding: 0 24px; grid-template-columns: 1fr !important; }
  .htf-demo-card { grid-template-columns: 1fr; margin: 0 24px 24px; }
  .htf-demo-card-body { padding: 32px 24px; }
  .htf-service-detail-content { padding: 60px 24px; }
  .htf-service-detail-list { padding: 60px 24px; }
  .htf-checklist { padding: 60px 24px; }
  .htf-team-contacts { padding: 60px 24px; }
  .htf-team-grid { grid-template-columns: 1fr; }
  .htf-map-overlay { left: 24px; bottom: 24px; }
  .htf-parts-cta-content { padding: 60px 24px; }
  .htf-parts-cta-contacts { padding: 60px 24px; }
  .htf-logo-strip { padding: 32px 24px; }
  .htf-download-btn { margin: 24px; }
  .htf-404-inner { padding: 120px 24px 80px; }
  .htf-404-search .search-form { flex-direction: column; }
  .htf-404-search .search-submit { width: 100%; }
}
