/* =============================================================================
   LANDING PAGE — Static design translation
   Based on Figma: ACLVB 2026 rebranded website
   =============================================================================
   Structure:
   2. CSS Custom Properties (Design tokens)
   3. Reset & Base
   4. Typography helpers
   5. SVG sprite utility
   6. Buttons & links
   7. Icons
   8. Site Header & Hero
   9. Section: Intro text
  10. Section: Video
  11. Section: Focus (overlapping cards)
  12. Section: Testimonial
  13. Section: Text + Image
  14. Section: Multi USP
  15. Section: FAQ
  16. Section: Meer weten (3 cards)
  17. Footer
   ============================================================================= */


/* ---------------------------------------------------------------------------
   2. CSS Custom Properties (Design tokens)
   --------------------------------------------------------------------------- */

:root {
  /* ── Spacing — section vertical (no base.css equivalent) ────────── */
  --sp-v-xl: 112px;
  --sp-v-lg:  96px;
  --sp-v-md:  56px;
  --sp-v-sm:  32px;

  /* ── Spacing — section horizontal ───────────────────────────────── */
  --sp-h-lg: 186px;   /* medium sections → 1068px inner */
  --sp-h-sm:  76px;   /* wide sections   → 1288px inner */

  /* ── Spacing — card padding ──────────────────────────────────────── */
  --sp-card-lg: 48px;
  --sp-card-md: 28px;
  --sp-card-sm: 20px;

  /* ── Spacing — gaps (values not in base.css) ────────────────────── */
  /* --gap-sm (16px) and --gap-md (20px) come from base.css directly  */
  --gap-3:  12px;
  --gap-6:  24px;
  --gap-8:  32px;
  --gap-9:  40px;
  --gap-11: 56px;
  --gap-13: 80px;

  /* ── Border radius — pill only (default/small come from base.css) ── */
  --radius-pill: 9999px;

  /* ── Shadows ─────────────────────────────────────────────────────── */
  /* --box-shadow (15px) comes from base.css directly                  */
  --shadow-sm: 0 0 7.5px rgba(0, 0, 0, 0.15);

  /* ── Page max-width & derived content widths ────────────────────── */
  --page-max:  1440px;
  --inner-max: 1068px;   /* content width for medium sections (1440 - 2×186) */
  --wide-max:  1288px;   /* content width for wide sections   (1440 - 2×76)  */
}


/* ---------------------------------------------------------------------------
   3. Reset & Base
   --------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-base);
  color: hsl(var(--clr-secondary-dark));
  background: hsl(var(--clr-white));
  margin: 0 auto;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

details > summary {
  list-style: none;
  cursor: pointer;

  &::-webkit-details-marker {
    display: none;
  }
}


/* ---------------------------------------------------------------------------
   4. Typography helpers
   --------------------------------------------------------------------------- */

h1, .h1 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-h1);
  color: hsl(var(--clr-white));
  hyphens: none;
}

h2, .h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-h2);
  color: hsl(var(--clr-heading));
}

h3, .h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: var(--lh-h3);
  color: hsl(var(--clr-heading-secondary));
}

h4, .h4 {
  font-family: var(--ff-quote);
  font-size: var(--fs-h4);
  font-weight: 500;
  font-style: italic;
  line-height: var(--lh-h3);
  color: hsl(var(--clr-secondary));
}

h5, .h5 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: var(--lh-h5);
  color: hsl(var(--clr-heading-secondary));
}

h6, .h6 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h6);
  font-weight: 700;
  line-height: var(--lh-h6);
  color: hsl(var(--clr-heading-secondary));
}


/* ---------------------------------------------------------------------------
   5. SVG sprite utility — hide the sprite container
   --------------------------------------------------------------------------- */

.svg-sprite {
  display: none;
  position: absolute;
}


/* ---------------------------------------------------------------------------
   6. Buttons & links
   --------------------------------------------------------------------------- */

/* Outline / secondary — border only, blue */
.btn--outline {
  background: transparent;
  color: hsl(var(--clr-primary));
  border: 1px solid hsl(var(--clr-primary));

  &:is(:hover, :focus-visible, :active) {
    border: 1px solid hsl(var(--clr-primary));
  }
}

/* Underline link CTA */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-3);
  padding-bottom: 4px;
  border-bottom: 2px solid hsl(var(--clr-secondary));
  font-weight: 700;
  font-size: var(--fs-base);
  color: hsl(var(--clr-primary));
  text-decoration: none;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.75;
  }
}


/* ---------------------------------------------------------------------------
   7. Icons
   --------------------------------------------------------------------------- */

.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon--play {
  width: 24px;
  height: 24px;
}

.icon--xl {
  width: 60px;
  height: 60px;
}


/* ---------------------------------------------------------------------------
   8. Site Header & Hero
   --------------------------------------------------------------------------- */

.site-header {
  position: relative;
}

/* White top bar (50px) — logo card sits here and overflows into hero */
.header-bar {
  height: 50px;
  background: hsl(var(--clr-white));
  position: relative;
  z-index: 2;
}

/* Logo — white rounded card, positioned absolute to overlap hero */
.logo {
  position: absolute;
  left: max(var(--sp-h-sm), calc((100% - var(--wide-max)) / 2));
  top: 10px;
  z-index: 10;
  background: hsl(var(--clr-white));
  border-radius: var(--border-radius);
  padding: 10px;
  display: inline-block;
  line-height: 0;
  box-shadow: var(--shadow-sm);
  border-top-right-radius: 0 !important;

  & img {
    width: 106px;
    height: auto;
  }
}

/* Hero — gradient background */
.hero {
  background: radial-gradient(296.56% 183.21% at 116.39% -15.71%, #1A094F 0%, hsl(var(--clr-secondary)) 45.61%, hsl(var(--clr-primary)) 98.34%);
  padding-top: var(--sp-v-lg);          /* 96px — accounts for white bar overlap */
  padding-bottom: var(--sp-v-md);       /* 56px */
  padding-inline: max(var(--sp-h-sm), calc((100% - var(--wide-max)) / 2));
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: flex;
  align-items: flex-end;
  gap: var(--gap-13);   /* 80px */
}

.hero__content {
  flex: 1;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);    /* 24px */
  padding-top: var(--sp-v-sm);    /* 32px */
  padding-bottom: var(--sp-v-md); /* 56px */

  & p {
    color: hsl(var(--clr-white));
    font-size: var(--fs-base);
    max-width: 604px;
  }
}

.hero__image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  align-self: flex-end;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}


/* ---------------------------------------------------------------------------
   9. Section base + modifiers
   --------------------------------------------------------------------------- */

.section {
  padding-top: var(--sp-v-xl);    /* 112px default */
  padding-bottom: var(--sp-v-xl);
  /* Dynamic padding: minimum 186px, grows once viewport exceeds 1440px
     so the content stays at most --inner-max wide while background
     bleeds to full viewport width. */
  padding-inline: max(var(--sp-h-lg), calc((100% - var(--inner-max)) / 2));
}

/* Gray background variant */
.section--bg-gray {
  background: hsl(var(--clr-gray-2));
}

/* Wide padding variant — same idea, but based on --wide-max (1288px) */
.section--wide {
  padding-inline: max(var(--sp-h-sm), calc((100% - var(--wide-max)) / 2));
}


/* ---------------------------------------------------------------------------
   9a. Section: Intro text (two stacked text blocks)
   --------------------------------------------------------------------------- */

.section--intro {
  padding-top: var(--sp-v-lg);    /* 96px */
  display: flex;
  flex-direction: column;
  gap: var(--gap-9);              /* 40px between blocks */
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 12px;   /* h3-bottom gap */

  & p {
    font-size: var(--fs-base);
    color: hsl(var(--clr-secondary-dark));
    max-width: 1068px;
  }
}


/* ---------------------------------------------------------------------------
   10. Section: Video
   --------------------------------------------------------------------------- */

.section--video {
  /* full bleed, no padding */
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  background: hsl(var(--clr-white));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--clr-secondary-dark));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--box-shadow);

  &:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
  }
}

/* ---------------------------------------------------------------------------
   11. Section: Focus (overlapping two-card layout)
   --------------------------------------------------------------------------- */

.section--focus {
  /* horizontal padding inherited from .section (medium formula) */
}

.focus {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

/* Left — purple gradient title card */
.focus__title-card {
  --gap-h2: 0px;

  flex: 1;
  min-width: 0;
  background: var(--gradient-3);
  border-radius: var(--border-radius-small);
  padding: var(--sp-card-lg);
  padding-right: calc(var(--sp-card-lg) + 80px); /* extra room for overlap */
  position: relative;
  z-index: 2;
  margin-right: -80px; /* overlaps right card by 80px */

  & h2 {
    color: hsl(var(--clr-white));
  }
}

/* Right — white content card */
.focus__content-card {
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  background: hsl(var(--clr-white));
  border-radius: var(--border-radius-small);
  padding: var(--sp-card-lg);
  position: relative;
  z-index: 3;
  margin-top: var(--sp-v-md);    /* 56px — starts lower than title card */
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);

  & p {
    font-size: var(--fs-base);
    color: hsl(var(--clr-secondary-dark));
  }
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
  padding-inline: 0;
  margin-block: 0;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-3);
  font-size: var(--fs-base);
  color: hsl(var(--clr-secondary-dark));
  line-height: var(--lh-base);
}

.checklist__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: var(--radius-pill);
  background: hsl(var(--clr-heading-secondary));
  color: hsl(var(--clr-white));
  margin-top: 1px;
}


/* ---------------------------------------------------------------------------
   12. Section: Testimonial
   --------------------------------------------------------------------------- */

.section--testimonial {
  padding-top: 0;   /* quote mark icon bleeds up from card */
  /* horizontal padding inherited from .section (medium formula) */
}

.testimonial {
  position: relative;
  max-width: 1068px;
  margin: 0 auto;
}

/* Large decorative opening quote — pure CSS, no image needed */
.testimonial__quote-mark {
  color: hsl(var(--clr-secondary));
  padding-left: var(--sp-card-lg);
  position: relative;
  z-index: 2;
  margin-bottom: -25px; /* overlaps card below */
  pointer-events: none;
  user-select: none;

  & .icon {
    height: 50px;
    width: 50px;
  }
}

.testimonial__card {
  background: hsl(var(--clr-white));
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 73px var(--sp-card-lg) var(--sp-card-lg);  /* 73px top so quote mark clears */
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap-8);

  & blockquote p {
    font-family: var(--ff-quote);
    font-style: italic;
    font-size: var(--fs-h4);
    line-height: var(--lh-h3);
    color: hsl(var(--clr-secondary));
  }
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.testimonial__avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial__author-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: hsl(var(--clr-heading-secondary));

  & strong {
    font-size: var(--fs-large);
    font-weight: 700;
    line-height: var(--lh-base);
  }

  & span {
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: var(--lh-base);
  }
}


/* ---------------------------------------------------------------------------
   13. Section: Text + Image (two columns)
   --------------------------------------------------------------------------- */

.section--two-col {
  display: flex;
  align-items: center;
  gap: var(--gap-13);   /* 80px */
  padding-top: 0;       /* shares gray bg, visual top is handled by testimonial bottom */
  padding-bottom: var(--sp-v-xl);
}

.two-col__text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: var(--gap-sm);

  & p {
    font-size: var(--fs-base);
    color: hsl(var(--clr-secondary-dark));
  }
}

.two-col__image {
  flex: 1;
  min-width: 0;
  border-radius: var(--border-radius);
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
  }
}


/* ---------------------------------------------------------------------------
   14. Section: Multi USP (left intro + 2×2 card grid)
   --------------------------------------------------------------------------- */

.section--usp {
  padding-inline: max(var(--sp-h-sm), calc((100% - var(--wide-max)) / 2));
}

.usp-large {
  display: grid;
  grid-template-columns: repeat(12, 1fr);  /* 12-col grid, gap = --gap-8 (32px) */
  gap: var(--gap-8);
  align-items: center;
}

.usp-large__intro {
  /* 4/12 cols — at 1288px content width: 4×78px + 3×32px = 408px */
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  align-items: flex-start;

  & h2 {
    margin-bottom: var(--gap-sm);
  }
}

.usp-large__grid {
  /* 8/12 cols — takes the remaining space */
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-8);
}

/* Individual USP card */
.usp-card {
  background: hsl(var(--clr-gray-2));
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: var(--sp-card-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;

  & p {
    font-size: var(--fs-base);
    color: hsl(var(--clr-secondary-dark));
    line-height: var(--lh-base);
  }
}

.usp-card__header {
  --gap-h5: 0px;

  display: flex;
  align-items: center;
  gap: var(--gap-md);   /* 20px */

  & h5 {
    font-size: var(--fs-h5);
    color: hsl(var(--clr-heading-secondary));
  }
}

.usp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}


/* Bullet list inside USP card */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
  padding-inline: 0;
  margin-block: 0;

  & li {
    position: relative;
    padding-left: 16px;
    margin-block: 0;
    font-size: var(--fs-base);
    color: hsl(var(--clr-secondary-dark));
    line-height: var(--lh-base);

    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 11px;
      width: 6px;
      height: 6px;
      border-radius: var(--radius-pill);
      background: hsl(var(--clr-heading-secondary));
    }
  }
}


/* ---------------------------------------------------------------------------
   15. Section: FAQ accordion
   --------------------------------------------------------------------------- */

.section--faq {
  --gap-h2: 0;

  /* horizontal padding inherited from .section (medium formula) */
  display: flex;
  flex-direction: column;
  gap: var(--gap-11);   /* 56px between heading and list */

  & h2 {
    max-width: 1068px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  width: 100%;
}

.faq-item {
  background: hsl(var(--clr-white));
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);

  & summary {
    display: flex;
    align-items: center;
    gap: var(--gap-3);
    padding: var(--sp-card-sm);  /* 20px */
    user-select: none;
  }

  &[open] summary {
    padding-bottom: var(--gap-3);

    & .faq-item__toggle {
      transform: rotate(180deg);
    }
  }
}

.faq-item__question {
  flex: 1;
  font-family: var(--ff-heading);
  font-size: var(--fs-h6);
  font-weight: 700;
  line-height: var(--lh-h6);
  color: hsl(var(--clr-heading-secondary));
}

.faq-item__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--radius-pill);
  background: hsl(var(--clr-secondary-dark));
  color: hsl(var(--clr-white));
  transition: transform 0.25s ease;

  & .icon {
    display: block;
    width: 24px;
    height: 24px;
  }
}

.faq-item__answer {
  padding: 0 var(--sp-card-sm) var(--sp-card-sm);

  & p {
    font-size: var(--fs-base);
    color: hsl(var(--clr-secondary-dark));
    line-height: var(--lh-base);
  }
}


/* ---------------------------------------------------------------------------
   16. Section: Meer weten (3-column cards)
   --------------------------------------------------------------------------- */

.section--more {
  --gap-h2: 0;

  padding-inline: max(var(--sp-h-sm), calc((100% - var(--wide-max)) / 2));
  display: flex;
  flex-direction: column;
  gap: var(--gap-11);   /* 56px */
}

.more-cards {
  display: flex;
  gap: var(--gap-8);   /* 32px */
  align-items: stretch;
}

.more-card {
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  background: hsl(var(--clr-white));
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: var(--sp-card-md);  /* 28px */
  display: flex;
  flex-direction: column;
  gap: var(--gap-6);   /* 24px */

  & h5 {
    font-size: var(--fs-h5);
    color: hsl(var(--clr-heading-secondary));
  }

  & p {
    font-size: var(--fs-base);
    color: hsl(var(--clr-secondary-dark));
    flex: 1;   /* push CTA to bottom */
  }
}

/* Social icons row */
.social-icons {
  display: flex;
  gap: var(--gap-3);
  align-items: center;
}

.social-icon {
  --clr-link-hover: var(--clr-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: hsl(var(--clr-primary));
  color: hsl(var(--clr-white));
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.8;
  }

  & .icon {
    display: block;
    width: 20px;
    height: 20px;
  }
}


/* ---------------------------------------------------------------------------
   17. Footer
   --------------------------------------------------------------------------- */

.site-footer {
  background: hsl(var(--clr-primary));
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--gap-sm);
  padding-inline: max(var(--sp-h-sm), calc((100% - var(--wide-max)) / 2));
  gap: var(--gap-8);
}

.footer-bar__copy {
  font-size: var(--fs-small);
  color: hsl(var(--clr-white));
  line-height: var(--lh-base);
}

.footer-bar__links {
  display: flex;
  gap: var(--gap-8);

  & a {
    font-size: var(--fs-small);
    color: hsl(var(--clr-white));
    text-decoration: none;
    line-height: var(--lh-base);

    &:hover {
      text-decoration: underline;
    }
  }
}


/* =============================================================================
   MOBILE  (< 768 px)
   Typography sizes are already responsive via base.css media queries —
   only layout, spacing, and structural overrides are needed here.
   ============================================================================= */

@media (max-width: 767px) {
  /* ── Section base ─────────────────────────────────────────────────────── */
  .section {
    padding-inline: var(--container-padding);
    padding-block: 64px;
  }

  .section--wide,
  .section--usp,
  .section--more {
    padding-inline: 20px;
  }

  .section--intro {
    /* extra top padding to clear the hero image that overlaps ~40 px */
    padding-top: 64px;
  }


  /* ── Logo ─────────────────────────────────────────────────────────────── */

  .header-bar {
    height: 20px;
  }

  .logo {
    left: var(--container-padding);
    top: 12px;
    padding: 4px;
    border-radius: 10px;

    & svg {
      width: 50px;
      height: 50px;
    }
  }


  /* ── Hero ─────────────────────────────────────────────────────────────── */

  .hero {
    background: linear-gradient(337deg, #381B93 5%, #004FFF 50.91%);
    padding-inline: var(--container-padding);
    padding-top: 60px;
    padding-bottom: 0;        /* image carries its own bottom space */
    overflow: visible;        /* allow image to bleed into next section */
  }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .hero__content {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Image moves below text, centered, and overlaps 40 px into next section */
  .hero__image {
    flex: none;
    width: calc(100% - 40px);
    max-width: 335px;
    align-self: center;
    margin-bottom: -40px;
    position: relative;
    z-index: 5;
  }

  /* Buttons — full-width on mobile */
  .btn {
    width: 100%;
    justify-content: center;
  }


  /* ── Focus (overlapping cards → vertical stack) ───────────────────────── */

  .focus {
    flex-direction: column;
  }

  .focus__title-card {
    margin-right: 0;
    padding-right: var(--sp-card-lg);   /* restore symmetry */
    padding-bottom: 60px;               /* visual breathing room above overlap */
    margin-bottom: -40px;               /* pull content card up */
    z-index: 2;
    border-radius: var(--border-radius-small);
  }

  .focus__content-card {
    margin-top: 0;
    margin-left: 20px;                  /* indent to reveal title card corner */
    border-top-right-radius: 0;         /* butts against exposed corner */
    z-index: 3;
  }


  /* ── Testimonial ──────────────────────────────────────────────────────── */

  .testimonial__avatar {
    width: 60px;
    height: 60px;
  }


  /* ── Text + Image (two-col) ───────────────────────────────────────────── */

  .section--two-col {
    flex-direction: column;
    padding-top: 64px;
    gap: 20px;
  }

  .two-col__image {
    & img {
      aspect-ratio: 1 / 1;   /* square crop on mobile */
    }
  }


  /* ── Multi USP ────────────────────────────────────────────────────────── */

  .usp-large {
    grid-template-columns: 1fr;  /* single column — both children span full width */
    gap: 40px;
  }

  .usp-large__intro {
    grid-column: span 1;
    text-align: center;
    align-items: center;
  }

  .usp-large__grid {
    grid-column: span 1;
    grid-template-columns: 1fr;  /* USP cards also single column */
  }


  /* ── More cards ───────────────────────────────────────────────────────── */

  .more-cards {
    flex-direction: column;
  }

  /* ── Footer ───────────────────────────────────────────────────────────── */

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-inline: 20px;
    padding-block: 24px;
  }

  .footer-bar__links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 1024px) {
  /* ── Section base ─────────────────────────────────────────────────────── */
  .section {
    padding-inline: var(--container-padding);
  }
}

/* =============================================================================
   VIDEO MODAL  (<dialog>)
   ============================================================================= */

.video-modal:not([open]) {
  display: none;
}

.video-modal {
  width: min(90vw, 900px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-md, 8px);
  background: #000;
  overflow: visible;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);

  &::backdrop {
    background: hsla(0, 0%, 0%, 0.8);
    cursor: pointer;
  }
}

.video-modal__content {
  position: relative;
}

.video-modal__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: hsl(var(--clr-white));
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  &:hover {
    opacity: 0.8;
  }
}

.video-modal__frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;

  & iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
  }
}
