﻿/* ═══════════════════════════════════════════════════════════════════════════
   TREMINIX DEFENSE — PAGE STYLES
   Neo-Deco Precision · Fayetteville, NC
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--void);
  padding: 0 0 var(--s9);
}
.home .t-xl {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.05;
}
/* Deep space background layers */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(27,31,94,0.40) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(212,168,67,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(8,9,16,0.90) 0%, transparent 70%),
    url('https://images.pexels.com/photos/36302077/pexels-photo-36302077.jpeg?_gl=1*1whp89i*_ga*ODA4ODQ5MTQ1LjE3NjA1NDAzNjE.*_ga_8JE65Q40S6*czE3NzkyNzU0ODEkbzQzJGcxJHQxNzc5Mjc1NTEwJGozMSRsMCRoMA..') center/cover no-repeat;
  filter: saturate(0.30) brightness(0.35);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,9,16,0.30) 0%,
    rgba(8,9,16,0.55) 60%,
    rgba(8,9,16,0.92) 100%
  );
}

/* Grid lines for deco precision feel */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(212,168,67,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 2; padding-top: 160px; }

/* Image frame utility for feature images */
.img-frame { display:block; width:100%; height:100%; overflow:hidden; border-radius:8px; }
.img-frame img { display:block; width:100%; height:100%; object-fit:cover; }

/* Eyebrow */
.hero-eye { display: flex; align-items: center; gap: var(--s5); margin-bottom: var(--s7); }

/* Giant headline */
.hero-h1 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(4.5rem, 12vw, 13rem);
  line-height: 0.88; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--pearl); margin-bottom: var(--s7);
}
.hero-h1 .line-gold {
  background: linear-gradient(135deg, var(--amber-l) 0%, var(--amber) 50%, var(--amber-d) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.hero-h1 .line-sm { font-size: 0.38em; letter-spacing: 0.16em; color: var(--pearl-4); display: block; font-weight: 300; margin-top: 0.2em; -webkit-text-fill-color: var(--pearl-4); }

.hero-sub { font-size: 1.05rem; color: var(--pearl-4); line-height: 1.80; max-width: 500px; margin-bottom: var(--s8); }
.hero-ctas { display: flex; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s9); }

/* Trust row */
.hero-trust { display: flex; align-items: center; gap: var(--s7); flex-wrap: wrap; padding-top: var(--s6); border-top: 1px solid var(--b0); }
.trust-it { display: flex; align-items: center; gap: var(--s3); }
.trust-ic {
  width: 30px; height: 30px;
  background: var(--amber-dim); border: 1px solid var(--b1);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center; font-size: 0.80rem; flex-shrink: 0;
}
.trust-lb { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pearl-4); line-height: 1.5; }

/* Floating right card */
.hero-panel {
  position: absolute; right: var(--s8); bottom: var(--s9); z-index: 3;
  background: linear-gradient(145deg, rgba(22,27,46,0.90) 0%, rgba(10,12,20,0.95) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--b1); border-radius: var(--r3);
  padding: var(--s6) var(--s7); max-width: 260px;
  box-shadow: var(--sh2), var(--sh-sap);
}
.hero-panel::before { content: ''; position: absolute; top: 0; left: var(--s5); right: var(--s5); height: 1px; background: linear-gradient(90deg, transparent, var(--amber-mid), transparent); }

/* ── STATS BAND ───────────────────────────────────────────────────────── */
.stats-band { background: var(--void-2); border-top: 1px solid var(--b0); border-bottom: 1px solid var(--b0); }
.stats-row  { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-col {
  padding: var(--s7) var(--s6);
  border-right: 1px solid var(--b0);
  position: relative; transition: background var(--t2);
}
.stat-col:last-child { border-right: none; }
.stat-col::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transition: width var(--t3) var(--ease);
}
.stat-col:hover::before { width: 100%; }
.stat-col:hover { background: var(--void-3); }

/* ── SVC PANEL ────────────────────────────────────────────────────────── */
.svc-num { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-d); margin-bottom: var(--s3); }
.svc-icon { font-size: 1.8rem; margin-bottom: var(--s4); }
.svc-h { font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pearl); margin-bottom: var(--s3); }

/* ── PROCESS STEP ─────────────────────────────────────────────────────── */
.proc-row { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s5); position: relative; }
.proc-row::before {
  content: ''; position: absolute; top: 20px; left: 10%; right: 10%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--b1), transparent); z-index: 0;
}
.proc-card { position: relative; z-index: 1; }
.proc-n {
  width: 40px; height: 40px;
  background: var(--amber-dim); border: 1px solid var(--b2);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.10em; color: var(--amber);
  margin-bottom: var(--s5); transition: background var(--t2), box-shadow var(--t2);
}
.proc-card:hover .proc-n { background: var(--amber-mid); box-shadow: var(--sh-amber); }
.proc-h { font-family: var(--display); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pearl); margin-bottom: var(--s3); }
.proc-p { font-size: 0.82rem; color: var(--pearl-4); line-height: 1.65; }

/* ── CHECK LIST ───────────────────────────────────────────────────────── */
.ck { display: flex; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--b0); }
.ck:last-child { border-bottom: none; } .ck:first-child { padding-top: 0; }
.ck-gem { width: 18px; height: 18px; background: var(--amber-dim); border: 1px solid var(--b1); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.ck-gem::after { content: ''; width: 5px; height: 5px; background: var(--amber); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }
.ck-h { font-family: var(--body); font-weight: 600; font-size: 0.90rem; color: var(--pearl); margin-bottom: 2px; }
.ck-p { font-size: 0.80rem; color: var(--pearl-4); line-height: 1.60; }

/* ── PRICING ──────────────────────────────────────────────────────────── */
.price-card { padding: var(--s7) var(--s6); display: flex; flex-direction: column; position: relative; }
.price-featured { background: linear-gradient(145deg, var(--sap) 0%, var(--sap-l) 100%) !important; border-color: var(--b2) !important; }
.price-featured .price-tier-l, .price-featured .price-period-l { color: rgba(212,168,67,0.6) !important; }
.price-featured .price-feat-line { color: rgba(244,239,230,0.75) !important; border-bottom-color: rgba(255,255,255,0.08) !important; }
.price-featured .price-num-l { color: var(--pearl) !important; }
.price-featured .suf { color: var(--amber-l) !important; }
.price-pop { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--amber) 0%, var(--amber-d) 100%); color: var(--void); font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 14px; border-radius: var(--r1); white-space: nowrap; box-shadow: var(--sh-amber); }
.price-tier-l { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.20em; text-transform: uppercase; color: var(--amber-d); margin-bottom: var(--s4); }
.price-num-l { font-family: var(--display); font-size: 4.5rem; font-weight: 300; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; color: var(--pearl); }
.price-num-l .suf { font-size: 1.5rem; color: var(--amber); vertical-align: top; margin-top: 10px; display: inline-block; }
.price-period-l { font-family: var(--mono); font-size: 0.60rem; color: var(--pearl-5); margin: var(--s2) 0 var(--s5); }
.price-divider-l { height: 1px; background: var(--b0); margin: var(--s5) 0; }
.price-feat-line { display: flex; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--b0); font-size: 0.82rem; color: var(--pearl-4); }
.price-feat-line:last-child { border-bottom: none; }
.pf-gem { width: 10px; height: 10px; background: var(--amber-d); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); flex-shrink: 0; margin-top: 4px; }
.price-feats-l { flex: 1; margin-bottom: var(--s6); }

/* ── BLOG FEATURED ────────────────────────────────────────────────────── */
.blog-feat {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--b1); border-radius: var(--r3);
  overflow: hidden; margin-bottom: var(--s6);
  transition: box-shadow var(--t2), transform var(--t3) var(--ease);
  background: var(--void-3);
}
.blog-feat:hover { box-shadow: var(--sh2), var(--sh-sap); transform: translateY(-2px); }
.bfeat-img { overflow: hidden; min-height: clamp(520px, 60vh, 900px); }
.bfeat-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.60) brightness(0.80); transition: transform var(--t4) var(--ease), filter var(--t3); }
.blog-feat:hover .bfeat-img img { transform: scale(1.05); filter: saturate(0.75) brightness(0.88); }
.bfeat-body { padding: var(--s8) var(--s7); display: flex; flex-direction: column; justify-content: center; }

/* ── CTA BOX ──────────────────────────────────────────────────────────── */
.cta-deco {
  background: linear-gradient(135deg, var(--void-4) 0%, var(--sap-dim) 50%, var(--void-4) 100%);
  border: 1px solid var(--b1); border-radius: var(--r3);
  padding: var(--s9); position: relative; overflow: hidden;
}
.cta-deco::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.cta-deco::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber-d), transparent);
}
/* Corner diamonds */
.cta-deco .corner-gem {
  position: absolute; width: 8px; height: 8px;
  background: var(--amber); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.cta-deco .corner-gem.tl { top: -4px; left: var(--s8); }
.cta-deco .corner-gem.tr { top: -4px; right: var(--s8); }
.cta-deco .corner-gem.bl { bottom: -4px; left: var(--s8); }
.cta-deco .corner-gem.br { bottom: -4px; right: var(--s8); }

/* ── PROJECT CARD ─────────────────────────────────────────────────────── */
.proj-img { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r2); margin-bottom: var(--s5); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.65) brightness(0.80); transition: transform var(--t4) var(--ease), filter var(--t3); }
.card-glass:hover .proj-img img { transform: scale(1.07); filter: saturate(0.80) brightness(0.88); }

/* ── ICON GEM ─────────────────────────────────────────────────────────── */
.icon-gem {
  width: 52px; height: 52px;
  background: var(--amber-dim); border: 1px solid var(--b1);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: var(--s5); flex-shrink: 0;
  transition: background var(--t2), box-shadow var(--t2);
}
.card-glass:hover .icon-gem { background: var(--amber-mid); box-shadow: var(--sh-amber); }

/* ── SPEC ROW ─────────────────────────────────────────────────────────── */
.spec-row { display: flex; gap: var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--b0); align-items: flex-start; }
.spec-row:last-child { border-bottom: none; }
.spec-lbl { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); min-width: 110px; flex-shrink: 0; padding-top: 2px; }
.spec-val { font-size: 0.88rem; color: var(--pearl-3); line-height: 1.65; }

/* ── PROGRAM CHIP ─────────────────────────────────────────────────────── */
.prog-chip {
  padding: var(--s5); background: var(--void-4); border: 1px solid var(--b0);
  border-radius: var(--r2); text-align: center; transition: all var(--t2);
}
.prog-chip:hover { border-color: var(--b1); background: var(--amber-dim); transform: translateY(-2px); }
.prog-em { font-size: 1.6rem; margin-bottom: var(--s3); }
.prog-name { font-family: var(--display); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pearl); margin-bottom: 3px; }
.prog-note { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.08em; color: var(--pearl-5); }

/* ── RESPONSIVE PAGES ─────────────────────────────────────────────────── */
@media (max-width:1100px) {
  .hero-panel { display: none; }
  .proc-row { grid-template-columns: repeat(2,1fr); }
  .proc-row::before { display: none; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-col:nth-child(2) { border-right: none; }
  .stat-col { border-bottom: 1px solid var(--b0); }
  .stat-col:nth-child(3), .stat-col:nth-child(4) { border-bottom: none; }
}
@media (max-width:900px) {
  .blog-feat { grid-template-columns: 1fr; }
  .bfeat-img { min-height: 220px; }
}
@media (max-width:768px) {
  .hero { min-height: auto; padding: 100px 0 var(--s8); }
  .proc-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}


