/* ===== Terapia Tlenowa – arkusz stylów ===============================
   Paleta natury: szałwia / leśna zieleń / piasek / złamana biel.
   Fonty: Playfair Display + Inter serwowane z folderu fonts/ (bez Google Fonts).
   ==================================================================== */

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/Playfair-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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: "Playfair Display";
  src: url("fonts/Playfair-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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: "Inter";
  src: url("fonts/Inter-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --forest: #2f4a3a;
  --forest-deep: #223629;
  --sage: #7a9b76;
  --sage-light: #a9bfa3;
  --sage-pale: #e3ebdf;
  --sand: #e8dfd0;
  --sand-light: #f2ece2;
  --cream: #f7f4ee;
  --accent: #c9a27e;
  --ink: #26302a;
  --ink-soft: #5b675f;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(47, 74, 58, 0.10);
  --shadow-sm: 0 4px 14px rgba(47, 74, 58, 0.08);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--forest-deep); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }
.small { font-size: .92rem; }
.wrap { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head .eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage); font-weight: 600; margin-bottom: .6rem;
}
.center { text-align: center; margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--sage-light); }
.btn-ghost:hover { background: var(--sage-pale); }
.btn-light { background: #fff; color: var(--forest); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------- Pasek ogłoszeń ---------- */
.announce { background: var(--accent); color: var(--forest-deep); text-align: center; padding: .55rem 1rem; font-size: .95rem; font-weight: 500; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 74, 58, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; white-space: nowrap; text-decoration: none; color: var(--forest-deep); font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; white-space: nowrap; }
@media (max-width: 1400px) { .nav-phone { display: none; } }
.nav-cta .btn { white-space: nowrap; }
.nav-links .only-mobile { display: none; }
@media (max-width: 600px) { .nav-links .only-mobile { display: block; } }
.nav-links a:hover { color: var(--forest); }
.nav-cta, .nav-back { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 600px) { .nav-back .btn { padding: .5rem .9rem; font-size: .85rem; white-space: nowrap; } }
.nav-phone { text-decoration: none; color: var(--forest); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px 0; transition: .2s; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(47,74,58,.1); padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .7rem 0; border-bottom: 1px solid rgba(47,74,58,.07); }
  .nav-phone { display: none; }
  .nav-cta .btn { padding: .6rem 1rem; font-size: .9rem; }
}
@media (max-width: 600px) {
  .nav { min-height: 62px; gap: .5rem; }
  .brand { font-size: 1.05rem; }
  .brand svg { width: 28px; height: 28px; }
  .nav-cta .btn { display: none; }
  .nav-links .only-mobile a { color: var(--forest); font-weight: 700; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; padding: 0; list-style: none; color: var(--ink-soft); font-size: .92rem; }
.hero-badges li { display: flex; align-items: center; gap: .45rem; }
.hero-badges svg { width: 18px; height: 18px; color: var(--sage); }
.hero-visual { position: relative; }
.hero-visual .ph, .hero-visual .hero-img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero-card {
  position: absolute; left: -1.5rem; bottom: 2rem; background: #fff; border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; box-shadow: var(--shadow); font-size: .9rem; max-width: 240px;
}
.hero-card strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--forest); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual .ph, .hero-visual .hero-img { aspect-ratio: 1 / 1; object-position: 50% 42%; border-radius: 22px; }
  .hero-card { display: none; }
  .hero-card { left: 1rem; bottom: 1rem; }
}

/* ---------- Placeholder zdjęć ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 45%),
    linear-gradient(145deg, var(--sage-light), var(--sage) 60%, var(--forest));
  color: rgba(255,255,255,.9); border-radius: var(--radius);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.ph-label { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; text-align: center; padding: 1rem; }
.ph-label svg { width: 36px; height: 36px; opacity: .9; }

/* ---------- O tlenoterapii ---------- */
.about { background: #fff; }
.about-text > div { max-width: 760px; margin-inline: auto; text-align: center; }
.about-text .section-head .eyebrow { display: block; }
.about-text .stats { max-width: 640px; margin-inline: auto; }
.about-text .section-head { max-width: none; }
.about .ph, .about .about-img { aspect-ratio: 5 / 4; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat { background: var(--sand-light); border-radius: var(--radius-sm); padding: 1rem; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--forest); }
.stat span { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(3, 1fr); gap: .6rem; } .stat { padding: .8rem; } .stat strong { font-size: 1.3rem; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Karty korzyści ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: #fff; border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-pale); color: var(--forest); display: grid; place-items: center; margin-bottom: 1rem; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.cards-rich { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.cards-rich .card { padding: 2rem; }
.cards-rich .card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.cards-rich .card p { line-height: 1.7; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Jak wygląda sesja ---------- */
.steps-section { background: var(--forest); color: #fff; }
.steps-section h2, .steps-section .eyebrow { color: #fff; }
.steps-section .eyebrow { color: var(--sage-light); }
.steps-section .section-head p { color: rgba(255,255,255,.8); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.6rem; }
.step .num { font-family: var(--font-head); font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: .8rem; }
.step h3 { color: #fff; font-size: 1.15rem; }
.step p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cennik ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: stretch; }
.price { background: #fff; border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; border: 2px solid transparent; }
.price.featured { border-color: var(--sage); box-shadow: var(--shadow); }
.price .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sage); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.price h3 { font-size: 1.15rem; }
.price .amount { font-family: var(--font-head); font-size: 2.8rem; color: var(--forest); line-height: 1; margin: .6rem 0 .2rem; }
.price .amount small { font-size: 1.1rem; margin-left: .2rem; }
.price .per { color: var(--ink-soft); font-size: .9rem; }
.price p.desc { color: var(--ink-soft); font-size: .95rem; margin: 1rem 0 1.5rem; flex: 1; }
.price-note { margin-top: 1.6rem; text-align: center; color: var(--ink-soft); font-size: .93rem; }
.price .amount { font-size: 2.4rem; }
@media (max-width: 1000px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Galeria ---------- */
.gallery-section { background: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery .ph, .gallery img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Bezpieczeństwo i przygotowanie ---------- */
.safety { background: #fff; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.safety-card { background: #fff; border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.safety-card.warn { border-left: 5px solid var(--accent); }
.safety-card h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.safety-card p { color: var(--ink-soft); }
.safety-card p:last-child { margin-bottom: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--ink-soft); font-size: .97rem; }
.check-list li { padding-left: 1.6rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
@media (max-width: 860px) { .safety-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-list details { background: #fff; border-radius: var(--radius-sm); margin-bottom: .7rem; box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 600; position: relative; color: var(--forest-deep); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--sage); font-weight: 300; transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-soft); }

/* ---------- Rezerwacja ---------- */
.booking { background: var(--sand-light); }
.booking-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; min-height: 320px; }
.booking-intro { text-align: center; max-width: 560px; margin: 0 auto; padding: 1.5rem 0; }
.booking-intro .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-pale); color: var(--forest); display: grid; place-items: center; margin: 0 auto 1rem; }
.booking-intro .icon svg { width: 32px; height: 32px; }
.booking-intro small { display: block; margin-top: 1rem; color: var(--ink-soft); font-size: .85rem; }
.booking-choice { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.booking-switch { margin: 0 0 .8rem; font-size: .9rem; }
.booking-switch a { text-decoration: none; font-weight: 600; }
.booking-switch a:hover { text-decoration: underline; }
#cal-inline { width: 100%; min-height: 640px; }
#cal-inline:empty { min-height: 0; }
#cal-inline iframe { border-radius: var(--radius-sm); }
.booking-loading { text-align: center; padding: 3rem 0; color: var(--ink-soft); }
.booking-legal { font-size: .85rem; color: var(--ink-soft); text-align: center; margin: 1rem 0 0; }
@media (max-width: 560px) { .booking-box { padding: 1rem; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--sage); flex-shrink: 0; margin-top: .2rem; }
.contact-list a { text-decoration: none; font-weight: 500; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours td { padding: .5rem 0; border-bottom: 1px solid rgba(47,74,58,.1); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--forest); }
.map-card { background: var(--forest); color: #fff; border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; position: relative; overflow: hidden; }
.map-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 20px 20px; }
.map-card > * { position: relative; }
.map-card h3 { color: #fff; }
.map-card p { color: rgba(255,255,255,.82); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,.75); padding: 3rem 0 2rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .82rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Podstrony prawne ---------- */
.legal { padding-block: 3rem 5rem; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal ol, .legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }
.legal .meta { color: var(--ink-soft); font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid rgba(47,74,58,.15); vertical-align: top; }
.legal th { color: var(--forest); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ---------- Drobiazgi ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
