/* =========================================
   SMARTEST — SERVICES PAGE
   Designed to match the existing homepage
========================================= */

:root{
  --st-header-footer: #081848;
  --st-button: #B09850;
  --st-button-hover: #907840;
  --st-highlight: #108080;
  --st-section-bg: #F6F5F1;
  --st-card-bg: #FFFFFF;
  --st-border-gold: #D5B24E;
  --st-heading: #082A68;
  --st-text: #111111;
  --st-container: 1180px;
  --st-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --st-font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.page-template-page-services{
  background: var(--st-section-bg);
}

body.page-template-page-services #content,
body.page-template-page-services .site-content,
body.page-template-page-services .ast-container,
body.page-template-page-services .content-area,
body.page-template-page-services .site-main{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--st-section-bg);
}

body.page-template-page-services .ast-container{
  display: block;
}

.smartest-services-page{
  font-family: var(--st-font-body);
  color: var(--st-text);
  background: var(--st-section-bg);
}

.service-page-container{
  width: min(100% - 40px, var(--st-container));
  margin-inline: auto;
}

.service-hero{
  padding: 34px 0 38px;
  background: var(--st-section-bg);
}

.service-hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 54px;
  align-items: start;
}

.service-hero-copy{
  padding: 6px 10px 0;
}

.service-eyebrow{
  margin: 0 0 16px;
  color: #9A7A2D !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

.service-page-title{
  margin: 0 0 22px;
  color: #0E2A63 !important;
  font-family: var(--st-font-display);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.service-intro{
  max-width: 700px;
  margin: 0;
  color: #222222 !important;
  font-size: 14px;
  line-height: 1.45;
}

.service-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.service-button{
  min-width: 172px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.service-button:hover{
  transform: translateY(-2px);
}

.service-button-outline{
  background: #FFFFFF !important;
  border: 2px solid var(--st-border-gold) !important;
  color: #0E2A63 !important;
}

.service-button-outline:hover{
  background: #FBF8EF !important;
  border-color: var(--st-button-hover) !important;
  color: #0E2A63 !important;
}

.service-button-primary{
  background: #06184A !important;
  border: 2px solid #06184A !important;
  color: #FFFFFF !important;
}

.service-button-primary:hover{
  background: #0E2A63 !important;
  border-color: #0E2A63 !important;
  color: #FFFFFF !important;
}

.service-coverage-card{
  background: #FFFFFF;
  border: 2px solid var(--st-border-gold);
  border-radius: 42px;
  padding: 30px 30px 28px;
}

.service-coverage-card h2{
  margin: 0 0 24px;
  color: #9A7A2D !important;
  font-family: var(--st-font-body);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.service-coverage-card ul{
  margin: 0;
  padding-left: 20px;
}

.service-coverage-card li{
  margin: 0 0 18px;
  padding-left: 5px;
  color: #222222 !important;
  font-size: 12px;
  line-height: 1.35;
}

.service-coverage-card li:last-child{
  margin-bottom: 0;
}

.service-overview{
  padding: 30px 0 44px;
  background: #F2F3F4;
}

.service-overview-card{
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.55fr);
  gap: 56px;
  padding: 26px 28px 30px;
  background: #FFFFFF;
  border: 2px solid var(--st-border-gold);
  border-radius: 40px;
}

.service-overview-heading h2{
  margin: 0;
  color: #0E2A63 !important;
  font-family: var(--st-font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.service-overview-copy p{
  margin: 0 0 26px;
  color: #222222 !important;
  font-size: 12px;
  line-height: 1.8;
  text-align: justify;
}

.service-overview-copy p:last-child{
  margin-bottom: 0;
}

@media (max-width: 900px){
  .service-hero-grid,
  .service-overview-card{
    grid-template-columns: 1fr;
  }

  .service-hero-grid{
    gap: 30px;
  }

  .service-overview-card{
    gap: 28px;
  }

  .service-coverage-card{
    border-radius: 30px;
  }
}

@media (max-width: 600px){
  .service-page-container{
    width: min(100% - 28px, var(--st-container));
  }

  .service-hero{
    padding-top: 24px;
  }

  .service-hero-copy{
    padding-inline: 0;
  }

  .service-page-title br,
  .service-overview-heading h2 br{
    display: none;
  }

  .service-actions{
    flex-direction: column;
    gap: 12px;
  }

  .service-button{
    width: 100%;
  }

  .service-coverage-card,
  .service-overview-card{
    border-radius: 24px;
    padding: 24px 20px;
  }

  .service-overview-copy p{
    text-align: left;
  }
}
