/* ======================
   Design Tokens
   ====================== */
   :root{
    /* 4-colors only (with shades permitted) */
    --color-bg: #FFFFFF;        /* surface */
    --color-bg-weak: #F9FAFB;   /* light section bg */
    --color-text: #111827;      /* gray-900 */
    --color-muted: #6B7280;     /* gray-500 */
    --color-primary: #16A34A;   /* green (emerald-ish) */
    --color-accent: #0EA5E9;    /* sky-500 (optional accent) */
  
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 8px;
  
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  
    --container-max: 1200px;
    --gutter: 20px;
  
    /* Typography scales via clamp for small laptops */
    --fs-14: clamp(13px, 1.1vw, 14px);
    --fs-16: clamp(14px, 1.2vw, 16px);
    --fs-18: clamp(16px, 1.4vw, 18px);
    --fs-20: clamp(18px, 1.6vw, 20px);
  }
  
  *{box-sizing:border-box}
  html,body{height:100%}
  html:focus-within{scroll-behavior:smooth}
  body{
    margin:0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color:var(--color-text);
    background:var(--color-bg);
    line-height:1.5;
  }
  
  /* Utility */
  .container{
    max-width:var(--container-max);
    margin-inline:auto;
    padding-inline:var(--gutter);
  }
  
  /* ======================
     Header / Navigation
     ====================== */
  .site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:var(--color-bg);
    border-bottom:1px solid #e5e7eb; /* gray-200 */
    box-shadow:0 0 0 rgba(0,0,0,0);
    transition: box-shadow .25s ease;
  }
  .site-header.scrolled{
    box-shadow: var(--shadow-sm);
  }
  
  .header-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:64px;
    gap:16px;
  }
  
  /* Brand */
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:inherit;
    white-space:nowrap;
  }
  .brand-logo{
    display:inline-grid;
    place-items:center;
    width:36px; height:36px;
    border-radius:8px;
    background:linear-gradient(135deg, var(--color-primary), #22C55E);
    color:#fff;
    font-weight:700;
  }
  .brand-text{
    font-weight:700;
    letter-spacing:.2px;
  }
  
  /* Desktop Nav */
  .desktop-nav{ display:none; }
  @media (min-width: 1024px){
    .desktop-nav{ display:block; }
  }
  .nav-list{
    display:flex;
    align-items:center;
    gap:24px;
    margin:0;
    padding:0;
    list-style:none;
    /* Prevent wrapping/stacking on laptops; we switch to mobile <1024px */
    white-space:nowrap;
  }
  .nav-link{
    position:relative;
    display:inline-block;
    font-size:var(--fs-16);
    text-decoration:none;
    color:var(--color-text);
    padding:8px 2px;
    transition: color .2s ease;
  }
  .nav-link:focus,
  .nav-link:hover{
    color:var(--color-primary);
  }
  .nav-link::after{
    content:"";
    position:absolute;
    left:0; bottom:2px;
    width:100%; height:2px;
    background:var(--color-primary);
    transform: scaleX(0);
    transform-origin:left;
    transition: transform .2s ease;
  }
  .nav-link:hover::after,
  .nav-link:focus::after{ transform: scaleX(1); }
  
  /* Language Switcher */
  .lang-switch{
    display:none;
    gap:10px;
    align-items:center;
  }
  @media (min-width: 1024px){
    .lang-switch{ display:flex; }
  }
  .lang-link{
    font-size:var(--fs-14);
    text-decoration:none;
    color:var(--color-muted);
    padding:6px 8px;
    border-radius:8px;
    border:1px solid transparent;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
  }
  .lang-link:hover,
  .lang-link:focus{
    color:var(--color-text);
    border-color:#e5e7eb;
    background:var(--color-bg-weak);
  }
  .lang-link.is-active{
    color:#fff;
    background:var(--color-primary);
    border-color:var(--color-primary);
  }
  
  /* Mobile Controls: MENU + Hamburger on right */
  .mobile-controls{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto; /* push to right */
  }
  .menu-label{
    display:inline-block;
    font-size:var(--fs-14);
    color:var(--color-muted);
    letter-spacing:.6px;
  }
  .nav-toggle{
    appearance:none;
    border:none;
    background:transparent;
    width:42px; height:42px;
    display:inline-grid; place-items:center;
    border-radius:10px;
    cursor:pointer;
    transition: background .2s ease, transform .12s ease;
  }
  .nav-toggle:hover{ background: var(--color-bg-weak); }
  .nav-toggle:active{ transform: scale(.98); }
  .nav-toggle-bar{
    display:block;
    width:22px; height:2px;
    background:var(--color-text);
    border-radius:2px;
    position:relative;
  }
  .nav-toggle-bar + .nav-toggle-bar{ margin-top:5px; }
  @media (min-width: 1024px){
    .mobile-controls{ display:none; }
  }
  
  /* Mobile Nav (Off-Canvas) */
  .mobile-nav[hidden]{ display:none; }
  .mobile-nav{
    position:fixed;
    inset:0;
    z-index:1100;
  }
  .mobile-backdrop{
    position:absolute;
    inset:0;
    background:transparent;
    border:0;
    margin:0;
    padding:0;
    cursor:default;
    opacity:0;
    transition: opacity .2s ease;
  }
  .mobile-nav.is-open .mobile-backdrop{ opacity:0; }
  
  .mobile-nav-panel{
    position:absolute;
    top:0; right:0; bottom:0;
    width:min(92vw, 380px);
    background:var(--color-bg);
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    transition: transform .25s ease;
    display:flex;
    flex-direction:column;
  }
  .mobile-nav.is-open .mobile-nav-panel{
    transform: translateX(0%);
  }
  
  /* Mobile panel header with Close (×) */
  .mobile-nav-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px;
    border-bottom:1px solid #e5e7eb;
  }
  .mobile-nav-title{
    margin:0;
    font-size:var(--fs-18);
  }
  .mobile-close{
    appearance:none;
    border:1px solid #e5e7eb;
    background:transparent;
    border-radius:10px;
    width:40px; height:40px;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    transition: background .2s ease, transform .12s ease;
  }
  .mobile-close:hover{ background:var(--color-bg-weak); }
  .mobile-close:active{ transform: scale(.98); }
  
  .mobile-nav-list{
    list-style:none;
    margin:0; padding:8px 16px 16px;
    display:flex; flex-direction:column; gap:4px;
  }
  .mobile-link{
    display:block;
    padding:12px 10px;
    border-radius:10px;
    text-decoration:none;
    color:var(--color-text);
    font-size:var(--fs-16);
    transition: background .2s ease, color .2s ease;
  }
  .mobile-link:hover,
  .mobile-link:focus{
    background:var(--color-bg-weak);
    color:var(--color-primary);
  }
  
  .mobile-lang{
    margin-top:auto;
    padding:16px;
    border-top:1px solid #e5e7eb;
    display:flex; gap:8px;
  }
  .mobile-lang-link{
    flex:0 0 auto;
    display:inline-block;
    padding:8px 12px;
    border-radius:10px;
    border:1px solid #e5e7eb;
    text-decoration:none;
    color:var(--color-muted);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .mobile-lang-link:hover,
  .mobile-lang-link:focus{
    color:var(--color-text);
    background:var(--color-bg-weak);
  }
  .mobile-lang-link.is-active{
    color:#fff;
    background:var(--color-primary);
    border-color:var(--color-primary);
  }
  
  /* Body lock when mobile nav open */
  body.nav-open{
    overflow:hidden;
  }
  
  /* Focus outlines for a11y */
  :where(a, button):focus{
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
  

/* ======================
   Hero / Intro
   ====================== */
.hero{
  position: relative;
  min-height: clamp(68vh, 72vh, 84vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-bg{
  position:absolute;
  inset:0;
  background-image: url("pictures/intro.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  will-change: transform;
}

.hero-overlay{
  position:absolute;
  inset:0;
  /* Gentle gradient overlay to boost contrast */
  background:
    linear-gradient(
      to bottom,
      rgba(17,24,39,0.45) 0%,
      rgba(17,24,39,0.30) 45%,
      rgba(17,24,39,0.35) 100%
    );
  pointer-events:none;
}

.hero-inner{
  position:relative;
  padding-block: clamp(72px, 12vh, 140px);
  display:grid;
  align-items:center;
}

.hero-content{
  max-width: min(820px, 90%);
  /* A subtle frosted layer to add depth under the text */
  backdrop-filter: saturate(1.1) blur(0.5px);
}

.hero-title{
  margin:0 0 10px 0;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 6vw, 58px);
  color: #fff;

  /* Depth: layered shadows that stay subtle and crisp */
  text-shadow:
    0 1px 0 rgba(0,0,0,0.35),
    0 6px 18px rgba(0,0,0,0.45);
}

.hero-motto{
  margin: 0;
  color: #E5E7EB; /* gray-200 */
  font-size: clamp(16px, 2.3vw, 22px);
  line-height: 1.5;
  /* Slight inner glow/edge to lift the motto from the bg */
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

/* Optional: add a soft tinted underline accent under parts of the title if desired */
/* .hero-title .accent{ background: linear-gradient(transparent 70%, rgba(22,163,74,.35) 70%); } */

/* Reveal animations (used site-wide) */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: .05s;
}
.reveal.reveal-in{
  opacity: 1;
  transform: translateY(0);
}

/* Small laptop & desktop tweaks */
@media (min-width: 768px){
  .hero-content{ max-width: 860px; }
}



/* ======================
   About (Short)
   ====================== */
.about{
  position: relative;
  padding-block: clamp(48px, 9vw, 96px);
  background: var(--color-bg);
  border-top: 1px solid #eef2f7;
}

.about-grid{
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px){
  .about-grid{
    grid-template-columns: 1.1fr .9fr; /* text : image */
    gap: 40px;
  }
}

.about-head{
  display: grid;
  gap: 14px;
}

.about-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.about-text{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
  line-height: 1.7;
}

.about-highlights{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 8px 0 0 0;
  list-style: none;
}

.about-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  background: var(--color-bg-weak);
  color: var(--color-text);
  font-size: var(--fs-14);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.about-chip::before{
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}

.about-media{
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: var(--shadow-sm);
}
.about-media img{
  display: block;
  width: 100%;
  height: auto;
}


/* ======================
   CTA Section
   ====================== */
.cta{
  background: var(--color-primary);
  color: #fff;
  padding-block: clamp(60px, 10vw, 100px);
  text-align: center;
}

.cta-inner{
  display: grid;
  gap: 18px;
  justify-items: center;
  max-width: 700px;
}

.cta-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.cta-text{
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.6;
  color: #f9fafb;
}

.cta-btn{
  display: inline-block;
  padding: 14px 28px;
  font-size: var(--fs-16);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #fff;
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.cta-btn:hover,
.cta-btn:focus{
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.cta-btn:active{
  transform: translateY(0);
}


/* ======================
   Our Programs (Home Preview)
   ====================== */
.Programs{
  padding-block: clamp(52px, 9vw, 96px);
  background: var(--color-bg);
  border-top: 1px solid #eef2f7;
}

.Programs-head{
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
  text-align: center; /* ✅ center heading + subtitle */
}
.Programs-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.Programs-sub{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
  line-height: 1.6;
}

/* Grid layout */
.Programs-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px){
  .Programs-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .Programs-grid{ grid-template-columns: repeat(5, 1fr); } /* ✅ all 5 in one row */
}

/* Card as an anchor for whole clickable area */
.prod-card{
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prod-card:hover,
.prod-card:focus{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22,163,74,.35); /* primary tint */
}

/* Media area */
.prod-media{
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-weak);
}
.prod-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text content */
.prod-body{
  padding: 12px 14px 16px;
  display: grid;
  gap: 6px;
}
.prod-title{
  margin: 0;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  line-height: 1.2;
}
.prod-text{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-14);
  line-height: 1.6;
}


/* ======================
   Our Values
   ====================== */
.values{
  padding-block: clamp(52px, 9vw, 96px);
  background: var(--color-bg-weak);
  border-top: 1px solid #e5e7eb;
}

.values-head{
  text-align: center;
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}
.values-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}
.values-sub{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
}

.values-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px){
  .values-grid{ grid-template-columns: repeat(3, 1fr); }
}

.value-card{
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.value-card:hover,
.value-card:focus-within{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-title{
  margin: 0 0 8px 0;
  font-size: clamp(18px, 2.5vw, 20px);
  font-weight: 600;
}
.value-text{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-14);
  line-height: 1.6;
}

/* ======================
   Final CTA (Alt Style)
   ====================== */
.cta-alt{
  background: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(60px, 10vw, 100px);
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.cta-alt-inner{
  display: grid;
  gap: 18px;
  justify-items: center;
  max-width: 700px;
}

.cta-alt-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

.cta-alt-text{
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--color-muted);
}

.cta-alt-btn{
  display: inline-block;
  padding: 14px 28px;
  font-size: var(--fs-16);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.cta-alt-btn:hover,
.cta-alt-btn:focus{
  background: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
}
.cta-alt-btn:active{
  transform: translateY(0);
}

/* ======================
   Footer
   ====================== */
.site-footer{
  background: var(--color-bg);
  border-top: 1px solid #e5e7eb;
  margin-top: 0;
}

.footer-grid{
  display: grid;
  gap: 28px;
  padding-block: clamp(36px, 6vw, 60px);
}
@media (min-width: 900px){
  .footer-grid{
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-block{ min-width: 0; }

.footer-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
}
.footer-about{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-14);
  line-height: 1.7;
}

.footer-title{
  margin: 0 0 10px 0;
  font-size: var(--fs-16);
  font-weight: 700;
}
.footer-title-spaced{ margin-top: 18px; }

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-links a{
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--fs-14);
  padding: 4px 0;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.footer-links a:hover,
.footer-links a:focus{
  color: var(--color-primary);
  background: var(--color-bg-weak);
}

.footer-lang{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-lang .lang-link{
  font-size: var(--fs-14);
  text-decoration: none;
  color: var(--color-muted);
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.footer-lang .lang-link:hover,
.footer-lang .lang-link:focus{
  color: var(--color-text);
  border-color: #e5e7eb;
  background: var(--color-bg-weak);
}
.footer-lang .lang-link.is-active{
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-contact{
  margin: 0 0 8px 0;
  font-style: normal;
}
.footer-contact a{
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px dashed rgba(17,24,39,.2);
}
.footer-contact a:hover,
.footer-contact a:focus{
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.back-to-top{
  display: inline-block;
  margin-top: 6px;
  font-size: var(--fs-14);
  text-decoration: none;
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .2s ease, transform .15s ease;
}
.back-to-top:hover,
.back-to-top:focus{
  background: var(--color-bg-weak);
  transform: translateY(-1px);
}

.footer-legal{
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.footer-legal-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
}
.copyright{
  margin: 0;
  font-size: var(--fs-14);
  color: var(--color-muted);
}


/* ======================
   Programs Page
   ====================== */

/* Hero */
.Programs-hero{
  background: var(--color-bg);
  border-bottom: 1px solid #eef2f7;
}
.Programs-hero-inner{
  padding-block: clamp(36px, 7vw, 64px);
  text-align: center;
}
.Programs-hero-title{
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.Programs-hero-sub{
  margin: 8px 0 0 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
}

/* TOC (chips) */
.Programs-toc{
  background: var(--color-bg);
}
.toc-row{
  display: flex;
  gap: 10px;
  padding-block: 12px;
  overflow-x: auto; /* mobile-friendly scroll */
  -webkit-overflow-scrolling: touch;
}
.toc-chip{
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-weak);
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: var(--fs-14);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}
.toc-chip:hover,
.toc-chip:focus{
  background: #fff;
  color: var(--color-primary);
  border-color: rgba(22,163,74,.35);
  transform: translateY(-1px);
}

/* Product sections */
.product-section{
  padding-block: clamp(40px, 9vw, 90px);
  background: var(--color-bg);
  border-top: 1px solid #eef2f7;
  scroll-margin-top: 90px; /* offset for sticky header when using anchors */
}

.product-grid{
  display: grid;
  gap: 20px;
}
@media (min-width: 900px){
  .product-grid{
    grid-template-columns: 1.1fr .9fr; /* image | content */
    gap: 36px;
    align-items: center;
  }
  .product-grid.alt{
    grid-template-columns: .9fr 1.1fr; /* content | image (flip visually) */
  }
  .product-grid.alt .product-media{ order: 2; }
  .product-grid.alt .product-body{ order: 1; }
}

.product-media{
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: var(--color-bg-weak);
  box-shadow: var(--shadow-sm);
}
.product-media img{
  display: block;
  width: 100%;
  height: auto;
}

.product-body{ display: grid; gap: 10px; }
.product-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.15;
}
.product-desc{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
  line-height: 1.6;
}

/* Feature list with "check" bullets (pure CSS) */
.feature-list{
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: grid;
  gap: 8px;
}
.feature-list li{
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-14);
  line-height: 1.6;
}
.feature-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  background:
    linear-gradient(135deg, rgba(22,163,74,.18), rgba(22,163,74,.05));
}
.feature-list li::after{
  /* tiny check mark */
  content: "";
  position: absolute;
  left: 6px; top: 11px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

.product-back{
  margin-top: 6px;
  display: inline-block;
  font-size: var(--fs-14);
  color: var(--color-primary);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .2s ease, transform .12s ease;
}
.product-back:hover,
.product-back:focus{
  background: var(--color-bg-weak);
  transform: translateY(-1px);
}

/* ======================
   Values Page
   ====================== */

/* Page hero */
.values-hero{
  background: var(--color-bg);
  border-bottom: 1px solid #eef2f7;
}
.values-hero-inner{
  padding-block: clamp(36px, 7vw, 64px);
  text-align: center;
}
.values-hero-title{
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.values-hero-sub{
  margin: 8px 0 0 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
}

/* TOC chips */
.values-toc{
  background: var(--color-bg);
}
.values-toc-row{
  display: flex;
  gap: 10px;
  padding-block: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.values-toc .toc-chip{
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-weak);
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: var(--fs-14);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}
.values-toc .toc-chip:hover,
.values-toc .toc-chip:focus{
  background: #fff;
  color: var(--color-primary);
  border-color: rgba(22,163,74,.35);
  transform: translateY(-1px);
}

/* Value sections */
.value-section{
  padding-block: clamp(40px, 9vw, 90px);
  background: var(--color-bg);
  border-top: 1px solid #eef2f7;
  scroll-margin-top: 90px; /* for sticky header */
}

.value-grid{
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px){
  .value-grid{
    grid-template-columns: 1.1fr .9fr; /* text | image */
    gap: 36px;
  }
  .value-grid.alt{
    grid-template-columns: .9fr 1.1fr; /* image | text (flip) */
  }
  .value-grid.alt .value-body{ order: 2; }
  .value-grid.alt .value-media{ order: 1; }
}

.value-body{ display: grid; gap: 10px; }
.value-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.15;
}
.value-desc{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
  line-height: 1.6;
}

/* Principles list with subtle markers */
.principles{
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: grid;
  gap: 8px;
}
.principles li{
  position: relative;
  padding-left: 24px;
  font-size: var(--fs-14);
  line-height: 1.6;
}
.principles li::before{
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}

/* Media block */
.value-media{
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: var(--color-bg-weak);
  box-shadow: var(--shadow-sm);
}
.value-media img{
  display: block;
  width: 100%;
  height: auto;
}


/* ======================
   Contact Page
   ====================== */

/* Page hero */
.contact-hero{
  background: var(--color-bg);
  border-bottom: 1px solid #eef2f7;
}
.contact-hero-inner{
  padding-block: clamp(36px, 7vw, 64px);
  text-align: center;
}
.contact-title{
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.contact-sub{
  margin: 8px 0 0 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
}

/* Section */
.contact-section{
  padding-block: clamp(40px, 9vw, 90px);
  background: var(--color-bg);
}
.contact-grid{
  display: grid;
  gap: 24px;
}
@media (min-width: 900px){
  .contact-grid{
    grid-template-columns: .9fr 1.1fr; /* lead | form */
    gap: 36px;
    align-items: start;
  }
}

.contact-lead{ display: grid; gap: 8px; }
.contact-heading{
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
}
.contact-text{
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
}

/* Form */
.contact-form{
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
}
.form-row{
  display: grid;
  gap: 6px;
}
.contact-form label{
  font-size: var(--fs-14);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: var(--fs-16);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea{ resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}

/* Validation hints */
.form-row.error input,
.form-row.error textarea{
  border-color: #ef4444; /* red-500 */
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.form-row .hint{
  color: #ef4444;
  font-size: var(--fs-14);
  margin-top: 2px;
}

/* Status and actions */
.form-status{
  min-height: 22px; /* reserve space to avoid layout shift */
  font-size: var(--fs-14);
  color: var(--color-muted);
}
.form-actions{ margin-top: 4px; }

.btn-primary{
  display: inline-block;
  padding: 12px 20px;
  font-size: var(--fs-16);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .15s ease;
}
.btn-primary:hover,
.btn-primary:focus{
  background: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
}
.btn-primary:active{ transform: translateY(0); }


/* ======================
   Terms Page
   ====================== */
.terms-hero{
  background: var(--color-bg);
  border-bottom: 1px solid #eef2f7;
}
.terms-hero-inner{
  padding-block: clamp(36px, 7vw, 64px);
  text-align: center;
}
.terms-title{
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
}
.terms-sub{
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: var(--fs-16);
}

.terms-content{
  padding-block: clamp(40px, 9vw, 90px);
}
.terms-list{
  display: grid;
  gap: 28px;
  counter-reset: term-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}
.terms-list > li{
  counter-increment: term-counter;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.terms-list > li h2{
  margin-top: 0;
  font-size: clamp(18px, 2.5vw, 22px);
}
.terms-list > li h3{
  margin: 14px 0 6px;
  font-size: var(--fs-16);
  font-weight: 600;
}
.terms-list > li p{
  margin: 0 0 10px 0;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--color-text);
}


/* --- Mobile menu safety overrides --- */
.mobile-backdrop { display: none !important; } /* remove any click-catching overlay */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9999;            /* above header and everything else */
}

.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(92vw, 380px);
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  z-index: 10000;           /* ensure panel itself is the topmost clickable thing */
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0%);
}


/* --- Mobile menu safety overrides --- */
.mobile-backdrop { display: none !important; } /* remove any click-catching overlay */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9999;            /* above header and everything else */
}

.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(92vw, 380px);
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  z-index: 10000;           /* ensure panel itself is the topmost clickable thing */
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0%);
}
