/* Bluestone colour theme over Digital Genesis layout */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&display=swap");

:root {
  --bs-ink: #0b1f33;
  --bs-navy: #0b1f33;
  --bs-deep: #061525;
  --bs-panel: #102a44;
  --bs-slate: #4a6fa5;
  --bs-stone: #3d5a80;
  --bs-sky: #7ea0c4;
  --bs-ice: #c5d6e8;
  --bs-cobalt: #3e7bcc;
  --bs-cobalt-bright: #5b9ae8;
  --bs-logo-font: "Sora", system-ui, sans-serif;
  --bs-paper: #f4f7fb;
  --wd-primary-color: #0b1f33 !important;
  --wd-alternative-color: #4a6fa5 !important;
}

/* Header / footer */
.whb-main-header,
.whb-row,
.whb-general-header,
.whb-header,
.whb-general-header-inner,
.whb-row.whb-general-header,
.footer-container,
.wd-footer,
footer.footer-container,
.main-footer {
  background-color: var(--bs-deep) !important;
  background: var(--bs-deep) !important;
}

/* Kill WoodMart's default header bottom gap so hero sits flush */
.whb-header {
  margin-bottom: 0 !important;
}

/* Hero — full-bleed image, brand-first, one CTA group */
@keyframes bs-hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.vc_custom_1745977539757 {
  background-image: url("../img/hero.jpg") !important;
  background-position: 62% center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative;
  min-height: clamp(580px, 88vh, 860px) !important;
  padding-top: clamp(7rem, 13vh, 9rem) !important;
  padding-bottom: clamp(4.5rem, 10vh, 7rem) !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
}

.vc_custom_1745977539757::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(6, 21, 37, 0.82) 0%,
      rgba(6, 21, 37, 0.55) 42%,
      rgba(6, 21, 37, 0.22) 72%,
      rgba(6, 21, 37, 0.08) 100%),
    linear-gradient(180deg,
      rgba(6, 21, 37, 0.28) 0%,
      transparent 32%,
      rgba(6, 21, 37, 0.4) 100%);
  pointer-events: none;
  z-index: 0;
}

.vc_custom_1745977539757::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6rem;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 51, 0.5));
  pointer-events: none;
  z-index: 0;
}

.vc_custom_1745977539757 > .wpb_column {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left !important;
}

.vc_custom_1745977539757 .vc_column-inner,
.vc_custom_1745977539757 .wpb_wrapper {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.75rem);
}

.bs-hero {
  max-width: 36rem;
  text-align: left;
  color: #fff;
}

.bs-hero-brand {
  display: block;
  margin: 0 0 1.15rem;
  font-family: var(--bs-logo-font);
  font-size: clamp(3rem, 7vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 28px rgba(6, 21, 37, 0.35);
  animation: bs-hero-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bs-hero-brand .bs-blue,
.bs-logo-name .bs-blue {
  background: linear-gradient(135deg, var(--bs-cobalt-bright) 0%, var(--bs-cobalt) 55%, #2f5fa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.bs-hero-title {
  margin: 0 0 1rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem) !important;
  font-weight: 500 !important;
  line-height: 1.28 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 1px 18px rgba(6, 21, 37, 0.3);
  animation: bs-hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.bs-hero-lead {
  margin: 0 0 2rem;
  max-width: 30rem;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(1.02rem, 1.7vw, 1.15rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  animation: bs-hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.bs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
  animation: bs-hero-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.bs-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.75rem;
  border-radius: 4px;
  background: #4a6fa5;
  color: #fff !important;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(6, 21, 37, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bs-hero-btn:hover {
  background: #3d5a80;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(6, 21, 37, 0.35);
}

.bs-hero-link {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(197, 214, 232, 0.45);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bs-hero-link:hover {
  color: #c5d6e8 !important;
  border-bottom-color: #c5d6e8;
}

@media (max-width: 767px) {
  .vc_custom_1745977539757 {
    min-height: 560px !important;
    background-position: 70% center !important;
  }
  .bs-hero {
    max-width: 100%;
  }
  .bs-hero-brand {
    font-size: clamp(2.6rem, 12vw, 3.2rem);
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-hero-brand,
  .bs-hero-title,
  .bs-hero-lead,
  .bs-hero-actions {
    animation: none;
  }
}

/* Hide old title panel styles if leftover */
.vc_custom_1750656522691 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

/* —— Alternating content bands (solid contrast) ——
   Dark = solid navy. Light = paper / white. Hero keeps its photo. */

/* Solid dark — Partner + Security & Continuity */
.vc_custom_1745892325580,
html .wd-rs-681033dcd4436,
.vc_custom_1742958994533,
html .wd-rs-67e3718a12c10 {
  background-color: var(--bs-navy) !important;
  background-image: none !important;
  padding-top: clamp(3.5rem, 7vw, 5rem) !important;
  padding-bottom: clamp(3.5rem, 7vw, 5rem) !important;
}

.vc_custom_1745892325580::before,
html .wd-rs-681033dcd4436::before,
.vc_custom_1742958994533::before,
html .wd-rs-67e3718a12c10::before {
  content: none !important;
  display: none !important;
}

.vc_custom_1745892325580 .woodmart-title-container,
.vc_custom_1745892325580 .title-after_title,
.vc_custom_1745892325580 .info-box-title,
.vc_custom_1745892325580 .info-box-inner,
.vc_custom_1745892325580 .info-box-inner p,
html .wd-rs-681033dcd4436 .woodmart-title-container,
html .wd-rs-681033dcd4436 .title-after_title,
html .wd-rs-681033dcd4436 .info-box-title,
html .wd-rs-681033dcd4436 .info-box-inner,
.vc_custom_1742958994533 .woodmart-title-container,
.vc_custom_1742958994533 .info-box-title,
.vc_custom_1742958994533 .info-box-inner,
.vc_custom_1742958994533 .info-box-inner p,
.vc_custom_1742958994533 .info-box-inner a,
html .wd-rs-67e3718a12c10 .woodmart-title-container,
html .wd-rs-67e3718a12c10 .info-box-title,
html .wd-rs-67e3718a12c10 .info-box-inner,
html .wd-rs-67e3718a12c10 .info-box-inner p,
html .wd-rs-67e3718a12c10 .info-box-inner a {
  color: #fff !important;
}

/* Light — Our Services */
.vc_custom_1736724267881,
html .wd-rs-67844f19ebe3e {
  background-color: var(--bs-paper) !important;
  background-image: none !important;
  padding-top: clamp(3.75rem, 7vw, 5.5rem) !important;
  padding-bottom: clamp(3.75rem, 7vw, 5.5rem) !important;
}

.vc_custom_1736724267881 .woodmart-title-container,
.vc_custom_1736724267881 .title-after_title,
html .wd-rs-67844f19ebe3e .woodmart-title-container,
html .wd-rs-67844f19ebe3e .title-after_title,
.vc_custom_1736724267881 .info-box-title,
html .wd-rs-67844f19ebe3e .info-box-title,
.vc_custom_1736724267881 .info-box-inner,
html .wd-rs-67844f19ebe3e .info-box-inner {
  color: var(--bs-ink) !important;
}

.vc_custom_1736724267881 .title-after_title a,
html .wd-rs-67844f19ebe3e .title-after_title a {
  color: var(--bs-slate) !important;
}

/* Light — Contact */
.vc_custom_1724648518189,
html .wd-rs-66cc0c4027f9f,
.vc_custom_1498580074265 {
  background-color: #fff !important;
  background-image: none !important;
  position: relative;
}

.vc_custom_1724648518189,
html .wd-rs-66cc0c4027f9f {
  padding-top: clamp(3.5rem, 7vw, 5rem) !important;
  padding-bottom: 1.25rem !important;
}

.vc_custom_1498580074265 {
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem) !important;
}

.vc_custom_1724648518189 .woodmart-title-container,
.vc_custom_1724648518189 .title-after_title,
html .wd-rs-66cc0c4027f9f .woodmart-title-container,
html .wd-rs-66cc0c4027f9f .title-after_title,
.vc_custom_1498580074265 .woodmart-title-container,
.vc_custom_1498580074265 .wd-text-block,
.vc_custom_1498580074265 .info-box-title,
.vc_custom_1498580074265 .info-box-inner,
.vc_custom_1498580074265 p,
.vc_custom_1498580074265 label {
  color: var(--bs-ink) !important;
}

.vc_custom_1498580074265 .info-box-inner a {
  color: var(--bs-slate) !important;
}

.vc_custom_1498580074265 .vc_column-inner.vc_custom_1496932335926 {
  border-right-color: rgba(11, 31, 51, 0.12) !important;
}

/* Accent links */
a:hover {
  color: var(--bs-slate);
}

/* Phone pill */
.whb-button-wrapper .btn.btn-color-default,
.btn.btn-color-default.btn-style-round,
.whb-button-wrapper .btn.btn-color-white {
  background-color: #fff !important;
  color: var(--bs-ink) !important;
  border-radius: 999px !important;
  border-color: transparent !important;
}

.whb-button-wrapper .btn:hover {
  background-color: var(--bs-ice) !important;
  color: var(--bs-ink) !important;
}

/* Form submit */
.frm_button_submit,
button.frm_button_submit {
  background-color: var(--bs-slate) !important;
  border-color: var(--bs-slate) !important;
  color: #fff !important;
}

.frm_button_submit:hover,
button.frm_button_submit:hover {
  background-color: var(--bs-stone) !important;
  border-color: var(--bs-stone) !important;
}

/* Title underlines */
.wd-underline-colored .title:after,
.title-wrapper.wd-underline-colored .liner-continer:after,
.woodmart-title-container:after {
  background-color: var(--bs-slate) !important;
  border-color: var(--bs-slate) !important;
}

/* Header logo — modern simple text (matches hero) */
.bs-logo {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-decoration: none !important;
  line-height: 1;
  padding-block: 0.35rem;
  text-align: center;
}

.bs-logo-name {
  font-family: var(--bs-logo-font);
  font-size: clamp(2.35rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.bs-logo-sub {
  font-family: var(--bs-logo-font);
  font-size: clamp(0.8rem, 1.05vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.25;
}

.site-logo img,
.wd-logo img,
header img[src*="bluestone-header"] {
  max-height: 64px !important;
  width: auto !important;
  height: auto !important;
}

.whb-main-header .wd-logo img,
.whb-general-header img[src*="bluestone-header"] {
  max-height: 66px !important;
}

@media (max-width: 1024px) {
  .bs-logo-name { font-size: 2rem; }
  .bs-logo-sub { font-size: 0.78rem; }
}


/* Homepage top nav */
.bs-top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.bs-top-nav a {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.bs-top-nav a:hover { color: #fff; }
.bs-top-nav a.is-active { color: #fff; }

/* Homepage: Security & Continuity is visible again (restored from DG layout) */

/* —— Uniform heading scale (smaller, consistent) —— */
:root {
  --bs-h-display: clamp(3rem, 7vw, 4.35rem);
  --bs-h-hero: clamp(1.35rem, 2.6vw, 1.75rem);
  --bs-h-section: clamp(1.45rem, 2.4vw, 1.8rem);
  --bs-h-card: clamp(1.05rem, 1.5vw, 1.2rem);
  --bs-h-lead: 1.15;
}

.bs-hero-brand {
  font-size: var(--bs-h-display) !important;
}

.bs-hero-title {
  font-size: var(--bs-h-hero) !important;
  font-weight: 500 !important;
  line-height: 1.28 !important;
}

/* WoodMart section titles */
.title-wrapper .woodmart-title-container,
.woodmart-title-container.wd-fontsize-l,
.woodmart-title-container.wd-fontsize-xl,
.woodmart-title-container.wd-fontsize-m,
h4.woodmart-title-container,
.entry-content .woodmart-title-container {
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: var(--bs-h-section) !important;
  font-weight: 600 !important;
  line-height: var(--bs-h-lead) !important;
  letter-spacing: -0.02em;
}

/* Kill oversized per-block shortcode sizes */
[id^="wd-"] .woodmart-title-container {
  font-size: var(--bs-h-section) !important;
  line-height: var(--bs-h-lead) !important;
}

/* Info-box / card titles */
.info-box-title,
.info-box-title.wd-fontsize-m,
.info-box-title.wd-fontsize-l,
.wd-info-box .info-box-title,
h4.info-box-title {
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: var(--bs-h-card) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
}

.title-after_title,
.title-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem) !important;
  line-height: 1.55 !important;
}

@media (max-width: 767px) {
  .bs-hero-brand {
    font-size: clamp(2rem, 10vw, 2.5rem) !important;
  }
}
