/*
 * NeuroGerio — ciepły motyw podstron
 * Wspólna warstwa wizualna zgodna z nową stroną główną.
 */
:root {
  --navy: #405d52;
  --deep: #30483f;
  --sage: #71887c;
  --mint: #e5ece7;
  --cream: #fffaf4;
  --paper: #f8f2ea;
  --peach: #f0ded1;
  --white: #fff;
  --ink: #343a37;
  --muted: #6e716c;
  --gold: #b9795f;
  --clay: #b9795f;
  --clay-dark: #985f49;
  --line: #ddd5cb;
  --serif: "Lora", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1180px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; }
h1, h2, h3, p { margin-top: 0; }
a { text-underline-offset: 3px; }
.container { width: min(calc(100% - 48px), var(--max)); }

/* Nawigacja */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 244, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(68, 57, 49, .04);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 88px; gap: 26px; }
.brand-logo {
  width: 220px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}
.nav { gap: 24px; }
.nav a {
  color: #4e5b56;
  font-size: 13px;
  font-weight: 600;
}
.nav a:not(.nav-cta)::after { background: var(--clay); }
.nav-cta {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--clay);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(152, 95, 73, .16);
}
.lang-link { color: var(--clay-dark) !important; }
.menu-toggle { color: var(--deep); }

/* Podstawowy rytm i nagłówki */
.subpage-main { padding-top: 0; }
.section { padding: 104px 0; }
.subpage-main h1,
.dps-page h1,
.guide-page h1 {
  color: #30483f;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.subpage-main h2,
.dps-page h2,
.guide-page h2 {
  color: #344d44;
  font-weight: 500;
  letter-spacing: -.025em;
}
.eyebrow,
.library-label,
.payment-kicker,
.certificate-label {
  color: var(--clay);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.eyebrow.light { color: var(--clay); }
.lead { color: #596660; }
.section-head { gap: 70px; margin-bottom: 52px; }
.section-head p { color: var(--muted); }

/* Przyciski */
.btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.btn-dark,
.btn-primary,
.premium-btn {
  border: 1px solid var(--clay);
  background: var(--clay);
  color: #fff;
  box-shadow: 0 11px 26px rgba(152, 95, 73, .14);
}
.btn-outline {
  border-color: #789186;
  background: #fff;
  color: #476258;
}
.btn-ghost {
  border-color: #789186;
  background: transparent;
  color: #476258;
}
.btn:hover { transform: translateY(-2px); }

/* Karty i listy */
.service-card,
.price-grid article,
.credential-grid article,
.booking-options article,
.booking-service-list article,
.payment-methods article,
.partner-details article,
.help-path-grid article,
.dps-principles article,
.dps-download-grid article,
.dps-observation-grid article,
.certificate-card,
.worksheet-card,
.review-form {
  border: 1px solid #e3d9d0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(83, 65, 53, .045);
  overflow: hidden;
}
.service-card:hover,
.price-grid article:hover,
.help-path-grid article:hover,
.certificate-card:hover {
  transform: translateY(-4px);
  border-color: #cfaa96;
  box-shadow: 0 22px 55px rgba(83, 65, 53, .09);
}
.service-card.featured {
  background: #405d52;
  border-color: #405d52;
}
.service-card.featured p { color: #d7e1dc; }
.service-card.featured a { color: #f2cdb9; }
.icon { background: #f5e6dc; color: var(--clay-dark); }
.service-card h3,
.credential-grid h2,
.booking-options h2,
.booking-service-list h3,
.payment-methods h3 { color: #3b5048; }

/* O mnie, usługi i sekcje informacyjne */
.about,
.credentials,
.en-hero,
.contact-page,
.faq,
.local-hero,
.partner-page { background: var(--paper); }
.about-image img,
.partner-page-hero img {
  border-radius: 26px 90px 26px 26px;
  box-shadow: 0 26px 60px rgba(83, 65, 53, .12);
}
.about-image img { object-fit: contain; background: var(--peach); }
.education-section { background: #fffaf4; }
.education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.education-grid article { padding: 34px; }
.education-grid article > span { color: var(--clay); font-family: var(--serif); font-size: 24px; }
.education-grid h3 { margin: 18px 0 10px; color: #3b5048; font-family: var(--serif); font-size: 27px; font-weight: 500; }
.education-grid p { margin: 0; color: var(--muted); }
.image-note,
.partner-contact,
.contact-card,
.dps-contact-card {
  border-radius: 16px;
  background: #405d52;
}
.quote,
.verification-note,
.training-note,
.article-note,
.partner-boundary,
.dps-boundary,
.booking-contact-box,
.booking-payment-note {
  border-left-color: var(--clay);
  border-radius: 0 12px 12px 0;
  background: #f7eee7;
}
.audience { border-radius: 20px; background: #f7eee7; }
.process,
.partner-preview,
.dps-session { background: #405d52; }

/* Kontakt i formularze */
.contact-page-grid form {
  padding: 44px;
  border: 1px solid #e5dcd3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(83, 65, 53, .08);
}
.contact-page-grid input,
.contact-page-grid textarea,
.review-form input,
.review-form textarea,
.review-form select {
  border: 1px solid #d9d1c8;
  border-radius: 9px;
  background: #fffdfa;
  color: var(--ink);
}
.contact-page-grid input:focus,
.contact-page-grid textarea:focus,
.review-form input:focus,
.review-form textarea:focus {
  outline: 2px solid #dfb9a5;
  outline-offset: 1px;
}
.direct-contact a { color: #405d52; }
.response-time {
  margin-top: 22px;
  padding: 14px 17px;
  border-radius: 12px;
  background: #f7eee7;
  color: #405d52;
  font-size: 13px;
}

/* Rezerwacja */
.booking-page { background: var(--cream); }
.booking-intro { padding-top: 105px; }
.booking-intro::after {
  content: "Wizyty domowe i konsultacje online · bez gabinetu stacjonarnego";
  display: block;
  width: min(calc(100% - 48px), var(--max));
  margin: 35px auto 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: #f4e9e0;
  color: #6a625d;
  font-size: 13px;
  text-align: center;
}
.booking-section-title > span {
  border-color: var(--clay);
  border-radius: 13px;
  background: #fff;
  color: var(--clay);
}
.booking-options article,
.booking-service-list article,
.payment-methods article { background: #fff; }
.booking-contact-box,
.booking-payment-note { background: #fff; }
.booking-privacy {
  border-left-color: var(--sage);
  border-radius: 0 12px 12px 0;
  background: var(--mint);
}
#cal-inline { border-color: #dfd5cb; border-radius: 16px; }

/* Biblioteka */
.library-hero {
  padding: 112px 0 96px;
  background:
    radial-gradient(circle at 88% 18%, rgba(185,121,95,.16), transparent 30%),
    linear-gradient(135deg, #f8f2ea 0%, #fffaf4 55%, #e7eee9 100%);
  color: var(--ink);
}
.library-hero h1,
.library-hero h1 em { color: #30483f; }
.library-hero h1 em { color: var(--clay); }
.library-hero p { color: #5e6964; }
.library-stats div {
  border: 1px solid #dfd4ca;
  border-radius: 16px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 15px 35px rgba(83,65,53,.05);
}
.library-stats strong { color: var(--clay); }
.library-stats span { color: #66706b; }
.library-guide { background: var(--paper); }
.library-cover,
.worksheet-cover img { border-radius: 14px; }
.library-section { background: var(--mint); }
.library-online { background: #405d52; }
.library-disclaimer { background: #f0ded1; }

/* DPS i przewodniki */
.dps-hero,
.guide-hero {
  padding: 112px 0 92px;
  background:
    radial-gradient(circle at 85% 20%, rgba(185,121,95,.16), transparent 30%),
    linear-gradient(135deg, #f8f2ea 0%, #fffaf4 56%, #e5ece7 100%);
  color: var(--ink);
}
.dps-hero h1,
.dps-hero h1 em,
.guide-hero h1 { color: #30483f; }
.dps-hero h1 em { color: var(--clay); }
.dps-hero p,
.guide-hero p { color: #5e6964; }
.dps-hero-note,
.guide-stats {
  border: 1px solid #dfd4ca;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(83,65,53,.06);
}
.dps-hero-note span,
.dps-file-type { color: var(--clay); }
.dps-hero-note p,
.dps-hero-note small { color: var(--muted); }
.dps-intro,
.dps-collab,
.guide-benefits,
.guide-forms { background: var(--paper); }
.dps-when { background: var(--mint); }
.dps-download-grid article:nth-child(2),
.dps-download-grid article:nth-child(3) { background: #fff; }
.dps-contact-card .btn { background: #f0ded1; border-color: #f0ded1; color: #634a3e; }

/* Artykuły */
.journal { background: var(--paper); }
.article {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(83,65,53,.08);
  overflow: hidden;
}
.article-header h1,
.article-header h2 { color: #30483f; }
.article-meta { color: var(--clay); }
.article-callout { border-radius: 16px; background: #405d52; }
.article-author { border-color: #e4dbd2; }
.author-monogram { background: #405d52; color: #f0ded1; }
.references a { color: #4d7163; }

/* Obszar pomocy */
.local-copy { max-width: 1000px; }
.city-links,
.nearby-links { gap: 16px; }
.city-links a,
.nearby-links a {
  border: 1px solid #e1d7ce;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 35px rgba(83,65,53,.04);
}
.city-links a:hover,
.nearby-links a:hover { border-color: #cfaa96; transform: translateY(-3px); }

/* Certyfikaty */
.certificate-card { background: #fff; }
.certificate-card-featured { background: #405d52; border-color: #405d52; }
.certificate-card-featured h3 { color: #fff; }
.certificate-card-featured p { color: #d5e0db; }
.certificate-preview { background: #f3ece5; }
.certificate-link { color: #48675b; }

/* Stopka */
footer {
  padding: 55px 0 22px;
  background: #30483f;
  color: #d4dfda;
}
.footer-grid { align-items: center; }
.footer-logo {
  width: 230px;
  height: 74px;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer-grid p { color: #c0cec8; }
.footer-grid > div:last-child a { color: #fff; }
.copyright { border-color: rgba(255,255,255,.14); color: #aebfb7; }

/* RWD */
@media (max-width: 1080px) {
  .nav { gap: 14px; }
  .nav a { font-size: 12px; }
}

@media (max-width: 850px) {
  .container { width: min(calc(100% - 36px), var(--max)); }
  .nav-wrap { height: 76px; }
  .nav {
    top: 76px;
    padding: 22px 20px;
    border-top: 1px solid var(--line);
    background: var(--cream);
    box-shadow: 0 18px 40px rgba(58,50,44,.1);
  }
  .nav a { padding: 10px 4px; color: #405d52; }
  .nav-cta { color: #fff !important; text-align: center; }
  .section { padding: 78px 0; }
  .subpage-main h1,
  .dps-page h1,
  .guide-page h1 { font-size: clamp(2.8rem, 10vw, 4.2rem); }
  .library-hero,
  .dps-hero,
  .guide-hero { padding: 78px 0 72px; }
  .booking-intro { padding-top: 78px; }
  .contact-page-grid form { padding: 30px; }
  .education-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand-logo { width: 180px; height: 52px; }
  .section { padding: 68px 0; }
  .subpage-main h1,
  .dps-page h1,
  .guide-page h1 { font-size: 2.85rem; }
  .contact-page-grid form { padding: 25px 20px; }
  .booking-intro::after { width: calc(100% - 28px); }
  .mobile-booking {
    border-radius: 10px;
    background: var(--clay);
    box-shadow: 0 15px 35px rgba(87,56,43,.28);
  }
  footer { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
