/* ==========================================================================
   SANDY CAMPOS STUDIO — LUXURY EDITORIAL ENHANCEMENTS & CRO UPGRADES
   Palette & Design Tokens inherited from main system:
   --dark: #100e0c; --ink: #191510; --brown: #2d231b;
   --cream: #f5f0e7; --champagne: #e7d1ac; --gold: #cba66b;
   ========================================================================== */

/* Top Status Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #16120e, #241d16, #16120e);
  border-bottom: 1px solid rgba(203, 166, 107, 0.22);
  color: var(--champagne);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.top-bar-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Enhancements */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(25, 21, 16, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(203, 166, 107, 0.22);
  border-radius: 100px;
  padding: 6px 14px;
}
.hero-trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.hero-trust-item strong {
  color: var(--champagne);
  font-weight: 600;
}
.hero-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.button-quiz {
  background: rgba(203, 166, 107, 0.12);
  border: 1px solid var(--gold);
  color: var(--champagne);
}
.button-quiz:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Service Card Enhancements */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(16, 14, 12, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(203, 166, 107, 0.35);
  color: var(--champagne);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.service-duration {
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.service-duration svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold);
}

/* Interactive Before & After Section */
.transformation-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark) 0%, #16120e 50%, var(--dark) 100%);
}
.ba-showcase {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.ba-card {
  background: #181410;
  border: 1px solid rgba(203, 166, 107, 0.28);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}
.ba-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  border-radius: 12px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: #000;
}
.ba-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-img-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-after-layer {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--champagne);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.6);
}
.ba-after-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
}
/* Ensure the inner image inside clipped layer retains aspect ratio based on container */
.ba-slider-container .ba-after-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-badge {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ba-badge-before {
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #c0b4a3;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.ba-badge-after {
  left: 14px;
  background: rgba(203, 166, 107, 0.9);
  color: var(--ink);
  border: 1px solid #f2e3c5;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--champagne);
  border: 2px solid var(--dark);
  border-radius: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.ba-handle svg {
  width: 20px;
  height: 20px;
}
.ba-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}

.ba-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ba-info .eyebrow {
  margin-bottom: 12px;
}
.ba-info h3 {
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 16px;
}
.ba-info h3 em {
  color: var(--champagne);
}
.ba-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.ba-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.ba-spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(203, 166, 107, 0.18);
  padding: 14px 16px;
  border-radius: 10px;
}
.ba-spec-item small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 4px;
}
.ba-spec-item strong {
  font-size: 13px;
  color: var(--cream);
  font-weight: 600;
}

/* The 4 Pillars Method Section */
.method-section {
  padding: 95px 0;
  background: #14100c;
  border-top: 1px solid rgba(203, 166, 107, 0.16);
  border-bottom: 1px solid rgba(203, 166, 107, 0.16);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.method-card {
  background: rgba(25, 21, 16, 0.55);
  border: 1px solid rgba(203, 166, 107, 0.22);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.method-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  background: rgba(35, 29, 22, 0.75);
}
.method-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 18px;
}
.method-card h3 {
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.25;
}
.method-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.method-icon {
  margin-bottom: 14px;
  color: var(--champagne);
}
.method-icon svg {
  width: 28px;
  height: 28px;
}

/* Reviews / Testimonials Section */
.testimonials-section {
  padding: 95px 0;
  background: var(--dark);
}
.rating-pill-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(203, 166, 107, 0.1);
  border: 1px solid var(--gold);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--cream);
}
.stars-gold {
  color: #f59e0b;
  display: inline-flex;
  gap: 3px;
}
.stars-gold svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.testimonial-card {
  background: #17130f;
  border: 1px solid rgba(203, 166, 107, 0.2);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.testimonial-stars {
  margin-bottom: 18px;
}
.testimonial-quote {
  font-size: 14px;
  line-height: 1.8;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(203, 166, 107, 0.16);
  padding-top: 18px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2a221b;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--champagne);
  flex-shrink: 0;
}
.author-info strong {
  display: block;
  font-size: 13px;
  color: var(--cream);
  font-weight: 600;
}
.author-info span {
  display: block;
  font-size: 11px;
  color: var(--gold);
}
.author-badge {
  margin-left: auto;
  font-size: 10px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 3px 8px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 95px 0;
  background: #14110d;
}
.faq-list {
  max-width: 820px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #191510;
  border: 1px solid rgba(203, 166, 107, 0.22);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item:hover, .faq-item.active {
  border-color: var(--gold);
}
.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(203, 166, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne);
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--ink);
}
.faq-content {
  padding: 0 26px 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  display: none;
}
.faq-item.active .faq-content {
  display: block;
}

/* Location Glass Card Extra Amenities */
.location-amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e9ddc8;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #635340;
  font-weight: 500;
}
.amenity-item svg {
  width: 15px;
  height: 15px;
  color: #917044;
  flex-shrink: 0;
}
.copy-address-btn {
  background: transparent;
  border: 1px dashed #917044;
  color: #6a4f2c;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.copy-address-btn:hover {
  background: #f2e7d3;
}
.copy-address-btn svg {
  width: 14px;
  height: 14px;
}

/* Contact Actions Enhanced */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-phone-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-copy-num {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--champagne);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.btn-copy-num:hover {
  background: var(--champagne);
  color: var(--ink);
}
.contact-email-link {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.contact-email-link:hover {
  color: var(--champagne);
}

/* Floating WhatsApp Pulse & Live Indicator */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: wa-pulse 3s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 14px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Mobile Sticky Dock */
.mobile-sticky-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(16, 14, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(203, 166, 107, 0.28);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.dock-btn {
  flex: 1;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.dock-btn-primary {
  background: linear-gradient(110deg, #f2e3c5, #d9b87f);
  color: var(--ink);
  border: 1px solid #efdbb5;
  box-shadow: 0 4px 15px rgba(217, 184, 127, 0.35);
}
.dock-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(203, 166, 107, 0.3);
  color: var(--champagne);
}
.dock-btn svg {
  width: 17px;
  height: 17px;
}

/* Hair Consultation Quiz Dialog */
.quiz-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: 90vh;
  background: #181410;
  color: var(--cream);
  border: 1px solid rgba(203, 166, 107, 0.4);
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  margin: auto;
  position: fixed;
  inset: 0;
  z-index: 1000;
  outline: none;
  overflow-y: auto;
}
.quiz-dialog::backdrop {
  background: rgba(10, 8, 6, 0.82);
  backdrop-filter: blur(8px);
}
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.quiz-header h2 {
  font-size: 32px;
  color: var(--cream);
}
.quiz-header h2 em {
  color: var(--champagne);
}
.quiz-steps-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.quiz-step-dot {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  transition: background 0.3s;
}
.quiz-step-dot.active {
  background: var(--gold);
}
.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-question-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}
.quiz-question-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.quiz-option-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(203, 166, 107, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
.quiz-option-card:hover {
  border-color: var(--champagne);
  background: rgba(203, 166, 107, 0.08);
}
.quiz-option-card.selected {
  border-color: var(--gold);
  background: rgba(203, 166, 107, 0.16);
}
.quiz-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(203, 166, 107, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quiz-option-card.selected .quiz-radio-circle {
  border-color: var(--gold);
}
.quiz-option-card.selected .quiz-radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.quiz-option-text strong {
  display: block;
  font-size: 14px;
  color: var(--cream);
}
.quiz-option-text small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  border-top: 1px solid rgba(203, 166, 107, 0.16);
  padding-top: 18px;
}
.quiz-result-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
}
.quiz-result-title {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.quiz-result-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: 14px;
}
.quiz-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quiz-tag {
  background: rgba(203, 166, 107, 0.15);
  color: var(--champagne);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(203, 166, 107, 0.3);
}

/* Toast Feedback */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e1913;
  color: var(--cream);
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.35s ease;
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast-notice svg {
  width: 18px;
  height: 18px;
  color: #4ade80;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .ba-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 9.5px;
    padding: 6px 12px;
  }
  .hero-trust-row {
    margin-top: 18px;
    gap: 8px;
  }
  .hero-trust-item {
    font-size: 10px;
    padding: 5px 10px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
  }
  .mobile-sticky-dock {
    display: flex;
  }
  .whatsapp-float {
    bottom: 74px; /* avoid collision with mobile dock */
    right: 16px;
  }
  body {
    padding-bottom: 70px; /* space for mobile sticky dock */
  }
  .location-amenities {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .quiz-dialog {
    padding: 24px 18px;
  }
  .quiz-header h2 {
    font-size: 26px;
  }
}
