/* My Vita Greens — custom design (2026) */
:root {
  --green-900: #16301b;
  --green-800: #1e4425;
  --green-700: #2a5e33;
  --green-600: #337a3e;
  --green-500: #3f9a4d;
  --green-100: #e4f2e5;
  --green-50:  #f2f8f1;
  --lime:      #8bc34a;
  --ink:       #22301f;
  --muted:     #5d6b58;
  --bg:        #fbfcf9;
  --card:      #ffffff;
  --line:      #e2e8dd;
  --radius:    14px;
  --shadow:    0 2px 12px rgba(30, 68, 37, .08);
  --shadow-lg: 0 10px 30px rgba(30, 68, 37, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.7; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-800); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo img { width: 174px; height: 53px; object-fit: contain; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 10px 14px; color: var(--ink);
  font-weight: 500; font-size: 15.5px; border-radius: 8px;
}
.nav a:hover, .nav li.active > a { background: var(--green-50); color: var(--green-700); }
.nav li { position: relative; }
.nav li.has-sub > a::after { content: "▾"; font-size: 10px; margin-left: 6px; opacity: .55; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px; flex-direction: column; gap: 0;
  align-items: stretch;
}
.nav .sub li { width: 100%; }
.nav .sub a { text-align: left; white-space: nowrap; }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: flex; }
.lang-switch {
  display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  margin-left: 8px;
}
.lang-switch a {
  padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.lang-switch a.on { background: var(--green-700); color: #fff; }
.burger {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; flex: none;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--green-50) 0%, var(--green-100) 60%, #dff0dd 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero.no-img .wrap { grid-template-columns: 1fr; max-width: 860px; text-align: left; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600); background: #fff; border: 1px solid var(--line);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.14; color: var(--green-900); letter-spacing: -.01em; }
.hero .sub { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 56ch; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .art img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.btn {
  display: inline-block; background: var(--green-700); color: #fff !important;
  font-weight: 600; font-size: 16px; padding: 13px 28px; border-radius: 999px;
  border: 0; cursor: pointer; transition: .18s; box-shadow: var(--shadow);
}
.btn:hover { background: var(--green-800); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--green-700) !important; border: 1.5px solid var(--green-600); }
.btn.ghost:hover { background: var(--green-50); }

/* ---------- sections ---------- */
section.band { padding: 72px 0; }
section.band.tint { background: var(--green-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--green-900); line-height: 1.25; }
.sec-head p.lead { margin-top: 14px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--green-100);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 19px; color: var(--green-900); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split h2 { font-size: clamp(24px, 3vw, 34px); color: var(--green-900); margin-bottom: 16px; line-height: 1.25; }
.split p { color: var(--muted); }
.split .btn { margin-top: 22px; }

/* species grid */
.species { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sp-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column;
}
.sp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sp-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.sp-card .pad { padding: 18px 20px 22px; }
.sp-card h3 { font-size: 17px; color: var(--green-900); line-height: 1.35; }
.sp-card .more { font-size: 14px; font-weight: 600; margin-top: 8px; display: inline-block; }
.sp-card time { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; color: var(--green-900);
  padding: 18px 22px; position: relative; padding-right: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--green-600); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; text-align: center; padding: 64px 22px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-band p { opacity: .85; margin-top: 10px; }
.cta-band .btn { background: #fff; color: var(--green-800) !important; margin-top: 26px; }
.cta-band .btn:hover { background: var(--green-100); }

/* ---------- article (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--green-50), var(--green-100)); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding: 52px 22px; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.page-hero.with-img .wrap { grid-template-columns: 1.2fr .8fr; }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 42px); color: var(--green-900); line-height: 1.18; }
.page-hero .sub { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 60ch; }
.page-hero img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--green-600); }

article.prose { max-width: 760px; margin: 0 auto; padding: 56px 22px 72px; }
.prose h2 { font-size: 27px; color: var(--green-900); margin: 44px 0 14px; line-height: 1.3; padding-bottom: 10px; border-bottom: 2px solid var(--green-100); }
.prose h3 { font-size: 21px; color: var(--green-800); margin: 32px 0 10px; }
.prose h4 { font-size: 18px; color: var(--green-800); margin: 26px 0 8px; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 14px 26px; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--green-500); }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 28px auto; }
.prose a { font-weight: 500; text-decoration: underline; text-decoration-color: var(--green-100); text-underline-offset: 3px; }
.prose blockquote { border-left: 4px solid var(--green-500); background: var(--green-50); padding: 16px 22px; border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--green-800); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--green-50); color: var(--green-900); }
.prose .btn { text-decoration: none; margin: 6px 6px 6px 0; }

/* blog list */
.postmeta { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.related { border-top: 1px solid var(--line); padding: 56px 0 72px; }
.related h2 { text-align: center; font-size: 26px; color: var(--green-900); margin-bottom: 34px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; max-width: 1000px; margin: 0 auto; padding: 56px 22px 80px; }
.contact-info h2 { font-size: 22px; color: var(--green-900); margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 10px; }
.contact-info .soc { display: flex; gap: 12px; margin-top: 18px; }
.contact-info .soc a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-800);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.contact-info .soc a:hover { background: var(--green-700); color: #fff; }
form.contact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
form.contact label { display: block; font-weight: 600; font-size: 14.5px; margin: 16px 0 6px; color: var(--green-900); }
form.contact input, form.contact textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font: inherit; background: var(--bg); transition: .15s;
}
form.contact input:focus, form.contact textarea:focus { outline: none; border-color: var(--green-500); background: #fff; }
form.contact .btn { margin-top: 22px; width: 100%; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-ok { background: var(--green-100); border: 1px solid var(--green-500); color: var(--green-900); padding: 16px 20px; border-radius: 10px; margin-bottom: 18px; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-900); color: #cfe0cd; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding: 56px 0 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 9px 0; }
.site-footer a { color: #cfe0cd; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { width: 160px; margin-bottom: 14px; background: #fff; padding: 10px 14px; border-radius: 12px; }
.site-footer .brand p { font-size: 14.5px; max-width: 34ch; opacity: .8; }
.site-footer .base {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13.5px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; opacity: .75;
}

/* cookie banner */
#ck-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: min(680px, calc(100% - 28px)); z-index: 9999;
  background: var(--green-900); color: #e6f0e4; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: none; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14.5px;
}
#ck-bar a { color: var(--lime); }
#ck-bar button {
  background: var(--green-500); color: #fff; border: 0; padding: 9px 22px; border-radius: 999px;
  font-weight: 600; cursor: pointer; margin-left: auto;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .species { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .hero .wrap, .page-hero.with-img .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero .art { order: -1; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 68px); overflow: auto;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 18px 18px; }
  .nav .sub { display: flex; position: static; border: 0; box-shadow: none; padding-left: 18px; }
  .lang-switch { margin: 10px 0 0 14px; width: max-content; }
}
@media (max-width: 560px) {
  .species { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  section.band { padding: 52px 0; }
}
