/* JITO Partner hero banner */
.jito-partner-hero {
  isolation: isolate;
  width: 100%;
  min-width: 0;
  padding: clamp(20px, 3vw, 40px);
  background: #fff;
  border-radius: 24px;
  border: 1px solid #edf0f5;
  box-shadow: 0 20px 60px rgba(16, 36, 90, 0.07);
  color: #103d75;
}

/* Top-right decorative ribbon */
.jito-corner-ribbon {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: #d7192d;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.jito-corner-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #123e77;
  clip-path: polygon(0 0, 24% 0, 100% 76%, 100% 100%);
}

/* Intro heading */
.jito-intro {
  display: flex;
  align-items: stretch;
  gap: 15px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.jito-intro-line {
  flex: 0 0 5px;
  background: #d7192d;
  border-radius: 10px;
}

.jito-intro p {
  margin: 0;
  color: #123e77;
  font-size: clamp(15px, 1.6vw, 23px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.jito-intro .jito-red {
  color: #d7192d;
  font-weight: 900;
}

.jito-intro .jito-intro-script {
  position: relative;
  display: inline-block;
  margin-top: 3px;
  color: #d7192d;
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-style: italic;
  font-weight: 700;
}

.jito-intro-script::after {
  content: "";
  position: absolute;
  left: 8%;
  bottom: -7px;
  width: 78%;
  height: 3px;
  background: #d7192d;
  border-radius: 100%;
  transform: rotate(-5deg);
}

/* Main logo */
.jito-brand {
  width: 100%;
  margin: 0 auto clamp(25px, 4vw, 40px);
  text-align: center;
}

.jito-brand-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.065em;
}

.jito-logo-red {
  color: #d7192d;
}

.jito-logo-blue {
  color: #103d75;
}

.jito-logo-o {
  position: relative;
  display: inline-block;
}

.jito-check {
  position: absolute;
  top: 2%;
  left: 12%;
  color: #fff;
  font-size: 0.64em;
  font-weight: 900;
  transform: rotate(-12deg);
  -webkit-text-stroke: 1px #103d75;
}

/* Brand tagline */
.jito-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 20px;
}

.jito-tagline span {
  flex: 1;
  max-width: 100px;
  height: 2px;
  background: #103d75;
}

.jito-tagline p {
  margin: 0;
  color: #103d75;
  font-size: clamp(10px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: clamp(2px, 0.45vw, 5px);
  white-space: nowrap;
}

/* Four service cards */
.jito-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 16px);
}

.jito-service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(125px, 15vw, 190px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 18px 7px;
  border-radius: 15px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jito-service-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 22px;
  height: 13px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}

.jito-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.16);
}

.jito-service-card:focus-visible {
  outline: 3px solid #103d75;
  outline-offset: 4px;
}

.jito-service-card svg {
  display: block;
  width: clamp(36px, 4.5vw, 66px);
  height: clamp(36px, 4.5vw, 66px);
  flex-shrink: 0;
}

.jito-service-card span {
  display: block;
  max-width: 100%;
  font-size: clamp(10px, 1.25vw, 17px);
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.jito-insurance {
  background: #07549a;
}

.jito-loan {
  background: #d7192d;
}

.jito-mutual {
  background: #7136a6;
}

.jito-cards {
  background: #119d4b;
}

.jito-bottom-note {
  margin-top: 22px;
  color: #61718b;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Bottom-left decorative ribbon */
.jito-bottom-ribbon {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 65px;
  height: 65px;
  background: #d7192d;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  opacity: 0.95;
}

/* Tablet */
@media (max-width: 1024px) {
  .jito-partner-hero {
    padding: 24px;
  }

  .jito-brand-name {
  }

  .jito-service-card {
    min-height: 135px;
    border-radius: 12px;
  }

  .jito-service-card span {
    font-size: clamp(10px, 1.5vw, 14px);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .jito-partner-hero {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .jito-intro {
    gap: 11px;
    margin-bottom: 32px;
  }

  .jito-intro p {
    font-size: clamp(16px, 4.3vw, 21px);
  }

  .jito-intro .jito-intro-script {
    font-size: 25px;
  }

  .jito-brand-name {
    gap: 7px;
  }

  .jito-tagline {
    gap: 8px;
    margin-top: 15px;
  }

  .jito-tagline p {
    font-size: clamp(9px, 2.6vw, 12px);
    letter-spacing: 2px;
  }

  .jito-tagline span {
    max-width: 35px;
  }

  .jito-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .jito-service-card {
    min-height: 135px;
    gap: 10px;
    padding: 18px 8px;
  }

  .jito-service-card svg {
    width: 48px;
    height: 48px;
  }

  .jito-service-card span {
    font-size: 13px;
  }

  .jito-bottom-note {
    margin-top: 18px;
    font-size: 10px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .jito-partner-hero {
    padding: 18px 12px;
  }



  .jito-service-card {
    min-height: 118px;
  }

  .jito-service-card span {
    font-size: 11px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .jito-service-card {
    transition: none;
  }

  .jito-service-card:hover {
    transform: none;
  }
}


.hero-products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  /* gap: 12px; */
  width: 100%;
}

.hp-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  text-align: center;
  box-sizing: border-box;
}

.hp-tile svg,
.hp-tile img {
  display: block;
  width: 44px;
  height: 44px;
  max-width: 100%;
  flex-shrink: 0;
}

.hp-tile span {
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Tablets */
@media (max-width: 768px) {
  .hero-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Small mobile screens */
@media (max-width: 380px) {
  .hero-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hp-tile {
    padding: 12px 5px;
  }

  .hp-tile svg,
  .hp-tile img {
    width: 38px;
    height: 38px;
  }

  .hp-tile span {
    font-size: 12px;
  }
}


/* PRODUCTS  */
#products.products-section,
  #products.products-section * {
    box-sizing: border-box;
  }

  #products.products-section {
    --brand-blue: #103D70;
    --brand-red: #C8102E;
    --text-muted: #64748B;
    --border-color: #DFE7F0;

    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 24px 54px;
    overflow: hidden;
    background: #F4F7FB;
    font-family: inherit;
  }

  #products .products-container {
    width: 100%;
    max-width: 1180px;
    min-width: 0;
    margin: 0 auto;
  }

  /* Heading and button */
  #products .products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0 0 26px;
  }

  #products .products-heading {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 720px;
  }

  #products .products-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 6px 11px;
    border: 1px solid #F3D8DE;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
  }

  #products .products-eyebrow span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--brand-red);
  }

  #products .products-heading h2 {
    max-width: 700px;
    margin: 0;
    color: var(--brand-blue);
    font-size: clamp(30px, 3.2vw, 43px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -1.2px;
    overflow-wrap: break-word;
  }

  #products .products-heading h2 span {
    color: var(--brand-red);
  }

  #products .products-heading p {
    max-width: 580px;
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
  }

  /* View all button: proper background, text contrast and alignment */
  #products .products-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0 0 3px;
    padding: 0 17px;
    border: 1px solid var(--brand-blue);
    border-radius: 10px;
    background: var(--brand-blue);
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(16, 61, 112, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease,
      transform 0.2s ease;
  }

  #products .products-view-all span {
    color: #FFFFFF !important;
  }

  #products .products-view-all svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #FFFFFF;
  }

  #products .products-view-all:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #FFFFFF !important;
    transform: translateY(-2px);
  }

  /* Compact responsive card grid */
  #products .products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: stretch;
  }

  #products .product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 17px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(16, 61, 112, 0.025);
    transition: border-color 0.2s ease, box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  #products .product-card:hover {
    border-color: #B9CBE0;
    box-shadow: 0 8px 22px rgba(16, 61, 112, 0.08);
    transform: translateY(-3px);
  }

  #products .product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    margin: 0 0 13px;
  }

  #products .product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  #products .product-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke-width: 2;
  }

  #products .blue-icon {
    background: #E8F0FA;
    color: var(--brand-blue);
  }

  #products .red-icon {
    background: #FCEBED;
    color: var(--brand-red);
  }

  #products .product-card:hover .blue-icon {
    background: var(--brand-blue);
    color: #FFFFFF;
  }

  #products .product-card:hover .red-icon {
    background: var(--brand-red);
    color: #FFFFFF;
  }

  #products .product-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 7px;
    border-radius: 8px;
    background: #F1F5F9;
    color: #718096;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }

  #products .product-card h3 {
    margin: 0;
    color: var(--brand-blue);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  #products .product-card p {
    margin: 7px 0 0;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.65;
  }

  #products .product-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-top: 13px;
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
  }

  #products .product-action:hover {
    color: var(--brand-red);
  }

  #products .product-action svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    transition: transform 0.2s ease;
  }

  #products .product-card:hover .product-action svg {
    transform: translateX(3px);
  }

  /* Tablet */
  @media (max-width: 900px) {
    #products.products-section {
      padding: 40px 20px 46px;
    }

    #products .products-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    #products .products-heading h2 {
      font-size: 36px;
    }

    #products .product-card {
      padding: 16px;
    }
  }

  /* Mobile */
  @media (max-width: 600px) {
    #products.products-section {
      padding: 32px 16px 38px;
    }

    #products .products-header {
      align-items: flex-start;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 22px;
    }

    #products .products-heading {
      width: 100%;
    }

    #products .products-heading h2 {
      font-size: clamp(29px, 8vw, 36px);
      line-height: 1.16;
      letter-spacing: -0.8px;
    }

    #products .products-heading p {
      margin-top: 10px;
      font-size: 13px;
      line-height: 1.7;
    }

    #products .products-view-all {
      min-height: 42px;
      margin: 0;
      padding: 0 15px;
    }

    #products .products-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 11px;
    }

    #products .product-card {
      padding: 13px;
      border-radius: 13px;
    }

    #products .product-card-top {
      margin-bottom: 11px;
    }

    #products .product-icon {
      width: 36px;
      height: 36px;
      flex-basis: 36px;
      border-radius: 10px;
    }

    #products .product-icon svg {
      width: 18px;
      height: 18px;
    }

    #products .product-number {
      min-width: 28px;
      height: 24px;
      padding: 0 5px;
      font-size: 10px;
    }

    #products .product-card h3 {
      font-size: 14px;
    }

    #products .product-card p {
      font-size: 12px;
      line-height: 1.55;
    }

    #products .product-action {
      gap: 5px;
      margin-top: 12px;
      font-size: 11px;
    }
  }

  @media (max-width: 360px) {
    #products.products-section {
      padding-right: 12px;
      padding-left: 12px;
    }

    #products .products-grid {
      gap: 8px;
    }

    #products .product-card {
      padding: 11px;
    }

    #products .product-card h3 {
      font-size: 13px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #products .product-card,
    #products .product-icon,
    #products .product-action svg,
    #products .products-view-all {
      transition: none;
    }
  }

/* ==========================================
   ABOUT PAGE — CTA SECTION
========================================== */

.about-cta-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 5px 24px 75px;
  overflow: hidden;
  background: #FFFFFF;
}

.about-cta-section .about-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.about-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 310px;
  padding: 48px 55px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  background: linear-gradient(
    115deg,
    #103D70 0%,
    #0B2E56 62%,
    #092747 100%
  );
  box-shadow: 0 18px 45px rgba(16, 61, 112, 0.17);
}

.about-cta-card::before {
  position: absolute;
  z-index: -1;
  top: -210px;
  right: 100px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.about-cta-card::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -310px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

/* CTA text content */

.about-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 750px;
}

.about-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.about-cta-eyebrow svg {
  width: 16px;
  height: 16px;
  color: #FF7587;
}

.about-cta-content h2 {
  max-width: 700px;
  margin: 0;
  color: #FFFFFF;
  font-family: "Sora", "Inter", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 47px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -1.1px;
}

.about-cta-content h2 span {
  color: #FF7587;
}

.about-cta-content > p {
  max-width: 540px;
  margin: 14px 0 0;
  color: #D9E5F3;
  font-size: 13px;
  line-height: 1.8;
}

/* CTA button and note */

.about-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.about-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 180px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #C8102E;
  border-radius: 10px;
  background: #C8102E;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-cta-button:hover {
  transform: translateY(-2px);
  background: #A80D26;
  color: #FFFFFF;
}

.about-cta-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.about-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #E0EAF5;
  font-size: 11px;
  font-weight: 600;
}

.about-cta-note svg {
  width: 16px;
  height: 16px;
  color: #80E0B3;
}

/* Decorative shield */

.about-cta-art {
  position: absolute;
  top: 0;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 310px;
  height: 100%;
  pointer-events: none;
}

.about-cta-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.about-cta-ring-one {
  width: 215px;
  height: 215px;
}

.about-cta-ring-two {
  width: 285px;
  height: 285px;
}

.about-cta-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #FF7587;
  transform: rotate(-8deg);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.about-cta-shield svg {
  width: 65px;
  height: 65px;
  stroke-width: 1.4;
}

.about-cta-art-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FF7587;
  box-shadow: 0 0 20px rgba(255, 117, 135, 0.45);
}

.about-cta-art-dot-one {
  top: 54px;
  right: 60px;
}

.about-cta-art-dot-two {
  bottom: 55px;
  left: 42px;
  width: 7px;
  height: 7px;
  background: #FFFFFF;
}

/* ==========================================
   RESPONSIVE CTA
========================================== */

@media (max-width: 760px) {
  .about-cta-section {
    padding: 0 20px 55px;
  }

  .about-cta-card {
    min-height: 0;
    padding: 36px 28px;
    border-radius: 20px;
  }

  .about-cta-content {
    max-width: 100%;
  }

  .about-cta-content h2 {
    font-size: clamp(31px, 7vw, 40px);
  }

  .about-cta-art {
    right: -150px;
    opacity: 0.22;
  }

  .about-cta-actions {
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .about-cta-section {
    padding: 0 15px 45px;
  }

  .about-cta-card {
    padding: 30px 20px;
  }

  .about-cta-content h2 {
    font-size: 30px;
  }

  .about-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-cta-button {
    transition: none;
  }
}

