/* Pure Pearl – style produkcyjne */

/* ---------- fonty (hostowane lokalnie) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 600; font-display: swap; src: url(../fonts/cormorant-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/jost-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/jost-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- zmienne ---------- */
:root {
  --bg: #fffdf9;
  --cream: #f3eadc;
  --cream-2: #e9ddca;
  --gold: #b08a4e;      /* linie, ozdobniki, duże litery */
  --gold-d: #7f6131;    /* tekst w kolorze złota (kontrast AA także na kremowym tle) */
  --gold-btn: #8a6a36;  /* tło przycisków (biały tekst AA) */
  --gold-l: #d9c39b;
  --ink: #2f2a25;
  --muted: #6b6158;
  --line: #e6dccb;
  --error: #a8432a;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --top-h: 80px;
}

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3, .h3 { font-size: 24px; }
p { text-wrap: pretty; }
em { font-style: italic; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.wrap--narrow { width: min(820px, 100% - 48px); }
.eyebrow { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 14px; font-weight: 400; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- przyciski ---------- */
.btn { display: inline-block; padding: 15px 30px; font: 400 14px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; text-align: center; border: 1px solid var(--gold-btn); border-radius: 40px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn--gold { background: var(--gold-btn); color: #fff; }
.btn--gold:hover { background: #6f5429; border-color: #6f5429; color: #fff; }
.btn--line { color: var(--gold-d); background: transparent; }
.btn--line:hover { background: var(--gold-btn); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- nagłówek ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 32px; height: var(--top-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-d); }
.brand__mark { width: auto; height: 56px; mix-blend-mode: multiply; }
.brand__txt { font: 500 22px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; letter-spacing: .06em; color: var(--ink); text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--gold); transition: right .25s; }
.nav a:hover::after { right: 0; }
.nav .nav__tel { display: none; }
.top__tel { font: 500 20px var(--serif); color: var(--gold-d); text-decoration: none; white-space: nowrap; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; background: radial-gradient(ellipse at 80% 40%, var(--cream) 0, var(--bg) 60%); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; padding: 36px 0 0; margin: 44px 0 0; display: flex; gap: 40px; border-top: 1px solid var(--line); }
.hero__facts b { display: block; font: 500 28px/1.3 var(--serif); color: var(--gold-d); }
.hero__facts span { font-size: 13px; color: var(--muted); }
.hero__img { position: relative; justify-self: center; }
.oval { width: min(420px, 80vw); aspect-ratio: 3 / 4.3; border-radius: 999px; overflow: hidden; border: 1px solid var(--gold); padding: 12px; background: var(--bg); }
.oval picture, .oval img { width: 100%; height: 100%; }
.oval img { object-fit: cover; object-position: 50% 10%; border-radius: 999px; }
.pearl { position: absolute; right: 8%; bottom: 6%; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #f6ede4 35%, #dcc9bb 75%, #c4ab9c 100%); box-shadow: 0 10px 25px rgba(120, 90, 60, .25); }

/* ---------- dlaczego ---------- */
.why { border-bottom: 1px solid var(--line); background: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why__item { padding: 44px 28px; border-left: 1px solid var(--line); }
.why__item:first-child { border-left: 0; padding-left: 0; }
.why__no { font: italic 400 20px var(--serif); color: var(--gold-d); }
.why__item .h3 { margin: 8px 0; }
.why__item p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- sekcje ---------- */
.sec { padding: 110px 0; }
.sec--cream { background: var(--cream); }
.sec__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.sec__head h2::after { content: ""; display: block; width: 60px; height: 1px; background: var(--gold); margin: 24px auto 0; }
.sec__lead { color: var(--muted); }

/* ---------- cennik ---------- */
.prices { columns: 3 320px; column-gap: 26px; }
.price { break-inside: avoid; background: var(--bg); border: 1px solid var(--line); padding: 30px 30px 22px; margin: 0 0 26px; position: relative; }
.price::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--cream-2); pointer-events: none; }
.price h3 { font-size: 25px; }
.price h3 small { display: block; font: 400 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); margin-top: 6px; }
.price ul { list-style: none; padding: 0; margin: 0; }
.price li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px dotted var(--gold-l); font-size: 15px; }
.price li:last-child { border-bottom: 0; }
.price li b { font: 600 18px var(--serif); color: var(--gold-d); white-space: nowrap; }
.price__note { font-size: 13px; color: var(--muted); font-style: italic; margin: 8px 0 0; }
.price:target { outline: 2px solid var(--gold); }
.prices__foot { text-align: center; color: var(--muted); margin-top: 20px; }

/* ---------- kroki ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { text-align: center; position: relative; }
.steps li span { display: inline-grid; place-items: center; width: 74px; height: 74px; border: 1px solid var(--gold); border-radius: 50%; font: italic 400 32px var(--serif); color: var(--gold-d); margin-bottom: 18px; background: var(--bg); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 37px; left: calc(50% + 50px); right: calc(-50% + 50px); height: 1px; background: var(--gold-l); }
.steps p { color: var(--muted); font-size: 15px; max-width: 300px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--gold-l); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 500 22px/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 30px/1.2 var(--sans); color: var(--gold-d); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-d); }
.faq p { margin: 0 0 24px; color: var(--muted); }

/* ---------- kontakt ---------- */
.contact__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact__txt p { color: var(--muted); }
.contact__tel { display: block; font: 500 44px/1.2 var(--serif); color: var(--gold-d); text-decoration: none; margin: 20px 0; }
.form { background: #fff; border: 1px solid var(--line); padding: 40px; display: grid; gap: 22px; }
.form__fields { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: 300 16px/1.5 var(--sans); color: var(--ink); padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; outline: none; text-transform: none; letter-spacing: 0; }
.form select { -webkit-appearance: none; appearance: none; padding-right: 28px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237f6131' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center; }
.form textarea { resize: vertical; min-height: 110px; }
.form select:has(option[value=""]:checked) { color: #a39a90; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.form .invalid { border-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.form__err { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--error); }
.form__chk { display: flex !important; align-items: flex-start; gap: 12px; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; line-height: 1.5; }
.form__chk input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--gold-btn); }
.form__chk.invalid span { color: var(--error); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; }
.form__legal { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
/* Plakietka reCAPTCHA ukryta – zamiast niej informacja pod przyciskiem (dozwolone przez Google) */
.grecaptcha-badge { visibility: hidden; }
.form__msg--ok { color: var(--gold-d); font: italic 500 24px/1.3 var(--serif); }
.form__msg--err { color: var(--error); font-size: 15px; }
.form__fields[hidden], .form__msg[hidden] { display: none; }
.form__msg--ok:focus { outline: none; }

/* ---------- zgoda na cookies ---------- */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 16px; pointer-events: none; }
.cc[hidden] { display: none; }
.cc__box { pointer-events: auto; max-width: 920px; max-height: calc(100dvh - 32px); overflow-y: auto; margin: 0 auto; background: var(--bg); border: 1px solid var(--gold-l); box-shadow: 0 20px 60px -15px rgba(47, 42, 37, .35); padding: 28px 32px; }
.cc__title { font-size: 26px; margin: 0 0 8px; }
.cc__desc { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.cc__prefs { border-top: 1px solid var(--line); margin: 0 0 20px; }
.cc__prefs[hidden] { display: none; }
.cc__cat { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cc__cat b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.cc__cat small { font-weight: 400; font-size: 12px; color: var(--gold-d); margin-left: 6px; }
.cc__cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc__switch { flex: none; position: relative; width: 42px; height: 24px; margin-top: 2px; border-radius: 12px; background: var(--cream-2); transition: background-color .2s; }
.cc__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.cc__cat input:checked + .cc__switch { background: var(--gold-btn); }
.cc__cat input:checked + .cc__switch::after { transform: translateX(18px); }
.cc__cat input:disabled + .cc__switch { opacity: .55; }
.cc__cat input:disabled ~ .cc__cat-txt, .cc__cat:has(input:disabled) { cursor: default; }
.cc__cat input:focus-visible + .cc__switch { outline: 2px solid var(--gold-d); outline-offset: 3px; }
.cc__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cc__btn { padding: 12px 22px; font-size: 13px; }
.cc__btn[hidden] { display: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
.form__consent { background: var(--cream); border-left: 2px solid var(--gold); padding: 16px 20px; font-size: 15px; }
.form__consent[hidden] { display: none; }
.form__consent p { margin: 0 0 12px; color: var(--ink); }

/* ---------- podstrony ---------- */
.page { min-height: 60vh; }
.page--center { text-align: center; }
.page--center .lead { margin-inline: auto; }
.page--center .btn { margin: 6px; }
.prose h1 { margin-bottom: .8em; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .4em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.page__back { margin-top: 50px; }

/* ---------- stopka ---------- */
.foot { background: var(--cream); border-top: 1px solid var(--line); padding: 60px 0 30px; text-align: center; }
.foot__logo { width: 150px; margin: 0 auto 20px; mix-blend-mode: multiply; }
.foot p { color: var(--muted); font-size: 15px; }
.foot .foot__small { font-size: 13px; margin-top: 30px; }
.fab { display: none; }

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .nav, .top__tel { display: none; }
  .burger { display: grid; gap: 7px; margin-left: auto; background: none; border: 0; padding: 12px; cursor: pointer; }
  .burger span { width: 28px; height: 1px; background: var(--ink); transition: transform .25s; }
  .nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-open .nav { display: flex; flex-direction: column; position: absolute; top: var(--top-h); left: 0; right: 0; max-height: calc(100dvh - var(--top-h)); overflow-y: auto; background: var(--bg); padding: 10px 24px 30px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(47, 42, 37, .25); }
  .nav-open .nav a { padding: 14px 0; font: 500 24px var(--serif); border-bottom: 1px solid var(--line); }
  .nav-open .nav a::after { display: none; }
  .nav-open .nav .nav__tel { display: block; color: var(--gold-d); border-bottom: 0; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  :root { --top-h: 70px; }
  body { font-size: 16px; }
  .sec { padding: 80px 0; }
  .sec__head { margin-bottom: 44px; }
  .hero { padding: 40px 0 70px; }
  .hero__in, .contact__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__img { order: -1; }
  .oval { width: min(300px, 70vw); }
  .hero__facts { gap: 22px 30px; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .foot { padding-bottom: 100px; }
  .fab { display: grid; place-items: center; position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-btn); color: #fff; text-decoration: none; box-shadow: 0 10px 25px rgba(138, 106, 54, .4); z-index: 60; }
  .fab:hover { color: #fff; background: #6f5429; }
}
@media (max-width: 560px) {
  .wrap, .wrap--narrow { width: calc(100% - 36px); }
  .brand__mark { height: 46px; }
  .brand__txt { font-size: 18px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { border-left: 0 !important; padding: 28px 0 !important; border-top: 1px solid var(--line); }
  .why__item:first-child { border-top: 0; }
  .price { padding: 26px 22px 18px; }
  .form { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .contact__tel { font-size: 36px; }
  .hero__cta .btn { width: 100%; }
  .cc { padding: 0; }
  .cc__box { max-height: 85dvh; padding: 22px 18px 18px; border-left: 0; border-right: 0; border-bottom: 0; }
  .cc__btns { flex-direction: column-reverse; }
  .cc__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .top, .fab, .form, .hero__img, .cc { display: none; }
  .sec { padding: 30px 0; }
}
