/* Condition pages — distinct from service/treatment layout */

.sv-condition-page {
  --sv-display: "Fraunces", "Times New Roman", serif;
  --sv-ink: #1c1414;
  --sv-cream: #f4efe9;
  --sv-forest: #2e5a32;
  --sv-forest-deep: #1c3a22;
  --sv-wine: #5c1619;
  --sv-coral: #e03c32;
  background: #fff;
}

.sv-condition-page h1,
.sv-condition-page h2,
.sv-condition-page h3 {
  font-family: var(--sv-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--sv-ink);
}

.sv-condition-page .sv-cta h2,
.sv-condition-page .mp-footer h2,
.sv-condition-page .mp-footer h3,
.sv-condition-page .mp-footer__heading {
  color: #fffaf6;
}

.sv-condition-page .mp-page-hero__title {
  font-family: var(--mp-font);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--sv-wine);
}

.sv-condition-page .mp-page-hero {
  margin-bottom: 2.5rem;
}

.sv-cond-hero {
  margin-top: 0;
  padding: 2.75rem 0 1.5rem;
  background: #fff;
}

.sv-cond-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.sv-cond-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.7rem;
  background: #efe7dc;
  box-shadow:
    0 28px 50px rgba(92, 22, 25, 0.12),
    0 0 0 10px rgba(46, 90, 50, 0.04);
}

.sv-cond-hero__media picture,
.sv-cond-hero__media img,
.sv-cond-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

.sv-cond-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.sv-cond-crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.7rem;
  color: #8a7c76;
  font-weight: 500;
}

.sv-cond-crumb a {
  color: var(--sv-wine) !important;
}

.sv-cond-eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--sv-coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sv-cond-hero h1 {
  max-width: 16ch;
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.sv-cond-lead {
  max-width: 40rem;
  margin: 0;
  color: #5c524e;
  font-size: 1.08rem;
  line-height: 1.65;
}

.sv-cond-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.sv-cond-intro {
  max-width: 44rem;
  margin: 1.7rem 0 0;
}

.sv-cond-body {
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

.sv-cond-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3d3532;
}

.sv-cond-note {
  padding: 0.95rem 1.1rem;
  border-left: 3px solid var(--sv-forest);
  background: #fff;
  color: #6a5f5a !important;
  font-size: 0.92rem !important;
}

.sv-cond-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 2.6rem;
}

.sv-cond-split section {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(92, 22, 25, 0.08);
}

.sv-cond-split h2 {
  margin: 0 0 0.9rem;
  font-size: 1.45rem;
}

.sv-cond-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-cond-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  color: #4a413d;
  line-height: 1.5;
}

.sv-cond-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sv-forest);
}

.sv-cond-list--wine li::before {
  background: var(--sv-wine);
}

.sv-cond-treat {
  margin-bottom: 2.6rem;
}

.sv-cond-treat > p {
  max-width: 44rem;
  color: #5c524e;
  line-height: 1.65;
}

.sv-cond-steps {
  display: grid;
  gap: 1rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.sv-cond-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 1.2rem;
  background: #fff;
  border: 1px solid rgba(46, 90, 50, 0.12);
}

.sv-cond-steps span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--sv-forest);
  color: #fffaf6;
  font-family: var(--sv-display);
  font-size: 1.15rem;
}

.sv-cond-steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: var(--sv-wine);
}

.sv-cond-steps p {
  margin: 0;
  color: #5c524e;
  line-height: 1.55;
}

.sv-cond-services {
  margin-bottom: 2.6rem;
}

.sv-cond-services p {
  max-width: 40rem;
  color: #5c524e;
}

.sv-cond-services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.sv-cond-services a {
  display: inline-flex;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(92, 22, 25, 0.14);
  color: var(--sv-wine) !important;
  font-weight: 800;
  font-size: 0.88rem;
}

.sv-cond-faqs details {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(92, 22, 25, 0.1);
}

.sv-cond-faqs summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--sv-ink);
}

.sv-cond-faqs p {
  margin: 0.7rem 0 0;
  color: #5c524e;
  line-height: 1.6;
}

.sv-cond-related {
  margin-top: 2.8rem;
}

.sv-cond-related__grid,
.sv-cond-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.sv-cond-related__grid a,
.sv-cond-hub__card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(92, 22, 25, 0.08);
  color: inherit !important;
}

.sv-cond-related__grid strong,
.sv-cond-hub__card strong {
  color: var(--sv-wine);
}

.sv-cond-related__grid span,
.sv-cond-hub__card span {
  color: #6a5f5a;
  font-size: 0.86rem;
  line-height: 1.4;
}

.sv-cond-hub__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.35rem;
  border-radius: 0.75rem;
  background: var(--sv-cream);
  color: var(--sv-forest);
}

.sv-cond-cta {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--sv-forest-deep), var(--sv-forest));
  color: #fffaf6;
}

.sv-cond-cta h2,
.sv-cond-cta p {
  color: #fffaf6;
}

.sv-cond-cta p {
  max-width: 36rem;
  margin-bottom: 1.2rem;
}

.sv-cond-hero__actions .mp-btn--primary,
.sv-cond-cta .mp-btn--primary {
  background: var(--sv-forest);
  border-color: var(--sv-forest);
  color: #fffaf6 !important;
}

.sv-cond-hero__actions .mp-btn--primary:hover {
  background: var(--sv-forest-deep);
  border-color: var(--sv-forest-deep);
}

.sv-cond-hero__actions .mp-btn--outline {
  color: var(--sv-wine) !important;
  border-color: var(--sv-wine);
}

.sv-cond-hero__actions .mp-btn--outline:hover {
  background: var(--sv-wine);
  color: #fffaf6 !important;
}

.sv-cond-cta .mp-btn--primary {
  background: #fffaf6;
  border-color: #fffaf6;
  color: var(--sv-forest-deep) !important;
}

@media (max-width: 800px) {
  .sv-cond-hero__grid,
  .sv-cond-split,
  .sv-cond-related__grid,
  .sv-cond-hub {
    grid-template-columns: 1fr;
  }

  .sv-cond-hero__media {
    max-width: 26rem;
    margin-inline: auto;
  }
}
