/* =========================================
   SOINS PAGE
   ========================================= */

/* Hero banner */
.hero {
  position: relative;
  height: clamp(220px, 35vw, 380px);
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
  display: block;
}

.hero-inner-overlay {
  position: absolute;
  bottom: clamp(1.5rem, 5vw, 3rem);
  left: clamp(1.5rem, 8vw, 5rem);
  color: #FFFFFF;
}

.hero-inner-overlay h1 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  margin-bottom: 8px;
  color: #FFFFFF;
}

.hero-inner-overlay h1::after {
  display: none;
}

.hero-inner-overlay p {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.82);
  font-style: italic;
  font-family: var(--font-serif, 'Playfair Display', serif);
  margin: 0;
}

/* Section alternating backgrounds */
section:nth-child(even of :not(.hero)) {
  background: var(--color-surface, #FFFFFF);
  border-radius: var(--radius-lg, 16px);
}

/* Figure layout for service sections */
section figure {
  gap: clamp(1.5rem, 4vw, 3rem);
}

section figure img {
  width: clamp(180px, 30%, 260px);
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  align-self: flex-start;
}

@media (max-width: 1050px) {
  section figure img {
    width: 100%;
    height: 220px;
    align-self: unset;
  }
}

section figure figcaption {
  gap: 0;
  width: auto;
  flex: 1;
}

section figure figcaption p {
  margin-bottom: 12px;
}

figure.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 1050px) {
  figure.reverse {
    flex-direction: column;
  }
}

/* Lists inside figcaptions */
figure figcaption ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 12px;
  width: auto;
}

figure figcaption ul li {
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  color: var(--color-text, #1A1A2E);
  line-height: 1.5;
}

/* nav bottom margin for these pages */
nav {
  margin-bottom: 0;
}
