/**
 * Page 6374 only: modular homepage presentation.
 * Removing this file and its conditional enqueue restores the global theme styles.
 */
.page-id-6374 .site-content > .ast-container {
  max-width: none;
  padding: 0;
}

.page-id-6374 .content-area,
.page-id-6374 .site-main,
.page-id-6374 .entry-content {
  margin: 0;
  width: 100%;
}

.page-id-6374 .entry-header,
.page-id-6374 .entry-footer {
  display: none;
}

.page-id-6374 .entry-content > * {
  margin-block: 0;
}

.page-id-6374 .entry-content :is(h1, h2, h3, h4) {
  font-family: var(--vc-serif);
}

.vc-home-section {
  padding: var(--vc-space-xl) clamp(1.25rem, 4vw, 2.5rem);
}

.vc-home-inner {
  margin-inline: auto;
  max-width: var(--vc-wide);
  width: 100%;
}

.vc-home-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 138, 60, 0.2), transparent 25rem),
    var(--vc-navy);
  color: var(--vc-white);
  min-height: min(760px, 82vh);
  overflow: hidden;
  padding: var(--vc-space-xl) clamp(1.25rem, 4vw, 2.5rem);
}

.vc-home-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  margin-inline: auto;
  max-width: var(--vc-wide);
}

.vc-home-hero :is(h1, p) { color: inherit; }
.vc-home-hero h1 { margin-block: 0.18em 0.28em; max-width: 10ch; }
.vc-home-hero .vc-lead { color: rgba(255, 255, 255, 0.82); max-width: 48ch; }
.vc-home-hero .wp-block-image {
  align-items: flex-end;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(232, 215, 181, 0.35) 50%, transparent 50.5%),
    linear-gradient(45deg, rgba(183, 138, 60, 0.2), transparent 55%),
    var(--vc-navy-soft);
  border: 1px solid rgba(232, 215, 181, 0.3);
  display: flex;
  margin: 0;
  max-height: 34rem;
  min-height: 28rem;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.vc-home-hero .wp-block-image::after {
  color: var(--vc-gold-light);
  content: "VAT";
  font-family: var(--vc-serif);
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.75;
  opacity: 0.8;
  padding: var(--vc-space-md);
}
.vc-home-hero .wp-block-image img {
  display: none;
}

.vc-home-trust {
  background: var(--vc-white);
  border-bottom: 1px solid var(--vc-border);
  box-shadow: 0 12px 36px rgba(11, 31, 51, 0.05);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.vc-home-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: auto;
  max-width: var(--vc-wide);
}

.vc-home-trust__item {
  border-right: 1px solid var(--vc-border);
  margin: 0;
  padding: 1.4rem var(--vc-space-sm);
  text-align: center;
}

.vc-home-trust__item:last-child { border-right: 0; }
.vc-home-trust__item strong { color: var(--vc-navy); font-family: var(--vc-serif); font-size: 1.1rem; }

.vc-home-heading { margin-bottom: var(--vc-space-lg); max-width: 48rem; }
.vc-home-heading h2 { margin-block: 0.15em 0; }

.vc-home-services { background: var(--vc-mist); }
.vc-home-services__grid { display: grid; gap: var(--vc-space-sm); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-home-service {
  background: var(--vc-white);
  border: 1px solid var(--vc-border);
  border-top: 3px solid var(--vc-gold);
  box-shadow: 0 18px 45px rgba(11, 31, 51, 0.07);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--vc-space-md);
}
.vc-home-service .wp-block-image {
  align-items: flex-end;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--vc-navy), var(--vc-navy-soft));
  display: flex;
  margin: calc(-1 * var(--vc-space-md)) calc(-1 * var(--vc-space-md)) var(--vc-space-sm);
  overflow: hidden;
  padding: var(--vc-space-sm);
}
.vc-home-service .wp-block-image::after { color: var(--vc-gold-light); font-family: var(--vc-serif); font-size: 3.5rem; line-height: 1; opacity: 0.85; }
.vc-home-service:nth-child(1) .wp-block-image::after { content: "01"; }
.vc-home-service:nth-child(2) .wp-block-image::after { content: "02"; }
.vc-home-service:nth-child(3) .wp-block-image::after { content: "03"; }
.vc-home-service .wp-block-image img { display: none; }
.vc-home-service h3 { margin-block: 0.3em 0.6em; }
.vc-home-service .vc-actions { margin-top: auto; padding-top: var(--vc-space-sm); }
.vc-home-service .wp-block-button:not(.vc-button) .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--vc-navy);
  color: var(--vc-navy);
}
.vc-home-service__number { color: var(--vc-gold-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; }

.vc-home-why { background: var(--vc-navy); color: var(--vc-white); }
.vc-home-why :is(h2, h3, h4, p) { color: inherit; }
.vc-home-why__grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-top: var(--vc-space-lg); }
.vc-home-proof { background: rgba(255, 255, 255, 0.06); border-top: 2px solid var(--vc-gold); padding: var(--vc-space-md); }
.vc-home-proof h3 { margin-top: 0; }
.vc-home-proof p { color: rgba(255, 255, 255, 0.78); }

.vc-home-about__grid { align-items: center; display: grid; gap: var(--vc-space-lg); grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.vc-home-about__mark {
  align-items: end;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--vc-navy), var(--vc-navy-soft));
  color: var(--vc-gold-light);
  display: flex;
  font-family: var(--vc-serif);
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  justify-content: flex-start;
  padding: var(--vc-space-md);
}

.vc-home-testimonials { background: var(--vc-mist); }
.vc-home-testimonials__grid { display: grid; gap: var(--vc-space-sm); grid-template-columns: repeat(3, 1fr); }
.vc-home-quote { background: var(--vc-white); border-left: 3px solid var(--vc-gold); margin: 0; padding: var(--vc-space-md); }
.vc-home-quote blockquote { border: 0; margin: 0; padding: 0; }
.vc-home-quote cite { color: var(--vc-navy); display: block; font-style: normal; font-weight: 800; margin-top: var(--vc-space-sm); }
.vc-home-quote small { color: var(--vc-muted); display: block; font-weight: 400; }

.vc-home-insights__grid { display: grid; gap: var(--vc-space-sm); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-home-insight { border: 1px solid var(--vc-border); border-top: 3px solid var(--vc-gold); height: 100%; padding: var(--vc-space-md); }
.vc-home-insight .wp-block-post-date { color: var(--vc-muted); font-size: 0.85rem; }
.vc-home-insight .wp-block-post-title { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); }

.vc-home-contact { background: var(--vc-gold); color: var(--vc-navy); padding: var(--vc-space-lg) clamp(1.25rem, 4vw, 2.5rem); }
.vc-home-contact__inner { align-items: center; display: flex; gap: var(--vc-space-md); justify-content: space-between; margin-inline: auto; max-width: var(--vc-wide); }
.vc-home-contact :is(h2, p) { color: inherit; margin-block: 0; }
.vc-home-contact .vc-button .wp-block-button__link { background: var(--vc-navy); border-color: var(--vc-navy); color: var(--vc-white); }

@media (max-width: 900px) {
  .vc-home-hero { min-height: auto; padding-top: clamp(8rem, 22vw, 10rem); }
  .vc-home-hero__grid,
  .vc-home-about__grid { grid-template-columns: 1fr; }
  .vc-home-services__grid,
  .vc-home-why__grid,
  .vc-home-testimonials__grid,
  .vc-home-insights__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .vc-home-services__grid,
  .vc-home-why__grid,
  .vc-home-testimonials__grid,
  .vc-home-insights__grid,
  .vc-home-trust__grid { grid-template-columns: 1fr; }
  .vc-home-trust__item { border-bottom: 1px solid var(--vc-border); border-right: 0; }
  .vc-home-contact__inner { align-items: flex-start; flex-direction: column; }
}
