/*
Theme Name: ZeroY Rooftop Tent
Theme URI: https://petgroz.com
Description: Dedicated B2B Theme for Rooftop Tent Manufacturer.
Version: 1.0.0
Author: ZeroY Studio
*/

/* -------------------------------------------------------------
   RESET & FOUNDATION
------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-black);
}

.site-container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* -------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-black);
  border-bottom: 1px solid var(--color-line-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 80px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.site-logo span {
  color: var(--color-green);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-green);
}

/* -------------------------------------------------------------
   NAV DROPDOWN (图书)
------------------------------------------------------------- */
.nav-menu .menu-item-has-children {
  position: relative;
}

.nav-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* Invisible bridge so the pointer can travel from the link to the panel. */
.nav-menu .menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 20px;
}

.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  min-width: 168px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  z-index: 1200;
}

.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-carbon);
  white-space: nowrap;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus {
  background-color: var(--color-canvas);
  color: #B87A1E;
}

/* Mega panel: one column per taxonomy */
.nav-menu .sub-menu.nav-mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 230px));
  gap: 0 32px;
  padding: 26px 30px 24px;
  left: auto;
  right: -12px;
}

/* Single-column mega panel (the product type list). */
.nav-menu .sub-menu.nav-mega.nav-mega-single {
  grid-template-columns: minmax(190px, 240px);
}

.nav-menu .nav-mega-head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-moss);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.nav-menu .nav-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu .nav-mega-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-carbon);
  white-space: nowrap;
}

/* Optional term thumbnail (audience channel image) */
.nav-menu .nav-mega-thumb {
  flex: 0 0 auto;
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--color-canvas);
}

.nav-menu .nav-mega-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-menu .nav-mega-text {
  display: block;
  min-width: 0;
}

/* Term description: second line, muted, allowed to wrap inside the column. */
.nav-menu .nav-mega-name {
  display: block;
}

.nav-menu .nav-mega-desc {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--color-text-mid);
  white-space: normal;
  overflow-wrap: anywhere;
}

.nav-menu .nav-mega-list a:hover,
.nav-menu .nav-mega-list a:focus {
  background-color: transparent;
}

.nav-menu .nav-mega-list a:hover .nav-mega-name,
.nav-menu .nav-mega-list a:focus .nav-mega-name {
  color: #B87A1E;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-green);
  color: var(--color-black);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-green-hover);
  color: var(--color-black);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.4);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 24px;
  border-radius: 2px;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  background-color: rgba(255,255,255,0.06);
}

.btn-large {
  padding: 16px 36px;
  font-size: 14px;
}

/* -------------------------------------------------------------
   ABOUT HERO
------------------------------------------------------------- */
.about-hero {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line-dark);
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-title .highlight {
  color: var(--color-green);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
}

/* -------------------------------------------------------------
   STAT BAR
------------------------------------------------------------- */
.stat-bar {
  background-color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-line-dark);
  padding: 40px 0;
}

.about-hero,
.page-about,
.site-header {
  scroll-margin-top: 0;
}


.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  border-left: 2px solid var(--color-green);
  padding-left: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .unit {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-left: 4px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
}

/* -------------------------------------------------------------
   SECTION GENERAL
------------------------------------------------------------- */
.about-section {
  padding: 96px 0;
}

.bg-white {
  background-color: var(--color-white);
}

.bg-offwhite {
  background-color: var(--color-offwhite);
}

.bg-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-header {
  margin-bottom: 56px;
  max-width: 800px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 17px;
  color: var(--color-text-mid);
  line-height: 1.8;
}

.dark-mode .section-title {
  color: var(--color-white);
}

.dark-mode .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.dark-mode .highlight {
  color: var(--color-green);
}

/* TWO COLUMN GRID */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.content-heading {
  font-size: 26px;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
}

.feature-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-green);
  font-size: 12px;
}

.mt-4 {
  margin-top: 24px;
}

/* -------------------------------------------------------------
   PLACEHOLDER IMAGE BOX (GREY BLOCKS WITH CLEAN STYLING)
------------------------------------------------------------- */
.media-box {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.aspect-16-10 {
  aspect-ratio: 16 / 10;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background: #E8ECE9;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.02),
    rgba(0,0,0,0.02) 15px,
    transparent 15px,
    transparent 30px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #4A5568;
  border: 2px dashed #CBD5E0;
}

.img-placeholder.dark {
  background: #18201A;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.03) 15px,
    transparent 15px,
    transparent 30px
  );
  border: 2px dashed rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

.ph-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.ph-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 80%;
  line-height: 1.5;
}

/* -------------------------------------------------------------
   TECH COMPARISON
------------------------------------------------------------- */
.tech-comparison-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cmp-card {
  padding: 24px;
  border-radius: 4px;
  border-left: 4px solid transparent;
}

.cmp-card.bad {
  background: rgba(255,255,255,0.04);
  border-color: var(--color-orange);
}

.cmp-card.good {
  background: rgba(122, 184, 0, 0.08);
  border-color: var(--color-green);
}

.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.badge-bad {
  color: var(--color-orange);
}

.badge-good {
  color: var(--color-green);
}

.cmp-card h4 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 6px;
}

.cmp-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.sub-heading {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 8px;
}

.text-dim {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* -------------------------------------------------------------
   DEPARTMENT CARDS (4-GRID)
------------------------------------------------------------- */
.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dept-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.dept-body {
  padding: 24px 20px;
}

.dept-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.dept-body p {
  font-size: 13.5px;
  color: var(--color-text-mid);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   MARKET GRID
------------------------------------------------------------- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.market-card {
  background: var(--color-offwhite);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 36px 30px;
  position: relative;
}

.market-share {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--color-green);
  line-height: 1;
  margin-bottom: 12px;
}

.market-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.market-card p {
  font-size: 14.5px;
  color: var(--color-text-mid);
  margin-bottom: 20px;
  line-height: 1.6;
}

.market-card .tag {
  display: inline-block;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

/* -------------------------------------------------------------
   PROCESS GRID
------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 36px 28px;
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 900;
  color: var(--color-green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.process-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.step-meta {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--color-line);
  padding-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   CTA CALLOUT
------------------------------------------------------------- */
.about-cta {
  padding: 100px 0;
  border-top: 1px solid var(--color-line-dark);
}

.cta-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-green);
  margin-bottom: 16px;
}

.cta-title {
  color: var(--color-white);
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 32px;
  border-top: 1px solid var(--color-line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .fbrand {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-brand .fbrand span {
  color: var(--color-green);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--color-white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--color-green);
}

.footer-bottom {
  border-top: 1px solid var(--color-line-dark);
  padding-top: 24px;
  font-size: 13px;
  text-align: center;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------------- */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 22px;
  }
}

@media (max-width: 1024px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .header-actions {
    display: none;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .department-grid {
    grid-template-columns: 1fr;
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   HOMEPAGE, QUOTE & CAPABILITIES EXTENSIONS
------------------------------------------------------------- */
.fp-hero {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line-dark);
}

.fp-hero-inner {
  max-width: 900px;
}

.fp-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-amber);
  color: var(--color-carbon);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.btn-amber:hover {
  background-color: var(--color-amber-hover);
  color: var(--color-carbon);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--color-canvas);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--color-canvas);
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.hero-quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--color-line-dark);
  padding-top: 36px;
}

.spec-tile {
  display: flex;
  flex-direction: column;
}

.spec-kpi {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-canvas);
  line-height: 1.1;
  margin-bottom: 4px;
}

.spec-kpi .unit {
  font-size: 14px;
  color: var(--color-amber);
  margin-left: 3px;
}

.spec-title {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-canvas);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-sub {
  font-size: 11.5px;
  color: var(--color-steel);
  line-height: 1.4;
  margin-top: 2px;
}

.fp-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--color-line);
}

.fp-section.bg-canvas {
  background-color: var(--color-canvas);
}

.fp-section.bg-graphite {
  background-color: var(--color-graphite);
  border-bottom: 1px solid var(--color-border-dark);
}

.fp-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.fp-product-card {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(23, 25, 22, 0.08);
}

.fp-product-card .card-media {
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--color-graphite);
  overflow: hidden;
}

.fp-product-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fp-product-card:hover .card-media img {
  transform: scale(1.03);
}

.fp-product-card .card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(23, 25, 22, 0.85);
  color: var(--color-canvas);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 2px;
}

.fp-product-card .card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.card-price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-amber);
}

.card-terms {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--color-steel);
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-carbon);
  margin-bottom: 10px;
}

.card-text {
  font-size: 13.5px;
  color: var(--color-text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-specs-list {
  background: #FAFAF7;
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}

.card-specs-list .spec-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.card-specs-list .spec-label {
  color: var(--color-steel);
  font-weight: 600;
}

.card-specs-list .spec-val {
  color: var(--color-carbon);
  font-weight: 700;
  text-align: right;
}

.card-action {
  margin-top: auto;
}

.card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-carbon);
  color: var(--color-canvas);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.card-btn:hover {
  background-color: var(--color-amber);
  color: var(--color-carbon);
}

/* TECH SECTION */
.tech-media-box {
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  overflow: hidden;
}

.tech-media-box img {
  width: 100%;
  height: auto;
  display: block;
}

.tech-caption-bar {
  background: var(--color-carbon);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-steel);
  border-top: 1px solid var(--color-border-dark);
}

.tech-features-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fp-tech-card {
  background: #1E231F;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 2px;
}

.fp-tech-card.active {
  border-left: 4px solid var(--color-amber);
}

.tech-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.tech-kpi {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-amber);
}

.tech-card-header h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-canvas);
}

.fp-tech-card p {
  font-size: 13.5px;
  color: rgba(246, 244, 238, 0.7);
  line-height: 1.6;
}

/* BOUNDARY CARDS */
.boundary-card {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  padding: 36px 32px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}

.boundary-card.deep {
  background: var(--color-graphite);
  color: var(--color-canvas);
  border-color: var(--color-border-dark);
}

.boundary-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-moss);
  margin-bottom: 8px;
}

.boundary-badge.accent {
  color: var(--color-amber);
}

.boundary-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.boundary-card.deep .boundary-title {
  color: var(--color-canvas);
}

.boundary-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-mid);
  margin-bottom: 24px;
}

.boundary-card.deep .boundary-desc {
  color: rgba(246, 244, 238, 0.7);
}

.boundary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.boundary-list li {
  font-size: 13.5px;
  line-height: 1.5;
}

.boundary-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.boundary-card.deep .boundary-foot {
  border-color: rgba(255, 255, 255, 0.1);
}

.foot-kpi {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-carbon);
}

.boundary-card.deep .foot-kpi {
  color: var(--color-amber);
}

.foot-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-carbon);
  letter-spacing: 0.04em;
}

.foot-link.accent {
  color: var(--color-amber);
}

.foot-link:hover {
  text-decoration: underline;
}

/* STATIONS GRID */
.fp-stations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.station-card {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.station-media {
  position: relative;
  aspect-ratio: 3/2;
  background: var(--color-graphite);
}

.station-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.station-num {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(23, 25, 22, 0.85);
  color: var(--color-canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}

.station-info {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.station-info h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.station-info p {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.station-kpi {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-moss);
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}

/* CLOSING CARD */
.fp-closing {
  padding: 90px 0;
}

.closing-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.closing-title {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  color: var(--color-canvas);
  line-height: 1.2;
  margin: 16px 0 20px;
}

.closing-lead {
  font-size: 16px;
  color: rgba(246, 244, 238, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.closing-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------
   QUOTE PAGE SPECIFIC STYLES
------------------------------------------------------------- */
.quote-hero {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line-dark);
}

.quote-step-tracker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.quote-step-tracker .step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  border-radius: 2px;
}

.quote-step-tracker .step-card.active {
  border-top: 3px solid var(--color-amber);
  background: rgba(255, 255, 255, 0.07);
}

.quote-step-tracker .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-amber);
  letter-spacing: 0.12em;
}

.quote-step-tracker .step-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--color-canvas);
  margin-top: 4px;
}

.quote-step-tracker .step-sub {
  font-size: 12px;
  color: var(--color-steel);
  margin-top: 2px;
}

.quote-section {
  padding: 80px 0 100px;
  background-color: var(--color-canvas);
}

.quote-layout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
}

.quote-form-container {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  padding: 44px 40px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.form-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-steel);
  max-width: 300px;
  line-height: 1.4;
}

.quote-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-policy-card {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-amber);
  padding: 32px 28px;
  border-radius: 2px;
}

.policy-header {
  margin-bottom: 24px;
}

.policy-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-amber);
  display: block;
  margin-bottom: 4px;
}

.policy-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-carbon);
}

.policy-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.policy-item:last-child {
  margin-bottom: 0;
}

.policy-icon {
  flex-shrink: 0;
  color: var(--color-olive);
  margin-top: 2px;
}

.policy-content strong {
  display: block;
  font-size: 14px;
  color: var(--color-carbon);
  margin-bottom: 2px;
}

.policy-content p {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.5;
  margin: 0;
}

.sidebar-meta-card {
  background: var(--color-graphite);
  color: var(--color-canvas);
  border: 1px solid var(--color-border-dark);
  padding: 24px 28px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-steel);
  letter-spacing: 0.08em;
}

.meta-val {
  font-weight: 700;
  color: var(--color-canvas);
  font-family: var(--font-mono);
}

.meta-link {
  color: var(--color-amber);
  font-weight: 700;
}

.meta-link:hover {
  text-decoration: underline;
}

/* RESPONSIVE ADDITIONS */
@media (max-width: 1024px) {
  .hero-quick-specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .fp-products-grid {
    grid-template-columns: 1fr;
  }
  .fp-stations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-layout-grid {
    grid-template-columns: 1fr;
  }
  .quote-step-tracker {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-quick-specs {
    grid-template-columns: 1fr;
  }
  .fp-stations-grid {
    grid-template-columns: 1fr;
  }
  .btn-full-mobile {
    width: 100%;
  }
}

/* -------------------------------------------------------------
   QUOTE MODAL POPUP STYLES
------------------------------------------------------------- */
.quote-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 25, 22, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.quote-modal-dialog {
  background: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-amber);
  border-radius: 2px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-modal-overlay.is-open .quote-modal-dialog {
  transform: translateY(0) scale(1);
}

.quote-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--color-steel);
  cursor: pointer;
  transition: color 0.2s ease;
}

.quote-modal-close:hover {
  color: var(--color-carbon);
}

.quote-modal-header {
  margin-bottom: 20px;
}

.quote-modal-header .form-title {
  font-size: 22px;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .quote-modal-dialog {
    padding: 28px 20px;
  }
}

/* zeroy pipeline check: harmless comment */
