/*
Theme Name: BusiProf Pro Child - 51ZOT
Theme URI: https://www.51zot.com/
Description: 51zot.com homepage redesign child theme for BusiProf Pro.
Author: Hangzhou Dongyao Information Technology Co., Ltd.
Template: busiprof-pro
Version: 1.0.0
Text Domain: busiprof-pro-child
*/

:root {
  --zot-blue: #0878f9;
  --zot-blue-dark: #0562d0;
  --zot-navy: #071a33;
  --zot-ink: #101f35;
  --zot-muted: #66758a;
  --zot-line: #dce5ef;
  --zot-soft: #f5f8fc;
  --zot-white: #ffffff;
  --zot-radius: 8px;
  --zot-shadow: 0 16px 45px rgba(9, 31, 59, 0.08);
}

body.zot-home-redesign {
  color: var(--zot-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.zot-home-redesign .navbar {
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  border-bottom: 1px solid rgba(16, 31, 53, 0.08);
  box-shadow: none;
  margin-bottom: 0;
  min-height: 76px;
}

body.zot-home-redesign .navbar > .container {
  min-height: 76px;
}

body.zot-home-redesign .navbar-brand {
  align-items: center;
  display: flex;
  min-height: 76px;
  padding-block: 10px;
}

body.zot-home-redesign .navbar-brand img {
  max-height: 50px;
  width: auto;
}

body.zot-home-redesign .navbar-nav > li > a {
  color: #203047;
  font-weight: 600;
  line-height: 26px;
  padding: 25px 18px;
  transition: color 160ms ease;
}

body.zot-home-redesign .navbar-nav > li > a:hover,
body.zot-home-redesign .navbar-nav > li > a:focus,
body.zot-home-redesign .navbar-nav > .active > a,
body.zot-home-redesign .navbar-nav > .active > a:hover,
body.zot-home-redesign .navbar-nav > .active > a:focus {
  background: transparent;
  color: var(--zot-blue);
}

body.zot-home-redesign .navbar-nav > .active > a::after {
  background: var(--zot-blue);
  bottom: 0;
  content: "";
  height: 2px;
  left: 18px;
  position: absolute;
  right: 18px;
}

body.zot-home-redesign .navbar-nav > li.zot-menu-cta > a {
  background: var(--zot-blue);
  border-radius: 6px;
  color: #fff;
  line-height: 20px;
  margin: 17px 0 17px 16px;
  padding: 11px 18px;
}

body.zot-home-redesign .navbar-nav > li.zot-menu-cta > a:hover,
body.zot-home-redesign .navbar-nav > li.zot-menu-cta > a:focus {
  background: var(--zot-blue-dark);
  color: #fff;
}

.zot-home,
.zot-home *,
.zot-home *::before,
.zot-home *::after {
  box-sizing: border-box;
}

.zot-home {
  background: var(--zot-white);
  overflow: hidden;
}

.zot-shell {
  margin-inline: auto;
  max-width: 1170px;
  width: calc(100% - 48px);
}

.zot-section {
  padding-block: 92px;
}

.zot-section--soft {
  background: var(--zot-soft);
}

.zot-eyebrow {
  color: var(--zot-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.zot-section-heading {
  color: var(--zot-ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0;
}

.zot-section-heading::after {
  background: var(--zot-blue);
  content: "";
  display: block;
  height: 2px;
  margin: 20px auto 0;
  width: 34px;
}

.zot-section-intro {
  color: var(--zot-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 24px auto 0;
  max-width: 740px;
}

.zot-section-header {
  margin: 0 auto 48px;
  max-width: 820px;
  text-align: center;
}

.zot-section-header--split {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 0 38px;
  max-width: none;
  text-align: left;
}

.zot-section-header--split .zot-section-heading::after {
  margin-left: 0;
}

.zot-link {
  align-items: center;
  color: var(--zot-blue);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
}

.zot-link:hover,
.zot-link:focus {
  color: var(--zot-blue-dark);
  text-decoration: none;
}

.zot-link__arrow {
  transition: transform 160ms ease;
}

.zot-link:hover .zot-link__arrow,
.zot-link:focus .zot-link__arrow {
  transform: translateX(3px);
}

.zot-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease, transform 160ms ease;
}

.zot-button:hover,
.zot-button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.zot-button--primary {
  background: var(--zot-blue);
  border-color: var(--zot-blue);
  color: #fff;
}

.zot-button--primary:hover,
.zot-button--primary:focus {
  background: var(--zot-blue-dark);
  border-color: var(--zot-blue-dark);
  color: #fff;
}

.zot-button--ghost {
  background: rgba(4, 17, 34, 0.38);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.zot-button--ghost:hover,
.zot-button--ghost:focus {
  background: #fff;
  border-color: #fff;
  color: var(--zot-navy);
}

.zot-button--outline {
  background: transparent;
  border-color: var(--zot-blue);
  color: var(--zot-blue);
}

.zot-button--outline:hover,
.zot-button--outline:focus {
  background: var(--zot-blue);
  color: #fff;
}

.zot-home a:focus-visible,
body.zot-home-redesign .navbar a:focus-visible {
  outline: 3px solid rgba(8, 120, 249, 0.42);
  outline-offset: 3px;
}

/* Hero */
.zot-hero {
  background-color: var(--zot-navy);
  background-image: linear-gradient(
      90deg,
      rgba(3, 19, 40, 0.98) 0%,
      rgba(4, 28, 59, 0.92) 42%,
      rgba(4, 26, 52, 0.42) 74%,
      rgba(4, 20, 40, 0.74) 100%
    ),
    var(--zot-hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: 570px;
  position: relative;
}

.zot-hero::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 13, 29, 0.4));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.zot-hero__inner {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  min-height: 570px;
  padding-block: 68px 54px;
  position: relative;
  z-index: 1;
}

.zot-hero__content {
  max-width: 720px;
}

.zot-hero .zot-eyebrow {
  color: #a7cfff;
}

.zot-hero h1 {
  color: #fff;
  font-size: clamp(43px, 4.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

.zot-hero__summary {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.9;
  margin: 24px 0 0;
  max-width: 690px;
}

.zot-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.zot-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.zot-hero__proof li {
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
}

.zot-hero__check {
  align-items: center;
  background: rgba(8, 120, 249, 0.22);
  border: 1px solid rgba(112, 179, 255, 0.48);
  border-radius: 50%;
  color: #8cc4ff;
  display: inline-flex;
  font-size: 10px;
  height: 17px;
  justify-content: center;
  width: 17px;
}

.zot-hero__metrics {
  align-self: end;
  background: rgba(3, 20, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
  padding: 22px 8px;
}

.zot-hero__metric {
  padding-inline: 15px;
  text-align: center;
}

.zot-hero__metric + .zot-hero__metric {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.zot-hero__metric strong {
  color: #fff;
  display: block;
  font-size: 23px;
  line-height: 1.2;
}

.zot-hero__metric span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 7px;
}

/* Services */
.zot-services {
  background: #fff;
}

.zot-services__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zot-service-card {
  background: #fff;
  border: 1px solid var(--zot-line);
  border-radius: var(--zot-radius);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 30px 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease,
    transform 180ms ease;
}

.zot-service-card:hover {
  border-color: #b9d5f5;
  box-shadow: var(--zot-shadow);
  transform: translateY(-3px);
}

.zot-icon {
  color: var(--zot-blue);
  display: inline-flex;
  height: 46px;
  width: 46px;
}

.zot-icon svg {
  height: 100%;
  stroke: currentColor;
  width: 100%;
}

.zot-service-card h3 {
  color: var(--zot-ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.4;
  margin: 24px 0 12px;
}

.zot-service-card p {
  color: var(--zot-muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.zot-service-card .zot-link {
  margin-top: auto;
}

.zot-diagnostics {
  align-items: center;
  background: linear-gradient(90deg, #eef6ff 0%, #f8fbff 100%);
  border: 1px solid #dceafa;
  border-radius: var(--zot-radius);
  display: grid;
  gap: 24px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 30px;
  padding: 24px 28px;
}

.zot-diagnostics__icon {
  align-items: center;
  background: #d8eaff;
  border-radius: 7px;
  color: var(--zot-blue);
  display: flex;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.zot-diagnostics__icon .zot-icon {
  height: 42px;
  width: 42px;
}

.zot-diagnostics h2 {
  font-size: 22px;
  font-weight: 750;
  margin: 0 0 7px;
}

.zot-diagnostics p {
  color: var(--zot-muted);
  line-height: 1.75;
  margin: 0;
}

.zot-diagnostics__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.zot-diagnostics__tags span {
  color: #315a87;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.zot-diagnostics__tags span + span::before {
  color: #91a9c3;
  content: "/";
  margin-right: 6px;
}

/* Cases */
.zot-cases__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zot-case-card {
  background: #fff;
  border: 1px solid #e3eaf2;
  border-radius: var(--zot-radius);
  box-shadow: 0 8px 28px rgba(12, 37, 68, 0.04);
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.zot-case-card:hover {
  box-shadow: var(--zot-shadow);
  transform: translateY(-3px);
}

.zot-case-card__media {
  background: linear-gradient(135deg, #0a3764, #0a79e8);
  height: 190px;
  overflow: hidden;
  position: relative;
}

.zot-case-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
  width: 100%;
}

.zot-case-card:hover .zot-case-card__media img {
  transform: scale(1.025);
}

.zot-case-card__media--empty::after {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  inset: 0;
  position: absolute;
}

.zot-case-card__tag {
  background: #fff;
  border-radius: 4px;
  color: var(--zot-blue);
  font-size: 12px;
  font-weight: 700;
  left: 18px;
  padding: 6px 10px;
  position: absolute;
  top: 16px;
  z-index: 1;
}

.zot-case-card__body {
  padding: 23px 24px 25px;
}

.zot-case-card h3 {
  font-size: 21px;
  font-weight: 750;
  line-height: 1.4;
  margin: 0 0 8px;
}

.zot-case-card h3 a {
  color: var(--zot-ink);
  text-decoration: none;
}

.zot-case-card h3 a:hover,
.zot-case-card h3 a:focus {
  color: var(--zot-blue);
}

.zot-case-card__meta {
  color: #74859a;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.zot-case-card__excerpt {
  color: var(--zot-muted);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 20px;
  min-height: 73px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Clients */
.zot-clients {
  background: #fff;
}

.zot-client-logos {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 44px;
}

.zot-client-logo {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 70px;
}

.zot-client-logo img {
  filter: grayscale(1);
  height: auto;
  max-height: 46px;
  max-width: 150px;
  opacity: 0.52;
  transition: filter 180ms ease, opacity 180ms ease;
  width: auto;
}

.zot-client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.zot-clients__more {
  margin-top: 30px;
  text-align: center;
}

/* Contact CTA */
.zot-contact-cta {
  background-color: #08203e;
  background-image: linear-gradient(90deg, rgba(4, 22, 45, 0.97), rgba(5, 31, 61, 0.78)),
    var(--zot-cta-image);
  background-position: center 58%;
  background-size: cover;
  color: #fff;
  padding-block: 70px;
}

.zot-contact-cta__inner {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.zot-contact-cta .zot-eyebrow {
  color: #8dc5ff;
}

.zot-contact-cta h2 {
  color: #fff;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 780;
  margin: 0;
}

.zot-contact-cta p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin: 18px 0 0;
  max-width: 650px;
}

.zot-contact-cta__actions {
  display: flex;
  gap: 14px;
}

/* Existing footer, preserved from the parent theme. */
body.zot-home-redesign .footer-sidebar {
  background: #fff;
  border-top: 1px solid #e5ebf2;
  color: #65758a;
  padding-block: 32px;
}

body.zot-home-redesign .footer-sidebar a {
  color: #52647b;
}

body.zot-home-redesign .footer-sidebar a:hover,
body.zot-home-redesign .footer-sidebar a:focus {
  color: var(--zot-blue);
}

@media (max-width: 1199px) {
  .zot-hero__inner {
    gap: 38px;
    grid-template-columns: minmax(0, 1fr) 330px;
  }

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

  .zot-service-card {
    min-height: 270px;
  }
}

@media (max-width: 991px) {
  body.zot-home-redesign .navbar-nav > li > a {
    padding-inline: 10px;
  }

  body.zot-home-redesign .navbar-nav > li.zot-menu-cta > a {
    margin-left: 6px;
    padding-inline: 12px;
  }

  .zot-section {
    padding-block: 76px;
  }

  .zot-hero,
  .zot-hero__inner {
    min-height: auto;
  }

  .zot-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 80px 54px;
  }

  .zot-hero__metrics {
    max-width: 620px;
  }

  .zot-cases__grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zot-case-card__media {
    height: 160px;
  }

  .zot-client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zot-contact-cta__inner {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.zot-home-redesign .navbar,
  body.zot-home-redesign .navbar > .container,
  body.zot-home-redesign .navbar-brand {
    min-height: 68px;
  }

  body.zot-home-redesign .navbar-toggle {
    margin-top: 17px;
  }

  body.zot-home-redesign .navbar-nav > li > a {
    line-height: 22px;
    padding: 12px 18px;
  }

  body.zot-home-redesign .navbar-nav > .active > a::after {
    display: none;
  }

  body.zot-home-redesign .navbar-nav > li.zot-menu-cta > a {
    margin: 8px 15px 16px;
    text-align: center;
  }

  .zot-shell {
    width: calc(100% - 32px);
  }

  .zot-section {
    padding-block: 58px;
  }

  .zot-section-header {
    margin-bottom: 34px;
  }

  .zot-section-header--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .zot-section-heading {
    font-size: 30px;
  }

  .zot-section-intro {
    font-size: 15px;
  }

  .zot-hero {
    background-position: 62% center;
    display: block;
  }

  .zot-hero__inner {
    padding-block: 64px 44px;
  }

  .zot-hero h1 {
    font-size: clamp(37px, 10vw, 48px);
  }

  .zot-hero__summary {
    font-size: 15px;
    line-height: 1.8;
  }

  .zot-hero__actions,
  .zot-contact-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .zot-button {
    width: 100%;
  }

  .zot-hero__proof {
    gap: 12px 18px;
  }

  .zot-hero__metrics {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .zot-hero__metric {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-block: 16px;
    text-align: left;
  }

  .zot-hero__metric + .zot-hero__metric {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
  }

  .zot-hero__metric span {
    margin: 0;
    text-align: right;
  }

  .zot-services__grid,
  .zot-cases__grid {
    grid-template-columns: 1fr;
  }

  .zot-service-card {
    min-height: 0;
  }

  .zot-diagnostics {
    align-items: start;
    grid-template-columns: auto 1fr;
    padding: 22px;
  }

  .zot-diagnostics .zot-button {
    grid-column: 1 / -1;
  }

  .zot-case-card__media {
    height: 205px;
  }

  .zot-client-logos {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zot-contact-cta {
    padding-block: 58px;
  }
}

@media (max-width: 430px) {
  .zot-shell {
    width: calc(100% - 28px);
  }

  .zot-hero__inner {
    padding-top: 54px;
  }

  .zot-hero h1 {
    font-size: 36px;
  }

  .zot-hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .zot-diagnostics {
    grid-template-columns: 1fr;
  }

  .zot-diagnostics__icon {
    height: 64px;
    width: 64px;
  }

  .zot-case-card__media {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zot-home *,
  .zot-home *::before,
  .zot-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
