/* =========================================================
   Dentaris — Wersja 2 „Dental Spa"
   Warm, elegant, redakcyjny styl: krem, zieleń butelkowa, złoto,
   typografia szeryfowa (Fraunces) + Manrope.
   Zupełnie inny charakter niż Wersja 1.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --cream: #f7f1e6;
  --cream-2: #fbf6ec;
  --paper: #fffdf8;
  --ink: #21302a;
  --ink-soft: #5a655d;
  --ink-muted: #8a9188;
  --green: #234b3a;
  --green-deep: #17362a;
  --green-soft: #e4ede4;
  --gold: #b8894a;
  --gold-soft: #f0e2c9;
  --line: #e6dcc9;
  --line-strong: #d9ccb4;
  --shadow-sm: 0 2px 10px rgba(52,40,20,.06);
  --shadow: 0 18px 50px -22px rgba(52,40,20,.28);
  --shadow-lg: 0 40px 90px -40px rgba(30,45,35,.45);
  --radius: 18px;
  --radius-lg: 34px;
  --arch: 220px 220px 28px 28px;   /* charakterystyczny łuk */
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
section { padding: 104px 0; }

/* ---------- Typografia ---------- */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Manrope', sans-serif;
  font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center-line { }

.lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-muted); }
.center { text-align: center; }

.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons (pill) ---------- */
.btn {
  --py: 15px; --px: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--py) var(--px);
  font-family: 'Manrope', sans-serif; font-size: .96rem; font-weight: 600; letter-spacing: .01em;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .22s, color .22s, box-shadow .28s, border-color .22s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--cream-2); box-shadow: 0 10px 24px -12px rgba(35,75,58,.7); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(35,75,58,.6); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -12px rgba(184,137,74,.8); }
.btn-gold:hover { background: #a5763a; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--green); background: var(--green-soft); }
.btn-lg { --py: 18px; --px: 36px; font-size: 1.02rem; }
.btn-sm { --py: 10px; --px: 20px; font-size: .875rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,241,230,.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo .mark { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: var(--gold-soft); flex-shrink: 0; }
.logo .name { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.logo .name span { display: block; font-family: 'Manrope', sans-serif; font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 9px 14px; font-size: .93rem; font-weight: 500; color: var(--ink-soft); transition: color .18s; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--green); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: var(--green); }
.menu-toggle:hover { background: var(--green-soft); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -180px; right: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, var(--gold-soft), transparent 68%); opacity: .55; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; position: relative; }
.hero h1 { margin: 24px 0 22px; }
.hero h1 em { display: block; }
.hero .lead { max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.hero-trust small { color: var(--ink-muted); font-size: .9rem; }
.hero-trust b { color: var(--ink); }

.hero-figure { position: relative; }
.hero-figure .frame { border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--green-soft); }
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: ''; position: absolute; inset: 14px 14px -14px -14px; border: 1.5px solid var(--gold);
  border-radius: var(--arch); z-index: -1; opacity: .5;
}
.badge-float {
  position: absolute; background: var(--paper); border-radius: 18px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.badge-float.b1 { bottom: 28px; left: -26px; }
.badge-float.b2 { top: 32px; right: -22px; }
.badge-float .ring { width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.badge-float b { display: block; font-family: 'Fraunces', serif; font-size: 1.05rem; line-height: 1; }
.badge-float small { color: var(--ink-muted); font-size: .78rem; }

/* ---------- Marquee / values strip ---------- */
.strip { background: var(--green); color: var(--cream); }
.strip .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 30px; padding: 44px 26px; }
.strip .item { text-align: center; }
.strip .item b { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 500; display: block; color: #fff; }
.strip .item small { color: rgba(255,255,255,.7); font-size: .86rem; letter-spacing: .04em; }

/* ---------- Icon badge ---------- */
.ico {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 22px;
  border: 1px solid rgba(35,75,58,.12);
}
.ico.gold { background: var(--gold-soft); color: var(--gold); border-color: rgba(184,137,74,.25); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* Feature card with top accent */
.card.feature { position: relative; overflow: hidden; }
.card.feature::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card.feature:hover::before { transform: scaleX(1); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media.arch .frame { border-radius: var(--arch); aspect-ratio: 4/4.6; }

.check-list { list-style: none; margin-top: 26px; display: grid; gap: 15px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; color: var(--ink-soft); }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--cream); display: grid; place-items: center; flex-shrink: 0; font-size: .7rem; }

/* ---------- Quote / review ---------- */
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-card .qmark { font-family: 'Fraunces', serif; font-size: 3.4rem; line-height: .6; color: var(--gold-soft); height: 26px; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review-card p { font-family: 'Fraunces', serif; font-size: 1.12rem; font-weight: 400; color: var(--ink); line-height: 1.5; }
.reviewer { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.reviewer .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: 'Manrope',sans-serif; }
.reviewer b { display: block; font-size: .95rem; font-weight: 600; }
.reviewer small { color: var(--ink-muted); font-size: .8rem; }

/* ---------- Price ---------- */
.price-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 30px; border-bottom: 1px solid var(--line); transition: background .18s; }
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--cream-2); }
.price-row .pr-name b { font-weight: 600; font-size: 1.02rem; }
.price-row .pr-name small { display: block; color: var(--ink-muted); font-size: .86rem; margin-top: 2px; }
.price-row .pr-cost { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--green); white-space: nowrap; }

/* ---------- CTA scarcity ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 70px 50px; text-align: center; background: var(--green); color: var(--cream); }
.cta-band::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(circle, rgba(184,137,74,.35), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 54ch; margin: 18px auto 0; }
.scarcity { display: inline-flex; align-items: center; gap: 10px; background: rgba(184,137,74,.18); border: 1px solid rgba(184,137,74,.4); color: var(--gold-soft); padding: 9px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 26px; }
.scarcity .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 0 rgba(240,226,201,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(240,226,201,.5)} 70%{box-shadow:0 0 0 11px rgba(240,226,201,0)} 100%{box-shadow:0 0 0 0 rgba(240,226,201,0)} }
.cta-band .btn { margin-top: 30px; }
.cta-note { margin-top: 18px; font-size: .82rem; color: rgba(255,255,255,.55) !important; }

/* ---------- Page hero ---------- */
.page-hero { padding: 80px 0 46px; text-align: center; background: var(--cream-2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; bottom: -160px; left: 50%; transform: translateX(-50%); width: 560px; height: 320px; background: radial-gradient(circle, var(--gold-soft), transparent 70%); opacity: .5; }
.page-hero .container { position: relative; }
.page-hero .lead { max-width: 62ch; margin: 20px auto 0; }
.breadcrumb { font-size: .82rem; color: var(--ink-muted); margin-bottom: 18px; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Big call CTA ---------- */
.call-hero { border: 1.5px solid var(--line-strong); border-radius: var(--radius-lg); background: radial-gradient(120% 130% at 50% 0%, var(--gold-soft) 0%, var(--paper) 58%); padding: 64px 34px; text-align: center; box-shadow: var(--shadow-sm); }
.call-number { display: inline-block; font-family: 'Fraunces', serif; font-size: clamp(2.1rem,6vw,3.6rem); font-weight: 600; color: var(--green); margin: 14px 0; transition: color .18s; }
.call-number:hover { color: var(--gold); }
.call-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Info / hours ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.info-block { display: flex; gap: 16px; margin-bottom: 28px; }
.info-block .ico { width: 50px; height: 50px; margin-bottom: 0; }
.info-block .ico svg { width: 20px; height: 20px; }
.info-block b { display: block; font-weight: 600; margin-bottom: 3px; }
.info-block p, .info-block a { color: var(--ink-soft); font-size: .96rem; }
.info-block a:hover { color: var(--gold); }
.hours-list .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); font-size: .95rem; }
.hours-list .row:last-child { border-bottom: none; }
.hours-list .row span:last-child { color: var(--ink-soft); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .team-photo { aspect-ratio: 3/4; border-radius: var(--arch); background: var(--green-soft); display: grid; place-items: center; color: var(--green); margin-bottom: 18px; overflow: hidden; }
.team-card b { display: block; font-family: 'Fraunces', serif; font-size: 1.2rem; }
.team-card small { color: var(--gold); font-weight: 600; font-size: .82rem; letter-spacing: .03em; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Fraunces', serif; font-size: 1.18rem; font-weight: 500; color: var(--ink); }
.faq-q .plus { transition: transform .25s var(--ease); color: var(--gold); flex-shrink: 0; font-size: 1.4rem; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p { padding-bottom: 26px; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { margin: 44px 0 16px; font-size: 1.5rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); margin-bottom: 15px; }
.legal ul { color: var(--ink-soft); margin: 0 0 15px 22px; }
.legal address { font-style: normal; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--cream); padding: 76px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .logo .mark { background: var(--gold); color: var(--green-deep); }
.footer-brand .logo .name { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 34ch; margin-top: 18px; }
.footer-col h4 { font-family: 'Manrope',sans-serif; font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.72); font-size: .93rem; padding: 6px 0; transition: color .16s; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 11px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--cream); transition: all .2s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; }
.footer-bottom small { color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-legal a:hover { color: var(--gold); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  section { padding: 74px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-figure { max-width: 440px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 78px; left: 0; right: 0; background: var(--cream-2); border-bottom: 1px solid var(--line); padding: 14px 26px 22px; box-shadow: var(--shadow); }
  .nav.open a { padding: 14px 12px; }
  .cta-band { padding: 50px 26px; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .badge-float.b1 { left: 8px; }
  .badge-float.b2 { right: 8px; }
}

/* Sprachumschalter DE/EN/PL */
.lang-switch{display:inline-flex;align-items:center;gap:1px;border:1px solid rgba(0,0,0,.14);border-radius:999px;padding:2px;background:rgba(255,255,255,.65);vertical-align:middle}
.lang-switch a{font-size:.72rem;font-weight:700;letter-spacing:.02em;color:inherit;opacity:.6;padding:.22rem .46rem;border-radius:999px;line-height:1;text-decoration:none}
.lang-switch a:hover{opacity:1}
.lang-switch a.active{background:currentColor;opacity:1}
.lang-switch a.active{color:#fff !important;background:#333}
