/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b4049;
    --secondary-color: #c9a96e;
    --dark-color: #2c1810;
    --light-color: #faf6f0;
    --text-color: #4a3728;
    --accent-color: #c4848a;
    --success-color: #6b8f71;
    --cream: #f5ede3;
    --border-color: #e0d5c7;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--light-color);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 110, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 64, 73, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
}

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

/* Nawigacja */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 246, 240, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 15px rgba(44, 24, 16, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

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

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(139, 64, 73, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
        var(--light-color);
    z-index: -1;
}

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

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button, .cta-button-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 64, 73, 0.25);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 64, 73, 0.35);
    background: #7a3540;
}

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

.cta-button-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

/* Animacja księgi */
.book-animation {
    position: relative;
    width: 400px;
    height: 500px;
    perspective: 1500px;
}

.book-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #3d1a1e 0%, #5c2028 30%, #8b4049 100%);
    border-radius: 4px 12px 12px 4px;
    box-shadow:
        -5px 5px 15px rgba(44, 24, 16, 0.3),
        0 20px 50px rgba(44, 24, 16, 0.2);
    position: relative;
    transform-style: preserve-3d;
    animation: bookFloat 5s ease-in-out infinite;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    bottom: 18px;
    border: 1px solid rgba(201, 169, 110, 0.35);
    border-radius: 3px;
}

.book-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.25), transparent);
    border-radius: 4px 0 0 4px;
}

.book-pages {
    position: absolute;
    top: 8px;
    right: -8px;
    width: 95%;
    height: 96%;
    background: linear-gradient(90deg, #f0e6d8, var(--light-color));
    border-radius: 0 4px 4px 0;
    box-shadow: 3px 3px 15px rgba(44, 24, 16, 0.15);
}

@keyframes bookFloat {
    0%, 100% {
        transform: translateY(0) rotateY(-5deg);
    }
    50% {
        transform: translateY(-15px) rotateY(5deg);
    }
}

/* Book cover content */
.book-cover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: rgba(201, 169, 110, 0.9);
    width: 70%;
}

.book-cover-brand {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.2rem;
    opacity: 0.7;
}

.book-cover-title {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.book-cover-ornament {
    display: block;
    font-size: 0.9rem;
    opacity: 0.5;
    margin: 0.5rem 0;
}

/* Book page lines */
.book-page-lines {
    position: absolute;
    top: 15%;
    left: 15%;
    right: 10%;
    bottom: 15%;
}

.book-page-lines::before,
.book-page-lines::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(74, 55, 40, 0.07);
}

.book-page-lines::before { top: 20%; }
.book-page-lines::after { top: 40%; }

/* Hero tagline */
.hero-tagline {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Animacje fade-in */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Sekcje wspólne */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 600;
}

.section-title::after {
    content: '✦';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 0.5em;
}

/* O Projekcie */
.about-section {
    background: var(--light-color);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text-main {
    padding-right: 2rem;
}

.lead-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text-main p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: var(--cream);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* Proces */
.process {
    background: var(--cream);
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: -0.5rem auto 2.5rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* ── Timeline (replaces old process-steps) ── */
.timeline {
    position: relative;
    max-width: 680px;
    margin: 3rem auto 0;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.timeline-item {
    position: relative;
    padding: 0 0 3rem 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item.show {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -25px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border: 3px solid var(--light-color);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--secondary-color);
    overflow: visible;
}

.timeline-chapter {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0813a;
}

.timeline-content {
    padding-top: 1.3rem;
}

.timeline-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-duration {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--primary-color);
    background: rgba(139, 64, 73, 0.08);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

/* ── Questions Section ── */
.questions-section {
    background: var(--cream);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.question-card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 3px solid var(--secondary-color);
    box-shadow: 0 2px 12px rgba(44, 24, 16, 0.04);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.question-card.show {
    opacity: 1;
    transform: translateY(0);
}

.question-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(44, 24, 16, 0.08);
}

.question-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.question-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.6;
}

/* ── Book Excerpt Section ── */
.book-excerpt {
    background: var(--light-color);
}

.excerpt-spread {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(44, 24, 16, 0.1);
    overflow: hidden;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.excerpt-page {
    padding: 3rem;
}

.excerpt-page--left {
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--cream);
}

.excerpt-photo-placeholder {
    width: 180px;
    height: 230px;
    background: linear-gradient(135deg, var(--border-color), #d4c8b8);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.excerpt-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.excerpt-photo-icon {
    font-size: 3rem;
    opacity: 0.4;
}

.excerpt-caption {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
    opacity: 0.7;
}

.excerpt-chapter {
    margin-bottom: 1.5rem;
}

.excerpt-chapter-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.excerpt-chapter span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.excerpt-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--text-color);
    text-indent: 1.5em;
}

/* ── Team Section ── */
.team-section {
    background: white;
}

.team-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    text-align: left;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--light-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
}

.team-card.show {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(44, 24, 16, 0.08);
}

.team-avatar {
    width: 160px;
    min-width: 160px;
    height: 210px;
    background: linear-gradient(135deg, var(--border-color) 0%, #d4c8b8 100%);
    color: var(--text-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    opacity: 0.5;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.team-card-info {
    flex: 1;
}

.team-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.team-role {
    font-size: 0.88rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-bio {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* ── Footer Quote ── */
.footer-quote {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.footer-quote p {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

/* Formaty */
.formats-section {
    background: var(--light-color);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 3rem;
}

.format-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
    border: 1px solid var(--border-color);
}

.format-card.show {
    opacity: 1;
    transform: scale(1);
}

.format-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(44, 24, 16, 0.1);
    border-color: var(--secondary-color);
}

.format-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.format-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.format-card p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.format-features {
    list-style: none;
    padding-left: 0;
}

.format-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.format-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.format-features li:last-child {
    border-bottom: none;
}

/* Cennik */
.pricing {
    background: var(--cream);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    border: 1px solid var(--border-color);
}

.pricing-card.show {
    opacity: 1;
    transform: scale(1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.pricing-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(44, 24, 16, 0.1);
    border-color: var(--secondary-color);
}

.pricing-card-featured,
.pricing-card-featured.show {
    border-color: var(--secondary-color);
    transform: scale(1.03);
    border-width: 2px;
}

.pricing-card-featured:hover {
    transform: scale(1.1);
}

.pricing-special {
    background: linear-gradient(135deg, rgba(139, 64, 73, 0.03), rgba(201, 169, 110, 0.05));
}

.pricing-badge {
    display: inline-block;
    background: var(--cream);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-color);
}

.featured-badge {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pricing-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.pricing-desc {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.price-container {
    margin: 2rem 0;
}

.price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.features-list {
    text-align: left;
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 64, 73, 0.25);
    background: #7a3540;
}

.btn--full-width {
    width: 100%;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.25);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}

.modal-close:hover {
    color: var(--dark-color);
}

.modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.selected-package {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.package-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
}

.package-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

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

.package-remove {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.package-remove:hover {
    color: #ff4444;
}

.modal-total {
    text-align: right;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.modal-total-bottom {
    text-align: right;
    font-size: 1.3rem;
    margin: 2rem 0;
    color: var(--dark-color);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.inquiry-form .form-group {
    margin-bottom: 1.5rem;
}

.inquiry-form input,
.inquiry-form select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.inquiry-form input::placeholder {
    color: #aaa;
}

.inquiry-form input:focus,
.inquiry-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.phone-group {
    display: flex;
    gap: 1rem;
}

.country-select {
    width: 120px;
    flex-shrink: 0;
}

.phone-group input {
    flex: 1;
}

.btn-proceed {
    background: var(--primary-color);
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.btn-proceed:hover {
    background: #7a3540;
    box-shadow: 0 8px 25px rgba(139, 64, 73, 0.25);
}

/* Certyfikat Podarunkowy */
.gift-certificate {
    background: var(--light-color);
}

.gift-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gift-text {
    padding-right: 2rem;
}

.gift-features {
    margin: 2rem 0;
}

.gift-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.feature-icon {
    font-size: 1.8rem;
}

.gift-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-mockup {
    width: 400px;
    height: 500px;
    background: linear-gradient(160deg, #3d1a1e 0%, #5c2028 30%, #8b4049 100%);
    border-radius: 12px;
    box-shadow:
        -3px 5px 15px rgba(44, 24, 16, 0.3),
        0 15px 40px rgba(44, 24, 16, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    animation: certificateFloat 5s ease-in-out infinite;
}

@keyframes certificateFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.certificate-inner {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.certificate-inner h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.certificate-seal {
    font-size: 3rem;
    margin-top: 2rem;
}

/* Opinie */
.testimonials {
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--secondary-color);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.testimonial-card.show {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    box-shadow: 0 12px 35px rgba(44, 24, 16, 0.08);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--secondary-color);
    opacity: 0.4;
    margin-bottom: -0.5rem;
}

.testimonial-text {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-color);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Kontakt */
.contact {
    background: var(--light-color);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(44, 24, 16, 0.04);
    border: 1px solid var(--border-color);
}

.contact-method:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(44, 24, 16, 0.08);
    border-color: var(--secondary-color);
}

.method-icon {
    font-size: 2rem;
}

.method-text {
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 64, 73, 0.25);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: rgba(250, 246, 240, 0.9);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form label */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Dual Price (Pisemna tariff) */
.dual-price {
    display: flex;
    gap: 0;
    margin: 1.5rem 0;
}

.dual-price__option {
    flex: 1;
    padding: 1rem;
    text-align: center;
}

.dual-price__label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.dual-price__value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dual-price__divider {
    width: 1px;
    background: var(--border-color);
    margin: 0 0.5rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(139, 64, 73, 0.25);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 64, 73, 0.35);
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 6rem;
    right: 1.5rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    max-width: 400px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast--success {
    background: var(--success-color);
}

.toast--error {
    background: #ef4444;
}

.toast--info {
    background: var(--primary-color);
}

/* Form validation */
.inquiry-form input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.inquiry-form input:valid:not(:placeholder-shown) {
    border-color: var(--success-color);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .book-cover,
    .certificate-mockup {
        animation: none;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .excerpt-spread {
        grid-template-columns: 1fr;
    }

    .excerpt-page--left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

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

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

    .team-avatar {
        width: 140px;
        min-width: 140px;
        height: 185px;
    }

    .about-content-grid,
    .gift-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--light-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .book-animation {
        width: 300px;
        height: 400px;
        margin: 0 auto;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .modal-content {
        padding: 2rem;
        width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .phone-group {
        flex-direction: column;
    }

    .country-select {
        width: 100%;
    }
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--dark-color);
    color: var(--light-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    animation: slideUpBanner 0.4s ease-out;
}

.cookie-banner.visible {
    display: block;
}

@keyframes slideUpBanner {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-banner-content p {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
}

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

.cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.55rem 1.3rem !important;
    font-size: 0.88rem !important;
    white-space: nowrap;
    border-radius: 6px !important;
}

.cookie-btn.btn--outline {
    border-color: var(--light-color);
    color: var(--light-color);
}

.cookie-btn.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1.2rem;
        gap: 1rem;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Form Consent Checkbox ===== */
.consent-group {
    margin: 0.8rem 0 1rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-color);
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

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

.consent-label a:hover {
    color: var(--secondary-color);
}

/* ===== Footer Privacy Link ===== */
.footer-privacy-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-privacy-link:hover {
    color: var(--light-color);
    text-decoration: underline;
}
}