.rivel-spa-template {
    /* Layout variables used across this template (fixed: these were
       declared outside any rule in the original file, so they never
       actually applied -- see conversion notes). Colors, fonts and
       transitions come from the site-wide palette in global.css
       (.rivel-site) and are intentionally NOT redefined here. */
    --tc-max-width: 1440px;
    --tc-container-padding: clamp(1.5rem, 5vw, 4rem);
    --tc-easing: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   UTILITIES — eyebrow labels used above every section heading.
   Matches the Group Lodging template: terracotta on light backgrounds,
   ivory on dark backgrounds, same size/tracking in both cases. (This file
   previously had only two one-off color overrides for eyebrow-dark-bg with
   no base rule anywhere, so eyebrows had no real styling of their own.)
   ========================================================================== */
.rivel-spa-template .eyebrow-light-bg {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-primary); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    margin-bottom: 1rem; color: var(--clr-terracotta);
}
.rivel-spa-template .eyebrow-dark-bg {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-primary); font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    margin-bottom: 1rem; color: var(--clr-warm-ivory);
}

.rivel-spa-template .hero-section {
  position: relative; min-height: 80vh; min-height: 80dvh;
  margin-top: 0 !important;
  display: flex; align-items: flex-end;
  padding: 8rem 2rem 4rem; overflow: hidden;
  color: var(--clr-warm-ivory); isolation: isolate;
}
.rivel-spa-template .hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.rivel-spa-template .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(210deg, rgba(16,42,32,0.10) 0%, rgba(16,42,32,0.75) 60%, rgba(10,26,20,0.95) 100%);
  z-index: -1;
}
.rivel-spa-template .hero-container {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column;
  justify-content: space-between; gap: 4rem;
}
.rivel-spa-template .hero-content-left { display: flex; flex-direction: column; max-width: 750px; }
.rivel-spa-template .hero-eyebrow {
  font-family: var(--font-primary); font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  margin-top: 1rem; margin-bottom: 1rem; color: var(--clr-warm-ivory);
}
.rivel-spa-template .hero-title {
  font-family: var(--font-primary); font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700; text-transform: uppercase;
  line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 1.25rem;
}
.rivel-spa-template .text-ivory { color: var(--clr-warm-ivory); }
.rivel-spa-template .text-terracotta { color: var(--clr-terracotta); }
.rivel-spa-template .hero-description {
  font-size: clamp(0.9rem, 1.2vw, 1rem); line-height: 1.6;
  color: rgba(245, 242, 233, 0.85); max-width: 480px;
  margin-top: 0; margin-bottom: 2.25rem;
}
.rivel-spa-template .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.rivel-spa-template .hero-btn-primary, .rivel-spa-template .hero-btn-secondary {
  font-family: var(--font-primary); font-size: 0.8125rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 50px; display: inline-flex; align-items: center;
  gap: 1rem;
}
.rivel-spa-template .hero-btn-primary {
  background-color: var(--clr-warm-ivory); color: var(--clr-primary-green);
  padding: 0.375rem 0.375rem 0.375rem 1.5rem;
}
.rivel-spa-template .hero-btn-primary:hover { background-color: #ffffff; }
.rivel-spa-template .btn-icon-wrapper {
  background-color: rgba(24, 58, 43, 0.1);
  border: 1px solid rgba(24, 58, 43, 0.15);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-fast);
}
.rivel-spa-template .hero-btn-primary:hover .btn-icon-wrapper { transform: translateX(4px); }
.rivel-spa-template .hero-btn-secondary {
  background-color: transparent; color: var(--clr-warm-ivory);
  border: 1px solid rgba(245, 242, 233, 0.4);
  padding: 0.375rem 1.5rem 0.375rem 0.375rem;
}
.rivel-spa-template .hero-btn-secondary:hover {
  background-color: rgba(245, 242, 233, 0.1);
  border-color: var(--clr-warm-ivory); color: var(--clr-warm-ivory);
}
.rivel-spa-template .btn-icon-wrapper-outline {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(245, 242, 233, 0.5);
  display: flex; align-items: center; justify-content: center;
}
.rivel-spa-template .hero-features-right { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; }
.rivel-spa-template .hero-feature-item { display: flex; align-items: center; gap: 1rem; }
.rivel-spa-template .feature-icon {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(245, 242, 233, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-warm-ivory); flex-shrink: 0;
}
.rivel-spa-template .feature-text {
  font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  line-height: 1.4; color: var(--clr-warm-ivory);
}
@media (min-width: 1024px) {
  .rivel-spa-template .hero-container { flex-direction: row; align-items: flex-end; }
  .rivel-spa-template .hero-content-left { max-width: 700px; }
  .rivel-spa-template .hero-features-right { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding-bottom: 1rem; }
}
@media (max-width: 767px) {
  .rivel-spa-template .hero-section { min-height: 100svh; padding: 7rem 1.5rem 3rem; align-items: flex-end; }
  .rivel-spa-template .hero-container { gap: 2.5rem; }
  .rivel-spa-template .hero-content-left { max-width: 100%; }
  .rivel-spa-template .hero-title { font-size: clamp(1.7rem, 8vw, 2.5rem); margin-top: 2rem; margin-bottom: 1rem; }
  .rivel-spa-template .hero-description { font-size: 0.9rem; max-width: 100%; margin-bottom: 1.75rem; }
  .rivel-spa-template .hero-features-right { width: 100%; gap: 1rem; flex-wrap: wrap; }
}

/* ==========================================================================
   FACT STRIP — dark band right under hero (same pattern as homepage
   stats-strip), scoped to recovery facts.
   ========================================================================== */
.rivel-spa-template .stats-strip-section{ background-color: var(--clr-deep-green); color: var(--clr-warm-ivory); padding: 2.5rem 1.5rem; }
.rivel-spa-template .stats-strip-container{
    max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; text-align: center;
}
.rivel-spa-template .stat-item{ display: flex; flex-direction: column; gap: 0.35rem; }
.rivel-spa-template .stat-value{ font-family: var(--font-primary); font-size: 1.6rem; }
.rivel-spa-template .stat-label{ font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,242,233,0.65); }
@media (min-width: 768px){ .rivel-spa-template .stats-strip-container{ grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================================
   SECTION HEADER pattern shared by 01 / 02 / 04 / 06
   ========================================================================== */
.rivel-spa-template .section-header-split{
    max-width: 1280px; margin: 0 auto 3.5rem; display: grid; gap: 2rem; align-items: end;
}
.rivel-spa-template .section-title{
    font-family: var(--font-editorial); color: var(--clr-primary-green); font-size: clamp(2rem, 3.5vw, 3.1rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.01em;
}
.rivel-spa-template .section-desc{ font-size: 1.0625rem; line-height: 1.65; color: rgba(16,42,32,0.75); max-width: 460px; }
@media (min-width: 1024px){ .rivel-spa-template .section-header-split{ grid-template-columns: 1.4fr 1fr; } }

/* ==========================================================================
   01 — THE RECOVERY HOUSE — horizontal accordion, exact structural
   twin of the homepage's spa-roadmap accordion.
   ========================================================================== */
.rivel-spa-template .recovery-house-section{ background-color: var(--clr-warm-ivory); color: var(--clr-deep-green); padding: 7rem 1.5rem; }
.rivel-spa-template .rh-accordion-wrapper{ max-width: 1280px; margin: 0 auto; display: flex; width: 100%; height: 560px; border-radius: 20px; overflow: hidden; gap: 2px; background-color: var(--clr-deep-green); }
.rivel-spa-template .rh-panel:nth-child(1){ --shade: var(--clr-deep-green); }
.rivel-spa-template .rh-panel:nth-child(2){ --shade: #1A372A; }
.rivel-spa-template .rh-panel:nth-child(3){ --shade: #244535; }
.rivel-spa-template .rh-panel:nth-child(4){ --shade: #2F5340; }
.rivel-spa-template .rh-panel:nth-child(5){ --shade: #3A614C; }
.rivel-spa-template .rh-panel:nth-child(6){ --shade: #467058; }
.rivel-spa-template .rh-panel:nth-child(7){ --shade: #527E64; }
.rivel-spa-template .rh-panel{ flex: 1; position: relative; cursor: pointer; overflow: hidden; transition: flex 0.6s cubic-bezier(0.25,1,0.5,1); background-color: var(--shade); }
.rivel-spa-template .rh-panel.active{ flex: 8; cursor: default; }
.rivel-spa-template .rh-closed{ position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; padding-top: 2rem; transition: opacity 0.3s ease; }
.rivel-spa-template .rh-closed span.rh-vert{ writing-mode: vertical-rl; margin-top: 1.5rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,242,233,0.7); }
.rivel-spa-template .rh-panel.active .rh-closed{ opacity: 0; pointer-events: none; }
.rivel-spa-template .rh-open{ position: absolute; inset: 0; min-width: 480px; z-index: 4; padding: 3rem; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.4s ease 0.2s; }
.rivel-spa-template .rh-panel.active .rh-open{ opacity: 1; pointer-events: auto; }
.rivel-spa-template .rh-num{ width: 44px; height: 44px; border: 1px solid rgba(245,242,233,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--clr-warm-ivory); margin-bottom: 2.5rem; transition: background-color 0.3s, color 0.3s; }
.rivel-spa-template .rh-panel:hover:not(.active) .rh-num{ background-color: var(--clr-warm-ivory); color: var(--clr-deep-green); }
.rivel-spa-template .rh-open h3{ font-family: var(--font-editorial); font-size: 2.6rem; font-weight: 600; color: var(--clr-warm-ivory); margin-bottom: 0.5rem; }
.rivel-spa-template .rh-subtitle{ font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-terracotta); display: block; margin-bottom: 1.4rem; }
.rivel-spa-template .rh-open p{ font-size: 1.05rem; line-height: 1.6; color: rgba(245,242,233,0.9); max-width: 430px; margin-bottom: 1.75rem; }
.rivel-spa-template .rh-meta{ display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.78rem; color: rgba(245,242,233,0.7); letter-spacing: 0.05em; text-transform: uppercase; }
.rivel-spa-template .rh-meta strong{ color: var(--clr-warm-ivory); font-weight: 700; }
.rivel-spa-template .rh-controls{ display: flex; gap: 0.75rem; margin-top: auto; padding-top: 2rem; }
.rivel-spa-template .rh-ctrl{ width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(245,242,233,0.3); color: var(--clr-primary-green); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.rivel-spa-template .rh-ctrl:hover{ background: var(--clr-warm-ivory); color: var(--clr-deep-green); }
.rivel-spa-template .rh-bottom{ max-width: 1280px; margin: 2rem auto 0; padding: 1.5rem 1.5rem 0; border-top: 1px solid rgba(16,42,32,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.rivel-spa-template .rh-flow{ font-family: var(--font-editorial); font-style: italic; font-size: 1.15rem; }
.rivel-spa-template .rh-flow-arrow{ color: var(--clr-primary-green); font-style: normal; }
.rivel-spa-template .rh-note{ font-size: 0.8rem; color: rgba(16,42,32,0.65); max-width: 360px; }
@media (max-width: 900px){
    .rivel-spa-template .rh-accordion-wrapper{ flex-direction: column; height: auto; }
    .rivel-spa-template .rh-panel{ flex: 0 0 auto !important; border-bottom: 2px solid var(--clr-warm-ivory); }
    .rivel-spa-template .rh-panel:not(.active){ height: 66px; }
    .rivel-spa-template .rh-closed{ position: relative; flex-direction: row; padding: 0.9rem 1.5rem; justify-content: space-between; }
    .rivel-spa-template .rh-closed span.rh-vert{ writing-mode: horizontal-tb; margin: 0; }
    .rivel-spa-template .rh-panel.active .rh-closed{ display: none; }
    .rivel-spa-template .rh-open{ position: relative; inset: auto; min-width: 0; padding: 2rem 1.5rem; }
}

/* ==========================================================================
   02 — EXPLORE THE RECOVERY ZONE — static bento-style photo mosaic,
   one tile per zone, dark section to match the estate's other
   full-bleed galleries.
   ========================================================================== */
.rivel-spa-template .explorer-section{ background-color: var(--clr-primary-green); color: var(--clr-warm-ivory); padding: 7rem 1.5rem; }
.rivel-spa-template .explorer-header{ max-width: 700px; margin: 0 auto 3.5rem; text-align: center; }
.rivel-spa-template .explorer-header .eyebrow-dark-bg{ justify-content: center; }
.rivel-spa-template .explorer-header .section-title{ color: var(--clr-warm-ivory); }
.rivel-spa-template .explorer-header p{ margin-top: 1rem; color: rgba(245,242,233,0.75); font-size: 1rem; line-height: 1.6; }
.rivel-spa-template .zone-hero{ max-width: 1280px; margin: 0 auto; }
.rivel-spa-template .zone-hero-img{ position: relative; border-radius: 20px; overflow: hidden; }
.rivel-spa-template .zone-hero-img img{ width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.rivel-spa-template .zone-taglist{ margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem 1rem; text-align: center; }
.rivel-spa-template .zone-taglist span.zone-tag{ font-family: var(--font-editorial); font-style: italic; font-size: 1.15rem; color: var(--clr-warm-ivory); }
.rivel-spa-template .zone-taglist span.zone-sep{ color: var(--clr-terracotta); opacity: 0.6; font-family: var(--font-primary); font-style: normal; }

/* ==========================================================================
   03 — RECOVERY CIRCUIT — flow / process section.
   ========================================================================== */
.rivel-spa-template .circuit-section{ background-color: var(--clr-warm-ivory); padding: 7rem 1.5rem; }
.rivel-spa-template .circuit-container{ max-width: 1280px; margin: 0 auto; }
.rivel-spa-template .circuit-flow{ display: grid; gap: 1.25rem; margin-bottom: 3.5rem; }
.rivel-spa-template .circuit-step{ background: #fff; border: 1px solid rgba(16,42,32,0.08); border-radius: 16px; padding: 2rem 1.75rem; position: relative; }
.rivel-spa-template .circuit-step .step-num{ font-family: var(--font-editorial); font-style: italic; font-size: 2rem; color: var(--clr-terracotta); display: block; margin-bottom: 0.75rem; }
.rivel-spa-template .circuit-step h3{ font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.rivel-spa-template .circuit-step p{ font-size: 0.9rem; color: var(--clr-text-secondary); line-height: 1.55; }
.rivel-spa-template .circuit-arrow{ display: none; }
.rivel-spa-template .circuit-note-bar{ background: var(--clr-deep-green); color: var(--clr-warm-ivory); border-radius: 16px; padding: 2rem 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.rivel-spa-template .circuit-note-items{ display: flex; flex-wrap: wrap; gap: 2rem; }
.rivel-spa-template .circuit-note-item{ display: flex; align-items: center; gap: 0.8rem; }
.rivel-spa-template .circuit-note-item .n-icon{ width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(245,242,233,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rivel-spa-template .circuit-note-item .n-text strong{ display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.rivel-spa-template .circuit-note-item .n-text span{ font-size: 0.8rem; color: rgba(245,242,233,0.65); }
@media (min-width: 768px){ .rivel-spa-template .circuit-flow{ grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================================
   04 — MASSAGE & TREATMENT — featured + grid, twin of the homepage's
   experiences exp-grid.
   ========================================================================== */
.rivel-spa-template .treatment-section{ background-color: var(--clr-warm-ivory); padding: 0 1.5rem 4rem 1.5rem;}
.rivel-spa-template .treatment-container{ max-width: 1280px; margin: 0 auto; }
.rivel-spa-template .treat-grid{ display: grid; gap: 1.5rem; }
.rivel-spa-template .treat-featured{ position: relative; border-radius: 20px; overflow: hidden; min-height: 360px; display: block; }
.rivel-spa-template .treat-featured img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rivel-spa-template .treat-featured::after{ content:""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,42,32,0.75) 0%, rgba(16,42,32,0) 55%); }
.rivel-spa-template .treat-feat-content{ position: relative; z-index: 2; padding: 2rem; align-self: flex-end; margin-top: auto; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; color: var(--clr-warm-ivory); }
.rivel-spa-template .treat-feat-content h3{ font-family: var(--font-editorial); color: var(--clr-warm-ivory); font-size: 1.9rem; font-weight: 500; }
.rivel-spa-template .treat-subgrid{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.rivel-spa-template .treat-card{ position: relative; border-radius: 16px; overflow: hidden; }
.rivel-spa-template .treat-card-img{ aspect-ratio: 4/3; overflow: hidden; }
.rivel-spa-template .treat-card-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rivel-spa-template .treat-card:hover .treat-card-img img{ transform: scale(1.05); }
.rivel-spa-template .treat-card-content{ padding: 1.1rem 0.25rem; text-align: center; }
.rivel-spa-template .treat-card-content h4{ font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.rivel-spa-template .treat-card-content span{ font-size: 0.8rem; color: var(--clr-text-secondary); }
@media (min-width: 1024px){ .rivel-spa-template .treat-grid{ grid-template-columns: 0.9fr 1.1fr; } .rivel-spa-template .treat-featured{ min-height: 100%; } }
@media (max-width: 768px) {.rivel-spa-template .treatment-section{ background-color: var(--clr-warm-ivory); padding: 0 1.5rem 4rem 1.5rem;}}



/* ==========================================================================
   05 — RIVER + INFINITY POOL — full-bleed banner, twin of the
   homepage's rivel-banner-cta-section.
   ========================================================================== */
.rivel-spa-template .river-banner-section{ padding: 0 0 4rem 0; margin: 0 auto; max-width: 1280px; }
.rivel-spa-template .river-banner-card{ position: relative; border-radius: 24px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 3.5rem; isolation: isolate; }
.rivel-spa-template .river-banner-card img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rivel-spa-template .river-banner-card::after{ content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(10,26,20,0.25) 0%, rgba(10,26,20,0.65) 45%, rgba(10,26,20,0.94) 100%); }
.rivel-spa-template .river-banner-card .eyebrow-dark-bg{ color: var(--clr-soft-sage); }
.rivel-spa-template .river-banner-title{ font-family: var(--font-editorial); color: var(--clr-warm-ivory); font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 400; line-height: 1.15; max-width: 640px; margin-bottom: 1rem; }
.rivel-spa-template .river-banner-text{ color: rgba(245,242,233,0.85); max-width: 480px; margin-bottom: 1.75rem; }
.rivel-spa-template .river-banner-btn{ display: inline-flex; align-items: center; gap: 1rem; background: var(--clr-warm-ivory); color: var(--clr-primary-green); border-radius: 50px; padding: 0.375rem 0.375rem 0.375rem 1.5rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; width: fit-content; }
@media (max-width: 768px){.river-banner-card{ position: relative; border-radius: 0; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 3.5rem; isolation: isolate; }}

/* ==========================================================================
   06 — RECOVERY FOR DIFFERENT GROUPS — tab switcher, twin of the
   homepage's pavilion configurator tabs.
   ========================================================================== */
.rivel-spa-template .groups-section{ background-color: var(--clr-soft-cream); padding: 7rem 1.5rem; }
.rivel-spa-template .groups-container{ max-width: 1280px; margin: 0 auto; }
.rivel-spa-template .groups-tabs{ display: flex; gap: 0.6rem; overflow-x: auto; margin-bottom: 2.5rem; padding-bottom: 0.25rem; }
.rivel-spa-template .g-tab{ flex-shrink: 0; padding: 0.75rem 1.4rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: transparent; border: 1px solid rgba(16,42,32,0.2); color: var(--clr-text-secondary); transition: all 0.2s; }
.rivel-spa-template .g-tab.active{ background: var(--clr-deep-green); color: var(--clr-warm-ivory); border-color: var(--clr-deep-green); }
.rivel-spa-template .groups-panel{ display: none; }
.rivel-spa-template .groups-panel.active{ display: grid; gap: 2rem; }
.rivel-spa-template .g-panel-img{ border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; }
.rivel-spa-template .g-panel-img img{ width: 100%; height: 100%; object-fit: cover; }
.rivel-spa-template .g-panel-copy h3{ font-family: var(--font-editorial); font-size: 1.8rem; font-weight: 500; margin-bottom: 0.75rem; }
.rivel-spa-template .g-panel-copy p{ font-size: 1rem; color: var(--clr-text-secondary); line-height: 1.65; margin-bottom: 1.25rem; }
.rivel-spa-template .g-panel-meta{ display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--clr-deep-green); }
.rivel-spa-template .g-panel-meta strong{ color: var(--clr-terracotta); }
@media (min-width: 1024px){
    .rivel-spa-template .groups-panel.active{ grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: 3rem; }
    .rivel-spa-template .g-panel-img{ aspect-ratio: unset; height: 100%; }
}

/* ==========================================================================
   07 — CAPACITY & PRACTICAL INFORMATION
   ========================================================================== */
.rivel-spa-template .capacity-section{ background-color: var(--clr-warm-ivory); padding: 7rem 1.5rem; }
.rivel-spa-template .capacity-container{ max-width: 1280px; margin: 0 auto; }
.rivel-spa-template .capacity-grid{ display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.rivel-spa-template .cap-card{ background: #fff; border: 1px solid rgba(16,42,32,0.08); border-radius: 16px; padding: 1.75rem; }
.rivel-spa-template .cap-card-head{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.85rem; gap: 1rem; }
.rivel-spa-template .cap-card-head h3{ font-size: 1rem; font-weight: 700; color: var(--clr-primary-green);}
.rivel-spa-template .cap-badge{ flex-shrink: 0; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 20px; white-space: nowrap; }
.rivel-spa-template .cap-badge.verified{ background: rgba(24,58,43,0.1); color: var(--clr-primary-green); }
.rivel-spa-template .cap-badge.pending{ background: rgba(184,111,69,0.12); color: var(--clr-terracotta); }
.rivel-spa-template .cap-value{ font-family: var(--font-editorial); font-style: italic; font-size: 1.5rem; color: var(--clr-deep-green); display: block; margin-bottom: 0.4rem; }
.rivel-spa-template .cap-card p{ font-size: 0.85rem; color: var(--clr-text-secondary); line-height: 1.55; }
.rivel-spa-template .capacity-footnote{ border-top: 1px solid rgba(16,42,32,0.1); padding-top: 1.75rem; font-size: 0.85rem; color: var(--clr-text-secondary); line-height: 1.6; max-width: 720px; }
@media (min-width: 768px){ .rivel-spa-template .capacity-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .rivel-spa-template .capacity-grid{ grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   08 — REQUEST A GROUP PROPOSAL — exact twin of the homepage's
   rivel-proposal-section.
   ========================================================================== */
.rivel-spa-template .rivel-proposal-section{ background: var(--clr-warm-ivory); padding: 0 1.5rem 4rem 1.5rem }
.rivel-spa-template .rivel-proposal-container{ max-width: 1280px; margin: 0 auto; display: grid; gap: 3rem; }
.rivel-spa-template .proposal-title{ font-family: var(--font-editorial); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; line-height: 1.15; margin-bottom: 1.25rem; color: var(--clr-primary-green);}
.rivel-spa-template .proposal-italic{ display: block; font-style: italic; }
.rivel-spa-template .proposal-subtext{ font-size: 1.05rem; color: var(--clr-text-secondary); line-height: 1.65; max-width: 420px; }
.rivel-spa-template .proposal-form-box{ background: var(--clr-soft-cream); border-radius: 16px; padding: 2.5rem; }
.rivel-spa-template .form-box-header{ display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(16,42,32,0.1); margin-bottom: 1.75rem; }
.rivel-spa-template .form-eyebrow{ font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-terracotta); display: block; margin-bottom: 0.5rem; }
.rivel-spa-template .form-title{ font-size: 1.3rem; font-weight: 700; color: var(--clr-primary-green)}
.rivel-spa-template .form-header-meta{ display: flex; flex-direction: column; gap: 0.25rem; text-align: right; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clr-text-muted); }
@media (min-width: 1024px){
    .rivel-spa-template .rivel-proposal-container{ grid-template-columns: 1fr 1.1fr; align-items: start; }
    .rivel-spa-template .rivel-proposal-left{ position: sticky; top: 6rem; }
}

