html { scroll-behavior: smooth; }

.hero-bg {
  background: linear-gradient(135deg, #5C2A3A 0%, #9B3E58 55%, #C17389 100%);
}

/* Photo dissolves into the section background on its inner edge instead of a hard rectangular crop */
.blend-photo-left {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 22%, black 100%);
}
@media (max-width: 1023px) {
  .blend-photo-left {
    -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  }
}

.conditions-marquee-row {
  position: relative;
  overflow: hidden;
}
.conditions-marquee-row::before,
.conditions-marquee-row::after {
  content: '';
  position: absolute;
  top: 0;
  z-index: 2;
  width: 48px;
  height: 100%;
  pointer-events: none;
}
.conditions-marquee-row::before {
  left: 0;
  background: linear-gradient(90deg, #F7F3EE, rgba(247,243,238,0));
}
.conditions-marquee-row::after {
  right: 0;
  background: linear-gradient(270deg, #F7F3EE, rgba(247,243,238,0));
}
.conditions-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: conditionsScrollLeft 48s linear infinite;
  animation-delay: -16s;
}
.conditions-track-reverse {
  animation-name: conditionsScrollRight;
  animation-delay: -32s;
}
.conditions-marquee:hover .conditions-track {
  animation-play-state: paused;
}
@keyframes conditionsScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}
@keyframes conditionsScrollRight {
  from { transform: translateX(-33.3333%); }
  to { transform: translateX(0); }
}

.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: linear-gradient(90deg, #7A1B33, #C99A3F);
}

.faq-item input[type="checkbox"]:checked ~ .faq-content {
  max-height: 500px;
  opacity: 1;
}
.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.faq-item input[type="checkbox"]:checked ~ label .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

.pulse-ring {
  animation: pulseRing 2.5s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(201,154,63,0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 18px rgba(201,154,63,0); }
  100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(201,154,63,0); }
}

.form-input:focus {
  outline: none;
  border-color: #7A1B33;
  box-shadow: 0 0 0 3px rgba(122,27,51,0.15);
}

.sticky-bar {
  transition: transform 0.3s ease, background 0.3s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

.gradient-text {
  background: linear-gradient(90deg, #7A1B33, #C99A3F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-glow {
  box-shadow: 0 0 30px rgba(201,154,63,0.35);
}
.cta-glow:hover {
  box-shadow: 0 0 45px rgba(201,154,63,0.55);
}

/* Original FAQ styles */
.orig-faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}
.orig-faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.orig-faq-question {
  font-size: 17px;
  color: #7A1B33;
  font-weight: bold;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}
.orig-faq-question:hover {
  background-color: #f3f3f3;
}
.orig-faq-answer {
  font-size: 15px;
  color: #444;
  padding: 12px 20px 18px;
  line-height: 1.6;
  display: none;
  border-top: 1px solid #f0f0f0;
}
.orig-faq-arrow {
  font-size: 22px;
  font-weight: bold;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.orig-faq-item.open .orig-faq-arrow {
  transform: rotate(90deg);
}
