/* lomi.piotrzientara.pl: hawajski spokój. Kolory z certyfikatu (turkus, granat oceanu, złoty pas). */
:root {
  --deep: #123847;
  --ocean: #1b4a5c;
  --teal: #4e8ca3;
  --foam: #cfe6ea;
  --sand: #f6f1e8;
  --sand-2: #ece3d3;
  --gold: #b08a4e;
  --ink: #1e3f4c;
  --muted: #5d7680;
  --white: #fffdf9;
  --taken: #d8cdbb;
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; color: var(--ocean); }
h2 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 18px; }
h3 { font-size: 26px; margin-bottom: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0 0 12px; }
.eyebrow.light { color: #e2c792; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 16px/1 var(--sans); letter-spacing: .02em;
  padding: 17px 30px; border-radius: 999px; border: 0;
  background: var(--gold); color: #fff;
  box-shadow: 0 10px 30px -12px rgba(18, 56, 71, .55);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); background: #9b773e; }
.btn:disabled { background: #b9b0a2; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ocean); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-ghost:hover { background: var(--foam); }
.btn-full { width: 100%; padding: 19px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  min-height: min(100vh, 980px); min-height: min(100svh, 980px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0f3140 0%, #1b4a5c 38%, #3f7f97 74%, #6ea8b8 100%);
}
.hero-sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(207, 230, 234, .18), transparent 70%),
    radial-gradient(ellipse 30% 20% at 80% 12%, rgba(226, 199, 146, .14), transparent 70%);
}
.top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; }
.mark { font-family: var(--serif); font-size: 22px; letter-spacing: .04em; }
.top-cta { color: var(--white); text-decoration: none; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.hero-in { position: relative; z-index: 2; text-align: center; max-width: 960px; margin: 0 auto; padding: 6vh 20px 0; flex: 1; }
.aloha { font-family: var(--serif); font-style: italic; font-size: 24px; color: #e2c792; margin: 0 0 6px; }
.hero h1 { color: var(--white); font-size: clamp(58px, 11vw, 120px); font-weight: 400; letter-spacing: .01em; }
.lead { font-size: clamp(18px, 2.2vw, 21px); font-weight: 300; max-width: 560px; margin: 18px auto 26px; color: #e9f3f5; }
.facts { list-style: none; padding: 0; margin: 0 auto 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.facts li span { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.honu-wrap { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: 6vh; margin-bottom: -70px; }
.honu { width: min(380px, 70vw); opacity: .9; animation: swim 9s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(10, 40, 52, .35)); }
@keyframes swim { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.waves { position: relative; z-index: 2; display: block; width: 100%; height: 120px; margin-top: -40px; }
.waves .w1 { fill: rgba(207, 230, 234, .35); animation: drift 14s ease-in-out infinite; }
.waves .w2 { fill: rgba(236, 227, 211, .7); animation: drift 11s ease-in-out infinite reverse; }
.waves .w3 { fill: var(--sand); }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-30px); } }

/* ---------- treść ---------- */
section { padding: 90px 0; }
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.intro p { margin: 0 0 16px; }
.quote { margin: 0; padding: 40px 34px; border-radius: var(--radius); background: var(--white); position: relative; box-shadow: 0 20px 50px -30px rgba(18, 56, 71, .35); }
.quote::before { content: ""; position: absolute; left: 34px; top: 0; width: 46px; height: 3px; background: var(--gold); }
.quote blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1.3; color: var(--ocean); }
.quote figcaption { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-top: 0; }
.step { padding: 30px 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--white), var(--sand-2)); }
.step .num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 16px; font-family: var(--serif); font-size: 20px; color: var(--white); background: var(--teal); }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.cert { background: linear-gradient(160deg, var(--ocean), #2b6378); color: #e9f3f5; }
.cert h2 { color: var(--white); }
.cert-in { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.cert-img img { border-radius: 10px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); transform: rotate(-2deg); transition: transform .4s ease; }
.cert-img:hover img { transform: rotate(0) scale(1.02); }
.cert-text p { font-size: 18px; font-weight: 300; max-width: 520px; }

/* ---------- rezerwacja ---------- */
.book .sub { color: var(--muted); margin: -6px 0 30px; }
.alert { background: #fbe9df; color: #7a3416; border-radius: 12px; padding: 14px 18px; margin-bottom: 24px; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.cal, .form { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: 0 20px 50px -34px rgba(18, 56, 71, .45); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-title { font-family: var(--serif); font-size: 26px; color: var(--ocean); text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ocean); font-size: 24px; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-dow span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 6px; }
.cal-days button, .cal-days span { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 500 16px var(--sans); border: 0; }
.cal-days span.off { color: #c4bcae; }
.cal-days span.taken { color: #a89c88; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(176,138,78,.12) 5px 7px); text-decoration: line-through; }
.cal-days button { cursor: pointer; background: var(--foam); color: var(--ocean); transition: background .2s, color .2s, transform .2s; }
.cal-days button:hover { background: var(--teal); color: #fff; transform: scale(1.06); }
.cal-days button.sel { background: var(--gold); color: #fff; box-shadow: 0 6px 16px -6px rgba(176,138,78,.8); }
.cal-legend { margin: 18px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.dot.free { background: var(--foam); } .dot.taken { background: var(--taken); margin-left: 12px; }
.cal-off { color: var(--muted); font-size: 15px; }

.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ocean); margin-bottom: 14px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]), .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 16px var(--sans); color: var(--ink);
  border: 1px solid #d9cfbf; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(78, 140, 163, .18); }
.form .check { display: flex; gap: 10px; font-weight: 400; color: var(--ink); align-items: flex-start; }
.form .check input { margin-top: 5px; accent-color: var(--teal); width: 18px; height: 18px; flex: none; }
.form .hp { position: absolute; left: -9999px; }
.chosen { font-family: var(--serif); font-size: 22px; color: var(--muted); padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--sand-2); }
.chosen.ok { color: var(--ocean); }
.chosen small { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.pay-note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- miejsce ---------- */
.place { background: var(--sand-2); }
.place-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: center; }
address { font-style: normal; font-family: var(--serif); font-size: 30px; line-height: 1.25; color: var(--ocean); margin-bottom: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 18px; }
.place .links a { font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -30px rgba(18, 56, 71, .5); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.7) hue-rotate(-8deg); }

/* ---------- zasady ---------- */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 50px; }
.rules-grid h3 { font-size: 24px; }
.rules-grid p { margin: 0; color: var(--muted); font-size: 16px; }

.foot { text-align: center; padding: 70px 20px 60px; background: var(--deep); color: #b7cfd6; font-size: 15px; }
.foot a { color: #e2c792; }
.foot-honu { margin: 0 auto 18px; opacity: .7; width: 120px; }
.mahalo { font-family: var(--serif); font-style: italic; font-size: 24px; color: #e2c792; margin: 8px 0 0; }

/* ---------- strony pojedyncze (podziękowanie, 404) ---------- */
body.solo { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: linear-gradient(180deg, #0f3140, #1b4a5c 50%, #4e8ca3); }
.solo-card { max-width: 560px; width: 100%; text-align: center; background: var(--white); border-radius: 24px; padding: 44px 30px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.solo-honu { width: 150px; margin: -10px auto 18px; filter: brightness(0) saturate(100%) invert(47%) sepia(37%) saturate(510%) hue-rotate(152deg) brightness(91%) contrast(88%); }
.solo h1 { font-size: clamp(34px, 6vw, 44px); margin-bottom: 14px; }
.solo .when { font-family: var(--serif); font-size: 26px; color: var(--ocean); margin: 0 0 4px; }
.solo address { font-size: 20px; color: var(--muted); }
.solo .links { justify-content: center; margin: 24px 0; }
.solo .small { font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .intro, .cert-in, .book-grid, .place-in { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .cert-in { justify-items: center; }
  .cert-img { max-width: 260px; }
  .rules-grid { grid-template-columns: 1fr; }
  .map iframe { height: 300px; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .cal, .form { padding: 18px; }
  .cal-days { gap: 4px; }
  .cal-days button, .cal-days span { font-size: 15px; }
  .hero-in { padding-top: 3vh; }
}
@media (prefers-reduced-motion: reduce) {
  .honu, .waves path { animation: none; }
  html { scroll-behavior: auto; }
}
.cal-off { grid-column: 1 / -1; }

/* ---------- opinia ---------- */
.review { padding-bottom: 0; text-align: center; }
.review-card { margin: 0 auto; max-width: 760px; padding: 44px 40px 40px; border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 50px -30px rgba(18, 56, 71, .35); position: relative; }
.review-card::before { content: ""; position: absolute; left: 50%; top: 0; width: 46px; height: 3px; margin-left: -23px; background: var(--gold); }
.review .score { font-variant-numeric: lining-nums; margin: 0 0 14px; font-family: var(--serif); font-size: 22px; color: var(--muted); }
.review .score span { font-size: 54px; line-height: 1; color: var(--gold); }
.review blockquote { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 28px); line-height: 1.35; color: var(--ocean); }
.review figcaption { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--teal); }
@media (max-width: 480px) { .review-card { padding: 36px 22px 30px; } }
