/* ==========================================================================
   FB Re-engagement Landing Page — Custom Sections
   Follows product-page.css patterns (sr- prefix → re- prefix)
   ========================================================================== */

/* ---------- Offer Cards Section ---------- */
.re-offer {
  padding: 5rem 1.5rem;
  background: #fff;
}

.re-offer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.re-offer-text h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0C1B33;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.re-offer-text > p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #4A4F57;
  margin: 0;
  max-width: 640px;
}

.re-offer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.re-offer-card {
  padding: 2rem 0;
  border-top: 2px solid #C17F4E;
}

.re-offer-card h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0C1B33;
  margin: 0 0 0.5rem;
}

.re-offer-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4A4F57;
  margin: 0;
}

@media (max-width: 768px) {
  .re-offer-cards {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- Booking Section (with inline process steps) ---------- */
.re-booking {
  padding: 5rem 1.5rem;
  background: #F5F7FA;
}

.re-booking-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.re-booking-kicker {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C17F4E;
  margin: 0 0 0.75rem;
}

.re-booking-text h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #0C1B33;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.re-booking-text > p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #4A4F57;
  margin: 0;
}

/* Inline process steps */
.re-steps {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(12, 27, 51, 0.08);
}

.re-steps-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8A8F96;
  margin: 0 0 1.25rem;
}

.re-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.875rem 0;
}

.re-step + .re-step {
  border-top: 1px solid rgba(12, 27, 51, 0.05);
}

.re-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: #0C1B33;
  color: #C17F4E;
  border-radius: 50%;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.re-step h4 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0C1B33;
  margin: 0 0 0.125rem;
  line-height: 1.3;
}

.re-step p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #4A4F57;
  margin: 0;
}

.re-booking-form {
  background: #fff;
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(12, 27, 51, 0.04), 0 8px 24px rgba(12, 27, 51, 0.06);
  position: sticky;
  top: 2rem;
}

.re-form-heading {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0C1B33;
  margin: 0 0 2rem;
  line-height: 1.2;
}

.re-field {
  margin-bottom: 1.5rem;
}

.re-field > label {
  display: block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8A8F96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.re-field input[type="text"],
.re-field input[type="tel"],
.re-field input[type="email"],
.re-field input[type="date"] {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #0C1B33;
  background: #fff;
  border: 1.5px solid #DDE2E8;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.re-field input:focus {
  outline: none;
  border-color: #0C1B33;
  box-shadow: 0 0 0 3px rgba(12, 27, 51, 0.06);
}

.re-field input::placeholder {
  color: #C8CCD0;
}

.re-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Custom calendar */
.re-cal {
  border: 1.5px solid #DDE2E8;
  border-radius: 0.5rem;
  overflow: hidden;
  user-select: none;
}

.re-cal-error {
  border-color: #C53030;
}

.re-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #0C1B33;
}

.re-cal-title {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.re-cal-nav {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.re-cal-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.re-cal-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.re-cal-prev::after,
.re-cal-next::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.re-cal-prev::after {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.re-cal-next::after {
  transform: translate(-65%, -50%) rotate(45deg);
}

.re-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0.75rem 1rem 0.25rem;
  background: #F5F7FA;
  border-bottom: 1px solid #E8EFF5;
}

.re-cal-days span {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #8A8F96;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding-bottom: 0.5rem;
}

.re-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0.5rem 1rem 1rem;
  background: #fff;
}

.re-cal-empty {
  aspect-ratio: 1;
}

.re-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0C1B33;
  background: none;
  border: 2px solid transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.12s ease;
  padding: 0;
}

.re-cal-day:hover:not(:disabled) {
  background: #F5F7FA;
  border-color: #DDE2E8;
}

.re-cal-day.re-cal-today {
  color: #C17F4E;
  font-weight: 700;
}

.re-cal-day.re-cal-selected {
  background: #0C1B33;
  color: #fff;
  border-color: #0C1B33;
}

.re-cal-day.re-cal-disabled {
  color: #C8CCD0;
  cursor: default;
}

@media (max-width: 768px) {
  .re-cal-grid {
    gap: 1px;
    padding: 0.375rem 0.5rem 0.75rem;
  }
  .re-cal-days {
    padding: 0.5rem 0.5rem 0.25rem;
  }
  .re-cal-day {
    font-size: 0.8125rem;
  }
}

/* Time slots */
.re-timeslots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.re-timeslot {
  position: relative;
  cursor: pointer;
}

.re-timeslot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.re-timeslot span {
  display: block;
  padding: 0.875rem 0.75rem;
  text-align: center;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4A4F57;
  background: #fff;
  border: 1.5px solid #DDE2E8;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}

.re-timeslot input:checked + span {
  background: #0C1B33;
  color: #fff;
  border-color: #0C1B33;
  box-shadow: 0 2px 8px rgba(12, 27, 51, 0.15);
}

.re-timeslot:hover span {
  border-color: #0C1B33;
  color: #0C1B33;
}

/* Submit */
.re-submit {
  display: block;
  width: 100%;
  padding: 1.125rem;
  margin-top: 2rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: #C17F4E;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(193, 127, 78, 0.25);
}

.re-submit:hover {
  background: #B85C3A;
  box-shadow: 0 4px 12px rgba(193, 127, 78, 0.35);
}

.re-submit:active {
  transform: translateY(1px);
  box-shadow: 0 1px 4px rgba(193, 127, 78, 0.2);
}

.re-form-note {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #8A8F96;
  text-align: center;
  margin: 1rem 0 0;
}

@media (max-width: 768px) {
  .re-booking-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .re-booking-form {
    position: static;
  }

  .re-steps {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .re-booking-form {
    padding: 1.5rem;
  }

  .re-field-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Why Now Section ---------- */
.re-why {
  padding: 5rem 1.5rem;
  background: #0C1B33;
}

.re-why-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.re-why-kicker {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C17F4E;
  margin: 0 0 0.75rem;
}

.re-why-heading {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 2.5rem;
}

.re-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.re-why-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.re-why-item h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.re-why-item p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

@media (max-width: 768px) {
  .re-why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- Testimonials Section ---------- */
.re-testimonials {
  padding: 5rem 1.5rem;
  background: #fff;
}

.re-testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.re-testimonials-kicker {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C17F4E;
  margin: 0 0 0.75rem;
}

.re-testimonials-heading {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0C1B33;
  line-height: 1.15;
  margin: 0 0 2.5rem;
}

.re-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.re-tcard {
  background: #F5F7FA;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(12, 27, 51, 0.06);
}

.re-tcard-stars {
  color: #C17F4E;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.re-tcard-quote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4A4F57;
  font-style: italic;
  margin: 0 0 1rem;
}

.re-tcard-author {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0C1B33;
  margin: 0;
}

@media (max-width: 768px) {
  .re-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- FAQ Section ---------- */
.re-faq {
  padding: 5rem 1.5rem;
  background: #fff;
}

.re-faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.re-faq-kicker {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C17F4E;
  margin: 0 0 0.75rem;
}

.re-faq-heading {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0C1B33;
  line-height: 1.15;
  margin: 0 0 2.5rem;
}

.re-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.re-faq-item {
  border-bottom: 1px solid rgba(12, 27, 51, 0.08);
}

.re-faq-item:first-child {
  border-top: 1px solid rgba(12, 27, 51, 0.08);
}

.re-faq-question {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0C1B33;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.re-faq-question::-webkit-details-marker {
  display: none;
}

.re-faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: #C17F4E;
  transition: transform 0.2s ease;
}

.re-faq-item[open] .re-faq-question::after {
  content: '\2212';
}

.re-faq-answer {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4A4F57;
  padding: 0 0 1.25rem;
  margin: 0;
}

/* ---------- Mobile sticky CTA ---------- */
.re-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .re-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #0C1B33;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    box-shadow: 0 -2px 12px rgba(12, 27, 51, 0.2);
  }

  .re-sticky-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
  }

  .re-sticky-cta .re-sticky-book {
    background: #C17F4E;
    color: #fff;
  }

  .re-sticky-cta .re-sticky-call {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Add padding to body so sticky bar doesn't overlap content */
  body:has(.re-sticky-cta) {
    padding-bottom: 70px;
  }
}