/* ============================================
   Notariusz Giemza - Main Stylesheet
   Elegant dark theme with gold accents
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --color-bg-primary: #0a0e17;
    --color-bg-secondary: #111827;
    --color-bg-tertiary: #1a2235;
    --color-bg-card: #151d2e;
    --color-bg-card-hover: #1c2740;

    --color-gold: #c9a84c;
    --color-gold-light: #e2c97e;
    --color-gold-dark: #a8872e;
    --color-gold-subtle: rgba(201, 168, 76, 0.1);
    --color-gold-border: rgba(201, 168, 76, 0.2);

    --color-text-primary: #f0ece4;
    --color-text-secondary: #a0a8b8;
    --color-text-muted: #6b7588;

    --color-white: #ffffff;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito Sans', -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.15);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1em;
    color: var(--color-text-secondary);
}

strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: var(--color-bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-outline:hover {
    background: var(--color-gold-subtle);
    color: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* --- Section Styles --- */
.section {
    padding: var(--section-padding);
    position: relative;
}

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

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 20px;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-primary);
    text-decoration: none;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--color-gold);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.nav-dropdown-link:hover {
    background: var(--color-gold-subtle);
    color: var(--color-gold);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   PAGE HEADER (Subpages)
   ============================================ */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
        var(--color-bg-secondary);
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(201, 168, 76, 0.01) 2px,
            rgba(201, 168, 76, 0.01) 4px
        );
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.breadcrumb-sep {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    margin-top: 80px;
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.cta-box p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    color: var(--color-text-secondary);
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(26, 34, 53, 0.8) 0%, transparent 70%),
        var(--color-bg-primary);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(201, 168, 76, 0.015) 2px,
            rgba(201, 168, 76, 0.015) 4px
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-gold-border);
    border-radius: 2px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title-accent {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.hero-description {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1.2s forwards;
    opacity: 0;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* ============================================
   KANCELARIA SECTION
   ============================================ */
.section-kancelaria {
    background: var(--color-bg-secondary);
}

.kancelaria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.kancelaria-content .lead-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.highlight-text {
    padding: 20px 24px;
    border-left: 3px solid var(--color-gold);
    background: var(--color-gold-subtle);
    border-radius: 0 4px 4px 0;
    color: var(--color-text-primary);
    font-style: italic;
}

.kancelaria-features {
    display: grid;
    gap: 20px;
}

.feature-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-gold-border);
    transform: translateX(4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    background: var(--color-gold-subtle);
    border-radius: 4px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--color-text-secondary);
}

/* ============================================
   CZYNNOŚCI NOTARIALNE SECTION
   ============================================ */
.section-czynnosci {
    background: var(--color-bg-primary);
}

.czynnosci-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.czynnosci-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.czynnosci-list h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
}

.czynnosci-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    margin-bottom: 80px;
}

.czynnosci-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition-base);
}

.czynnosci-item:hover {
    border-color: var(--color-gold-border);
    background: var(--color-bg-card-hover);
}

.czynnosci-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold);
    background: var(--color-gold-subtle);
    border-radius: 50%;
}

.czynnosci-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Akty Notarialne */
.akty-section {
    margin-top: 40px;
}

.akty-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-gold);
}

.akty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.akty-category h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.akty-category ul {
    list-style: none;
}

.akty-category li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.akty-category li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0.6;
}

/* ============================================
   OPŁATY SECTION
   ============================================ */
.section-oplaty {
    background: var(--color-bg-secondary);
}

.oplaty-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.oplaty-list {
    text-align: left;
    max-width: 400px;
    margin: 24px auto;
    counter-reset: item;
}

.oplaty-list li {
    counter-increment: item;
    padding: 8px 0;
    font-size: 1rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.oplaty-list li::before {
    content: counter(item) '.';
    font-weight: 700;
    color: var(--color-gold);
    min-width: 24px;
}

.oplaty-note {
    margin-top: 24px;
    padding: 16px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.oplaty-free {
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--color-gold);
}

/* Tabs */
.oplaty-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0;
}

.tab-btn {
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--color-text-secondary);
}

.tab-btn.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.tab-content h4 {
    margin: 32px 0 16px;
    color: var(--color-text-primary);
}

.tab-content p {
    margin-bottom: 16px;
}

/* Tables */
.tabela-container {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tabela thead {
    background: var(--color-bg-tertiary);
}

.tabela th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
}

.tabela td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.tabela tbody tr:hover {
    background: var(--color-gold-subtle);
}

.tabela tbody tr:last-child td {
    border-bottom: none;
}

/* Info Box */
.info-box {
    padding: 20px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 4px 4px 0;
    margin: 24px 0;
}

.info-box.highlight {
    background: var(--color-gold-subtle);
    border-color: var(--color-gold);
    text-align: center;
    font-size: 1.2rem;
}

.info-box p {
    margin: 0;
    color: var(--color-text-primary);
}

/* Styled List */
.styled-list {
    list-style: none;
    margin: 16px 0;
}

.styled-list li {
    position: relative;
    padding: 6px 0 6px 24px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.styled-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* ============================================
   KONTAKT SECTION
   ============================================ */
.section-kontakt {
    background: var(--color-bg-primary);
}

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

.kontakt-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 16px;
    transition: all var(--transition-base);
}

.kontakt-card:hover {
    border-color: var(--color-gold-border);
}

.kontakt-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    background: var(--color-gold-subtle);
    border-radius: 4px;
}

.kontakt-icon svg {
    width: 24px;
    height: 24px;
}

.kontakt-details h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.kontakt-details p {
    margin: 4px 0;
    font-size: 0.95rem;
}

.kontakt-details .small-text {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.kontakt-details a {
    color: var(--color-text-primary);
}

.kontakt-details a:hover {
    color: var(--color-gold);
}

/* Hours Card */
.hours-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 24px;
}

.hours-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 24px;
    text-align: center;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.hours-row:last-of-type {
    border-bottom: none;
}

.hours-day {
    color: var(--color-text-secondary);
}

.hours-time {
    color: var(--color-text-primary);
    font-weight: 600;
}

.hours-note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
}

/* Map */
.map-container {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.map-container iframe {
    display: block;
    filter: grayscale(0.3) brightness(0.8);
    transition: filter var(--transition-base);
}

.map-container:hover iframe {
    filter: grayscale(0) brightness(0.9);
}

/* WiFi Note */
.wifi-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

.wifi-note svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    margin-top: 2px;
}

.wifi-note p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-brand h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 4px 0;
}

.footer-contact a {
    color: var(--color-text-secondary);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 20px 24px;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

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

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    flex: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* Reveal animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .kancelaria-grid,
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-border);
        overflow-y: auto;
    }

    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-bg-tertiary);
        border: 1px solid var(--color-border);
        border-radius: 4px;
        color: var(--color-text-primary);
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .nav-close:hover {
        background: var(--color-gold-subtle);
        border-color: var(--color-gold-border);
        color: var(--color-gold);
    }

    .nav-close svg {
        width: 20px;
        height: 20px;
    }

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

    .nav-link {
        padding: 14px 0;
        font-size: 1rem;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link::after {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-link {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .kontakt-card {
        flex-direction: column;
        text-align: center;
    }

    .kontakt-icon {
        margin: 0 auto;
    }

    .hours-row {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}
