.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0.76) 58%, rgba(255, 255, 255, 0.30) 100%),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80') center center / cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(214, 31, 38, 0.16), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(214, 31, 38, 0.12), transparent 28%);
  pointer-events: none;
}

.hero-content,
.hero-cards,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(214, 31, 38, 0.08);
  color: var(--primary-dark);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 4.1rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  max-width: 780px;
  color: #111;
}

.hero p.lead {
  font-size: 1.1rem;
  color: #444;
  max-width: 650px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cards {
  margin-top: 2.5rem;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.mini-stat i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(214, 31, 38, 0.10);
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.mini-stat h6 {
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #111;
}

.mini-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
  max-width: 460px;
  margin-left: auto;
}

.hero-visual-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.hero-visual-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
}

.hero-visual-badge strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.hero-visual-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.service-card,
.contact-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
  transition: 0.28s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover,
.contact-card:hover,
.about-box:hover,
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.service-icon,
.contact-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(214, 31, 38, 0.14), rgba(17, 17, 17, 0.08));
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 14px 30px rgba(214, 31, 38, 0.10);
  border: 1px solid rgba(214, 31, 38, 0.10);
}

.service-card h3,
.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.service-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.service-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
  margin-bottom: 1rem;
}

.service-tag-link {
  text-decoration: none;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(214, 31, 38, 0.08), rgba(17, 17, 17, 0.03));
  color: #2b2f38;
  border: 1px solid rgba(214, 31, 38, 0.16);
  border-radius: 14px;
  padding: 0.82rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.service-tag i {
  color: var(--primary);
  font-size: 0.95rem;
}

.service-tag:hover {
  border-color: rgba(214, 31, 38, 0.35);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(214, 31, 38, 0.10);
}

.service-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  color: #475467;
  font-size: 0.95rem;
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-note i {
  color: var(--primary);
  font-size: 1rem;
}

.partner-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.partner-slider {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: partnerScroll 28s linear infinite;
  padding: 10px 0;
}

.partner-item {
  width: 170px;
  min-width: 170px;
  height: 92px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

.partner-item img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: 0.25s ease;
}

.partner-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-head .title-wrap h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  color: #111;
}

.gallery-head .title-wrap p {
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
  max-width: 720px;
}

.gallery-slider-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
  scrollbar-width: none;
}

.gallery-slider::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  min-width: 360px;
  max-width: 360px;
  scroll-snap-align: start;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  inset: auto 18px 18px 18px;
  background: rgba(17, 17, 17, 0.74);
  color: #fff;
  border-radius: 18px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.gallery-caption h4 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.gallery-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.about-wrap {
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
}

.contact-card a {
  color: #181818;
  font-weight: 700;
  word-break: break-word;
}

@media (max-width: 991.98px) {
  .hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(255, 255, 255, 0.86) 100%),
      url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80') center center / cover no-repeat;
    min-height: auto;
    padding: 80px 0;
  }

  .hero-visual-card {
    margin: 2rem auto 0;
  }

  .gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .gallery-item {
    min-width: 85vw;
    max-width: 85vw;
  }

  .hero-visual-card img {
    height: 360px;
  }

  .service-tag {
    width: 100%;
    justify-content: flex-start;
  }
}
