@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

.tx-page { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; color: #333; line-height: 1.65; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.tx-page * { box-sizing: border-box; }
.tx-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.tx-page h1, .tx-page h2, .tx-page h3, .tx-page h4 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.025em; line-height: 1.15; color: #1a1a1a; font-weight: 700; }

/* ============ HERO ============ */
.tx-hero { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #fff; padding: 120px 0 100px; position: relative; overflow: hidden; }
.tx-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 50%, rgba(188,0,0,0.22) 0%, transparent 55%), radial-gradient(circle at 80% 30%, rgba(188,0,0,0.14) 0%, transparent 60%); pointer-events: none; }
.tx-hero .tx-container { position: relative; z-index: 2; }
.tx-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; color: #BC0000; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 12px; }
.tx-eyebrow::before { content: ''; width: 32px; height: 1px; background: #BC0000; }
.tx-hero h1 { font-size: clamp(40px, 5.5vw, 68px); color: #fff; margin: 0 0 24px; max-width: 900px; }
.tx-hero h1 .red { color: #BC0000; position: relative; display: inline-block; }
.tx-hero h1 .red::after { content: ''; position: absolute; bottom: 6px; left: 0; right: 0; height: 4px; background: #BC0000; opacity: 0.5; transform: scaleX(0); transform-origin: left; animation: tx-line 1.2s 0.6s ease forwards; }
@keyframes tx-line { to { transform: scaleX(1); } }
.tx-lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; max-width: 720px; color: #d4d4d4; margin: 0 0 36px; font-weight: 400; }
.tx-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.tx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 32px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: 0; }
.tx-btn-primary { background: #BC0000; color: #fff; box-shadow: 0 8px 24px -8px rgba(188,0,0,0.6); }
.tx-btn-primary:hover { background: #d40000; transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(188,0,0,0.7); }
.tx-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.tx-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.tx-trust-row { display: flex; gap: 28px; margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.tx-trust-pill { display: inline-flex; align-items: center; gap: 10px; color: #d4d4d4; font-size: 14px; padding: 10px 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; }
.tx-trust-pill::before { content: ''; width: 6px; height: 6px; background: #BC0000; border-radius: 50%; flex-shrink: 0; }

/* ============ SECTIONS ============ */
.tx-section { padding: 100px 0; }
.tx-section-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; color: #BC0000; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.tx-section h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 24px; max-width: 800px; }
.tx-section .tx-lede { color: #555; max-width: 720px; margin-bottom: 56px; }
.tx-soft { background: #fafafa; }
.tx-dark { background: #1a1a1a; color: #f0f0f0; }
.tx-dark h2, .tx-dark h3 { color: #fff; }
.tx-dark .tx-lede { color: #b8b8b8; }
.tx-dark .tx-section-label { color: #ff5555; }

/* ============ WHY TEXECOM (4-card grid) ============ */
.tx-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.tx-why-card { background: #fff; padding: 32px 28px; border-radius: 16px; border: 1px solid #eee; transition: all 0.3s ease; }
.tx-why-card:hover { transform: translateY(-4px); border-color: #BC0000; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.tx-why-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #BC0000 0%, #8a0000 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.tx-why-card h3 { font-size: 19px; margin: 0 0 12px; }
.tx-why-card p { font-size: 15px; line-height: 1.6; color: #555; margin: 0; }

/* ============ THE RANGE (panel grid) ============ */
.tx-range-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tx-range-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.tx-range-card:hover { transform: translateY(-4px); border-color: #BC0000; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.tx-range-img { height: 180px; background: #1a1a1a; overflow: hidden; }
.tx-range-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tx-range-card:hover .tx-range-img img { transform: scale(1.05); }
.tx-range-body { padding: 24px 26px 26px; }
.tx-range-tag { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; color: #BC0000; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; background: #fdeaea; border-radius: 999px; margin-bottom: 12px; }
.tx-range-card h3 { font-size: 19px; margin: 0 0 8px; }
.tx-range-card p { font-size: 14px; line-height: 1.55; color: #666; margin: 0 0 16px; }
.tx-range-spec { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tx-range-spec span { font-size: 12px; color: #555; padding: 4px 10px; background: #f4f4f4; border-radius: 6px; }

/* ============ CONNECT APP HIGHLIGHT ============ */
.tx-connect { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #f0f0f0; border-radius: 24px; padding: 60px 56px; margin-top: 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.tx-connect::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(188,0,0,0.2) 0%, transparent 70%); }
.tx-connect-text { position: relative; z-index: 2; }
.tx-connect-text h3 { color: #fff; font-size: 32px; margin: 0 0 16px; }
.tx-connect-text p { color: #c5c5c5; font-size: 15px; line-height: 1.65; margin: 0 0 20px; }
.tx-connect-features { display: grid; gap: 12px; margin-top: 24px; }
.tx-connect-features li { list-style: none; padding-left: 28px; position: relative; color: #d4d4d4; font-size: 14px; }
.tx-connect-features li::before { content: '✓'; position: absolute; left: 0; color: #BC0000; font-weight: 700; }
.tx-connect-img { position: relative; z-index: 2; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.tx-connect-img img { width: 100%; display: block; }

/* ============ PRICING TIERS ============ */
.tx-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tx-tier { background: #fff; border: 1px solid #e5e5e5; border-radius: 16px; padding: 32px 28px; position: relative; transition: all 0.3s ease; }
.tx-tier:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.tx-tier-featured { border: 2px solid #BC0000; background: linear-gradient(180deg, #fff 0%, #fdf5f5 100%); }
.tx-tier-featured::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #BC0000; color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.15em; padding: 6px 14px; border-radius: 999px; }
.tx-tier-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; color: #999; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 8px; }
.tx-tier-featured .tx-tier-eyebrow { color: #BC0000; }
.tx-tier-name { font-size: 13px; font-family: 'IBM Plex Mono', monospace; color: #BC0000; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.tx-tier-price { font-size: 44px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.tx-tier-price small { font-size: 16px; font-weight: 500; color: #999; }
.tx-tier-vat { font-size: 12px; color: #999; margin-bottom: 24px; }
.tx-tier-list { list-style: none; padding: 0; margin: 0 0 24px; }
.tx-tier-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid #f0f0f0; position: relative; font-size: 14px; color: #444; }
.tx-tier-list li:last-child { border-bottom: 0; }
.tx-tier-list li::before { content: '✓'; position: absolute; left: 0; color: #BC0000; font-weight: 700; }
.tx-tier-best { font-size: 13px; color: #737373; margin: 0; padding-top: 16px; border-top: 1px dashed #e5e5e5; }

/* ============ REAL INSTALLS BEFORE/AFTER ============ */
.tx-ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.tx-ba-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.08); background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.tx-ba-item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.tx-ba-item img { width: 100%; height: 380px; object-fit: cover; display: block; }
.tx-ba-label { position: absolute; top: 16px; left: 16px; z-index: 2; background: #1a1a1a; color: #fff; padding: 6px 14px; border-radius: 999px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; }
.tx-ba-after .tx-ba-label { background: #BC0000; }
.tx-ba-item figcaption { padding: 18px 22px 22px; color: #555; font-size: 14px; line-height: 1.5; border-top: 1px solid #eee; }
.tx-ba-before { filter: saturate(0.85) brightness(0.95); }

/* ============ SPECS TABLE ============ */
.tx-specs { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e5e5e5; margin-top: 32px; }
.tx-specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-specs th { background: #1a1a1a; color: #fff; text-align: left; padding: 16px 20px; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.tx-specs td { padding: 16px 20px; border-bottom: 1px solid #f0f0f0; color: #444; }
.tx-specs tr:last-child td { border-bottom: 0; }
.tx-specs tr:hover { background: #fafafa; }
.tx-specs td:first-child { font-weight: 600; color: #1a1a1a; }

/* ============ FAQ ============ */
.tx-faqs { display: grid; gap: 12px; }
.tx-faq { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; transition: all 0.25s ease; }
.tx-faq[open] { border-color: #BC0000; box-shadow: 0 4px 24px rgba(188,0,0,0.08); }
.tx-faq summary { padding: 22px 28px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #1a1a1a; }
.tx-faq summary::after { content: '+'; font-size: 24px; font-weight: 300; color: #BC0000; transition: transform 0.3s ease; }
.tx-faq[open] summary::after { transform: rotate(45deg); }
.tx-faq summary::-webkit-details-marker { display: none; }
.tx-faq-body { padding: 0 28px 24px; color: #555; line-height: 1.65; font-size: 15px; }

/* ============ CROSS-LINKS (other brands) ============ */
.tx-other-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.tx-other-brand { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; text-decoration: none; transition: all 0.25s ease; display: block; }
.tx-other-brand:hover { border-color: #BC0000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.tx-other-brand-name { font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 0 0 4px; }
.tx-other-brand-tag { font-size: 13px; color: #BC0000; font-weight: 500; }
.tx-other-brand-desc { font-size: 13px; color: #666; margin: 8px 0 0; line-height: 1.5; }

/* ============ FINAL CTA ============ */
.tx-cta-final { background: linear-gradient(135deg, #BC0000 0%, #8a0000 100%); color: #fff; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.tx-cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 60%); }
.tx-cta-final .tx-container { position: relative; z-index: 2; }
.tx-cta-final h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; }
.tx-cta-final p { font-size: 17px; color: rgba(255,255,255,0.92); max-width: 580px; margin: 0 auto 32px; }
.tx-cta-final .tx-btn-primary { background: #fff; color: #BC0000; }
.tx-cta-final .tx-btn-primary:hover { background: #fdfdfd; }
.tx-cta-final .tx-btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .tx-connect { grid-template-columns: 1fr; padding: 48px 32px; gap: 32px; }
  .tx-ba-grid { grid-template-columns: 1fr; gap: 24px; }
  .tx-ba-item img { height: 280px; }
}
@media (max-width: 720px) {
  .tx-hero { padding: 90px 0 70px; }
  .tx-section { padding: 70px 0; }
  .tx-trust-row { gap: 12px; }
  .tx-trust-pill { font-size: 13px; padding: 8px 14px; }
}
/* ============================================================ */
/* Range card image tuning for new Texecom WebP product shots  */
/* ============================================================ */
body.page-id-29853 .tx-range-img {
  height: 200px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-id-29853 .tx-range-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #f4f4f4 100%);
}

/* Override hover scale for these cleaner product shots */
body.page-id-29853 .tx-range-card:hover .tx-range-img img {
  transform: scale(1.03);
}


/* ============================================================ */
/* 4-tier grid layout (3 priced + Custom Quote)                 */
/* ============================================================ */
body.page-id-29853 .tx-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  body.page-id-29853 .tx-tiers {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  body.page-id-29853 .tx-tiers {
    grid-template-columns: 1fr;
  }
}

/* Custom Quote tier — distinguishable but not louder than Featured */
body.page-id-29853 .tx-tier-custom {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border: 2px dashed #BC0000;
}

body.page-id-29853 .tx-tier-price-custom {
  font-size: 32px;
  font-weight: 700;
  color: #BC0000;
  font-style: italic;
  margin: 4px 0;
}

body.page-id-29853 .tx-tier-btn-primary {
  background: #BC0000 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

body.page-id-29853 .tx-tier-btn-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

body.page-id-29853 .tx-tier-btn-link:hover {
  color: #BC0000;
  text-decoration: underline;
}

/* Make sure all tier cards are equal height */
body.page-id-29853 .tx-tier {
  display: flex;
  flex-direction: column;
}

body.page-id-29853 .tx-tier-list {
  flex-grow: 1;
}


/* ============================================================ */
/* 5-card range grid layout (Veritas K8, 24, 64-W LIVE, 48, Commercial) */
/* ============================================================ */
body.page-id-29853 .tx-ranges,
body.page-id-29853 .tx-range-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  body.page-id-29853 .tx-ranges,
  body.page-id-29853 .tx-range-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  body.page-id-29853 .tx-ranges,
  body.page-id-29853 .tx-range-grid {
    grid-template-columns: 1fr;
  }
}

