/* ============================================
   Studio Treningu i Dietetyki – Pamela Nawrot
   Color Palette: Medical / Clinical / Calming
   ============================================ */

:root {
    /* Primary Colors — deep, medical, trustworthy */
    --primary: #1B4D3E;
    --primary-light: #2E6B55;
    --primary-dark: #0F3329;

    /* Sage / Green tones */
    --sage: #5A8F7B;
    --sage-light: #8BB5A5;
    --sage-muted: #A3C4B5;

    /* Accent — warm gold, subtle elegance (use decoratively only, not for body text) */
    --accent: #C9A96E;
    --accent-dark: #A8873F;
    --accent-light: #E2D1A8;

    /* Energy / Training — warm copper-terracotta (EMS, trening personalny) */
    --energy: #C47B50;
    --energy-dark: #8C4E25;
    --energy-light: #E8C4AB;
    --energy-muted: rgba(196, 123, 80, 0.07);
    --energy-shadow: rgba(196, 123, 80, 0.18);

    /* Neutrals */
    --bg: #F8F6F3;
    --bg-alt: #EFF4F0;
    --bg-card: #FFFFFF;
    --text: #2D3436;
    --text-light: #636E72;
    --text-muted: #6B7B7C;
    --border: #E2E8E4;
    --border-light: #EEF1EF;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(27,77,62,0.06);
    --shadow-md: 0 4px 16px rgba(27,77,62,0.08);
    --shadow-lg: 0 8px 32px rgba(27,77,62,0.12);
    --shadow-xl: 0 16px 48px rgba(27,77,62,0.16);

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Font */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

/* ============ SKIP TO CONTENT ============ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 16px;
}

/* ============ FOCUS VISIBLE ============ */
:focus-visible {
    outline: 3px solid var(--sage);
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--sage);
    outline-offset: 2px;
}

/* ============ 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);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248,246,243,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(248,246,243,0.95);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-brand .logo-img {
    height: 50px;
}

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

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--bg-alt);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(90,143,123,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(201,169,110,0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sage);
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero h1 {
    margin-bottom: 20px;
}

.text-accent {
    background: linear-gradient(105deg, var(--sage) 20%, var(--energy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    position: relative;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.hero-image-placeholder {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-placeholder svg {
    width: 100%;
    height: auto;
}

.hero-image-wrapper-inner {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper-inner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============ SECTIONS ============ */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 12px;
}

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

/* ============ METAMORPHOSIS SLIDER ============ */
.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    padding: 0 20px;
}

.metamorphosis-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.meta-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.meta-img {
    flex: 1;
    max-width: 240px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.meta-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    filter: saturate(0.7) sepia(0.12) brightness(1.03);
    position: relative;
    z-index: 1;
}

.meta-placeholder {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.meta-placeholder svg {
    width: 100%;
    height: auto;
}

.meta-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.meta-label.accent {
    background: var(--accent);
}

.meta-arrow {
    flex-shrink: 0;
}

.meta-info {
    text-align: center;
}

.meta-info h4 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
}

.meta-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

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

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
}

/* ============ OFFER GRID ============ */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.offer-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-muted);
}

/* Legacy .featured kept for backwards-compat */
.offer-card.featured {
    border-color: var(--accent-light);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201,169,110,0.04) 100%);
}

/* EMS card — full energy identity */
.offer-card.ems {
    border-color: rgba(196, 123, 80, 0.25);
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--energy-muted) 100%);
}
.offer-card.ems:hover {
    border-color: var(--energy-light);
    box-shadow: 0 8px 32px var(--energy-shadow);
}
.offer-card.ems .offer-icon {
    color: var(--energy-dark);
}
.offer-card.ems .offer-features li::before {
    background: var(--energy-light);
}
.offer-card.ems .offer-link {
    color: var(--energy-dark);
}
.offer-card.ems .offer-link:hover {
    color: var(--energy);
}

/* Trening personalny card — subtle energy signal */
.offer-card.training .offer-icon {
    color: var(--energy);
}
.offer-card.training .offer-features li::before {
    background: rgba(196, 123, 80, 0.35);
}
.offer-card.training .offer-link {
    color: var(--energy-dark);
}
.offer-card.training .offer-link:hover {
    color: var(--energy);
}

.offer-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 14px;
    background: var(--energy);
    color: white;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-icon {
    width: 56px;
    height: 56px;
    color: var(--sage);
    margin-bottom: 20px;
}

.offer-icon svg {
    width: 100%;
    height: 100%;
}

.offer-card h3 {
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}

.offer-card > p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.offer-features {
    margin-bottom: 24px;
}

.offer-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.offer-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage-light);
}

.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.offer-link:hover {
    color: var(--sage);
    gap: 10px;
}

/* ============ DIET GALLERY ============ */
.diety-galeria {
    background: var(--bg-alt);
}

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

.diet-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin: 0; /* reset figure margin */
}

.diet-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Real photo container — aspect-ratio preserves full image */
.diet-item .diet-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: block;
}

.diet-item .diet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.diet-item:hover .diet-img img {
    transform: scale(1.04);
}

/* Legacy placeholder SVG */
.diet-img-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

.diet-label {
    display: block;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

/* ============ REVIEWS ============ */
.opinie {
    background: var(--bg);
}

/* Reviews slider */
.reviews-booksy-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.reviews-booksy-link:hover { color: var(--sage); }

.reviews-slider {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.reviews-track-wrapper {
    overflow: hidden;
    flex: 1;
    border-radius: var(--radius-lg);
}

.reviews-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    min-width: calc(33.333% - 16px);
    flex-shrink: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 330px;
    overflow: hidden;
}

.review-card.expanded {
    height: auto;
    overflow: visible;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.reviews-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.reviews-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.reviews-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--accent);
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.review-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-more {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 16px;
    align-self: flex-start;
    transition: var(--transition);
}
.review-more:hover {
    color: var(--sage);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============ PRICING ============ */
.cennik {
    background: var(--bg-alt);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.pricing-tab {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: var(--bg-card);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.pricing-tab:hover {
    border-color: var(--sage-muted);
    color: var(--primary);
}

/* Dietetyka tab — green identity */
.pricing-tab[data-tab="dietetyka"].active,
.pricing-tab[data-tab="dietetyka"].active:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Treningi EMS tab — energy identity */
.pricing-tab[data-tab="ems"].active,
.pricing-tab[data-tab="ems"].active:hover {
    background: var(--energy-dark);
    border-color: var(--energy-dark);
    color: white;
}

.pricing-tab[data-tab="ems"]:not(.active):hover {
    border-color: var(--energy-light);
    color: var(--energy-dark);
}

/* Treningi personalne tab — energy identity */
.pricing-tab[data-tab="treningi"].active,
.pricing-tab[data-tab="treningi"].active:hover {
    background: var(--energy-dark);
    border-color: var(--energy-dark);
    color: white;
}

.pricing-tab[data-tab="treningi"]:not(.active):hover {
    border-color: var(--energy-light);
    color: var(--energy-dark);
}

/* Dzieci & Seniorzy tab — sage identity */
.pricing-tab[data-tab="dzieci"].active,
.pricing-tab[data-tab="dzieci"].active:hover {
    background: var(--sage);
    border-color: var(--sage);
    color: white;
}

.pricing-tab[data-tab="dzieci"]:not(.active):hover {
    border-color: var(--sage-muted);
    color: var(--sage);
}

/* Fallback for any active tab */
.pricing-tab.active {
    color: white;
}

.pricing-table {
    display: none;
}

.pricing-table.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.pricing-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.pricing-table thead {
    background: var(--primary);
}

.pricing-table th {
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.pricing-table td {
    padding: 18px 24px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

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

.pricing-table tbody tr {
    transition: var(--transition);
}

.pricing-table tbody tr:hover {
    background: var(--bg-alt);
}

.pricing-table tr.highlight {
    background: rgba(201,169,110,0.04);
}

.pricing-table tr.highlight:hover {
    background: rgba(201,169,110,0.08);
}

.price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.price-save {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-top: 2px;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 24px;
}

.pricing-footer {
    text-align: center;
    margin-top: 40px;
    padding: 24px 32px;
    background: var(--bg-alt, #f0ede8);
    border-radius: var(--radius-lg, 16px);
}

.pricing-footer .pricing-note {
    margin-top: 0;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.pricing-promo {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.pricing-promo a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pricing-promo a:hover {
    color: var(--accent);
}

/* ============ BOOKSY ============ */
.booksy-section {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.booksy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(201,169,110,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 70%, rgba(90,143,123,0.2) 0%, transparent 50%);
}

.booksy-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

/* Widget layout — when Booksy widget is embedded */
.booksy-widget-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

.booksy-embed-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

/* Booksy widget button styling overrides */
.booksy-embed-wrapper .booksy-widget-container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

.booksy-embed-wrapper iframe {
    width: 100% !important;
    border-radius: var(--radius);
}

.booksy-text .section-tag {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--accent-light);
}

.booksy-text h2 {
    color: white;
    margin-bottom: 16px;
}

.booksy-text p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.booksy-text .btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.booksy-text .btn-primary:hover {
    background: var(--accent-light);
}

.qr-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.qr-placeholder svg {
    width: 200px;
    height: 200px;
}

.qr-label {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ============ CONTACT ============ */
.kontakt {
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-bottom: 48px;
}

.about-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.about-photo {
    width: 220px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: var(--radius-lg);
}

.about-info h3 {
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}

.about-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.cert-badge {
    padding: 6px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--sage);
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    color: var(--sage);
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
    display: block;
    font-size: 0.88rem;
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Brand colors on hover */
.social-instagram:hover { background: #E1306C; }
.social-facebook:hover  { background: #1877F2; }
.social-booksy:hover    { background: var(--energy-dark); }

.map-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.map-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    color: var(--sage-light);
}

.footer-brand .logo-name {
    color: white;
}

.footer-brand .logo-sub {
    color: rgba(255,255,255,0.4);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-links span {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.35);
}

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

/* ============ ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-photo {
        width: 160px;
        margin: 0 auto;
    }

    .about-certs {
        justify-content: center;
    }

    .booksy-wrapper,
    .booksy-widget-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .booksy-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .booksy-qr,
    .booksy-embed-wrapper {
        justify-self: center;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

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

    .diet-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .review-card {
        min-width: calc(50% - 12px);
    }

    .pricing-tabs {
        flex-wrap: wrap;
    }

    .pricing-table table {
        table-layout: fixed;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .meta-images {
        flex-direction: column;
    }

    .meta-arrow {
        transform: rotate(90deg);
    }

    .section {
        padding: 60px 0;
    }
}

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

    .metamorphosis-card {
        padding: 24px;
    }

    .diet-gallery {
        grid-template-columns: 1fr;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
        font-size: 0.78rem;
        word-break: break-word;
    }

    .pricing-table .price {
        font-size: 0.95rem;
    }
}

/* ============================================
   NEW: Hero badge float, map, booksy note
   ============================================ */
.hero-badge-float {
    position: absolute;
    bottom: -16px;
    left: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.booksy-note {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6) !important;
}
.booksy-note a { color: var(--accent-light); text-decoration: underline; }
.booksy-note a:hover { color: white; }

.qr-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

.map-embed-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-embed-placeholder svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map-placeholder-text {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 24px;
}
.map-placeholder-text p {
    font-weight: 600;
    color: var(--primary);
    margin-top: 8px;
    font-size: 1rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { background: var(--bg-alt); }

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--sage-muted);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }
.faq-question span:first-child { flex: 1; }

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    transition: transform 0.35s ease, color 0.3s ease;
    background: var(--bg-alt);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
    background: rgba(27,77,62,0.08);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.75;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.faq-item.active .faq-answer { max-height: 400px; }

/* ============================================
   BLOG PREVIEW (homepage)
   ============================================ */
.blog-preview { background: var(--bg); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    justify-items: center;
}

.blog-grid:has(> :only-child) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-muted);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--bg-alt);
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7) sepia(0.12) brightness(1.03);
}

.blog-card-img svg {
    width: 100%;
    height: 100%;
    display: block;
}

.blog-card-body { padding: 24px; }

.blog-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--bg-alt);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

/* Training/energy blog tags (EMS, Trening, Seniorzy) */
.blog-tag.blog-tag-energy {
    background: rgba(196, 123, 80, 0.1);
    color: var(--energy-dark);
}

.blog-card-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.45;
}

.blog-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.blog-card-link:hover { color: var(--sage); gap: 10px; }

.blog-preview-cta { text-align: center; }

/* ============================================
   BLOG LISTING PAGE (blog.html)
   ============================================ */
.blog-hero {
    padding: 120px 0 60px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
}

.blog-hero-content { text-align: center; }
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { color: var(--text-light); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.blog-categories {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.blog-cat-btn {
    padding: 8px 20px;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: var(--bg-card);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(27,77,62,0.05);
}

.blog-listing {
    padding: 80px 0;
}

.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-listing-grid.single-card {
    display: flex;
    justify-content: center;
}
.blog-listing-grid.single-card .blog-card {
    max-width: 400px;
    width: 100%;
}

/* ============================================
   SINGLE BLOG ARTICLE PAGE
   ============================================ */
.article-hero {
    padding: 100px 0 0;
    background: var(--bg-alt);
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--sage); }
.article-breadcrumb a:hover { color: var(--primary); }
.article-breadcrumb svg { color: var(--text-muted); }

.article-header h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 20px;
    line-height: 1.25;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta-bar .author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text);
}

.author-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.article-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.article-img svg {
    width: 100%;
    height: auto;
    display: block;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    color: var(--primary-dark);
}

.article-body h3 {
    font-size: 1.15rem;
    margin: 28px 0 12px;
    color: var(--primary);
}

.article-body p { margin-bottom: 20px; color: var(--text-light); }
.article-body ul, .article-body ol { margin: 16px 0 20px 24px; color: var(--text-light); }
.article-body ul { list-style-type: disc; }
.article-body ol { list-style-type: decimal; }
.article-body li { margin-bottom: 8px; }

.article-body strong { color: var(--text); }
.article-body p a,
.article-body li a { color: var(--primary) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; transition: color 0.2s; }
.article-body p a:hover,
.article-body li a:hover { color: var(--accent) !important; }

.article-callout {
    background: var(--bg-alt);
    border-left: 4px solid var(--sage);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.article-sidebar { position: sticky; top: 100px; }

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-card h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.toc-list { list-style: none; }
.toc-list li { margin-bottom: 8px; }
.toc-list a {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.toc-list a:hover { color: var(--primary); }

.author-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 48px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-box-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.author-box-info h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 4px;
}
.author-box-info span { font-size: 0.8rem; color: var(--sage); font-weight: 500; }
.author-box-info p { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; line-height: 1.6; }

.article-tags { margin-top: 32px; }
.article-tags h4 { font-size: 0.8rem; font-family: var(--font-body); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.article-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tag { padding: 4px 12px; border: 1px solid var(--border); border-radius: 100px; font-size: 0.78rem; color: var(--text-light); transition: var(--transition); }
.article-tag:hover { border-color: var(--primary); color: var(--primary); }

.related-posts { padding: 60px 0 80px; background: var(--bg-alt); }
.related-posts h2 { font-size: 1.4rem; margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================
   LEGAL PAGES (polityka / regulamin)
   ============================================ */
.legal-hero {
    padding: 120px 0 60px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.legal-hero h1 { margin-bottom: 8px; }
.legal-hero p { color: var(--text-muted); font-size: 0.9rem; }

.legal-content {
    padding: 80px 0;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-body h2 {
    font-size: 1.3rem;
    margin: 40px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.legal-body h3 { font-size: 1.05rem; margin: 24px 0 8px; font-family: var(--font-body); font-weight: 600; }
.legal-body p, .legal-body li { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }
.legal-body ul, .legal-body ol { margin: 12px 0 16px 24px; }
.legal-body ul { list-style-type: disc; }
.legal-body ol { list-style-type: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--primary); text-decoration: underline; }
.legal-body strong { color: var(--text); }
.legal-body .highlight-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ============================================
   BOOKSY — przebudowa
   ============================================ */
.booksy-section { background: var(--bg-alt); }

.booksy-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.booksy-left > h2 { margin: 8px 0 12px; }
.booksy-left > p { color: var(--text-light); margin-bottom: 20px; }

.booksy-widget-wrap {
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    margin-bottom: 24px;
}

.booksy-phone-note {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-top: 8px;
}
.booksy-phone-note svg {
    flex-shrink: 0;
    color: var(--primary);
}
.booksy-phone-note > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.booksy-phone-note span {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.booksy-phone-note a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}
.booksy-phone-note a:hover {
    color: var(--sage);
}

/* Usuń białe tło wstrzykiwane przez widget Booksy */
.booksy-widget-wrap > div,
.booksy-widget-wrap iframe,
#booksy-widget-container,
[id^="booksy"] > div {
    background: transparent !important;
}

.booksy-contact-col { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }

.booksy-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.booksy-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   CONTACT ITEMS — reusable
   ============================================ */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}
.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: rgba(27,77,62,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-item > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-item strong {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.contact-item a,
.contact-item span {
    font-size: 0.9rem;
    color: var(--text);
}
.contact-item a:hover { color: var(--primary); }

.contact-socials {
    display: flex;
    gap: 10px;
    padding-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}
.social-link:hover { border-color: var(--primary); color: var(--primary); background: rgba(27,77,62,0.05); }

/* ============================================
   TEAM SECTION (#kontakt → Nasz Zespół)
   ============================================ */
.team-section { background: var(--bg); }

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: var(--bg-alt);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}
.team-photo-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.team-info { padding: 24px 24px 28px; }

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.team-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.team-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.team-link:hover { color: var(--sage); gap: 10px; }

.map-container { margin-top: 16px; }

/* ============================================
   O NAS PAGE
   ============================================ */
.onas-hero {
    padding: 120px 0 60px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}
.onas-hero-content { max-width: 600px; margin: 0 auto; }
.onas-hero h1 { margin: 8px 0 12px; }
.onas-hero p { color: var(--text-light); font-size: 1.05rem; }

.onas-profile {
    padding: 80px 0;
    background: var(--bg);
}
.onas-profile--alt {
    background: var(--bg-alt);
}

.onas-profile-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: start;
}
.onas-profile-grid--reverse {
    grid-template-columns: 1fr 400px;
}

.onas-photo-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.onas-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}
.onas-photo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
}

.onas-bio-col > h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--primary-dark);
    margin: 8px 0 24px;
}

.onas-bio-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.onas-bio-text p:last-child { margin-bottom: 0; }
.onas-bio-text strong { color: var(--text); }

.onas-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 32px;
}

.onas-cta { display: inline-flex; align-items: center; gap: 8px; }

.onas-divider { padding: 0; }
.onas-divider hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0;
}

.onas-cta-section {
    padding: 80px 0;
    background: var(--primary);
}

.onas-cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.onas-cta-box h2 {
    color: white;
    margin-bottom: 12px;
}
.onas-cta-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}
.onas-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.onas-cta-section .btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
}
.onas-cta-section .btn-primary:hover {
    background: var(--bg-alt);
    border-color: var(--bg-alt);
}
.onas-cta-section .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
}
.onas-cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ============================================
   RESPONSIVE — new sections
   ============================================ */
@media (max-width: 1024px) {
    .blog-grid,
    .blog-listing-grid,
    .related-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }

    .booksy-layout { grid-template-columns: 1fr; }
    .booksy-contact-col { position: static; }

    .onas-profile-grid,
    .onas-profile-grid--reverse { grid-template-columns: 1fr; gap: 40px; }
    .onas-photo-col { max-width: 420px; }
}

@media (max-width: 768px) {
    .blog-grid,
    .blog-listing-grid,
    .related-grid { grid-template-columns: 1fr; }
    .faq-question { font-size: 0.9rem; }
    .author-box { flex-direction: column; }

    .team-grid { grid-template-columns: 1fr; }
    .team-photo { height: 300px; }

    .onas-hero { padding: 100px 0 40px; }
    .onas-profile { padding: 60px 0; }
    .onas-photo-col { max-width: 100%; }
    .onas-cta-buttons { flex-direction: column; align-items: center; }

    .review-card { min-width: 100%; }
    .reviews-arrow { display: none; }
}
