*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --bg-alt: color-mix(in srgb, var(--bg) 78%, #000);
  --surface-2: color-mix(in srgb, var(--surface) 88%, #fff);
  --border: rgba(255, 255, 255, .085);
  --accent-soft: color-mix(in srgb, var(--accent) 20%, transparent);
  --accent-hover: color-mix(in srgb, var(--accent) 86%, #fff);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

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

a {
  color: inherit
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700
}

p {
  margin: 0
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

.ic {
  flex: none
}

.ml {
  white-space: pre-line
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 32px
}

@media(max-width:700px) {
  .container {
    padding-inline: 20px
  }
}

.blk {
  position: relative
}

.pad-none {
  padding-block: 0
}

.pad-sm {
  padding-block: clamp(32px, 5vw, 56px)
}

.pad-md {
  padding-block: clamp(56px, 8vw, 104px)
}

.pad-lg {
  padding-block: clamp(80px, 11vw, 150px)
}

.bg-default {
  background: transparent
}

.bg-alt {
  background: var(--bg-alt)
}

.bg-surface {
  background: var(--surface)
}

.bg-green {
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 38%, #101311) 0%, color-mix(in srgb, var(--accent) 14%, #16191a) 60%, #16191a 100%)
}

.bg-glow {
  background: radial-gradient(60% 80% at 80% 0%, var(--accent-soft), transparent 70%), var(--bg)
}

.bg-light,
.bg-white {
  background: #f7f9f8;
}

.bg-pattern-dots-light {
  background-color: #f8faf9;
  background-image: radial-gradient(rgba(0, 0, 0, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.bg-pattern-grid-light {
  background-color: #ffffff;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-pattern-dots-dark {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.bg-pattern-grid-dark {
  background-color: var(--bg);
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.theme-light {
  --bg: #f8faf9;
  --bg-alt: #eef2f0;
  --text: #181c1a;
  --muted: #535c57;
  --surface: #ffffff;
  --surface-2: #f0f4f2;
  --border: rgba(0, 0, 0, 0.08);
  color: var(--text);
}

.theme-light h1,
.theme-light h2,
.theme-light h3,
.theme-light h4 {
  color: #121514;
}

.font-size-sm { font-size: 14.5px; }
.font-size-lg { font-size: 18px; }
.font-size-xl { font-size: 20px; }

.text-col-dark { color: #181c1a; }
.text-col-dark h1, .text-col-dark h2, .text-col-dark h3, .text-col-dark h4, .text-col-dark p { color: #181c1a; }
.text-col-light { color: #ffffff; }
.text-col-accent { color: var(--accent-2); }

.is-hidden {
  opacity: .35
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 64px)
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
  align-items: center
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.sec-head.center .eyebrow {
  align-self: center
}

.sec-title {
  font-size: clamp(30px, 4.2vw, 48px)
}

.sec-text {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent)
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent) 90%, transparent)
}

.btn-ghost {
  background: var(--ghost-bg, rgba(255, 255, 255, .04));
  border-color: var(--border);
  color: var(--text)
}

.btn-ghost:hover {
  background: var(--ghost-bg-hover, rgba(255, 255, 255, .09));
  border-color: var(--ghost-border-hover, rgba(255, 255, 255, .2))
}

.btn-sm {
  padding: 11px 20px;
  font-size: 14px;
  border-radius: 10px
}

.btn .ic {
  transition: transform .25s var(--ease)
}

.btn:hover .ic {
  transform: translateX(3px)
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px
}

.link-arrow .ic {
  transition: transform .25s var(--ease)
}

.link-arrow:hover .ic {
  transform: translateX(4px)
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015)), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6)
}

/* formularze modułów (kontakt, formularz, rezerwacja, newsletter): jeden wygląd pól z kolorów i zaokrągleń motywu */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 40px)
}

.contact-form:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border)
}

.contact-form .btn {
  align-self: flex-start
}

.contact-form .btn[disabled] {
  opacity: .6;
  cursor: wait
}

.f-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px
}

.f-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted)
}

.f-field input,
.f-field select,
.f-field textarea,
.f-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: min(12px, var(--radius));
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  color: var(--text);
  font: 400 15.5px var(--font-body);
  resize: vertical;
  transition: border-color .25s, box-shadow .25s, background .25s
}

.f-field input::placeholder,
.f-field textarea::placeholder,
.f-input::placeholder {
  color: color-mix(in srgb, var(--muted) 65%, transparent)
}

.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus,
.f-input:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: var(--bg)
}

.f-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text)
}

.f-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--accent)
}

/* pułapka na boty: pole niewidoczne dla ludzi; wypełnione = spam */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0
}

.form-status {
  min-height: 22px;
  font-size: 14.5px;
  color: var(--muted)
}

.form-status.ok {
  color: var(--accent-2)
}

.form-status.err {
  color: color-mix(in srgb, #e5484d 75%, var(--text))
}

.f-privacy {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted)
}

.f-privacy a {
  color: inherit
}

.icon-bubble {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.img-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.js .reveal.in {
  opacity: 1;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  html {
    scroll-behavior: auto
  }
}

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 24px 60px
}

.notfound h1 {
  font-size: clamp(64px, 12vw, 140px);
  color: var(--accent-2)
}

.preview-ribbon {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 99;
  background: #f5c542;
  color: #222;
  padding: 8px 16px;
  border-radius: 999px;
  font: 600 13px var(--font-body);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4)
}

::selection {
  background: var(--accent);
  color: #fff
}

.mode-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45);
}

.mode-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px
}
