/* Service Landing — generic sales page. Page-scoped (.page-service …);
   sections mirror the live Elementor page (svc-measure.json geometry).
   Sections assembled in page-service.php; shared primitives below. */

.page-service {
  --svc-mint: #dafcc3;      /* icon chips + FAQ rows on the live page */
  --svc-ink: #121313;
  font-family: var(--font-body);
}
/* base.css caps p at 75ch; the live page centers full-width text blocks */
.page-service p { max-width: none; }

/* ---- Shared: container, buttons, headings, icon chip ---- */
.svc-container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 96px;
}
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 24px;
  text-align: center;
}
.svc-btn--primary {
  background: var(--color-plum);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  min-width: 280px;
}
.svc-btn--primary:hover { background: var(--color-plum-hover); color: var(--color-white); }
.svc-btn--secondary {
  background: var(--color-white);
  color: var(--color-plum);
  border: 1px solid var(--color-plum);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  min-width: 240px;
}
.svc-btn--secondary:hover { background: var(--color-plum); color: var(--color-white); }
.svc-btn--wide { min-width: 350px; }
.svc-section-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  color: var(--color-plum);
  text-align: center;
}
.svc-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.svc-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--svc-mint);
  color: var(--color-sage);
}

/* ---- Hero: white, copy left (centered text), mascot right ---- */
.svc-hero { padding-top: 96px; }
.svc-hero__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.svc-hero__copy {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.svc-hero__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  color: var(--color-plum);
}
.svc-hero__sub {
  margin: 28px 0 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 24px;
  color: var(--svc-ink);
}
.svc-hero__checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  width: fit-content;
  margin-inline: auto;
  text-align: left;
}
.svc-hero__checklist li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 200;
  line-height: 1.5;
  color: var(--svc-ink);
}
.svc-hero__checklist i {
  flex-shrink: 0;
  align-self: center;
  font-size: 16px;
  color: var(--color-sage);
}
.svc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.svc-hero__caption {
  margin-top: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: var(--svc-ink);
}
.svc-hero__caption p { margin: 0; }
.svc-hero__media {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.svc-hero__media img { width: 261px; height: 261px; display: block; }

/* ---- Problem: 2-col icon rows + tagline + CTA pair ---- */
.svc-problem { padding-top: 96px; }
.svc-problem .svc-section-title { margin-top: 10px; }
.svc-problem__grid {
  max-width: 880px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 20px;
}
.svc-problem__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 50.66px;
}
.svc-problem__item p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: var(--svc-ink);
}
.svc-problem__tagline {
  margin: 30px 0 20px;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 22.5px;
  color: var(--color-plum);
  text-align: center;
}

/* ---- What's included: single-column icon rows + add-ons + CTA ---- */
.svc-included { padding-block: 96px; }
.svc-included__list,
.svc-included__addons {
  max-width: 640px;
  margin: 40px auto 0;
}
.svc-included__addons { margin-top: 20px; }
.svc-included .svc-included__addons .feature-item { min-height: 66px; }
.svc-included__subhead {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--color-plum);
}
.svc-included .feature-item {
  display: flex;
  align-items: center;
  gap: 56px;
  min-height: 64px;
}
.svc-included .feature-item__body { flex: 1; }
.svc-included .feature-item__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: var(--color-plum);
}
.svc-included .feature-item__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: var(--svc-ink);
}
.svc-included .svc-cta-row { margin-top: 36px; }

/* ---- Testimonials: pale-blue band, 2x2 white quote cards ---- */
.svc-testimonials {
  background: var(--color-pale-blue);
  padding: 64px 0;
}
.svc-testimonials__more {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  text-align: center;
}
.svc-testimonials__more a { color: var(--color-sage); text-decoration: none; }
.svc-testimonials__more a:hover { text-decoration: underline; }
.svc-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; /* live rows are equal height; cards keep their own */
  align-items: start;
  gap: 20px;
  margin-top: 40px;
}
.testimonial-card {
  margin: 0;
  background: var(--color-white);
  border-radius: 25px;
  padding: 16px;
}
.testimonial-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
}
.testimonial-card__stars { display: flex; gap: 3px; color: var(--color-orange); font-size: 20px; }
.testimonial-card__glyph { color: var(--color-sage); font-size: 40px; }
.testimonial-card__quote {
  margin: 13px 10px 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 22.5px;
  font-style: italic;
  color: var(--svc-ink);
}
.testimonial-card__by {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  padding: 0 10px 10px;
  font-family: var(--font-body);
  font-style: italic;
}
.testimonial-card__name {
  font-size: 21px;
  font-weight: 400;
  line-height: 31.5px;
  color: var(--color-sage);
}
.testimonial-card__loc {
  font-size: 18px;
  font-weight: 100;
  line-height: 31.5px;
  color: var(--color-plum);
}
.svc-testimonials .svc-cta-row { margin-top: 20px; }
.svc-testimonials__caption {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  text-align: center;
  color: var(--svc-ink);
}

/* ---- FAQ: mint accordion rows with leading glyph + chevron ---- */
.svc-faq { padding: 96px 0; }
.svc-faq__list { margin-top: 40px; }
.svc-faq .ds-accordion {
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-radius: 0;
  background: var(--svc-mint);
}
.svc-faq .ds-accordion__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--svc-ink);
}
.svc-faq .ds-accordion__q::-webkit-details-marker { display: none; }
.svc-faq .ds-accordion__glyph {
  display: inline-flex;
  color: var(--color-plum);
}
.svc-faq .ds-accordion__icon {
  order: 3;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
  color: #444;
}
.svc-faq .ds-accordion__icon::before {
  /* live toggle: fa-toggle fas fa-angle-right */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 16px;
  content: '\f105';
}
.svc-faq .ds-accordion[open] .ds-accordion__icon { transform: rotate(90deg); }
.svc-faq .ds-accordion__a {
  padding: 5px 15px 15px 53px;
  font-size: 16px;
  font-weight: 400;
  line-height: 27.2px;
  color: #333;
}
.svc-faq .ds-accordion__a p { margin: 0 0 10px; }

/* ---- Process: numbered mint circles, sage connector, bold labels ---- */
.svc-process { padding-bottom: 12px; }
.svc-process__steps {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  width: fit-content;
}
.svc-process__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 66px;
}
.svc-process__step + .svc-process__step::before {
  content: '';
  position: absolute;
  left: 25px;
  top: -8px;
  width: 1px;
  height: 16px;
  background: var(--color-sage);
}
.svc-process__icon { width: 50px; height: 50px; object-fit: contain; }
.svc-process__num {
  display: inline-flex;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--svc-mint);
  border: 1px solid var(--color-sage);
  color: var(--color-sage);
  font-family: var(--font-body);
  font-size: 20px;
}
.svc-process__label {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-plum);
}
.svc-process .svc-cta-row { margin-top: 52px; }
.svc-process__caption {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  text-align: center;
  color: var(--svc-ink);
}

/* ---- Order-form modal (live popup 4736): dark overlay, 640px dialog ---- */
.dc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}
.dc-modal[hidden] { display: none; }
.dc-modal__dialog {
  position: relative;
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--color-white);
  box-shadow: rgba(0, 0, 0, 0.2) 2px 8px 23px 3px;
  padding: 24px 88px 40px;
}
.dc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: var(--svc-ink);
  cursor: pointer;
  padding: 6px;
}

/* Calculator (inside the modal) */
.dc-calculator { max-width: 640px; margin-inline: auto; }
.dc-calculator__title {
  text-align: center;
  color: var(--color-plum);
  margin: 0 0 clamp(20px, 3vw, 32px);
}
.dc-form { display: grid; gap: clamp(14px, 2vw, 20px); }
.dc-form__row { display: grid; gap: 6px; }
.dc-form__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-label);
  color: var(--color-plum);
}
.dc-form__addons {
  border: none;
  margin: 0;
  padding: 0;
}
.dc-form__check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  padding: 4px 0;
}
.dc-form__check input { width: 20px; height: 20px; }

.dc-estimate[hidden] { display: none; }
.dc-estimate {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: clamp(16px, 2.5vw, 24px);
  display: grid;
  gap: 14px;
}
.dc-estimate__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px 16px;
  align-items: center;
}
.dc-estimate__fields input {
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: var(--fs-lead);
  color: var(--color-plum);
  width: 100%;
}
.dc-estimate__summary {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-ink);
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}
.dc-estimate__summary .dc-price { color: var(--color-orange); font-weight: 500; }
.dc-estimate__summary .dc-team { font-weight: 500; }

.dc-form__submit { justify-self: stretch; margin-top: 8px; border-radius: 6px; }
.dc-form__note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: var(--svc-ink);
}

/* ---- Mobile (live ref: 16px gutters, everything stacked/centered) ---- */
@media (max-width: 768px) {
  .svc-container { padding-inline: 16px; }
  .svc-hero { padding-top: 0; }
  .svc-problem { padding-top: 48px; }
  .svc-included { padding-block: 32px; }
  .svc-testimonials { padding: 32px 0; }
  .svc-faq { padding: 32px 0 0; }
  .svc-process { padding-top: 32px; }
  .svc-testimonials__grid { grid-auto-rows: auto; }
  .svc-faq .ds-accordion__q { line-height: 17px; }
  .svc-hero__inner { flex-direction: column; }
  .svc-hero__copy { flex: 1 1 auto; width: 100%; }
  .svc-hero__media { margin-top: 24px; }
  .svc-hero__media img { width: 215px; height: 215px; }
  .svc-hero__cta,
  .svc-cta-row { flex-direction: column; }
  .svc-problem__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
  }
  .svc-included .feature-item { gap: 24px; }
  .svc-testimonials__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-btn--wide { min-width: 280px; }
  .svc-process__steps { max-width: 100%; }
  .svc-process__label { font-size: 18px; }
  .dc-modal__dialog { padding: 24px 16px 32px; }
}
