/*
  REEF DISCOVERY
  ===============
  1. Variables & Resets
  2. Background Helpers
  3. Typography
  4. Buttons
  5. Pills & Labels
  6. Cards (base, filled, outlined)
  7. Stat Cards
  8. Quotes / Testimonials
  9. Checklists
  10. Banners (persona panels)
  11. Persona Toggle
  12. Feature Flip Cards (Section 4)
  13. Product Hero (Reef ECA / Reef Review)
  14. Navy Stats & Capability Pills
  15. Light Stats (pale-blue hero)
  16. Showcase Cards (features with image)
  17. Case Study Flip Cards (Section 12)
  18. Testimonials Slider
  19. FAQ Accordion
  20. Marquee
  21. Case Study (legacy)
  22. Pricing Highlight
  23. Media Queries
*/


/* ==========================================================================
   1. VARIABLES & RESETS
   ========================================================================== */

:root {
  --reef-navy: #0a1f3b;
  --reef-navy-light: #1a3a52;
  --reef-blue: #0066cc;
  --reef-blue-light: #8eb8de;
  --reef-blue-hover: #0052a3;
  --reef-light-bg: #f8f9fa;
  --reef-card-bg: #f0f4f8;
  --reef-border: #e0e0e0;
  --reef-body-text: #4a4a4a;
}

html {
  scroll-behavior: smooth;
}

a.reef-cap-pill {
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8rem !important;
}

a.reef-cap-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.reef-cap-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.node--type-general-content-page.node--unpublished {
  padding: 0;
}

body:not(.user-logged-in) .reef-hero {
  padding-top: 10rem !important;
}


/* ==========================================================================
   2. BACKGROUND HELPERS
   ========================================================================== */

.reef-bg-navy {
  background: linear-gradient(135deg, var(--reef-navy) 0%, var(--reef-navy-light) 100%) !important;
}

.reef-bg-gray {
  background-color: var(--reef-light-bg) !important;
}

.reef-bg-blue {
  background: linear-gradient(135deg, #1a4a6e 0%, #2a6a8e 100%) !important;
}

.reef-bg-pale-blue {
  background-color: #e4eef6 !important;
}

/* Suppress Drupal theme h5 underlines on dark/gray/pale-blue backgrounds */
.reef-bg-navy h5:after,
.reef-bg-gray h5:after,
.reef-bg-blue h5:after,
.reef-bg-pale-blue h5:after,
.bg-white .reef-card h5:after {
  display: none !important;
}

/* Navy section text overrides */
.reef-bg-navy h1,
.reef-bg-navy h2,
.reef-bg-navy h3,
.reef-bg-navy .text-white {
  color: #fff !important;
}

.reef-bg-navy .reef-subtitle {
  color: rgba(255, 255, 255, 0.85);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

.reef-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--reef-navy);
  margin-bottom: 1rem;
}

.reef-subtitle {
  font-size: 1.1rem;
  color: var(--reef-body-text);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.reef-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--reef-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.reef-section h5 {
  text-transform: none;
}

.reef-section h5:after {
  display: none !important;
}


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn-reef {
  background: var(--reef-blue);
  color: #fff !important;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
}

.btn-reef:hover,
.btn-reef:focus {
  background: var(--reef-blue-hover);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  color: #fff !important;
}

.btn-reef-white {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 4px;
  background: #fff;
  color: var(--reef-navy) !important;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-reef-white:hover,
.btn-reef-white:focus {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: var(--reef-navy) !important;
}

.btn-reef-navy {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 4px;
  background: var(--reef-navy);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-reef-navy:hover,
.btn-reef-navy:focus {
  background: var(--reef-navy-light);
  box-shadow: 0 4px 12px rgba(10, 31, 59, 0.3);
  color: #fff !important;
}

.btn-reef-navy-outline {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--reef-navy);
  border-radius: 4px;
  background: transparent;
  color: var(--reef-navy) !important;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-reef-navy-outline:hover,
.btn-reef-navy-outline:focus {
  background: var(--reef-navy);
  color: #fff !important;
}


/* ==========================================================================
   5. PILLS & LABELS
   ========================================================================== */

.reef-pill {
  display: inline-block;
  background: var(--reef-card-bg);
  color: var(--reef-blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}


/* ==========================================================================
   6. CARDS (base, filled, outlined)
   ========================================================================== */

.reef-card {
  background: #fff;
  border: 1px solid var(--reef-border);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.reef-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 31, 59, 0.15);
}

.reef-card h5,
.reef-card .reef-card-title {
  color: var(--reef-blue);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: none;
}

.reef-card h5:after {
  display: none !important;
}

.reef-card p {
  font-size: 0.95rem;
  color: var(--reef-body-text);
  margin-bottom: 0;
  line-height: 1.6;
}

.reef-card ul li {
  margin-bottom: 0.5rem;
}

.reef-card ul li:last-child {
  margin-bottom: 0;
}

/* Filled variant */
.reef-card-filled {
  background: var(--reef-card-bg);
  border: 1px solid var(--reef-border);
}

/* Outlined variant */
.reef-card-outlined {
  background: #fff;
  border: 2px solid var(--reef-blue);
}

.reef-card-filled h5,
.reef-card-outlined h5 {
  color: var(--reef-navy);
  font-size: 1.3rem;
}

.reef-card-filled h5.reef-text-blue {
  color: var(--reef-blue);
}


/* ==========================================================================
   7. STAT CARDS
   ========================================================================== */

.reef-stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.reef-stat-card .reef-stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--reef-navy);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.reef-stat-card .reef-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--reef-navy);
}

.reef-stat-card .reef-stat-icon {
  color: var(--reef-blue);
  margin-bottom: 0.75rem;
  line-height: 0;
}

.reef-stat-card .reef-stat-icon svg {
  width: 32px;
  height: 32px;
}

.reef-stat-card .reef-stat-sub {
  font-size: 0.9rem;
  color: var(--reef-body-text);
  margin-top: 0.5rem;
}

.reef-stat-card h5:after {
  display: none !important;
}


/* ==========================================================================
   8. QUOTES
   ========================================================================== */

.reef-quote {
  background: #fff;
  border-left: 4px solid var(--reef-blue);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.reef-quote p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--reef-body-text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.reef-quote .reef-cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--reef-navy);
}


/* ==========================================================================
   9. CHECKLISTS
   ========================================================================== */

.reef-checklist {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.reef-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--reef-body-text);
  line-height: 1.8;
}

.reef-checklist li::before {
  content: var(--checklist-icon, "\2713");
  position: absolute;
  left: 0;
  color: var(--checklist-color, var(--reef-blue));
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}


/* ==========================================================================
   10. BANNERS (persona panels)
   ========================================================================== */

.reef-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--reef-border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.reef-banner:last-child {
  margin-bottom: 0;
}

.reef-banner:hover {
  box-shadow: 0 6px 18px rgba(10, 31, 59, 0.1);
  border-color: var(--reef-blue);
}

.reef-banner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--reef-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--reef-blue);
}

.reef-banner-icon svg {
  width: 24px;
  height: 24px;
}

.reef-banner-body h5 {
  color: var(--reef-navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.reef-banner-body h5:after {
  display: none !important;
}

.reef-banner-body p {
  font-size: 0.95rem;
  color: var(--reef-body-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.reef-banner-outlined {
  border: 2px solid var(--reef-blue);
  background: #fff;
}

.reef-banner-outlined .reef-banner-icon {
  background: rgba(0, 102, 204, 0.08);
}


/* ==========================================================================
   11. PERSONA TOGGLE
   ========================================================================== */

.reef-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.reef-toggle {
  display: inline-flex;
  background: var(--reef-card-bg);
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
}

.reef-toggle-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 26px;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--reef-body-text);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.reef-toggle-btn.is-active {
  background: var(--reef-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
}

.reef-toggle-btn:not(.is-active):hover {
  color: var(--reef-navy);
}

.reef-persona-panel {
  display: none;
}

.reef-persona-panel.is-visible {
  display: block;
}


/* ==========================================================================
   12. FEATURE FLIP CARDS (Section 4)
   ========================================================================== */

.reef-flip-scene {
  perspective: 900px;
}

.reef-flip-card {
  position: relative;
  width: 100%;
  height: 220px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.reef-flip-card.is-flipped {
  transform: rotateY(180deg);
}

.reef-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--reef-border);
  transition: box-shadow 0.25s ease;
}

.reef-flip-scene:hover .reef-flip-face {
  box-shadow: 0 8px 20px rgba(10, 31, 59, 0.12);
}

.reef-flip-front {
  background: #fff;
  text-align: center;
}

.reef-flip-front .reef-flip-icon {
  color: var(--reef-blue);
  margin-bottom: 1rem;
}

.reef-flip-front .reef-flip-icon svg {
  width: 40px;
  height: 40px;
}

.reef-flip-front h5 {
  color: var(--reef-navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  text-transform: none;
}

.reef-flip-front h5:after {
  display: none !important;
}

.reef-flip-arrow {
  position: absolute;
  bottom: 12px;
  right: 14px;
  color: var(--reef-blue);
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.reef-flip-arrow svg {
  width: 18px;
  height: 18px;
}

.reef-flip-scene:hover .reef-flip-arrow {
  opacity: 0.85;
}

.reef-flip-back {
  background: var(--reef-navy);
  color: #fff;
  transform: rotateY(180deg);
  text-align: center;
  padding: 2rem 1.5rem;
}

.reef-flip-back p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}


/* ==========================================================================
   13. PRODUCT HERO (Reef ECA / Reef Review)
   ========================================================================== */

.reef-product-hero {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.reef-product-hero-text {
  flex: 1;
  min-width: 0;
}

.reef-product-hero-media {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reef-product-hero-img {
  width: 100%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reef-product-hero-img-placeholder {
  width: 100%;
  border-radius: 8px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.06) 10px,
    rgba(255, 255, 255, 0.06) 20px
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Centered variant (50/50 with vertical alignment) */
.reef-product-hero-centered {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.reef-product-hero-centered .reef-product-hero-media {
  flex: 1;
}


/* ==========================================================================
   14. NAVY STATS & CAPABILITY PILLS
   ========================================================================== */

.reef-navy-stats {
  display: flex;
  gap: 1rem;
}

.reef-navy-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.reef-navy-stat .reef-stat-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.reef-navy-stat .reef-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.reef-cap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.reef-cap-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reef-cap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--reef-blue);
  flex-shrink: 0;
}


/* ==========================================================================
   15. LIGHT STATS (pale-blue hero)
   ========================================================================== */

.reef-light-stats {
  display: flex;
  gap: 0.75rem;
}

.reef-light-stat {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(10, 31, 59, 0.06);
}

.reef-light-stat .reef-stat-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--reef-navy);
  line-height: 1.2;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.reef-light-stat .reef-stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--reef-navy);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.reef-light-stat .reef-stat-sub {
  font-size: 0.75rem;
  color: var(--reef-body-text);
  line-height: 1.4;
}

.reef-light-stats-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--reef-navy);
  margin-bottom: 0.25rem;
}

.reef-light-stats-sub {
  font-size: 0.85rem;
  color: var(--reef-body-text);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}


/* ==========================================================================
   16. SHOWCASE CARDS (features with image)
   ========================================================================== */

.reef-showcase {
  background: #fff;
  border: 1px solid var(--reef-border);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.reef-showcase:hover {
  box-shadow: 0 12px 24px rgba(10, 31, 59, 0.12);
}

.reef-showcase-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--reef-navy) 0%, var(--reef-navy-light) 100%);
}

.reef-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.reef-showcase-img-placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.06) 10px,
    rgba(255, 255, 255, 0.06) 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
}

.reef-showcase-icon {
  position: absolute;
  bottom: -20px;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--reef-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--reef-blue-light);
  box-shadow: 0 4px 12px rgba(10, 31, 59, 0.3);
}

.reef-showcase-icon svg {
  width: 22px;
  height: 22px;
}

.reef-showcase-body {
  padding: 2rem 1.5rem 1.5rem;
}

.reef-showcase-body h5 {
  color: var(--reef-navy);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: none;
}

.reef-showcase-body h5:after {
  display: none !important;
}

.reef-showcase-body ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.reef-showcase-body ul li {
  font-size: 0.9rem;
  color: var(--reef-body-text);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.reef-showcase-body ul li:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   17. CASE STUDY FLIP CARDS (Section 12)
   ========================================================================== */

.reef-case-flip-scene {
  perspective: 900px;
}

.reef-case-flip-card {
  position: relative;
  width: 100%;
  height: 480px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.reef-case-flip-card.is-flipped {
  transform: rotateY(180deg);
}

.reef-case-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.reef-case-flip-scene:hover .reef-case-flip-face {
  box-shadow: 0 12px 24px rgba(10, 31, 59, 0.15);
}

/* Front */
.reef-case-flip-front {
  background: var(--reef-navy);
  border-radius: 12px;
  overflow: hidden;
}

.reef-case-flip-front .reef-case-flip-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.reef-case-flip-front .reef-case-flip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.reef-case-flip-front .reef-case-flip-img-placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.06) 10px,
    rgba(255, 255, 255, 0.06) 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
}

.reef-case-flip-front .reef-case-flip-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--reef-navy) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.reef-case-flip-front .reef-case-flip-body p {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 0;
}

.reef-case-flip-front .reef-case-flip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--reef-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

/* Back */
.reef-case-flip-back {
  background: var(--reef-navy);
  border-radius: 12px;
  transform: rotateY(180deg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.reef-case-flip-back h5 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: none;
}

.reef-case-flip-back h5:after {
  display: none !important;
}

.reef-case-flip-back p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.reef-case-flip-back .reef-checklist li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.6;
}

.reef-case-flip-back .reef-checklist li::before {
  color: var(--reef-blue-light);
}

.reef-case-flip-back .reef-case-flip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--reef-blue-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}


/* ==========================================================================
   18. TESTIMONIALS SLIDER
   ========================================================================== */

.reef-testimonials {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.reef-testimonial-slide {
  display: none;
  text-align: center;
}

.reef-testimonial-slide.is-active {
  display: block;
}

.reef-testimonial-slide p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--reef-navy);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.reef-testimonial-slide .reef-cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--reef-body-text);
}

.reef-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.reef-testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--reef-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.reef-testimonial-dot.is-active {
  background: var(--reef-blue);
  transform: scale(1.2);
}

.reef-testimonial-dot:hover {
  background: var(--reef-body-text);
}

.reef-testimonial-dot.is-active:hover {
  background: var(--reef-blue);
}

.reef-testimonial-quote-icon {
  color: var(--reef-blue);
  opacity: 0.4;
  margin-bottom: 1.5rem;
}


/* ==========================================================================
   19. FAQ ACCORDION
   ========================================================================== */

.reef-faq .card {
  border: none;
  border-bottom: 1px solid #e0e0e0 !important;
  border-radius: 0;
  background: transparent;
}

.reef-faq .card:last-child {
  border-bottom: none !important;
}

.reef-faq .card-header {
  background: none;
  border: none;
  padding: 0;
}

.reef-faq .card-header button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--reef-navy);
  text-decoration: none;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.reef-faq .card-header button::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--reef-body-text);
  flex-shrink: 0;
  margin-left: 1rem;
}

.reef-faq .card-header button[aria-expanded="true"]::after {
  content: "\2212";
}

.reef-faq .card-body {
  padding: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: var(--reef-body-text);
  line-height: 1.7;
}


/* ==========================================================================
   20. MARQUEE
   ========================================================================== */

.reef-marquee {
  background: var(--reef-light-bg);
  overflow: hidden;
  white-space: nowrap;
}

.reef-marquee-content {
  display: inline-flex;
  animation: reefScroll 30s linear infinite;
  gap: 3rem;
  padding: 1rem 0;
}

@keyframes reefScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reef-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--reef-navy);
  font-size: 0.95rem;
}

.reef-marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--reef-blue);
  flex-shrink: 0;
}


/* ==========================================================================
   21. CASE STUDY (legacy)
   ========================================================================== */

.reef-case-study {
  background: var(--reef-light-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.reef-case-study h5 {
  color: var(--reef-navy);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: none;
}

.reef-case-study h5:after {
  display: none !important;
}

.reef-case-study p {
  color: var(--reef-body-text);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ==========================================================================
   22. PRICING HIGHLIGHT & INLINE STATS BOX
   ========================================================================== */

.reef-pricing-highlight {
  background: var(--reef-card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--reef-blue);
}

.reef-stats-box {
  background: var(--reef-light-bg);
  border-radius: 8px;
  padding: 2rem;
}

.reef-stats-box .reef-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--reef-navy);
  line-height: 1.2;
}

.reef-stats-box .reef-stat-label {
  font-size: 0.9rem;
  color: var(--reef-body-text);
}


/* ==========================================================================
   23. MEDIA QUERIES
   ========================================================================== */

@media (max-width: 767px) {
  .reef-flip-card {
    height: 200px;
  }

  .reef-product-hero,
  .reef-product-hero-centered {
    flex-direction: column;
    gap: 2rem;
  }

  .reef-product-hero-media {
    flex: none;
    width: 100%;
  }

  .reef-navy-stats {
    flex-direction: column;
  }

  .reef-cap-pills {
    flex-direction: column;
    gap: 0.75rem;
  }

  .reef-light-stats {
    flex-direction: column;
  }

  .reef-case-flip-card {
    height: 420px;
  }
}

@media (max-width: 575px) {
  .reef-toggle-btn {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }

  .reef-banner {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
  }
}