/* =========================================================
   10. SERVICES CTA
   ========================================================= */

.services-cta {
  padding: 110px 28px 100px;

  color: var(--ink);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 55px 70px;
}

/* =========================================================
   SERVICES — LEFT COLUMN
   ========================================================= */

.services--left {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------
   Services Copy
   --------------------------------------------------------- */

.services-copy {
  max-width: 700px;
  margin-bottom: 48px;
}

.services-copy .eyebrow {
  margin-bottom: 20px;
  color: var(--ink);
}

.services-copy h2 {
  margin: 0 0 22px;

  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.services-copy h2 em {
  color: var(--green-soft, #1fab7a);
  font-style: normal;
}

.services-copy > p {
  max-width: 570px;
  margin: 0;

  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================================
   SERVICES — SERVICE OPTIONS
   ========================================================= */

.services-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  position: relative;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;

  min-height: 170px;
  padding: 25px;

  background: #21332e;
  border: 1px solid #344943;
  border-radius: 9px;

  color: #ffffff;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);

  background: #263a34;
  border-color: #496158;

  box-shadow: 0 14px 30px #173a3020;
}

/* ---------------------------------------------------------
   Service Icon
   --------------------------------------------------------- */

.service-card-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: var(--coral);
  border-radius: 50%;

  color: var(--ink);

  font-size: 24px;
  font-weight: 700;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover .service-card-icon {
  background: var(--yellow);
  transform: rotate(5deg);
}

/* ---------------------------------------------------------
   Service Card Content
   --------------------------------------------------------- */

.service-card span {
  display: block;
  margin-bottom: 8px;

  color: #7f968d;

  font:
    600 9px "DM Mono",
    monospace;

  letter-spacing: 0.08em;
}

.service-card h3 {
  margin: 0 0 9px;

  color: #ffffff;

  font-family: "Inter", Arial, sans-serif;
  font-size: 30px;
  font-weight: 750;

  line-height: 1;
  letter-spacing: -0.035em;
}

.service-card p {
  max-width: 390px;
  margin: 0;

  color: #aebdb7;

  font-size: 12px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Service Card Arrow
   --------------------------------------------------------- */

.service-card-arrow {
  align-self: end;

  color: var(--mint);

  font-size: 20px;
  font-weight: 400;

  transition: transform 0.2s ease;
}

.service-card:hover .service-card-arrow {
  transform: translateX(4px);
}

/* =========================================================
   SERVICES — RIGHT IMAGE
   ========================================================= */

.services-right {
  position: relative;

  width: 100%;
  min-width: 0;
  min-height: 100%;

  display: flex;
  align-items: stretch;
  justify-content: stretch;

  overflow: hidden;

  border-radius: 12px;
}

/* =========================================================
   SERVICES — RIGHT VISUAL
   ========================================================= */

.services-right {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* ---------------------------------------------------------
   Soft Background Glow
   --------------------------------------------------------- */

.services-glow {
  position: absolute;

  width: 430px;
  height: 430px;

  right: 20px;
  top: 50%;

  transform: translateY(-50%);

  background: radial-gradient(
    circle,
    rgba(57, 230, 164, 0.18) 0%,
    rgba(57, 230, 164, 0.08) 35%,
    rgba(57, 230, 164, 0) 72%
  );

  border-radius: 50%;

  pointer-events: none;
}

/* ---------------------------------------------------------
   Decorative Orbits
   --------------------------------------------------------- */

.services-orbit {
  position: absolute;

  border: 1px solid #bfd4ca;
  border-radius: 50%;

  pointer-events: none;
}

.services-orbit-one {
  width: 430px;
  height: 430px;

  right: 15px;
  top: 50%;

  transform: translateY(-50%);
}

.services-orbit-two {
  width: 540px;
  height: 540px;

  right: -40px;
  top: 50%;

  transform: translateY(-50%);

  border-style: dashed;
  opacity: 0.75;
}

/* ---------------------------------------------------------
   Person Image
   --------------------------------------------------------- */

.services-image {
  position: relative;

  z-index: 2;

  display: block;

  width: 100%;
  max-width: 520px;
  height: 650px;
  scale: 1.2;

  object-fit: contain;
  object-position: center;

  filter: drop-shadow(0 25px 35px #173a3020);
}

/* ---------------------------------------------------------
   Floating Information Cards
   --------------------------------------------------------- */

.services-float-card {
  position: absolute;

  z-index: 4;

  display: flex;
  flex-direction: column;
  gap: 4px;

  padding: 12px 15px;

  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(219, 225, 220, 0.85);
  border-radius: 8px;

  box-shadow: 0 12px 30px #173a3020;

  backdrop-filter: blur(7px);
}

/* Small label */

.services-float-card span {
  color: #71817b;

  font:
    600 8px "DM Mono",
    monospace;

  letter-spacing: 0.07em;
}

/* Main text */

.services-float-card strong {
  color: var(--ink);

  font-size: 11px;
  font-weight: 750;

  letter-spacing: -0.015em;
}

/* ---------------------------------------------------------
   Top Floating Card
   --------------------------------------------------------- */

.services-float-top {
  top: 115px;
  right: 5px;

  transform: rotate(2deg);
}

/* ---------------------------------------------------------
   Bottom Floating Card
   --------------------------------------------------------- */

.services-float-bottom {
  bottom: 115px;
  left: 5px;

  transform: rotate(-2deg);
}

/* ---------------------------------------------------------
   Subtle Floating Animation
   --------------------------------------------------------- */

.services-float-top {
  animation: servicesFloatTop 2s ease-in-out infinite;
}

.services-float-bottom {
  animation: servicesFloatBottom 2s ease-in-out infinite;
}

@keyframes servicesFloatTop {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }

  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}

@keyframes servicesFloatBottom {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(7px) rotate(-2deg);
  }
}

/*
   If the image is a transparent PNG/WebP cutout of a person,
   use this instead of object-fit: cover:

.services-image {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: bottom center;
}
*/

/* =========================================================
   SERVICES — BOTTOM CTA
   ========================================================= */

.services-bottom {
  grid-column: 1 / -1;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  margin-top: 5px;
  padding-top: 22px;

  border-top: 1px solid var(--line);
}

.services-bottom > span {
  display: flex;
  align-items: center;
  gap: 9px;

  color: var(--muted);

  font:
    500 9px "DM Mono",
    monospace;

  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-bottom > span i {
  width: 6px;
  height: 6px;

  flex-shrink: 0;

  background: var(--mint);
  border-radius: 50%;
}

.services-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--ink);

  font-size: 12px;
  font-weight: 700;

  text-decoration: none;

  transition:
    gap 0.2s ease,
    color 0.2s ease;
}

.services-bottom > a span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;

  transition: transform 0.2s ease;
}

.services-bottom > a:hover {
  gap: 15px;
  color: var(--mint);
}

.services-bottom > a:hover span {
  transform: translateX(2px);
  color: var(--mint);
}

/* =========================================================
   SERVICES — TABLET
   ========================================================= */

@media (max-width: 950px) {
  .services-cta {
    padding: 90px 28px 90px;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .services--left {
    width: 100%;
  }

  .services-copy {
    max-width: 650px;
  }

  /*
     Keep the image visible on tablet, but give it
     a more controlled height.
  */

  .services-right {
    width: 100%;
    min-height: 500px;
    max-height: 600px;
  }

  .services-image {
    width: 100%;
    height: 500px;
    min-height: 0;
  }

  .services-bottom {
    grid-column: 1;
  }
}

/* =========================================================
   SERVICES — MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .services-cta {
    padding: 75px 21px 80px;
  }

  .services-container {
    display: block;
  }

  /* -------------------------------------------------------
     Left Column
     ------------------------------------------------------- */

  .services--left {
    width: 100%;
  }

  .services-copy {
    margin-bottom: 35px;
  }

  .services-copy .eyebrow {
    margin-bottom: 17px;
  }

  .services-copy h2 {
    margin-bottom: 18px;

    font-size: 42px;
    line-height: 0.96;
  }

  .services-copy > p {
    font-size: 14px;
    line-height: 1.65;
  }

  /* -------------------------------------------------------
     Service Cards
     ------------------------------------------------------- */

  .services-options {
    gap: 14px;
  }

  .service-card {
    grid-template-columns: auto 1fr auto;
    gap: 13px;

    min-height: 0;

    padding: 18px 16px;
  }

  .service-card-icon {
    width: 38px;
    height: 38px;

    font-size: 19px;
  }

  .service-card span {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .service-card h3 {
    margin-bottom: 7px;

    font-size: 22px;
    line-height: 1;
  }

  .service-card p {
    font-size: 10px;
    line-height: 1.5;
  }

  .service-card-arrow {
    font-size: 17px;
  }

  /* -------------------------------------------------------
     Hide Image Completely
     ------------------------------------------------------- */

  .services-right {
    display: none;
  }

  /* -------------------------------------------------------
     Bottom CTA
     ------------------------------------------------------- */

  .services-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 17px;

    margin-top: 35px;
    padding-top: 20px;
  }

  .services-bottom > a {
    font-size: 12px;
  }
}

/* =========================================================
   SERVICES — VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {
  .service-card {
    grid-template-columns: auto 1fr;
  }

  .service-card-arrow {
    display: none;
  }

  .service-card h3 {
    font-size: 20px;
  }
}

/* =========================================================
   SERVICES CTA — RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {
  .services-cta {
    padding: 85px 28px 90px;
  }

  .services-options {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 165px;
  }
}

@media (max-width: 600px) {
  .services-cta {
    padding: 70px 21px 75px;
  }

  .services-copy {
    margin-bottom: 35px;
  }

  .services-copy h2 {
    font-size: 42px;
  }

  .services-copy > p {
    font-size: 14px;
  }

  .services-options {
    gap: 12px;
  }

  .service-card {
    grid-template-columns: auto 1fr;
    gap: 13px;

    min-height: 0;
    padding: 20px;
  }

  .service-card-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 11px;
  }

  .service-card-arrow {
    display: none;
  }

  .services-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
