/* =========================================================
   DC Bookkeeping — Services page
   ========================================================= */

.services-hero *,
.services-intro *,
.services-list-section *,
.services-process *,
.services-clients *,
.services-cta * {
  box-sizing: border-box;
}

.services-eyebrow {
  margin: 0 0 14px;
  color: #179447;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.services-eyebrow-light {
  color: #91e4a8;
}

/* Hero */

.services-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background:
    radial-gradient(
      circle at 2% 20%,
      rgba(91, 51, 125, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 98% 10%,
      rgba(32, 174, 82, 0.22),
      transparent 38%
    ),
    linear-gradient(
      115deg,
      #f7f1fa 0%,
      #ffffff 48%,
      #e3f7e8 100%
    );
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 78px;
}

.services-hero-copy h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: #29283d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.1rem, 5.5vw, 5.3rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.services-hero-copy h1 span {
  display: block;
  color: #5b337d;
}

.services-hero-text {
  max-width: 720px;
  margin: 0;
  color: #55596b;
  font-size: 1.1rem;
  line-height: 1.75;
}

.services-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.services-outline-button {
  border: 2px solid #5b337d;
  background: transparent;
  color: #5b337d;
  box-shadow: none;
}

.services-outline-button:hover {
  border-color: #5b337d;
  background: #5b337d;
  color: #ffffff;
}

.services-hero-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.12),
      transparent 40%
    ),
    linear-gradient(
      135deg,
      #3c2452,
      #603883
    );
  color: #ffffff;
  box-shadow: 0 30px 70px rgba(57, 35, 77, 0.25);
}

.services-card-label {
  margin: 0 0 10px;
  color: #8de2a5;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services-hero-card h2 {
  margin: 0 0 15px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  line-height: 1.25;
}

.services-hero-card > p:not(.services-card-label) {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.services-hero-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-hero-card li {
  position: relative;
  padding-left: 31px;
  font-weight: 600;
}

.services-hero-card li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #20ae52;
  color: #ffffff;
  font-size: 0.68rem;
}

/* Intro */

.services-intro {
  padding: 92px 0;
  background: #ffffff;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
}

.services-intro h2 {
  margin: 0;
  color: #29283d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.services-intro-grid > div:last-child {
  padding-top: 28px;
}

.services-intro-grid > div:last-child p {
  margin: 0 0 20px;
  color: #5d6071;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* Services */

.services-list-section {
  padding: 90px 0;
  background: #f7f7fa;
}

.services-section-heading {
  max-width: 780px;
  margin: 0 auto 55px;
  text-align: center;
}

.services-section-heading h2 {
  margin: 0 0 15px;
  color: #5b337d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.15rem, 3.6vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.services-section-heading > p:last-child {
  margin: 0;
  color: #686b78;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-detail-card {
  display: flex;
  min-height: 520px;
  padding: 30px;
  flex-direction: column;
  border: 1px solid #e4e3e9;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 13px 34px rgba(45, 39, 56, 0.07);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-detail-card:hover {
  border-color: rgba(32, 174, 82, 0.5);
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(45, 39, 56, 0.13);
}

.service-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}

.service-detail-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: #e1f6e7;
  color: #199e49;
  font-weight: 800;
}

.service-detail-top > span {
  color: #8a8b95;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail-card h3 {
  margin: 0 0 13px;
  color: #39254e;
  font-family: "Poppins", sans-serif;
  font-size: 1.55rem;
}

.service-detail-card > p {
  margin: 0 0 22px;
  color: #676a78;
  line-height: 1.7;
}

.service-detail-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.service-detail-card li {
  position: relative;
  padding-left: 24px;
  color: #4f5261;
  font-size: 0.92rem;
}

.service-detail-card li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #20ae52;
  font-weight: 800;
}

.service-detail-card > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #5b337d;
  font-weight: 700;
}

.service-detail-card > a span {
  color: #20ae52;
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.service-detail-card > a:hover span {
  transform: translateX(5px);
}

/* Process */

.services-process {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.08),
      transparent 36%
    ),
    linear-gradient(
      120deg,
      #342044,
      #5b337d
    );
}

.services-heading-light h2 {
  color: #ffffff;
}

.services-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.services-process-grid article {
  padding: 28px 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.services-process-grid article > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 21px;
  place-items: center;
  border-radius: 50%;
  background: #20ae52;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
}

.services-process-grid h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
}

.services-process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Clients */

.services-clients {
  padding: 90px 0;
  background: #ffffff;
}

.services-clients-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.services-clients h2 {
  margin: 0 0 17px;
  color: #29283d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.services-clients p {
  margin: 0;
  color: #626573;
  line-height: 1.75;
}

.services-client-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.services-client-types div {
  position: relative;
  padding: 22px 22px 22px 51px;
  border: 1px solid #e5e4ea;
  border-radius: 14px;
  background: #ffffff;
  color: #39254e;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(45, 39, 56, 0.06);
}

.services-client-types div::before {
  content: "✓";
  position: absolute;
  top: 20px;
  left: 21px;
  color: #20ae52;
  font-weight: 800;
}

/* CTA */

.services-cta {
  padding: 70px 0;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.13),
      transparent 38%
    ),
    linear-gradient(
      120deg,
      #15863f,
      #20ae52
    );
}

.services-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.services-cta h2 {
  max-width: 790px;
  margin: 0 0 11px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.services-cta p:not(.services-eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.services-white-button {
  flex-shrink: 0;
  border-color: #ffffff;
  background: #ffffff;
  color: #3f2854;
  box-shadow: none;
}

.services-white-button:hover {
  border-color: #5b337d;
  background: #5b337d;
  color: #ffffff;
}

/* Responsive */

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .services-hero-grid,
  .services-intro-grid,
  .services-clients-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-intro-grid > div:last-child {
    padding-top: 0;
  }

  .services-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .services-hero,
  .services-intro,
  .services-list-section,
  .services-process,
  .services-clients {
    padding: 68px 0;
  }

  .services-hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

  .services-hero-card {
    padding: 28px 24px;
  }

  .services-grid,
  .services-process-grid,
  .services-client-types {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    min-height: auto;
  }

  .services-cta {
    padding: 56px 0;
  }

  .services-cta .button {
    width: 100%;
  }
}