
  :root {
    --navy-deep: #12294B;
    --navy: #1B3A6B;
    --navy-soft: #EAF0F8;
    --red: #C6293A;
    --red-soft: #FBE7E7;
    --gold: #C08A3E;
    --cream: #FBF7F0;
    --cream-alt: #F3EDE1;
    --ink: #1E2430;
    --ink-soft: #5B6472;
    --line: rgba(30,36,48,0.12);
    --card-bg: #FFFFFF;
    --radius-s: 4px;
    --radius-m: 10px;
  }
  :root:not([data-theme="light"]) {
    @media (prefers-color-scheme: dark) {
      --navy-deep: #0A1830;
      --navy: #16335C;
      --navy-soft: #16233A;
      --red: #E14B5A;
      --red-soft: #3A1E22;
      --gold: #D9A75C;
      --cream: #14161C;
      --cream-alt: #1B1E26;
      --ink: #ECE9E2;
      --ink-soft: #A7ADB8;
      --line: rgba(236,233,226,0.14);
      --card-bg: #1C1F28;
    }
  }
  :root[data-theme="dark"] {
    --navy-deep: #0A1830;
    --navy: #16335C;
    --navy-soft: #16233A;
    --red: #E14B5A;
    --red-soft: #3A1E22;
    --gold: #D9A75C;
    --cream: #14161C;
    --cream-alt: #1B1E26;
    --ink: #ECE9E2;
    --ink-soft: #A7ADB8;
    --line: rgba(236,233,226,0.14);
    --card-bg: #1C1F28;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
  }
  h1, h2, h3, .display {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.12;
    margin: 0;
    color: var(--navy);
  }
  :root[data-theme="dark"] h1, :root[data-theme="dark"] h2, :root[data-theme="dark"] h3 { color: var(--cream); }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) h1,
    :root:not([data-theme="light"]) h2,
    :root:not([data-theme="light"]) h3 { color: #F2EFE8; }
  }
  a { color: inherit; }
  img, svg { max-width: 100%; display: block; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

  /* ---------- NAV ---------- */
  header.site {
    position: sticky; top: 0; z-index: 50;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 28px;
    max-width: 1180px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img { height: 68px; width: auto; filter: drop-shadow(0 3px 2px rgba(18,41,75,0.18)) drop-shadow(0 8px 10px rgba(18,41,75,0.12)); }
  .brand-word { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; color: var(--navy); letter-spacing: 0.01em; }
  .brand-word span { color: var(--red); }
  .brand-sub { font-size: 0.68rem; color: var(--ink-soft); margin-top: 1px; }
  nav.links { display: flex; gap: 30px; font-size: 0.93rem; }
  nav.links a { text-decoration: none; color: var(--ink); position: relative; padding: 4px 0; }
  nav.links a:hover { color: var(--navy); }
  .nav-cta {
    background: var(--red); color: #fff; text-decoration: none;
    padding: 10px 20px; border-radius: var(--radius-s);
    font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  }
  .nav-toggle { display: none; }

  /* ---------- HERO ---------- */
  .hero {
    background: linear-gradient(180deg, var(--navy-soft) 0%, var(--cream) 78%);
    padding: 64px 0 0;
  }
  .hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 48px; align-items: center;
  }
  .eyebrow-line { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
  .eyebrow-line .rule { width: 34px; height: 2px; background: var(--red); }
  .eyebrow-line span.tag { font-size: 0.85rem; color: var(--red); font-family: 'Fraunces', serif; font-style: italic; }
  .hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.4rem); max-width: 11.5ch; }
  .hero h1 em { color: var(--red); font-style: normal; }
  .hero p.lead {
    margin-top: 20px; font-size: 1.08rem; color: var(--ink-soft);
    max-width: 46ch;
  }
  .hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--navy); color: #fff; text-decoration: none;
    padding: 14px 26px; border-radius: var(--radius-s); font-weight: 600;
    font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-secondary {
    border: 1.5px solid var(--navy); color: var(--navy); text-decoration: none;
    padding: 13px 24px; border-radius: var(--radius-s); font-weight: 600;
    font-size: 0.95rem;
  }
  .hero-meta { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
  .hero-meta div { font-size: 0.85rem; color: var(--ink-soft); }
  .hero-meta strong { display: block; color: var(--navy); font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600; }
  :root[data-theme="dark"] .hero-meta strong { color: var(--cream); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-meta strong { color: #F2EFE8; } }

  /* Hero illustration panel */
  .hero-art {
    position: relative; aspect-ratio: 4/4.6; border-radius: var(--radius-m);
    overflow: hidden; background: var(--navy-deep);
    box-shadow: 0 30px 60px -20px rgba(18,41,75,0.45);
  }
  .hero-art svg { width: 100%; height: 100%; }

  /* ---------- TRUST STRIP ---------- */
  .trust {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--cream-alt);
  }
  .trust-inner {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  }
  .trust-item {
    padding: 22px 18px; text-align: center; border-right: 1px solid var(--line);
    font-size: 0.83rem; color: var(--ink-soft);
  }
  .trust-item:last-child { border-right: none; }
  .trust-item svg { width: 26px; height: 26px; margin: 0 auto 10px; color: var(--red); }
  .trust-item strong { display: block; color: var(--navy); font-size: 0.88rem; margin-bottom: 2px; }
  :root[data-theme="dark"] .trust-item strong { color: var(--cream); }

  /* ---------- SERVICES ---------- */
  .section { padding: 88px 0; }
  .section-head { max-width: 58ch; margin-bottom: 48px; }
  .section-head .eyebrow-line span.tag { color: var(--gold); }
  .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
  .section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.02rem; }

  .services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid var(--line);
  }
  .service {
    padding: 32px 26px; border-right: 1px solid var(--line);
  }
  .service:last-child { border-right: none; }
  .service .num { font-family: 'Fraunces', serif; font-size: 0.8rem; color: var(--gold); margin-bottom: 18px; }
  .service svg { width: 34px; height: 34px; color: var(--navy); margin-bottom: 16px; }
  .service h3 { font-size: 1.08rem; margin-bottom: 10px; }
  .service ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.9rem; }
  .service li { margin-bottom: 4px; }

  /* ---------- PROFILAKTYKA BAND ---------- */
  .promo-band {
    background: var(--navy); color: #F3EEE3;
    padding: 76px 0;
  }
  .promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .promo-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 15ch; }
  .promo-band p { color: #C9D3E3; margin-top: 16px; font-size: 1rem; max-width: 44ch; }
  .promo-band .btn-primary { background: var(--red); margin-top: 28px; }
  .promo-visual { display: flex; justify-content: center; }
  .promo-visual svg { width: 100%; max-width: 420px; height: auto; }

  /* ---------- NEWS ---------- */
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .news-card { border-top: 3px solid var(--red); background: var(--card-bg); padding: 26px 24px; }
  .news-card .date { font-size: 0.78rem; color: var(--gold); font-family: 'Fraunces', serif; font-style: italic; }
  .news-card h3 { font-size: 1.05rem; margin: 12px 0 10px; }
  .news-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
  .news-card .read { display: inline-block; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--red); }
  :root[data-theme="dark"] .news-card h3 { color: var(--cream); }

  /* ---------- CONTACT ---------- */
  .contact-band { background: var(--cream-alt); }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .contact-item { padding: 26px; border-right: 1px solid var(--line); font-size: 0.9rem; }
  .contact-item:last-child { border-right: none; }
  .contact-item .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 8px; }
  .contact-item strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
  :root[data-theme="dark"] .contact-item strong { color: var(--cream); }

  /* ---------- FOOTER ---------- */
  footer.site {
    background: var(--navy-deep); color: #CBD5E4; padding: 56px 0 26px;
  }
  .footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
  .footer-brand { font-family: 'Fraunces', serif; color: #fff; font-size: 1.15rem; }
  .footer-brand span { color: var(--red); }
  .footer-tag { font-style: italic; color: #93A2BC; margin-top: 6px; font-family: 'Fraunces', serif; }
  .footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
  .footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: #7C8CAC; margin-bottom: 14px; font-family: 'Public Sans', sans-serif; }
  .footer-col a, .footer-col div { display: block; color: #CBD5E4; text-decoration: none; font-size: 0.9rem; margin-bottom: 8px; }
  .village-strip { margin-top: 48px; opacity: 0.55; }
  .footer-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #6E7EA0; text-align: center; letter-spacing: 0.04em; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 900px) {
    nav.links { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { order: -1; aspect-ratio: 16/10; }
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service:nth-child(2) { border-right: none; }
    .service:nth-child(4) { border-right: none; }
    .promo-grid { grid-template-columns: 1fr; }
    .promo-visual { order: -1; }
    .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .contact-item:nth-child(2), .contact-item:nth-child(4) { border-right: none; }
  }
  @media (max-width: 560px) {
    .wrap { padding: 0 20px; }
    .services-grid, .contact-grid { grid-template-columns: 1fr; }
    .service, .contact-item { border-right: none; border-bottom: 1px solid var(--line); }
  }

  @media (prefers-reduced-motion: no-preference) {
    .hero-art .pulse { animation: pulse-draw 3.2s ease-in-out infinite; }
  }
  @keyframes pulse-draw {
    0% { stroke-dashoffset: 340; }
    55% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -340; }
  }
