/* ============================================================
   CONSULTATION PAGE — Styles
   Extends: app.css (Design System)
   ============================================================ */

/* ============================================================
   TOP BAR — Transparent → Solid on scroll
   ============================================================ */
.consult-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px var(--space-lg);
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base);
  background: transparent;
}

.consult-topbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
}

.consult-topbar__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.2px;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.consultation-page {
  min-height: 100vh;
  padding-bottom: calc(
    var(--nav-height) + var(--space-xl) + env(safe-area-inset-bottom)
  );
  display: flex;
  flex-direction: column;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.consultation-hero {
  position: relative;
  padding: 96px var(--space-lg) var(--space-xl);
  text-align: center;
  background: linear-gradient(
    175deg,
    var(--color-primary-light) 0%,
    rgba(253, 248, 249, 0.6) 55%,
    var(--color-bg) 100%
  );
  overflow: hidden;
}

/* Decorative blobs */
.consultation-hero__blob-1 {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 167, 185, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.consultation-hero__blob-2 {
  position: absolute;
  bottom: -40px;
  left: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 115, 138, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Hero Illustration */
.consultation-hero__illustration {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.consultation-hero__circle {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-primary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(212, 115, 138, 0.35);
  position: relative;
  animation: gentle-float 4s ease-in-out infinite;
}

@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.consultation-hero__icon {
  font-size: 48px;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Ping rings */
.consultation-hero__ping {
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(212, 115, 138, 0.35);
  animation: ping-ring 2.4s ease-out infinite;
}

.consultation-hero__ping-2 {
  position: absolute;
  inset: -22px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(212, 115, 138, 0.18);
  animation: ping-ring 2.4s ease-out 0.6s infinite;
}

@keyframes ping-ring {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

/* Small floating bubbles */
.hero-bubble {
  position: absolute;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  white-space: nowrap;
  animation: bubble-float 3.5s ease-in-out infinite;
}

.hero-bubble--left {
  left: -8px;
  top: 10px;
  animation-delay: 0.5s;
}

.hero-bubble--right {
  right: -8px;
  bottom: 10px;
  animation-delay: 1.2s;
}

@keyframes bubble-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-5px) rotate(1deg);
  }
}

.hero-bubble__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.hero-bubble__dot--green {
  background: #2ecc71;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25);
}
.hero-bubble__dot--yellow {
  background: #f39c12;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.25);
}

/* Title & Subtitle */
.consultation-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-md);
}

.consultation-title span {
  color: var(--color-primary-dark);
}

.consultation-subtitle {
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ============================================================
   ONLINE STATUS BADGE
   ============================================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--space-lg);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition-base);
}

.status-badge--online {
  background: #e8f8f0;
  border: 1.5px solid #a8e6c3;
  color: #1a7a45;
}

.status-badge--offline {
  background: var(--color-bg-section);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-muted);
}

.status-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.status-badge--online .status-badge__dot {
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
  animation: status-pulse 2s ease-in-out infinite;
}

.status-badge--offline .status-badge__dot {
  background: var(--color-text-muted);
}

@keyframes status-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(46, 204, 113, 0.12);
  }
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.consultation-body {
  flex: 1;
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ============================================================
   BENEFIT CARDS
   ============================================================ */
.consultation-benefits {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefit-item__icon-wrap--pink {
  background: var(--color-primary-light);
}
.benefit-item__icon-wrap--green {
  background: #e8f8f0;
}
.benefit-item__icon-wrap--blue {
  background: #e3f2fd;
}
.benefit-item__icon-wrap--orange {
  background: #fff3e0;
}

.benefit-item__body {
  flex: 1;
}

.benefit-item__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}

.benefit-item__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   HOURS CARD
   ============================================================ */
.consultation-hours {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.consultation-hours__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--color-primary-dark);
}

.consultation-hours__info {
  flex: 1;
}

.consultation-hours__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.consultation-hours__schedule {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.consultation-hours__schedule strong {
  color: var(--color-primary-dark);
}

.consultation-hours__note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* ============================================================
   TEAM AVATARS
   ============================================================ */
.team-strip {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  padding: var(--space-lg);
}

.team-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.team-strip__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.team-strip__count {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.team-avatars {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.team-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.team-avatar__img-wrap {
  position: relative;
}

.team-avatar__img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2.5px solid var(--color-border);
  background: var(--color-primary-light);
  display: block;
}

.team-avatar__placeholder {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: white;
  border: 2.5px solid rgba(255, 255, 255, 0.5);
}

.team-avatar__status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid white;
}

.team-avatar__status--online {
  background: #2ecc71;
}
.team-avatar__status--busy {
  background: #f39c12;
}
.team-avatar__status--offline {
  background: #bdc3c7;
}

.team-avatar__name {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-body);
  text-align: center;
  max-width: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-avatar__role {
  font-size: 10px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.consultation-faq {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.faq-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.faq-header__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.faq-header__icon {
  font-size: 16px;
  color: var(--color-primary-medium);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  gap: var(--space-md);
  transition: background var(--transition-fast);
}

.faq-item__trigger:active {
  background: var(--color-bg-section);
}

.faq-item__question {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  flex: 1;
  line-height: 1.4;
}

.faq-item__chevron {
  font-size: 15px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--color-primary-dark);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-item__body {
  max-height: 300px;
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.consultation-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

/* WhatsApp CTA Button */
.whatsapp-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px var(--space-lg);
  background: linear-gradient(135deg, #20c654 0%, #25d366 100%);
  color: white;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  letter-spacing: 0.2px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  animation: btn-shimmer 3s ease-in-out infinite;
}

@keyframes btn-shimmer {
  0% {
    left: -100%;
  }
  60%,
  100% {
    left: 150%;
  }
}

.whatsapp-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn__icon {
  font-size: 22px;
  flex-shrink: 0;
}

/* Quick reply note */
.cta-reply-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.cta-reply-note__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: #2ecc71;
  flex-shrink: 0;
  animation: status-pulse 2s ease-in-out infinite;
}

/* Secondary action */
.cta-alt-text {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.6;
  max-width: 280px;
  padding: 0 var(--space-sm);
}

.cta-alt-text a,
.cta-alt-text span {
  color: var(--color-primary-dark);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Social alternatives */
.cta-socials {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
}

.social-alt-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px var(--space-sm);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.social-alt-btn:active {
  transform: scale(0.96);
}

.social-alt-btn--email {
  background: var(--color-white);
  border-color: var(--color-border);
  color: var(--color-text-body);
}

.social-alt-btn--email:active {
  background: var(--color-bg-section);
}

.social-alt-btn--instagram {
  background: var(--color-white);
  border-color: #fcc2d7;
  color: #b5005b;
}

.social-alt-btn--instagram:active {
  background: #fce4ec;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-md) 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.trust-item__icon {
  font-size: 22px;
  color: var(--color-primary-medium);
}

.trust-item__text {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   DIVIDER WITH LABEL
   ============================================================ */
.divider-label {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

.divider-label__line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.divider-label__text {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* ============================================================
   TOAST (shared)
   ============================================================ */
.toast {
  position: fixed;
  bottom: calc(
    var(--nav-height) + var(--space-md) + env(safe-area-inset-bottom)
  );
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  max-width: calc(var(--max-width) - 48px);
  width: calc(100% - 48px);
  background: var(--color-text-dark);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
}

.fade-up-1 {
  animation-delay: 0.05s;
}
.fade-up-2 {
  animation-delay: 0.12s;
}
.fade-up-3 {
  animation-delay: 0.2s;
}
.fade-up-4 {
  animation-delay: 0.28s;
}
.fade-up-5 {
  animation-delay: 0.36s;
}
.fade-up-6 {
  animation-delay: 0.44s;
}
.fade-up-7 {
  animation-delay: 0.52s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
