/*
Theme Name: Compétences & Sens
Description: Thème sur mesure pour compétences-sens.fr - Conseil, évaluation et formation médico-sociale
Author: Compétences & Sens
Version: 1.0
Text Domain: competences-sens
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Teal #267474 / Terracotta #D77968 / Amber #F7AD63
   Display: Bebas Neue - Body: Montserrat
   ========================================================================== */

:root{
  /* Couleurs */
  --teal: #267474;
  --teal-dark: #1a5252;
  --teal-deepest: #12302f;
  --terracotta: #D77968;
  --terracotta-dark: #c2604e;
  --amber: #F7AD63;
  --cream: #FAF6F0;
  --cream-deep: #F2EAE0;
  --ink: #1E2A28;
  --ink-soft: #4A5654;
  --white: #FFFFFF;

  /* Typographie */
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;

  /* Rayons & ombres */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 12px 32px -12px rgba(18, 48, 47, 0.18);
  --shadow-lift: 0 20px 48px -16px rgba(18, 48, 47, 0.28);

  /* Layout & animation */
  --container: 1120px;
  --ease: cubic-bezier(.22, .9, .32, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0;
}

p{
  margin: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   3. UTILITAIRES & LAYOUT
   ========================================================================== */

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* Apparition douce au scroll (déclenchée en JS) */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   4. BOUTONS
   Classes génériques réutilisées partout : header, hero, cartes, CTA...
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform .22s var(--ease),
    box-shadow .22s var(--ease),
    background .22s var(--ease),
    color .22s var(--ease);
}
.btn svg{
  width: 16px;
  height: 16px;
  transition: transform .22s var(--ease);
}
.btn:hover svg{
  transform: translateX(3px);
}
.btn[disabled]{
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}
.btn-block{
  width: 100%;
  justify-content: center;
}

/* Variante pleine (corail) - CTA principal du site */
.btn-primary{
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover{
  background: var(--terracotta-dark);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

/* Variante contour (teal) - actions secondaires */
.btn-outline{
  background: transparent;
  border-color: currentColor;
  color: var(--teal);
}
.btn-outline:hover{
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline.on-dark{
  color: var(--white);
}
.btn-outline.on-dark:hover{
  background: var(--white);
  color: var(--teal-deepest);
}

/* Bouton Contact du header - disparaît au scroll (voir section Header) */
.btn-header{
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.site-header{
  position: relative ;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 48, 47, .08);
}

/* Header fixe uniquement sur la page Contact */
.page-contact .site-header{
  position: sticky;
  top: 0;
}

/* Le bouton Contact glisse hors champ dès qu'on scrolle (voir script.js) */
.site-header.is-scrolled .btn-header{
  opacity: 0;
  transform: translateY(70px);
  pointer-events: none;
}

.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-full{
  height: 52px;
  width: auto;
  transition: transform .25s var(--ease);
}
.logo:hover .logo-full{
  transform: scale(1.02);
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav ul{
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a{
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.main-nav a:hover,
.main-nav .current-menu-item a{
  color: var(--teal);
}
.main-nav .current-menu-item a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--terracotta);
}
.nav-toggle{
  display: none;
  background: none;
  border: none;
  color: var(--teal-deepest);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg{
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.hero{
  background: radial-gradient(120% 160% at 15% 0%, var(--teal) 0%, var(--teal-dark) 55%, var(--teal-deepest) 100%);
  color: var(--white);
  padding: 92px 0 110px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(247, 173, 99, .16) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: .5;
  z-index: -1;
}
.hero.hero-compact{
  padding: 68px 0 84px;
}
.hero-inner{
  max-width: 800px;
}
.hero h1{
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  margin-bottom: 22px;
}
.hero p.lede{
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .88);
  max-width: 640px;
  font-weight: 400;
}
.hero .hero-actions{
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}
/* Ajustements du Hero - page d'Accueil uniquement */
.home .hero-inner{
  max-width: 960px;
}
.home .hero h1{
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}
.home .hero p.lede{
  font-size: 1.2rem;
  max-width: 720px;
}

/* ==========================================================================
   7. BANDEAU CHIFFRES CLÉS (Stats)
   ========================================================================== */

.stats{
  background: var(--cream-deep);
  padding: 56px 0;
  margin-top: -54px;
  position: relative;
  z-index: 2;
}
.stats-panel{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat{
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid rgba(18, 48, 47, .08);
}
.stat:last-child{
  border-right: none;
}
.stat-number{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--teal);
  display: block;
  line-height: 1;
}
.stat-number .suffix{
  color: var(--terracotta);
}
.stat-label{
  margin-top: 8px;
  font-size: .84rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ==========================================================================
   8. SECTIONS GÉNÉRIQUES
   ========================================================================== */

.section{
  padding: 92px 0;
}
.section-tight{
  padding: 64px 0;
}
.section-cream{
  background: var(--cream);
}
.section-deep{
  background: var(--teal-deepest);
  color: var(--white);
}

.section-head{
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2{
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 10px;
  color: var(--teal-deepest);
}
.section-head .sub{
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.section-deep .section-head h2,
.section-head.on-dark h2{
  color: var(--white);
}
.section-deep .section-head .sub{
  color: rgba(255, 255, 255, .78);
}

/* ==========================================================================
   9. CARTES "OFFRES" (Vos besoins, nos réponses / Catalogue Formation)
   ========================================================================== */

.offer-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.offer-grid-4{
  grid-template-columns: repeat(2, 1fr);
}
.offer-subtitle{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-soft);
}
.offer-card{
  background: var(--white);
  border: 1px solid rgba(18, 48, 47, .1);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform .3s var(--ease),
    box-shadow .3s var(--ease),
    border-color .3s var(--ease);
}
.offer-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.offer-icon{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-deep);
  color: var(--teal);
}
.offer-icon svg{
  width: 26px;
  height: 26px;
}
.offer-card h3{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-deepest);
}
.offer-card p{
  color: var(--ink-soft);
  font-size: .96rem;
  flex-grow: 1;
}

/* ==========================================================================
   9.5 Bloc "Former vos équipes, accompagner vos projets" (Accueil)
   ========================================================================== */

.section-head-center{
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-head-center h2{
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
}
.text-teal{ color: var(--teal); }
.text-corail{ color: var(--terracotta); }

.dual-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.dual-card{
  text-align: center;
  padding: 8px 16px;
}
.dual-icon{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  background: var(--cream-deep);
  transition: transform .3s var(--ease);
}
.dual-icon svg{
  width: 30px;
  height: 30px;
}
.dual-card:hover .dual-icon{
  transform: scale(1.06);
}
.dual-card-teal .dual-icon{ color: var(--teal); }
.dual-card-corail .dual-icon{ color: var(--terracotta); }

.dual-card h3{
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.dual-card-teal h3{ color: var(--teal); }
.dual-card-corail h3{ color: var(--terracotta); }

.dual-card p{
  color: var(--ink-soft);
  font-size: .96rem;
  max-width: 360px;
  margin: 0 auto 18px;
}

.dual-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .85rem;
  transition: transform .2s var(--ease);
}
.dual-link svg{
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease);
}
.dual-link:hover svg{
  transform: translateX(3px);
}
.dual-card-teal .dual-link{ color: var(--teal); }
.dual-card-corail .dual-link{ color: var(--terracotta); }

/* ==========================================================================
   10. "POURQUOI COMPÉTENCES & SENS" (Reasons)
   ========================================================================== */

.reasons-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.reason{
  padding-top: 6px;
}
.reason .arrow{
  color: var(--terracotta);
  font-size: 1.4rem;
  font-family: var(--font-display);
}
.reason h4{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 10px 0 8px;
  color: var(--teal-deepest);
}
.reason p{
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ==========================================================================
   11. MODALITÉS D'INTERVENTION
   ========================================================================== */

.modalities-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.modality{
  text-align: center;
}
.modality .m-icon{
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.modality .m-icon svg{
  width: 26px;
  height: 26px;
}
.modality h4{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  margin-bottom: 6px;
  color: var(--teal-deepest);
}
.modality p{
  font-size: .88rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   12. CARROUSEL DE TÉMOIGNAGES
   ========================================================================== */

.testimonial-carousel{
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 72px;
  position: relative;
  overflow: hidden;
}
.testimonial-track{
  position: relative;
  min-height: 160px;
}
.testimonial-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease);
}
.testimonial-slide.is-active{
  opacity: 1;
  visibility: visible;
  position: relative;
}
.testimonial-slide .mark{
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: .6;
  color: rgba(255, 255, 255, .4);
  display: block;
  margin-bottom: 10px;
}
.testimonial-slide .quote-text{
  font-size: 1.15rem;
  max-width: 780px;
  white-space: pre-line;
}
.testimonial-slide .attribution{
  margin-top: 20px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
}

.carousel-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s var(--ease), background .2s var(--ease);
}
.testimonial-carousel:hover .carousel-arrow{
  opacity: 1;
}
.carousel-arrow:hover{
  background: rgba(255, 255, 255, .3);
}
.carousel-arrow svg{
  width: 22px;
  height: 22px;
}
.carousel-prev{
  left: 16px;
}
.carousel-next{
  right: 16px;
}

.carousel-dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.carousel-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.carousel-dot.is-active{
  background: var(--white);
  transform: scale(1.3);
}

/* ==========================================================================
   13. BANDEAU CTA (fin de page)
   ========================================================================== */

.cta-banner{
  text-align: center;
}
.cta-banner h2{
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--teal-deepest);
}
.cta-banner .sub{
  margin: 16px auto 30px;
  max-width: 560px;
  color: var(--ink-soft);
}

/* Variante dégradée (utilisée sur la page Projet Prestations) */
.quote-cta{
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
}
.quote-cta .eyebrow{
  color: var(--amber);
}
.quote-cta h3{
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin: 12px 0 10px;
}
.quote-cta p{
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  margin: 0 auto 24px;
}

/* ==========================================================================
   14. BLOCS " Prestation" (timeline, checklists, panneaux)
   ========================================================================== */

.timeline{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: phase;
}
.phase{
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  border-top: 4px solid var(--amber);
  position: relative;
}
.phase .phase-index{
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--terracotta);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.phase .phase-duration{
  font-weight: 700;
  font-size: .82rem;
  color: var(--teal-deepest);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.phase p{
  margin-top: 10px;
  font-size: .9rem;
  color: var(--ink-soft);
}

.checklist li{
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .96rem;
  color: var(--ink-soft);
  align-items: flex-start;
}
.checklist li svg{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--terracotta);
  margin-top: 2px;
}

.side-panel{
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 32px;
}
.side-panel h3{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-deepest);
  margin-bottom: 18px;
}

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.two-col-uneven{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer{
  background: var(--teal-deepest);
  color: rgba(255, 255, 255, .82);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-logo{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-icon{
  width: 40px;
  height: 40px;
}
.footer-wordmark{
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white);
  letter-spacing: .01em;
}
.footer-wordmark .amp{
  color: var(--amber);
}
.footer-brand p{
  margin-top: 14px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .62);
}
.footer-col h5{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col li,
.footer-col span{
  display: block;
  font-size: .9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .78);
}
.footer-col a:hover{
  color: var(--white);
}
.footer-bottom{
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 46px;
  padding-top: 22px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  text-align: center;
}

/* ==========================================================================
   16. FORMULAIRE DE CONTACT
   ========================================================================== */

.contact-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  align-items: start;
}
.form-card{
  background: var(--white);
}
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label{
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal-deepest);
}
.field input,
.field select,
.field textarea{
  font-family: var(--font-body);
  font-size: .94rem;
  padding: 13px 15px;
  border: 1.5px solid rgba(18, 48, 47, .16);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(38, 116, 116, .12);
  outline: none;
}
.field textarea{
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-feedback{
  margin-top: 16px;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}
.form-feedback.success{
  color: var(--teal);
}
.form-feedback.error{
  color: var(--terracotta-dark);
}

.contact-card{
  margin-bottom: 22px;
}
.contact-item{
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-item:last-child{
  margin-bottom: 0;
}
.contact-item .c-icon{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .c-icon svg{
  width: 20px;
  height: 20px;
}
.contact-item h4{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  color: var(--teal-deepest);
  margin-bottom: 3px;
}
.contact-item p{
  font-size: .9rem;
  color: var(--ink-soft);
}

.legal-note{
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-note strong{
  color: var(--teal-deepest);
}

/* ==========================================================================
   17. MODALE - Détail formation
   ========================================================================== */

.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(18, 48, 47, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease);
}
.modal-overlay.is-open{
  opacity: 1;
  visibility: visible;
}
.modal-box{
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform .25s var(--ease);
}
.modal-overlay.is-open .modal-box{
  transform: translateY(0);
}
.modal-close{
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--cream-deep);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease);
}
.modal-close:hover{
  background: var(--cream);
}
.modal-close svg{
  width: 18px;
  height: 18px;
}
.modal-box h3{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal-deepest);
  padding-right: 40px;
  margin-bottom: 16px;
}
.modal-meta{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(18, 48, 47, .1);
}
.modal-meta strong{
  color: var(--teal-deepest);
}
.modal-text{
  font-size: .96rem;
  color: var(--ink-soft);
  white-space: pre-line;
  margin-bottom: 28px;
}

/* ==========================================================================
   18. RESPONSIVE (≤ 920px)
   ========================================================================== */

@media (max-width: 920px){
  .stats-panel{
    grid-template-columns: 1fr;
  }
  .stat{
    border-right: none;
    border-bottom: 1px solid rgba(18, 48, 47, .08);
  }
  .stat:last-child{
    border-bottom: none;
  }
  .offer-grid,
  .reasons-grid,
  .modalities-grid,
  .timeline,
  .dual-grid{
  grid-template-columns: 1fr;
  }
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .two-col,
  .two-col-uneven,
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .field-row{
    grid-template-columns: 1fr;
  }
 .nav-toggle{
  display: flex;
}
.main-nav{
  display: none;
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(18, 48, 47, .08);
  box-shadow: var(--shadow-soft);
  padding: 12px 32px 24px;
}
.main-nav.is-open{
  display: block;
}
.main-nav ul{
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.main-nav a{
  display: block;
  width: 100%;
  padding: 12px 0;
}
}