/* ==========================================================================
   DOBRY DENTYSTA - ARKUSZ STYLÓW (style.css)
   Praktyka Stomatologiczna w Borzęcinie Dużym
   ========================================================================== */

/* Zmienne CSS */
:root {
    --primary-color: #F6A811;      /* Ciepły, przyjazny żółty/pomarańczowy */
    --primary-hover: #e0950b;      /* Ciemniejszy odcień przy najechaniu */
    --primary-dark: #8a5700;
    --bg-white: #FFFFFF;           /* Czysta biel */
    --bg-light: #FAFAFA;           /* Bardzo jasny szary do sekcji */
    --bg-dark: #1A1A1A;            /* Głęboka czerń / ciemny grafit */
    --text-dark: #1A1A1A;          /* Główny kolor tekstu */
    --text-muted: #555555;         /* Przygaszony szary dla opisów */
    --text-white: #FFFFFF;         /* Biały tekst */
    --font-family: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-round: 50px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(246, 168, 17, 0.08);
}

@font-face {
    font-family: "Gabarito";
    src: url("assets/fonts/Gabarito-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("assets/fonts/Gabarito-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("assets/fonts/Gabarito-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("assets/fonts/Gabarito-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("assets/fonts/Gabarito-800.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("assets/fonts/Gabarito-900.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

/* Reset stylów */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.privacy-modal-body .policy-language {
    margin-bottom: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

.privacy-modal-close:focus-visible,
.cookie-btn:focus-visible,
.map-consent-note .btn:focus-visible,
.footer-legal-btn:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Pomocnicze klasy (Layout & Spacing) */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.w-full {
    width: 100%;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.accent-color {
    color: var(--primary-color);
}

/* Sekcje - Ogólny wygląd */
section {
    padding-top: 80px;
    padding-bottom: 80px;
    scroll-margin-top: 84px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background-color: rgba(246, 168, 17, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: var(--border-radius-round);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--border-radius-round);
    transition: var(--transition-normal);
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
    border: none;
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible {
    outline: 3px solid #175ea8;
    outline-offset: 3px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-secondary {
    background-color: rgba(26, 26, 26, 0.05);
    color: var(--text-dark);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background-color: rgba(26, 26, 26, 0.1);
    transform: translateY(-2px);
}

/* Header / Nawigacja */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
    height: 80px;
    transition: var(--transition-normal);
}

.header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 0.95;
    font-size: 1.15rem;
}

@media (min-width: 576px) {
    .logo-text {
        flex-direction: row;
        gap: 5px;
        line-height: 1.2;
        font-size: 1.3rem;
    }
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--bg-dark);
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--text-dark);
    opacity: 0.8;
}

.desktop-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Przełącznik języka */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 700;
    padding: 4px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-btn.active {
    color: var(--text-dark);
    position: relative;
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 4px;
    right: 4px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.divider {
    color: #DDDDDD;
    user-select: none;
}

/* Przycisk połączenia w Headerze */
.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--border-radius-round);
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(246, 168, 17, 0.15);
}

.phone-icon {
    flex-shrink: 0;
}

/* Mobilny Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition-normal);
}

/* Aktywny stan burgera */
.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobilne Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-white);
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    padding: 110px 30px calc(40px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-footer .call-btn {
    justify-content: center;
    text-align: center;
}

.mobile-info {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   SEKCJA HERO / O NAS
   ========================================================================== */
.hero-section {
    background-color: var(--bg-white);
    padding-top: 140px;
    padding-bottom: 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(246,168,17,0.06) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 6px 14px;
    border-radius: var(--border-radius-round);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-content h1 {
    margin-bottom: 24px;
}

.main-title-brand {
    display: block;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-dark);
}

.main-title-sub {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    letter-spacing: normal;
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .main-title-brand {
        font-size: 2.6rem;
    }
    .main-title-sub {
        font-size: 1.4rem;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .main-title-brand {
        font-size: 2.2rem;
    }
    .main-title-sub {
        font-size: 1.25rem;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .main-title-brand {
        font-size: 2.0rem;
    }
    .main-title-sub {
        font-size: 1.15rem;
        margin-top: 6px;
    }
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-inline-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.inline-icon {
    color: var(--primary-color);
    font-weight: 900;
}

/* Obrazek w sekcji Hero */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out, transform var(--transition-normal);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img.hero-slide {
    object-fit: cover;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-image-card:hover .hero-slide {
    transform: scale(1.03);
}

.badge-icon {
    background-color: rgba(246, 168, 17, 0.15);
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-badge strong {
    font-size: 0.95rem;
    font-weight: 800;
    display: block;
    color: var(--text-dark);
}

.floating-badge p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SEKCJA ZESPÓŁ
   ========================================================================== */
.team-section {
    background-color: var(--bg-light);
}

.team-grid-container {
    width: 100%;
}

.team-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.team-row-founders {
    margin-bottom: 32px;
}

.team-row .team-card {
    width: 320px;
    max-width: 340px;
}

.team-card.clickable {
    cursor: pointer;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    background: var(--bg-white);
}

.team-card.clickable:hover {
    border-color: rgba(246, 168, 17, 0.3);
}

.team-card.clickable:focus-visible {
    outline: 3px solid #175ea8;
    outline-offset: 4px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 12px;
    transition: var(--transition-normal);
}

.team-card:hover .read-more-btn {
    color: var(--primary-hover);
    text-decoration: underline;
}

.team-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.member-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.member-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .member-image-placeholder img {
    transform: scale(1.05);
}

.avatar-fallback {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.member-info {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.member-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.member-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   SEKCJA DLACZEGO MY
   ========================================================================== */
.features-section {
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    background-color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(246, 168, 17, 0.15);
}

.feature-icon-box {
    background-color: var(--bg-white);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   SEKCJA OPINIE
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-light);
}

.reviews-scroll-frame {
    position: relative;
    isolation: isolate;
}

.reviews-scroll-frame::before,
.reviews-scroll-frame::after {
    position: absolute;
    top: 0;
    bottom: 25px;
    z-index: 1;
    width: 76px;
    content: "";
    pointer-events: none;
}

.reviews-scroll-frame.has-left-overflow::before {
    left: 0;
    background: linear-gradient(90deg, #fafafa 0%, rgba(250, 250, 250, 0.88) 30%, rgba(250, 250, 250, 0) 100%);
}

.reviews-scroll-frame.has-right-overflow::after {
    right: 0;
    background: linear-gradient(270deg, #fafafa 0%, rgba(250, 250, 250, 0.88) 30%, rgba(250, 250, 250, 0) 100%);
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 25px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.reviews-fallback {
    width: 100%;
    color: var(--text-muted);
    text-align: center;
}

.testimonials-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    min-width: 320px;
    width: 340px;
    max-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.rating {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    background-color: rgba(246, 168, 17, 0.1);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.95rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 0.95rem;
    font-weight: 800;
}

.author-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SEKCJA KONTAKT I LOKALIZACJA
   ========================================================================== */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    background-color: rgba(246, 168, 17, 0.1);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-item h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.detail-link {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-dark);
}

.detail-link:hover {
    color: var(--primary-color);
}

.detail-text {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Karta godzin pracy */
.hours-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.hours-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.hours-row:last-of-type {
    border-bottom: none;
}

.hours-row.highlight-row {
    color: var(--primary-color);
}

.hours-row .hours {
    font-weight: 700;
}

.hours-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Map i parking */
.contact-map-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.map-container {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 8 / 5;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #eef1e9;
}

.map-viewport,
.google-map-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-viewport {
    position: relative;
    overflow: hidden;
    background: #eef1e9;
    touch-action: pan-y;
    cursor: grab;
}

.map-viewport.is-dragging {
    cursor: grabbing;
}

.map-viewport:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: -4px;
}

#map-canvas {
    display: block;
    width: 100%;
    height: 100%;
    user-select: none;
}

#map-canvas image {
    pointer-events: none;
}

.map-labels text {
    stroke: #f8f9f5;
    stroke-width: 5px;
    stroke-linejoin: round;
    paint-order: stroke;
    pointer-events: none;
}

.map-labels .map-place-label {
    stroke: none;
    filter: none;
}

.map-direction {
    stroke: none;
}

.map-direction .map-place-label {
    stroke: none;
    filter: none;
    pointer-events: none;
}

.map-labels rect {
    filter: none;
    pointer-events: none;
}

.map-labels circle {
    pointer-events: none;
}

.map-zoom-toolbar {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 4;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(36, 48, 39, 0.18);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 33, 24, 0.12);
}

.map-zoom-toolbar[hidden] {
    display: none;
}

.map-zoom-controls {
    display: flex;
    flex-direction: row;
}

.map-zoom-controls button {
    width: 32px;
    height: 30px;
    border: 0;
    background: #fff;
    color: #23332a;
    font: 700 1.15rem/1 var(--font-family);
    cursor: pointer;
}

.map-zoom-controls button + button {
    border-left: 1px solid #e8ebe6;
}

.map-zoom-controls button:hover {
    background: #f3f6f1;
}

.map-zoom-controls button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid #1d4ed8;
    outline-offset: -3px;
}

.map-zoom-status {
    min-width: 42px;
    padding: 0 6px;
    border-left: 1px solid #e8ebe6;
    color: #405047;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

.map-attribution {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 3;
    display: flex;
    gap: 3px;
    align-items: center;
    padding: 2px 5px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: #3f4b43;
    font-size: 0.45rem;
    line-height: 1.4;
}

.map-attribution a {
    text-decoration: underline;
}

.map-attribution[hidden] {
    display: none;
}

.map-consent-note {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    padding: 0 4px;
}

.map-consent-note p {
    flex: 1 1 130px;
    min-width: 0;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.4;
}

.map-consent-note .btn {
    flex-shrink: 0;
    max-width: 100%;
    min-height: 34px;
    padding: 7px 12px;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
}

.google-map-frame {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.google-map-frame[hidden],
.map-consent-note[hidden],
.cookie-banner[hidden],
.privacy-modal-overlay[hidden],
.policy-language[hidden] {
    display: none !important;
}

.parking-info {
    background-color: #f1f7fc;
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    border: 1px solid rgba(26, 115, 232, 0.05);
}

.parking-icon {
    font-size: 1.8rem;
    line-height: 1;
    background-color: #e2effa;
    color: #1a73e8;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
}

.parking-info h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #1a73e8;
    margin-bottom: 4px;
}

.parking-info p {
    font-size: 0.9rem;
    color: #4a5a6a;
    line-height: 1.5;
}

/* ==========================================================================
   STOPKA
   ========================================================================== */
.main-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1.1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 24px;
}

.logo-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.footer-brand-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-nav-column h4,
.footer-legal-column h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.footer-nav-column ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav-column a {
    font-weight: 600;
}

.footer-nav-column a:hover {
    color: var(--primary-color);
}

.footer-legal-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Dół stopki */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 0.85rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creator-tag {
    opacity: 0.6;
}

/* ==========================================================================
   MEDIA QUERIES (Responsywność)
   ========================================================================== */

/* 1024px (Laptopy / Tablety horyzontalnie) */
@media (max-width: 1024px) {
    body.menu-open .header-actions > .call-btn {
        display: none;
        pointer-events: none;
    }

    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    /* Ukrywamy standardową nawigację */
    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    /* Dopasowania Hero - Przenosimy slideshow na górę */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-image-wrapper {
        grid-row: 1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-image-card {
        aspect-ratio: 16 / 10;
    }

    .hero-content {
        grid-row: 2;
        text-align: center;
    }

    .location-badge {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .hero-actions {
        justify-content: center;
        gap: 12px;
    }

    .hero-actions .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-features-inline {
        justify-content: center;
    }

    /* Dopasowania Zespół na tablecie: 2 karty, 2 karty i 1 karta (wszystkie wyśrodkowane) */
    .team-row {
        gap: 24px;
    }

    .team-row-founders {
        margin-bottom: 24px;
    }

    .team-row .team-card {
        width: calc(50% - 12px);
        max-width: 340px;
    }

    .testimonials-grid {
        gap: 20px;
    }

    .contact-grid {
        gap: 40px;
    }
}

/* 768px (Tablety / Duże telefony) */
@media (max-width: 768px) {
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    /* Dopasowania Hero na mniejszych ekranach */
    .hero-content h1 {
        font-size: 2.1rem;
    }

/* 640px (Telefony / Układ mobilny) */
@media (max-width: 640px) {
    /* Dopasowania Zespół - 1 kolumna na telefonach */
    .team-row {
        gap: 20px;
    }

    .team-row-founders {
        margin-bottom: 20px;
    }

    .team-row .team-card {
        width: 100%;
        max-width: 340px;
    }
}



    /* Dopasowania Opinie */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Dopasowania Kontakt */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Stopka */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* 480px (Smartfony) */
@media (max-width: 480px) {
    .header-actions .call-btn span {
        display: none; /* Ukryj tekst numeru w małym telefonie w headerze, zostawiając ikonę dla oszczędności miejsca */
    }
    
    .call-btn {
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .floating-badge {
        max-width: 90%;
        bottom: 12px;
        left: 12px;
        padding: 10px 14px;
    }

    .floating-badge strong {
        font-size: 0.85rem;
    }

    .floating-badge p {
        font-size: 0.75rem;
    }

    .map-container {
        height: 300px;
    }
}

/* ==========================================================================
   MODAL / LIGHTBOX SPECJALISTÓW
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(18, 25, 38, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 1080px;
    height: min(78vh, 720px);
    height: min(78dvh, 720px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: min(90vh, 900px);
    max-height: min(90dvh, 900px);
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(18, 25, 38, 0.05);
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    z-index: 10;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: rgba(18, 25, 38, 0.1);
    transform: rotate(90deg);
}

.modal-bio-profile {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    min-height: 0;
}

.modal-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.modal-image-col {
    background-color: var(--bg-light);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.modal-image-col img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modal-text-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.modal-text-header {
    flex: 0 0 auto;
    padding: 32px 76px 20px 34px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-text-col h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0;
}

.modal-bio-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 22px 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.modal-bio-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.modal-bio-text p strong {
    color: var(--text-dark);
    font-weight: 700;
}

.modal-bio-text p:last-child {
    margin-bottom: 0;
}

.modal-actions {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 18px 34px 26px;
    border-top: 1px solid #e5e7eb;
}

/* Responsywność modala */
@media (max-width: 768px) {
    .modal-container {
        height: calc(100vh - 40px);
        height: calc(100dvh - 40px);
        max-height: calc(100vh - 40px);
        max-height: calc(100dvh - 40px);
    }

    .modal-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }
    
    .modal-image-col {
        flex: 0 0 auto;
        aspect-ratio: 1 / 0.9;
        min-height: 0;
        height: auto;
    }

    .modal-image-col img {
        object-position: center top;
    }

    .modal-text-col {
        flex: 1 1 auto;
        min-height: 0;
    }

    .modal-text-header {
        padding: 20px 64px 14px 22px;
    }

    .modal-bio-scroll {
        padding: 16px 22px;
    }

    .modal-actions {
        padding: 14px 22px calc(18px + env(safe-area-inset-bottom));
    }
    
    .modal-text-col h3 {
        font-size: 1.5rem;
    }
    
    .modal-close {
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .modal-image-col {
        display: none;
    }
}

/* ========================================================================== 
   NOWE STYLE DLA DYNAMICZNEGO SLIDERA OPINII
   ========================================================================== */
.reviews-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    width: 100%;
    flex-wrap: wrap;
}

.leave-review-btn {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 12px 24px;
    text-transform: uppercase;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--border-radius-round);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-decoration: none !important;
}

.slider-arrows {
    display: inline-flex;
    gap: 10px;
}

.arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.arrow-btn:hover {
    background-color: var(--bg-light);
    border-color: #d1d5db;
}

/* Zobacz więcej opinii - szara karta */
.more-reviews-card {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0;
    text-align: center;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.more-reviews-card:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.more-reviews-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(148, 163, 184, 0.15);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform var(--transition-normal);
}

.more-reviews-card:hover .more-reviews-icon {
    transform: scale(1.1);
    background-color: rgba(246, 168, 17, 0.15);
    color: var(--primary-color);
}

.more-reviews-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #334155;
    margin-bottom: 8px;
    transition: color var(--transition-normal);
}

.more-reviews-card:hover .more-reviews-title {
    color: var(--primary-color);
}

.more-reviews-desc {
    font-size: 0.75rem;
    color: #64748b;
    max-width: 200px;
    margin: 0;
    line-height: 1.4;
}

/* Ulepszenia wyświetlania opinii na urządzeniach mobilnych (marginesy, szerokości i swipe-peek) */
@media (max-width: 768px) {
    .reviews-scroll-frame::before,
    .reviews-scroll-frame::after {
        display: none;
    }

    .testimonials-grid {
        margin-left: -12px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
        gap: 16px;
    }
    
    .testimonial-card {
        min-width: 280px;
        width: 85vw;
        max-width: 340px;
        padding: 24px;
    }
}

/* ==========================================================================
   STOPKA - LINKI PRAWNE (RODO / COOKIES)
   ========================================================================== */
.footer-legal-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal-btn {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.6);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-legal-btn:hover {
    color: var(--primary-color);
}

.policy-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.policy-page h1,
.policy-page h2 {
    margin: 24px 0 12px;
}

.policy-page p,
.policy-page li {
    margin-bottom: 12px;
}

.policy-page ul {
    margin: 0 0 20px 24px;
    list-style: disc;
}

.policy-language {
    margin-bottom: 48px;
}

.policy-back {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--text-dark);
    text-decoration: underline;
}

.modal-overlay[hidden],
.modal-bio-profile[hidden] {
    display: none !important;
}

.modal-overlay.is-open {
    display: flex;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .footer-bottom-container {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center;
    }
    
    .footer-legal-links {
        gap: 16px;
    }
}

/* ==========================================================================
   BANER COOKIES (Zgoda na pliki cookies - RODO / ePrivacy)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 16px 24px 24px;
    pointer-events: none;
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 24px 28px;
    pointer-events: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content {
    flex-grow: 1;
}

.cookie-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.cookie-icon {
    font-size: 1.25rem;
}

.cookie-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.55;
    font-weight: 500;
    margin: 0;
}

.cookie-privacy-link {
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-privacy-link:hover {
    color: var(--primary-dark);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 12px 22px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
    border: none;
    font-family: inherit;
}

.cookie-btn-secondary {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #4b5563;
}

.cookie-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: var(--text-dark);
}

.cookie-btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 14px rgba(246, 168, 17, 0.35);
}

.btn-primary:hover,
.call-btn:hover,
.leave-review-btn:hover,
.cookie-btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(246, 168, 17, 0.25);
}

.cookie-btn-active {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 12px;
    }
    .cookie-container {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        text-align: center;
    }
    .cookie-title {
        justify-content: center;
    }
    .cookie-actions {
        width: 100%;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .map-container {
        height: auto;
        aspect-ratio: 1.6;
    }

    .map-consent-note {
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 0 2px;
    }

    .map-consent-note .btn {
        width: auto;
        min-width: 0;
        padding: 7px 10px;
        font-size: 0.7rem;
    }

    .map-attribution {
        left: 8px;
        bottom: 8px;
        font-size: 0.4rem;
    }

    .map-zoom-controls button {
        width: 30px;
        height: 28px;
    }

    .map-zoom-toolbar {
        right: 8px;
        bottom: 8px;
    }

    .privacy-modal-overlay {
        padding: 8px;
    }

    .privacy-modal-container {
        max-height: calc(100dvh - 16px);
        border-radius: 18px;
    }

    .privacy-modal-header {
        padding: 16px 18px;
    }

    .privacy-modal-body {
        padding: 8px 16px;
    }
}

/* ==========================================================================
   MODAL POLITYKI PRYWATNOŚCI (RODO / GDPR)
   ========================================================================== */
.privacy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalScaleUp {
    from {
        transform: scale(0.95) translateY(15px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.privacy-modal-container {
    background-color: #ffffff;
    border-radius: 28px;
    width: 100%;
    max-width: 820px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal-container section {
    padding: 0;
    scroll-margin-top: 0;
}

.privacy-modal-header {
    padding: 22px 28px;
    border-bottom: 1px solid #f1f5f9;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.privacy-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-modal-title .privacy-icon {
    font-size: 1.4rem;
}

.privacy-modal-title h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.3px;
}

.privacy-modal-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    transition: var(--transition-fast);
}

.privacy-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.privacy-modal-body {
    padding: 8px clamp(22px, 5vw, 36px);
    overflow-y: auto;
    flex-grow: 1;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #4b5563;
}

.privacy-modal-body .policy-language {
    max-width: 680px;
    margin: 0 auto;
}

.privacy-modal-body .policy-language h2 {
    margin: 1.8rem 0 0.65rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.35;
}

.privacy-modal-body .policy-language h2:first-child {
    margin-top: 0;
}

.privacy-modal-body .policy-language p {
    margin: 0 0 1rem;
}

.privacy-modal-body .policy-language ul {
    margin: 0.5rem 0 1.25rem;
    padding-left: 1.35rem;
    list-style: disc;
}

.privacy-modal-body .policy-language li {
    margin-bottom: 0.6rem;
    padding-left: 0.15rem;
}

.privacy-section {
    margin-bottom: 24px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.privacy-section p {
    margin-bottom: 10px;
}

.privacy-section ul {
    margin: 8px 0 12px 20px;
    list-style-type: disc;
}

.privacy-section ul li {
    margin-bottom: 6px;
    line-height: 1.55;
}

.privacy-section strong {
    color: var(--text-dark);
    font-weight: 700;
}

.privacy-email-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

.privacy-email-link:hover {
    color: var(--primary-dark);
}

.privacy-modal-footer {
    padding: 16px 28px;
    border-top: 1px solid #f1f5f9;
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .privacy-modal-container {
        max-height: 92vh;
        border-radius: 20px;
    }
    .privacy-modal-header {
        padding: 18px 20px;
    }
    .privacy-modal-body {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
