:root {
  --brand: #2e7d32; /* zielony, rolniczy vibe */
  --brand-ink: #ffffff;
  --ink: #1b1b1b;
  --muted: #5a6676;
  --bg: #f3e6cc; /* jasny beż z obrazka kota */
  --bg-soft: #eadfc7; /* nieco ciemniejsze tło dla kontrastu sekcji */
  --pattern-ink: #7a5a2e; /* kolor piktogramów w tle */
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --header-h: 72px;
  --maxw: 1200px;
  --float-w: 340px;
  --float-offset: 24px;
  --float-breath: 16px;
  --float-top: 120px;
  --vh: 1vh; /* will be updated via JS for mobile address bar correctness */
  --error: #d93025;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-family: "Gotham Rounded", "Avenir Next Rounded", "Varela Round",
    ui-rounded, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.45;
}

main{
  overflow-x: hidden; /* prevent horizontal scroll from parallax */
}

 /* Move reCAPTCHA v3 badge to the left */
 
 .grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
  bottom: 18px !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

/* reCAPTCHA v3 badge: nie koliduj z FAB-em
.grecaptcha-badge {
  right: 96px !important;
  bottom: 14px !important;
  z-index: 970;
} */
@media (max-width: 900px) {
  .grecaptcha-badge {
    /* right: 14px !important; */
    bottom: 18px !important;
  }
}

/* Subtle, tiled tech pattern derived from QR poster (performance-friendly, no JS) */
body {
  /* base color already from --bg; add an overlaid repeating SVG pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000'%3E%3Cdefs%3E%3Cstyle%3E*{stroke-linecap:round;stroke-linejoin:round}%3C/style%3E%3C/defs%3E%3Cg fill='%237A5A2E' fill-opacity='0.05' stroke='%237A5A2E' stroke-opacity='0.10'%3E%3C!-- COMIC STYLE smaller --%3E%3C!-- wifi cluster A --%3E%3Cg transform='translate(140 200) scale(0.9)'%3E%3Cpath d='M20 40a120 120 0 0 1 170 0' stroke-width='9' fill='none'/%3E%3Cpath d='M50 72a80 80 0 0 1 110 0' stroke-width='9' fill='none'/%3E%3Ccircle cx='105' cy='106' r='10'/%3E%3C/g%3E%3C!-- chip AI big --%3E%3Cg transform='translate(1020 140) rotate(-3) scale(0.9)'%3E%3Crect x='0' y='0' rx='14' ry='14' width='130' height='100' stroke-width='8' fill-opacity='0.06'/%3E%3Cpath d='M-14 18h14M130 18h14M-14 82h14M130 82h14M18 -14v14M112 -14v14M18 100v14M112 100v14' stroke-width='7'/%3E%3C/g%3E%3C!-- bulb --%3E%3Cg transform='translate(360 700) scale(1.1)'%3E%3Cpath d='M0 0c0-48 40-88 88-88s88 40 88 88c0 28-18 46-32 56H32C18 46 0 28 0 0z' stroke-width='8'/%3E%3Crect x='40' y='64' width='96' height='18' rx='9' stroke-width='0'/%3E%3Crect x='48' y='88' width='80' height='14' rx='7' stroke-width='0'/%3E%3C/g%3E%3C!-- molecule --%3E%3Cg transform='translate(1270 720) scale(0.95)'%3E%3Ccircle cx='60' cy='60' r='14' stroke-width='8'/%3E%3Ccircle cx='118' cy='22' r='10' stroke-width='7'/%3E%3Ccircle cx='10' cy='14' r='10' stroke-width='7'/%3E%3Cpath d='M60 60l46-30M58 58L18 18' stroke-width='7'/%3E%3C/g%3E%3C!-- wifi small --%3E%3Cg transform='translate(760 420) scale(0.85)'%3E%3Cpath d='M10 30a110 110 0 0 1 156 0' stroke-width='8' fill='none'/%3E%3Cpath d='M40 60a70 70 0 0 1 96 0' stroke-width='8' fill='none'/%3E%3Ccircle cx='88' cy='92' r='9'/%3E%3C/g%3E%3C!-- chip small --%3E%3Cg transform='translate(560 180) rotate(6) scale(0.85)'%3E%3Crect x='0' y='0' rx='12' ry='12' width='100' height='76' stroke-width='7' fill-opacity='0.06'/%3E%3Cpath d='M-12 14h12M100 14h12M-12 62h12M100 62h12M14 -12v12M86 -12v12M14 76v12M86 76v12' stroke-width='6'/%3E%3C/g%3E%3C!-- comic stars/dots --%3E%3Cg stroke-width='0'%3E%3Ccircle cx='150' cy='120' r='5'/%3E%3Ccircle cx='1540' cy='160' r='4'/%3E%3Ccircle cx='980' cy='930' r='4'/%3E%3Ccircle cx='420' cy='520' r='3.5'/%3E%3Cpath d='M840 160l4 7 7 4-7 4-4 7-4-7-7-4 7-4z'/%3E%3Cpath d='M1120 600l3 5.2 5.2 3-5.2 3-3 5.2-3-5.2-5.2-3 5.2-3z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 1600px 1200px; /* taller tile to avoid visible repeats when drifting */
  background-repeat: repeat;
  background-color: var(--bg);
  background-attachment: scroll; /* default */
}

@media (min-width: 900px) {
  body {
    background-attachment: fixed;
    background-position: center top;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: var(--shadow);
  z-index: 1001;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand .logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--brand-ink);
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.35);
  font-weight: 900;
}
nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}
nav a:hover,
nav a.is-active {
  background: var(--bg-soft);
}

/* Micro-animations: nav underline + ext-link arrow nudge */
nav a {
  position: relative;
  overflow: hidden;
}
nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.9;
}
nav a:hover::after,
nav a.is-active::after {
  transform: scaleX(1);
}

.ext-link {
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ext-link:hover {
  color: #225c27;
  border-color: rgba(46, 125, 50, 0.5);
}
.ext-link svg {
  transition: transform 0.2s ease;
}
.ext-link:hover svg {
  transform: translateX(3px);
}

/* Buttons: subtle lift */
.btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
  transform: none;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  border-radius: 10px;
}
.hamburger svg {
  width: 26px;
  height: 26px;
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.25) blur(12px);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  margin: 0;
}
.mobile-menu li {
  list-style: none;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease,
    border-color 0.18s ease;
}
.mobile-menu a::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18l6-6-6-6"/></svg>')
    center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18l6-6-6-6"/></svg>')
    center / contain no-repeat;
  background: currentColor;
  opacity: 0.65;
  margin-left: 10px;
}
.mobile-menu a:hover {
  background: var(--bg-soft);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.mobile-menu a:active {
  transform: translateY(1px);
}
.mobile-menu a.is-active {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.35);
  color: #225c27;
}

/* Containers */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  padding: clamp(48px, 5vw, 96px) 0 48px;
  background: radial-gradient(
      1200px 600px at 80% -50px,
      rgba(46, 125, 50, 0.12),
      transparent 60%
    ),
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92));
}
.hero .inner {
  display: block;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.05;
  margin: 0 0 10px;
}
.hero p {
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--muted);
  margin: 0 0 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 2px solid var(--brand);
  color: var(--brand);
  background: #fff;
}
.btn.primary {
  background: var(--brand);
  color: var(--brand-ink);
}
.btn:hover {
  filter: brightness(1.05);
}
.hero-visual {
  aspect-ratio: 4/3;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: inherit;
}

/* Sections */
section.feature {
  padding: clamp(48px, 6vw, 96px) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: transparent;
}
.feature .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 28px;
  align-items: start;
}
.feature:nth-child(even) .grid {
  direction: rtl;
}
.feature:nth-child(even) .grid > * {
  direction: ltr;
}
.feature h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  margin: 0 0 8px;
}
.feature p {
  color: var(--muted);
  margin: 0 0 12px;
}
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
  border-bottom: 2px solid rgba(46, 125, 50, 0.25);
  padding-bottom: 2px;
}
.ext-link svg {
  width: 16px;
  height: 16px;
}

/* Polaroid images */
.polaroid {
  width: 100%;
  max-width: 640px;
  background: #fff;
  padding: 14px 14px 44px; /* większy dół jak w polaroidzie */
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.5s ease, box-shadow 0.3s ease, translate 0.5s ease,
    opacity 0.5s ease;
  opacity: 0;
  translate: var(--start-x, 0) var(--start-y, 10px);
  margin: 8px;
  transform-origin: center;
  --parallax-y: 0px;
  position: relative;
  cursor: pointer;
}
.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.polaroid.in-view {
  opacity: 1;
  translate: 0 var(--parallax-y, 0px);
  box-shadow: var(--shadow);
}
.polaroid:hover {
  transform: rotate(0deg) scale(1.01);
}

.polaroid-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.polaroid-footer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  pointer-events: none; /* whole card is clickable via wrapping anchor */
}
.polaroid-footer svg {
  width: 14px;
  height: 14px;
}

.copy {
  min-width: 0;
}

/* Floating contact (desktop) */
.contact-float {
  position: fixed;
  right: 24px;
  top: var(--float-top);
  width: 340px;
  z-index: 950;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(var(--vh, 1vh) * 100 - var(--float-top) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.contact-float h3 {
  margin: 0;
  font-size: 20px;
}
.contact-float form {
  display: grid;
  gap: 10px;
}
.field {
  display: grid;
  gap: 6px;
  position: relative;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.consent {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.consent input {
  margin-top: 3px;
}
.contact-float .small {
  font-size: 12px;
  color: var(--muted);
}
.contact-float .submit {
  justify-content: center;
}

/* Error states for inline validation */
.field.error input,
.field.error textarea {
  border-color: var(--error);
}
.error-text {
  color: var(--error);
  font-size: 12px;
  margin-top: 4px;
}

/* Success flash for Message field on polaroid click */
@keyframes flash-success-border {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
  30% {
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.22);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}
.field.flash-success textarea {
  border-color: var(--brand);
  animation: flash-success-border 900ms ease-out;
}
/* Success tick and green circle for flash-success */
/* Success tick and green circle for flash-success */
.field.flash-success::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 6px 12px rgba(46, 125, 50, 0.35);
  transform: scale(0.8);
  opacity: 0;
  animation: success-pop 800ms ease-out forwards;
  z-index: 1;
  pointer-events: none;
}
@keyframes success-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  35% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* Tick mark drawn above the green circle, centered inside 22×22 box */
.field.flash-success::before {
  content: "";
  position: absolute;
  right: calc(
    10px + (22px - 12px) / 2 - 1px
  ); /* center tick width (12px) inside 22px circle, shifted 1px right */
  bottom: calc(
    10px + (22px - 7px) / 2
  ); /* center tick height (7px) inside 22px circle */
  width: 12px;
  height: 7px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
  animation: tick-in 800ms ease-out forwards;
  z-index: 2;
  pointer-events: none;
}
@keyframes tick-in {
  0% {
    opacity: 0;
    transform: translateY(2px) rotate(-45deg);
  }
  40% {
    opacity: 1;
    transform: translateY(0) rotate(-45deg);
  }
  100% {
    opacity: 1;
  }
}

/* Mobile FAB + modal */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 980;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(46, 125, 50, 0.4);
  border: none;
}
.fab svg {
  width: 26px;
  height: 26px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 999;
  display: flex; /* keep layout but control interactivity via opacity */
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  will-change: opacity;
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal.open.closing {
  opacity: 0;
  pointer-events: none;
}
.sheet {
  background: #fff;
  width: 100%;
  border-radius: 24px 24px 0 0;
  padding: 18px 16px 24px;
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.2);
  max-height: calc(var(--vh, 1vh) * 85);
  overflow: auto;
  transform: translateY(100%);
  transition: transform 0.28s ease;
}
/* When modal is opened, keep sheet at start position until we add .animate */
.modal.open .sheet {
  transform: translateY(100%);
}
.modal.open .sheet.animate {
  transform: translateY(0);
}
.modal.closing .sheet {
  transform: translateY(100%);
}
.sheet h3 {
  margin: 0 0 8px;
}

.sheet .close {
  position: absolute;
  right: 16px;
  top: 10px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 10px;
}

/* Make the reCAPTCHA notice match consent styling on mobile */
/* Mobile reCAPTCHA/consent alignment: use flex and ::before spacer for checkbox+gap width */
.sheet .small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 6px;
  margin-left: 28px; /* align with consent text start */
  display: block; /* ensure inline flow for text + links */
}
.sheet .small a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

/* Document modal */
.doc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.doc-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.doc-sheet {
  width: min(92vw, 960px);
  height: min(86vh, 1000px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: scale(0.98) translateY(6px);
  transition: transform 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.doc-modal.open .doc-sheet {
  transform: scale(1) translateY(0);
}
.doc-sheet h3 {
  margin: 16px 48px 8px 16px;
  font-size: 18px;
}
.doc-sheet .close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 10px;
}
.doc-sheet .doc-content {
  width: 100%;
  flex: 1;
  overflow: auto;
  padding: 0 16px 16px;
  border-radius: 0 0 16px 16px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
.doc-sheet .doc-content h4 {
  margin: 8px 0 8px;
  font-size: 16px;
}
.doc-sheet .doc-content ul {
  margin: 8px 0 12px 18px;
}
.doc-sheet .doc-content li {
  margin: 4px 0;
}

/* Cookie drawer */
.cookie-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.1);
  padding: 16px 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-drawer.open {
  transform: translateY(0);
}
.cookie-drawer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.cookie-drawer a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}
.cookie-drawer .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-drawer button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
}
.cookie-drawer button.accept {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 8px 14px;
}

/* Footer */
footer {
  margin-top: 48px;
  padding: 28px 0;
  background: var(--bg-soft);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--muted);
}
footer a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

/* Keep content clear of floating contact on wide screens */
@media (min-width: 901px) {
  .has-float-right .nav-wrap,
  .has-float-right .container {
    padding-right: calc(
      var(--float-w) + var(--float-offset) + var(--float-breath)
    );
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .contact-float {
    display: none;
  } /* ukryj pływający formularz na mobile/tablet */
  .hamburger {
    display: inline-flex;
  }
  nav ul {
    display: none;
  }
  .mobile-menu {
    padding-top: 8px;
  }
}
@media (max-width: 760px) {
  .feature .grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 22px;
  }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  .polaroid {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .polaroid.in-view {
    translate: 0 0 !important;
  }
}

.hidden {
  display: none !important;
}
.form-status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.success-status {
  color: #1b5e20;
  background: rgba(46, 125, 50, 0.1);
  padding: 6px 10px;
  border: 1px solid rgba(46, 125, 50, 0.35);
  border-radius: 10px;
}
.error-status {
  color: #b00020;
  background: rgba(176, 0, 32, 0.1);
  padding: 6px 10px;
  border: 1px solid rgba(176, 0, 32, 0.35);
  border-radius: 10px;
}
