/* css/bienestar.css */

/* Header Styling */
header.masthead.bienestar-header {
  background: linear-gradient(135deg, var(--color-3) 0%, var(--color-2) 100%);
  min-height: 50vh;
  height: auto;
  padding-top: 180px;
  padding-bottom: 120px;
  margin-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header.masthead.bienestar-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  pointer-events: none;
}

header.masthead.bienestar-header .intro-text {
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
  z-index: 2;
}

header.masthead.bienestar-header .intro-heading {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: white;
}

/* Fisioestética section: styles inspired by suelo-pelvico layout */
.esthetic-section {
  padding: 60px 0;
  background-color: #fafafa;
}

.esthetic-image {
  position: relative;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.esthetic-image img.rounded-circle {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border: 12px solid var(--bg-light);
  box-shadow: 0 18px 40px rgba(195, 159, 148, 0.12);
  transition: transform 0.3s ease;
}

.esthetic-image:hover img.rounded-circle {
  transform: scale(1.03);
}

.esthetic-icon {
  position: absolute;
  bottom: 16px;
  right: 18%;
  width: 76px;
  height: 76px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--color-2);
  z-index: 2;
}

.esthetic-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.esthetic-content p,
.esthetic-content li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main, #666);
}

.esthetic-list {
  list-style: none;
  padding: 0;
}

.esthetic-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.esthetic-list li::before {
  content: "•";
  color: var(--color-2);
  display: inline-block;
  width: 1.2em;
  margin-right: 8px;
}

@media (max-width: 991px) {
  .esthetic-image img.rounded-circle {
    width: 220px;
    height: 220px;
  }

  .esthetic-icon {
    right: 10%;
  }
}

/* Feature cards for Fisioestética */
.esthetic-features {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.esthetic-feature {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.esthetic-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  min-width: 56px;
  min-height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-2), var(--color-3));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-body {
  flex: 1 1 auto;
}

.feature-title {
  font-weight: 700;
  color: var(--color-3);
  margin: 0 0 6px 0;
  font-size: 1.05rem;
}

.feature-desc {
  margin: 0;
  color: var(--text-main, #666);
  font-size: 0.98rem;
  line-height: 1.5;
}

.esthetic-badges {
  margin-top: 18px;
}

.esthetic-badges .badge {
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(34,34,34,0.06);
  color: var(--text-main, #444);
  margin-right: 8px;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .esthetic-feature {
    flex-direction: row;
    gap: 12px;
  }

  .feature-icon {
    min-width: 48px;
    min-height: 48px;
    font-size: 18px;
  }
}

/* Two-column layout helpers for treatments vs. what we treat */
.esthetic-features-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.esthetic-treatments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
}

.treatment-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.treat-icon {
  min-width: 56px;
  min-height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-2), var(--color-3));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.treat-body .treat-title {
  margin: 0 0 4px 0;
  font-weight: 700;
  color: var(--color-3);
}

.treat-body .treat-desc {
  margin: 0;
  color: var(--text-main, #666);
  font-size: 0.95rem;
}

@media (min-width: 992px) {
  .esthetic-treatments {
    grid-template-columns: 1fr 1fr;
  }
}

/* Make H3 headings in this section follow the H2 'section-heading' visual style */

section#bienestar h3.section-heading {
  /* Match H2 look but slightly smaller; increase specificity */
  color: var(--color-3) !important;
  margin-bottom: 0.8rem;
  position: relative;
  display: block;
  width: 100%;
  text-align: center; /* centered as requested */
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

section#bienestar h3.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-2);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Disclaimer style: make the final paragraph stand out */
.disclaimer {
  background: linear-gradient(90deg, rgba(195,159,148,0.06), rgba(213,163,148,0.03));
  border-left: 4px solid var(--color-3);
  padding: 14px 18px;
  border-radius: 6px;
  color: var(--text-heading);
  font-style: italic;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.disclaimer small {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: var(--text-main);
  margin-top: 6px;
}

/* Modern hero styles for the Bienestar header */
.esthetic-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50vh; /* ligeramente reducido */
  padding: 60px 0; /* no aumentamos padding-top para no agrandar el bloque */

  color: #fff;
  background: linear-gradient(135deg, rgba(98, 67, 235, 0.92) 0%, rgba(213, 99, 138, 0.92) 100%);
  overflow: hidden;
}

.esthetic-hero .hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

.esthetic-hero .hero-bg svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  display: block;
}

.esthetic-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 0;
  max-width: 960px;
  margin: 0 auto;
}

/* mover el contenido hacia abajo visualmente sin aumentar el bloque */
.esthetic-hero .hero-content {
  transform: translateY(100px) !important; /* desplaza más el texto sin cambiar la altura del bloque */
}

@media (max-width: 767px) {
  .esthetic-hero .hero-content {
    transform: translateY(24px) !important;
  }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.6px;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.hero-sub {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.95);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta .btn {
  border-width: 2px;
  padding: 0.72rem 1.2rem;
  color: #fff;
}

/* Ensure the CTA stays visible on hover/focus in the colored hero */
.esthetic-hero .hero-cta .btn,
.esthetic-hero .hero-cta .btn:link,
.esthetic-hero .hero-cta .btn:visited {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.9) !important;
}

.esthetic-hero .hero-cta .btn:hover,
.esthetic-hero .hero-cta .btn:focus,
.esthetic-hero .hero-cta .btn:active {
  background: rgba(255,255,255,0.10) !important; /* subtle light overlay */
  color: #fff !important;
  border-color: rgba(255,255,255,0.95) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

@media (max-width: 767px) {
  .esthetic-hero {
    padding: 48px 0;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-cta .btn {
    padding: 0.5rem 0.9rem;
  }
}

/* subtle decorative accent for large screens */
@media (min-width: 992px) {
  .esthetic-hero::before {
    content: "";
    position: absolute;
    right: -12%;
    top: -18%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), transparent 40%);
    transform: rotate(18deg);
    pointer-events: none;
  }
}
