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

:root {
    --primary: #8B1538;
    --primary-dark: #5C0E25;
    --secondary: #D4AF37;
    --dark: #1A1A1A;
    --light: #F8F5F0;
    --gray: #6B6B6B;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav-wrapper {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    transition: 0.3s ease;
}

/* Hero Section */
.hero-editorial {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23D4AF37" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    background-size: 200px;
}

.hero-editorial h1 {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 300;
    margin-bottom: 24px;
    position: relative;
    line-height: 1.2;
}

.hero-editorial h1 strong {
    font-weight: 700;
    color: var(--secondary);
}

.hero-editorial .lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 16px 42px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Editorial Content Sections */
.editorial-section {
    padding: 80px 20px;
}

.editorial-section.alt-bg {
    background: var(--white);
}

.editorial-section.dark-bg {
    background: var(--dark);
    color: var(--white);
}

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

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header h2 strong {
    font-weight: 700;
    color: var(--primary);
}

.dark-bg .section-header h2 {
    color: var(--white);
}

.dark-bg .section-header h2 strong {
    color: var(--secondary);
}

.section-header .subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

.dark-bg .section-header .subtitle {
    color: rgba(255,255,255,0.7);
}

/* Story Block */
.story-block {
    margin-bottom: 60px;
}

.story-block p {
    font-size: 1.15rem;
    margin-bottom: 24px;
    text-align: justify;
}

.story-block .highlight-text {
    font-size: 1.4rem;
    color: var(--primary);
    font-style: italic;
    text-align: center;
    padding: 30px 0;
    border-left: 4px solid var(--secondary);
    margin: 40px 0;
    padding-left: 30px;
    text-align: left;
}

.story-image {
    margin: 50px 0;
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.story-image figcaption {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 12px;
    font-style: italic;
}

/* Service Cards */
.services-flow {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    display: flex;
    gap: 50px;
    align-items: center;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 45%;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.price-unit {
    color: var(--gray);
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.service-features span {
    background: var(--light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark);
}

/* Testimonials */
.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    position: relative;
}

.dark-bg .testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info strong {
    display: block;
    font-size: 1rem;
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.dark-bg .author-info span {
    color: rgba(255,255,255,0.6);
}

/* Stats Section */
.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 60px 0;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* Form Section */
.form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn-primary {
    width: 100%;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Gallery Grid */
.gallery-masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item:first-child {
    flex: 1 1 calc(50% - 10px);
}

.gallery-item:first-child img {
    height: 340px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.gallery-overlay span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #B8960F 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px auto;
    max-width: 900px;
}

.cta-banner h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(0,0,0,0.7);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-banner .btn-primary {
    background: var(--dark);
    color: var(--white);
}

.cta-banner .btn-primary:hover {
    background: var(--primary);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(139,21,56,0.4);
}

.sticky-cta a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 20px 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

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

.cookie-inner p {
    flex: 1;
    font-size: 0.95rem;
}

.cookie-inner p a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: var(--secondary);
    color: var(--dark);
}

.cookie-btn.reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Thanks Page */
.thanks-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--white);
}

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.thanks-content p {
    color: var(--gray);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

/* About Page */
.about-hero {
    background: linear-gradient(rgba(26,26,26,0.7), rgba(26,26,26,0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%238B1538"/><circle cx="600" cy="300" r="250" fill="%235C0E25"/></svg>');
    background-size: cover;
    padding: 120px 20px;
    text-align: center;
    color: var(--white);
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 400px;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    border: 4px solid var(--light);
}

/* Contact Page */
.contact-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.info-text p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-map {
    flex: 1;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    min-height: 400px;
}

/* Policy Pages */
.policy-content {
    padding: 80px 20px;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.policy-content p {
    margin-bottom: 16px;
    color: var(--gray);
}

.policy-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-content ul li {
    list-style: disc;
    margin-bottom: 10px;
    color: var(--gray);
}

/* Services Page */
.services-hero {
    background: var(--primary);
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
}

.services-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.services-hero p {
    opacity: 0.9;
    font-size: 1.15rem;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 80px 20px;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 3px solid var(--secondary);
}

.pricing-card.featured::before {
    content: 'Popularne';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-card ul {
    text-align: left;
    margin: 30px 0;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .contact-grid {
        flex-direction: column;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 400px;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .hamburger {
        display: flex;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 50%;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }

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

    .cta-banner {
        padding: 40px 20px;
        margin: 40px 20px;
    }

    .gallery-item {
        flex: 1 1 100%;
    }

    .gallery-item:first-child {
        flex: 1 1 100%;
    }

    .sticky-cta {
        bottom: 20px;
        right: 20px;
    }
}
