/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green-dark: #7a5c00;
    --green-mid: #c9a227;
    --green-light: #e8c547;
    --green-pale: #fff8e1;
    --green-accent: #ffd54f;
    --white: #ffffff;
    --off-white: #fffdf5;
    --gray-light: #f5f0e0;
    --gray-mid: #9a8f6e;
    --gray-dark: #5c5340;
    --text-main: #2d2416;
    --text-sub: #5c5340;
    --gold: #e6a800;
    --radius: 16px;
    --shadow: 0 8px 32px rgba(120, 90, 0, 0.14);
    --shadow-lg: 0 16px 48px rgba(120, 90, 0, 0.2);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--green-dark);
    color: #fff3c4;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(120, 90, 0, 0.1);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.logo-slim {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--green-dark);
}
.logo-vitax {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--green-mid);
}
.logo-tag {
    font-size: 11px;
    color: var(--gray-mid);
    font-weight: 600;
    margin-left: 4px;
}
.nav {
    display: flex;
    gap: 28px;
}
.nav a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}
.nav a:hover { color: var(--green-mid); }
.btn-header {
    background: var(--green-mid);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.btn-header:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(90, 70, 0, 0.88) 0%, rgba(140, 110, 0, 0.65) 50%, rgba(70, 55, 0, 0.4) 100%);
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff3c4;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-title .highlight {
    color: var(--green-accent);
    position: relative;
}
.hero-sub {
    color: rgba(255,255,255,0.88);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}
.hero-list {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-list li {
    color: #fff8d4;
    font-size: 16px;
    font-weight: 700;
}
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    color: var(--text-main);
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.45);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201, 162, 39, 0.55);
    background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
    color: var(--white);
}
.hero-note {
    margin-top: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
}
.hero-product {
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-badge-wrap {
    position: relative;
    text-align: center;
}
.product-badge-top {
    background: var(--gold);
    color: #2d2416;
    font-weight: 800;
    font-size: 13px;
    padding: 6px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(230, 168, 0, 0.45);
}
.product-img {
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
.product-img:hover { transform: scale(1.03); }
.product-stars {
    margin-top: 16px;
    color: #ffd700;
    font-size: 15px;
    font-weight: 700;
}
.product-stars span {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--green-pale);
    border-top: 2px solid #f0e4b8;
    border-bottom: 2px solid #f0e4b8;
}
.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--green-dark);
    font-size: 15px;
}
.trust-icon { font-size: 24px; }

/* ===== SECTION COMMON ===== */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}
.section-label {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-mid);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-sub {
    color: var(--text-sub);
    font-size: 17px;
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--off-white); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #f0e4b8;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-light), var(--green-mid));
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--green-pale);
    line-height: 1;
    margin-bottom: 8px;
}
.step-icon { font-size: 40px; margin-bottom: 16px; }
.step-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}
.step-card p { color: var(--text-sub); font-size: 15px; line-height: 1.7; }

/* ===== INGREDIENTS ===== */
.ingredients { background: var(--white); }
.ing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.ing-hero-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}
.ing-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ing-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--green-pale);
    border-radius: 12px;
    border-left: 4px solid var(--green-light);
    transition: transform 0.2s;
}
.ing-item:hover { transform: translateX(4px); }
.ing-icon { font-size: 28px; flex-shrink: 0; }
.ing-text h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 4px;
}
.ing-text p { font-size: 14px; color: var(--text-sub); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--gray-light); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}
.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid #f0e4b8;
    transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-4px); }
.review-featured {
    border: 2px solid var(--green-light);
    position: relative;
}
.review-featured::before {
    content: '⭐ Najczęściej wybierana';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-mid);
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-pale);
}
.review-name { font-weight: 800; font-size: 16px; color: var(--text-main); }
.review-loc { font-size: 13px; color: var(--gray-mid); }
.review-stars { color: var(--gold); font-size: 14px; }
.verified-badge {
    margin-left: auto;
    background: var(--green-pale);
    color: var(--green-mid);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}
.review-text {
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 12px;
}
.review-date { font-size: 12px; color: var(--gray-mid); font-weight: 600; }
.reviews-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: var(--green-dark);
    border-radius: var(--radius);
    padding: 32px;
    flex-wrap: wrap;
}
.rs-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rs-item strong {
    font-size: 32px;
    font-weight: 900;
    color: var(--green-accent);
    font-family: 'Playfair Display', serif;
}
.rs-item span { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 600; }
.rs-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

/* ===== FAQ ===== */
.faq { background: var(--off-white); }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
}
.faq-item {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #f0e4b8;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(120, 90, 0, 0.08);
}
.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Nunito', sans-serif;
    text-align: left;
    transition: background 0.2s;
}
.faq-q:hover { background: var(--green-pale); }
.faq-arrow { color: var(--green-mid); font-size: 12px; transition: transform 0.3s; flex-shrink: 0; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 24px;
}
.faq-a.open {
    max-height: 560px;
    padding: 0 24px 20px;
}
.faq-a p { color: var(--text-sub); font-size: 15px; line-height: 1.7; }
.faq-arrow.rotated { transform: rotate(180deg); }

/* ===== ORDER SECTION ===== */
.order-section {
    background: linear-gradient(135deg, var(--green-dark) 0%, #5c4a00 50%, #3d3000 100%);
    position: relative;
    overflow: hidden;
}
.order-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.order-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 28px;
    line-height: 1.2;
}
.price-block {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}
.price-old { color: rgba(255,255,255,0.6); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.price-new { color: var(--white); font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.price-new strong { color: var(--green-accent); font-size: 36px; }
.price-save {
    display: inline-block;
    background: var(--gold);
    color: #2d2416;
    font-size: 14px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
}
.order-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.order-perks li { color: #fff3c4; font-size: 16px; font-weight: 700; }
.order-disclaimer { color: rgba(255,255,255,0.5); font-size: 12px; line-height: 1.6; }
.form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 28px;
    text-align: center;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-sub);
    margin-bottom: 8px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f0e4b8;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Nunito', sans-serif;
    color: var(--text-main);
    background: var(--off-white);
    transition: border-color 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--green-light); background: var(--white); }
.btn-order {
    width: 100%;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    color: var(--text-main);
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.45);
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.3px;
}
.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 162, 39, 0.55);
    background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
    color: var(--white);
}
.form-security {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--gray-mid);
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: #2d2416;
    padding: 48px 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.footer .logo-slim { font-size: 24px; }
.footer .logo-vitax { font-size: 24px; }
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--green-accent); }
.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    margin-top: 8px;
}
.footer-disclaimer p {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    animation: modalIn 0.4s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-icon { font-size: 56px; margin-bottom: 16px; }
.modal-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}
.modal-box p { color: var(--text-sub); font-size: 16px; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-product { order: -1; }
    .product-img { max-width: 280px; }
    .steps-grid { grid-template-columns: 1fr; }
    .ing-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .order-grid { grid-template-columns: 1fr; }
    .nav { display: none; }
    .hero { min-height: auto; }
}
@media (max-width: 600px) {
    .header-inner { padding: 14px 16px; }
    .section-inner { padding: 60px 16px; }
    .trust-inner { gap: 12px; }
    .trust-item { font-size: 13px; }
    .reviews-summary { gap: 20px; }
    .rs-divider { display: none; }
    .form-card { padding: 28px 20px; }
}
