/* =====================================
   GROEPSAANBOD DETAILPAGINA'S
   Ademruimte / Rituele Dans / Samen de dag loslaten
   ===================================== */

.page-groepsaanbod{
  background: var(--bg-page);
  color: var(--text-on-light);
}

/* =====================================
   HERO
   Opbouw: eyebrow -> H1 -> hero-lead -> hero-sub -> CTA
   Font-size en line-height komen uit typography.css
   ===================================== */

.group-hero{
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.group-hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.group-hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.group-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(17, 30, 27, 0.62) 0%,
      rgba(17, 30, 27, 0.42) 48%,
      rgba(17, 30, 27, 0.28) 100%
    );
}

.group-hero-inner{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  text-align: left;
  padding-top: clamp(4.5rem, 8vh, 7rem);
  padding-bottom: clamp(8rem, 16vh, 12rem);
}

.group-hero-content{
  width: 100%;
  max-width: 720px;
  margin: 0;
  text-align: left;
  color: var(--text-on-dark);
}

.group-eyebrow{
  margin: 0 0 var(--space-4);
  color: var(--gold-500);
  font-size: var(--fs-100);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-hero h1{
  width: 100%;
  max-width: none;
  margin: 0 0 var(--space-5);
}

.group-hero-content .hero-lead{
  max-width: 48ch;
  margin: 0 0 var(--space-8);
}

.group-hero-content .hero-sub{
  max-width: 54ch;
  margin: 0 0 3rem;
  opacity: 0.96;
}

.group-hero-content .btn{
  margin-top: 0;
}

/* =====================================
   PAGE MODIFIERS
   ===================================== */

.page-ademruimte .group-hero-overlay{
  background:
    linear-gradient(
      to bottom,
      rgba(17, 30, 27, 0.64) 0%,
      rgba(17, 30, 27, 0.42) 48%,
      rgba(17, 30, 27, 0.26) 100%
    );
}

.page-rituele-dans .group-hero-overlay{
  background:
    linear-gradient(
      to bottom,
      rgba(31, 24, 19, 0.62) 0%,
      rgba(31, 24, 19, 0.40) 48%,
      rgba(31, 24, 19, 0.26) 100%
    );
}

.page-avondwandeling .group-hero-overlay{
  background:
    linear-gradient(
      to bottom,
      rgba(20, 31, 27, 0.62) 0%,
      rgba(20, 31, 27, 0.40) 48%,
      rgba(20, 31, 27, 0.26) 100%
    );
}

/* =====================================
   SHARED SECTIONS
   ===================================== */

.group-section{
  padding-block: clamp(4rem, 8vw, 6rem);
}

.group-section-light{
  background: var(--bg-page);
}

.group-section-sand{
  background: var(--bg-section-sand);
}

.group-section-green{
  background: var(--bg-section-green);
  color: var(--text-on-dark);
}

.group-two-col{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.group-two-col-reverse{
  grid-template-columns: 0.95fr 1.05fr;
}

.group-text{
  max-width: 620px;
}

.group-text h2,
.group-narrow h2,
.group-section-header h2{
  margin-bottom: var(--space-5);
}

.group-text p,
.group-narrow p{
  margin-bottom: var(--space-5);
}

.group-text p:last-child,
.group-narrow p:last-child{
  margin-bottom: 0;
}

.group-narrow{
  max-width: 820px;
}

.group-section-green .group-narrow{
  margin-inline: auto;
  text-align: center;
}

.group-section-green .group-eyebrow{
  color: var(--gold-500);
}

.group-section-header{
  max-width: 820px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.group-section-header p:last-child{
  margin-bottom: 0;
}

.group-section-header-left{
  margin-inline: 0;
  text-align: left;
}

/* =====================================
   MEDIA
   ===================================== */

.group-media{
  margin: 0;
  width: min(520px, 100%);
  justify-self: end;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.group-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================
   CALLOUTS
   ===================================== */

.group-soft-card,
.group-list-card,
.group-quote-card{
  border-radius: 26px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.group-soft-card{
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(0,0,0,0.05);
}

.group-soft-card p{
  margin-bottom: var(--space-5);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.group-soft-card p:last-child{
  margin-bottom: 0;
}

.group-list-card{
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(0,0,0,0.05);
}

.group-quote-card{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.group-quote-card p{
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.45;
}

/* =====================================
   CARDS
   ===================================== */

.group-card-grid{
  display: grid;
  gap: clamp(1rem, 2.2vw, 2rem);
}

.group-card{
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 24px;
  padding: clamp(1.35rem, 2.2vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.group-card h3{
  margin: 0 0 0.75rem;
}

.group-card p{
  margin: 0;
}

.group-check-list{
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-check-list li{
  position: relative;
  padding-left: 1.65rem;
}

.group-check-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold-500);
  transform: translateY(-50%);
}

/* =====================================
   PRACTICAL
   ===================================== */

.group-practical-grid{
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.group-practical-card{
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 22px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}

.group-practical-card span{
  display: block;
  margin-bottom: 0.45rem;
  color: var(--green-600);
  font-size: var(--fs-100);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.group-practical-card strong{
  display: block;
  font-weight: 600;
}

.group-practical-note{
  max-width: 720px;
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  text-align: center;
}

/* =====================================
   FAQ
   ===================================== */

.group-faq-list{
  display: grid;
  gap: 1rem;
}

.group-faq-item{
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.group-faq-item summary{
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  list-style: none;
}

.group-faq-item summary::-webkit-details-marker{
  display: none;
}

.group-faq-item summary::after{
  content: "+";
  float: right;
  margin-left: 1rem;
  color: var(--gold-500);
}

.group-faq-item[open] summary::after{
  content: "–";
}

.group-faq-item p{
  margin: 0;
  padding: 0 1.5rem 1.35rem;
}

/* =====================================
   GROEPSAANBOD INSCHRIJFFORMULIER
   ===================================== */

.group-signup-section{
  background: var(--bg-section-green);
  color: var(--text-on-dark);
  padding: var(--space-20) 0;
  scroll-margin-top: 110px;
}

.group-signup-header{
  max-width: 900px;
  margin: 0 auto var(--space-12);
  text-align: left;
}

.group-signup-header h2{
  margin-bottom: var(--space-5);
}

.group-signup-header p{
  margin-bottom: 0;
  max-width: 72ch;
}

.group-signup-form{
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-on-dark);
}

.group-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.group-field--full{
  grid-column: 1 / -1;
}

.group-field label,
.group-fieldset legend{
  display: block;
  margin-bottom: var(--space-2);
}

.group-field input,
.group-field select,
.group-field textarea{
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-200);
  color: var(--text-on-light);
  background: #fff;
}

.group-field textarea{
  resize: vertical;
  min-height: 120px;
}

.group-fieldset{
  margin: 0;
  padding: var(--space-5);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.07);
}

.group-radio,
.group-check{
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.group-radio + .group-radio{
  margin-top: var(--space-3);
}

.group-radio input,
.group-check input{
  width: auto;
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.group-radio span,
.group-check span{
  flex: 1;
}

.group-optional{
  opacity: 0.75;
  font-weight: 400;
}

.group-consent{
  margin-top: var(--space-2);
}

.group-form-actions{
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.group-small{
  margin: 0;
  font-size: var(--fs-100);
  opacity: 0.85;
}

.group-hp{
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.group-hp input{
  opacity: 0 !important;
}

/* SUCCESS / ERROR */

#group-form-message{
  margin: 0 auto var(--space-8);
  max-width: 900px;
}

.group-success,
.group-error{
  max-width: 100%;
  background: #FBF9F2;
  border: 1px solid rgba(181,155,107,.35);
  border-left: 5px solid #b59b6b;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  color: var(--text-on-light);
}

.group-error{
  background: #f8eaea;
  border-left-color: #b85c5c;
  border-color: rgba(184,92,92,.25);
}

/* MOBILE */

@media (max-width: 900px){
  .group-signup-section{
    padding: var(--space-16) 0;
  }

  .group-form-grid{
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .group-form-actions{
    align-items: stretch;
  }

  .group-form-actions .btn{
    width: 100%;
  }
}

/* =====================================
   DESKTOP
   ===================================== */

@media (min-width: 901px){
  .group-card-grid-3{
    grid-template-columns: repeat(3, 1fr);
  }

  .group-practical-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================
   TABLET / MOBILE
   ===================================== */

@media (max-width: 900px){
  .group-hero{
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  .group-hero-inner{
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding-top: clamp(4.5rem, 8vh, 6rem);
    padding-bottom: clamp(5.5rem, 10vh, 7rem);
  }

  .group-two-col,
  .group-two-col-reverse{
    grid-template-columns: 1fr;
  }

  .group-media{
    justify-self: stretch;
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
  }

  .group-section-header{
    text-align: left;
    margin-inline: 0;
    max-width: none;
  }

  .group-section-green .group-narrow{
    text-align: left;
  }
}

@media (max-width: 767px){
  .group-hero{
    align-items: stretch;
  }

  .group-hero-inner{
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(3.25rem, 7vh, 4.5rem);
    padding-bottom: clamp(4.5rem, 10vh, 6.5rem);
  }

  .group-hero-content{
    width: 100%;
    max-width: 100%;
  }

  .group-hero h1{
    max-width: 100%;
    margin-bottom: var(--space-4);
  }

  .group-hero-content .hero-lead{
    margin-bottom: 0.95rem;
  }

  .group-hero-content .hero-sub{
    margin-bottom: 1.75rem;
  }

  .group-hero .btn{
    justify-content: center;
  }

  .group-section{
    padding-block: 3rem;
  } 

  .group-section--flush-media-mobile{
  padding-top: 0;
}

  .group-card-grid,
  .group-practical-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .group-hero-content{
    max-width: 100%;
  }

  .group-media{
    width: calc(100% + (2 * var(--container-pad)));
    margin-left: calc(-1 * var(--container-pad));
    margin-right: calc(-1 * var(--container-pad));
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}
