/*
 * Seylac Homepage More Tools V1
 * Isolated replacement for the former "Grow with clarity" feature.
 */

.sx-features .sx-tools,
html body main .shv-home .sx-tools {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid rgba(15, 75, 112, .12);
  border-radius: clamp(16px, 3vw, 16px);
  background: #fff;
  box-shadow: 0 22px 54px rgba(9, 52, 78, .08);
}

.sx-tools *,
.sx-tools *::before,
.sx-tools *::after {
  box-sizing: border-box;
}

.sx-tools__intro {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.sx-tools__copy {
  min-width: 0;
}

.sx-tools__copy .s4-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: #07847f;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sx-features .sx-tools__copy h3,
html body main .shv-home .sx-tools__copy h3 {
  max-width: 590px;
  margin: 0;
  color: #0b2a3a;
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}

.sx-features .sx-tools__copy > p,
html body main .shv-home .sx-tools__copy > p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #687985;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.58;
}

.sx-tools__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  padding: 22px 10px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #093f83 0%, #0b5aab 100%);
  box-shadow: 0 16px 34px rgba(10, 79, 156, .18);
}

.sx-tools__proof span {
  min-width: 0;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.sx-tools__proof span:last-child {
  border-right: 0;
}

.sx-tools__proof strong,
.sx-tools__proof small {
  display: block;
}

.sx-tools__proof strong {
  color: #ffd000;
  font-size: clamp(.84rem, 1vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
}

.sx-tools__proof small {
  margin-top: 7px;
  color: rgba(255, 255, 255, .72);
  font-size: .75rem;
  line-height: 1.35;
}

.sx-tools__photo {
  overflow: hidden;
  min-width: 0;
  height: clamp(360px, 34vw, 510px);
  margin: 0;
  border-radius: clamp(16px, 2vw, 16px);
  background: #e8f1f4;
}

.sx-tools__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.sx-tools__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3vw, 42px);
  padding: 22px;
  border-radius: 12px;
  background: #edf6f5;
}

.sx-tools__card {
  display: flex;
  min-width: 0;
  min-height: 120px;
  align-items: center;
  gap: 14px;
  padding: 19px 16px;
  border: 1px solid rgba(11, 79, 156, .06);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(18, 67, 84, .04);
}

.sx-tools__icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #0b5db7;
  background: #eef6ff;
}

.sx-tools__icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sx-tools__card > span:last-child {
  min-width: 0;
}

.sx-tools__card strong,
.sx-tools__card small {
  display: block;
}

.sx-tools__card strong {
  color: #0b2a3a;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.25;
}

.sx-tools__card small {
  margin-top: 7px;
  color: #75848d;
  font-size: .77rem;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  .sx-tools__intro {
    grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr);
    gap: 34px;
  }

  .sx-tools__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sx-tools__card:nth-child(4),
  .sx-tools__card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .sx-features .sx-tools,
  html body main .shv-home .sx-tools {
    padding: 28px;
  }

  .sx-tools__intro {
    grid-template-columns: 1fr;
  }

  .sx-tools__photo {
    height: clamp(350px, 66vw, 500px);
  }

  .sx-tools__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sx-tools__card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .sx-features .sx-tools,
  html body main .shv-home .sx-tools {
    width: 100%;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .sx-tools__intro {
    gap: 24px;
  }

  .sx-tools__copy .s4-eyebrow {
    margin-bottom: 12px;
    font-size: .7rem;
  }

  .sx-features .sx-tools__copy h3,
  html body main .shv-home .sx-tools__copy h3 {
    font-size: clamp(2.65rem, 13vw, 3.15rem) !important;
    letter-spacing: -.065em;
    line-height: .96;
  }

  .sx-features .sx-tools__copy > p,
  html body main .shv-home .sx-tools__copy > p {
    margin-top: 18px;
    font-size: .98rem;
    line-height: 1.5;
  }

  .sx-tools__proof {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
    padding: 8px 18px;
  }

  .sx-tools__proof span {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .sx-tools__proof span:last-child {
    border-bottom: 0;
  }

  .sx-tools__proof small {
    margin-top: 4px;
  }

  .sx-tools__photo {
    height: 310px;
    border-radius: 16px;
  }

  .sx-tools__photo img {
    object-position: 57% center;
  }

  .sx-tools__cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
    padding: 12px;
    border-radius: 12px;
  }

  .sx-tools__card,
  .sx-tools__card:last-child {
    grid-column: auto;
    min-height: 88px;
    padding: 14px;
    border-radius: 12px;
  }

  .sx-tools__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-tools *,
  .sx-tools *::before,
  .sx-tools *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* SEYLAC-MOBILE-FULLWIDTH-V2:START */
@media (max-width: 767px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  html body main .shv-home .sx-features {
    width: 100% !important;
    max-width: none !important;
    padding: 28px 0 !important;
  }

  html body main .shv-home .sx-features > .shv-shell {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 8px !important;
  }

  html body main .shv-home .s4-story-stack,
  html body main .shv-home .s4-story-stack > article {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  html body main .shv-home .s4-story-stack {
    gap: 16px !important;
  }

  html body main .shv-home #sx-tools-title {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(2.35rem, 10.8vw, 2.85rem) !important;
    line-height: .98 !important;
    letter-spacing: -.065em !important;
  }

  html body main .shv-home #sx-tools-title span {
    display: block !important;
    white-space: nowrap !important;
  }

  html body main .shv-home .sx-tools {
    width: 100% !important;
    max-width: none !important;
    padding: 24px 14px !important;
  }

  html body main .shv-home .sx-tools__intro {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  html body main .shv-home .sx-tools__copy,
  html body main .shv-home .sx-tools__copy > p,
  html body main .shv-home .sx-tools__proof {
    width: 100% !important;
    max-width: none !important;
  }

  /* Sawirka kooxda: hal cabbir, full, meel madhan la'aan */
  html body main .shv-home .sx-tools__photo {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    background: transparent !important;
  }

  html body main .shv-home .sx-tools__photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  html body main .shv-home .sx-tools__cards {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 10px !important;
  }

  html body main .shv-home .sx-tools__card,
  html body main .shv-home .sx-tools__card:last-child {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 94px !important;
    grid-column: auto !important;
    padding: 16px !important;
  }

  /* Feature-yada kale */
  html body main .shv-home .s4-story-value--trust,
  html body main .shv-home .sx-feature-mobile {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body main .shv-home .s4-story-value--trust {
    padding: 8px !important;
  }

  html body main .shv-home .s4-value-photo {
    width: 100% !important;
    max-width: none !important;
    height: 330px !important;
    min-height: 330px !important;
    margin: 0 !important;
  }

  html body main .shv-home .s4-value-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body main .shv-home .s4-value-content,
  html body main .shv-home .sx-feature-mobile-copy {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    padding: 28px 16px !important;
  }

  html body main .shv-home .s4-value-points,
  html body main .shv-home .s4-value-points > div,
  html body main .shv-home .sx-mobile-metrics,
  html body main .shv-home .sx-mobile-metric-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
  }

  html body main .shv-home .sx-feature-mobile-visual--person {
    width: 100% !important;
    max-width: none !important;
    min-height: 350px !important;
    background-position: center 30% !important;
    background-size: cover !important;
  }

  /* Everything your business needs */
  html body main .shv-home .swf-real.swf-v10-phone-feature {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 20px 0 0 !important;
    padding: 0 8px !important;
  }

  html body main .shv-home .swf-v10-phone-feature > .swf-real__shell {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    padding: 12px 10px 26px !important;
    border-radius: 16px !important;
  }

  html body main .shv-home .swf-real__media,
  html body main .shv-home .swf-real__content,
  html body main .shv-home .swf-real__grid,
  html body main .shv-home .swf-real__card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
  }

  html body main .shv-home .swf-real__media {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 6 / 5 !important;
  }

  html body main .shv-home .swf-real__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
/* SEYLAC-MOBILE-FULLWIDTH-V2:END */

/* SEYLAC-MOBILE-BLACK-HERO-V1:START */
@media (max-width: 767px) {
  /*
   * Hero image remains unchanged.
   * Only the title, description, buttons and trust area become black.
   */
  html body main .shv-home .shv-hero .shv-hero-copy {
    background:
      radial-gradient(circle at 90% 8%, rgba(255,255,255,.07), transparent 32%),
      linear-gradient(145deg, #151515 0%, #080808 55%, #000000 100%) !important;
  }

  html body main .shv-home .shv-hero .shv-label {
    color: rgba(255,255,255,.86) !important;
  }

  html body main .shv-home .shv-hero .shv-title-line:first-child {
    color: #ffffff !important;
  }

  html body main .shv-home .shv-hero .shv-title-line:last-child {
    color: #ffc928 !important;
  }

  html body main .shv-home .shv-hero .shv-hero-copy > p {
    color: rgba(255,255,255,.76) !important;
  }

  html body main .shv-home .shv-hero .shv-button-light {
    color: #101820 !important;
    border-color: #ffc247 !important;
    background: linear-gradient(135deg, #ffca4b, #f7b934) !important;
    box-shadow: 0 14px 32px rgba(0,0,0,.28) !important;
  }

  html body main .shv-home .shv-hero .shv-button-ghost {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.58) !important;
    background: rgba(255,255,255,.06) !important;
  }

  html body main .shv-home .shv-hero .shv-trust,
  html body main .shv-home .shv-hero .shv-trust span {
    color: rgba(255,255,255,.72) !important;
  }
}
/* SEYLAC-MOBILE-BLACK-HERO-V1:END */

/* SEYLAC-MOBILE-BLACK-HERO-V2:START */
@media (max-width: 760px) {
  /*
   * Strong selector overrides the older transparent/blue mobile rule.
   * Hero image remains completely unchanged.
   */
  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy {
    background-color: #050505 !important;
    background-image:
      radial-gradient(
        circle at 92% 8%,
        rgba(255,255,255,.09) 0,
        rgba(255,255,255,0) 34%
      ),
      linear-gradient(
        145deg,
        #171717 0%,
        #090909 52%,
        #000000 100%
      ) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy .shv-label {
    color: rgba(255,255,255,.88) !important;
  }

  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy h1 {
    color: #ffffff !important;
  }

  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy h1 .shv-title-line:last-child {
    color: #ffc928 !important;
  }

  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy > p {
    color: rgba(255,255,255,.76) !important;
  }

  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy .shv-button-light {
    color: #101820 !important;
    border-color: #ffc247 !important;
    background-color: #ffc247 !important;
    background-image: linear-gradient(
      135deg,
      #ffd05a 0%,
      #f4b72f 100%
    ) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,.34) !important;
  }

  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy .shv-button-ghost {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.62) !important;
    background-color: rgba(255,255,255,.07) !important;
    background-image: none !important;
  }

  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy .shv-trust,
  html body main .shv-home section.shv-hero#home
  > .shv-hero-grid
  > .shv-hero-copy .shv-trust span {
    color: rgba(255,255,255,.72) !important;
  }
}
/* SEYLAC-MOBILE-BLACK-HERO-V2:END */

/* More Tools mobile layout repair V2: two headline lines and separate full-width benefits. */
@media (max-width:760px) {
  html body main .shv-home .sx-features .sx-tools__copy #sx-tools-title {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    font-size:clamp(38px,10vw,44px) !important;
    font-weight:700 !important;
    line-height:1.08 !important;
    letter-spacing:-.045em !important;
    white-space:normal !important;
  }
  html body main .shv-home .sx-features .sx-tools__copy #sx-tools-title > span {
    display:block !important;
    width:auto !important;
    max-width:100% !important;
    font-size:inherit !important;
    line-height:inherit !important;
    white-space:nowrap !important;
  }
  html body main .shv-home .sx-features .sx-tools__copy #sx-tools-title > span:first-child .sx-type-accent {
    display:inline !important;
    width:auto !important;
    max-width:none !important;
    font-size:inherit !important;
    line-height:inherit !important;
    white-space:nowrap !important;
  }
  html body main .shv-home .sx-features .sx-tools .sx-tools__copy .sx-tools__proof {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
    gap:12px !important;
    margin-top:24px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  html body main .shv-home .sx-features .sx-tools .sx-tools__copy .sx-tools__proof > span,
  html body main .shv-home .sx-features .sx-tools .sx-tools__copy .sx-tools__proof > span:last-child {
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:20px 22px !important;
    border:0 !important;
    border-radius:12px !important;
    background:#10519c !important;
    box-shadow:none !important;
  }
  html body main .shv-home .sx-features .sx-tools .sx-tools__copy .sx-tools__proof > span strong {
    display:block !important;
    color:#ffd247 !important;
    font-size:17px !important;
    line-height:1.3 !important;
  }
  html body main .shv-home .sx-features .sx-tools .sx-tools__copy .sx-tools__proof > span small {
    display:block !important;
    margin-top:5px !important;
    color:#fff !important;
    font-size:15px !important;
    line-height:1.4 !important;
  }
  html body main .shv-home .sx-features .sx-tools__cards {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
    width:100% !important;
  }
  html body main .shv-home .sx-features .sx-tools__cards > .sx-tools__card {
    grid-column:auto !important;
    width:100% !important;
    min-width:0 !important;
  }
}
