/* ============================================================
   STRONA HR — style (elegancki, responsywny, PL/EN)
   Paleta z ulotki: głęboka zieleń + kremowe tło + złoty akcent
   ============================================================ */

:root {
  --green-900: #14352f;
  --green-800: #1c4a43;
  --green-700: #285f56;
  --green-600: #35766b;
  --cream:     #f7f2e9;
  --cream-2:   #efe7d7;
  --gold:      #c2a878;
  --gold-dark: #a98c56;
  --brand-ink: #14352f;
  --brand-hr:  #c2a878;
  --brand-hr-soft: #e0c895;
  --ink:       #24302c;
  --muted:     #5d655f;
  --white:     #ffffff;
  --line:      rgba(20, 53, 47, .12);
  --shadow:    0 14px 40px -18px rgba(20, 53, 47, .35);
  --radius:    16px;
  --maxw:      1140px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

:where(section[id]) { scroll-margin-top: 88px; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.12; margin: 0 0 .4em; color: var(--green-900); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--green-800); color: var(--cream); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--green-900); border-color: var(--green-800); }
.btn-ghost:hover { background: var(--green-800); color: var(--cream); }
.btn-block { width: 100%; }
.btn-nav { padding: .55rem 1.1rem; background: var(--gold); color: var(--green-900); font-size: .9rem; }
.btn-nav:hover { background: var(--gold-dark); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 233, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.brand {
  display: inline-flex; flex-direction: column; align-items: stretch;
  width: max-content; gap: .3rem;
  color: var(--green-900); line-height: 1;
}
.brand-name {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: 2rem; font-weight: 400; letter-spacing: .02em;
  color: var(--brand-ink); line-height: 1;
  margin: 0; padding: 0;
}
.brand-name .brand-hr {
  color: var(--brand-hr) !important;
}
.brand-tag {
  display: block; width: 100%; box-sizing: border-box;
  margin: 0; padding: 0;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  text-align: center; color: var(--muted); font-style: normal; font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { font-weight: 500; font-size: .95rem; color: var(--green-900); transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--gold-dark); }

.header-tools { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--muted); }
.lang-btn { background: none; border: none; cursor: pointer; font: inherit; color: var(--muted); padding: .2rem .15rem; font-weight: 600; }
.lang-btn.is-active { color: var(--green-900); text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-900); transition: .3s var(--ease); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.section-title.center { text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 600; color: var(--gold-dark); text-align: center; margin-bottom: .4rem; }
.band { background: var(--green-900); color: var(--cream); }
.band .section-title, .band h3 { color: var(--white); }

/* ---------- Why / Who ---------- */
.why-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  gap: clamp(1.8rem, 4vw, 3rem); align-items: stretch;
}
.why-main {
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.why-main .section-title { margin-bottom: 1.4rem; max-width: 22ch; }
.why-side {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; justify-content: center;
}
.why-side h3 { font-size: clamp(1.35rem, 2.5vw, 1.6rem); margin-bottom: .7rem; }
.why-side p { color: rgba(247,242,233,.88); line-height: 1.55; }
.who-strong { font-weight: 600; color: var(--gold) !important; margin-bottom: 0; margin-top: .9rem; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.check-list li {
  position: relative; padding-left: 2.15rem; font-size: 1.05rem;
  line-height: 1.45; color: inherit;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: var(--green-700);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center / 65% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center / 65% no-repeat;
}
.check-list.light li { color: var(--cream); }
.check-list.light li::before { background: var(--gold); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%); padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .26em; font-size: .82rem; font-weight: 600; color: var(--green-700); margin-bottom: .8rem; text-align: center; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; margin-bottom: .5rem; }
.hero-title .accent { display: block; color: var(--gold-dark); }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 40ch; color: var(--muted); margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-flow { font-weight: 600; letter-spacing: .04em; color: var(--green-700); font-size: .95rem; text-align: left; }

.hero-badge {
  background: var(--green-800); color: var(--cream); border-radius: 50%;
  aspect-ratio: 1; width: min(100%, 260px); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem; box-shadow: var(--shadow);
}
.hero-badge .badge-clock { color: var(--gold); margin-bottom: .6rem; }
.hero-badge strong { font-family: "Playfair Display", serif; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.hero-badge span { font-size: .92rem; opacity: .9; }

/* ---------- Problems ---------- */
.problems-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.problems-right { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.problems-right h3 { font-size: 1.4rem; }
.problems-right p { margin: 0; color: var(--muted); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--cream-2); color: var(--green-700); margin-bottom: 1rem; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Models ---------- */
.models-grid { grid-template-columns: repeat(3, 1fr); }
.model-card { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.6rem; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.model-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--green-700); margin-bottom: 1rem; }
.model-card h3 { font-size: 1.25rem; }
.model-card p { margin: 0; color: var(--muted); }

/* ---------- Umów / booking ---------- */
.umow { background: linear-gradient(160deg, var(--cream-2) 0%, var(--cream) 100%); }
.umow-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.umow-copy .kicker { text-align: left; }
.umow-copy > p { color: var(--muted); max-width: 44ch; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; font-size: 1.08rem; font-weight: 500; }
.contact-list .ci { display: inline-flex; color: var(--green-700); }
.contact-list a:hover { color: var(--gold-dark); }
.slogan {
  font-family: "Playfair Display", serif; font-style: italic; font-size: 1.25rem;
  color: var(--green-800); max-width: 32ch; text-align: center; margin-inline: auto;
}

.booking-form {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .field-label { font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--green-900); }
.field-optional { font-weight: 500; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(40,95,86,.15); background: var(--white);
}
.field textarea { resize: vertical; }

/* ---------- Kalendarz terminów ---------- */
.booking-calendar {
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  overflow: hidden;
}
.cal-toggle {
  width: 100%; display: flex; align-items: center; gap: .65rem;
  padding: .85rem 1rem; border: 0; background: transparent;
  color: var(--green-900); font: inherit; font-weight: 600; cursor: pointer; text-align: left;
}
.cal-toggle:hover { background: var(--cream-2); }
.cal-toggle-text { flex: 1; }
.cal-toggle-meta {
  font-size: .88rem; font-weight: 600; color: var(--green-800);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%;
}
.cal-toggle-chevron {
  width: 1.6rem; height: 1.6rem; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white);
  position: relative;
}
.cal-toggle-chevron::after {
  content: ""; position: absolute; top: 42%; left: 50%;
  width: .45rem; height: .45rem; border-right: 2px solid var(--green-800); border-bottom: 2px solid var(--green-800);
  transform: translate(-50%, -50%) rotate(45deg); transition: transform .25s ease;
}
.booking-calendar:not(.is-collapsed) .cal-toggle-chevron::after {
  transform: translate(-50%, -20%) rotate(225deg);
}
.cal-panel {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--line);
  animation: cal-open .28s ease;
}
@keyframes cal-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.cal-tz { margin: .85rem 0 .75rem; font-size: .82rem; color: var(--muted); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .85rem; }
.cal-month { font-family: "Playfair Display", serif; font-size: 1.15rem; color: var(--green-900); }
.cal-nav-btn {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); color: var(--green-900); font-size: 1.25rem; cursor: pointer; line-height: 1;
}
.cal-nav-btn:hover { border-color: var(--green-700); background: var(--cream-2); }
.cal-weekdays, .cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem;
}
.cal-weekdays span {
  text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); padding: .25rem 0;
}
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--white);
  color: var(--green-900); font: inherit; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.cal-day:hover:not(:disabled):not(.is-off):not(.is-past) { background: var(--cream-2); transform: translateY(-1px); }
.cal-day.is-muted { visibility: hidden; pointer-events: none; }
.cal-day.is-off {
  background: #f4d4d0; color: #b4432e; cursor: not-allowed; opacity: .95;
}
.cal-day.is-past {
  background: #eceae6; color: #9a9590; cursor: not-allowed;
}
.cal-day.is-today:not(.is-off):not(.is-past) { box-shadow: inset 0 0 0 1.5px var(--gold-dark); }
.cal-day.is-selected {
  background: var(--green-800); color: var(--cream);
}
.cal-legend {
  display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .85rem;
  font-size: .78rem; color: var(--muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.cal-dot { width: .7rem; height: .7rem; border-radius: 50%; display: inline-block; }
.cal-dot-ok { background: var(--green-700); }
.cal-dot-past { background: #b8b3ad; }
.cal-dot-off { background: #b4432e; }
.cal-slots { margin-top: .15rem; }
.cal-back {
  display: inline-flex; align-items: center; gap: .25rem;
  margin: 0 0 .75rem; padding: 0; border: 0; background: transparent;
  color: var(--green-800); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
}
.cal-back:hover { color: var(--green-900); text-decoration: underline; }
.cal-slots-title { margin: 0 0 .25rem; font-size: .85rem; font-weight: 600; color: var(--green-900); }
.cal-slots-date { font-weight: 500; color: var(--muted); }
.cal-slots-hint {
  margin: 0 0 .85rem; font-size: .78rem; color: var(--muted);
}
.cal-slots-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem;
  max-height: 17rem; overflow-y: auto; padding-right: .15rem;
}
.cal-slot {
  display: flex; flex-direction: column; align-items: flex-start; gap: .15rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  color: var(--green-900); font: inherit; text-align: left;
  padding: .65rem .7rem; cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
}
.cal-slot:hover:not(:disabled) {
  border-color: var(--green-700); background: var(--cream-2); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 53, 47, .08);
}
.cal-slot.is-selected {
  background: var(--green-800); border-color: var(--green-800); color: var(--cream);
  box-shadow: none;
}
.cal-slot.is-past {
  background: #eceae6; color: #9a9590; cursor: not-allowed; opacity: .85;
}
.cal-slot-start {
  font-size: 1rem; font-weight: 700; letter-spacing: .01em; line-height: 1.1;
}
.cal-slot-range {
  font-size: .72rem; font-weight: 500; opacity: .75;
}
.cal-slot-dur {
  margin-top: .2rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-dark); background: rgba(194, 168, 120, .18);
  border-radius: 999px; padding: .18rem .45rem;
}
.cal-slot.is-selected .cal-slot-dur {
  color: var(--cream); background: rgba(255, 255, 255, .18);
}
.cal-slot.is-past .cal-slot-dur {
  color: #8a8580; background: rgba(0, 0, 0, .06);
}
.cal-selected { margin: .85rem 0 0; font-size: .88rem; font-weight: 600; color: var(--green-800); min-height: 1.2em; }

@media (max-width: 540px) {
  .cal-slots-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-toggle-meta { max-width: 42%; }
}
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.form-status { text-align: center; font-weight: 600; margin: .6rem 0 0; min-height: 1.2em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #b4432e; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b4432e !important;
  box-shadow: 0 0 0 3px rgba(180, 67, 46, .12);
}
.booking-calendar.is-invalid {
  border-color: #b4432e !important;
  box-shadow: 0 0 0 3px rgba(180, 67, 46, .12);
}
.btn.is-loading {
  position: relative; color: transparent !important; pointer-events: none;
}
.btn.is-loading::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: 1.15rem; height: 1.15rem; margin: -.575rem 0 0 -.575rem;
  border: 2px solid rgba(247, 242, 233, .35); border-top-color: var(--cream);
  border-radius: 50%; animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.booking-form.is-sent {
  box-shadow: 0 0 0 2px rgba(53, 118, 107, .35), var(--shadow);
  transition: box-shadow .35s var(--ease);
}
.hp-field {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
  left: 0 !important; top: 0 !important;
  pointer-events: none !important;
}
input:invalid.touched, select:invalid.touched, textarea:invalid.touched { border-color: #b4432e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--cream); padding: 3rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; align-items: center; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: stretch; width: max-content; gap: .3rem; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.9rem; }
.footer-brand .brand-hr { color: var(--brand-hr) !important; }
.footer-brand em {
  display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 0;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  text-align: center; color: rgba(247, 242, 233, .75); font-style: normal; font-weight: 600;
}
.footer-contact { display: flex; flex-direction: column; gap: .3rem; text-align: right; }
.footer-contact a:hover { color: var(--gold); }
.footer-legal {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
  justify-content: center; font-size: .85rem;
}
.footer-legal a { color: rgba(247, 242, 233, .8); }
.footer-legal a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(247,242,233,.15); padding-top: 1.3rem; margin: 0; font-size: .85rem; opacity: .8; text-align: center; }

/* ---------- Baner cookies ---------- */
.cookie-bar {
  position: fixed; z-index: 90;
  left: max(.75rem, env(safe-area-inset-left, 0px));
  right: max(.75rem, env(safe-area-inset-right, 0px));
  bottom: max(.75rem, env(safe-area-inset-bottom, 0px));
  width: auto;
  max-width: 420px;
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: stretch; gap: .75rem;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  padding: .95rem 1rem 1rem;
  box-shadow: 0 16px 40px -16px rgba(20, 53, 47, .45);
  animation: cookie-in .35s var(--ease);
}
.cookie-bar[hidden] { display: none; }
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.cookie-text {
  margin: 0; flex: none;
  font-size: .86rem; color: var(--muted); line-height: 1.45;
  text-align: center;
}
.cookie-actions {
  display: flex; flex-direction: column; align-items: stretch; gap: .55rem;
}
.cookie-link {
  font-size: .82rem; font-weight: 600; color: var(--green-800);
  text-decoration: underline; text-underline-offset: 3px;
  text-align: center; padding: .15rem 0;
}
.cookie-link:hover { color: var(--green-900); }
.cookie-accept {
  width: 100%; padding: .7rem 1.2rem; font-size: .92rem;
}
@media (min-width: 640px) {
  .cookie-bar {
    max-width: 560px;
    flex-direction: row; align-items: center; gap: 1rem;
    padding: .85rem 1rem;
  }
  .cookie-text { text-align: left; flex: 1 1 auto; }
  .cookie-actions {
    flex-direction: row; align-items: center; flex: 0 0 auto; gap: .85rem;
  }
  .cookie-accept { width: auto; padding: .55rem 1.25rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }

/* ---------- Strona prawna (polityka) ---------- */
.legal-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal-page .kicker { text-align: left; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.2rem; }
.legal-page h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 2.2rem 0 .6rem; scroll-margin-top: 96px; }
.legal-page p, .legal-page li { color: var(--ink); max-width: 70ch; }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin: 0 0 1em; }
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 2rem; font-weight: 600; color: var(--green-800); }
.legal-back:hover { color: var(--gold-dark); }
.lang-block[hidden] { display: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
/* Duże tablety / małe laptopy */
@media (max-width: 1024px) {
  .hero-inner { gap: 2rem; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { order: -1; width: 190px; }
  .problems-grid, .why-grid, .umow-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid, .models-grid { grid-template-columns: repeat(2, 1fr); }
  .eyebrow, .hero-flow, .hero-actions { text-align: center; justify-content: center; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .umow-copy { text-align: center; }
  .umow-copy .kicker { text-align: center; }
  .umow-copy > p { margin-inline: auto; }
  .contact-list { justify-items: center; }
  .contact-list li { justify-content: center; }
}

/* Duży telefon / mały tablet — menu mobilne */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 1.2rem 1.2rem; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .32s var(--ease); pointer-events: none;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: .9rem .2rem; border-bottom: 1px solid var(--line); }
  .main-nav a.btn-nav { margin-top: .8rem; border-bottom: none; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-brand { align-items: center; margin-inline: auto; }
  .brand { align-items: center; }
}

/* Telefon */
@media (max-width: 540px) {
  .container { width: min(100% - 2rem, var(--maxw)); }
  .services-grid, .models-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .brand-name { font-size: 1.7rem; }
  .card, .booking-form, .problems-right { padding: 1.5rem; }
  .btn { white-space: normal; }
  .hero-title, .section-title, .eyebrow, .kicker { overflow-wrap: anywhere; }
}

/* Małe telefony */
@media (max-width: 380px) {
  .brand-name { font-size: 1.5rem; }
  .header-tools { gap: .6rem; }
  .lang-switch { font-size: .8rem; }
  .cal-slots-grid { grid-template-columns: 1fr; }
}
