/* Homepage visual rhythm. Append after home-revisions.css; no business copy or media URLs. */
body :is(.index-product, .index-service-swp, .team-one--home, .index-solution, .index-about, .index-news) {
  --home-surface: #fff;
  --home-surface-soft: #f5f6f8;
  --home-line: #e5e7eb;
  --home-ink: #20242a;
  --home-muted: #667085;
  --home-radius: 16px;
  padding-top: 88px;
  padding-bottom: 88px;
}
body :is(.index-product, .index-service-swp, .index-solution, .index-news) { background: var(--home-surface); }
body :is(.team-one--home, .index-about) { background: var(--home-surface-soft); }
body :is(.index-product, .index-service-swp, .team-one--home, .index-solution, .index-about, .index-news) > .container {
  max-width: 1320px;
  padding-left: 24px;
  padding-right: 24px;
}
body :is(.index-product, .index-service-swp, .index-solution, .index-news) .sec-title {
  margin-top: 0;
  padding-bottom: 36px;
}
body :is(.index-product, .index-service-swp, .team-one--home, .index-solution, .index-news) .sec-title__title,
body .team-one--home .sec-title .sec-title__title {
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.35;
  color: var(--home-ink);
}
body :is(.index-product, .index-service-swp, .team-one--home, .index-solution, .index-about, .index-news) .sec-title__tagline {
  letter-spacing: .14em;
}

/* Existing generated service photographs remain the main focus. */
body .index-service-swp > :is(.project-three__bg, .project-three__element, .project-three__element-two) { display: none; }
body .index-service-swp .swiper { max-width: 1180px; }
body .index-service-swp .project-card {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-surface);
  box-shadow: 0 12px 32px rgba(32,36,42,.045);
}
body .index-service-swp .project-card__thumb,
body .index-service-swp .project-card__thumb:hover {
  border: 0 !important;
  border-radius: 0;
}
body .index-service-swp .project-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
}
body .index-service-swp .project-card .project-card__content::before { display: none; }
body .index-service-swp .project-card__content__text { color: var(--home-muted); line-height: 1.85; }
body .index-service-swp .service-carousel-controls { margin-top: 28px; }
body .index-service-swp .service-carousel-controls .swiper-pagination-bullet { border-color: var(--home-surface); }

/* Applications use the same light image-and-copy cards as the technical section. */
body .team-one--home .team-one__bg { display: none; }
body .team-one--home .team-one__top { margin-bottom: 36px; }
body .team-one--home .sec-title { margin-top: 0; padding-bottom: 0; }
body .team-one--home .service-three__item {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-surface);
  box-shadow: 0 8px 26px rgba(32,36,42,.045);
}
body .team-one--home .service-three__thumb,
body .team-one--home .service-three__thumb > div {
  border-radius: 0;
  background: var(--home-surface-soft);
}
body .team-one--home .service-three__thumb { flex: 0 0 auto; height: auto; }
body .team-one--home .service-three__thumb > div { aspect-ratio: 3 / 2; }
body .team-one--home .service-three__thumb::after { display: none; }
body .team-one--home .service-three__thumb img,
body .team-one--home .service-three__item:hover .service-three__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  transform: none;
  filter: none;
}
body .team-one--home .service-three__content {
  position: relative;
  inset: auto;
  flex: 1;
  margin: 0;
  padding: 24px;
  background: var(--home-surface);
}
body .team-one--home .service-three__content__title {
  color: var(--home-ink);
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
}
body .team-one--home .service-three__content__title a:hover { color: var(--brand-primary, #f3132b); }
body .team-one--home .service-three__content__text {
  display: block !important;
  height: auto !important;
  padding-top: 12px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.8;
}
body .team-one--home .service-three__content__text > div {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Core technology retains its four existing cards and backend imagery. */
body .index-solution .row > [class*="col-"] { display: flex; }
body .index-solution .service-card {
  width: 100%;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: 0 8px 26px rgba(32,36,42,.045);
}
body .index-solution .service-card__image { background: #eef0f3; aspect-ratio: 3 / 2; }
body .index-solution .service-card__image img,
body .index-solution .service-card:hover .service-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  transform: none;
}
body .index-solution .service-card__title__box,
body .index-solution .service-card:hover .service-card__title__box { padding: 24px; background: var(--home-surface); }
body .index-solution .service-card__title { color: var(--home-ink); font-size: 19px; line-height: 1.6; }
body .index-solution .service-card__text { color: var(--home-muted); font-size: 14px; line-height: 1.8; }

/* Keep authentic company photographs and the approved layered composition. */
body .index-about { padding-top: 100px; padding-bottom: 88px; }
body .index-about .about-three__thumb > img { box-shadow: 0 10px 28px rgba(32,36,42,.07); }
body .index-about .about-three__thumb__small { box-shadow: 0 8px 24px rgba(32,36,42,.09); }
body .index-about .about-three__thumb__small > img { box-shadow: none; }
body .index-about .about-three__funfact { box-shadow: 0 8px 24px rgba(32,36,42,.09); }
body .index-about .about-three__funfact__bg { display: none; }
body .index-about .about-two__feature { border-color: var(--home-line); }
body .index-about .about-two__top__text { color: var(--home-muted); }

/* Remove the noisy radiating texture before the existing dark footer. */
body .index-news > .blog-three__bg { display: none; }
body .index-news .blog-card-three {
  border-color: var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: 0 8px 26px rgba(32,36,42,.045);
}

@media (min-width: 992px) {
  body .index-service-swp .project-card .project-card__content { padding: 34px 42px; }
  body .index-service-swp .project-card__content__title { font-size: 28px; line-height: 1.5; }
}
@media (max-width: 991px) {
  body :is(.index-product, .index-service-swp, .team-one--home, .index-solution, .index-about, .index-news) { padding-top: 68px; padding-bottom: 68px; }
  body .index-about { padding-top: 90px; }
  body .team-one--home .service-three__content,
  body .index-solution .service-card__title__box,
  body .index-solution .service-card:hover .service-card__title__box { padding: 22px; }
  body .index-service-swp .project-card__content { margin-top: 0; padding: 26px; }
  body .index-service-swp .project-card__content__inner,
  body .index-service-swp .project-card__content__text { padding-left: 0; padding-right: 0; }
  body .index-service-swp .project-card__content__inner { padding-top: 0; }
  body .index-service-swp .wallox-btn { margin-left: 0; margin-right: 0; }
}
@media (max-width: 575px) {
  body :is(.index-product, .index-service-swp, .team-one--home, .index-solution, .index-about, .index-news) { padding-top: 56px; padding-bottom: 56px; }
  body .index-about { padding-top: 78px; }
  body :is(.index-product, .index-service-swp, .team-one--home, .index-solution, .index-about, .index-news) > .container { padding-left: 18px; padding-right: 18px; }
  body .team-one--home .service-three__content,
  body .index-solution .service-card__title__box,
  body .index-solution .service-card:hover .service-card__title__box { padding: 20px; }
  body .team-one--home .team-one__top { margin-bottom: 28px; }
  body :is(.index-product, .index-service-swp, .index-solution, .index-news) .sec-title { padding-bottom: 28px; }
  body .index-service-swp .project-card__content__title { font-size: 22px; }
}

/* Alternate quiet surfaces with faint API-generated material textures. */
body :is(.index-service-swp, .team-one--home, .index-solution, .index-about) {
  position: relative;
  isolation: isolate;
}
body :is(.index-service-swp, .team-one--home, .index-solution, .index-about) > .zgdz-section-background {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: normal;
  opacity: .12;
}
body .index-service-swp { background: #f3f5f7; }
body .index-service-swp > .zgdz-section-background { opacity: .28; }
body .index-service-swp .sec-title__title,
body .index-service-swp .project-card__content__title { color: var(--home-ink); }
body .index-service-swp .sec-title__tagline { color: var(--brand-primary, #f3132b); }
body .index-service-swp .service-carousel-controls :is(.service-carousel-prev, .service-carousel-next) {
  color: var(--home-ink);
  border-color: rgba(32,36,42,.16);
  background: rgba(255,255,255,.86);
}
body .index-service-swp .service-carousel-controls :is(.service-carousel-prev, .service-carousel-next):hover {
  background: var(--brand-primary, #f3132b);
  border-color: var(--brand-primary, #f3132b);
  color: #fff;
}
body .index-service-swp .service-carousel-controls .swiper-pagination-bullet { background: #cbd1d8; }
body .index-service-swp .service-carousel-controls .swiper-pagination-bullet-active { background: var(--brand-primary, #f3132b); }
body .team-one--home { background: #fff; }
body .team-one--home > .zgdz-section-background { opacity: .10; }
body .index-solution { background: #f6f7f8; }
body .index-solution > .zgdz-section-background { opacity: .30; }
body .index-about { background: #fff; }
body .index-about > .zgdz-section-background { opacity: .10; }
body .index-about .about-two__right {
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
}
@media (max-width: 991px) {
  body .index-about .about-two__right { padding: 24px; }
}
@media (max-width: 575px) {
  body :is(.index-service-swp, .team-one--home, .index-solution, .index-about) > .zgdz-section-background { background-position: center; }
  body .index-about .about-two__right { padding: 20px; }
}


