/* ==========================================================================
   Stretto Intelligence pages (Stretto Intelligence, Conductor, Forecaster,
   SecureAI). Every page is wrapped in .st-si (light tint, wider container);
   the landing page adds .st-si--landing for its slightly different cards.
   Loaded after stretto-services.css. Sizes in px.
   ========================================================================== */

.st-si { display: flow-root; background-color: #f4f7fc; }
.st-si .st-container { max-width: 1364px; }
.st-si--landing .st-container { max-width: 1360px; }
.st-si p { font-family: var(--st-font-head); }

.st-si-title {
  margin: 0 0 40px;
  font-family: var(--st-font-head);
  font-size: 36px;
  line-height: 46.8px;
  font-weight: 700;
  text-align: center;
  color: var(--st-ink);
}

/* Autoplaying Wistia player (JS inserts the iframe) */
.st-si-video { position: relative; overflow: hidden; background-color: rgba(23, 50, 55, 0.08); }
.st-si-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st-si-video--cover iframe { pointer-events: none; }

/* Looping background animation (orange/grey slashes) */
.st-utf__bg, .st-ch__bg { position: absolute; inset: 0; overflow: hidden; }
.st-bg-video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Hero – icon, title, text + autoplaying video
   -------------------------------------------------------------------------- */
.st-si-hero { margin: 117px 0; }
.st-si-hero__grid { display: flex; align-items: center; margin: 0 -30px; }
.st-si-hero__text { flex: 0 0 35%; max-width: 35%; padding: 0 30px; }
.st-si-hero__media { flex: 0 0 62%; max-width: 62%; padding: 0 30px; }
.st-si-hero__icon { display: block; width: auto !important; max-height: 68px; margin-bottom: 24px; object-fit: contain; }
.st-si-hero__title { margin: 0 0 15px; font-family: var(--st-font-head); font-size: 30px; line-height: 36px; font-weight: 400; color: var(--st-ink); }
.st-si-hero__desc { margin: 0; font-size: 20px; line-height: 23.4px; }
.st-si-hero__video { aspect-ratio: 1.77854 / 1; }

/* --------------------------------------------------------------------------
   Media + text card with drop shadow (optional background animation)
   -------------------------------------------------------------------------- */
.st-utf { position: relative; padding: 128px 0; }
.st-utf .st-container { position: relative; max-width: 1082px; }
.st-utf__shadow { filter: drop-shadow(rgba(0, 0, 0, 0.5) 0 2px 30px); }
.st-utf__card {
  display: flex;
  background-color: #fff;
  clip-path: polygon(100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 0);
}
.st-utf__media { position: relative; flex: 0 0 43.5%; max-width: 43.5%; overflow: hidden; }
.st-utf__media > .st-si-video { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 1.77778 / 1; }
.st-utf__img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.st-utf__body { flex: 1 1 0%; align-self: center; padding: 66px 45px; }
.st-utf__title { margin: 0 0 15px; font-family: var(--st-font-head); font-size: 36px; line-height: 43.2px; font-weight: 400; color: var(--st-ink); }
.st-utf__desc p { margin-bottom: 23.4px; font-size: 20px; line-height: 23.4px; }
.st-utf__desc p:last-child { margin-bottom: 0; }
.st-utf__cta { margin-top: 32px; }

/* landing page variant: both corners cut, wider media, image on the right */
.st-si--landing .st-utf__card { clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px); }
.st-si--landing .st-utf__media { flex-basis: 46.7%; max-width: 46.7%; }
.st-si--landing .st-utf--right .st-utf__card { flex-direction: row-reverse; padding: 33px 45px 33px 0; }
.st-si--landing .st-utf--right .st-utf__media { aspect-ratio: 1.16058 / 1; }

/* Buttons on these pages */
.st-btn--light { font-weight: 400; color: #26353b; border-width: 2px; }
.st-btn--light::before { border-width: 2px; }

/* --------------------------------------------------------------------------
   Innovations – auto-advancing tabs that swap the video
   -------------------------------------------------------------------------- */
.st-ifs { margin: 160px 0; }
.st-ifs__row { display: flex; margin: 0 -50px; }
.st-ifs__tabs { flex: 0 0 37%; max-width: 37%; padding: 0 50px; }
.st-ifs__media { flex: 1 1 0%; padding: 0 50px; }
.st-ifs__tab { position: relative; padding-top: 20px; }
.st-ifs__tab + .st-ifs__tab { margin-top: 32px; }
.st-ifs__progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; overflow: hidden; }
.st-ifs__progress::before,
.st-ifs__progress::after { content: ""; position: absolute; top: 50%; width: 100%; transform: translateY(-50%); }
.st-ifs__progress::before { left: 0; height: 1px; background-color: #ddddde; }
.st-ifs__progress::after { left: -100%; height: 100%; background-color: var(--st-orange); }
.st-ifs__tab.is-active .st-ifs__progress::after { animation: st-linefill var(--st-tab-duration, 16s) linear forwards; }
.st-ifs__title {
  margin: 0;
  font-family: var(--st-font-head);
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: rgba(44, 65, 70, 0.5);
  cursor: pointer;
  transition: color 0.4s;
}
.st-ifs__title:focus-visible { outline: 2px solid var(--st-orange); outline-offset: 4px; }
.st-ifs__tab.is-active .st-ifs__title { color: var(--st-slate); }
.st-ifs__content { display: none; margin-top: 8px; }
.st-ifs__tab.is-active .st-ifs__content { display: block; }
.st-ifs__text { margin: 0 0 16px; font-size: 20px; line-height: 23.4px; }
.st-ifs__cta { font-family: var(--st-font-head); font-size: 20px; color: var(--st-orange); text-decoration: underline !important; transition: color 0.4s; }
.st-ifs__cta:hover { color: var(--st-slate); }
.st-ifs__video { position: relative; aspect-ratio: 1.77854 / 1; box-shadow: rgba(0, 0, 0, 0.25) 0 2px 20px; }
.st-ifs__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes st-linefill { from { left: -100%; } to { left: 0; } }

/* --------------------------------------------------------------------------
   Cards with icons – thin frame, corner cut; frame + icon turn orange on hover
   -------------------------------------------------------------------------- */
.st-cards { margin: 160px 0; }
.st-cards__title { line-height: 36px; }
.st-cards__grid { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 32px; margin: 0 -16px; }
.st-cards__item { flex: 0 0 25%; max-width: 25%; padding: 0 16px; }
.st-cards__wrap {
  height: 100%;
  padding: 1px;
  background-color: rgba(159, 159, 159, 0.2);
  clip-path: polygon(100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
  transition: background-color 0.3s;
}
.st-cards__inner {
  height: 100%;
  padding: 24px 24px 48px;
  background-color: #f4f7fc;
  clip-path: polygon(100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 0);
  transition: background-color 0.3s;
}
.st-cards__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 0 40px;
  border-radius: 5px;
  background-color: var(--st-ink);
  transition: background-color 0.4s;
}
.st-cards__img { width: auto !important; max-width: 40px; max-height: 40px; }
.st-cards__heading { margin: 0 0 24px; font-family: var(--st-font-head); font-size: 20px; line-height: 24px; font-weight: 700; color: var(--st-ink); }
.st-cards__desc { margin: 0; font-family: var(--st-font-head); font-size: 20px; line-height: 24px; color: var(--st-ink); }
.st-cards__wrap:hover { background-color: var(--st-orange); }
.st-cards__wrap:hover .st-cards__inner { background-color: #fff; }
.st-cards__wrap:hover .st-cards__icon { background-color: var(--st-orange); }

/* --------------------------------------------------------------------------
   Capabilities – check icons in a row
   -------------------------------------------------------------------------- */
.st-caps { margin: 160px 0; text-align: center; }
.st-caps__grid { display: grid; grid-template-columns: repeat(var(--st-cards, 4), minmax(0, 1fr)); gap: 32px; }
.st-caps__icon { display: block; width: 40px !important; height: 40px !important; margin: 0 auto 16px; object-fit: contain; }
.st-caps__text { margin: 0; font-size: 20px; line-height: 23.4px; color: var(--st-slate); }

/* --------------------------------------------------------------------------
   Awards
   -------------------------------------------------------------------------- */
.st-award { margin: 160px 0; }
.st-award__title { margin-bottom: 60px; }
.st-award__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 75px; }
.st-award__logo { width: 100%; max-width: 300px; }
.st-award__img { display: block; width: 100% !important; }

/* --------------------------------------------------------------------------
   Content highlight – big statement on a white card over the animation
   -------------------------------------------------------------------------- */
.st-ch { position: relative; padding: 102px 0; }
.st-ch__card {
  position: relative;
  z-index: 1;
  max-width: 1082px;
  margin: 0 auto;
  padding: 64px 56px;
  text-align: center;
  background-color: #fff;
  clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
}
.st-ch__title { margin: 0; font-family: var(--st-font-head); font-size: 60px; line-height: 72px; font-weight: 400; color: var(--st-slate); }
.st-ch__cta { margin-top: 53px; }

/* --------------------------------------------------------------------------
   Fifty-fifty – photo + text (SecureAI)
   -------------------------------------------------------------------------- */
.st-ff { margin: 160px 0; }
.st-ff__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 143px; }
.st-ff--right .st-ff__grid { flex-direction: row-reverse; }
.st-ff__media { position: relative; flex: 0 0 49%; max-width: 49%; aspect-ratio: 1.77654 / 1; }
.st-ff__img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.st-ff__body { flex: 1 1 0%; font-family: var(--st-font-head); }
.st-ff__title { margin: 0 0 15px; font-family: var(--st-font-head); font-size: 36px; line-height: 46.8px; font-weight: 700; color: var(--st-slate); }
.st-ff__content p { margin-bottom: 23.4px; font-size: 20px; line-height: 23.4px; color: var(--st-slate); }
.st-ff__content ol, .st-ff__content ul { margin: 0 0 18px; padding-left: 40px; }
.st-ff__content li { position: relative; list-style: none; font-size: 20px; line-height: 30px; color: var(--st-slate); }
.st-ff__content li:not(:last-child) { margin-bottom: 10px; }
.st-ff__content li::before { content: ""; position: absolute; top: 12px; left: -15px; width: 6px; height: 6px; background-color: currentColor; }

/* --------------------------------------------------------------------------
   Talk to experts – text + two-column Gravity Form
   -------------------------------------------------------------------------- */
.st-talk { margin: 160px 0; }
.st-talk__grid { display: flex; margin: 0 -50px; }
.st-talk__text { flex: 0 0 37%; max-width: 37%; padding: 0 50px; }
.st-talk__form { flex: 1 1 0%; padding: 0 50px; }
.st-talk__title { margin: 0 0 15px; font-family: var(--st-font-head); font-size: 36px; line-height: 46.8px; font-weight: 700; color: var(--st-slate); }
.st-talk__desc p { margin: 0; font-size: 20px; line-height: 23.4px; }
.st-talk__heading { margin: 0 0 32px; font-family: var(--st-font-head); font-size: 20px; line-height: 26px; font-weight: 700; color: var(--st-slate); }

.st-talk .gform_wrapper { margin: 0 !important; }
.st-talk .gform_fields { display: flex !important; flex-wrap: wrap; gap: 24px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.st-talk .gfield { width: calc(50% - 24px); margin: 0 !important; padding: 0 !important; list-style: none; }
.st-talk .gfield:has(textarea),
.st-talk .gfield--type-textarea,
.st-talk .gfield--type-consent,
.st-talk .gfield--type-checkbox,
.st-talk .gfield--type-captcha { width: calc(100% - 24px); }
.st-talk .hidden_label > .gfield_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.st-talk .ginput_container { margin: 0 !important; }
.st-talk .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.st-talk .ginput_container textarea {
  width: 100% !important;
  height: 48px;
  margin: 0 !important;
  padding: 5px 12px !important;
  font-family: var(--st-font-body);
  font-size: 18px;
  line-height: 27px;
  color: var(--st-ink);
  background-color: transparent !important;
  border: 1px solid var(--st-slate) !important;
  border-radius: 0 !important;
  outline: none;
  -webkit-appearance: none;
}
.st-talk .ginput_container textarea { height: 180px; padding-top: 15px !important; resize: vertical; }
.st-talk .ginput_container input::placeholder,
.st-talk .ginput_container textarea::placeholder { font-family: var(--st-font-head); color: rgba(44, 65, 70, 0.6); opacity: 1; }
.st-talk .ginput_container input:focus,
.st-talk .ginput_container textarea:focus { border-color: var(--st-orange) !important; }
.st-talk .ginput_container_consent { display: flex; align-items: flex-start; gap: 4px; }
.st-talk .ginput_container_consent input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 8px 0 0; accent-color: var(--st-slate); }
.st-talk .gfield_consent_label { font-family: var(--st-font-head); font-size: 14px; line-height: 20px; }
.st-talk .gfield_consent_label a { color: var(--st-orange); }
.st-talk .gform_footer { display: inline-block !important; margin-top: 40px !important; padding: 0 !important; }
.st-talk .gform_footer input[type="submit"],
.st-talk .gform_footer .gform_button {
  padding: 12px 24px;
  font-family: var(--st-font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #fff;
  background-color: var(--st-orange);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.3s;
}
.st-talk .gform_footer input[type="submit"]:hover,
.st-talk .gform_footer .gform_button:hover { color: var(--st-slate); }
.st-talk .validation_message { padding-top: 6px; color: var(--st-orange); }
.st-talk .gform_validation_errors { display: none !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1189.98px) {
  .st-si-hero { margin: 80px 0; }
  .st-utf { padding: 80px 0; }
  .st-cards__item { flex-basis: 33.33%; max-width: 33.33%; }
  .st-cards__item:nth-child(-n+3) { flex-grow: 1; }
  .st-cards__inner { min-height: 300px; }
  .st-caps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-ff__grid { gap: 50px; }
}
@media (max-width: 1023.98px) {
  .st-si-hero__grid { flex-direction: column-reverse; }
  .st-si-hero__text, .st-si-hero__media { flex-basis: auto; max-width: 100%; width: 100%; }
  .st-si-hero__text { margin-top: 40px; }
  .st-si-hero__title { font-size: 24px; line-height: 30px; }
  .st-ifs, .st-cards, .st-caps, .st-award, .st-ff { margin: 80px 0; }
  .st-ifs__row, .st-talk__grid { margin: 0 -16px; }
  .st-ifs__tabs, .st-ifs__media, .st-talk__text, .st-talk__form { padding: 0 16px; }
  .st-ifs__tab + .st-ifs__tab { margin-top: 20px; }
  .st-ifs__text, .st-ifs__cta { font-size: 16px; }
  .st-cards__item { flex-basis: 50%; max-width: 50%; }
  .st-cards__item:nth-child(-n+2) { flex-grow: 1; }
  .st-caps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-award__grid { gap: 40px; }
  .st-award__logo { max-width: 170px; }
  .st-ch { padding: 80px 0; }
  .st-ch__card { padding: 32px; clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); }
  .st-ch__title { font-size: 40px; line-height: 48px; }
}
@media (max-width: 767.98px) {
  .st-si-hero { margin: 40px 0; }
  .st-utf { padding: 40px 0; }
  .st-utf__bg .st-bg-video, .st-ch__bg .st-bg-video { height: 65%; }
  .st-utf__card, .st-si--landing .st-utf--right .st-utf__card { flex-direction: column; padding: 0; }
  .st-si--landing .st-utf--right .st-utf__card { padding: 33px 0; }
  .st-utf__media, .st-si--landing .st-utf__media { flex-basis: auto; max-width: 100%; width: 100%; }
  .st-si--landing .st-utf--right .st-utf__media { aspect-ratio: 1.77778 / 1; }
  .st-utf__body { padding: 20px; }
  .st-si--landing .st-utf__body { padding: 30px; }
  .st-utf__desc p { font-size: 18px; }
  .st-ifs, .st-cards, .st-caps, .st-ff, .st-talk { margin: 40px 0; }
  .st-award { margin: 60px 0; }
  .st-ifs__row { flex-direction: column-reverse; }
  .st-ifs__tabs { flex-basis: auto; max-width: 100%; margin-top: 40px; }
  .st-caps__grid { grid-template-columns: 1fr; }
  .st-award__logo { max-width: 140px; }
  .st-ch { padding: 40px 0; }
  .st-ch__cta { margin-top: 32px; }
  .st-ch__title { font-size: 30px; line-height: 36px; }
  .st-ff__grid, .st-ff--right .st-ff__grid { flex-direction: column; align-items: flex-start; gap: 35px; }
  .st-ff__media { flex-basis: auto; max-width: 100%; width: 100%; }
  .st-ff__content p, .st-ff__content li { font-size: 18px; }
  .st-talk__grid { flex-direction: column; }
  .st-talk__text { flex-basis: auto; max-width: 100%; margin-bottom: 24px; }
  .st-talk__heading { margin-bottom: 16px; }
  .st-talk__desc p { font-size: 18px; }
  .st-talk .gfield,
  .st-talk .gfield:has(textarea),
  .st-talk .gfield--type-textarea,
  .st-talk .gfield--type-consent,
  .st-talk .gfield--type-checkbox,
  .st-talk .gfield--type-captcha { width: 100%; }
  .st-si-title, .st-utf__title, .st-talk__title, .st-ff__title { font-size: 28px; line-height: 34px; }
  .st-cards__desc { font-size: 18px; line-height: 22px; }
  .st-talk .gform_fields { gap: 16px; }
}
@media (max-width: 639.98px) {
  .st-cards__grid { row-gap: 16px; }
  .st-cards__item { flex-basis: 100%; max-width: 100%; }
  .st-cards__inner { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .st-ifs__tab.is-active .st-ifs__progress::after { animation: none; left: 0; }
}
