
/* =========================================
   RENEW COUNSELING — SERVICES PAGE
   ========================================= */

.renew-services-page {
  background: #f4f0e6;
  padding: 70px 24px 100px;
  color: #34413b;
}

/* Page introduction */

.renew-services-intro {
  max-width: 800px;
  margin: 0 auto 65px;
  text-align: center;
}

.renew-services-eyebrow {
  color: #6c8976;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.renew-services-intro h1 {
  font-family: 'Bodoni 72', Didot, 'Times New Roman', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.12;
  margin: 22px 0;
}

.renew-services-intro p {
  max-width: 630px;
  margin: auto;
  line-height: 1.85;
  color: #65716a;
}

/* Three-column layout */

.renew-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 25px;
  max-width: 1250px;
  margin: 0 auto;
}

/* Feminine glass cards */

.renew-service-card {
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,.75),
    rgba(244,248,242,.38)
  );
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 15px 40px rgba(61,83,70,.07);

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  transition:
    background .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

.renew-service-card:nth-child(2) {
  border-radius: 75px 42px 75px 42px;
}

.renew-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(61,83,70,.11);
}

.renew-service-card[open] {
  background: rgba(255,255,255,.88);
}

/* Card summaries */

.renew-service-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  padding: 38px 28px 30px;
  cursor: pointer;
  text-align: center;
  list-style: none;
}

.renew-service-summary::-webkit-details-marker {
  display: none;
}

.renew-service-summary::marker {
  content: "";
}

.renew-service-summary:focus-visible {
  outline: 2px solid #658575;
  outline-offset: -5px;
}

/* Icons */

.renew-service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  border: 1px solid rgba(102,139,111,.5);
  border-radius: 50%;
  margin-bottom: 25px;
}

.renew-service-icon img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

/* Typography */

.renew-service-title {
  display: block;
  font-family: 'Bodoni 72', Didot, 'Times New Roman', serif;
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 18px;
}

.renew-service-excerpt {
  color: #68746d;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 28px;
}

.renew-service-toggle {
  margin-top: auto;
  color: #557462;
  font-size: 13px;
  border-bottom: 1px solid rgba(85,116,98,.45);
  padding-bottom: 7px;
}

.renew-toggle-symbol {
  display: inline-block;
  margin-left: 12px;
  font-size: 20px;
  transition: transform .25s ease;
}

.renew-service-card[open] .renew-toggle-symbol {
  transform: rotate(45deg);
}

/* Expanded descriptions */

.renew-service-details {
  padding: 0 30px 32px;
  color: #53665b;
  font-size: 15px;
  line-height: 1.85;
  animation: renew-expand .35s ease;
}

.renew-service-details::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(85,116,98,.2);
  margin-bottom: 26px;
}

.renew-service-details p {
  margin: 0 0 15px;
}

@keyframes renew-expand {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Insurance & Pricing */

.renew-insurance-section {
  max-width: 1250px;
  margin: 95px auto 0;
  padding: 65px clamp(25px, 6vw, 85px);

  border-radius: 75px 40px 75px 40px;

  background: linear-gradient(
    130deg,
    rgba(211,226,212,.8),
    rgba(246,243,234,.92)
  );

  box-shadow: 0 18px 45px rgba(61,83,70,.07);
  border: 1px solid rgba(255,255,255,.65);
}

.renew-insurance-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.renew-insurance-intro h2 {
  font-family: 'Bodoni 72', Didot, 'Times New Roman', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  margin: 15px 0 20px;
}

.renew-insurance-intro p {
  color: #5f6f64;
  line-height: 1.8;
}

.renew-insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  border-top: 1px solid rgba(83,107,96,.2);
  padding-top: 35px;
}

.renew-insurance-item h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.renew-insurance-item p {
  color: #5f6f64;
  line-height: 1.8;
}

.renew-insurance-action {
  text-align: center;
  margin-top: 40px;
}

.renew-insurance-button {
  display: inline-block;
  background: #587967;
  color: #fff !important;
  border-radius: 50px;
  padding: 15px 30px;
  text-decoration: none;
  transition: background .25s ease;
}

.renew-insurance-button:hover {
  background: #3f5c4b;
}

.renew-site-contact-note {
  font-size: 12px;
  color: #63746a;
  margin-top: 14px;
}

/* Responsive */

@media (max-width: 900px) {
  .renew-services-grid,
  .renew-insurance-grid {
    grid-template-columns: 1fr;
  }

  .renew-service-summary {
    min-height: 0;
  }

  .renew-services-page {
    padding: 50px 18px 70px;
  }

  .renew-insurance-section {
    margin-top: 55px;
    padding: 45px 25px;
  }

  .renew-insurance-grid {
    gap: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .renew-service-card,
  .renew-toggle-symbol {
    transition: none;
  }

  .renew-service-details {
    animation: none;
  }
}

/* Fix conflict with the original service accordion */

.renew-services-page .renew-service-card .renew-service-details {
  display: block;
  width: 100%;
  opacity: 1;
  grid-template-rows: none;
  transition: none;
}

.renew-services-page .renew-service-card[open] .renew-service-details {
  opacity: 1;
  animation: renew-expand .35s ease both;
}



/* Services — FAQs supplied by Renew Core, not hardcoded into theme */
.renew-services-faq { max-width: 1250px; margin: 90px auto 0; scroll-margin-top: 110px; }
.renew-services-faq-inner { max-width: 850px; margin: 0 auto; text-align: center; }
.renew-services-faq h2 { margin: 15px 0 22px; font-family: 'Bodoni 72', Didot, Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 400; }
.renew-services-faq-intro { max-width: 580px; margin: 0 auto 38px; color: #4a5858; }
.renew-services-faq .renew-faq-list { text-align: left; }
.renew-services-faq .renew-faq-list details { border: 1px solid rgba(255,255,255,.7); border-radius: 28px; background: rgba(255,254,249,.7); box-shadow: 0 12px 28px rgba(71,91,82,.07); }
.renew-services-faq .renew-faq-list summary { padding: 22px 26px; font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.renew-services-faq .renew-faq-answer { padding: 4px 26px 26px; line-height: 1.75; }
@media(max-width:600px) { .renew-services-faq { margin-top: 65px; } }

/* Keep deep-linked service cards visible below the shared header. */
.renew-services-page .renew-service-card { scroll-margin-top: clamp(105px, 11vw, 150px); }

/* Anchor offsets work with and without JavaScript. */
.renew-services-page :is(.renew-service-card, .renew-insurance-section, .renew-services-faq, .renew-faq-list details) {
    scroll-margin-top: clamp(100px, 12vw, 145px);
}
.renew-faq-list details:target,
.renew-service-card:target {
    outline: 2px solid rgba(97, 131, 109, .5);
    outline-offset: 5px;
}

/* Owner-managed service count: 3/2/1 columns, without orphaned gaps. */
.renew-services-page .renew-services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.renew-services-page .renew-service-card { min-width: 0; }
.renew-services-page .renew-services-grid--single { grid-template-columns: minmax(0, 580px); justify-content: center; }
@media (max-width: 1050px) and (min-width: 701px) {
  .renew-services-page .renew-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .renew-services-page .renew-services-grid--single { grid-template-columns: minmax(0, 580px); }
}
@media (max-width: 700px) {
  .renew-services-page .renew-services-grid,
  .renew-services-page .renew-services-grid--single { grid-template-columns: minmax(0, 1fr); }
}

/* Owner-managed coverage and prices */
.renew-coverage-group{margin:42px auto 0;max-width:1100px}
.renew-coverage-group + .renew-coverage-group{margin-top:56px}
.renew-coverage-group>h3{font-family:'Bodoni 72',Didot,Georgia,serif;font-size:clamp(27px,3vw,39px);font-weight:400;margin:0 0 18px;text-align:center;color:#2d3536}
.renew-coverage-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:18px;align-items:stretch}
.renew-coverage-card{background:rgba(255,254,249,.70);border:1px solid rgba(255,255,255,.82);border-radius:40px 58px 42px 40px;box-shadow:0 14px 35px rgba(61,83,70,.075);padding:26px 28px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.renew-coverage-card:nth-child(2n){border-radius:58px 40px 48px 38px}
.renew-coverage-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;flex-wrap:wrap}
.renew-coverage-card h4{font-family:'Bodoni 72',Didot,Georgia,serif;font-size:clamp(21px,2.1vw,27px);font-weight:400;line-height:1.2;margin:0 0 12px;color:#2d3536}
.renew-price-value{white-space:nowrap;color:#476c58;background:rgba(207,226,209,.65);border-radius:99px;padding:6px 14px;font-size:17px;font-weight:700}
.renew-coverage-card p{font-size:15px;line-height:1.75;color:#56685d;margin:8px 0 0}
.renew-insurance-disclaimer{text-align:center;color:#61746b;font-size:14px;line-height:1.7;max-width:760px;margin:0 auto 23px}
@media(max-width:600px){.renew-coverage-group{margin-top:32px}.renew-coverage-card{padding:23px 22px;border-radius:30px 46px 34px 30px}.renew-coverage-card:nth-child(2n){border-radius:46px 30px 36px 30px}}

/* Keep the introduction concise once the full description is visible. */
.renew-services-page .renew-service-card[open] .renew-service-excerpt { display: none; }

/* Meaningful next step inside expanded service descriptions. */
.renew-service-next-step{margin-top:26px;padding:22px;border-radius:28px;background:rgba(231,239,229,.7);border:1px solid rgba(93,126,101,.13)}
.renew-service-next-step strong{display:block;font-size:16px;color:#34463c;font-weight:650}
.renew-service-next-step p{margin:8px 0 18px;font-size:14px;line-height:1.6}
.renew-service-inquiry{display:inline-flex;align-items:center;gap:10px;border-radius:100px;padding:12px 18px;background:#587967;color:#fff!important;text-decoration:none;font-size:13px;font-weight:700}
.renew-service-inquiry:hover,.renew-service-inquiry:focus-visible{background:#3f5d4c;color:#fff!important}
@media(max-width:600px){.renew-service-next-step{padding:18px;border-radius:22px}}
