/* Małe Oczka — wariant „medyczny”: białe tło, beżowe karty, stonowane akcenty.
   Ładowany PO style.css i nadpisuje jego zmienne oraz wybrane elementy. */
body.med {
  --cream: #ffffff;
  --cream-2: #f3ece0;
  --paper: #f8f4ec;          /* beż kart i kafli */
  --line: #e7dccb;
  --navy: #12324f;
  --navy-2: #2b4a66;
  --muted: #55667a;
  --accent: #2c7a7b;         /* stonowany morski — jeden akcent zamiast tęczy */
  --accent-soft: #e3f0ef;
  --radius: 14px;
  --shadow: none;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  background: #fff;
}
body.med h1, body.med h2, body.med h3 { font-family: "Inter", system-ui, sans-serif; font-weight: 600; letter-spacing: -.02em; }
body.med strong, body.med b { font-weight: 600; }
body.med a { color: var(--accent); }
body.med a:hover { color: var(--navy); }
body.med :focus-visible { outline-color: var(--accent); }

/* Nagłówek */
body.med .site-header { background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
body.med .brand strong { font-family: "Quicksand", sans-serif; font-weight: 700; }
body.med .brand img { width: 54px; }
body.med .nav a { font-weight: 500; color: var(--navy-2); }
body.med .nav a:hover { background: var(--paper); }
body.med .nav a[aria-current="page"] { background: transparent; color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
body.med .btn-text { border-width: 1px; font-weight: 600; }

/* Hero */
.hero-med { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 56px 0 64px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 40px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .8em; }
.hero-text h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); line-height: 1.12; margin-bottom: .45em; color: var(--navy); }
body.med .lead { margin: 0 0 1.2em; max-width: 560px; color: var(--navy-2); font-size: 1.08rem; }
.creds { list-style: none; padding: 0; margin: 0 0 1.6em; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { display: inline-flex; align-items: center; gap: .45em; font-size: .85rem; font-weight: 500; color: var(--navy-2); background: var(--paper); border: 1px solid var(--line); padding: .35em .8em; border-radius: 999px; }
.creds li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
body.med .contact-strip { justify-content: flex-start; margin: 0; }
body.med .pill { box-shadow: none; border-radius: 10px; font-weight: 600; background: #fff; border-color: var(--line); }
body.med .pill.primary { background: var(--navy); border-color: var(--navy); }
body.med .pill:hover { transform: none; border-color: var(--navy-2); }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 22px; text-align: center; }
.hero-card .logo { width: min(320px, 80%); margin: 0 auto 16px; }
.hero-meta { border-top: 1px solid var(--line); padding-top: 14px; text-align: left; font-size: .92rem; color: var(--navy-2); }
.hero-meta p { margin: 0 0 .35em; display: flex; gap: .55em; align-items: center; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Kafle — beżowe, jeden akcent */
body.med .tiles { margin: 48px auto 48px; gap: 16px; }
body.med .tile { --c: var(--accent); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; }
body.med .tile::before { display: none; }
body.med .tile:hover { transform: none; border-color: var(--accent); box-shadow: 0 6px 20px -12px rgba(18,50,79,.35); }
body.med .tile .ico { width: 52px; height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--accent); }
body.med .tile .ico svg { width: 26px; height: 26px; }
body.med .tile .num { color: var(--muted); font-weight: 600; }
body.med .tile h2 { font-size: 1.05rem; color: var(--navy); }
body.med .tile .arrow { color: var(--navy-2); }

/* Karty kontaktu */
body.med .card { background: var(--paper); box-shadow: none; border-radius: var(--radius); }

/* Podstrony */
body.med .page-head { padding: 48px 0 8px; }
body.med .page-head .kicker { color: var(--accent); letter-spacing: .12em; font-weight: 600; }
body.med .narrow { --accent: #2c7a7b !important; }
body.med .feature, body.med .steps li { background: var(--paper); border-radius: 12px; }
body.med .note { background: var(--paper); border-left-color: var(--accent); border-radius: 10px; }
body.med .prices { background: var(--paper); box-shadow: none; border-radius: var(--radius); }
body.med .prices .price { background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; }
body.med .legal .toc { background: var(--paper); }
body.med .legal table { background: #fff; }
body.med .cta { border-radius: var(--radius); }

/* Stopka — bez tęczy */
body.med .rainbow { height: 1px; background: var(--line); }
body.med .site-footer { background: var(--navy); }

/* Karta w hero: dane kontaktowe */
.hero-meta a { color: var(--navy); text-decoration: none; font-weight: 500; }
.hero-meta a:hover { color: var(--accent); text-decoration: underline; }
.hero-meta .who-name { font-size: 1.02rem; color: var(--navy); margin-bottom: .6em; }
body.med .tiles { margin-bottom: 72px; }

/* Stopka — wysoki kontrast */
body.med .site-footer { color: #e6edf4; }
body.med .site-footer a { color: #ffffff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: .2em; }
body.med .site-footer a:hover { color: #ffffff; text-decoration-color: #ffffff; }
body.med .site-footer h2 { color: #ffffff; font-weight: 600; }
body.med .site-footer .maps-link { display: inline-flex; align-items: center; gap: .4em; margin: .3em 0 .2em; }
body.med .site-footer .maps-link svg { width: 16px; height: 16px; }
body.med .site-footer .legal-link { background: #ffffff; color: var(--navy); text-decoration: none; border-radius: 10px; padding: .6em 1em; font-weight: 600; }
body.med .site-footer .legal-link:hover { background: var(--paper); color: var(--navy); }
body.med .site-footer .bottom { color: #c9d6e3; border-top-color: rgba(255,255,255,.2); }
