/* Services page (/features) */

html:has(.services-page) {
  scroll-behavior: smooth;
}

body:has(.services-page) {
  background: #f6f1e8;
}

.services-page {
  --services-cream: #f6f1e8;
  --services-ink: #102033;
  --services-muted: #5d6b7c;
  font-family: var(--home-sans, "Source Sans 3", "Segoe UI", sans-serif);
  background: var(--services-cream);
  color: var(--services-ink);
}

.services-page h1,
.services-page h2,
.services-page h3 {
  font-family: var(--home-serif, "Playfair Display", Georgia, serif);
  color: var(--home-navy, #08111f);
}

.services-kicker {
  display: inline-block;
  color: var(--home-gold, #d4a843);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.services-kicker--on-dark {
  color: var(--home-gold-soft, #f0d78c);
}

.services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.services-btn--navy {
  background: var(--home-navy, #08111f);
  color: var(--home-gold, #d4a843) !important;
}

.services-btn--navy:hover {
  background: var(--home-navy-light, #132744);
  color: var(--home-gold-soft, #f0d78c) !important;
}

.services-btn--gold {
  background: var(--home-gold, #d4a843);
  color: var(--home-navy, #08111f) !important;
}

.services-btn--gold:hover {
  background: var(--home-gold-hover, #c49735);
  color: var(--home-navy, #08111f) !important;
}

/* Hero */

.services-hero {
  padding: 56px 0 72px;
  background: var(--services-cream);
}

.services-hero__title {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 16ch;
}

.services-hero__lead {
  max-width: 540px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--services-muted);
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.services-hero__props {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
}

.services-hero__prop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--home-navy, #08111f);
  font-size: 14px;
  font-weight: 500;
  max-width: 180px;
  line-height: 1.4;
}

.services-hero__prop strong {
  display: block;
  font-weight: 700;
}

.services-hero__prop i {
  color: #C9973F;
  font-size: 32px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.services-hero__prop-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.services-hero__media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(16, 32, 51, 0.16);
  background: #e8e0d4;
  aspect-ratio: 16 / 9;
  width: 100%;
}

@media (min-width: 992px) {
  .services-hero .col-lg-7 {
    overflow: visible;
  }

  .services-hero__media {
    width: calc(100% + max(0px, (100vw - 960px) / 2 - 16px));
    max-width: 920px;
  }
}

@media (min-width: 1200px) {
  .services-hero__media {
    width: calc(100% + max(0px, (100vw - 1140px) / 2 - 16px));
  }
}

@media (min-width: 1400px) {
  .services-hero__media {
    width: calc(100% + max(0px, (100vw - 1320px) / 2 - 16px));
  }
}

.services-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Grid */

.services-grid-section {
  padding: 24px 0 88px;
  scroll-margin-top: 96px;
}

.services-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.services-section-header h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.services-section-header p {
  margin: 0;
  color: var(--services-muted);
  font-size: 17px;
  line-height: 1.7;
}

.services-card {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px 24px;
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.08);
  border: 1px solid rgba(16, 32, 51, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.12);
}

.services-card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--home-serif, "Playfair Display", Georgia, serif);
  font-size: 28px;
  font-weight: 700;
  color: rgba(212, 168, 67, 0.35);
  line-height: 1;
}

.services-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: visible;
}

.services-card__svg {
  width: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  display: block;
  overflow: visible;
}

.services-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
  padding-right: 42px;
  font-weight: 700;
}

.services-card__desc {
  margin: 0 0 16px;
  color: var(--services-muted);
  font-size: 15px;
  line-height: 1.55;
}

.services-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.services-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--services-ink);
}

.services-card__list i {
  color: #C9973F;
  margin-top: 3px;
  font-size: 13px;
}

.services-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-gold, #d4a843);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.services-card__link:hover {
  color: var(--home-gold-hover, #c49735);
}

/* Approach */

.services-approach-section {
  background: var(--home-navy, #08111f);
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.services-approach {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 1fr);
  align-items: end;
  gap: 0 12px;
}

.services-approach__statue {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.services-approach__statue img {
  width: calc(100% + 18%);
  max-width: none;
  margin-left: -16%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left bottom;
}

.services-approach__content {
  padding: 28px 0 32px;
  text-align: center;
  align-self: center;
  min-width: 0;
}

.services-approach__title {
  color: #fff !important;
  font-family: var(--home-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(22px, 2.05vw, 30px);
  line-height: 1.2;
  font-weight: 700;
  margin: 6px 0 28px;
  max-width: none;
}

@media (min-width: 992px) {
  .services-approach__title {
    white-space: nowrap;
  }
}

.services-approach__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}

.services-approach__steps::before {
  content: "";
  position: absolute;
  top: 39px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: #C9973F;
  opacity: 0.7;
}

.services-approach__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.services-approach__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1.5px solid #C9973F;
  background: var(--home-navy, #08111f);
  color: #C9973F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-approach__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.services-approach__step-num {
  display: block;
  color: #C9973F;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.services-approach__step h3 {
  color: #fff !important;
  font-family: var(--home-sans, "Source Sans 3", "Segoe UI", sans-serif);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.services-approach__step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

/* Split audience */

.services-split-section {
  padding: 72px 0;
  background: var(--services-cream);
}

.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.services-split__panel {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.08);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 280px;
}

.services-split__copy {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-split__copy h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.2;
  margin: 0 0 14px;
}

.services-split__copy p {
  margin: 0 0 22px;
  color: var(--services-muted);
  font-size: 15px;
  line-height: 1.6;
}

.services-split__photo {
  min-height: 220px;
}

.services-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-split__panel:first-child .services-split__photo img {
  object-position: 32% 40%;
}

.services-split__photo--flip img {
  transform: scaleX(-1);
}

/* Bottom CTA */

.services-cta-section {
  padding: 0 0 72px;
  background: var(--services-cream);
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--home-navy, #08111f);
  border-radius: 18px;
  padding: 36px 40px;
}

.services-cta h2 {
  color: #fff !important;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 12px;
}

.services-cta__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
}

.services-cta__note {
  margin-top: 8px !important;
  color: rgba(240, 215, 140, 0.9) !important;
  font-size: 14px !important;
}

@media (max-width: 1199.98px) {
  .services-split {
    grid-template-columns: 1fr;
  }

  .services-split__panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .services-page {
    padding-top: 72px;
  }

  .services-hero {
    padding-top: 28px;
  }

  .services-hero__title {
    max-width: none;
  }

  .services-hero__media {
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .services-approach {
    grid-template-columns: 1fr;
  }

  .services-approach__statue {
    min-height: 0;
  }

  .services-approach__statue img {
    max-height: 280px;
    width: auto;
    margin: 0 auto;
  }

  .services-approach__content {
    padding: 8px 0 40px;
  }

  .services-approach__steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .services-approach__steps::before {
    display: none;
  }

  .services-approach__title {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .services-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-btn {
    width: 100%;
  }

  .services-approach__steps {
    grid-template-columns: 1fr;
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }

  .services-split__panel {
    grid-template-columns: 1fr;
  }
}
