:root {
  /* Jasna, naturalna paleta: piasek, biel i morski granat */
  --bg: #faf7f1;
  --bg-2: #f1ebe0;
  --surface: #ffffff;
  --surface-2: #f6f1e8;
  --ink: #1f2f3d;
  --muted: #4c5a66;
  --gold: #1f5a73;
  --gold-light: #164556;
  --gold-deep: #143e4f;
  --on-gold: #ffffff;
  --line: #ddd3c3;
  --field-border: #868b90;
  --focus: #b5541d;
  --radius: 18px;
  --font-head: "Fraunces Variable", Georgia, serif;
  --font-body: "Nunito Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .6em;
}

h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); color: var(--ink); letter-spacing: .005em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--gold); text-underline-offset: .18em; }
a:hover { color: var(--gold-light); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, 1140px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--gold);
  color: var(--on-gold);
  padding: .6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 1rem; color: var(--on-gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--on-gold);
  font: 700 1rem/1.2 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--on-gold); transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: .5rem 1.15rem; }
.btn-block { width: 100%; }
.btn-light { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn-light:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--on-gold); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--on-gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--gold-light); }
.brand img { width: 60px; height: 60px; border-radius: 12px; }
.brand-name { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 22px; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; transform: none; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.25rem;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: .5rem 0;
}
.site-nav a:not(.btn):hover { color: var(--gold); text-decoration: underline; }

@media (max-width: 799px) {
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 1rem; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .js .site-nav a:not(.btn) { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .js .site-nav .btn { margin-top: .75rem; width: 100%; }
  .site-nav { padding-bottom: .75rem; }
}

/* Hero */
.hero { position: relative; background: var(--bg); }
.hero-media img {
  width: 100%;
  height: clamp(280px, 52vw, 720px);
  object-fit: cover;
}
.hero-content { position: relative; }
.hero-card {
  position: relative;
  margin-top: -3.5rem;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(31, 47, 61, .18);
  margin-bottom: 2.5rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.9rem);
  color: var(--ink);
  margin-bottom: .45em;
}
.hero h1 span {
  display: block;
  font-size: .48em;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  margin-top: .45em;
}
.hero-lead { font-size: 1.125rem; max-width: 38rem; color: var(--muted); }
.eyebrow {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.eyebrow-dark { color: var(--gold); }
.eyebrow-light { color: var(--gold); }
.hero .eyebrow { color: var(--gold); }

.hero-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
  padding: .55rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  margin: .5rem 0 1.5rem;
}
.hero-price strong { font-family: var(--font-head); font-size: 1.8rem; line-height: 1; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 900px) {
  .hero-media img { height: min(82vh, 760px); }
  .hero-content {
    position: absolute;
    left: 0; right: 0; bottom: 3rem;
  }
  .hero-card { margin: 0; max-width: 40rem; }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); }

/* Price */
.section-price { background: var(--bg-2); border-top: 1px solid var(--line); }
.price-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.price-grid > div > p { color: var(--muted); max-width: 34rem; }
.waves {
  width: 160px; height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  margin-top: 1rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: 10px 10px 0 rgba(31, 90, 115, .12);
}
.price-card h3 { color: var(--ink); margin-bottom: .3rem; }
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.25rem;
  color: var(--gold);
}
.price-from, .price-unit { font-weight: 700; font-size: 1.15rem; color: var(--muted); }
.price-amount {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(3rem, 2.2rem + 3vw, 4.25rem);
  line-height: 1;
}
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li {
  position: relative;
  padding: .45rem 0 .45rem 2rem;
  border-bottom: 1px dashed var(--line);
}
.checks li::before {
  content: "";
  position: absolute;
  left: .2rem; top: .95rem;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.price-note { font-size: .95rem; color: var(--muted); margin: 1rem 0 0; }

@media (min-width: 860px) {
  .price-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
}

/* Rooms */
.rooms { display: grid; gap: 1.5rem; }
.room { margin: 0; }
.room img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
.room-wide img { aspect-ratio: 16 / 10; }
.room:not(.room-wide) img { aspect-ratio: 3 / 4; }
.room figcaption { margin-top: .75rem; color: var(--muted); font-size: .98rem; }

@media (min-width: 900px) {
  .rooms { grid-template-columns: 1.7fr 1fr; align-items: start; }
  .room-wide img { aspect-ratio: auto; height: 100%; min-height: 0; }
  .rooms { align-items: stretch; }
  .room-wide { display: flex; flex-direction: column; }
  .room-wide img { flex: 1; }
}

/* Sea */
.section-sea { background: var(--bg-2); color: var(--ink); position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.section-sea h2 { color: var(--ink); }
.section-sea .section-head p { color: var(--muted); }
.features {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 1.25rem;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.features svg {
  width: 48px; height: 48px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}
.features h3 { color: var(--ink); }
.features p { color: var(--muted); margin: 0; }

@media (min-width: 760px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* Contact */
.section-contact { background: var(--bg); }
.contact-grid { display: grid; gap: 2.5rem; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.contact-label {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a { font-weight: 700; font-size: 1.15rem; overflow-wrap: anywhere; }
.contact-list .contact-big {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  text-decoration: none;
}
.contact-list .contact-big:hover { text-decoration: underline; }
.contact-list .fb-link { display: inline-flex; align-items: center; gap: .5rem; }
.fb-link svg { flex-shrink: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: 0 16px 40px rgba(31, 47, 61, .1);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: .75rem .9rem;
  border: 2px solid var(--field-border);
  border-radius: 10px;
  background: var(--surface);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible,
.field textarea:focus-visible { border-color: var(--gold); }
.field textarea::placeholder { color: #69727a; }
.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin: .5rem 0 1.4rem;
  font-size: .95rem;
  color: var(--muted);
}
.consent input { width: 22px; height: 22px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-form-status] { margin: 1rem 0 0; font-weight: 700; color: var(--gold-light); }
[data-form-status]:empty { display: none; }

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
}

.map-wrap { margin-top: 3rem; }
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* Footer */
.site-footer { background: #ebe3d5; color: var(--muted); padding-block: 2.5rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
