/* 8UP Media — human touch layer v2 (polish) */

.cursor,
.cursor-follower,
#cursor,
#cursor-follower {
  display: none !important;
}

body {
  cursor: auto !important;
}

/* ── Hero ── */
#page-home .hero {
  background: linear-gradient(135deg, #fffaf7 0%, #ffffff 50%, #fff5ee 100%) !important;
  display: block !important;
  align-items: stretch !important;
  min-height: auto !important;
  padding: 132px 0 56px !important;
  overflow: visible !important;
}

#page-home .hero-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  box-sizing: border-box;
}

#page-home .hero-inner {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 72px !important;
  align-items: center !important;
  grid-template-columns: 1.05fr 0.95fr !important;
}

#page-home .hero-visual,
#page-home .hero-human-visual {
  display: block !important;
}

#page-home .hero-content {
  display: flex !important;
  flex-direction: column !important;
}

#page-home .hero-label {
  margin-bottom: 18px !important;
}

#page-home .hero h1.h-display {
  margin-top: 0 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}

#page-home .hero .lead {
  margin-top: 24px !important;
  line-height: 1.75 !important;
  max-width: 520px !important;
}

.hero-bg,
.hero-grid {
  display: none !important;
}

.hero-label {
  background: #fff !important;
  border: 1px solid rgba(255, 101, 0, 0.22);
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #444 !important;
}

.hero-label::before {
  content: none !important;
}

.hero .lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #555;
  max-width: 540px;
}

/* Single clean hero photo — no overlap */
.hero-human-visual {
  position: relative;
  min-height: 0;
}

.hero-photo-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: none;
  transform: none;
}

.hero-photo-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-photo-secondary,
.hero-human-badge,
.hero-face-stack {
  display: none !important;
}

/* Trust bar — one row under text + image */
#page-home .hero-trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  margin: 48px 0 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

#page-home .hero-trust-card {
  background: #fff !important;
  border: none !important;
  border-right: 1px solid rgba(0, 0, 0, 0.07) !important;
  border-radius: 0 !important;
  padding: 22px 16px !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: none !important;
}

#page-home .hero-trust-card:last-child {
  border-right: none !important;
}

.hero-trust-num {
  font-size: 21px;
  font-weight: 800;
  color: #ff6500;
  line-height: 1.1;
}

.hero-trust-label {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  line-height: 1.4;
}

.hero-trust-row,
.hero-trust-item,
.hero-trust-faces {
  display: none !important;
}

/* Hero buttons — balanced sizing */
#page-home .hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-top: 40px !important;
}

#page-home .hero-actions .btn {
  padding: 13px 26px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#page-home .hero-actions .btn-primary {
  padding: 13px 28px !important;
}

/* Client logos in testimonials */
.testimonial-avatar--logo {
  background: #fff !important;
  border: 1px solid #ece8e4 !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.testimonial-avatar--logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 50% !important;
}

/* Single arrow on CTA buttons */
.btn-arrow::after {
  content: "" !important;
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  margin-left: 6px !important;
  vertical-align: -0.12em !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* ── Service cards — centered icons, single arrow ── */
.service-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-icon span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  line-height: 1 !important;
}

.service-icon svg {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
}

.service-link {
  gap: 6px !important;
}

.service-link svg {
  display: none !important;
}

.service-link::after {
  content: "" !important;
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat !important;
  transition: transform 0.25s ease !important;
}

.service-card:hover .service-link::after {
  transform: translateX(3px);
}

/* ── Life / culture section (replaces team faces) ── */
.human-life-section {
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
  border-top: 1px solid #f0ebe6;
  border-bottom: 1px solid #f0ebe6;
  padding: 80px 0;
}

.human-life-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.human-life-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.human-life-header p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.65;
}

.human-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.human-life-card {
  background: #fff;
  border: 1px solid #ece8e4;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.human-life-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 101, 0, 0.08);
}

.human-life-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f0eb;
}

.human-life-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.human-life-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.human-life-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.3;
}

.human-life-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

.human-life-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hide old team section remnants */
.human-team-section,
.human-team-grid,
.human-team-header,
.human-bts-strip {
  display: none !important;
}

/* ── Testimonials ── */
.testimonial-avatar {
  background: #f0ebe6 !important;
  overflow: hidden;
  padding: 0 !important;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-card {
  border-radius: 20px !important;
}

.testimonial-text {
  font-style: normal !important;
}

/* ── Misc warmth ── */
.service-card {
  border-radius: 20px !important;
}

.service-card:hover {
  background: #fffaf7 !important;
}

#page-home .pro-kpi-strip {
  margin: 64px auto 80px !important;
  max-width: 1320px !important;
  padding: 0 32px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  gap: 16px !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

#page-home .pro-kpi {
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 16px !important;
  padding: 32px 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.stats-band {
  background: linear-gradient(90deg, #fff5ee, #fffaf7, #fff5ee) !important;
}

.conv-lead-section {
  background: linear-gradient(135deg, #fffaf7, #fff) !important;
}

.human-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.human-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .human-life-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* Homepage hero responsive */
@media (max-width: 1040px) {
  #page-home .hero-wrap {
    padding: 0 20px;
  }

  #page-home .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  #page-home .hero-content {
    order: 1 !important;
  }

  #page-home .hero-visual {
    order: 2 !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  #page-home .hero .lead {
    max-width: none !important;
  }

  #page-home .pro-kpi-strip {
    margin: 48px auto 64px !important;
    padding: 0 20px !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  #page-home .pro-kpi {
    padding: 24px 18px !important;
  }
}

@media (max-width: 640px) {
  #page-home .hero {
    padding: 112px 0 36px !important;
  }

  #page-home .hero h1.h-display {
    font-size: clamp(1.85rem, 8vw, 2.35rem) !important;
  }

  #page-home .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 32px !important;
  }

  #page-home .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  #page-home .hero-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 36px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  #page-home .hero-trust-card {
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-radius: 12px !important;
    padding: 16px 12px !important;
  }

  #page-home .hero-trust-num {
    font-size: 18px !important;
  }

  #page-home .hero-trust-label {
    font-size: 11px !important;
  }

  #page-home .pro-kpi-strip {
    margin: 40px 16px 56px !important;
    padding: 0 !important;
    gap: 10px !important;
  }

  #page-home .pro-kpi-num {
    font-size: 1.5rem !important;
  }

  .testimonials-grid {
    gap: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .human-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
