/* =====================================================
   Dental Turcja - www.dentalturcja.com
   Design system v2 - styl korporacyjny / kurumsal
   Font: Archivo (self-hosted, variable 400-800)
   ===================================================== */

/* ---------- Fonty (lokalne, bez zapytań zewnętrznych) ---------- */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/archivo-var-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/archivo-var-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;
}

:root {
    /* Paleta korporacyjna: granat petrol + morski + miedź */
    --c-ink: #0c2934;
    --c-ink-2: #113844;
    --c-primary: #0e7490;
    --c-primary-dark: #0a5666;
    --c-primary-light: #e9f4f6;
    --c-accent: #b45309;
    --c-accent-dark: #92400e;
    --c-whatsapp: #1da851;
    --c-whatsapp-dark: #178a42;
    --c-text: #22333b;
    --c-text-muted: #5c6d76;
    --c-bg: #ffffff;
    --c-bg-soft: #f5f8f9;
    --c-border: #dfe8eb;
    --c-hair: #ebf1f3;
    --c-footer: #0a222b;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 2px 10px rgba(12, 41, 52, .06);
    --shadow-lg: 0 16px 40px rgba(12, 41, 52, .12);
    --container: 1200px;
    --font: 'Archivo', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul { padding-left: 1.2rem; }
h1, h2, h3, h4 { line-height: 1.18; color: var(--c-ink); margin: 0 0 .6em; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.05rem); font-weight: 700; }
h3 { font-size: clamp(1.08rem, 2.4vw, 1.25rem); font-weight: 700; letter-spacing: -.012em; }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--c-primary); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.25rem 0; }
.section-alt { background: var(--c-bg-soft); border-top: 1px solid var(--c-hair); border-bottom: 1px solid var(--c-hair); }
.section-title { text-align: center; margin-bottom: .55rem; }
.section-lead { text-align: center; max-width: 700px; margin: 0 auto 2.75rem; color: var(--c-text-muted); font-size: 1.02rem; }

/* Etykieta sekcji (eyebrow) - akcent korporacyjny */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    margin: 0 0 1rem; font-size: .76rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-accent); }
.eyebrow-center { justify-content: center; display: flex; }
.eyebrow-center::after { content: ""; width: 26px; height: 2px; background: var(--c-accent); }
.eyebrow-light { color: #7fd4d0; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--c-primary); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.7rem; border-radius: var(--radius-sm);
    font-family: var(--font); font-weight: 600; font-size: .98rem; line-height: 1.2;
    letter-spacing: .01em;
    border: 1.5px solid transparent; cursor: pointer;
    transition: background .18s, color .18s, border-color .18s, transform .15s, box-shadow .18s;
    text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); }
.btn-secondary { background: var(--c-ink); color: #fff; }
.btn-secondary:hover { background: var(--c-primary-dark); }
.btn-whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--c-whatsapp-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--c-ink); border-color: rgba(12, 41, 52, .35); }
.btn-outline:hover { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn-sm { padding: .55rem 1.15rem; font-size: .88rem; }
.btn-lg { padding: 1.02rem 2.1rem; font-size: 1.04rem; }

.ico { flex: none; }
.ico-check { color: var(--c-primary); }

/* ---------- Nagłówek pływający — efekt szkła / floating glass ---------- */
.site-header {
    position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
    background: transparent;
}
.header-inner {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
    min-height: 68px; padding: .4rem 1.4rem;
    background: rgba(10, 32, 41, .55);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(6, 20, 26, .3);
    transition: background .25s, box-shadow .25s;
}
.site-header.scrolled .header-inner {
    background: rgba(10, 32, 41, .82);
    box-shadow: 0 16px 40px rgba(6, 20, 26, .38);
}
/* mocniejsze tło pilla, gdy otwarty szklany panel menu */
.site-header:has(.main-nav.open) .header-inner { background: rgba(10, 32, 41, .94); }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none !important; }
.logo-img { display: block; width: auto; height: 44px; }
.logo-text { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -.035em; }
.logo-accent { color: #7fd4d0; }

.main-nav { display: flex; align-items: center; gap: 1.1rem; }
.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a,
.nav-drop-btn {
    display: block; padding: .6rem .75rem; border-radius: var(--radius-sm);
    color: #d8e5ea; font-weight: 500; font-size: .94rem;
    background: none; border: 0; cursor: pointer; font-family: inherit;
    position: relative;
}
.nav-list > li > a:hover, .nav-drop-btn:hover { color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }
.nav-list a.active { color: #fff; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-phone {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; flex: none;
    color: #fff; border: 1px solid rgba(255, 255, 255, .28);
    transition: background .18s, border-color .18s;
}
.nav-phone:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); text-decoration: none; }
.nav-list a.active::after {
    content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .15rem;
    height: 2px; background: var(--c-accent);
}
.caret { font-size: .68em; opacity: .7; }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    list-style: none; margin: 0; padding: .45rem;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .85rem; border-radius: var(--radius-sm); color: var(--c-text); font-weight: 500; font-size: .93rem; }
.dropdown a:hover { background: var(--c-primary-light); color: var(--c-primary-dark); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #fff; margin: 5.5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        radial-gradient(1000px 560px at 88% -12%, rgba(14, 116, 144, .38), transparent 62%),
        linear-gradient(175deg, var(--c-ink) 0%, #0e3542 70%, #0f3a48 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
}
.hero-inner {
    display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center;
    /* Tylko padding-top/bottom (longhand) - skrót padding nadpisałby
       boczne odstępy 1.5rem z klasy .container (treść przyklejona do
       krawędzi na mobile). Górny odstęp = miejsce na pływający nagłówek. */
    padding-top: 10.5rem; padding-bottom: 3.5rem;
    position: relative; z-index: 1;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero-sub { font-size: 1.08rem; color: #b9cdd4; max-width: 56ch; }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.7rem 0 0; }

.hero-stats {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius); overflow: hidden;
    margin-top: 1.25rem;
}
.stat { background: rgba(10, 34, 43, .55); padding: 1.15rem 1.3rem; backdrop-filter: blur(4px); }
.stat-num { display: block; font-size: 1.75rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.15; }
.stat-num .stat-accent { color: #f0b35e; }
.stat-label { display: block; font-size: .76rem; font-weight: 500; color: #93adb6; text-transform: uppercase; letter-spacing: .09em; margin-top: .25rem; }

.hero-card {
    background: #fff; color: var(--c-text); border-radius: var(--radius);
    border-top: 3px solid var(--c-accent);
    box-shadow: var(--shadow-lg); padding: 2rem;
}
.hero-card h2 { font-size: 1.12rem; margin-bottom: 1rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.hero-card li { display: flex; gap: .6rem; align-items: flex-start; padding: .36rem 0; font-size: .95rem; }
.hero-card .btn { width: 100%; }

/* ---------- Pas zaufania: nieskończona pętla certyfikatów ---------- */
.loop-band {
    /* Białe tło: część odznak (TÜRSAB, MTA) ma nieprzezroczyste białe PNG */
    background: #fff;
    border-bottom: 1px solid var(--c-hair);
    padding: 1.5rem 0;
    overflow: hidden;
}
.loop-track {
    display: flex;
    width: max-content;
    animation: loop-marquee 45s linear infinite;
    will-change: transform;
}
.loop-band:hover .loop-track { animation-play-state: paused; }
.loop-set { display: flex; align-items: center; flex: none; }
.loop-item {
    /* 4 elementy na ekranie (100vw / 4) */
    flex: none; width: 25vw;
    display: grid; place-items: center;
    padding: 0 2rem;
}
.loop-item img {
    width: auto; height: auto;
    max-width: 100%; max-height: 52px;
    object-fit: contain;
}
@keyframes loop-marquee {
    to { transform: translateX(-50%); }
}

/* ---------- Karty zabiegów ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    padding: 1.8rem; display: flex; flex-direction: column;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(14, 116, 144, .45); }
.card-icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center;
    background: var(--c-primary-light); color: var(--c-primary-dark); margin-bottom: 1.1rem;
}
.card h3 a { color: var(--c-ink); }
.card h3 a:hover { color: var(--c-primary-dark); text-decoration: none; }
.card p { color: var(--c-text-muted); font-size: .94rem; flex: 1; }
.card-price { font-weight: 700; color: var(--c-ink); margin-bottom: .9rem; font-size: 1.02rem; }
.card-link { font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .4rem; }
.card-link:hover { text-decoration: none; color: var(--c-primary-dark); }

/* ---------- Listy zalet ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; padding: .42rem 0; }
.check-list .ico { margin-top: .2rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-media {
    background: linear-gradient(150deg, var(--c-primary-light), #d3ecef);
    border: 1px solid var(--c-border);
    border-radius: var(--radius); min-height: 340px;
    display: grid; place-items: center; color: var(--c-primary); overflow: hidden;
}

/* ---------- Kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.step {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    padding: 1.5rem 1.3rem; position: relative;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(14, 116, 144, .4); }
.step-num {
    width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center;
    border: 2px solid var(--c-primary); color: var(--c-primary-dark);
    font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1rem; }
.step p { font-size: .89rem; color: var(--c-text-muted); margin: 0; }

/* ---------- Tabele cen ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-table { background: #fff; min-width: 640px; font-size: .96rem; }
.price-table th, .price-table td { padding: .95rem 1.15rem; text-align: left; border-bottom: 1px solid var(--c-hair); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table thead th {
    background: var(--c-ink); color: #fff; font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .07em;
}
.price-table tbody tr { transition: background .15s; }
.price-table tbody tr:hover { background: var(--c-bg-soft); }
.price-table .price-tr { color: var(--c-primary-dark); font-weight: 700; white-space: nowrap; }
.price-table .price-pl { color: var(--c-text-muted); white-space: nowrap; }
.price-note { font-size: .85rem; color: var(--c-text-muted); margin-top: 1rem; }

/* ---------- Opinie ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    padding: 1.8rem; position: relative;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(14, 116, 144, .4); }
.review-stars { color: #e8a33d; display: flex; gap: .2rem; margin-bottom: .9rem; }
.review p { font-size: .94rem; color: var(--c-text-muted); }
.review-author { font-weight: 700; color: var(--c-ink); margin: 0; font-size: .95rem; }
.review-meta { font-size: .82rem; color: var(--c-text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); margin-bottom: .7rem; overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(14, 116, 144, .45); }
.faq-q {
    padding: 1.05rem 3.1rem 1.05rem 1.35rem; font-weight: 600; cursor: pointer;
    list-style: none; position: relative; color: var(--c-ink); font-size: .99rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
    font-size: 1.45rem; color: var(--c-primary); font-weight: 400;
    transition: transform .2s;
}
.faq-item[open] .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] .faq-q { color: var(--c-primary-dark); }
.faq-a { padding: 0 1.35rem 1.15rem; color: var(--c-text-muted); font-size: .96rem; }

/* ---------- Pasek CTA ---------- */
.cta-band {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(800px 400px at 12% 120%, rgba(14, 116, 144, .5), transparent 60%),
        linear-gradient(120deg, var(--c-ink) 0%, #0e3542 100%);
}
.cta-band::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 46px 46px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9cdd4; max-width: 640px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- Nagłówki podstron ---------- */
.page-head {
    background: linear-gradient(180deg, #e9f1f4 0%, #fff 100%);
    border-bottom: 1px solid var(--c-hair);
    /* górny odstęp: miejsce na pływający nagłówek */
    padding: 9.5rem 0 2.6rem;
}
.page-head h1 { margin-bottom: .5rem; max-width: 900px; }
.page-head .lead { color: var(--c-text-muted); font-size: 1.06rem; max-width: 800px; margin: 0; }
.breadcrumbs { font-size: .82rem; color: var(--c-text-muted); margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs a:hover { color: var(--c-primary); }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2.3rem; }
.prose h3 { margin-top: 1.7rem; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
    margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 3px solid var(--c-accent);
    background: var(--c-bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-meta { color: var(--c-text-muted); font-size: .88rem; margin-bottom: 1.4rem; }

/* ---------- Blog: lista ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.blog-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(14, 116, 144, .45); }
.blog-card-media {
    height: 150px; display: grid; place-items: center; color: rgba(255, 255, 255, .85);
    background:
        radial-gradient(340px 200px at 85% -20%, rgba(14, 116, 144, .55), transparent 70%),
        linear-gradient(140deg, var(--c-ink), #0e3542);
}
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.06rem; margin: .55rem 0 .5rem; }
.blog-card h3 a { color: var(--c-ink); }
.blog-card h3 a:hover { color: var(--c-primary-dark); text-decoration: none; }
.blog-card p { color: var(--c-text-muted); font-size: .91rem; flex: 1; }

.blog-card-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .8rem;
    font-size: .76rem; font-weight: 500; color: var(--c-text-muted);
    text-transform: uppercase; letter-spacing: .06em;
}
.blog-chip {
    background: var(--c-primary-light); color: var(--c-primary-dark);
    padding: .22rem .65rem; border-radius: 999px; font-weight: 600;
}

/* Artykuł wyróżniony */
.blog-featured {
    display: grid; grid-template-columns: .85fr 1.15fr;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.blog-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(14, 116, 144, .45); }
.blog-featured-media {
    display: grid; place-items: center; min-height: 300px; color: rgba(255, 255, 255, .9);
    background:
        radial-gradient(500px 320px at 80% -10%, rgba(14, 116, 144, .55), transparent 70%),
        linear-gradient(140deg, var(--c-ink), #0e3542);
}
.blog-featured-body { padding: 2.4rem 2.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.blog-featured h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); margin: .5rem 0 .4rem; }
.blog-featured h2 a { color: var(--c-ink); }
.blog-featured h2 a:hover { color: var(--c-primary-dark); text-decoration: none; }
.blog-featured p { color: var(--c-text-muted); margin-bottom: 1.1rem; }

/* ---------- Blog: artykuł ---------- */
.article-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 480px at 85% -15%, rgba(14, 116, 144, .38), transparent 62%),
        linear-gradient(175deg, var(--c-ink) 0%, #0e3542 100%);
    padding: 9.5rem 0 3rem;
}
.article-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 90%);
}
.article-hero > .container { position: relative; z-index: 1; }
.article-hero .breadcrumbs { color: #93adb6; }
.article-hero .breadcrumbs a { color: #93adb6; }
.article-hero .breadcrumbs a:hover { color: #fff; }
.article-hero h1 { color: #fff; max-width: 880px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.article-chip {
    display: inline-block; margin-bottom: 1.1rem;
    font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
    color: #7fd4d0; background: rgba(127, 212, 208, .1);
    border: 1px solid rgba(127, 212, 208, .35);
    padding: .35rem .85rem; border-radius: 999px;
}
.article-meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.1rem; color: #93adb6; font-size: .87rem; }
.article-meta-row span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta-row time { color: #c6d8dd; }

.article-section { padding: 3.5rem 0 1rem; }
.article-body {
    max-width: 760px; margin: 0 auto;
    font-size: 1.04rem; line-height: 1.85; color: #33454e;
}
.article-lead { font-size: 1.14rem; color: var(--c-ink); }
.article-body h2 { font-size: 1.5rem; margin-top: 2.8rem; }
.article-body h2::after {
    content: ""; display: block; width: 44px; height: 3px;
    background: var(--c-accent); border-radius: 2px; margin-top: .55rem;
}
.article-body h3 { font-size: 1.16rem; margin-top: 1.9rem; }
.article-body ul { margin: 0 0 1.25em; }
.article-body li { margin-bottom: .45em; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14, 116, 144, .45); }
.article-body a:hover { text-decoration-color: currentColor; }
.article-body .table-wrap { margin: 1.4rem 0 .6rem; }
.article-body .check-list a { text-decoration: underline; }

/* Ramka "W skrócie" */
.takeaway {
    background: var(--c-primary-light); border: 1px solid #cde6ec;
    border-left: 3px solid var(--c-primary); border-radius: var(--radius-sm);
    padding: 1.35rem 1.6rem 1.05rem; margin: 0 0 2.2rem;
}
.takeaway-title {
    font-size: .74rem; font-weight: 700; letter-spacing: .15em;
    text-transform: uppercase; color: var(--c-primary-dark); margin-bottom: .55rem;
}
.takeaway .check-list li { padding: .26rem 0; font-size: .95rem; }

/* Udostępnianie + autor */
.article-extras { padding: 2.25rem 0 1rem; }
.article-extras-inner { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--c-hair); padding-top: 2rem; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.share-label { font-size: .8rem; font-weight: 600; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .1em; margin-right: .35rem; }
.share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--c-border); color: var(--c-ink);
    display: grid; place-items: center;
    transition: background .18s, color .18s, border-color .18s;
}
.share-btn:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); text-decoration: none; }
.share-f { font-weight: 800; font-size: 1.05rem; }
.author-box {
    display: flex; gap: 1.15rem; align-items: flex-start;
    background: var(--c-bg-soft); border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.author-avatar {
    width: 52px; height: 52px; flex: none; border-radius: 50%;
    background: var(--c-ink); color: #7fd4d0; display: grid; place-items: center;
}
.author-name { font-weight: 700; color: var(--c-ink); margin: 0 0 .25rem; }
.author-bio { font-size: .92rem; color: var(--c-text-muted); margin: 0; }

/* Powiązane artykuły */
.blog-grid-related { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }

/* ---------- Formularz ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--c-ink); }
.form-control {
    width: 100%; padding: .78rem .95rem; font-size: 1rem; font-family: inherit;
    border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
    background: #fff; color: var(--c-text); transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(14, 116, 144, .14); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--c-text-muted); }
.form-check input { margin-top: .3rem; accent-color: var(--c-primary); }
.form-alert { padding: .9rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-weight: 600; font-size: .95rem; }
.form-alert-ok { background: #e9f8ef; color: #14703c; border: 1px solid #bfe8cd; }
.form-alert-error { background: #fdeeee; color: #a12622; border: 1px solid #f3cbc9; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-info-box { background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.9rem; }
.contact-info-box ul { list-style: none; padding: 0; margin: 0; }
.contact-info-box li { padding: .55rem 0; display: flex; gap: .7rem; align-items: flex-start; }
.contact-info-box .ico { color: var(--c-primary); margin-top: .15rem; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--c-footer); color: #aabfc6; margin-top: 3.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 2.5rem; padding: 4rem 1.5rem 2.75rem; }
.footer-logo { margin: 0 0 1rem; }
.footer-logo img { display: block; width: auto; height: 56px; }
.footer-title { font-size: .78rem; font-weight: 600; color: #7fa3ad; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: .14em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .3rem 0; }
.site-footer a { color: #aabfc6; }
.site-footer a:hover { color: #fff; }
.footer-trustpilot { display: inline-flex; align-items: center; gap: .5rem; margin-top: .7rem; color: #7fd4d0 !important; font-weight: 600; }
.footer-contact-list a { display: inline-flex; align-items: flex-start; gap: .55rem; }
.footer-contact-list .ico { margin-top: .2rem; color: #7fa3ad; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.4rem 0; font-size: .84rem; }
.footer-bottom p { margin: 0 0 .3rem; }
.footer-disclaimer { opacity: .6; font-size: .78rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--c-whatsapp); color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(23, 138, 66, .4);
    transition: transform .2s, background .2s;
}
.whatsapp-float:hover { transform: scale(1.07); background: var(--c-whatsapp-dark); color: #fff; }
.whatsapp-float .ico { width: 28px; height: 28px; }

/* ---------- Cookie ---------- */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150;
    max-width: 580px; margin: 0 auto;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.3rem 1.5rem; font-size: .88rem;
}
.cookie-banner p { margin-bottom: .9rem; color: var(--c-text-muted); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 12rem 1rem 5rem; }
.error-code { font-size: 6.5rem; font-weight: 800; color: var(--c-primary-light); line-height: 1; -webkit-text-stroke: 2px var(--c-primary); letter-spacing: -.03em; }

/* ---------- Animacje przy przewijaniu (dodawane przez JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); }
    .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 8.5rem; padding-bottom: 3rem; }
    .page-head { padding-top: 8.5rem; }
    .article-hero { padding-top: 8.5rem; }
    .loop-item { padding: 0 1.25rem; }
    .loop-item img { max-height: 44px; }
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-media { min-height: 180px; }
    .blog-featured-body { padding: 1.8rem 1.6rem; }
    .hero-card { max-width: 540px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .cards-grid, .reviews-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* Menu mobilne: szklany panel rozwijany pod pływającym nagłówkiem.
       Absolute względem .header-inner - backdrop-filter na pillu tworzy
       containing block, więc position:fixed i tak liczyłby się od pilla. */
    .nav-toggle { display: block; }
    /* Uwaga: bez własnego backdrop-filter - zagnieżdżony filtr wewnątrz
       pilla (który już ma backdrop-filter) renderuje się błędnie. Przy tej
       nieprzezroczystości efekt wizualny jest identyczny. */
    .main-nav {
        position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 99;
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: .9rem .9rem 1.1rem; gap: .35rem;
        background: rgba(10, 32, 41, .97);
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(6, 20, 26, .45);
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .nav-list { flex-direction: column; align-items: stretch; width: 100%; }
    .nav-list > li > a, .nav-drop-btn { width: 100%; text-align: left; font-size: 1.02rem; padding: .8rem 1rem; }
    .nav-list a.active::after { display: none; }
    .nav-list a.active { background: rgba(255, 255, 255, .08); }
    .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; background: transparent;
        display: none; padding-left: 1rem;
    }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown a { color: #c4d6dc; }
    .dropdown a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
    .nav-cta { width: 100%; margin-top: .75rem; }
}

/* ---------- Telefon ---------- */
@media (max-width: 600px) {
    .section { padding: 2.75rem 0; }
    .cards-grid, .reviews-grid, .blog-grid, .steps, .blog-grid-related { grid-template-columns: 1fr; }
    .article-body { font-size: 1rem; }
    .author-box { flex-direction: column; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: .95rem 1rem; }
    .stat-num { font-size: 1.45rem; }
    .site-header { top: 10px; }
    /* 3 elementy na ekranie na telefonie */
    .loop-item { width: 33.334vw; padding: 0 .8rem; }
    .loop-item img { max-height: 36px; }
    .loop-band { padding: 1.1rem 0; }
    .header-inner { min-height: 60px; padding: .3rem .5rem .3rem .9rem; border-radius: 14px; }
    .logo-img { height: 38px; }
    .nav-phone { width: 38px; height: 38px; }
    .hero-ctas .btn { width: 100%; }
    .cta-band-actions { width: 100%; }
    .cta-band-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .whatsapp-float { width: 52px; height: 52px; }
}

/* ---------- Dostępność ---------- */
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
