/*
Theme Name: Longreend
Theme URI: https://longreend.com
Author: 岭荟科技
Description: 岭荟科技官网自定义主题 - 进口室内高尔夫模拟器方案集成商
Version: 1.6.0
Text Domain: longreend
*/

/* ========== CSS Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors (from Logo) */
  --brand-blue: #00276c;
  --brand-blue-hover: #00528A;
  --brand-blue-active: #0066A6;
  --brand-gold: #D4A529;
  --brand-gold-hover: #E8B838;

  /* Backgrounds */
  --bg-dark: #0A1628;
  --bg-darker: #061020;
  --bg-light: #F5F5F0;
  --bg-white: #FFFFFF;

  /* Text */
  --text-white: #FFFFFF;
  --text-gray: #B0B0B0;
  --text-dark: #1A1A1A;
  --text-dark-sub: #4A4A4A;

  /* Functional */
  --success: #4CAF50;
  --error: #F44336;

  /* Spacing */
  --section-pad: 100px;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-white);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-gold); text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Typography ========== */
.section-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--brand-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 32px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--text-white);
}
.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--text-white);
  color: var(--text-white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text-white);
}

.btn-gold {
  background: var(--brand-gold);
  color: var(--bg-dark);
}
.btn-gold:hover {
  background: var(--brand-gold-hover);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--bg-dark);
}

.btn-text {
  background: none;
  border: none;
  color: var(--brand-gold);
  font-size: 14px;
  padding: 10px 0;
  min-height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.btn-text:hover { text-decoration: underline; }
.btn-text::after { content: ' \2192'; }

/* ========== Section 1: Hero ========== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-poster {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 22, 40, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
}

.hero-pretitle {
  font-size: 14px;
  color: var(--brand-gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 10px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-highlight {
  color: var(--text-white);
  font-weight: 700;
}

.hero-micro {
  font-size: 14px;
  color: var(--brand-gold);
  letter-spacing: 1px;
}

/* ========== Section 2: Trust Wall ========== */
.trust-wall {
    position: relative;
    overflow: hidden;

#globe-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.trust-wall .container {
  position: relative;
  z-index: 1;
}
  background: var(--bg-dark);

#globe-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.trust-wall .container {
  position: relative;
  z-index: 1;
}
  padding: var(--section-pad) 0;

#globe-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.trust-wall .container {
  position: relative;
  z-index: 1;
}
  text-align: center;

#globe-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.trust-wall .container {
  position: relative;
  z-index: 1;
}
}

#globe-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.trust-wall .container {
  position: relative;
  z-index: 1;
}

.trust-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 16px;
}

.trust-item .number {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1;
}

.trust-item .number-suffix {
  font-size: 36px;
}

.trust-item .label {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 8px;
}

.trust-certs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust-certs img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.trust-certs img:hover { opacity: 1; }

.trust-tagline {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

/* ========== Section 3: Three Steps ========== */
.three-steps {
  background: var(--brand-blue);
  padding: var(--section-pad) 0;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.step-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.step-card .step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.step-card .step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card .step-details {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 2;
}

.step-card .step-tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-gold);
  margin-top: 20px;
}

/* ========== Section 4: Products ========== */
.products {
  background: var(--bg-dark);
  padding: var(--section-pad) 0;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.product-card.hot::before {
  content: '\70ED\95E8\00B7\591A\6570\5BA2\6237\9009\62E9';
  position: absolute;
  top: -1px; right: 24px;
  background: var(--brand-gold);
  color: var(--bg-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}

.product-card .tier-name {
  font-size: 14px;
  color: var(--brand-gold);
  margin-bottom: 8px;
}

.product-card .tier-price {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.product-card .tier-models {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
  min-height: 80px;
}

.product-card .tier-fit {
  font-size: 14px;
  color: var(--text-gray);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.product-card .btn-text {
  font-size: 14px;
}

.products-note {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

/* ========== Section 5: Cases ========== */
.cases {
  background: var(--bg-light);
  padding: var(--section-pad) 0;
  text-align: center;
}

.cases .section-title,
.cases .section-label { color: var(--text-dark); }
.cases .section-subtitle { color: var(--text-dark-sub); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
  text-align: left;
}

.case-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.case-card .case-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.case-card .case-body {
  padding: 24px;
}

.case-card .case-location {
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 8px;
}

.case-card .case-equipment {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.case-card .case-concern {
  font-size: 14px;
  color: var(--text-dark-sub);
  font-style: italic;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 8px;
  line-height: 1.6;
}

.case-card .case-result {
  font-size: 14px;
  color: var(--success);
  font-weight: 600;
}

/* ========== Section 6: FAQ ========== */
.faq {
  background: var(--bg-dark);
  padding: var(--section-pad) 0;
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 48px auto 40px;
  text-align: left;
}

.faq-item {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  transition: background 0.3s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: rgba(255,255,255,0.08); }

.faq-question .faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--brand-gold);
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-answer-inner a {
  display: inline-block;
  margin-top: 8px;
}

.faq-note {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

/* ========== Section 7: Footer ========== */
.footer-cta {
  background: var(--brand-blue);
  padding: 60px 0;
  text-align: center;
}

.footer-cta .cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-cta .cta-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.footer-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Mini Form */
.mini-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto 12px;
}

.mini-form input,
.mini-form select {
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: var(--text-white);
  font-size: 15px;
  flex: 1;
  min-width: 160px;
}
.mini-form input::placeholder { color: var(--text-gray); }
.mini-form select { color: var(--text-gray); }
.mini-form select option { color: var(--text-dark); background: white; }

.mini-form .btn-gold { flex: 0 0 auto; }

.form-privacy {
  font-size: 12px;
  color: var(--text-gray);
  text-align: center;
}

/* Footer Info */
.footer-info {
  background: var(--bg-darker);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 16px;
}

.footer-col .footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.footer-col .footer-address {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 2;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-white); text-decoration: none; }

.footer-qr {
  text-align: center;
}
.footer-qr img {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 8px;
}
.footer-qr p {
  font-size: 13px;
  color: var(--text-gray);
}

.footer-brands {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-brands img {
  height: 28px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.footer-brands img:hover { opacity: 0.8; }

.footer-shops {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.shop-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.shop-jd {
  background: #e2231a;
  color: #fff;
}
.shop-taobao {
  background: #ff6a00;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ========== Mobile Fixed CTA Bar ========== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--brand-blue);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-cta-bar .divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.3);
  align-self: center;
}

/* ========== Scroll Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
.trust-item.fade-up:nth-child(1){transition-delay:0s}
.trust-item.fade-up:nth-child(2){transition-delay:.15s}
.trust-item.fade-up:nth-child(3){transition-delay:.3s}
.trust-item.fade-up:nth-child(4){transition-delay:.45s}
.step-card.fade-up:nth-child(1){transition-delay:0s}
.step-card.fade-up:nth-child(2){transition-delay:.15s}
.step-card.fade-up:nth-child(3){transition-delay:.3s}
.product-card.fade-up:nth-child(1){transition-delay:0s}
.product-card.fade-up:nth-child(2){transition-delay:.12s}
.product-card.fade-up:nth-child(3){transition-delay:.24s}
.product-card.fade-up:nth-child(4){transition-delay:.36s}
  opacity: 1;
.trust-item.fade-up:nth-child(1){transition-delay:0s}
.trust-item.fade-up:nth-child(2){transition-delay:.15s}
.trust-item.fade-up:nth-child(3){transition-delay:.3s}
.trust-item.fade-up:nth-child(4){transition-delay:.45s}
.step-card.fade-up:nth-child(1){transition-delay:0s}
.step-card.fade-up:nth-child(2){transition-delay:.15s}
.step-card.fade-up:nth-child(3){transition-delay:.3s}
.product-card.fade-up:nth-child(1){transition-delay:0s}
.product-card.fade-up:nth-child(2){transition-delay:.12s}
.product-card.fade-up:nth-child(3){transition-delay:.24s}
.product-card.fade-up:nth-child(4){transition-delay:.36s}
  transform: translateY(0);
.trust-item.fade-up:nth-child(1){transition-delay:0s}
.trust-item.fade-up:nth-child(2){transition-delay:.15s}
.trust-item.fade-up:nth-child(3){transition-delay:.3s}
.trust-item.fade-up:nth-child(4){transition-delay:.45s}
.step-card.fade-up:nth-child(1){transition-delay:0s}
.step-card.fade-up:nth-child(2){transition-delay:.15s}
.step-card.fade-up:nth-child(3){transition-delay:.3s}
.product-card.fade-up:nth-child(1){transition-delay:0s}
.product-card.fade-up:nth-child(2){transition-delay:.12s}
.product-card.fade-up:nth-child(3){transition-delay:.24s}
.product-card.fade-up:nth-child(4){transition-delay:.36s}
}
.trust-item.fade-up:nth-child(1){transition-delay:0s}
.trust-item.fade-up:nth-child(2){transition-delay:.15s}
.trust-item.fade-up:nth-child(3){transition-delay:.3s}
.trust-item.fade-up:nth-child(4){transition-delay:.45s}
.step-card.fade-up:nth-child(1){transition-delay:0s}
.step-card.fade-up:nth-child(2){transition-delay:.15s}
.step-card.fade-up:nth-child(3){transition-delay:.3s}
.product-card.fade-up:nth-child(1){transition-delay:0s}
.product-card.fade-up:nth-child(2){transition-delay:.12s}
.product-card.fade-up:nth-child(3){transition-delay:.24s}
.product-card.fade-up:nth-child(4){transition-delay:.36s}

/* ========== Responsive ========== */
@media (max-width: 1199px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --section-pad: 56px; }

  .hero-content { text-align: center; margin-left: auto; margin-right: auto; padding: 0 20px; }
  .hero-title { font-size: 26px; line-height: 1.3; }
  .hero-subtitle { font-size: 15px; }
  .hero-pretitle { font-size: 12px; }
  .hero-video { display: none; }
  .hero-poster { display: block; position: absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; z-index:0; }

  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }

  .trust-numbers { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item .number { font-size: 48px; }
  #globe-canvas { opacity: 0.4; }

  .steps-grid { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: 1fr; }
  .product-card { text-align: center; }

  .cases-grid { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; align-items: center; justify-content: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }

  .btn { width: 100%; }

  .mini-form { flex-direction: column; }
  .mini-form input, .mini-form select, .mini-form .btn-gold { width: 100%; min-width: auto; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col .footer-logo { margin: 0 auto 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 56px; }

  /* Disable hover effects on touch */
  .step-card:hover, .product-card:hover, .case-card:hover { transform: none; }
}

/* ========== Form Validation ========== */
.field-group { flex: 1; min-width: 160px; position: relative; }
.field-error { color: var(--error); font-size: 12px; margin-top: 4px; position: absolute; }
.form-error { color: var(--error); font-size: 14px; margin-top: 8px; text-align: center; }
.form-success { color: var(--success); font-size: 14px; margin-top: 8px; text-align: center; }

/* #9 FIX: iOS auto-zoom prevention */
.mini-form input,
.mini-form select {
  font-size: 16px;
}

/* ========== Accessibility ========== */
.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gold);
  color: var(--bg-dark);
  padding: 12px 24px;
  z-index: 10000;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  text-decoration: none;
}

/* ========== Navigation (merged from header.php) ========== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 999;
  padding: 16px 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 40px; width: auto; }

.nav-menu { display: flex; gap: 32px; }

.nav-link {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover, .nav-link.active { color: #FFFFFF; text-decoration: none; }

.nav-right { display: flex; align-items: center; gap: 20px; }

.nav-phone {
  font-size: 18px;
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.nav-cta { padding: 10px 24px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: transform 0.3s;
}

/* #10 FIX: WP admin bar offset */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ========== Mobile nav ========== */
@media (max-width: 767px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 64px; left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 16px;
  }
  .nav-right { display: none; }
  .nav-toggle { display: flex; }

  body.admin-bar .nav-menu { top: 110px; }
}

/* #16 FIX: iPhone safe area for mobile CTA bar */
@media (max-width: 767px) {
  .mobile-cta-bar {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(56px + env(safe-area-inset-bottom));
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}

/* ========== Compare Page ========== */

/* -- Hero -- */
.cmp-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.cmp-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-white) 60%, var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -- Tier Cards -- */
.cmp-tiers {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tier-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 20px;
  text-decoration: none;
  color: var(--text-white);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-gold);
  box-shadow: 0 8px 32px rgba(212,165,41,0.15);
  text-decoration: none;
  color: var(--text-white);
}

.tier-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.tier-card-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tier-card-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

.tier-card-models {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.tier-card-fit {
  font-size: 13px;
  color: var(--brand-gold);
  background: rgba(212,165,41,0.1);
  padding: 4px 14px;
  border-radius: 20px;
}

/* -- Comparison Table Section -- */
.cmp-table-section {
  padding: var(--section-pad) 0;
  background: var(--bg-darker);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.cmp-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 14px;
}

.cmp-table thead {
  background: var(--brand-blue);
}

.cmp-table th {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text-white);
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

.cmp-table td {
  padding: 14px 16px;
  color: var(--text-gray);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}

.cmp-table tbody tr {
  transition: background 0.2s;
}

.cmp-table tbody tr:hover {
  background: rgba(255,255,255,0.04);
}

.cmp-table td strong {
  color: var(--text-white);
  font-weight: 600;
}

.cmp-table td em {
  font-style: normal;
  color: var(--brand-gold);
  font-size: 13px;
}

.table-note {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 16px;
  text-align: center;
}

/* -- Expert Cards -- */
.cmp-expert {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.expert-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 24px;
  transition: border-color 0.3s;
}

.expert-card:hover {
  border-color: rgba(212,165,41,0.3);
}

.expert-persona {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.expert-pick {
  font-size: 15px;
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.expert-reason {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* -- FAQ (Compare) -- */
.cmp-faq {
  padding: var(--section-pad) 0;
  background: var(--bg-darker);
}

.cmp-faq .faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.cmp-faq .faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.cmp-faq .faq-item:hover {
  border-color: rgba(255,255,255,0.15);
}

.cmp-faq .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.cmp-faq .faq-icon {
  font-size: 20px;
  color: var(--brand-gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.cmp-faq .faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.cmp-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.cmp-faq .faq-item.active .faq-answer {
  max-height: 500px;
}

.cmp-faq .faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* -- Bottom CTA (Compare) -- */
.cmp-bottom-cta {
  padding: 80px 0;
  background: var(--brand-blue);
  text-align: center;
}

.cmp-bottom-cta .cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cmp-bottom-cta .cta-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.cmp-bottom-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -- Compare Responsive -- */
@media (max-width: 1199px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .cmp-hero { padding: 110px 0 40px; }
  .cmp-hero-title { font-size: 28px; }

  .tier-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .tier-card { padding: 24px 16px; }

  .cmp-table { min-width: 700px; font-size: 13px; }
  .cmp-table th, .cmp-table td { padding: 10px 12px; }

  .expert-grid { grid-template-columns: 1fr; }

  .cmp-bottom-cta .cta-title { font-size: 24px; }
  .cmp-bottom-cta .cta-buttons { flex-direction: column; align-items: center; }
  .cmp-bottom-cta .cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* ========== FAQ Page ========== */

/* -- Hero -- */
.faq-page-hero {
  padding: 140px 0 50px;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.faq-page-hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* -- Category Tabs -- */
.faq-page-body {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
}

.faq-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.faq-tab {
  padding: 10px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.faq-tab:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-white);
}

.faq-tab.active {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--bg-dark);
  font-weight: 600;
}

/* -- FAQ List -- */
.faq-page-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-page-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-page-item:hover {
  border-color: rgba(255,255,255,0.18);
}

.faq-page-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  gap: 16px;
}

.faq-page-q-text {
  flex: 1;
}

.faq-page-icon {
  font-size: 22px;
  color: var(--brand-gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.faq-page-item.active .faq-page-icon {
  transform: rotate(45deg);
}

.faq-page-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-page-item.active .faq-page-answer {
  max-height: 800px;
}

.faq-page-answer-inner {
  padding: 0 24px 24px;
}

.faq-page-answer-inner p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 16px;
}

.faq-page-cta-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-gold);
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid rgba(212,165,41,0.3);
  border-radius: 24px;
  transition: all 0.25s;
}

.faq-page-cta-link:hover {
  background: rgba(212,165,41,0.1);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  text-decoration: none;
}

/* -- Bottom CTA (FAQ) -- */
.faq-page-bottom-cta {
  padding: 80px 0;
  background: var(--brand-blue);
  text-align: center;
}

.faq-page-bottom-cta .cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-page-bottom-cta .cta-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.faq-page-bottom-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -- FAQ Responsive -- */
@media (max-width: 767px) {
  .faq-page-hero { padding: 110px 0 36px; }
  .faq-page-hero-title { font-size: 32px; }

  .faq-tabs { gap: 6px; }
  .faq-tab { padding: 8px 14px; font-size: 13px; }

  .faq-page-question { padding: 16px 18px; font-size: 15px; }
  .faq-page-answer-inner { padding: 0 18px 20px; }
  .faq-page-answer-inner p { font-size: 14px; }

  .faq-page-bottom-cta .cta-title { font-size: 24px; }
  .faq-page-bottom-cta .cta-buttons { flex-direction: column; align-items: center; }
  .faq-page-bottom-cta .cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* ========== Contact Page ========== */
.contact-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--bg-dark);
}
.contact-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 16px 0 20px;
  color: var(--text-white);
}

/* Contact Cards */
.contact-cards-section {
  padding: 80px 0;
  background: var(--bg-darker);
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color .3s, transform .3s;
}
.contact-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
}
.contact-card-icon {
  color: var(--brand-gold);
  margin-bottom: 16px;
}
.contact-card-title {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact-card-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}
.contact-card-link {
  display: block;
  text-decoration: none;
  color: var(--brand-gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color .3s;
}
.contact-card-link:hover { color: var(--brand-gold-hover); }
.contact-card-sub {
  font-size: 0.875rem;
  color: var(--text-gray);
}
.contact-card-qr {
  margin: 12px auto 8px;
  display: block;
  border-radius: 8px;
}

/* Smart Form */
.contact-form-section {
  padding: 80px 0;
  background: var(--bg-dark);
}
.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px 40px;
}
.contact-form-header {
  text-align: center;
  margin-bottom: 16px;
}
.contact-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}
.contact-form-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.form-row { margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group label .required { color: var(--brand-gold); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23B0B0B0'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group select option {
  background: var(--bg-dark);
  color: var(--text-white);
}
.form-group-full { width: 100%; }

.form-submit {
  text-align: center;
  margin-top: 32px;
}
.btn-submit {
  width: 100%;
  max-width: 400px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-privacy {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 12px;
  opacity: 0.7;
}
.form-result {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}
.form-result.success {
  background: rgba(76,175,80,0.15);
  color: #81c784;
  border: 1px solid rgba(76,175,80,0.3);
}
.form-result.error {
  background: rgba(244,67,54,0.15);
  color: #ef5350;
  border: 1px solid rgba(244,67,54,0.3);
}

/* Service Promise */
.contact-promise-section {
  padding: 60px 0;
  background: var(--bg-darker);
}
.contact-promise-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}
.contact-promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-promise-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}
.promise-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.promise-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-gold);
  margin-bottom: 4px;
}
.promise-text span {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Business Hours & Location */
.contact-info-section {
  padding: 80px 0;
  background: var(--bg-dark);
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
}
.contact-info-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 24px;
}
.hours-list { margin-bottom: 16px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hours-label { color: var(--text-gray); font-size: 0.9rem; }
.hours-value { color: var(--text-white); font-weight: 600; font-size: 0.9rem; }
.hours-note {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-top: 12px;
  line-height: 1.5;
}

.map-address {
  font-size: 1.05rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}
.transport-list { margin-bottom: 16px; }
.transport-row {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.transport-mode {
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 48px;
}
.transport-detail {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}
.map-tip {
  font-size: 0.85rem;
  color: var(--brand-gold);
  margin-top: 12px;
  padding: 12px;
  background: rgba(212,165,41,0.08);
  border-radius: 8px;
  line-height: 1.5;
}

/* Contact Bottom CTA */
.contact-bottom-cta {
  padding: 80px 0;
  background: var(--brand-blue);
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-cards-grid { grid-template-columns: 1fr 1fr; }
  .contact-promise-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 32px 20px; }
  .contact-bottom-cta .cta-buttons { flex-direction: column; align-items: center; }
  .contact-bottom-cta .cta-buttons .btn { width: 100%; max-width: 320px; }
}
@media (max-width: 480px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .contact-promise-grid { grid-template-columns: 1fr; }
}

/* ========== Cases Page ========== */
.cases-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--bg-dark);
}
.cases-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 16px 0 20px;
  color: var(--text-white);
}

/* Stats Bar */
.cases-stats {
  padding: 40px 0;
  background: var(--brand-blue);
}
.cases-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.cases-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1.2;
}
.cases-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  display: block;
}

/* Filter Tabs */
.cases-body { padding: 60px 0 80px; background: var(--bg-darker); }
.cases-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cases-tab {
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: transparent;
  color: var(--text-gray);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .3s;
}
.cases-tab:hover { border-color: var(--brand-gold); color: var(--brand-gold); }
.cases-tab.active {
  background: var(--brand-gold);
  color: var(--bg-dark);
  border-color: var(--brand-gold);
  font-weight: 600;
}

/* Case Card (cases page only — scoped to .cases-list) */
.cases-list { display: flex; flex-direction: column; gap: 48px; }
.cases-list .case-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 420px 1fr;
  transition: border-color .3s;
}
.cases-list .case-card:hover { border-color: rgba(212,165,41,0.3); }

.case-card-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background: var(--brand-gold);
  color: var(--bg-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
}

.case-card-content { padding: 32px; }
.case-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Case Meta */
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.case-meta-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-bottom: 4px;
}
.case-meta-value {
  font-size: 0.9rem;
  color: var(--text-white);
  font-weight: 600;
}

/* Equipment */
.case-equipment {
  margin-bottom: 16px;
}
.case-equipment h4,
.case-concern h4,
.case-solution h4 {
  font-size: 0.85rem;
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.case-equipment p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Concern & Solution */
.case-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.case-concern p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}
.case-solution ul {
  list-style: none;
  padding: 0;
}
.case-solution li {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.case-solution li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-gold);
  font-weight: 700;
}

/* Result */
.case-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.2);
  border-radius: 10px;
  margin-bottom: 16px;
}
.case-result-badge {
  background: rgba(76,175,80,0.3);
  color: #81c784;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.case-result p {
  font-size: 0.95rem;
  color: #81c784;
  font-weight: 600;
}

/* Quote */
.case-quote {
  padding: 16px 20px;
  border-left: 3px solid var(--brand-gold);
  background: rgba(212,165,41,0.05);
  border-radius: 0 10px 10px 0;
}
.case-quote p {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}
.case-quote cite {
  font-size: 0.8rem;
  color: var(--brand-gold);
  font-style: normal;
}

/* Cases Bottom CTA */
.cases-bottom-cta {
  padding: 80px 0;
  background: var(--brand-blue);
}

/* Cases Responsive */
@media (max-width: 900px) {
  .cases-list .case-card { grid-template-columns: 1fr; }
  .cases-list .case-card-image { min-height: 240px; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-story { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cases-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-bottom-cta .cta-buttons { flex-direction: column; align-items: center; }
  .cases-bottom-cta .cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* ========== About Page ========== */
.about-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--bg-dark);
}
.about-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 16px 0 20px;
  color: var(--text-white);
}

/* Story */
.about-story { padding: 80px 0; background: var(--bg-darker); }
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-story-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 24px;
}
.about-story-content p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-story-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* Numbers */
.about-numbers { padding: 60px 0; background: var(--brand-blue); }
.about-numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
}
.about-num-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-gold);
}
.about-num-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Section Title */
.about-section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 48px;
}

/* Why Us */
.about-why { padding: 80px 0; background: var(--bg-dark); }
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  transition: border-color .3s, transform .3s;
}
.about-why-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
}
.why-card-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(212,165,41,0.2);
  margin-bottom: 12px;
}
.about-why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}
.about-why-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Certifications */
.about-cert { padding: 60px 0; background: var(--bg-darker); }
.about-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.about-cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.cert-icon {
  color: var(--brand-gold);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cert-text {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 500;
}

/* Timeline */
.about-timeline { padding: 80px 0; background: var(--bg-dark); }
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(212,165,41,0.3);
}
.timeline-item {
  position: relative;
  margin-bottom: 16px;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-gold);
  border: 3px solid var(--bg-dark);
}
.timeline-year {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-gold);
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* About Bottom CTA */
.about-bottom-cta { padding: 80px 0; background: var(--brand-blue); }

/* About Responsive */
@media (max-width: 768px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .about-why-grid { grid-template-columns: 1fr; }
  .about-cert-grid { grid-template-columns: 1fr; }
  .about-bottom-cta .cta-buttons { flex-direction: column; align-items: center; }
  .about-bottom-cta .cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* ========== Guide / Blog Listing ========== */
.guide-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--bg-dark);
}
.guide-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-white);
  margin: 16px 0 20px;
}
.guide-hero-sub {
  font-size: 1.1rem;
  color: var(--text-gray);
}

/* Filter */
.guide-filter {
  padding: 32px 0;
  background: var(--bg-darker);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.guide-tabs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.guide-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: all .3s;
}
.guide-tab:hover {
  color: var(--text-white);
  border-color: rgba(255,255,255,0.2);
}
.guide-tab.active {
  background: var(--brand-gold);
  color: var(--bg-dark);
  border-color: var(--brand-gold);
  font-weight: 600;
}

/* Posts Grid */
.guide-posts { padding: 60px 0 80px; background: var(--bg-dark); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.guide-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.guide-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
}
.guide-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.guide-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 3rem;
  opacity: 0.3;
}
.guide-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  background: var(--brand-gold);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
}
.guide-card-body { padding: 24px; }
.guide-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.guide-card-meta .read-more {
  color: var(--brand-gold);
  font-weight: 600;
}

/* Pagination */
.guide-pagination {
  text-align: center;
  margin-top: 48px;
}
.guide-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-gray);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: all .3s;
}
.guide-pagination .page-numbers:hover {
  color: var(--text-white);
  border-color: var(--brand-gold);
}
.guide-pagination .page-numbers.current {
  background: var(--brand-gold);
  color: var(--bg-dark);
  border-color: var(--brand-gold);
  font-weight: 600;
}

/* Empty State */
.guide-empty {
  text-align: center;
  padding: 80px 0;
}
.guide-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.guide-empty h2 {
  font-size: 1.5rem;
  color: var(--text-white);
  margin-bottom: 12px;
}
.guide-empty p {
  color: var(--text-gray);
  margin-bottom: 32px;
}

/* Guide CTA */
.guide-bottom-cta { padding: 80px 0; background: var(--brand-blue); }

/* Guide Responsive */
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-bottom-cta .cta-buttons { flex-direction: column; align-items: center; }
  .guide-bottom-cta .cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* ========== Single Post / Article ========== */
.single-hero {
  padding: 120px 0 48px;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--brand-gold); text-decoration: none; }
.breadcrumb-sep { margin: 0 8px; opacity: 0.4; }
.breadcrumb-current { color: var(--text-white); }
.single-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.4;
  margin-bottom: 20px;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-gray);
  flex-wrap: wrap;
}
.single-cat {
  padding: 4px 14px;
  background: var(--brand-gold);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
}
.single-content {
  padding: 60px 0 40px;
  background: var(--bg-dark);
}
.single-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,255,255,0.88);
}
.single-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212,165,41,0.3);
}
.single-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 36px 0 16px;
}
.single-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-gold);
  margin: 28px 0 12px;
}
.single-body p { margin-bottom: 18px; }
.single-body ul, .single-body ol {
  margin: 16px 0 24px 24px;
  color: rgba(255,255,255,0.85);
}
.single-body li { margin-bottom: 8px; }
.single-body blockquote {
  border-left: 4px solid var(--brand-gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(212,165,41,0.06);
  border-radius: 0 12px 12px 0;
  color: rgba(255,255,255,0.9);
  font-style: italic;
}
.single-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.single-body table th {
  background: var(--brand-blue);
  color: var(--text-white);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
.single-body table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}
.single-body table tr:hover td {
  background: rgba(255,255,255,0.03);
}
.single-body img {
  border-radius: 12px;
  margin: 24px auto;
}
.single-body a {
  color: var(--brand-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-body a:hover { color: var(--brand-gold-hover); }
.single-body strong { color: var(--text-white); font-weight: 700; }
.single-tags {
  max-width: 820px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.single-tag {
  padding: 6px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-gray);
  text-decoration: none;
  transition: all .3s;
}
.single-tag:hover {
  color: var(--brand-gold);
  border-color: var(--brand-gold);
  text-decoration: none;
}
.single-related {
  padding: 60px 0 80px;
  background: var(--bg-darker);
}
.related-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 600px) {
  .single-hero { padding: 100px 0 32px; }
  .single-title { font-size: 1.4rem; }
  .single-body { font-size: 0.95rem; }
  .single-body h2 { font-size: 1.25rem; }
  .single-body table { font-size: 0.8rem; display: block; overflow-x: auto; }
  .single-body table th,
  .single-body table td { padding: 8px 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
