/* site_web/assets/css/services.css */

/* ============ Hero ============ */
.services-hero {
  position: relative;
  height: 110vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.services-hero__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.05);
  filter: blur(150px);
}
@media (min-width: 768px) { .services-hero__halo { width: 800px; height: 800px; } }

.services-hero__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18rem;
  height: auto;
  z-index: 0;
  opacity: 0.05;
}
@media (min-width: 768px) { .services-hero__icon { width: 28rem; } }

.services-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .services-hero__content { padding-inline: 3rem; } }
@media (min-width: 1024px) { .services-hero__content { padding-inline: 5rem; } }

.services-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
.services-hero__line {
  display: block;
  font-size: clamp(1.875rem, 6vw, 3rem);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .services-hero__line { margin-bottom: 1.5rem; } }

.services-hero__word-wrap {
  position: relative;
  display: block;
  height: 1.1em;
  overflow: hidden;
  font-size: clamp(3rem, 12vw, 6rem);
}
@media (min-width: 768px) { .services-hero__word-wrap { font-size: 5.5rem; } }
@media (min-width: 1024px) { .services-hero__word-wrap { font-size: 7rem; } }

.services-hero__word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out, filter 0.7s ease-out;
  background: linear-gradient(var(--gold), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.3);
  opacity: 0;
  transform: translateY(100%) scale(0.9);
  filter: blur(8px);
}
.services-hero__word[data-active="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.services-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.services-hero__scroll span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.3);
}
.services-hero__scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(212, 160, 23, 0.6), transparent);
}

/* ============ Service blocks ============ */
.services-blocks { position: relative; background: #000; }
.services-blocks__list > .service-block + .service-block {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 80vh;
  overflow: hidden;
}
@media (min-width: 768px) {
  .service-block { flex-direction: row; }
  .service-block:nth-child(even) { flex-direction: row-reverse; }
}

.service-block__media {
  position: relative;
  width: 100%;
  min-height: 50vh;
  overflow: hidden;
}
@media (min-width: 768px) { .service-block__media { width: 50%; min-height: 80vh; } }

.service-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}
.service-block:hover .service-block__media img { transform: scale(1.05); }

.service-block--contain .service-block__media img {
  object-fit: contain;
  background: #0a0a0a;
  padding: 2rem;
}
@media (min-width: 768px) { .service-block--contain .service-block__media img { padding: 4rem; } }

.service-block__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
  pointer-events: none;
}
@media (min-width: 768px) {
  .service-block__media::after {
    background: linear-gradient(to right, transparent, transparent, rgba(0, 0, 0, 0.3));
  }
}

.service-block__number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(212, 160, 23, 0.2);
  user-select: none;
  pointer-events: none;
}
@media (min-width: 768px) { .service-block__number { top: 2.5rem; left: 2.5rem; font-size: 6rem; } }

.service-block__text {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: #0a0a0a;
}
@media (min-width: 768px) { .service-block__text { width: 50%; padding: 3.5rem; } }
@media (min-width: 1024px) { .service-block__text { padding: 5rem; } }

.service-block__eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.25rem;
}

.service-block__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.875rem;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .service-block__title { font-size: 3rem; } }
@media (min-width: 1024px) { .service-block__title { font-size: 3.75rem; } }

.service-block__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 2rem;
  max-width: 36rem;
}
@media (min-width: 768px) { .service-block__desc { font-size: 1rem; } }

.service-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.service-block__tags span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, color 0.3s;
}
.service-block__tags span:hover { border-color: rgba(212, 160, 23, 0.3); color: #fff; }

/* ============ CTA ============ */
.services-cta { position: relative; padding-block: 6rem; background: #000; }
@media (min-width: 768px) { .services-cta { padding-block: 8rem; } }
.services-cta__inner { text-align: center; }
.services-cta__box {
  display: inline-block;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 160, 23, 0.3);
}
.services-cta__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .services-cta__text { font-size: 1.5rem; } }
