:root{
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted:#5a5a5f;
  --brand:#1f7a53;      /* primary green */
  --brand-2:#0f5a3a;    /* darker green */
  --card:#f6f7f8;
  --line:#e8eaed;
  --radius:18px;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:var(--font);
  color:var(--text); background:var(--bg);
  line-height:1.55;
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.9}
img{max-width:100%; height:auto}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px}
.brand svg{width:34px; height:34px}
.nav-links{display:flex; align-items:center; gap:18px}
.nav-links a{font-weight:600; color:var(--muted)}
.nav-links a.active{color:var(--text)}
.nav-cta{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--line); background:#fff; font-weight:700;
}
.btn.primary{background:var(--brand); color:#fff; border-color:transparent}
.btn.ghost{background:transparent}
.burger{display:none; border:1px solid var(--line); background:#fff; border-radius:12px; padding:10px}
.burger span{display:block; width:20px; height:2px; background:var(--text); margin:4px 0}

.hero{
  position:relative;
  overflow:hidden;
  padding:72px 0 38px;
}
.hero-bg{
  position:absolute; inset:-60px -80px auto auto;
  width:520px; height:520px; opacity:.16; transform:rotate(8deg);
  pointer-events:none;
}
.hero-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:34px; align-items:center}
.kicker{color:var(--brand); font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size:.78rem}
.h1{font-size:clamp(2rem, 4vw, 3.2rem); line-height:1.12; margin:.4rem 0 1rem}
.lead{color:var(--muted); font-size:1.05rem; max-width:55ch}
.hero-card{
  background:linear-gradient(180deg, rgba(31,122,83,.08), rgba(31,122,83,.03));
  border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow);
}
.hero-card h3{margin:0 0 8px}
.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.pill{padding:8px 12px; border-radius:999px; background:#fff; border:1px solid var(--line); font-weight:700; color:var(--muted); font-size:.9rem}

.section{padding:54px 0}
.section h2{font-size:1.9rem; margin:0 0 10px}
.section p.section-lead{color:var(--muted); margin:0 0 22px; max-width:75ch}
.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:18px}
.card{
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); padding:18px;
}
.card .icon{
  width:46px; height:46px; border-radius:14px;
  background:#fff; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:12px;
}
.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted)}
.split{
  display:grid; grid-template-columns: 1fr 1fr; gap:22px; align-items:start
}
.quote{
  border-left:4px solid var(--brand);
  padding:16px 16px 16px 14px;
  background:rgba(31,122,83,.06);
  border-radius:14px;
  color:var(--muted);
}
.services{
  display:grid; grid-template-columns:repeat(2,1fr); gap:18px
}
.service{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:18px; box-shadow:0 6px 16px rgba(0,0,0,.05);
}
.service .top{display:flex; gap:12px; align-items:flex-start}
.service .top svg{width:34px; height:34px; flex:0 0 auto}
.service h3{margin:0 0 6px}
.service p{margin:0; color:var(--muted)}
.service .meta{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}
.tag{font-size:.85rem; font-weight:800; color:var(--brand-2); background:rgba(31,122,83,.10); padding:6px 10px; border-radius:999px}
.form{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px
}
label{display:block; font-weight:800; margin:12px 0 6px}
input, textarea, select{
  width:100%; padding:12px 12px;
  border:1px solid var(--line); border-radius:14px;
  font:inherit; outline:none;
}
input:focus, textarea:focus{border-color:rgba(31,122,83,.55); box-shadow:0 0 0 4px rgba(31,122,83,.10)}
textarea{min-height:120px; resize:vertical}
.footer{
  border-top:1px solid var(--line);
  padding:28px 0; color:var(--muted);
}
.footer-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:18px; align-items:start}
.small{font-size:.92rem}
.hr{height:1px; background:var(--line); margin:18px 0}
.notice{font-size:.9rem; color:var(--muted)}

.blog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.post{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden;
}
.post .cover{height:160px; background:#fff; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:center}
.post .body{padding:14px}
.post .meta{font-size:.85rem; color:var(--muted); font-weight:700}
.post h3{margin:8px 0 8px}
.post p{margin:0; color:var(--muted)}
.post a{display:inline-flex; margin-top:10px; font-weight:900; color:var(--brand-2)}

.lang-switch{display:inline-flex; gap:8px; align-items:center}
.lang-switch a{padding:8px 10px; border:1px solid var(--line); border-radius:999px; font-weight:900; color:var(--muted)}
.lang-switch a.current{background:rgba(31,122,83,.10); color:var(--brand-2); border-color:rgba(31,122,83,.22)}

@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .services{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .blog-grid{grid-template-columns:1fr}
  .nav-links{display:none}
  .burger{display:inline-block}
  .nav.open .nav-links{
    display:flex; flex-direction:column; gap:12px;
    position:absolute; left:0; right:0; top:64px;
    padding:16px 20px; background:#fff; border-bottom:1px solid var(--line)
  }
}

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

/* Fix: constrain service icons (SVG files used via <img> default to 300x150) */
.service .top img{width:34px; height:34px; flex:0 0 auto}


/* BMI */
.bmi-wrap{display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start}
.bmi-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:0 6px 16px rgba(0,0,0,.05)}
.bmi-result{margin-top:14px; padding:14px; border-radius:16px; border:1px solid var(--line); background:var(--card)}
.badge{display:inline-flex; padding:6px 10px; border-radius:999px; font-weight:900; font-size:.85rem}
.badge.blue{background:rgba(59,130,246,.12); color:#1d4ed8}
.badge.green{background:rgba(34,197,94,.12); color:#166534}
.badge.orange{background:rgba(245,158,11,.14); color:#92400e}
.badge.red{background:rgba(239,68,68,.14); color:#991b1b}
.kcal{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px}
.kcal .box{background:#fff; border:1px solid var(--line); border-radius:16px; padding:12px}
@media (max-width: 900px){ .bmi-wrap{grid-template-columns:1fr} }

/* Responsive media tweaks */
.hero-card img{max-height:240px; object-fit:cover}
@media (max-width: 900px){ .hero-card img{max-height:220px} }

/* ✅ PNG logo sizing (updated) */
.brand img{
  display:block;
  width:100px;     /* adjust as needed */
  height:auto;
  max-width:none; /* avoid being constrained */
}


/* GDPR cookie consent banner */
.cookie-banner{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9999;
  background:rgba(20,20,20,.95);
  color:#fff;
  padding:14px 16px;
  box-shadow:0 -10px 30px rgba(0,0,0,.25);
}
.cookie-banner__inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.cookie-banner__text{
  font-size:14px;
  line-height:1.45;
  opacity:.95;
}
.cookie-banner__actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.cookie-link{
  color:#fff;
  text-decoration:underline;
}
.cookie-btn{
  appearance:none;
  border:0;
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  line-height:1;
}
.cookie-btn--accept{
  background:#1f7a53;
  color:#fff;
}
.cookie-btn--decline{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
}
.cookie-btn:focus{
  outline:2px solid rgba(255,255,255,.75);
  outline-offset:2px;
}
@media (max-width:520px){
  .cookie-banner__actions{ width:100%; justify-content:flex-end; }
}


/* Stronger active state (nav) */
.nav-links a.active{
  color: var(--brand-2);
  background: rgba(31,122,83,.14);
  border: 1px solid rgba(31,122,83,.22);
  box-shadow: 0 6px 16px rgba(31,122,83,.10);
  padding:8px 12px;
  border-radius:999px;
}

/* Stronger active state (language switch) */
.lang-switch a.current{
  background: rgba(31,122,83,.14);
  color: var(--brand-2);
  border-color: rgba(31,122,83,.28);
  box-shadow: 0 6px 16px rgba(31,122,83,.10);
}


/* About page illustration */
.about-illus{
  width:100%;
  height:auto;
  max-height:220px;
  object-fit:contain;
  margin:10px 0 6px;
  border-radius:16px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(31,122,83,.08), rgba(31,122,83,.03));
  padding:12px;
}
@media (max-width:900px){
  .about-illus{ max-height:200px; }
}
