:root {
    --p63-ink: #1d1d1b;
    --p63-ink-soft: #3a3935;
    --p63-muted: #68665f;
    --p63-gold: #9b8300;
    --p63-gold-dark: #756300;
    --p63-gold-soft: #ddd3a0;
    --p63-ivory: #f7f5f0;
    --p63-ivory-2: #f2efe8;
    --p63-paper: #ffffff;
    --p63-line: #e5e0d6;
    --p63-black: #161616;
    --p63-shell: 1180px;
    --p63-shadow: 0 24px 70px rgba(35,31,22,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.kts-p63-implantology-preview {
    margin: 0;
    background: var(--p63-paper);
    color: var(--p63-ink);
    font-family: Montserrat, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.kts-p63-header,.kts-p63-page,.kts-p63-footer,
.kts-p63-header button,.kts-p63-header a,.kts-p63-page button,.kts-p63-page a,.kts-p63-page summary,.kts-p63-footer a {
    font-family: Montserrat, Arial, sans-serif;
}
body.kts-p63-implantology-preview > header.elementor-location-header,
body.kts-p63-implantology-preview header.elementor-location-header,
body.kts-p63-implantology-preview > header.site-header,
body.kts-p63-implantology-preview .site-header:not(.kts-p63-header),
body.kts-p63-implantology-preview > footer.elementor-location-footer,
body.kts-p63-implantology-preview footer.elementor-location-footer,
body.kts-p63-implantology-preview > footer.site-footer,
body.kts-p63-implantology-preview .site-footer:not(.kts-p63-footer) { display: none !important; }
body.kts-p63-implantology-preview .kts-p63-shell { width: min(calc(100% - 44px), var(--p63-shell)); margin-inline: auto; }
body.admin-bar.kts-p63-implantology-preview .kts-p63-header { top: 32px; }
body.kts-p63-implantology-preview a:focus-visible,
body.kts-p63-implantology-preview button:focus-visible,
body.kts-p63-implantology-preview summary:focus-visible { outline: 3px solid rgba(155,131,0,.4); outline-offset: 4px; }

.kts-p63-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(229,224,214,.9); background: rgba(255,255,255,.97); backdrop-filter: blur(18px); }
.kts-p63-header-inner { display: grid; grid-template-columns: 176px minmax(0,1fr) auto; align-items: center; min-height: 94px; gap: 28px; }
.kts-p63-brand { display: inline-flex; width: 168px; align-items: center; }
.kts-p63-brand img { display: block; width: 168px; height: 82px; object-fit: contain; object-position: left center; }
.kts-p63-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px,1.8vw,28px); }
.kts-p63-desktop-nav a,.kts-p63-phone { color: var(--p63-ink-soft); font-size: 13px; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.kts-p63-desktop-nav a { position: relative; padding: 12px 0; }
.kts-p63-desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--p63-gold); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.kts-p63-desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.kts-p63-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.kts-p63-header-booking,.kts-p63-primary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--p63-black); border-radius: 2px; background: var(--p63-black); color: #fff; font-size: 13px; font-weight: 750; line-height: 1.2; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.kts-p63-header-booking:hover,.kts-p63-primary:hover { color: #fff; background: #000; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23,21,19,.16); }
.kts-p63-menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--p63-line); border-radius: 2px; background: #fff; }
.kts-p63-menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--p63-black); }
.kts-p63-mobile-menu { padding: 12px 22px 24px; border-top: 1px solid var(--p63-line); background: #fff; }
.kts-p63-mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--p63-line); color: var(--p63-ink); font-size: 15px; font-weight: 650; text-decoration: none; }
.kts-p63-mobile-menu .kts-p63-mobile-phone { color: var(--p63-gold-dark); }
.kts-p63-mobile-menu .kts-p63-mobile-online { color: var(--p63-muted); font-size: 13px; font-weight: 650; }

.kts-p63-page { overflow: clip; }
.kts-p63-eyebrow { margin: 0 0 17px; color: var(--p63-gold-dark); font-size: 12px; font-weight: 800; letter-spacing: .18em; line-height: 1.25; text-transform: uppercase; }
.kts-p63-section { padding-block: clamp(76px,6.8vw,102px); }
.kts-p63-section-head { max-width: 900px; margin-bottom: 42px; }
.kts-p63-section-head > p:last-child,.kts-p63-section-head-split > p,.kts-p63-process-copy > p,.kts-p63-final-cta p,.kts-p63-doctor-copy > p,.kts-p63-krankenkasse-grid > div > p { color: var(--p63-muted); font-size: 16px; line-height: 1.78; }
.kts-p63-section-head-split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: clamp(38px,6vw,82px); align-items: end; max-width: none; }
.kts-p63-section h2,.kts-p63-final-cta h2 { margin: 0; color: var(--p63-black); font-size: clamp(35px,3.65vw,50px); font-weight: 500; letter-spacing: -.047em; line-height: 1.07; }

.kts-p63-hero { position: relative; background: var(--p63-ivory); }
.kts-p63-hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -165px; top: -220px; border: 1px solid rgba(155,131,0,.16); border-radius: 50%; pointer-events: none; }
.kts-p63-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); gap: clamp(48px,7vw,98px); align-items: center; min-height: 710px; padding-block: clamp(66px,8vw,106px); }
.kts-p63-hero h1 { max-width: 760px; margin: 0; color: var(--p63-black); font-size: clamp(45px,5.25vw,70px); font-weight: 500; letter-spacing: -.052em; line-height: .99; }
.kts-p63-hero-lead { max-width: 720px; margin: 26px 0 0; color: var(--p63-ink-soft); font-size: clamp(17px,1.5vw,20px); line-height: 1.7; }
.kts-p63-hero-actions { margin-top: 32px; }
.kts-p63-cta-pair { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,2fr); gap: 13px; width: min(100%,560px); }
.kts-p63-cta-pair > a { width: 100%; min-width: 0; text-align: center; }
.kts-p63-secondary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid #cec8bb; border-radius: 2px; background: transparent; color: var(--p63-ink); font-size: 13px; font-weight: 750; text-decoration: none; transition: background .18s ease,border-color .18s ease; }
.kts-p63-secondary:hover { color: var(--p63-black); border-color: var(--p63-gold); background: rgba(255,255,255,.55); }
.kts-p63-hero-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,620px); margin-top: 34px; border-top: 1px solid var(--p63-line); border-left: 1px solid var(--p63-line); }
.kts-p63-hero-facts span { min-height: 48px; padding: 14px 16px; border-right: 1px solid var(--p63-line); border-bottom: 1px solid var(--p63-line); color: var(--p63-ink-soft); background: rgba(255,255,255,.45); font-size: 12px; font-weight: 700; line-height: 1.4; }
.kts-p63-hero-photo { position: relative; isolation: isolate; aspect-ratio: 3 / 4; min-height: 0; margin: 0; border: 1px solid var(--p63-line); border-radius: 140px 20px 20px 20px; overflow: hidden; background: linear-gradient(145deg,#fff 0%,#f5f1e8 100%); box-shadow: var(--p63-shadow); }
.kts-p63-doctor-photo-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; background: #f7f5f0; }
.kts-p63-hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.42); pointer-events: none; }
.kts-p63-hero-photo::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 28%; background: linear-gradient(180deg,rgba(18,18,18,0),rgba(18,18,18,.48)); pointer-events: none; }
.kts-p63-hero-photo figcaption { position: absolute; left: 28px; right: 28px; bottom: 22px; z-index: 2; display: flex; justify-content: space-between; gap: 20px; align-items: end; color: #fff; }
.kts-p63-hero-photo figcaption span { font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.kts-p63-hero-photo figcaption strong { font-size: 16px; font-weight: 650; text-align: right; }
.kts-p63-media-missing { display: grid; height: 100%; place-content: center; gap: 8px; padding: 32px; text-align: center; color: var(--p63-muted); }
.kts-p63-media-missing--wide { min-height: 360px; }

.kts-p63-trust { background: #fff; border-top: 1px solid var(--p63-line); border-bottom: 1px solid var(--p63-line); }
.kts-p63-trust-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.kts-p63-trust article { min-height: 198px; padding: 34px 28px; border-right: 1px solid var(--p63-line); }
.kts-p63-trust article:last-child { border-right: 0; }
.kts-p63-trust article > span { color: var(--p63-gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.kts-p63-trust h2 { margin: 26px 0 11px; color: var(--p63-black); font-size: 18px; font-weight: 650; line-height: 1.35; }
.kts-p63-trust p { margin: 0; color: var(--p63-muted); font-size: 13px; line-height: 1.68; }

.kts-p63-indications { background: var(--p63-paper); }
.kts-p63-card-grid { display: grid; gap: 18px; }
.kts-p63-card-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.kts-p63-card-grid article { min-height: 300px; padding: 30px; border: 1px solid var(--p63-line); background: var(--p63-paper); }
.kts-p63-card-index { display: block; color: var(--p63-gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.kts-p63-card-grid h3 { margin: 64px 0 14px; color: var(--p63-black); font-size: 24px; font-weight: 550; letter-spacing: -.025em; line-height: 1.2; }
.kts-p63-card-grid p { margin: 0; color: var(--p63-muted); font-size: 14px; line-height: 1.75; }

.kts-p63-consultation { background: var(--p63-ivory); }
.kts-p63-consultation-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(350px,.82fr); gap: clamp(44px,7vw,96px); align-items: start; }
.kts-p63-large-copy { max-width: 760px; margin: 24px 0 0; color: var(--p63-muted); font-size: 17px; line-height: 1.78; }
.kts-p63-check-list { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--p63-line); }
.kts-p63-check-list li { position: relative; padding: 17px 0 17px 32px; border-bottom: 1px solid var(--p63-line); color: var(--p63-ink-soft); font-size: 14px; line-height: 1.55; }
.kts-p63-check-list li::before { content: "✓"; position: absolute; left: 0; top: 17px; color: var(--p63-gold-dark); font-weight: 800; }
.kts-p63-consultation-card { position: sticky; top: 116px; padding: 34px; border: 1px solid var(--p63-line); background: #fff; box-shadow: var(--p63-shadow); }
.kts-p63-consultation-label { margin: 0 0 18px; color: var(--p63-ink-soft); font-size: 13px; font-weight: 750; line-height: 1.55; }
.kts-p63-consultation-card > strong { display: block; color: var(--p63-black); font-size: 48px; font-weight: 550; letter-spacing: -.045em; }
.kts-p63-consultation-card > p:not(.kts-p63-consultation-label) { margin: 16px 0 24px; color: var(--p63-muted); font-size: 13px; line-height: 1.7; }
.kts-p63-consultation-card .kts-p63-primary { width: 100%; }
.kts-p63-text-link { display: inline-flex; margin-top: 19px; color: var(--p63-black); font-size: 12px; font-weight: 750; text-decoration: none; }
.kts-p63-consultation-card small { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--p63-line); color: var(--p63-muted); font-size: 11px; line-height: 1.65; }

.kts-p63-doctor { background: #fff; }
.kts-p63-doctor-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.9fr); gap: clamp(46px,7vw,98px); align-items: center; }
.kts-p63-doctor-copy > p { margin: 22px 0 0; }
.kts-p63-doctor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.kts-p63-doctor-tags span { padding: 9px 12px; border: 1px solid var(--p63-line); color: var(--p63-ink-soft); background: var(--p63-ivory); font-size: 11px; font-weight: 700; }
.kts-p63-clinical-photo { margin: 0; border: 1px solid var(--p63-line); background: var(--p63-ivory); box-shadow: var(--p63-shadow); }
.kts-p63-clinical-photo-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kts-p63-clinical-photo figcaption { padding: 18px 20px; color: var(--p63-muted); font-size: 11px; line-height: 1.6; }

.kts-p63-process { background: var(--p63-ivory); }
.kts-p63-process-grid { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: clamp(42px,6.5vw,88px); align-items: start; }
.kts-p63-process-copy { position: sticky; top: 112px; }
.kts-p63-process-copy > p:last-child { margin-top: 20px; }
.kts-p63-process-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--p63-line); }
.kts-p63-process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--p63-line); }
.kts-p63-process-list li > span { color: var(--p63-gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.kts-p63-process-list h3 { margin: 0 0 8px; color: var(--p63-black); font-size: 20px; line-height: 1.3; }
.kts-p63-process-list p { margin: 0; color: var(--p63-muted); font-size: 13px; line-height: 1.7; }

.kts-p63-krankenkasse { background: var(--p63-ivory-2); }
.kts-p63-krankenkasse-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); gap: clamp(42px,7vw,96px); align-items: start; }
.kts-p63-krankenkasse-grid > div > p { margin-top: 22px; }
.kts-p63-krankenkasse-panel { padding: 32px; border: 1px solid var(--p63-line); background: rgba(255,255,255,.72); }
.kts-p63-krankenkasse-panel h3 { margin: 0 0 18px; color: var(--p63-black); font-size: 20px; }
.kts-p63-krankenkasse-panel ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--p63-line); }
.kts-p63-krankenkasse-panel li { position: relative; padding: 15px 0 15px 28px; border-bottom: 1px solid var(--p63-line); color: var(--p63-ink-soft); font-size: 13px; line-height: 1.55; }
.kts-p63-krankenkasse-panel li::before { content: "—"; position: absolute; left: 0; color: var(--p63-gold-dark); font-weight: 800; }
.kts-p63-krankenkasse-panel p { margin: 20px 0 0; color: var(--p63-muted); font-size: 11px; line-height: 1.65; }

.kts-p63-faq { background: #fff; }
.kts-p63-faq-grid { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(42px,7vw,100px); align-items: start; }
.kts-p63-faq-grid > div > p { margin-top: 22px; color: var(--p63-muted); font-size: 16px; line-height: 1.78; }
.kts-p63-faq-list { border-top: 1px solid var(--p63-line); }
.kts-p63-faq-item { border-bottom: 1px solid var(--p63-line); }
.kts-p63-faq-item summary { display: grid; grid-template-columns: 1fr 28px; gap: 18px; align-items: center; padding: 24px 0; cursor: pointer; color: var(--p63-black); font-size: 14px; font-weight: 700; line-height: 1.45; list-style: none; }
.kts-p63-faq-item summary::-webkit-details-marker { display: none; }
.kts-p63-faq-plus { color: var(--p63-gold-dark); font-size: 24px; font-weight: 300; text-align: center; transition: transform .2s ease; }
.kts-p63-faq-item[open] .kts-p63-faq-plus { transform: rotate(45deg); }
.kts-p63-faq-answer { padding: 0 48px 24px 0; }
.kts-p63-faq-answer p { margin: 0; color: var(--p63-muted); font-size: 13px; line-height: 1.75; }

.kts-p63-final-cta { padding-block: clamp(76px,7vw,100px); background: var(--p63-ivory); }
.kts-p63-final-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(410px,.75fr); gap: clamp(42px,7vw,90px); align-items: center; }
.kts-p63-final-cta p { max-width: 730px; margin: 14px 0 0; }
.kts-p63-final-actions { justify-self: end; width: min(100%,520px); }
.kts-p63-final-actions .kts-p63-cta-pair { width: 100%; }
.kts-p63-final-cennik-link { display: inline-block; margin-top: 16px; color: var(--p63-black); font-size: 12px; font-weight: 750; text-decoration: none; }

.kts-p63-footer { padding: 62px 0 24px; border-top: 1px solid var(--p63-line); background: var(--p63-ivory-2); }
.kts-p63-footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .75fr; gap: 70px; }
.kts-p63-footer-brand img { display: block; width: 170px; height: 104px; object-fit: contain; object-position: left center; }
.kts-p63-footer-brand p { max-width: 390px; margin: 20px 0 0; color: var(--p63-muted); font-size: 13px; line-height: 1.7; }
.kts-p63-footer h2 { margin: 0 0 18px; color: var(--p63-black); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.kts-p63-footer nav a,.kts-p63-footer address,.kts-p63-footer-grid > div:last-child > a { display: block; margin: 0 0 10px; color: var(--p63-muted); font-size: 12px; line-height: 1.6; text-decoration: none; font-style: normal; }
.kts-p63-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--p63-line); color: var(--p63-muted); font-size: 11px; line-height: 1.55; }

@media (max-width: 1100px) {
    .kts-p63-header-inner { grid-template-columns: 160px minmax(0,1fr) auto; gap: 18px; }
    .kts-p63-desktop-nav { gap: 13px; }
    .kts-p63-phone { display: none; }
    .kts-p63-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .kts-p63-trust article:nth-child(2) { border-right: 0; }
    .kts-p63-trust article:nth-child(-n+2) { border-bottom: 1px solid var(--p63-line); }
}

@media (max-width: 960px) {
    .kts-p63-desktop-nav,.kts-p63-header-booking { display: none; }
    .kts-p63-header-inner { grid-template-columns: 1fr auto; min-height: 82px; }
    .kts-p63-brand,.kts-p63-brand img { width: 145px; }
    .kts-p63-brand img { height: 68px; }
    .kts-p63-menu-toggle { display: block; }
    .kts-p63-hero-grid,.kts-p63-section-head-split,.kts-p63-consultation-grid,.kts-p63-doctor-grid,.kts-p63-process-grid,.kts-p63-krankenkasse-grid,.kts-p63-faq-grid,.kts-p63-final-grid { grid-template-columns: 1fr; }
    .kts-p63-hero-grid { gap: 48px; min-height: auto; }
    .kts-p63-hero-photo { width: min(100%,560px); aspect-ratio: 3 / 4; border-radius: 110px 18px 18px 18px; }
    .kts-p63-consultation-card,.kts-p63-process-copy { position: static; }
    .kts-p63-card-grid--three,.kts-p63-solution-grid { grid-template-columns: 1fr; }
    .kts-p63-card-grid article { min-height: 230px; }
    .kts-p63-clinical-photo { width: min(100%,680px); }
    .kts-p63-final-actions { justify-self: start; max-width: 520px; }
}

@media (max-width: 782px) { body.admin-bar.kts-p63-implantology-preview .kts-p63-header { top: 46px; } }

@media (max-width: 680px) {
    body.kts-p63-implantology-preview .kts-p63-shell { width: min(calc(100% - 28px), var(--p63-shell)); }
    .kts-p63-header-inner { min-height: 74px; }
    .kts-p63-brand,.kts-p63-brand img { width: 126px; }
    .kts-p63-brand img { height: 60px; }
    .kts-p63-hero-grid { padding-block: 52px 62px; }
    .kts-p63-hero h1 { font-size: clamp(40px,12vw,54px); }
    .kts-p63-hero-lead { font-size: 16px; line-height: 1.65; }
    .kts-p63-cta-pair { grid-template-columns: 1fr; width: 100%; }
    .kts-p63-hero-actions a { width: 100%; }
    .kts-p63-hero-facts { grid-template-columns: 1fr; }
    .kts-p63-hero-photo { width: 100%; aspect-ratio: 3 / 4; border-radius: 72px 14px 14px 14px; }
    .kts-p63-hero-photo figcaption { left: 20px; right: 20px; bottom: 18px; }
    .kts-p63-hero-photo figcaption strong { max-width: 180px; font-size: 14px; }
    .kts-p63-section { padding-block: 72px; }
    .kts-p63-section-head { margin-bottom: 34px; }
    .kts-p63-section h2,.kts-p63-final-cta h2 { font-size: 37px; }
    .kts-p63-trust-grid { grid-template-columns: 1fr; }
    .kts-p63-trust article,.kts-p63-trust article:nth-child(2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--p63-line); }
    .kts-p63-card-grid h3 { margin-top: 42px; }
    .kts-p63-consultation-card { padding: 28px 24px; }
    .kts-p63-consultation-card > strong { font-size: 42px; }
    .kts-p63-doctor-tags { display: grid; grid-template-columns: 1fr 1fr; }
    .kts-p63-process-list li { grid-template-columns: 52px 1fr; }
    .kts-p63-faq-answer { padding-right: 12px; }
    .kts-p63-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .kts-p63-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
