/* Version_mixed-v4 — homepage UX rebuild. Scoped to .page-home-v4 only. */

.page-home-v4 {
  --v4-red: #FF1A1A;
  --v4-gold: var(--gold, #c9a227);
  --v4-panel: #000;
  --v4-line: rgba(255, 255, 255, 0.1);
}

/* ---------- Hero: one fixed image, single message ---------- */
.page-home-v4 .hero.hero--static { min-height: min(90vh, 880px); }
.page-home-v4 .hero-dots,
.page-home-v4 .disc-marquee,
.page-home-v4 .hero-veil { display: none !important; }
.page-home-v4 .hero--static .hero-img-static {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: contrast(1.08);
}
.page-home-v4 .hero--static .hero-content {
  max-width: 820px;
  min-height: 0;
}
.page-home-v4 .hero-box {
  position: relative;
  width: 100%;
  max-width: 780px;
}
.page-home-v4 .hero-box h1 {
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.12;
  max-width: 16em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.page-home-v4 .hero-sub {
  margin: 0 0 26px;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  background: var(--v4-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
  box-shadow: 0 12px 30px rgba(255, 26, 26, 0.28);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.hero-btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--v4-gold);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.hero-btn-ghost:hover { color: var(--v4-gold); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--v4-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Section head helpers ---------- */
.page-home-v4 .section-sub {
  margin: 12px auto 0;
  max-width: 66ch;
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}
.page-home-v4 .section-head-center .section-sub { text-align: center; }

/* ---------- Steps: how to start ---------- */
.v4-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: v4step;
}
.v4-step {
  position: relative;
  background: var(--v4-panel);
  border: 1px solid var(--v4-line);
  border-top: 3px solid var(--v4-red);
  padding: 26px 22px 22px;
}
.v4-step::before {
  counter-increment: v4step;
  content: counter(v4step);
  display: block;
  margin-bottom: 12px;
  color: var(--v4-red);
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}
.v4-step h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.25;
}
.v4-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 860px) { .v4-steps { grid-template-columns: 1fr; } }

/* ---------- About: benefit-first text ---------- */
.v4-about .about-lead {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
}
.v4-about h3 {
  margin: 22px 0 10px;
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}
.v4-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.v4-points li {
  position: relative;
  padding-left: 20px;
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 600;
  line-height: 1.45;
}
.v4-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--v4-red);
}

/* ---------- 5 benefits ---------- */
.page-home-v4 .v4-benefits-section {
  position: relative;
  isolation: isolate;
  background-color: #0a0a0a;
  background-image: url('/assets/img/hero-patriot.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.page-home-v4 .v4-benefits-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.46) 45%, rgba(0, 0, 0, 0.62) 100%),
    rgba(0, 0, 0, 0.22);
  pointer-events: none;
}
.page-home-v4 .v4-benefits-section > .container {
  position: relative;
  z-index: 1;
}
.page-home-v4 .v4-benefits-section .section-head h2 {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
@media (hover: none), (pointer: coarse) {
  .page-home-v4 .v4-benefits-section { background-attachment: scroll; }
}
@supports (-webkit-touch-callout: none) {
  .page-home-v4 .v4-benefits-section { background-attachment: scroll !important; }
}

.v4-benefits-wrap {
  width: 100%;
  max-width: 100%;
}
.v4-benefits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.v4-benefit {
  background: var(--v4-panel);
  border: 1px solid var(--v4-line);
  border-left: 4px solid var(--v4-red);
  padding: 20px 16px 22px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.v4-benefit:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 26, 26, 0.5);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}
.v4-benefit-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: var(--v4-red);
}
.v4-benefit-icon svg { width: 100%; height: 100%; display: block; }
.v4-benefit-icon--num {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--v4-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}
.v4-benefit-icon--num span { display: block; transform: translateY(1px); }
.v4-benefit h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-heading), "Kanit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: normal;
}
.v4-benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading), "Kanit", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}
.v4-benefit--banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 0 0 14px;
  padding: 18px 20px;
  text-align: center;
}
.v4-benefit--banner .v4-benefit-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}
.v4-benefit--banner .v4-benefits-note-text {
  margin: 0;
  max-width: 52rem;
  color: #fff;
  font-family: var(--font-heading), "Kanit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
/* Benefits: 5 → 3 → 2 → 1 */
@media (max-width: 1200px) { .v4-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .v4-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .v4-benefits { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .v4-benefit--banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .v4-benefit--banner .v4-benefits-note-text {
    font-size: 13px;
  }
}

/* ---------- Services / audiences ---------- */
.v4-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.v4-service {
  display: flex;
  flex-direction: column;
  background: var(--v4-panel);
  border: 1px solid var(--v4-line);
  padding: 24px 22px 22px;
}
.v4-service-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 10px;
  background: rgba(255, 26, 26, 0.14);
  border: 1px solid rgba(255, 26, 26, 0.4);
  color: var(--v4-red);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v4-service h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.22;
}
.v4-service p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.v4-service-price {
  margin: 0 0 16px !important;
  padding-top: 14px;
  border-top: 1px solid var(--v4-line);
  color: var(--v4-gold);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  flex: 0 0 auto !important;
}
.v4-service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--v4-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
}
.v4-service-btn:hover { background: var(--v4-red); }
@media (max-width: 900px) { .v4-services { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.v4-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.v4-review {
  margin: 0;
  background: var(--v4-panel);
  border: 1px solid var(--v4-line);
  border-top: 3px solid var(--v4-gold);
  padding: 24px 22px;
}
.v4-review-stars {
  display: block;
  margin-bottom: 12px;
  color: var(--v4-gold);
  font-size: 15px;
  letter-spacing: 3px;
}
.v4-review blockquote {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.6;
}
.v4-review figcaption {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 900px) { .v4-reviews { grid-template-columns: 1fr; } }

/* ---------- Text block panel: extend left, never past viewport ---------- */
.page-home-v4 .text-block {
  padding: 96px 0;
  overflow: hidden;
}
.page-home-v4 .text-panel {
  width: 78%; /* was 65% (+20%) */
  max-width: none;
  /* Prefer -15% (v2 look), but never more than the space to the viewport edge
     so the left side is not clipped by .text-block { overflow: hidden }. */
  margin: 0 0 0 max(-15%, calc((100% - 100vw) / 2));
  padding: 48px;
  transform: none;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .page-home-v4 .text-panel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 36px 28px;
    transform: none;
  }
}
@media (max-width: 600px) {
  .page-home-v4 .text-panel { padding: 28px 24px; }
  .page-home-v4 .text-block { padding: 72px 0; }
}
.page-home-v4 .text-panel h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.2;
}
.page-home-v4 .text-panel h3 {
  margin: 22px 0 10px;
  color: var(--v4-red);
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}
.page-home-v4 .text-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.page-home-v4 .text-panel ul li {
  position: relative;
  padding-left: 18px;
  color: var(--text-bright, #fff);
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.6;
}
.page-home-v4 .text-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--v4-red);
}

/* ---------- News: signup hint ---------- */
.v4-news-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 26px;
  padding: 16px 20px;
  background: var(--v4-panel);
  border: 1px solid var(--v4-line);
  border-left: 4px solid var(--v4-red);
}
.v4-news-cta p {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.v4-news-cta a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--v4-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.v4-news-cta a:hover { filter: brightness(1.1); }

/* ---------- Lead form ---------- */
.v4-lead-panel {
  max-width: 760px;
  margin: 0 auto;
  background: var(--v4-panel);
  border: 1px solid var(--v4-line);
  border-top: 3px solid var(--v4-red);
  padding: clamp(24px, 4vw, 40px);
}
.v4-lead-intro {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
}
.v4-lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.v4-lead-form label {
  display: grid;
  gap: 7px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}
.v4-lead-form input {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
}
.v4-lead-form input:focus {
  outline: none;
  border-color: var(--v4-red);
  background: #171717;
}
.v4-lead-form input.is-invalid { border-color: var(--v4-red); }
.v4-lead-form .v4-lead-submit {
  grid-column: 1 / -1;
  appearance: none;
  border: 0;
  padding: 16px 20px;
  background: var(--v4-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.v4-lead-form .v4-lead-submit:hover { filter: brightness(1.1); }
.v4-lead-hp { position: absolute; left: -9999px; opacity: 0; }
.v4-lead-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1.5;
}
.v4-lead-error {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--v4-red);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}
.v4-lead-error[hidden] { display: none; }
.v4-lead-done {
  display: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.5;
}
.v4-lead.is-sent .v4-lead-form,
.v4-lead.is-sent .v4-lead-intro { display: none; }
.v4-lead.is-sent .v4-lead-done { display: block; }
@media (max-width: 620px) { .v4-lead-form { grid-template-columns: 1fr; } }

.v4-lead-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  margin-top: 24px;
}
.v4-lead-contacts a {
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.v4-lead-contacts a:hover {
  color: var(--v4-red);
  border-bottom-color: var(--v4-red);
}

/* ---------- Homepage responsive polish ---------- */
@media (max-width: 900px) {
  .page-home-v4 .section.v4-steps-section,
  .page-home-v4 .features.section,
  .page-home-v4 .v4-benefits-section,
  .page-home-v4 .v4-services-section,
  .page-home-v4 .v4-reviews-section,
  .page-home-v4 .v4-lead {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .page-home-v4 .text-block { padding: 56px 0; }
}
@media (max-width: 760px) {
  .page-home-v4 .hero.hero--static {
    min-height: min(78svh, 700px);
    padding: 28px 0 40px;
  }
  body.v4.page-home-v4 .hero.hero--static {
    min-height: min(78svh, 700px);
  }
  .page-home-v4 .hero-content {
    max-width: 100%;
    padding-left: 4px;
    padding-right: 4px;
  }
  .page-home-v4 .hero-box { max-width: 100%; }
  .page-home-v4 .hero-box h1 {
    max-width: none;
    font-size: clamp(22px, 6.8vw, 34px);
  }
  .page-home-v4 .hero-sub {
    max-width: none;
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-btn-primary {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
  }
  .hero-btn-ghost {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-trust { margin-top: 20px; }
  .hero-trust li { font-size: 11.5px; padding: 6px 10px; }
  .v4-news-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
  }
  .v4-news-cta a {
    justify-content: center;
    white-space: normal;
  }
  .v4-lead-panel { padding: 20px 16px; }
  .v4-lead-form .v4-lead-submit {
    font-size: 14px;
    padding: 14px 16px;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .page-home-v4 .hero.hero--static {
    min-height: auto;
    padding: 24px 0 36px;
  }
  body.v4.page-home-v4 .hero.hero--static {
    min-height: auto;
  }
  .v4-benefit,
  .v4-service,
  .v4-review,
  .v4-step { padding: 18px 16px; }
  .page-home-v4 .text-panel { padding: 22px 16px; }
}


