/* ========================================
   eRdent - GŁÓWNY ARKUSZ STYLÓW
   ======================================== */

/* ---------- ZMIENNE ---------- */
:root {
    --primary: #0056b3;
    --primary-dark: #003d82;
    --primary-light: #e8f0fe;
    --secondary: #00a8a8;
    --secondary-light: #e6f7f7;
    --text: #1a1a2e;
    --text-light: #4a4a6a;
    --text-muted: #8888a8;
    --white: #ffffff;
    --gray: #f8f9fa;
    --gray-light: #f0f2f5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 86, 179, 0.15);
    --radius: 12px;
    --radius-large: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --max-width: 1200px;
}

/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ---------- TŁO 3D ---------- */
#three-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 50%, #f8f0ff 100%);
}

/* ---------- PRZYCISKI ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(0);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.2);
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 86, 179, 0.6); }
}

/* ---------- NAGŁÓWEK ---------- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1px 0; /* ZMIENIONE z 12px 0 na 1px 0 */
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	gap: 20px;  /* DODANE – odstęp między elementami */
}

.logo img {
    height: 100px; /* ZMIENIONE z 45px na 100px */
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-reservation {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 24px;
    font-size: 14px;
}

.btn-reservation:hover {
    background: #008a8a;
    transform: translateY(-2px);
}

.btn-reservation svg {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Statystyki */
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
}

/* Zdjęcie w hero */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.hero-image-floating {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    animation: float 3s ease-in-out infinite;
}

.floating-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-card span:first-child {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.floating-card span:last-child {
    font-size: 14px;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Fala */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ---------- TRUST SIGNALS ---------- */
.trust-signals {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.trust-content {
    display: flex;
    flex-direction: column;
}

.trust-content strong {
    font-size: 16px;
    color: var(--text);
}

.trust-content span {
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- SEKCJE ---------- */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- OFERTA ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-icon img {
    width: 32px;
    height: 32px;
    filter: invert(20%) sepia(90%) saturate(2000%) hue-rotate(200deg);
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    filter: invert(100%) brightness(200%);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card ul {
    list-style: none;
    text-align: center;
    margin-bottom: 16px;
}

.service-card ul li {
    padding: 4px 0;
    color: var(--text-light);
    font-size: 14px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ---------- ZESPÓŁ (PODGLĄD) ---------- */
.team-preview {
    background: var(--gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
}

.team-info {
    padding: 20px 24px 24px;
    text-align: center;
}

.team-info h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.team-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.team-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* ---------- OPINIE ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: #f5a623;
    font-size: 20px;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    font-size: 15px;
    color: var(--text);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- STOPKA ---------- */
footer {
    background: #0d1b2a;
    color: #b8a0d4;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(184, 160, 212, 0.15);
}

.footer-col h4 {
    color: #d4b8ff;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 6px;
    color: #b8a0d4;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #b8a0d4;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #d4b8ff;
}

/* POPRAWA: LOGO W STOPCE - MNIEJSZE I SKALOWALNE */
.footer-logo {
    height: 45px;  /* ZMIENIONE: z 40px na 45px dla lepszego wyglądu */
    width: auto;
    max-width: 180px;  /* DODANE: ograniczenie maksymalnej szerokości */
    margin-bottom: 16px;
    display: block;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(184, 160, 212, 0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #b8a0d4;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a {
    color: #b8a0d4;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: #d4b8ff;
}

/* ---------- RESPONSYWNOŚĆ STOPKI ---------- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        height: 40px;
        max-width: 150px;
        margin: 0 auto 16px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        height: 35px;
        max-width: 120px;
    }
}

/* ---------- TEKST ---------- */
.text-center {
    text-align: center;
}

/* ---------- RESPONSYWNOŚĆ (PRZENIESIONA DO RESPONSIVE.CSS) ---------- */
/* Podstawowe style responsywne są w oddzielnym pliku */

/* ========================================
   eRdent - NOWE KLASY DLA ZESPOŁU I CENNIKA
   ======================================== */

/* ---------- STRONY PODSTRON (PAGE HERO) ---------- */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 19px;
    color: var(--text-light);
}

/* ---------- ZESPÓŁ (PEŁNA STRONA) ---------- */
.team-full {
    padding: 60px 0 80px;
}

.team-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card-full {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-image-full {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.team-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-badge-full {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.team-info-full {
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-info-full h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-specialization {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-tags span {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

/* ---------- ASYSTENTKI ---------- */
.team-assistants {
    background: var(--gray);
    padding: 60px 0 80px;
}

.assistants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.assistant-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.assistant-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.assistant-image {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.assistant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.assistant-card:hover .assistant-image img {
    transform: scale(1.05);
}

.assistant-info {
    padding: 20px;
}

.assistant-info h4 {
    font-size: 18px;
    margin-bottom: 2px;
}

.assistant-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.assistant-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* ---------- CENNIK ---------- */
.pricing-section {
    padding: 60px 0 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pricing-category {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.pricing-category:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.pricing-category h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table tr {
    border-bottom: 1px solid var(--gray-light);
}

.pricing-table tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text);
}

.pricing-table .price {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.pricing-table .nfd-row td {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
}

.pricing-note {
    margin-top: 40px;
    padding: 24px 32px;
    background: var(--gray);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.pricing-note p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.pricing-note p:last-child {
    margin-bottom: 0;
}

/* ---------- KONTAKT ---------- */
.contact-section {
    padding: 60px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h3 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 2px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 15px;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 13px !important;
    color: var(--text-muted) !important;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 400 !important;
    font-size: 14px !important;
    cursor: pointer;
}

.checkbox-label input {
    width: auto !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

/* ---------- MAPA ---------- */
.map-section {
    padding: 0 0 80px;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.map-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-card h3 {
    padding: 16px 20px 0;
    font-size: 18px;
    color: var(--primary);
}

.map-card p {
    padding: 0 20px 16px;
    color: var(--text-light);
    font-size: 14px;
}

.map-placeholder {
    padding: 0 20px 20px;
}

/* ---------- GALERIA ---------- */
.gallery-section {
    padding: 60px 0 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* ---------- POLITYKA PRYWATNOŚCI ---------- */
.legal-content {
    padding: 60px 0 80px;
}

.legal-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px 56px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.legal-box h2 {
    font-size: 24px;
    color: var(--primary);
    margin: 30px 0 12px;
}

.legal-box h2:first-of-type {
    margin-top: 0;
}

.legal-box h3 {
    font-size: 18px;
    color: var(--text);
    margin: 20px 0 8px;
}

.legal-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-box ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-box ul li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 4px;
}

.legal-box a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-box a:hover {
    color: var(--primary-dark);
}

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid-full {
        max-width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p {
        font-size: 17px;
    }
    
    .team-card-full {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .team-image-full {
        min-height: 250px;
    }
    
    .team-info-full {
        padding: 20px;
    }
    
    .team-info-full h3 {
        font-size: 20px;
    }
    
    .assistants-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .map-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .legal-box {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   eRdent - STYLE OFERTY
   ======================================== */

/* ---------- OFERTA (szczegółowa) ---------- */
.services-full {
    padding: 60px 0 80px;
}

.service-detail {
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.service-detail:hover {
    box-shadow: var(--shadow-hover);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-detail-icon {
    font-size: 40px;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-header h2 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 4px;
}

.service-detail-header p {
    color: var(--text-light);
    font-size: 16px;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.service-detail-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    color: var(--text);
    line-height: 1.6;
}

.service-detail-content ul li:last-child {
    border-bottom: none;
}

.service-detail-content ul li strong {
    color: var(--primary);
}

.service-note {
    background: var(--gray);
    padding: 12px 20px;
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 15px;
    font-style: italic;
    margin-top: 8px;
}

.service-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #e8f5e9;
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-top: 12px;
}

.service-highlight span {
    font-size: 24px;
}

.service-highlight p {
    color: #2e7d32;
    font-weight: 600;
    margin: 0;
}

/* ---------- RESPONSYWNOŚĆ OFERTY ---------- */
@media (max-width: 767px) {
    .service-detail {
        padding: 24px;
    }
    
    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .service-detail-header h2 {
        font-size: 22px;
    }
}

/* ========================================
   eRdent - BANER COOKIES
   ======================================== */

#cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 32px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    border-top: 2px solid var(--primary);
}

#cookies-banner.visible {
    transform: translateY(0);
}

.cookies-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookies-text {
    flex: 1;
    min-width: 280px;
}

.cookies-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.cookies-text p:first-child {
    font-size: 16px;
    margin-bottom: 6px;
}

.cookies-text a {
    color: #b8a0d4;
    text-decoration: underline;
    transition: var(--transition);
}

.cookies-text a:hover {
    color: #d4b8ff;
}

.cookies-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookies-btn {
    padding: 10px 28px;
    font-size: 14px;
    white-space: nowrap;
}

.cookies-btn.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.cookies-btn.btn-primary:hover {
    background: var(--primary-dark);
}

.cookies-btn.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookies-btn.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- RESPONSYWNOŚĆ BANERA ---------- */
@media (max-width: 768px) {
    #cookies-banner {
        padding: 20px;
    }
    
    .cookies-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookies-text p {
        font-size: 13px;
    }
    
    .cookies-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookies-btn {
        padding: 10px 20px;
        font-size: 13px;
        flex: 1;
        text-align: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    #cookies-banner {
        padding: 16px;
    }
    
    .cookies-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookies-btn {
        width: 100%;
        justify-content: center;
    }
}