/* ============================================================
   Kancelaria Notarialna Patrycja Łankiewicz — system wizualny
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  /* Kolory */
  --navy:        #1B2A4A;
  --navy-deep:   #14213B;
  --navy-soft:   #2A3B5E;
  --gold:        #C9A84C;
  --gold-deep:   #6B4C2A;   /* ciemny brąz */
  --cream:       #F7F3EE;
  --cream-2:     #ECEAE6;
  --line:        #E7DFCF;
  --white:       #FFFFFF;
  --ink:         #1E2433;
  --ink-soft:    #565E70;
  --ink-mute:    #7C8395;

  /* Typografia */
  --serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans:  'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Kształty */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27,42,74,.05), 0 6px 18px rgba(27,42,74,.05);
  --shadow-md: 0 2px 6px rgba(27,42,74,.06), 0 18px 40px rgba(27,42,74,.08);

  /* Układ */
  --maxw: 1200px;
  --gap:  clamp(20px, 3.2vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

section { position: relative; }

/* Eyebrow / kicker ---------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold); }

/* Złote podkreślenie pod nagłówkiem ----------------------- */
.rule-gold {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 18px 0 0;
}
.rule-gold.center { margin-inline: auto; }

/* Nagłówki sekcji ----------------------------------------- */
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 50px);
}
.section-head .lead {
  color: var(--ink-soft);
  font-size: 18px;
  margin-top: 16px;
}

.sec-pad { padding-block: clamp(72px, 9vw, 130px); }
.bg-cream { background: var(--cream); }
.bg-navy  { background: var(--navy); color: #E9EDF5; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow .2s;
}
/* Mocniejszy cień gdy użytkownik scrolluje */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.13);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand .seal { flex: none; }
.seal-box {
  flex: none;
  width: 60px; height: 60px;
  border-radius: 0;
  background: transparent !important;
  display: grid; place-items: center;
  box-shadow: none !important;
  border: none !important;
}
.seal-box img { display: block; width: 46px; height: auto; filter: brightness(1.4) saturate(1.2) drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; gap: 3px; align-items: center; text-align: center; }
.brand-text .kicker {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
}
.brand-text .name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15.5px;
  white-space: nowrap;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  transition: color .18s, background .18s;
}
.main-nav a:hover { color: var(--navy); background: var(--cream); }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 18px;
  border-radius: 999px;
  transition: background .18s, transform .18s;
  white-space: nowrap;
}
.phone-btn:hover { background: var(--navy-deep); transform: translateY(-1px); }

.phone-btn {
  animation: phonePulse 2.5s ease-in-out infinite;
}
@keyframes phonePulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,76,.5); }
  50%  { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

.phone-btn svg { stroke: var(--gold); }

.nav-toggle { display: none; }

/* ===========================================================
   PRZYCISKI
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: #2A2208; }
.btn-primary:hover { background: var(--gold-deep); color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); background: var(--cream); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { border-color: var(--gold); background: rgba(255,255,255,.06); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===========================================================
   IKONY w złotych kółkach
   =========================================================== */
.icon-badge { color: var(--gold-deep);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex: none;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--gold-deep); color: var(--gold-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge.on-navy { background: rgba(193,154,91,.14); border-color: rgba(193,154,91,.3); }
.icon-badge.on-navy svg { stroke: var(--gold); }
.icon-badge.lg { width: 64px; height: 64px; }
.icon-badge.lg svg { width: 30px; height: 30px; }

/* ===========================================================
   KARTY — obszary czynności
   =========================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.area-card:hover { transform: translateY(-7px); box-shadow: 0 8px 32px rgba(27,42,74,.13); border-color: var(--gold); }
.area-card h3 { font-size: 25px; color: var(--navy); }
.area-card p { color: var(--ink-soft); font-size: 16px; }
.area-card .tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.area-card .tags li {
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
}

/* Karty udogodnień (poziome) ------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.feature h3 { font-size: 21px; color: var(--navy); margin-bottom: 4px; }
.feature p { color: var(--ink-soft); font-size: 15.5px; }

/* ===========================================================
   GODZINY / dane — boczna karta
   =========================================================== */
.info-card {
  background: var(--navy);
  color: #E9EDF5;
  border-radius: var(--r-lg);
  padding: 38px 36px;
}
.info-card h3 { color: #fff; font-size: 27px; }
.hours-list { list-style: none; margin: 22px 0 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 16px;
}
.hours-list li span:first-child { color: #B7C0D4; }
.hours-list li span:last-child { font-weight: 600; color: #fff; }
.hours-note { font-size: 13.5px; color: #99A3BC; margin-top: 14px; }

/* ===========================================================
   PLACEHOLDER obrazów (paski + opis)
   =========================================================== */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, #efe7d8 0 14px, #f6efe2 14px 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  color: #9a8a6a;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  letter-spacing: .04em;
  background: rgba(255,255,255,.78);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #8a7a59;
}
.ph.navy {
  background: repeating-linear-gradient(135deg, #213253 0 14px, #1c2c4a 14px 28px);
}
.ph.navy::after { background: rgba(20,33,59,.6); color: #cdb78a; border-color: rgba(193,154,91,.3); }

/* ===========================================================
   CTA „Masz pytania?”
   =========================================================== */
.cta {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-block: clamp(48px, 6vw, 76px);
}
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }
.cta p { color: var(--ink-soft); margin-top: 10px; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===========================================================
   STOPKA
   =========================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #C2CADA;
  padding-block: clamp(48px, 6vw, 72px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .name { font-family: var(--serif); font-size: 23px; color: #fff; text-align: center; }
.footer-brand p { color: #97A2BA; font-size: 14.5px; margin-top: 10px; text-align: center; max-width: none; }
.footer-brand { text-align: center; display: flex; flex-direction: column; align-items: center; align-self: start; }
.footer-brand img { margin: 0 auto 14px; display: block; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 16px; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { text-decoration: none; color: #C2CADA; font-size: 15px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; font-size: 15px; color: #fff; align-items: flex-start; line-height: 1.5; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.6; margin-top: 2px; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact .tel { white-space: nowrap; }
.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 22px 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: #8893AC;
}
.footer-bottom a { color: #8893AC; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ===========================================================
   BANER COOKIES
   =========================================================== */
.cookie-bar {
  position: fixed;
  left: 50%; bottom: 88px;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: var(--r-md);
  padding: 20px 24px;
  z-index: 80;
  display: none; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-bar p { font-size: 14px; color: var(--ink-soft); flex: 1 1 280px; }
.cookie-bar a { color: var(--gold-deep); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-bar.hidden { display: none; }
.cookie-bar .btn { padding: 9px 18px; font-size: 14px; }

/* ===========================================================
   RESPONSYWNOŚĆ
   =========================================================== */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .main-nav, .header-actions .phone-btn span { }
}
@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; gap: 2px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 10px; font-size: 17px; }
  .main-nav a.active::after { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: var(--r-sm);
    border: 1px solid var(--line); background: #fff; cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; stroke: var(--navy); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone-btn span { display: none; }
  .phone-btn { padding: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}


/* ===========================================================
   DOPRACOWANIE BRANDINGU I IKON — wersja po korekcie
   =========================================================== */
.seal-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, #101B31 0%, #1B2A4A 58%, #243A63 100%);
  border: 1px solid rgba(230,196,126,.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 10px 24px rgba(20,33,59,.12);
}
.seal-box img {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.34)) drop-shadow(0 0 4px rgba(230,196,126,.22));
}
.brand:hover .seal-box { background: transparent; }
.site-footer .footer-brand img {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(230,196,126,.16));
  margin: 0 auto 12px;
  display: block;
}

.icon-badge.lg {
  background: var(--cream);
  border-color: var(--line);
  box-shadow: none;
}
.icon-badge.lg svg {
  stroke: var(--gold-deep);
  stroke-width: 1.6;
}
.icon-badge.lg:hover svg { stroke: var(--gold-deep); }
.icon-badge.on-navy {
  background: rgba(230,196,126,.13);
  border-color: rgba(230,196,126,.36);
}
.icon-badge.on-navy svg { stroke: #E6C47E; }
.area-card .icon-badge.lg,
.comfort-card .icon-badge.lg,
.price-card .icon-badge.lg,
.pay-card .icon-badge.lg,
.cat-head .icon-badge.lg {
  transform: translateZ(0);
}
.area-card:hover .icon-badge.lg,
.comfort-card:hover .icon-badge.lg,
.price-card:hover .icon-badge.lg,
.pay-card:hover .icon-badge.lg {
  border-color: rgba(230,196,126,.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 14px 28px rgba(27,42,74,.12);
}
.doc-tab svg {
  stroke-width: 1.5;
}

/* Łagodniejszy placeholder zdjęć — mniej techniczny w pierwszej makiecie. */
.ph {
  background:
    linear-gradient(135deg, rgba(27,42,74,.06), rgba(193,154,91,.14)),
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.85), transparent 30%),
    repeating-linear-gradient(135deg, #efe7d8 0 18px, #f7f0e4 18px 36px);
}
.ph::after {
  letter-spacing: .02em;
  background: rgba(255,255,255,.86);
}


/* DOPRACOWANIE ORŁA — wersja czytelniejsza */
.seal-box {
  width: 62px;
  height: 62px;
  border-radius: 17px;
  background: linear-gradient(145deg, #0D182D 0%, #14213B 56%, #21375F 100%);
  border: 1px solid rgba(247,217,149,.78);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.07),
    0 10px 24px rgba(20,33,59,.14);
}
.seal-box img {
  width: 48px;
  height: auto;
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.55))
    drop-shadow(0 0 6px rgba(255,236,190,.24));
}
.brand:hover .seal-box {
  border-color: rgba(255,236,190,.92);
}
.site-footer .footer-brand img {
  width: 72px;
  height: auto;
  margin-bottom: 18px !important;
  opacity: 1;
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.42))
    drop-shadow(0 0 10px rgba(247,217,149,.18));
}
@media (max-width: 560px) {
  .seal-box { width: 56px; height: 56px; background: transparent !important; border: none !important; }
  .seal-box img { width: 44px; }
  .site-footer .footer-brand img { width: 64px; }
}

/* FINAL V3 — orzeł nagłówka i stopki
   Nagłówek: wraca do delikatniejszego, niepogrubionego SVG, żeby godło nie zlewało się w małym rozmiarze.
   Stopka: zostaje wersja mocniejsza, ale w większym rozmiarze, bo na granacie wypada dobrze. */
.seal-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, #101B31 0%, #14213B 58%, #1E345A 100%);
  border: 1px solid rgba(242,211,141,.70);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.055),
    0 8px 18px rgba(20,33,59,.11);
}
.seal-box img {
  width: 39px;
  height: auto;
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.35))
    drop-shadow(0 0 3px rgba(242,211,141,.16));
}
.brand:hover .seal-box {
  border-color: rgba(242,211,141,.88);
}
.site-footer .footer-brand img {
  width: 92px;
  height: auto;
  margin-bottom: 20px !important;
  opacity: 1;
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.44))
    drop-shadow(0 0 10px rgba(247,217,149,.18));
}
@media (max-width: 560px) {
  .seal-box { width: 54px; height: 54px; background: transparent !important; border: none !important; }
  .seal-box img { width: 36px; }
  .site-footer .footer-brand img { width: 82px; }
}

/* ── Dolny pasek nawigacji na mobile ── */
@media (max-width: 980px) {
  /* Przestrzeń na dolny pasek */
  body { padding-bottom: 64px; }

  .bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: #1B2A4A;
    border-top: 1px solid rgba(201,168,76,.3);
    display: flex;
    height: 64px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.18);
  }

  .bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 6px 2px;
    transition: color .15s;
    min-width: 0;
  }

  .bottom-nav a svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }

  .bottom-nav a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0 2px;
  }

  .bottom-nav a:hover,
  .bottom-nav a.active {
    color: #C9A84C;
  }
}

@media (min-width: 981px) {
  .bottom-nav { display: none; }
}

/* ── Dofinansowanie UE ── */
.eu-funding {
  display: flex; flex-direction: column; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 1.5rem; padding-top: 1.5rem;
}
.eu-logo { flex-shrink: 0; }
.eu-text {
  font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.65);
  margin: 0; text-align: center;
}
.eu-text strong { color: rgba(255,255,255,.85); }
.eu-text a { color: #C9A84C; text-decoration: none; }
.eu-text a:hover { text-decoration: underline; }
.eu-tag { color: #C9A84C; font-weight: 600; }
@media(max-width:600px) {
  .eu-funding { flex-direction: column; gap: .75rem; }
}

/* ── Hero wzór geometryczny ── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(201,168,76,.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(27,42,74,.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero > .wrap { position: relative; z-index: 1; }

/* ── Lepsza czytelnosc naglowkow serif ── */
h1, h2, h3 {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Mocniejszy hover karty czynnosci ── */
.area-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.comfort-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.comfort-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(27,42,74,.11);
  border-color: rgba(201,168,76,.5);
}

/* ── Złota linia pod aktywnym linkiem nav ── */
.main-nav a.active {
  position: relative;
}
.main-nav a.active::after {
  background: var(--gold) !important;
  height: 2.5px !important;
  bottom: -2px !important;
}

/* ── Lepszy wygląd btn-primary ── */
.btn-primary {
  background: var(--gold);
  color: #1B2A4A;
}
.btn-primary:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Piekniejszy footer ── */


.scroll-hint { display: none; }

/* ── Animacje tylko przy hover ── */
.anim-car,
.anim-wheel-l,
.anim-wheel-r,
.anim-cam,
.anim-dog-body,
.anim-dog-tail,
.anim-fan,
.anim-alarm {
  animation: none !important;
}

/* Uruchom animacje dopiero przy hover na karcie */
.comfort-card:hover .anim-car {
  animation: car-drive 2.4s ease-in-out infinite !important;
}
.comfort-card:hover .anim-wheel-l,
.comfort-card:hover .anim-wheel-r {
  animation: wheel-spin 0.5s linear infinite !important;
}
.comfort-card:hover .anim-cam {
  animation: cam-scan 2s ease-in-out infinite !important;
}
.comfort-card:hover .anim-dog-body {
  animation: dog-bark 1.2s ease-in-out infinite !important;
}
.comfort-card:hover .anim-dog-tail {
  animation: dog-tail 0.4s ease-in-out infinite !important;
}
.comfort-card:hover .anim-fan {
  animation: fan-spin 1.5s linear infinite !important;
}
.comfort-card:hover .anim-alarm {
  animation: alarm-pulse 1s ease-in-out infinite !important;
}

/* Miganie diody klimy też tylko przy hover */
.comfort-card:hover circle[style*="blink"] {
  animation: blink 1.5s ease-in-out infinite !important;
}

/* Fale alarmu przy hover */
.comfort-card:hover path[style*="alarm-pulse"] {
  animation: alarm-pulse 1s ease-in-out infinite 0.3s !important;
}

/* ── Języki na mobile ── */
@media (max-width: 980px) {
  
  
  
  
}

/* ── Logotypy EU — obrazek ── */
.eu-logos-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  opacity: 1;
  display: block;
}
@media(max-width:600px) {
  .eu-logos-img { max-width: 100%; }
}

/* ── Wyrównanie wysokości kafelków ── */
.price-grid {
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
}
.price-card p {
  flex: 1;
}
.card-grid {
  align-items: stretch;
}
.area-card {
  display: flex;
  flex-direction: column;
}
.area-card p {
  flex: 1;
}
.comfort-grid {
  align-items: stretch;
}
.comfort-card {
  display: flex;
  flex-direction: column;
}
.comfort-card p {
  flex: 1;
}

/* ── Wyrównanie kafelków v2 ── */
.price-grid { align-items: stretch !important; }
.price-card { display: flex !important; flex-direction: column !important; height: 100%; }
.price-card p:last-child { flex: 1; }

.comfort-grid { align-items: stretch !important; }
.comfort-card { display: flex !important; flex-direction: column !important; height: 100%; }
.comfort-card p:last-child { flex: 1; }

.card-grid { align-items: stretch !important; }
.area-card { display: flex !important; flex-direction: column !important; height: 100%; }
.area-card p:last-child { flex: 1; }

.info-grid { align-items: stretch !important; }
.info-card { display: flex !important; flex-direction: column !important; height: 100%; }
.info-card-body { flex: 1 !important; }

/* ── SVG z fill — zachowaj fill ── */
.icon-badge.lg svg[fill="currentColor"] { fill: currentColor !important; }
.icon-badge.lg svg[fill="currentColor"] path { fill: currentColor !important; }
.icon-badge.lg svg[fill="currentColor"] circle { fill: currentColor !important; }
.icon-badge.lg svg[fill="currentColor"] ellipse { fill: currentColor !important; }
.icon-badge.lg svg[fill="currentColor"] path[fill="none"],
.icon-badge.lg svg[fill="currentColor"] circle[fill="none"] { fill: none !important; stroke: currentColor; }

/* ── Ujednolicenie kolorów ikonek comfort ── */
.comfort-card .icon-badge svg { color: var(--gold-deep); stroke: var(--gold-deep); }
.comfort-card .icon-badge svg [fill="currentColor"] { fill: var(--gold-deep) !important; }
.comfort-card .icon-badge svg ellipse[fill="currentColor"] { fill: var(--gold-deep) !important; }
.comfort-card .icon-badge svg circle[fill="currentColor"] { fill: var(--gold-deep) !important; }
.comfort-card .icon-badge svg path[fill="currentColor"] { fill: var(--gold-deep) !important; }
.comfort-card .icon-badge svg [fill="none"] { fill: none !important; }

