/*
Theme Name: Ola Pekes
Author: NitroGeek
Description: Custom child theme for OlaPekes Baby Spa (Cuenca, Ecuador). Built on Hello Biz, designed for Elementor + ElementsKit Pro. Scoped utilities prefixed with .olapekes-* — see README.
Version: 1.0
Template: hello-biz
Text Domain: ola-pekes

This is the child theme for Hello Biz, generated with the Generate Child Theme plugin by Catch Themes.
*/


/* ============================================================
 * OlaPekes Baby Spa — scoped utilities
 *
 * All selectors are prefixed with .olapekes-* to avoid conflicts
 * with theme styles. Nothing here targets bare element types.
 *
 * Source: olapekes-work/generated/olapekes-custom.css
 * Edit there, then mirror here so it ships with the theme.
 * ============================================================ */


/* ---------- 1. Eyebrow pill label
 * Used by: section heads, hero subtitles
 * Applied to: heading widget via _css_classes
 * Renders as a small uppercase pill above the H2.
 * ---------- */
.olapekes-eyebrow {
  display: inline-flex !important;
  width: auto !important;
}
.olapekes-eyebrow .elementor-heading-title {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}
.olapekes-eyebrow--mint   .elementor-heading-title { background: #BFF2EF; color: #5BC9BF; }
.olapekes-eyebrow--accent .elementor-heading-title { background: #D4ECF3; color: #5DB6CB; }
.olapekes-eyebrow--peach  .elementor-heading-title { background: #FFE5DD; color: #C8624C; }
.olapekes-eyebrow--dark   .elementor-heading-title { background: rgba(255,255,255,0.18); color: #fff; }


/* ---------- 2. Step timeline number circle
 * Used by: Hidroterapia "Proceso" section (5 steps)
 * Applied to: heading widget via _css_classes
 * 56 px circle desktop, 44 px mobile, fixed flex item.
 * ---------- */
.olapekes-step-num,
.olapekes-step-num.elementor-widget {
  flex: 0 0 auto !important;
}
.olapekes-step-num .elementor-heading-title {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7CC9DA 0%, #5DB6CB 100%);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px -2px rgba(124, 201, 218, 0.4);
}
@media (max-width: 767px) {
  .olapekes-step-num .elementor-heading-title {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}


/* ---------- 3. Hero decorative blobs
 * Applied to: hero section container via _css_classes
 * Adds two soft radial gradient circles behind content.
 * Pseudo-elements only — keeps JSON clean.
 * ---------- */
.olapekes-hero {
  position: relative;
  overflow: hidden;
}
.olapekes-hero::before,
.olapekes-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.olapekes-hero::before {
  right: -10%;
  top: -20%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 40% 40%, rgba(124, 201, 218, 0.22), transparent 65%);
}
.olapekes-hero::after {
  left: -8%;
  bottom: -25%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(110, 218, 213, 0.18), transparent 65%);
}
.olapekes-hero > .e-con-inner,
.olapekes-hero > .elementor-element {
  position: relative;
  z-index: 1;
}
/* Mint variant: swap gradient tints */
.olapekes-hero--mint::before {
  background: radial-gradient(circle at 40% 40%, rgba(110, 218, 213, 0.22), transparent 65%);
}
.olapekes-hero--mint::after {
  background: radial-gradient(circle, rgba(255, 154, 122, 0.15), transparent 65%);
}


/* ---------- 4. FAQ accordion content
 * Applied to: FAQ section container via _css_classes
 * Styles <ul>/<li>/<b>/<a> inside ElementsKit accordion answers.
 * ---------- */
.olapekes-faq .elementor-widget-elementskit-accordion ul {
  margin: 10px 0;
  padding-left: 22px;
  list-style: disc;
}
.olapekes-faq .elementor-widget-elementskit-accordion li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.olapekes-faq .elementor-widget-elementskit-accordion b {
  color: #2D3748;
}
.olapekes-faq .elementor-widget-elementskit-accordion a {
  color: #5DB6CB;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.olapekes-faq .elementor-widget-elementskit-accordion a:hover {
  color: #2D3748;
}


/* ---------- 5. Aspect-ratio helpers for images
 * Apply via _css_classes on image widgets that need a guaranteed ratio
 * (e.g., hero photos so they don't explode on tall screens).
 * ---------- */
.olapekes-ar-4-5 img { aspect-ratio: 4 / 5; object-fit: cover; }
.olapekes-ar-5-4 img { aspect-ratio: 5 / 4; object-fit: cover; }
.olapekes-ar-1-1 img { aspect-ratio: 1 / 1; object-fit: cover; }


/* ---------- 6. Subtle quality-of-life
 * Optional gating: apply .olapekes-page to <body> via WP body-class
 * filter to scope all of the above to OlaPekes pages only.
 * ---------- */
.olapekes-page img {
  max-width: 100%;
  height: auto;
}


/* ---------- 7. Pill-row service tags
 * Used by: Hidroterapia split section (session info tags)
 * Applied to: text-editor widget HTML content
 * Replicates the HTML pill design with a peach dot + mint-wash background.
 * ---------- */
.olapekes-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0;
}
.olapekes-pill {
  padding: 8px 16px;
  border-radius: 9999px;
  background: #E8F8F6;
  border: 1px solid #BFF2EF;
  color: #2D3748;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.olapekes-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF9A7A;
  display: inline-block;
  flex-shrink: 0;
}


/* ---------- 8. Reservar — booking grid & session cards
 * Used by: Reservar page booking section (HTML widget)
 * Applied to: .op-booking-wrap inside the Elementor HTML widget.
 * Prefix: .op-* (page-scoped, not reused elsewhere)
 * ---------- */
.op-booking-wrap {
  padding: 32px 0 80px;
  background: linear-gradient(180deg, #fff 0%, #F4FBFA 100%);
}
.op-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 44px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  align-items: start;
}
.op-rail-label {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #2D3748;
  padding: 0 4px 14px;
  line-height: 1.35;
}
.op-session-list { display: flex; flex-direction: column; gap: 10px; }
.op-session-card {
  position: relative;
  background: #fff;
  border: 1px solid #F0F2F4;
  border-radius: 20px;
  padding: 16px 16px 14px;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  font-family: 'Quicksand', sans-serif;
  color: #2F2F2F;
  width: 100%;
  min-width: 0;
  overflow: visible;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  appearance: none;
  border-style: solid;
}
.op-session-card:hover {
  border-color: #BFF2EF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -10px rgba(45, 55, 72, .18);
}
.op-session-card.op-active {
  border-color: #6EDAD5;
  box-shadow: 0 0 0 1px #6EDAD5, 0 4px 12px -6px rgba(45, 55, 72, .12);
}
.op-session-card.op-active .op-session-icon { background: #6EDAD5; color: #fff; }
.op-session-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E8F8F6;
  color: #5BC9BF;
  display: grid;
  place-items: center;
  transition: background .18s, color .18s;
  flex-shrink: 0;
}
.op-session-icon svg { width: 20px; height: 20px; }
.op-session-body { min-width: 0; display: block; overflow-wrap: break-word; }
.op-session-name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #2D3748;
  margin: 0 0 2px;
  line-height: 1.25;
  display: block;
}
.op-session-fit {
  font-size: 12.5px;
  color: #7a8390;
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
  display: block;
}

/* Featured card (Primera Experiencia) */
.op-session-card.op-featured {
  border-color: #FFE5DD;
  padding: 22px 22px 20px;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  background: linear-gradient(180deg, #FFFBF8 0%, #fff 80%);
}
.op-session-card.op-featured .op-session-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFE5DD;
  color: #FF8567;
}
.op-session-card.op-featured .op-session-icon svg { width: 24px; height: 24px; }
.op-session-card.op-featured.op-active {
  border-color: #FF9A7A;
  box-shadow: 0 0 0 1px #FF9A7A, 0 8px 24px -10px rgba(255, 154, 122, .35);
}
.op-session-card.op-featured.op-active .op-session-icon { background: #FF9A7A; color: #fff; }
.op-session-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFF1EC;
  color: #FF8567;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.op-session-card.op-featured .op-session-name { font-size: 16.5px; margin-bottom: 4px; }
.op-session-card.op-featured .op-session-fit {
  font-size: 13px;
  color: #5b6470;
  line-height: 1.55;
  margin-bottom: 12px;
}
.op-session-meta {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  color: #7a8390;
  font-weight: 600;
  flex-wrap: wrap;
}
.op-session-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.op-session-meta-item svg { color: #5BC9BF; width: 14px; height: 14px; }
.op-session-card.op-featured.op-active .op-session-meta-item svg { color: #FF8567; }

.op-rail-helper {
  margin-top: 18px;
  padding: 0 4px;
  font-size: 12.5px;
  color: #7a8390;
  line-height: 1.55;
}
.op-rail-helper a { color: #5BC9BF; font-weight: 700; }

/* Embed card */
.op-embed-card {
  background: #fff;
  border: 1px solid #F0F2F4;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(45, 55, 72, .18),
              0 12px 24px -16px rgba(91, 201, 191, .16);
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.op-embed-head {
  padding: 28px 32px 22px;
  border-bottom: 1px solid #F4F6F8;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.op-embed-head-left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.op-embed-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFE5DD;
  color: #FF8567;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .18s, color .18s;
}
.op-embed-title-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.op-embed-title-wrap h3 {
  font-size: 19px;
  line-height: 1.2;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: #2D3748;
  margin: 0;
}
.op-embed-title-wrap span { font-size: 13px; color: #7a8390; font-weight: 500; }
.op-embed-meta {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  color: #5b6470;
  font-weight: 600;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.op-embed-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 9999px;
  background: #FAFBFB;
  border: 1px solid #F0F2F4;
}
.op-embed-meta-item svg { color: #5BC9BF; width: 14px; height: 14px; }
.op-embed-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #FFF1EC;
  color: #FF8567;
  font-size: 12px;
  font-weight: 700;
}
.op-embed-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF9A7A;
  animation: opPulse 2s infinite;
  display: inline-block;
}
@keyframes opPulse {
  0%   { box-shadow: 0 0 0 0   rgba(255, 154, 122, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 154, 122, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(255, 154, 122, 0);   }
}
.op-embed-trust {
  padding: 14px 32px;
  background: linear-gradient(180deg, #F4FBFA 0%, #fff 100%);
  border-bottom: 1px solid #F4F6F8;
  font-size: 12.5px;
  color: #5b6470;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}
.op-embed-trust svg {
  flex-shrink: 0;
  color: #5BC9BF;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.op-embed-trust b { color: #2D3748; font-weight: 700; }
.op-embed-frame {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
  background: #fff;
  transition: opacity .18s;
}
.op-embed-frame.op-swapping { opacity: .35; }
.op-embed-foot {
  padding: 16px 32px;
  background: #FAFBFB;
  border-top: 1px solid #F4F6F8;
  font-size: 12.5px;
  color: #7a8390;
  text-align: center;
}
.op-embed-foot a { color: #5BC9BF; font-weight: 700; }

@media (max-width: 1100px) {
  .op-booking-grid { grid-template-columns: 1fr; gap: 22px; }
  .op-embed-card { position: static; }
}
@media (max-width: 640px) {
  .op-booking-wrap   { padding: 24px 0 60px; }
  .op-booking-grid   { padding: 0 18px; }
  .op-embed-head     { padding: 18px 20px; }
  .op-embed-frame    { height: 640px; }
  .op-embed-foot     { padding: 12px 18px; }
  .op-session-card   { padding: 16px 14px 14px; }
}


/* ---------- 9. Reservar — paquete spa band
 * Used by: Reservar page paquete section (HTML widget)
 * Applied to: .op-paquete-* inside the Elementor HTML widget.
 * ---------- */
.op-paquete-band { background: #E8F8F6; padding: 64px 0; }
.op-paquete-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.op-paquete-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 24px -8px rgba(91, 201, 191, .20),
              0 2px 6px -2px rgba(0, 0, 0, .05);
  border: 1px solid #ECEEF1;
  padding: 40px 48px;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
}
.op-paquete-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: grid;
  place-items: center;
}
.op-paquete-icon svg { width: 36px; height: 36px; fill: currentColor; stroke: none; }
.op-paquete-text h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: #2D3748;
}
.op-paquete-text p { margin: 0; font-size: 15px; line-height: 1.55; color: #5b6470; }
.op-btn-wa {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Baloo 2', sans-serif;
  cursor: pointer;
  text-decoration: none;
  background: #25D366;
  color: #fff;
  box-shadow: 0 2px 4px -2px rgba(0, 0, 0, .1),
              0 4px 12px -2px rgba(37, 211, 102, .45);
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.op-btn-wa:hover { background: #1DA851; transform: translateY(-1px); }
.op-btn-wa svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 980px) {
  .op-paquete-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .op-paquete-icon { margin: 0 auto; }
}
@media (max-width: 640px) {
  .op-paquete-band  { padding: 48px 0; }
  .op-paquete-inner { padding: 0 18px; }
  .op-paquete-card  { padding: 28px 20px; }
}
