
/* =====================================================
   SERVICES SUBPAGES — Additional Styles
   ===================================================== */

/* ── Nav dropdown ── */
.nav__item { position: relative; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 200;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown arrow */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: #fff;
  border-left: 1px solid rgba(17,17,17,.08);
  border-top: 1px solid rgba(17,17,17,.08);
  transform: translateX(-50%) rotate(45deg);
}

.nav__dropdown-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .875rem;
  border-radius: 8px;
  font-size: .8125rem;
  font-weight: 500;
  color: #111;
  transition: background .15s ease, color .15s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.nav__dropdown-item:hover {
  background: #F4F2EE;
  color: #111;
}

.nav__dropdown-logo {
  width: 28px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Chevron on Services link */
.nav__link--has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.nav__link--has-dropdown svg {
  width: 12px; height: 12px;
  transition: transform .2s ease;
}
.nav__item:hover .nav__link--has-dropdown svg { transform: rotate(180deg); }

/* ── Service page hero ── */
.svc-hero {
  position: relative;
  width: 100%;
  min-height: 72vh;
  background: var(--gw-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.svc-hero__bg {
  position: absolute;
  inset: 0;
}
.svc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}
.svc-hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #111 0%, rgba(17,17,17,.88) 55%, rgba(17,17,17,.55) 100%);
}

.svc-hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(6rem,12vh,9rem) 0 clamp(4rem,8vh,6rem);
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.svc-hero__form-col {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .svc-hero__inner { grid-template-columns: 1fr; }
  .svc-hero__form-col { justify-content: flex-start; }
}

.svc-hero__back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.55);
  font-size: .8125rem;
  font-weight: 500;
  margin-bottom: 2.25rem;
  transition: color .2s;
  text-decoration: none;
}
.svc-hero__back:hover { color: rgba(255,255,255,.9); }
.svc-hero__back svg { width: 14px; height: 14px; }

.svc-hero__logo-wrap {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.svc-hero__logo {
  height: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 280px;
  object-fit: contain;
  /* Force white on dark bg when needed */
  filter: brightness(0) invert(1);
}

/* Logos with their own color that look fine on dark */
.svc-hero__logo--colored {
  filter: none;
}

.svc-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -.03em;
}

.svc-hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--gw-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}

.svc-hero__desc {
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 44rem;
  margin-bottom: 2.25rem;
}

/* ── Service page body ── */
.svc-body {
  background: var(--gw-bg);
  padding: clamp(4rem,8vh,7rem) 0;
}

.svc-body__inner {
  max-width: 72rem;
  margin: 0 auto;
}

/* Section blocks */
.svc-section {
  margin-bottom: clamp(3.5rem,6vw,5rem);
}

.svc-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  color: var(--gw-text);
  margin-bottom: 1.75rem;
  letter-spacing: -.02em;
}

/* Key Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: var(--radius);
}

.feature-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gw-accent);
  flex-shrink: 0;
  margin-top: .1rem;
  stroke-width: 2.5;
}

.feature-item span {
  font-size: .875rem;
  color: var(--gw-text);
  line-height: 1.55;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  padding: clamp(1.25rem,2vw,1.875rem);
  transition: box-shadow .4s ease;
}
.benefit-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); }

.benefit-card h3 {
  font-size: 1.0625rem;
  color: var(--gw-text);
  margin-bottom: .625rem;
}

.benefit-card p {
  font-size: .875rem;
  color: var(--gw-text-sec);
  line-height: 1.65;
}

/* Use cases grid */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.usecase-card {
  display: flex;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  background: var(--gw-dark);
  border-radius: var(--radius);
}

.usecase-card__num {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gw-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .875rem;
  color: var(--gw-text);
}

.usecase-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: .5rem;
}

.usecase-card p {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.why-item__icon {
  width: 1.375rem;
  height: 1.375rem;
  background: rgba(185,255,44,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.why-item__icon svg {
  width: .625rem;
  height: .625rem;
  color: var(--gw-accent);
  stroke-width: 3;
}

.why-item span {
  font-size: .875rem;
  color: var(--gw-text);
  line-height: 1.55;
}

/* CTA banner */
.svc-cta {
  background: var(--gw-dark);
  border-radius: 20px;
  padding: clamp(2.5rem,4vw,3.5rem);
  text-align: center;
}

.svc-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem,2vw,2rem);
  color: #fff;
  margin-bottom: .875rem;
  letter-spacing: -.02em;
}

.svc-cta p {
  color: rgba(255,255,255,.6);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: .9375rem;
  line-height: 1.7;
}

/* ── Services index page ── */
.services-index {
  background: var(--gw-bg);
  min-height: 100vh;
}

.services-index__hero {
  background: var(--gw-dark);
  padding: clamp(7rem,14vh,10rem) 0 clamp(4rem,7vh,6rem);
}

.services-index__hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem,5vw,4.5rem);
  color: #fff;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.services-index__hero p {
  font-size: clamp(.95rem,1.1vw,1.1rem);
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 40rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: clamp(3.5rem,6vw,5rem) 0;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 14px;
  padding: 1.875rem 1.5rem 1.5rem;
  cursor: pointer;
  transition: box-shadow .35s ease, transform .25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.10);
  transform: translateY(-3px);
}

.service-card__logo-wrap {
  height: 3rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-card__logo {
  max-height: 2.5rem;
  max-width: 10rem;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1rem;
  color: var(--gw-text);
  margin-bottom: .625rem;
  letter-spacing: -.01em;
}

.service-card p {
  font-size: .8125rem;
  color: var(--gw-text-sec);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gw-text);
  transition: gap .2s ease;
}
.service-card:hover .service-card__link { gap: .625rem; }
.service-card__link svg { width: 14px; height: 14px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
