/* ========================================= */
/* RESET                                     */
/* ========================================= */

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

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

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
}

section {
    scroll-margin-top: 56px;
}


/* ========================================= */
/* BASE STYLES                               */
/* ========================================= */

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden; /* voorkomt horizontaal scrollen op mobile */
}

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

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-heading);
}


p {
    margin-bottom: 1rem;
}

section {
    width: 100%;
    position: relative;
}

input,
textarea {
    font: inherit;
    outline: none;
}

/* ========================= */
/* FONT-FACE DECLARATIONS    */
/* ========================= */

@font-face {
    font-family: 'CaviarDreams';
    src: url('assets/fonts/CaviarDreams.woff2') format('woff2'),
         url('assets/fonts/CaviarDreams.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CaviarDreams';
    src: url('assets/fonts/CaviarDreams-Italic.woff2') format('woff2'),
         url('assets/fonts/CaviarDreams-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'CaviarDreams';
    src: url('assets/fonts/CaviarDreams-Bold.woff2') format('woff2'),
         url('assets/fonts/CaviarDreams-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CaviarDreams';
    src: url('assets/fonts/CaviarDreams-BoldItalic.woff2') format('woff2'),
         url('assets/fonts/CaviarDreams-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-Light.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-LightItalic.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-Semilight.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-Semilight.woff') format('woff');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-SemilightItalic.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-SemilightItalic.woff') format('woff');
    font-weight: 350;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI.woff2') format('woff2'),
         url('assets/fonts/SegoeUI.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-Italic.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-Semibold.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-SemiboldItalic.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-SemiboldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-Bold.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUI-BoldItalic.woff2') format('woff2'),
         url('assets/fonts/SegoeUI-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUIBlack.woff2') format('woff2'),
         url('assets/fonts/SegoeUIBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SegoeUI';
    src: url('assets/fonts/SegoeUIBlack-Italic.woff2') format('woff2'),
         url('assets/fonts/SegoeUIBlack-Italic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --font-heading: 'CaviarDreams', 'SegoeUI', system-ui, sans-serif;
    --font-body: 'SegoeUI', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --color-yellow: #FED173;
    --color-red: #A34D58;     
    --color-pink: #FBDDB5;       
    --color-white: #FFFFFF;

    --color-bg: var(--color-white);
    --color-bg-soft: var(--color-pink);
    --color-primary: var(--color-red);
    --color-accent: var(--color-yellow);
    --color-heading: var(--color-red);
    --color-text: #A34D58;                
    --color-border-soft: var(--color-pink);

    --color-button-bg: var(--color-red);
    --color-button-text: var(--color-yellow);
}

/* ============================= */
/* HEADER VARIABELEN             */
/* ============================= */
:root{
  --header-h: 56px;   /* mobile */
}

body{ padding-top: var(--header-h); }
section{ scroll-margin-top: var(--header-h); }

/* ============================= */
/* NAV - BASIS (werkt voor beide)*/
/* ============================= */

/* LOGO */
.nav-logo{
  display: flex;
  align-items: center;
}

.nav-logo img{
  height: 46px;   /* kleiner logo → meer adem */
  width: auto;
  display: block;
}

.nav-toggle{
  width: 32px;
  height: 32px;
  display: flex;              /* <- cruciaal */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle span{
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-red);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2){
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-white);  
}

.nav-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px;
  height: var(--header-h);
}

/* reset/consistency voor nieuwe classes */
.nav-list{
  list-style: none;
  margin: 0;
  padding: 12px 16px 16px; /* mobile */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item{ position: relative; }

.nav-link{
  display: block;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-heading);
  background: none;
  border: none;
  text-align: left;
  width: 100%;
}

/* Button "Osteothai" ziet eruit als link */
.nav-subtoggle{
  cursor: pointer;
}

/* ============================= */
/* SUBMENU - MOBILE (accordion)  */
/* ============================= */
.submenu{
  display: none;
  padding: 2px 0 6px 14px;
  margin: 0;
  border-left: 2px solid var(--color-pink);
  gap: 2px;
}

.submenu a{
  display: block;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--color-heading);
}

/* open toestand via JS class */
.has-submenu.submenu-open > .submenu{
  display: block;
}

/* pijltje-indicator naast Osteothai */
.has-submenu > .nav-subtoggle{
  padding-right: 14px;
  position: relative;
}
.has-submenu > .nav-subtoggle::after{
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;

  width: 6px;
  height: 6px;

  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform: translateY(-55%) rotate(45deg);
  opacity: 0.7;
  transition: transform .18s ease, opacity .18s ease;
}

.has-submenu.submenu-open > .nav-subtoggle::after{
  transform: translateY(-35%) rotate(-135deg);
}

/* ============================= */
/* MOBILE MENU    */
/* ============================= */
.nav-menu{
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-white);  
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}

body.nav-open .nav-menu{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ============================= */
/* DESKTOP MENU                  */
/* ============================= */
@media (min-width: 1024px){
  :root{ --header-h: 64px; }

  /* hamburger uit */
  .nav-toggle{ display: none; }

  /* nav-menu niet meer als "drawer", maar als normale rij */
  .nav-menu{
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    background: transparent;
  }

  .nav-bar{
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    height: var(--header-h);
  }

  .nav-list{
    height: var(--header-h);
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .nav-link{
    color: var(--color-heading);   /* huidige kleur */
    transition: color .15s ease;
  }

 .nav-link:hover,
  .nav-link:focus-visible{
    color: #6F2F39; /* dieper bordeaux */
  }

  /* submenu als dropdown */
  .submenu{
    display: block;
    position: absolute;
    top: calc(100% - 1px);
    left: -10px;
    min-width: 280px;

    padding: 18px 14px 14px;
    border-radius: 0 0 8px 8px;
    background: var(--color-white);
    border: none;
    outline: none;
    box-shadow: 0 22px 28px -18px rgba(0,0,0,0.18);

    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
   } 

   .has-submenu::after{
    content:"";
    position:absolute;
    left:-14px;
    right:-14px;
    top:100%;
    height: 24px; /* moet minstens je margin-top dekken */
}


  .submenu a{
    padding: 10px 8px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .submenu a:hover{
    background: var(--color-bg-soft);
  }

  /* open op hover én op keyboard focus */
  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* pijltje: subtieler op desktop */
  .has-submenu:hover > .nav-subtoggle::after{
    transform: translateY(-40%) rotate(45deg);
    opacity: 1;
  }
}

  /* op desktop hoeft submenu-open class niet, maar mag geen kwaad */
  .has-submenu.submenu-open > .submenu{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

/* ========================================= */
/* SECTIONS (MOBILE FIRST)                   */
/* ========================================= */

section {
    padding: 32px 16px;
}

/* HERO SECTION */
.hero {
    background-color: var(--color-yellow);
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: calc(100vh - 56px); /* hero vult schermhoogte minus fixed header */
}

.hero-media {
  height: 50vh;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-top: -56px;
}

.hero-content {
  padding: 6px 24px 44px 24px;
  gap: 10px;
  align-items: flex-start;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-red);
}

.hero-title {
  font-size: clamp(1.45rem, 4.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;     /* dwingt 1 regel */
  margin-top: 0;
}

.hero-text {
  font-family: 'CaviarDreams', var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.05rem, 3.7vw, 1.35rem);
  line-height: 1.25;
  max-width: 32ch;
  margin-top: 10px;
}

.hero-content .btn-primary {
  margin-top: 2px;
}

/* HERO: desktop layout + 2 achtergronden + floating image */
@media (min-width: 1024px){

.hero{
    position: relative;
    padding: 0;
    min-height: auto;
  }

  .hero-media{ order: 2; }
  .hero-content{ order: 1; }

  /* 2 achtergronden die full-width doorlopen */
  .hero-bg{
    position: absolute;
    left: 0;
    right: 0;
    z-index: 0;
  }

 .hero-bg--top{
    top: 0;
    height: 128px;
    background: var(--color-white);
  }
 
  .hero-bg--bottom{
    top: 86px;
    bottom: 0;
    background: var(--color-yellow);
  }

  /* container op 75vw (met grenzen) */
  .hero-inner{
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;

    /* horizontale padding blijft zoals je had */
    padding-left: 24px;
    padding-right: 24px;

    /* ↓ DIT is je belangrijkste finetune-knop */
    padding-top: 128px;   /* ← hier spelen: 96 / 112 / 128 */
    padding-bottom: 0;   

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 128px;

    /* niet meer verticaal centreren */
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }

  /* tekst links */
  .hero-content{
    padding: 0;               /* je mobile padding niet gebruiken op desktop */
    max-width: 90ch;
  }

  .hero-title{
    white-space: normal;      /* je had mobile nowrap */
    font-size: clamp(1.8rem, 5vw, 2rem);
    line-height: 1.2;
    white-space: nowrap;
    padding-bottom: 24px;
  }

  .hero-text{
    max-width: 44ch;
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
    padding-bottom: 24px;
  }

  /* beeld rechts: “hangt” over wit+geel */
  .hero-media{
    height: 520px;
    margin: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-media img{
    width: min(560px, 100%);
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    transform: translateY(-84px); /* floating over beide kleuren */
  }
}

/* GENERIC SECTION STYLING */

.section h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.section p {
    font-size: 0.95rem;
}

/* INTRO BLOCKS */
.section-intro .section-block + .section-block {
    margin-top: 24px;
}

/* ======================================= */
/* INTRO CARDS SECTION                     */
/* ======================================= */

.section-intro-cards{
  background-color: #FBD9AD;
  padding: 40px 16px;
}

.section-intro-cards .intro-cards-inner{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.intro-title {
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-bottom: 8px;
}

/* KAARTEN */
/* ===== INTRO CARDS – basis (mobile first) ===== */
.section-intro-cards{
  background-color: #FBD9AD;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px; /* <-- zorgt weer voor ruimte tussen cards op mobile */
}

.intro-card{
  background-color: #FED173;
  border-radius: 22px;
  padding: 26px;
  position: relative;
  overflow: hidden;

  width: 85%;
  max-width: 360px;
  margin: 0 auto;

  /* i.p.v. aspect-ratio: */
  min-height: 320px;      /* houdt het “kaartgevoel”, maar kan groeien */
  height: auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* tekst start bovenaan */
  gap: 12px;
}


.intro-card h3,
.intro-card p{
  margin: 0;
  position: relative;
  z-index: 1; /* boven de ::before achtergrond */
}

/* ===== DESKTOP ===== */
@media (min-width: 1024px){
  .section-intro-cards{
    padding: 0; /* spacing via inner */
  }

  .section-intro-cards .intro-cards-inner{
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
  }

  .section-intro-cards .intro-card{
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    min-height: 320px;

    /* desktop: titel/p uitlijning netjes */
    display: grid;
    grid-template-rows: 128px 1fr;
    gap: 0;
    justify-content: stretch;
  }

  .section-intro-cards .intro-card h3{
    align-self: end;
    padding-bottom: 12px;
  }

  .section-intro-cards .intro-card p{
    align-self: start;
  }
}


/* Achtergrondafbeelding */
.bg-oosters::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/img/oosterse-kunst-van-aanraking.webp');
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}

.bg-westers::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/img/westerse-osteopathische-principes-en-kennis.webp');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}

.bg-intrinsiek::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/img/het-intrinsiek-zelf.webp');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}

/* Tekst */
.intro-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(1.55rem, 5.4vw, 2rem);
    line-height: 1.1;                         
    margin-top: 0;
    color: var(--color-heading);
    padding-top: 12px;
    margin-bottom: 8px;
}

.intro-card p {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
    line-height: 1.4;
    color: #944; /* optie: iets donkerder voor leesbaarheid */
    margin-bottom: 0;    
}

@media (min-width: 1024px){
  .section-intro-cards{
    /* zelfde “container” als hero */
    padding: 0;                    /* we sturen spacing via inner */
    background-color: #FBD9AD;
    position: relative;
    z-index: 2;    
  }

  /* maak een inner wrapper als je die nog niet hebt */
  .section-intro-cards .intro-cards-inner{
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;
    padding: 64px 24px 80px;          /* bottom padding voor adem */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
  }

  /* cards: geen vaste width/ratio meer op desktop */
  .section-intro-cards .intro-card{
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    min-height: 320px;             /* zodat ze mooi gelijk voelen */
    border-radius: 22px;
  }
}




/* ================================ */
/* OSTEOTHAI SECTION (mobile first) */
/* ================================ */

.section-osteothai{
  background-color: var(--color-yellow);   /* full width background */
  padding: 0;                              /* jij stuurt spacing in content */
}

.osteothai-inner{
  /* mobile: gewoon onder elkaar */
  width: 100%;
}

/* Mobile: afbeelding echt rand-tot-rand */
.osteothai-media{
  position: relative;     /* <-- essentieel voor overlay */
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0;
}


.osteothai-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Voorkom horizontale scroll door 100vw */
.section-osteothai{ overflow-x: clip; } /* of hidden */


.osteothai-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay onderaan de afbeelding */
.osteothai-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background-color: rgba(163, 77, 88, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.osteothai-quote{
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--color-yellow);
  text-align: center;
}

.osteothai-content{
  padding: 24px 24px 44px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.osteothai-content h2{
  font-size: 2rem;
  font-weight: 700;
}

.osteothai-content p{
  margin: 0; /* jij gebruikt gap, dus geen p-margin */
  font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  line-height: 1.6;
}

/* ================================ */
/* OSTEOTHAI SECTION (desktop)      */
/* tekst links, foto rechts         */
/* full-width geel blijft           */
/* ================================ */
@media (min-width: 1024px){

  .section-osteothai{
    padding: 64px 0; /* adem boven/onder de hele sectie */
  }

  /* inner wordt jouw “container” zoals hero */
  .osteothai-inner{
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;
    padding: 0 24px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: start;
  }

  /* expliciet: tekst links, foto rechts */
  .osteothai-content{ order: 1; padding: 0; }
  .osteothai-media{ order: 2; }

  /* foto als kaart */
  .osteothai-media{
    border-radius: 28px;
    overflow: hidden;
  }

  .osteothai-media img{
    height: 620px;        /* finetune */
    width: 100%;
    object-fit: cover;
    display: block;
  }

  /* overlay iets ruimer op desktop */
  .osteothai-overlay{
    height: 64px;
    padding: 0 20px;
  }

  .osteothai-quote{
    font-size: 1rem;
    line-height: 1.25;
  }

  .osteothai-content{
    max-width: 58ch;
    gap: 14px;
  }

  .osteothai-content p{
    font-size: 1rem;
    line-height: 1.65;
  }
}



/* ================================ */
/* HOE VERLOOPT EEN OSTEOTHAI SESSIE */
/* ================================ */

.section-flow{
  background: var(--color-white);
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ===== MEDIA (foto) ===== */

.flow-media{
  position: relative;
  margin: 0;
}

.flow-media img{
  width: 100%;
  height: auto;
  display: block;
}

.flow-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background-color: rgba(163, 77, 88, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.flow-quote{
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-yellow);
  text-align: center;
}

/* ===== INTRO ===== */

.flow-intro{
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-intro h2{
  font-size: 2rem;
  font-weight: 700;
}

.flow-intro p{
  margin: 0;
  font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  line-height: 1.6;
}

/* ===== BLOKKEN ===== */

.flow-block{
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-block h3{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}

.flow-block p{
  margin: 0;
  font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  line-height: 1.6;
}

.flow-block--yellow{ background: var(--color-yellow); }
.flow-block--white{ background: var(--color-white); }

/* ================================================= */
/* DESKTOP: FOTO LINKS – 1 groot rechtervlak          */
/* (mobile blijft exact zoals het is)                 */
/* ================================================= */
@media (min-width: 1024px){

  /* je bestaande grid blijft leidend */
  .section-flow{
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;
    padding: 96px 24px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    column-gap: 64px;
    align-items: start;
    background: var(--color-white);
  }

  .flow-media{
    grid-column: 1;
    grid-row: 1 / -1;
    border-radius: 28px;
    overflow: hidden;
  }

  /* rechterkolom = 1 groot blok */
  .flow-right{
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;

    background: #FBDDB5;
    border-radius: 28px;
    padding: 44px 44px 52px;
  }

  /* haal de “losse kaarten” look weg op desktop */
  .flow-block{
    border-radius: 0;
    padding: 0;         /* padding komt nu van flow-right */
    background: transparent;
  }

  /* override je kleur-varianten alleen op desktop */
  .flow-block--yellow,
  .flow-block--white{
    background: transparent;
  }

  /* intro ook zonder eigen achtergrond/padding */
  .flow-intro{
    padding: 0;
    background: transparent;
  }

  /* consistentere spacing binnen het grote blok */
  .flow-block h3{
    margin: 0 0 6px 0;
  }

  .flow-block p{
    margin: 0;
  }

  /* optioneel: subtiele scheiding tussen stukken (mooier/strakker) */
  .flow-intro,
  .flow-block{
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(163, 77, 88, 0.18);
  }

  .flow-right > :last-child{
    padding-bottom: 0;
    border-bottom: none;
  }
}





/* ================================ */
/* WANNEER KAN OSTEOTHAI HELPEN    */
/* ================================ */

.section-when {
    padding: 0;
    background-color: var(--color-bg-soft); /* zelfde zachte achtergrond */
    display: flex;
    flex-direction: column;
}

/* Afbeelding */
.when-media {
    margin: 0;
    padding: 0;
}

.when-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Introblok */
.when-intro {
    background-color: var(--color-bg-soft);
    padding: 24px 24px 44px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.when-intro h2 {
    font-size: 2rem;
    font-weight: 700;
}

.when-intro p {
    margin-bottom: 30;
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
}

/* Gekleurde blokken met logo rechtsboven */
.when-block {
    position: relative;
    padding: 24px 24px 44px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* kleine logo/icoon rechtsboven */
.when-block::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 43px;
    height: 57px;
    background-image: url('assets/img/twelvaren-leaf-logo.webp'); /* jouw kleine logo */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1; /* eventueel later zachter zetten */
}

/* Variaties qua achtergrondkleur */
.when-block--yellow {
    background-color: var(--color-yellow);
    padding-bottom: 50px;    
}

.when-block--white {
    background-color: var(--color-white);
    padding-bottom: 50px; 
}

/* Tekst in blokken */
.when-block h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    margin-bottom: 4px;
    padding-right: 56px; /* ruimte laten voor het icoon */
}

.when-block ul {
    margin: 0;
    padding-left: 20px;
}

.when-block li {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
    line-height: 1.45;
    color: var(--color-text);
    margin-bottom: 4px;
    list-style: disc; /* echte bullets */
}

@media (min-width: 1024px){

  /* full-width achtergrond blijft op de sectie */
  .section-when{
    background: var(--color-bg-soft);
    padding: 0; /* zoals je al had */
  }

  /* ✅ dit is je "55vw container" voor foto + intro + blokken */
  .when-bg{
    width: min(55vw, 1120px);   /* 55vw, maar nooit breder dan 1120px */
    margin: 0 auto;             /* centreren */
    padding: 64px 0 110px;      /* adem boven/onder */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 28px;
    row-gap: 28px;
  }

  /* media + intro over de volle 55vw (dus over 3 kolommen) */
  .when-media,
  .when-intro{
    grid-column: 1 / -1;
  }

  /* afbeelding begrenzen */
  .when-media{
    max-height: 520px;
    overflow: hidden;
    border-radius: 28px;
    margin: 0 0 10px; /* iets compacter */
  }

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

  /* intro compacter, maar nog steeds binnen 55vw */
  .when-intro{
    max-width: none;     /* laat ‘m gewoon de container volgen */
    padding: 0 0 16px;   /* minder “lucht” */
  }

  /* 3 blokken naast elkaar binnen 55vw */
  .when-block{
    border-radius: 22px;
    padding: 32px 28px 40px;
    margin: 0;           /* safety */
  }
}

/* HARTKWALITEITEN */

.section-hearts {
    padding: 0;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
}

/* Afbeelding + overlay */
.hearts-media {
    position: relative;
    margin: 0;
    padding: 0;
}

.hearts-media img {
    width: 100%;
    display: block;
}

.hearts-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(163, 77, 88, 0.95);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hearts-quote {
    margin: 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-yellow);
    text-align: center;
}

/* Content met de 4 kwaliteiten */
.hearts-content {
    padding: 24px 24px 44px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hearts-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

/* Items */
/* Container voor titel + icoon + tekst */
.heart-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Titel */
.heart-item h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

/* Body: icoon + tekst horizontaal */
.heart-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Icon correct schalen */
.heart-icon {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  fill: currentColor;
  color: inherit; /* default */
}

/* Verschillende kleuren per kwaliteit */
.heart-item--metta   { color: #A34D58; }  /* donkerrood */
.heart-item--karuna  { color: #F39C75; }  /* warm oranje/roze */
.heart-item--mudita  { color: #8B3B4A; }  /* dieper rood */
.heart-item--upekkha { color: #F7A8C5; }  /* zacht roze */

.heart-item h3 { color: var(--color-heading); }
.heart-body p  { color: var(--color-text);
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);

}

/* ================================================= */
/* DESKTOP: 4 HARTKWALITEITEN – TEKST LINKS / FOTO RECHTS */
/* ================================================= */
@media (min-width: 1024px){

  .section-hearts{    
    padding: 0;
  }

  /* centrale container */
  .section-hearts{
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;
    padding: 96px 24px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr; /* tekst iets breder */
    column-gap: 64px;
    align-items: start;
  }

  /* volgorde: tekst links, beeld rechts */
  .hearts-content{ order: 1; }
  .hearts-media{ order: 2; }

  /* linkerkolom */
  .hearts-content{
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 60ch;
  }

  .hearts-content h2{
    margin-bottom: 12px;
  }

  /* items netjes onder elkaar */
  .heart-item{
    gap: 6px;
  }

  /* rechterkolom: beeld als kaart */
  .hearts-media{
    position: relative;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    max-height: 520px;
  }

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

  .hearts-overlay{
    height: 64px;
    padding: 0 20px;
  }

  .hearts-quote{
    font-size: 1rem;
    line-height: 1.25;
  }
}



/* ================================ */
/* OVER INGE / OVER MIJ            */
/* ================================ */

.section-about {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 56px); /* volledige viewport, minus fixed header */
}

/* Foto bovenaan, vaste hoogte ~300px */
.about-media {
    margin: 0;
    padding: 0;   
    overflow: hidden;
}

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

/* Rode quote-balk */
.about-quote-bar {
    background-color: var(--color-red); /* #A34D58 */
    height: 56px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-quote {
    margin: 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-yellow); /* #FED173 */
    text-align: center;
}

/* Geel contentvlak met bg-afbeelding */
.about-content {
    flex: 1; /* vult de rest van de sectie */
    position: relative;
    background-color: var(--color-yellow);
    padding: 24px 24px 44px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

/* Achtergrondvorm gecentreerd */
.about-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assets/img/twelvaren-line-logo.webp");
    background-repeat: no-repeat;
    background-position: center center;  /* horizontaal en verticaal gecentreerd */
    background-size: contain;
    opacity: 0.15; /* evt. verhogen als je ‘m sterker wilt zien */
    pointer-events: none;
    z-index: 0;
}

/* Zorg dat tekst boven de bg staat */
.about-content > * {
    position: relative;
    z-index: 1;
}

/* Typografie in content */
.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
}

.about-content p {
    margin-bottom: 0;
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
}

/* Button hergebruikt .btn & .btn-primary, extra marge indien nodig */
.about-content .btn-primary {
    margin-top: 30px;
}

/* ================================ */
/* OVER INGE – DESKTOP              */
/* Foto links + quote in foto        */
/* Tekst rechtsboven + CTA           */
/* Achtergrond full-width geel       */
/* ================================ */
@media (min-width: 1024px){

  .section-about{
    /* inhoud gecentreerd op clamp */
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;
    padding: 0px 24px;
    min-height: unset;

    /* layout */
    display: grid;
    grid-template-columns: 1.05fr 1.05fr;
    column-gap: 64px;
    align-items: start;

    /* achtergrond via pseudo-element (full width) */
    position: relative;
    background: transparent;
    
  }

  /* full-width gele achtergrond */
  .section-about::before{
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: var(--color-yellow);
    z-index: -1;
  }

  /* FOTO LINKS */
  .about-media{
    position: relative;     /* <-- belangrijk */
    height: 560px;
    border-radius: 28px;
    overflow: hidden;
    margin: 64px 0;
  }

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

  /* QUOTE BAR: over de foto heen, onderaan */
    .about-quote-bar{
    position: absolute;     /* <-- belangrijk */
    left: 0;
    right: 0;
    bottom: 0;              /* zit nu echt onderin de foto */

    height: 64px;
    margin: 0;
    padding: 0 20px;

    background: rgba(163, 77, 88, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0 0 28px 28px;
    z-index: 2;
  }

  .about-quote{
    margin: 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--color-yellow);
    text-align: center;
  }

  /* TEKST RECHTSBOVEN */
  .about-content{
    
    display: flex;
    flex-direction: column;
    min-height: 560px;
    max-width: 56ch;
    margin: 64px 0;
  }

  .about-content p{
    font-family: 'Caviar Dreams', var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.7;
}

   .about-content .btn{
    margin-top: 32px;
    align-self: flex-start;
  }
}

/* ================================ */
/* PRAKTIJKRUIMTE – EEN PLEK OM TE LANDEN */
/* ================================ */

.section-space {
    background-color: var(--color-bg-soft); /* #FBD9AD */
    padding: 24px 24px 44px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.space-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.space-text p {
    margin-bottom: 8px;
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
}

/* Eerste reeks foto’s – full width binnen padding */
.space-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;  /* zelfde als horizontale padding voor consistente spacing */
    margin-top: 8px;
}

.space-gallery img,
.space-photo-large img {
    width: 100%;
    height: auto;
    display: block;
}

/* Tekst tussen fotoreeksen */
.space-arrival {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
}

/* Extra foto onderaan */
.space-photo-large {
    margin: 0;
}

.space-carousel{
  position: relative;
  overflow: hidden;
  background: #0000; /* transparant */
}

/* viewport */
.space-carousel__viewport{
  overflow: hidden;
}

/* track: horizontaal scrollen via transform */
.space-carousel__track{
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

/* elke slide 100% breed */
.space-carousel__slide{
  min-width: 100%;
  margin: 0;
}

.space-carousel__slide img{
  width: 100%;
  height: 80%x;           /* mobile hoogte */
  object-fit: cover;
  display: block;
}

/* pijlen */
.space-carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--color-red);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.space-carousel__btn--prev{ left: 10px; }
.space-carousel__btn--next{ right: 10px; }

.space-carousel__btn:focus-visible{
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* dots */
.space-carousel__dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.space-carousel__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(163,77,88,.35);
}

.space-carousel__dot.is-active{
  background: rgba(163,77,88,.95);
  width: 18px;
}

/* desktop */
@media (min-width: 1024px){
    .space-text{
    width: clamp(980px, 75vw, 1120px);
    margin: 0 auto;
    padding: 0px 24px;
    min-height: unset;
  }

  .space-carousel__slide img{
    height: 90%;
    border-radius: 22px;
  }
  .space-carousel{
    border-radius: 22px;
  }

  .space-carousel{
    width: min(70vw, 1080px);
    margin: 0 auto;
  }

  .section-space{
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }

  .space-text-wrap,
  .space-arrival-wrap{
    width: min(70vw, 1080px);  
  }

  .space-carousel-wrap,
  .space-photo-wrap{
    width: min(70vw, 1080px);
    border-radius: 22px;
    overflow: hidden;
    height: 520px;     
  }


  /* spacing finetune */
  .space-text-wrap{ margin-bottom: 32px; }
  .space-carousel-wrap{ margin-bottom: 24px; }
  .space-arrival-wrap{ margin: 24px 0; }
}


/* ================================ */
/* REVIEW – WAT ANDEREN ERVAREN     */
/* ================================ */

.section-review {
    background-color: var(--color-yellow); /* geel blok onderaan */
    padding: 24px 24px 44px 24px;
}

.review-inner {
    max-width: 40rem;
}

.section-review h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Beide paragrafen italic */
.section-review p {
    font-style: italic;
    margin-bottom: 8px;
}

.section-review .testimonial {
    margin-top: 12px;
    padding: 16px;
    border-radius: 12px;
    background-color: #FFF9F3;
    border: 1px solid var(--color-border-soft);
}

.testimonial-name {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (min-width: 1024px){

  .section-review{
    background-color: var(--color-yellow);
    padding: clamp(64px, 18vh, 96px) 0; /* adem zonder leegte */
    display: flex;
    justify-content: center;
  }

  .review-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
  }

  /* 👇 HET VIERKANT */
  .section-review .testimonial{
    width: min(36vw, 380px);
    aspect-ratio: 1 / 1;
    padding: 32px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin-top: 0;
    border-radius: 18px;
  }
}




/* ================================ */
/* CONTACT / AFSPRAAK               */
/* ================================ */

.section-contact {
    padding: 0;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
}

/* Foto bovenaan, iets hoger ~350px */
.contact-media {
    margin: 0;
    padding: 0;   
    overflow: hidden;
}

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

/* Geel contentvlak met tekst + button */
.contact-content {
    padding: 24px 24px 44px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.contact-content h2 {
    font-size: 2rem;
    font-weight: 700;
}

.contact-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4px;
}

.contact-content p {
    margin-bottom: 0;
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
}

.contact-content .btn-primary {
    margin-top: 12px;
    align-self: flex-start;
}

@media (min-width: 1024px){

  .section-contact{
    background-color: var(--color-white);
    padding: 0; /* spacing via inner */
  }

  .contact-inner{
    width: min(70vw, 1120px);
    margin: 0 auto;
    padding: 96px 0;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
  }

  /* ✅ desktop volgorde omdraaien zonder HTML te wijzigen */
  .contact-media{ order: 2; }
  .contact-content{ order: 1; padding: 0; }

  .contact-media{
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    height: 520px;
  }

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


/* ================================ */
/* FOOTER                           */
/* ================================ */

.site-footer {
    background-color: var(--color-pink);
    padding: 24px 16px 16px;
    font-size: 0.9rem;
    color: var(--color-heading);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.footer-logo img {
    width: 200px;
    height: auto;          /* hoogte schaalt mee; jouw mockup ±117px */
    display: block;    
}

.footer-contact p {
    margin: 0 0 4px;
}

.footer-name {
    font-weight: 600;
}

.footer-contact a {
    text-decoration: none;
    color: var(--color-heading);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-link a {
    font-weight: 600;
}

.footer-copy {
    margin-top: 8px;
    font-size: 0.7rem;
}

@media (min-width: 1024px){

  .site-footer{
    padding: 64px 0 48px;
    background-color: var(--color-pink);
  }

  .footer-inner{
    width: min(70vw, 1120px);
    margin: 0 auto;

    display: flex;
    justify-content: center;   /* 🔑 inhoud als geheel centreren */
    align-items: center;
    gap: 128px;
  }

  .footer-logo{
    flex-shrink: 0;
  }

  .footer-contact{
    max-width: 420px;
    text-align: left;          /* tekst blijft leesbaar */
  }
}



/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-decoration: none;
    margin-top: 12px;   
}

.btn-primary {
    background-color: var(--color-button-bg);
    color: var(--color-button-text);
}

@media (min-width: 1024px){
  .btn{
    padding: 10px 40px;
    font-size: 1.6rem;
    border-radius: 18px;

    background-color: var(--color-red);
    color: var(--color-yellow);

    transition:
      background-color .2s ease,
      color .2s ease,
      box-shadow .2s ease;
  }

  .btn:hover,
  .btn:focus-visible{
    background-color: #7E3640;
    color: #FFF3E2;

    box-shadow:
      0 8px 18px rgba(163, 77, 88, 0.28),
      0 2px 6px rgba(163, 77, 88, 0.18);
  }
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.modal-overlay.is-open {
  display: flex;
}

/* Modal box */
.modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  position: relative;
}

.modal h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.modal-subtitle {
  margin-bottom: 16px;
  opacity: .8;
}

/* Close button */
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

/* Form */
.field-row {
  margin-bottom: 12px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  border-color: rgba(0,0,0,.35);
}

/* Feedback */
.form-error {
  margin-top: 10px;
  color: #b00020;
}

.form-success {
  margin-top: 10px;
}
