/* =========================================================
   1. RESET / PODSTAWY
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
iframe,
svg {
    max-width: 100%;
}

img {
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

main {
    display: block;
}


/* =========================================================
   2. ZMIENNE
   ========================================================= */

:root {
    --bg-warm: #FAF7F2;
    --text-dark: #2A2421;
    --text-muted: #6E635C;

    --accent-gold: #A18269;
    --accent-gold-hover: #8C7059;

    --card-bg: #FFFFFF;
    --border-color: #EAE3DA;

    --footer-bg: #2A2421;
    --footer-bottom-bg: #1D1816;

    --container-width: 1100px;

    --radius-small: 8px;
    --radius-button: 30px;

    --shadow-soft: 0 5px 15px rgba(42, 36, 33, 0.04);
    --shadow-medium: 0 10px 30px rgba(42, 36, 33, 0.06);

    --focus-outline: 3px solid rgba(161, 130, 105, 0.45);
}


/* =========================================================
   3. TYPOGRAFIA
   ========================================================= */

h1,
h2,
h3 {
    margin-top: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    color: var(--text-dark);
}

h4 {
    color: var(--text-dark);
}

p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

.serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}


/* =========================================================
   4. ACCESSIBILITY / FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 4px;
}

.nav-toggle:focus-visible,
.slider-arrow:focus-visible,
.dot:focus-visible,
#scroll-to-top:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 4px;
}


/* =========================================================
   5. LAYOUT
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section {
    padding: 80px 0;
}

.section-tag {
    display: block;
    margin-bottom: 10px;

    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 50px;
}

.margin-top-40 {
    margin-top: 40px;
}

section[id] {
    scroll-margin-top: 90px;
}


/* =========================================================
   6. NAWIGACJA
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    background-color: rgba(250, 247, 242, 0.95);
    border-bottom: 1px solid var(--border-color);

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);

    margin: 0 auto;
    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: padding 0.3s ease;
}

.navbar.sticky {
    background-color: rgba(250, 247, 242, 0.98);
    box-shadow: 0 4px 20px rgba(42, 36, 33, 0.05);
}

.navbar.sticky .nav-container {
    padding: 10px 20px;
}


/* =========================================================
   7. LOGO
   ========================================================= */

.logo {
    position: relative;
    z-index: 1100;

    display: flex;
    flex-direction: column;

    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo:hover {
    color: var(--accent-gold);
}

.logo-subtitle {
    margin-top: 3px;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;

    text-transform: uppercase;
    letter-spacing: 2px;

    color: var(--accent-gold);
}


/* =========================================================
   8. MENU DESKTOP
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.nav-links a {
    display: inline-block;

    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;

    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-cta {
    display: inline-block;

    padding: 10px 20px;

    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;

    color: #FFFFFF;
    background-color: var(--text-dark);

    border-radius: 20px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.nav-cta:hover {
    color: #FFFFFF;
    background-color: var(--accent-gold);
    transform: translateY(-1px);
}


/* =========================================================
   9. HAMBURGER
   ========================================================= */

.nav-toggle {
    position: relative;
    z-index: 1100;

    display: none;

    padding: 12px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.hamburger {
    position: relative;

    display: block;

    width: 24px;
    height: 2px;

    background-color: var(--text-dark);

    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';

    position: absolute;
    left: 0;

    width: 24px;
    height: 2px;

    background-color: var(--text-dark);

    transition:
        transform 0.3s ease,
        top 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.nav-toggle.open .hamburger {
    background-color: transparent;
}

.nav-toggle.open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.open .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}


/* =========================================================
   10. HERO
   ========================================================= */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;

    min-height: 70vh;

    padding-top: 80px;

    background-color: var(--bg-warm);
}

.hero-content {
    padding: 40px 80px;
}

.hero-tag {
    font-size: 0.9rem;
    font-weight: 600;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: var(--accent-gold);
}

.hero h1 {
    margin: 15px 0 25px;

    font-size: 3rem;
    line-height: 1.2;
}

.hero p {
    margin-bottom: 35px;

    font-size: 1.1rem;
}

.hero-image {
    height: 70vh;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   11. PRZYCISKI
   ========================================================= */

.btn-primary {
    display: inline-block;

    padding: 15px 35px;

    font-size: 0.95rem;
    font-weight: 600;

    color: #FFFFFF;
    background-color: var(--accent-gold);

    border-radius: var(--radius-button);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.btn-primary:hover {
    color: #FFFFFF;
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;

    padding: 12px 30px;

    font-size: 0.9rem;
    font-weight: 600;

    color: var(--text-dark);
    background-color: transparent;

    border: 1px solid var(--text-dark);
    border-radius: var(--radius-button);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.btn-outline:hover {
    color: #FFFFFF;
    background-color: var(--text-dark);
    transform: translateY(-1px);
}

.btn-booksy-small {
    display: inline-block;

    padding: 10px 25px;

    font-size: 0.85rem;
    font-weight: 600;

    color: #FFFFFF;
    background-color: var(--text-dark);

    border-radius: 20px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.btn-booksy-small:hover {
    color: #FFFFFF;
    background-color: var(--accent-gold);
    transform: translateY(-1px);
}

.voucher-btn {
    margin-top: 15px;
}


/* =========================================================
   12. ZABIEGI / AKORDEON
   ========================================================= */

.specjalizacje-section {
    background-color: #FFFFFF;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;

    overflow: hidden;

    background-color: var(--bg-warm);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.accordion-item.active {
    border-color: var(--accent-gold);
    box-shadow: 0 3px 12px rgba(42, 36, 33, 0.04);
}

.accordion-header {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 20px 25px;

    text-align: left;

    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;

    color: var(--text-dark);

    border: 0;
    background: transparent;

    cursor: pointer;

    transition: background-color 0.25s ease;
}

.accordion-header:hover {
    background-color: rgba(161, 130, 105, 0.05);
}

.accordion-title {
    flex: 1;
    font-weight: 400;
}

.accordion-icon {
    flex: 0 0 auto;

    min-width: 24px;

    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;

    color: var(--accent-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;

    transition: max-height 0.35s ease-out;
}

.accordion-inner {
    padding: 5px 25px 25px;
    border-top: 1px solid rgba(234, 227, 218, 0.5);
}

.accordion-inner p {
    margin-bottom: 20px;

    font-size: 0.95rem;
    line-height: 1.7;
}


/* =========================================================
   13. CENNIK
   ========================================================= */

.cennik-section {
    background-color: var(--bg-warm);
}

.cennik-card {
    max-width: 800px;

    margin: 0 auto;
    padding: 50px;

    text-align: center;

    background-color: #FFFFFF;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    box-shadow: 0 4px 15px rgba(42, 36, 33, 0.02);
}

.cennik-card h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cennik-card p {
    max-width: 600px;

    margin: 0 auto 30px;

    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================================
   14. MEDI PAY / VOUCHERY
   ========================================================= */

.medipay-section {
    background-color: #FFFFFF;
}

.medipay-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.medipay-slider {
    display: flex;
    flex-flow: row nowrap;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.medipay-slider::-webkit-scrollbar {
    display: none;
}

.medipay-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 5px;

    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.medipay-card {
    position: relative;

    padding: 50px;

    background-color: var(--bg-warm);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    box-shadow: 0 4px 15px rgba(42, 36, 33, 0.03);
}

.medipay-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;

    gap: 50px;
}

.slide-tag {
    display: block;

    margin-bottom: 10px;

    font-size: 0.8rem;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--accent-gold);
}

.medipay-text h3 {
    margin: 0 0 20px;

    font-size: 2.2rem;
    line-height: 1.2;
}

.medipay-link {
    font-weight: 600;

    color: var(--accent-gold);

    text-decoration: underline;
    text-underline-offset: 3px;
}

.medipay-link:hover {
    color: var(--text-dark);
}

.medipay-steps {
    padding: 35px;

    background-color: #FFFFFF;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    box-shadow: 0 4px 10px rgba(42, 36, 33, 0.01);
}

.medipay-steps h3 {
    margin-bottom: 15px;

    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.medipay-list {
    margin: 20px 0;
    padding: 0;

    list-style: none;
}

.medipay-list li {
    position: relative;

    margin-bottom: 15px;
    padding-left: 25px;

    font-size: 0.95rem;

    color: var(--text-muted);
}

.medipay-list li::before {
    content: "✦";

    position: absolute;
    top: 0;
    left: 0;

    color: var(--accent-gold);
}

.medipay-highlight {
    display: block;

    margin-top: 20px;

    font-size: 0.95rem;
    font-weight: 600;

    color: var(--accent-gold);
}

.medipay-image {
    width: 100%;
    max-height: 380px;

    overflow: hidden;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    box-shadow: var(--shadow-soft);
}

.medipay-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   15. STRZAŁKI SLIDERA
   ========================================================= */

.slider-arrow {
    position: absolute;
    top: 50%;

    z-index: 105;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: var(--text-dark);
    background-color: #FFFFFF;

    border: 1px solid var(--border-color);
    border-radius: 50%;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.slider-arrow:hover:not(:disabled) {
    color: #FFFFFF;
    background-color: var(--accent-gold);

    border-color: var(--accent-gold);

    transform: translateY(-50%) scale(1.08);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}


/* =========================================================
   16. KROPKI SLIDERA
   ========================================================= */

.slider-dots {
    position: absolute;
    right: 50px;
    bottom: 35px;

    z-index: 100;

    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: var(--border-color);

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active,
.dot[aria-current="true"] {
    background-color: var(--accent-gold);
}


/* =========================================================
   17. OPINIE
   ========================================================= */

.opinie-section {
    background-color: var(--bg-warm);
}

.rating-badge {
    margin-bottom: 40px;
}

.rating-badge .stars {
    display: block;

    font-size: 1.8rem;

    color: var(--accent-gold);
}

.rating-badge .score {
    display: block;

    margin: 5px 0;

    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
}

.reviews-count {
    margin: 0;
    font-size: 0.9rem;
}

.testimonials-grid {
    margin-top: 20px;
}

.testimonial-card {
    padding: 30px;

    background-color: #FFFFFF;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    box-shadow: var(--shadow-soft);
}

.testimonial-text {
    margin-bottom: 15px;

    font-size: 0.95rem;
    font-style: italic;
}

.testimonial-author {
    margin: 0;

    font-size: 0.85rem;
    font-weight: 600;

    color: var(--accent-gold);
}


/* =========================================================
   18. INSTAGRAM
   ========================================================= */

.instagram-section {
    background-color: #FFFFFF;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 40px;
}

.instagram-item {
    position: relative;

    display: block;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    box-shadow: 0 4px 10px rgba(42, 36, 33, 0.02);
}

.instagram-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.instagram-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;

    background-color: rgba(42, 36, 33, 0.4);

    transition: opacity 0.3s ease;
}

.instagram-icon-hover {
    font-size: 1.8rem;

    color: #FFFFFF;

    transform: scale(0.8);

    transition: transform 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.05);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover .instagram-icon-hover {
    transform: scale(1);
}

.btn-instagram {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 12px 30px;

    font-size: 0.9rem;
    font-weight: 600;

    color: var(--text-dark);
    background-color: #FFFFFF;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-button);

    box-shadow: 0 4px 10px rgba(42, 36, 33, 0.02);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.btn-instagram:hover {
    color: #FFFFFF;
    background-color: var(--text-dark);

    border-color: var(--text-dark);

    transform: translateY(-2px);
}


/* =========================================================
   19. O MNIE
   ========================================================= */

.o-mnie-section {
    background-color: var(--bg-warm);
}

.o-mnie-img img {
    width: 100%;
    height: auto;

    border-radius: var(--radius-small);

    box-shadow: var(--shadow-medium);
}

.o-mnie-text h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.features-list {
    margin-top: 30px;
}

.feature-item {
    margin-bottom: 10px;

    font-size: 0.95rem;
    font-weight: 400;

    color: var(--text-dark);
}


/* =========================================================
   20. GABINET
   ========================================================= */

.gabinet-section {
    background-color: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 30px;

    margin-top: 20px;
}

.gallery-item {
    overflow: hidden;

    background-color: var(--bg-warm);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 350px;

    object-fit: cover;
}

.gallery-caption {
    padding: 20px;
}

.gallery-caption h4 {
    margin: 0 0 5px;

    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-caption p {
    margin: 0;
    font-size: 0.9rem;
}


/* =========================================================
   21. KONTAKT
   ========================================================= */

.kontakt-section {
    background-color: var(--bg-warm);
}

.kontakt-section .grid-2 {
    align-items: stretch;
}

.kontakt-info {
    display: flex;
    flex-direction: column;

    justify-content: space-between;
}

.kontakt-info h2 {
    font-size: 2.5rem;
}

.contact-details {
    margin: 20px 0;
}

.contact-details p {
    margin-bottom: 10px;

    font-size: 1rem;

    color: var(--text-dark);
}

.contact-details a {
    font-weight: 600;
    color: var(--accent-gold);

    transition: color 0.25s ease;
}

.contact-details a:hover {
    color: var(--text-dark);
}

.hours-box {
    margin-top: auto;
    padding: 25px;

    background-color: #FFFFFF;

    border-left: 4px solid var(--accent-gold);
    border-radius: var(--radius-small);

    box-shadow: 0 4px 15px rgba(42, 36, 33, 0.02);
}

.hours-box h3 {
    margin-bottom: 15px;

    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.hours-box p {
    margin: 5px 0;

    font-size: 0.95rem;

    color: var(--text-dark);
}

.kontakt-map {
    display: flex;

    height: 100%;
}

.kontakt-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;

    border: 0;
    border-radius: var(--radius-small);

    box-shadow: var(--shadow-medium);
}


/* =========================================================
   22. STOPKA
   ========================================================= */

footer {
    padding: 60px 0 0;

    color: #FFFFFF;
    background-color: var(--footer-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    flex-direction: column;

    margin-bottom: 15px;

    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.2;

    letter-spacing: 1px;

    color: #FFFFFF;
}

.footer-brand-subtitle {
    margin-top: 3px;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--accent-gold);
}

.footer-text {
    max-width: 320px;

    margin: 0;

    font-size: 0.9rem;
    line-height: 1.6;

    color: #A89F98;
}

.footer-col h4 {
    margin: 0 0 20px;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;

    color: var(--accent-gold);
}

.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;

    color: #A89F98;

    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding: 20px 0;

    text-align: center;

    background-color: var(--footer-bottom-bg);

    border-top: 1px solid rgba(234, 227, 218, 0.05);
}

.footer-bottom p {
    margin: 0;

    font-size: 0.8rem;

    color: #8A7E75;
}


/* =========================================================
   23. MOBILE ACTION BAR
   ========================================================= */

.mobile-action-bar {
    display: none;
}


/* =========================================================
   24. SCROLL TO TOP
   ========================================================= */

#scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;

    z-index: 999;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;

    color: #FFFFFF;
    background-color: var(--accent-gold);

    border: 0;
    border-radius: 50%;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px);

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease,
        visibility 0.3s ease;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

#scroll-to-top:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-3px);
}


/* =========================================================
   25. TABLET / MNIEJSZY LAPTOP
   ========================================================= */

@media (max-width: 1024px) {

    .container {
        padding: 0 30px;
    }


    /* HERO */

    .hero {
        grid-template-columns: 1fr;

        min-height: auto;

        padding-bottom: 50px;

        text-align: center;
    }

    .hero-content {
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        height: 45vh;
    }


    /* SIATKI */

    .grid-2 {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .kontakt-section .grid-2 {
        align-items: center;
    }


    /* GABINET */

    .gallery-grid {
        grid-template-columns: 1fr;
    }


    /* MEDI PAY */

    .medipay-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .medipay-card {
        padding: 40px 30px;
    }

    .medipay-text h3 {
        font-size: 1.8rem;
    }

    .medipay-image {
        max-height: 320px;
    }

}


/* =========================================================
   26. TELEFONY
   ========================================================= */

@media (max-width: 768px) {

    body {
        padding-bottom: 82px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 55px 0;
    }

    .section-desc {
        margin-bottom: 35px;
    }


    /* -----------------------------------------
       NAVBAR MOBILE
       ----------------------------------------- */

    .nav-container {
        padding: 14px 18px;
    }

    .navbar.sticky .nav-container {
        padding: 10px 18px;
    }

    .navbar .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;

        width: min(78%, 340px);
        height: 100vh;
        height: 100dvh;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 25px;

        padding: 80px 24px 30px;

        background-color: rgba(250, 247, 242, 0.99);

        box-shadow: -10px 0 30px rgba(42, 36, 33, 0.1);

        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);

        z-index: 1050;

        transition: right 0.35s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;

        text-align: center;
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 12px 5px;

        font-size: 1.05rem;
        font-weight: 600;
    }


    /* -----------------------------------------
       HERO MOBILE
       ----------------------------------------- */

    .hero {
        padding-top: 70px;
        padding-bottom: 35px;
    }

    .hero-content {
        padding: 35px 20px;
    }

    .hero-tag {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        margin-bottom: 28px;

        font-size: 1rem;
    }

    .hero-image {
        order: -1;

        height: 35vh;
        min-height: 260px;
    }


    /* -----------------------------------------
       NAGŁÓWKI
       ----------------------------------------- */

    .o-mnie-text h2,
    .specjalizacje-section h2,
    .kontakt-info h2 {
        font-size: 2rem;
    }

    .cennik-card h2 {
        font-size: 1.9rem;
    }


    /* -----------------------------------------
       PRZYCISKI
       ----------------------------------------- */

    .btn-primary {
        padding: 14px 27px;

        font-size: 0.9rem;
    }


    /* -----------------------------------------
       AKORDEON
       ----------------------------------------- */

    .accordion-header {
        gap: 15px;

        padding: 16px 18px;

        font-size: 1.08rem;
    }

    .accordion-inner {
        padding: 5px 18px 20px;
    }


    /* -----------------------------------------
       CENNIK
       ----------------------------------------- */

    .cennik-card {
        padding: 35px 22px;
    }


    /* -----------------------------------------
       MEDI PAY
       ----------------------------------------- */

    .medipay-slider-wrapper {
        display: flex;
        flex-direction: column;
    }

    .slider-arrow {
        display: none;
    }

    .medipay-card {
        padding: 30px 20px;
    }

    .medipay-grid {
        gap: 25px;
    }

    .medipay-steps {
        padding: 22px;
    }

    .medipay-text h3 {
        font-size: 1.7rem;
    }

    .medipay-image {
        max-height: 280px;
    }

    .slider-dots {
        position: static;

        justify-content: center;

        margin-top: 18px;
    }

    .dot {
        width: 13px;
        height: 13px;
    }


    /* -----------------------------------------
       OPINIE - SLIDER MOBILE
       ----------------------------------------- */

    .testimonials-grid {
        display: flex;
        flex-flow: row nowrap;

        width: 100%;

        gap: 20px;

        margin-top: 20px;
        padding: 10px 5px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonials-grid .testimonial-card {
        flex: 0 0 90%;

        width: 90%;

        margin: 0;

        scroll-snap-align: center;
        scroll-snap-stop: always;
    }


    /* -----------------------------------------
       INSTAGRAM
       ----------------------------------------- */

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

        margin-top: 30px;
    }

    .instagram-overlay {
        display: none;
    }

    .btn-instagram {
        padding: 11px 22px;

        font-size: 0.82rem;
    }


    /* -----------------------------------------
       O MNIE
       ----------------------------------------- */

    .o-mnie-text {
        text-align: left;
    }


    /* -----------------------------------------
       GABINET - SLIDER / SWIPE MOBILE
       ----------------------------------------- */

    .gallery-grid {
        display: flex;
        flex-flow: row nowrap;

        width: 100%;

        gap: 16px;

        margin-top: 20px;
        padding: 5px 4px 10px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 90%;

        width: 90%;

        margin: 0;

        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .gallery-item img {
        width: 100%;
        height: 280px;

        object-fit: cover;
    }


    /* -----------------------------------------
       KONTAKT
       ----------------------------------------- */

    .kontakt-map iframe {
        min-height: 350px;
    }

    .hours-box {
        margin-top: 20px;
    }


    /* -----------------------------------------
       STOPKA
       ----------------------------------------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-text {
        margin: 0 auto;
    }

    .footer-col h4 {
        margin-bottom: 10px;
    }


    /* -----------------------------------------
       MOBILE ACTION BAR
       ----------------------------------------- */

    .mobile-action-bar {
        position: fixed;
        left: 0;
        bottom: 0;

        z-index: 1000;

        width: 100%;

        display: grid;
        grid-template-columns: 1fr 1.3fr;

        gap: 12px;

        padding:
            12px
            15px
            calc(12px + env(safe-area-inset-bottom));

        background: rgba(250, 247, 242, 0.94);

        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);

        box-shadow: 0 -5px 20px rgba(42, 36, 33, 0.08);
    }

    .action-btn {
        min-height: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 8px;

        padding: 11px 12px;

        font-size: 0.88rem;
        font-weight: 600;

        border-radius: 25px;

        box-shadow: 0 4px 10px rgba(42, 36, 33, 0.04);

        transition:
            transform 0.2s ease,
            background-color 0.2s ease;
    }

    .action-btn:active {
        transform: scale(0.98);
    }

    .call-btn {
        color: var(--text-dark);
        background-color: #FFFFFF;

        border: 1px solid var(--border-color);
    }

    .book-btn {
        color: #FFFFFF;
        background-color: var(--accent-gold);
    }


    /* -----------------------------------------
       SCROLL TO TOP
       ----------------------------------------- */

    #scroll-to-top {
        right: 18px;
        bottom: 92px;

        width: 45px;
        height: 45px;

        font-size: 1.2rem;
    }

}


/* =========================================================
   27. MAŁE TELEFONY
   ========================================================= */

@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }


    /* NAV */

    .logo {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }


    /* HERO */

    .hero h1 {
        font-size: 1.95rem;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-image {
        min-height: 230px;
    }


    /* TYPO */

    .section-tag {
        font-size: 0.72rem;
        letter-spacing: 1.6px;
    }


    /* AKORDEON */

    .accordion-header {
        padding: 15px;

        font-size: 1rem;
    }

    .accordion-inner {
        padding: 5px 15px 18px;
    }


    /* MEDI PAY */

    .medipay-card {
        padding: 25px 16px;
    }

    .medipay-steps {
        padding: 18px;
    }

    .medipay-text h3 {
        font-size: 1.55rem;
    }


    /* OPINIE */

    .testimonials-grid .testimonial-card {
        flex-basis: 92%;

        width: 92%;

        padding: 24px 20px;
    }


    /* INSTAGRAM */

    .instagram-grid {
        gap: 8px;
    }


    /* GABINET */

    .gallery-item {
        flex-basis: 92%;

        width: 92%;
    }

    .gallery-item img {
        height: 240px;
    }


    /* STOPKA */

    footer {
        padding-top: 45px;
    }

}


/* =========================================================
   28. REDUKCJA ANIMACJI
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}