/* ==========================================================================
   Domáci Miláčik — shared stylesheet
   Ported 1:1 from the Claude Design source (colors, spacing, radii, type
   scale). Fonts reference the original family names with system fallbacks
   so the site stays fully self-contained (no external font CDN); if the
   real font files are added later under /fonts, they will be picked up
   automatically because the family names already match.
   ========================================================================== */

:root {
  --bg: #FAF7F1;
  --ink: #2C3830;
  --green: #3F6B4F;
  --green-dark: #33573F;
  --green-light: #6FA07C;
  --green-pale: #DCEBDC;
  --green-pale-border: #C6DCC6;
  --blue-pale: #DCE9F0;
  --blue-pale-border: #CFE0EA;
  --blue-dark: #35606F;
  --blue-darker: #2A4E5A;
  --beige: #EFE7DA;
  --beige-border: #E4DED2;
  --beige-dark: #E6DCCB;
  --muted: #6C7A70;
  --body: #4C5A51;
  --body2: #3B4841;
  --body3: #55625A;
  --heading-dark: #23302A;
  --footer-bg: #23302A;
  --footer-text: #D3DED5;
  --footer-text-dim: #9FB0A4;
  --footer-border: #35473B;
  --warn: #9A6A5A;
  --white: #FFFFFF;

  --font-heading: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;

  --radius-sm: 13px;
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-toast: 0 14px 34px rgba(35,48,42,0.22);
  --shadow-cookie: 0 18px 48px rgba(35,48,42,0.18);
  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, p, ul, figure { margin: 0; }
a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { color: var(--green-light); }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 15px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--green); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-article { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.container-calc { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.container-faq { max-width: 860px; margin: 0 auto; padding: 0 24px; }

@keyframes dmUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Top announcement bar ---------- */
.topbar {
  background: var(--green);
  color: var(--beige);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar .container {
  padding-top: 9px; padding-bottom: 9px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.topbar-contacts { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a { color: var(--beige); }
.topbar a:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,247,241,0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige-border);
}
.site-header .container {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  background: none; border: 0; cursor: pointer; padding: 0;
  color: inherit;
}
.brand-badge {
  width: 40px; height: 40px; border-radius: 14px;
  background: var(--green-pale); border: 1px solid var(--green-pale-border);
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex: none;
}
.brand-text { text-align: left; line-height: 1.1; }
.brand-name {
  display: block; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--ink);
}
.brand-domain {
  display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase;
}

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link {
  border: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; background: transparent; color: var(--body);
  text-decoration: none; display: inline-block;
}
.nav-link:hover { background: var(--green-pale); color: var(--ink); }
.nav-link.active { background: var(--green-pale); color: var(--ink); }

.nav-toggle {
  display: none; margin-left: auto; border: 1px solid var(--green-pale-border); background: #fff;
  border-radius: 12px; width: 42px; height: 42px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; font-size: 20px;
}

.cart-link {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--green-pale-border); background: var(--white); cursor: pointer;
  padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--green);
  text-decoration: none; flex: none;
}
.cart-link:hover { background: var(--green-pale); }
.cart-count {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
  background: var(--green); color: var(--bg); font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--beige-border);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .nav-link { text-align: left; }
  .nav-toggle { display: inline-flex; }
  .site-header .container { position: relative; flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: 16px; padding: 15px 26px; border-radius: 999px;
  text-decoration: none; transition: background-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--green); color: var(--bg); }
.btn-primary:hover { background: var(--green-dark); color: var(--bg); }
.btn-secondary { background: var(--white); color: var(--green); border: 1px solid var(--green-pale-border); }
.btn-secondary:hover { background: var(--green-pale); color: var(--green); }
.btn-blue { background: var(--blue-dark); color: #F4FAFC; }
.btn-blue:hover { background: var(--blue-darker); color: #F4FAFC; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 999px; }
.btn-pill {
  cursor: pointer; border: 1px solid var(--beige-border); background: var(--white); color: var(--body2);
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
}
.btn-pill:hover { border-color: var(--green-light); }
.btn-pill.active { background: var(--green); color: var(--bg); border-color: var(--green); }
.btn-text {
  cursor: pointer; background: none; border: 0; font-size: 15px; font-weight: 700; color: var(--green);
  padding: 0; text-decoration: none;
}
.btn-text:hover { color: var(--green-light); }
.qty-btn {
  width: 32px; height: 32px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--beige); font-size: 17px; font-weight: 700; line-height: 1;
}
.qty-btn:hover { background: var(--beige-dark); }

/* ---------- Sections / hero ---------- */
.section { padding: 62px 24px; }
.section-tight { padding: 62px 24px 10px; }
.hero {
  background: linear-gradient(180deg, #EFF5EC 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--beige-border);
}
.hero .container {
  padding-top: 68px; padding-bottom: 76px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center;
}
.hero-copy { animation: dmUp 0.5s ease both; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-pale); color: var(--blue-dark); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
}
.h1 {
  font-family: var(--font-heading); font-weight: 700; font-size: 54px; line-height: 1.08;
  margin: 20px 0 18px; color: var(--heading-dark);
}
.lead { font-size: 19px; line-height: 1.65; color: var(--body); margin: 0 0 28px; max-width: 30em; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 34px; }
.stat-num { display: block; font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--green); }
.stat-label { font-size: 14px; color: var(--muted); }

.hero-media { display: grid; gap: 14px; }
.photo-lg { height: 300px; border-radius: 26px; border: 1px solid var(--beige-border); overflow: hidden; }
.photo-lg img, .photo-md img, .photo-sm img, .photo-xs img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-md { height: 130px; border-radius: 20px; border: 1px solid var(--beige-border); overflow: hidden; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; }
  .h1 { font-size: 38px; }
}

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.h2 { font-family: var(--font-heading); font-size: 34px; font-weight: 700; margin: 0 0 8px; }
.h2-tight { margin: 0; }
.section-sub { font-size: 17px; color: var(--muted); margin: 0 0 28px; }

/* ---------- Grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Category cards ---------- */
.cat-card {
  text-align: left; cursor: pointer; background: var(--white); border: 1px solid var(--beige-border);
  border-radius: var(--radius-lg); padding: 22px; display: block; text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.cat-card:hover { border-color: var(--green-light); transform: translateY(-3px); color: inherit; }
.cat-icon { display: flex; width: 44px; height: 44px; border-radius: 14px; align-items: center; justify-content: center; font-size: 21px; }
.cat-title { display: block; font-family: var(--font-heading); font-size: 21px; font-weight: 700; margin: 16px 0 6px; }
.cat-text { display: block; font-size: 15px; line-height: 1.55; color: var(--muted); }
.cat-link { display: block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--green); }

/* ---------- Info tiles ---------- */
.tile-row {
  background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-xl);
  padding: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.tile h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 8px; }
.tile p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .tile-row { grid-template-columns: 1fr; } }

/* ---------- Calculator promo band ---------- */
.band-blue { background: var(--blue-pale); border-top: 1px solid var(--blue-pale-border); border-bottom: 1px solid var(--blue-pale-border); }
.band-blue .container { padding: 54px 24px; display: grid; grid-template-columns: 1fr 0.85fr; gap: 44px; align-items: center; }
.band-blue h2 { font-family: var(--font-heading); font-size: 32px; margin: 0 0 12px; color: var(--heading-dark); }
.band-blue p.desc { font-size: 17px; line-height: 1.65; color: #3C4E55; margin: 0 0 22px; }
.calc-example { background: var(--bg); border: 1px solid var(--blue-pale-border); border-radius: var(--radius-lg); padding: 24px; }
.calc-example .label {
  margin: 0 0 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.calc-rows { display: grid; gap: 10px; font-size: 15px; color: var(--body); }
.calc-rows .row { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--beige-border); padding-bottom: 8px; }
.calc-rows .row:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-example .note { margin: 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .band-blue .container { grid-template-columns: 1fr; } }

/* ---------- Product / article cards ---------- */
.product-card, .article-card {
  background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.article-card { cursor: pointer; border-radius: var(--radius-lg); }
.article-card:hover, .product-card:hover { border-color: var(--green-light); color: inherit; }
.card-photo { height: 150px; overflow: hidden; background: var(--beige-dark); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo-tall { height: 140px; overflow: hidden; }
.card-photo-tall img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.card-text { font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; }
.card-stock { font-size: 13px; color: var(--green); font-weight: 700; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: 10px; }
.price { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--green); }
.add-btn {
  border: 0; cursor: pointer; background: var(--green-pale); color: var(--ink); font-weight: 700;
  font-size: 14px; padding: 9px 14px; border-radius: 999px; white-space: nowrap;
}
.add-btn:hover { background: var(--green-pale-border); }

.article-card .card-body { padding: 18px; }
.article-title { display: block; font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin: 8px 0 6px; line-height: 1.25; }
.article-lead { display: block; font-size: 15px; line-height: 1.55; color: var(--muted); }
.article-more { display: block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--green); }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-lg); padding: 24px; }
.testimonial p.quote { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--body2); }
.testimonial p.author { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Newsletter band ---------- */
.band-green {
  background: var(--green); border-radius: var(--radius-xl); padding: 40px;
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 34px; align-items: center;
}
.band-green h2 { font-family: var(--font-heading); font-size: 30px; margin: 0 0 10px; color: #F4F8F2; }
.band-green p { margin: 0; font-size: 16px; line-height: 1.65; color: #D6E4D6; }
.band-green-section { padding: 0 24px 68px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 180px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--green-light);
  background: var(--bg); font-size: 15px; color: var(--ink);
}
.newsletter-form .btn {
  border: 0; cursor: pointer; background: var(--beige); color: var(--ink); font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 14px;
}
.newsletter-form .btn:hover { background: var(--white); }
.band-green .form-msg.ok { color: #F4F8F2; }
.band-green .form-msg.err { color: #FFD6D6; }
@media (max-width: 900px) { .band-green { grid-template-columns: 1fr; } }

/* ---------- Forms (generic) ---------- */
.field {
  padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--beige-border);
  background: var(--bg); font-size: 15px; width: 100%; color: var(--ink);
}
.field:focus { border-color: var(--green-light); }
textarea.field { resize: vertical; }
.form-stack { display: grid; gap: 12px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body3); line-height: 1.5; }
.check-row input { margin-top: 3px; }
.form-msg { margin: 0; font-size: 15px; font-weight: 700; min-height: 1.3em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #B14848; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 46px 24px 10px; }
.page-head .container, .page-head .container-narrow, .page-head .container-faq { padding-bottom: 0; }
.page-title { font-family: var(--font-heading); font-size: 42px; margin: 0 0 10px; }
.page-desc { font-size: 17px; color: var(--muted); margin: 0 0 26px; max-width: 62ch; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green); }

/* ---------- Shop ---------- */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.shop-info { margin-top: 34px; background: var(--beige); border-radius: var(--radius-lg); padding: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shop-info h3 { font-family: var(--font-heading); font-size: 19px; margin: 0 0 6px; }
.shop-info p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body3); }
@media (max-width: 900px) { .shop-info { grid-template-columns: 1fr; } }
.empty-state { display: none; text-align: center; padding: 40px; color: var(--muted); font-size: 16px; }

/* ---------- Cart ---------- */
.cart-empty {
  background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-xl);
  padding: 44px; text-align: center;
}
.cart-empty p.big { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.cart-empty p.small { font-size: 16px; color: var(--muted); margin: 0 0 22px; }
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { display: grid; gap: 14px; }
.cart-line {
  background: var(--white); border: 1px solid var(--beige-border); border-radius: 20px; padding: 16px;
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center;
}
.cart-thumb { display: block; height: 72px; border-radius: 14px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { display: block; font-weight: 700; font-size: 17px; }
.cart-line-meta { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.remove-link { margin-top: 8px; background: none; border: 0; cursor: pointer; padding: 0; font-size: 14px; color: var(--warn); text-decoration: underline; }
.cart-qty-box { display: flex; align-items: center; gap: 14px; }
.qty-pill { display: flex; align-items: center; gap: 4px; background: var(--bg); border: 1px solid var(--beige-border); border-radius: 999px; padding: 4px; }
.qty-value { min-width: 26px; text-align: center; font-weight: 700; }
.line-total { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--green); min-width: 76px; text-align: right; }
.cart-summary { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-lg); padding: 24px; }
.cart-summary h2 { font-family: var(--font-heading); font-size: 24px; margin: 0 0 16px; }
.summary-rows { display: grid; gap: 10px; font-size: 16px; color: var(--body); }
.summary-rows .row { display: flex; justify-content: space-between; }
.summary-rows .row.total { border-top: 1px solid var(--beige-border); padding-top: 12px; font-size: 19px; color: var(--heading-dark); }
.summary-rows .row.total span:first-child { font-weight: 700; }
.summary-rows .row.total .price { font-size: 24px; }
.ship-note { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 14px 0 18px; }

/* ---------- Calculator page ---------- */
.calc-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }
.calc-panel { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-xl); padding: 26px; display: grid; gap: 20px; }
.calc-panel .field-label { margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.range-input { width: 100%; accent-color: var(--green); }
.calc-result { background: var(--green-pale); border: 1px solid var(--green-pale-border); border-radius: var(--radius-xl); padding: 28px; }
.calc-result .label { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.calc-result .grams { font-family: var(--font-heading); font-size: 56px; font-weight: 700; color: var(--ink); margin: 8px 0 4px; line-height: 1; }
.calc-result .meals { margin: 0 0 18px; font-size: 16px; color: var(--body2); }
.calc-detail { display: grid; gap: 8px; font-size: 15px; color: var(--body2); border-top: 1px solid var(--green-pale-border); padding-top: 16px; }
.calc-detail .row { display: flex; justify-content: space-between; }
.calc-warning { margin: 24px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 70ch; }

/* ---------- About page ---------- */
.value-card { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-lg); padding: 24px; }
.value-card h3 { font-family: var(--font-heading); font-size: 20px; margin: 0 0 8px; }
.value-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.team-card { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-lg); overflow: hidden; }
.team-photo { height: 130px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .card-body p:first-child { margin: 0; font-weight: 700; }
.team-card .card-body p:last-child { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.billing-box { background: var(--beige); border-radius: var(--radius-lg); padding: 26px; }
.billing-box h2 { font-family: var(--font-heading); font-size: 24px; margin: 0 0 12px; }
.billing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; font-size: 15px; line-height: 1.7; color: var(--body2); }
@media (max-width: 700px) { .billing-grid { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-card { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-lg); padding: 24px; }
.contact-card h2 { font-family: var(--font-heading); font-size: 22px; margin: 0 0 12px; }
.contact-card p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--body2); }
.contact-card.blue { background: var(--blue-pale); border-color: var(--blue-pale-border); }
.contact-card.blue h2 { color: var(--heading-dark); }
.contact-card.blue p { font-size: 15px; color: #3C4E55; }
.map-placeholder {
  height: 190px; border-radius: var(--radius-lg); border: 1px solid var(--beige-border); overflow: hidden;
}
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.contact-form-card { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-lg); padding: 26px; }
.contact-form-card h2 { font-family: var(--font-heading); font-size: 24px; margin: 0 0 6px; }
.contact-form-card .sub { margin: 0 0 18px; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border: 1px solid var(--beige-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 20px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq-sign { font-size: 22px; color: var(--green); flex: none; }
.faq-a { margin: 0; padding: 0 20px 20px; font-size: 16px; line-height: 1.7; color: var(--body); display: none; }
.faq-item.open .faq-a { display: block; }

/* ---------- Article / legal body ---------- */
.article-back { background: none; border: 0; cursor: pointer; padding: 0; font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.article-back:hover { color: var(--green-light); }
.article-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.article-h1 { font-family: var(--font-heading); font-size: 40px; line-height: 1.12; margin: 0 0 14px; }
.article-lead-p { font-size: 19px; line-height: 1.65; color: var(--body); margin: 0 0 24px; }
.article-photo { height: 260px; border-radius: var(--radius-xl); border: 1px solid var(--beige-border); overflow: hidden; margin-bottom: 30px; }
.article-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: grid; gap: 16px; }
.article-body h2 { font-family: var(--font-heading); font-size: 27px; margin: 14px 0 0; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--body2); margin: 0; }
.article-body .li-block { font-size: 17px; line-height: 1.7; color: var(--body2); margin: 0; padding-left: 20px; border-left: 3px solid var(--green-pale-border); }
.article-body .note-block { font-size: 16px; line-height: 1.65; color: var(--blue-dark); margin: 0; background: var(--blue-pale); border-radius: 16px; padding: 18px 20px; }
.author-box {
  margin-top: 34px; background: var(--beige); border-radius: var(--radius-lg); padding: 24px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.author-avatar { width: 56px; height: 56px; border-radius: 999px; overflow: hidden; flex: none; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box strong { display: block; font-weight: 700; font-size: 16px; }
.author-box span { display: block; font-size: 15px; color: var(--body3); line-height: 1.55; margin-top: 4px; }
.related-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  text-align: left; cursor: pointer; background: var(--white); border: 1px solid var(--beige-border);
  border-radius: 20px; padding: 18px; text-decoration: none; color: inherit; display: block;
}
.related-card:hover { border-color: var(--green-light); color: inherit; }
.related-card .card-eyebrow { display: block; }
.related-card .rel-title { display: block; font-family: var(--font-heading); font-size: 19px; font-weight: 700; margin-top: 8px; line-height: 1.3; }

.legal-note { margin-top: 30px; background: var(--beige); border-radius: 20px; padding: 22px; font-size: 15px; line-height: 1.7; color: var(--body2); }
.legal-note p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 10px; }
.footer-grid { padding: 52px 24px 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--bg); margin: 0 0 10px; }
.footer-desc { margin: 0 0 14px; font-size: 15px; line-height: 1.65; }
.footer-addr { margin: 0; font-size: 14px; line-height: 1.7; color: var(--footer-text-dim); }
.footer-col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8FA694; margin: 0 0 12px; }
.footer-links { display: grid; gap: 9px; list-style: none; padding: 0; margin: 0; }
.footer-links a { text-align: left; background: none; border: 0; cursor: pointer; padding: 0; font-size: 15px; color: var(--footer-text); text-decoration: none; }
.footer-links a:hover { color: var(--bg); }
.footer-bottom { border-top: 1px solid var(--footer-border); }
.footer-bottom .container { padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 14px; color: #9FB0A4; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60;
  display: none; justify-content: center;
}
.cookie-banner.show { display: flex; }
.cookie-card {
  max-width: 900px; width: 100%; background: var(--white); border: 1px solid var(--green-pale-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-cookie); padding: 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center;
}
@media (max-width: 700px) { .cookie-card { grid-template-columns: 1fr; } }
.cookie-card h2 { margin: 0 0 6px; font-family: var(--font-heading); font-size: 19px; font-weight: 700; }
.cookie-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body3); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn-secondary { background: var(--bg); }
.cookie-actions .btn-secondary:hover { background: var(--beige); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; right: 22px; top: 88px; z-index: 70; background: var(--green); color: var(--bg);
  padding: 14px 20px; border-radius: 14px; font-size: 15px; font-weight: 700; box-shadow: var(--shadow-toast);
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { padding: 90px 24px; text-align: center; }
.notfound .code { font-family: var(--font-heading); font-size: 84px; font-weight: 700; color: var(--green); margin: 0; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
