:root {
  /* Zgodne ze stroną główną index.html */
  --bg-page: #f5f4f0;
  --bg-green: #004b36;
  --bg-green-deep: #003d2c;
  --panel: #ffffff;
  --panel-soft: #fafaf8;
  --line: rgba(179, 155, 85, 0.38);
  --line-strong: rgba(179, 155, 85, 0.55);
  --text: #243029;
  --muted: #5c665e;
  --gold: #b39b55;
  --gold-soft: #c4ad6a;
  --text-on-dark: #f7f5ef;
  --shadow: 0 12px 40px rgba(0, 75, 54, 0.08);
  --radius-xl: 0px;
  --radius-lg: 0px;
  --radius-md: 0px;
  --container: 1280px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Alias dla istniejących selektorów w tym pliku */
  --paper: var(--bg-page);
  --paper-2: var(--panel-soft);
  --ink: var(--text);
  --ink-soft: var(--muted);
  --accent: var(--gold);
  --accent-hover: #9a863c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: calc(130px + var(--fe-funding-banner-h, 61px));
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--bg-page);
  font-weight: 400;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* ——— Nagłówek (jak .topbar na index.html) ——— */
.topbar,
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-green-deep);
  border-bottom: 2px solid var(--gold);
  color: var(--text-on-dark);
}

.topbar__inner,
.site-header__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  min-width: 0;
}

.topbar .nav,
.site-header .nav {
  justify-self: center;
  flex-wrap: nowrap;
}

.topbar__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.topbar__social li {
  margin: 0;
  padding: 0;
}

.topbar__social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(179, 155, 85, 0.55);
  color: var(--text-on-dark);
  background: transparent;
  border-radius: var(--radius-md);
}

.topbar__social a:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
}

.topbar__social svg {
  width: 18px;
  height: 18px;
}

.brand__seal {
  width: 58px;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  background: var(--bg-green);
  border: 1px solid var(--gold);
}

.brand__seal::after {
  content: "O";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  transform: translateY(-1px);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  color: var(--text-on-dark);
}

.brand__copy small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: rgba(247, 245, 239, 0.72);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.topbar .nav a,
.site-header .nav a {
  color: rgba(247, 245, 239, 0.88);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-block;
  padding: 8px 4px;
  border-bottom: none;
}

.topbar .nav a:hover,
.site-header .nav a:hover {
  color: var(--gold-soft);
}

.topbar .nav a[aria-current="page"],
.site-header .nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.actions,
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary,
.btn--solid {
  background: var(--gold);
  color: #1c1b18;
  border-color: var(--gold);
}

.btn--primary:hover,
.btn--solid:hover {
  background: #c0a761;
  border-color: #c0a761;
}

.btn--secondary,
.btn--ghost {
  background: var(--panel);
  color: var(--text);
  border-color: rgba(179, 155, 85, 0.7);
}

.btn--secondary:hover,
.btn--ghost:hover {
  background: var(--panel-soft);
  border-color: var(--gold);
}

.topbar .btn--secondary,
.topbar .btn--ghost,
.site-header .btn--secondary,
.site-header .btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
}

.topbar .btn--secondary:hover,
.topbar .btn--ghost:hover,
.site-header .btn--secondary:hover,
.site-header .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: var(--text-on-dark);
}

.topbar .btn--primary,
.topbar .btn--solid,
.site-header .btn--primary,
.site-header .btn--solid {
  color: #1c1b18;
}

/* ——— Hero: pełna szerokość ——— */
.hero {
  position: relative;
}

.hero__media {
  width: 100%;
  min-height: min(78vh, 52rem);
  background-color: var(--bg-green-deep);
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.52) 100%
    ),
    url("https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=2000&q=82");
  background-size: cover;
  background-position: center;
}

.hero__panel {
  position: relative;
  margin-top: -5rem;
  margin-bottom: 3rem;
  padding: 2.5rem 2.75rem 2.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .hero__panel {
    margin-top: -6.5rem;
    padding: 3rem 3.25rem 3.25rem;
    max-width: 52rem;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.lead {
  max-width: 38rem;
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .hero__grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.hero__note p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__hours {
  padding-top: 0.5rem;
}

.hero__hours .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero__hours strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.75rem;
}

.hero__hours span {
  font-size: 1rem;
  color: var(--ink-soft);
}

.hero__aside {
  margin-top: 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.hero__aside .kicker {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero__aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.hero__aside p {
  color: var(--muted);
  max-width: 36rem;
}

/* ——— Sekcje ——— */
section {
  padding-block: 4rem;
}

section + section {
  border-top: 1px solid var(--line);
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  display: block;
}

h2.section-title,
h3.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.intro__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.prose p + p {
  margin-top: 1rem;
}

.ambient {
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.ambient__image {
  min-height: 20rem;
  background-image: linear-gradient(
      180deg,
      rgba(247, 244, 239, 0) 40%,
      rgba(247, 244, 239, 0.85) 100%
    ),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.ambient__footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.ambient__footer strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.ambient__footer span {
  font-size: 0.9rem;
  color: var(--muted);
}

.menu__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .menu__grid {
    grid-template-columns: min(28%, 20rem) 1fr;
  }
}

.menu-note {
  position: sticky;
  top: 5.5rem;
}

.menu-note p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.link-line {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-line:hover {
  color: var(--accent-hover);
}

.menu-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .menu-list {
    grid-template-columns: 1fr 1fr;
  }
}

.menu-list article {
  padding: 1.5rem 1.5rem 1.65rem;
  border: 1px solid var(--line);
  background: #fff;
}

.dish-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.dish-head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.dish-head span {
  font-size: 0.9375rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

.menu-list ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.menu-list li {
  color: var(--muted);
  padding-left: 0.85rem;
  position: relative;
}

.menu-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  opacity: 0.5;
}

.gallery__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .gallery__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.gallery-collage {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  grid-template-rows: 12rem 9.5rem 9.5rem;
  gap: 0.75rem;
}

.gallery-collage article {
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  min-height: 8rem;
}

.gallery-collage article:nth-child(1) {
  grid-row: span 2;
  background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1200&q=80");
}

.gallery-collage article:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=1000&q=80");
}

.gallery-collage article:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1424847651672-bf20a4b0982b?auto=format&fit=crop&w=1000&q=80");
}

.gallery-collage article:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 11rem;
  background-image: url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1400&q=80");
}

.gallery-side p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.gallery-quote {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--accent);
}

.events__layout {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

@media (min-width: 900px) {
  .events__layout {
    grid-template-columns: 1fr 1fr;
  }
}

.event-visual {
  min-height: 22rem;
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.45) 100%
    ),
    url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.event-panel {
  padding: 2.25rem 2rem 2.5rem;
  display: grid;
  gap: 1.25rem;
  align-content: center;
}

.event-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.event-panel > p {
  color: var(--muted);
}

.offer-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0.5rem 0 0.25rem;
}

.offer-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.offer-list li:last-child {
  border-bottom: none;
}

.offer-list strong {
  color: var(--ink);
  font-weight: 600;
}

.contact__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact__layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-stack {
  display: grid;
  gap: 1.25rem;
}

.contact-panel,
.booking-panel {
  padding: 2rem;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-panel h3,
.booking-panel h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.contact-panel > p,
.booking-panel > p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-panel ul {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.contact-panel li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.2rem;
}

.contact-panel li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-panel strong {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.contact-panel span {
  color: var(--ink-soft);
}

.contact-image {
  min-height: 12rem;
  border: 1px solid var(--line);
  background-image: linear-gradient(
      180deg,
      rgba(247, 244, 239, 0) 50%,
      rgba(247, 244, 239, 0.9) 100%
    ),
    url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

.booking-panel form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.field,
textarea {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid rgba(179, 155, 85, 0.44);
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
  color: var(--text);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(0, 75, 54, 0.04);
}

.field::placeholder,
textarea::placeholder {
  color: rgba(92, 102, 94, 0.8);
}

.field:focus-visible,
textarea:focus-visible {
  border-color: var(--gold);
  background: #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(179, 155, 85, 0.2);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.btn--primary:focus-visible,
.btn--solid:focus-visible {
  outline-color: var(--bg-green-deep);
  box-shadow: none;
}

textarea {
  grid-column: 1 / -1;
  min-height: 8rem;
  resize: vertical;
  line-height: 1.65;
}

.availability {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.availability small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.availability strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 2px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer__inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__inner a:hover {
  color: var(--accent-hover);
}

@media (max-width: 859px) {
  .topbar__inner,
  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.35rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar__social {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .topbar .nav,
  .site-header .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    max-width: 100%;
    gap: 1.1rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .topbar .nav::-webkit-scrollbar,
  .site-header .nav::-webkit-scrollbar {
    display: none;
  }

  .topbar .nav a,
  .site-header .nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .menu-list {
    grid-template-columns: 1fr;
  }

  .gallery-collage {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 11rem);
  }

  .gallery-collage article:nth-child(1) {
    grid-row: auto;
  }

  .gallery-collage article:nth-child(4) {
    grid-column: auto;
  }

  .ambient__footer {
    grid-template-columns: 1fr;
  }

  .booking-panel form {
    grid-template-columns: 1fr;
  }

}

/* ——— WCAG: link „przejdź do treści” ——— */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--bg-green-deep);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid var(--gold);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  position: fixed;
}

/* ——— Strony modułów (rezerwacja / katering) ——— */
.page-intro {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-intro .lead {
  max-width: 42rem;
  margin-bottom: 0;
}

.notice-box {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 48rem;
}

.notice-box strong {
  color: var(--ink);
  font-weight: 600;
}

.form-page {
  padding-block: 2.5rem 4rem;
}

.form-page form {
  max-width: 40rem;
  display: grid;
  gap: 1.25rem;
}

.field-row {
  display: grid;
  gap: 0.4rem;
}

.field-row label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.field-row .hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: -0.15rem;
}

.field-row--full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.form-status[role="status"] {
  margin-top: 0.5rem;
}

fieldset.form-fieldset {
  border: 1px solid var(--line-strong);
  padding: 1.35rem 1.45rem 1.45rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.45);
}

fieldset.form-fieldset legend {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0 0.35rem;
  letter-spacing: 0.03em;
}

.form-grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-grid-2 .field-row--full {
  grid-column: 1 / -1;
}

/* ——— Główna: moduły zamiast formularza ——— */
.modules-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .modules-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.module-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.module-cta:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.module-cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.module-cta__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.module-cta__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}

.module-cta__text {
  font-size: 1rem;
  color: var(--muted);
  flex: 1;
}

.module-cta__go {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.strategic-note {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.strategic-note strong {
  color: var(--ink);
  font-weight: 600;
}

.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
}

.social-list a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-list a:hover {
  color: var(--accent-hover);
}

.contact-panel .social-wrap {
  margin-top: 0.5rem;
}

.contact-panel a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-panel a:hover {
  color: var(--accent-hover);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-row--check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(179, 155, 85, 0.24);
  background: linear-gradient(180deg, #fbfaf7 0%, #f6f2ea 100%);
}

.field-row--check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.28rem;
  flex-shrink: 0;
  accent-color: var(--bg-green);
}

.field-row--check label {
  font-weight: 400;
  color: var(--ink-soft);
}
