/* ============================================================
   Zero Trust Consultation LP page styles
   ============================================================ */

/* Work Sans font-face — @font-face inside @scope is not reliably registered by browsers */
@font-face {
  font-family: "Worksans";
  src: url("../fonts/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Worksans";
  src: url("../fonts/WorkSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* CSS custom properties (declared globally — @scope can't set :root vars) */
:root {
  --midnight-blue: #0e2b8f;
  --orange-red: #ff5206;
  --bluish-white: #f1f3f8;
}

/* Hard reset body margin + prevent x-overflow */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ============================================================
   Scoped styles — only apply inside .wf-pricing wrapper
   ============================================================ */
@scope (.wf-pricing) {

  /* Apply body-landing base typography to scope root */
  :scope {
    color: #0e2b8f;
    font-family: Worksans, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
  }

  /* ---- Push page content below fixed nav ---- */
  .sticky-nav-area-2 {
    padding-top: 68px;
  }

  /* ---- Sticky nav — always visible at top ---- */
  .sticky-navigation-landing {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .sticky-navigation-landing_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
  }

  /* ---- Testimonials v3 ---- */
  .container-testimonial {
    padding: 60px 5%;
    background-color: #f1f3f8;
  }

  .container-testimonial-section {
    max-width: 1280px;
    margin: 0 auto;
  }

  .testimonial-wrapper.testimonial-v3 {
    display: flex;
    gap: 32px;
  }

  .split-content.testimonial-v3.left,
  .split-content.testimonial-v3.right---brix {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .top-content.testimonial-v3 {
    margin-bottom: 8px;
  }

  .top-content.testimonial-v3 .tag {
    display: inline-block;
    background-color: #0e2b8f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .top-content.testimonial-v3 .tag.white {
    background-color: #fff;
    color: #0e2b8f;
  }

  .top-content.testimonial-v3 .title {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    color: #0e2b8f;
    margin: 0 0 12px;
  }

  .top-content.testimonial-v3 > p {
    font-size: 16px;
    color: #0e2b8f;
    margin: 0;
  }

  .card-testimonial.testimonial-v3 {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 2px 16px rgba(14, 43, 143, 0.08);
  }

  .card-testimonial.testimonial-v3 > .image-testimonial {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
  }

  .card-testimonial.testimonial-v3 .card-content-v3 {
    margin-top: 16px;
  }

  .image-testimonial.company-logo-testimonial {
    height: 32px;
    width: auto;
    object-fit: contain;
    object-position: left center;
  }

  .image-testimonial.company-logo-testimonial.capterra-logo {
    height: 28px;
  }

  .image-testimonial.company-logo-testimonial.g2 {
    height: 36px;
  }

  .image-testimonial.company-logo-testimonial.peerspot {
    height: 28px;
  }

  .card-content-v3 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .heading-small-2 {
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    color: #0e2b8f;
    margin: 0;
  }

  .paragraph-testimonial.testimonial-v3 {
    font-size: 14px;
    line-height: 22px;
    color: #0e2b8f;
    margin: 0;
    opacity: 0.8;
  }

  .testimonial-position {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .title.avatar-name-v1---brix {
    font-size: 14px;
    font-weight: 600;
    color: #0e2b8f;
    margin: 0;
  }

  .cta-link-wrapper.cta-testimonial {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
  }

  .secondary-cta.basic {
    font-size: 14px;
    font-weight: 600;
    color: #ff5206;
    text-decoration: none;
  }

  .secondary-cta.basic:hover {
    color: #0e2b8f;
  }

  .arrow-icon {
    width: 16px;
    height: 16px;
  }

  /* ---- HubSpot form styling ---- */
  .hs-form {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 17px 21.2px;
    margin-top: 22px;
  }

  .hs-form label {
    margin-bottom: 0 !important;
  }

  .hs-field-desc,
  .hs_recaptcha {
    display: none !important;
  }

  .hs-form .hs_email,
  .hs-form .hs_message,
  .hs-form .legal-consent-container,
  .hs-form .hs_submit,
  .hs-form .hs-firstname {
    grid-column: 1 / -1;
  }

  /* Primary Input Style */
  .hs-form .hs-input {
    width: 100%;
    line-height: 26px;
    font-size: 16px;
    font-weight: 400;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 21.2px !important;
    border: 1.5px solid #ffffff !important;
    border-radius: 4px !important;
    background-color: #f3f4fa !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  .hs-form select.hs-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e2b8f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 40px !important;
  }

  .hs-form input[type="file"].hs-input {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
  }

  .hs-form input[type="file"].hs-input::file-selector-button,
  .hs-form input[type="file"].hs-input::-webkit-file-upload-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: #0e2b8f !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    font-family: Worksans, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-right: 12px !important;
    transition: background 0.2s !important;
  }

  .hs-form input[type="file"].hs-input::file-selector-button:hover,
  .hs-form input[type="file"].hs-input::-webkit-file-upload-button:hover {
    background: rgba(14, 43, 143, 0.85) !important;
  }

  .hs-form .hs-input::placeholder {
    color: #0e2b8f !important;
    opacity: 1 !important;
  }

  /* Privacy Policy link */
  .hs-form .legal-consent-container a {
    color: #0e2b8f !important;
    font-weight: 700;
  }

  /* Submit Button */
  .hs-form .hs-button.primary.large {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Work Sans' !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 18px !important;
    min-height: 48px !important;
    padding: 16px 15px 14px !important;
    background: #ff5206 !important;
    border-radius: 4.25px !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.3s;
  }

  .hs-form .hs-button.primary.large:hover {
    background: rgba(255, 82, 6, 0.8) !important;
  }

  /* Error styling */
  label.hs-error-msg {
    font-size: 12px;
    line-height: 16px;
    color: #ff5206;
  }

  ul.hs-error-msgs {
    margin-top: 0;
  }

  /* ---- Footer ---- */
  .footer-section-2 {
    background-color: #0e2b8f;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-legal-holder-landing {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
  }

  .footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
  }

  .footer-link:hover {
    color: #fff;
  }

  .soc-med-holder {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .soc-med-link {
    display: inline-block;
  }

  .soc-med-icon {
    width: 28px;
    height: 28px;
    filter: brightness(10);
    opacity: 0.7;
  }

  .soc-med-icon:hover {
    opacity: 1;
  }

  .image-6 {
    height: 48px;
    width: auto;
  }

  .footer-padding {
    height: 0;
  }

  /* ---- Responsive ---- */
  @media (max-width: 991px) {
    .testimonial-wrapper.testimonial-v3 {
      flex-direction: column;
    }
  }

  @media (max-width: 767px) {
    .testimonial-wrapper.testimonial-v3 {
      flex-direction: column;
    }
  }
}
