/* ================================================================
   SERVICE / DISEASE detail pages — full redesign 2026-05-09
   Used by both "Services & Treatments" and "Disease & Conditions"
   detail templates (services.blade.php).
   Brand: peach #DF7D6F + dark #150e0e
   Reuses .media-hero, .media-eyebrow, .media-h1, .media-sub,
   .media-trust, .about-cta-strip from earlier files.
   ================================================================ */

/* ============ Layout ============ */
.service-layout {
  background: #0a0606;
  padding: 60px 0 80px;
}
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}
.service-main { min-width: 0; } /* allow text to wrap inside grid */
.service-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============ Medically-reviewed byline ============ */
.service-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.15);
  border-left: 3px solid #DF7D6F;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 28px;
}
.service-byline-img {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #DF7D6F;
}
.service-byline-text {
  font-size: 13.5px;
  color: #c8b9ad;
  line-height: 1.55;
}
.service-byline-text strong { color: #fff; font-weight: 600; }
.service-byline-text a {
  color: #DF7D6F;
  text-decoration: none;
  font-weight: 600;
}
.service-byline-text a:hover { color: #fff; }
.service-byline-text small {
  display: block;
  color: #8a7a6e;
  font-size: 12px;
  margin-top: 2px;
}

/* ============ Article prose ============ */
.service-prose {
  color: #d6c5b8;
  font-size: 16px;
  line-height: 1.8;
}
.service-prose p {
  color: #d6c5b8;
  margin: 0 0 16px;
}
.service-prose h2 {
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  margin: 40px 0 14px;
  position: relative;
  padding-bottom: 12px;
}
.service-prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #DF7D6F;
  border-radius: 2px;
}
.service-prose h3 {
  color: #fff;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.35;
  margin: 30px 0 12px;
}
.service-prose h4 {
  color: #DF7D6F;
  font-weight: 600;
  font-size: 17px;
  margin: 24px 0 10px;
}
.service-prose strong { color: #fff; font-weight: 600; }
.service-prose em { color: #fff; }
.service-prose a {
  color: #DF7D6F;
  text-decoration: none;
  border-bottom: 1px dashed rgba(223,125,111,.5);
  transition: color .15s ease, border-color .15s ease;
}
.service-prose a:hover { color: #fff; border-bottom-color: #fff; }
.service-prose ul, .service-prose ol {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}
.service-prose ul li {
  position: relative;
  padding: 4px 0 4px 30px;
  color: #c8b9ad;
}
.service-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px; height: 18px;
  background: rgba(223,125,111,.18);
  border: 1px solid #DF7D6F;
  border-radius: 50%;
}
.service-prose ul li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  width: 7px; height: 4px;
  border-left: 2px solid #DF7D6F;
  border-bottom: 2px solid #DF7D6F;
  transform: rotate(-45deg);
}
.service-prose ol {
  counter-reset: prose-ol;
}
.service-prose ol li {
  position: relative;
  padding: 4px 0 4px 36px;
  counter-increment: prose-ol;
  color: #c8b9ad;
}
.service-prose ol li::before {
  content: counter(prose-ol);
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #DF7D6F 0%, #c8634f 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-prose blockquote {
  margin: 22px 0;
  padding: 18px 24px;
  background: rgba(223,125,111,.06);
  border-left: 3px solid #DF7D6F;
  border-radius: 0 10px 10px 0;
  color: #d6c5b8;
  font-style: italic;
}
.service-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}
.service-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  background: rgba(255,255,255,.02);
  border-radius: 10px;
  overflow: hidden;
}
.service-prose th, .service-prose td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(223,125,111,.15);
  text-align: left;
}
.service-prose th { background: rgba(223,125,111,.12); color: #fff; font-weight: 600; }
.service-prose td { color: #c8b9ad; }

/* ============ Before / After slider area ============ */
.service-results {
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.18);
  border-radius: 16px;
  padding: 28px;
  margin: 36px 0;
}
.service-results-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.service-results-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #DF7D6F 0%, #c8634f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.service-results-title {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  margin: 0;
}
.service-results-meta {
  color: #DF7D6F;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  margin: 0;
}
.service-results .comparison { margin: 0; }
.service-results .comparison figure {
  border-radius: 12px;
  height: 360px;
}

/* ============ FAQ accordion ============ */
.service-faq-block {
  margin-top: 40px;
}
.service-faq-block h2 {
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 12px;
}
.service-faq-block h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #DF7D6F;
  border-radius: 2px;
}
.service-faq {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(223,125,111,.12);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color .2s ease, background .2s ease;
}
.service-faq[open] {
  border-color: #DF7D6F;
  background: rgba(223,125,111,.05);
}
.service-faq summary {
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.service-faq summary::-webkit-details-marker { display: none; }
.service-faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: #DF7D6F;
  font-size: 22px;
  font-weight: 300;
}
.service-faq[open] summary::after { content: "\2212"; }
.service-faq-body {
  color: #c8b9ad;
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 12px;
}

/* ============ Sidebar — doctor card ============ */
.sidebar-card {
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.18);
  border-radius: 14px;
  padding: 24px;
}
.sidebar-doc {
  text-align: center;
}
.sidebar-doc-pic {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  display: block;
}
.sidebar-doc-name {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 4px;
}
.sidebar-doc-title {
  color: #DF7D6F;
  font-size: 13.5px;
  font-weight: 500;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sidebar-doc-bio {
  color: #b8a89c;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.sidebar-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #DF7D6F;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sidebar-doc-link:hover { color: #fff; text-decoration: none; }
.sidebar-doc-link svg { transition: transform .25s ease; }
.sidebar-doc-link:hover svg { transform: translateX(3px); }

/* Sidebar — opening hours */
.sidebar-hours-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 14px;
}
.sidebar-hours-title svg { color: #DF7D6F; font-size: 19px; }
.sidebar-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #b8a89c;
  font-size: 14px;
}
.sidebar-hours-list li:last-child { border-bottom: 0; }
.sidebar-hours-list li strong { color: #fff; font-weight: 600; }
.sidebar-hours-list li.closed strong { color: #DF7D6F; }

/* Sidebar — lead form */
.sidebar-form-card {
  background: linear-gradient(160deg, #DF7D6F 0%, #c8634f 100%);
  border-radius: 14px;
  padding: 24px;
}
.sidebar-form-title {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-form-title svg { font-size: 18px; }
.sidebar-form-sub {
  color: rgba(255,255,255,.88);
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.sidebar-form .sb-field { margin-bottom: 12px; }
.sidebar-form .sb-input {
  width: 100%;
  background: rgba(255,255,255,.95);
  border: 0;
  border-radius: 10px;
  padding: 11px 14px;
  color: #150e0e;
  font-size: 14px;
}
.sidebar-form .sb-input::placeholder { color: #6b5d52; }
.sidebar-form .sb-input:focus {
  outline: 2px solid #150e0e;
  outline-offset: 2px;
}
.sidebar-form textarea.sb-input { min-height: 88px; resize: vertical; }
.sidebar-form .sb-submit {
  width: 100%;
  background: #150e0e;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 13px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s ease, transform .2s ease;
}
.sidebar-form .sb-submit:hover { background: #0a0606; transform: translateY(-1px); }
.sidebar-form-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255,255,255,.85);
  font-size: 11.5px;
}
.sidebar-form-trust svg { font-size: 12px; }

/* ============ Related services ============ */
.related-services {
  background: linear-gradient(180deg, #0a0606 0%, #150e0e 100%);
  padding: 60px 0;
  border-top: 1px solid rgba(223,125,111,.12);
}
.related-services-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 10px;
}
.related-services-head h2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}
.related-services-head h2 .peach-color { color: #DF7D6F; }
.related-services-head a {
  color: #DF7D6F;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.related-services-head a:hover { color: #fff; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-card {
  background: linear-gradient(160deg, #1a0e0d 0%, #0f0807 100%);
  border: 1px solid rgba(223,125,111,.14);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: #DF7D6F;
  box-shadow: 0 14px 32px rgba(223,125,111,.18);
  text-decoration: none;
}
.related-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.related-card picture { display: block; }
.related-card picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.related-card-body { padding: 16px 18px; }
.related-card-title {
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  margin: 0 0 6px;
  line-height: 1.35;
}
.related-card-cta {
  color: #DF7D6F;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.related-card-cta svg { transition: transform .25s ease; font-size: 11px; }
.related-card:hover .related-card-cta svg { transform: translateX(3px); }

/* ============ Mobile ============ */
@media (max-width: 1199px) {
  .service-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .service-layout { padding: 40px 0 60px; }
  .service-prose h2 { font-size: 22px; margin-top: 30px; }
  .service-prose h3 { font-size: 18px; }
  .service-faq-block h2 { font-size: 22px; }
  .service-results { padding: 20px; }
  .service-results .comparison figure { height: 280px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-services { padding: 40px 0; }
}
