/* =============================================
   NEST – Rzemieślnicze Lody | styles.css
   Paleta: róż-krem inspirowana motywem Glacé
   ============================================= */

:root {
    --primary: #e8a598;
    --primary-light: #fdf0ed;
    --primary-dark: #c4726a;
    --accent: #f5c48a;
    --dark: #2a1a1a;
    --text: #5c4a42;
    --light: #fffbf9;
    --gray: #f0ebe6;
    --white: #ffffff;

    --shadow-lg: 0 16px 48px rgba(196, 114, 106, 0.2);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
    color: var(--dark);
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 114, 106, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn-full {
    width: 100%;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    padding: 14px 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

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

.nav-logo img {
    height: 48px;
    width: auto;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--transition);
}

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(196, 114, 106, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

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

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 130px max(28px, calc((100% - 1200px) / 2)) 80px;
    background: linear-gradient(
        135deg,
        var(--primary-light) 0%,
        #fff5f0 55%,
        var(--white) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(245, 196, 138, 0.12) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(232, 165, 152, 0.1) 0%,
            transparent 45%
        );
    pointer-events: none;
}

/* Content */
.hero-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-title em {
    font-style: italic;
    color: var(--primary-dark);
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary),
        transparent
    );
    opacity: 0.5;
}

/* Hero image */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    background: linear-gradient(
        135deg,
        rgba(232, 165, 152, 0.25),
        rgba(245, 196, 138, 0.2)
    );
    animation: blobMorph 9s ease-in-out infinite;
}

@keyframes blobMorph {
    0%,
    100% {
        border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    }
    33% {
        border-radius: 50% 50% 35% 65% / 60% 40% 60% 40%;
    }
    66% {
        border-radius: 40% 60% 65% 35% / 50% 55% 45% 55%;
    }
}

.hero-image img {
    position: relative;
    z-index: 2;
    height: 520px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(196, 114, 106, 0.22));
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-22px);
    }
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.5;
    animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

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

.section-alt {
    background: var(--primary-light);
}

.section-pink {
    background: linear-gradient(135deg, #fde9e5 0%, #fdf6f2 100%);
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-tag.section-tag--light {
    background: var(--light);
    color: var(--primary-dark);
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    margin-bottom: 18px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.8;
}

/* === CARDS — Dla kogo === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 38px 28px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(232, 165, 152, 0.18);
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: all var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text);
}

/* === FEATURES — Nasze lody === */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 56px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: box-shadow var(--transition);
}

.feature:hover {
    box-shadow: var(--shadow-lg);
}

.feature-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.feature-body {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-body h3 {
    font-size: 1.75rem;
    margin-bottom: 18px;
}

.feature-body p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text);
}

/* Flavors banner */
.flavors-banner {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    border-radius: var(--radius);
    padding: 52px 64px;
    display: flex;
    align-items: center;
    gap: 48px;
    color: var(--white);
}

.flavors-number {
    font-family: "Playfair Display", serif;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.95;
}

.flavors-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.flavors-text p {
    font-size: 0.92rem;
    opacity: 0.85;
    line-height: 1.65;
}

.flavors-banner .btn-white {
    margin-left: auto;
    flex-shrink: 0;
}

/* === SERVICES — Co zapewniamy === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 36px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(232, 165, 152, 0.2);
    transition: all var(--transition);
}

.service:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service > i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 22px;
    display: block;
}

.service h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.service p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text);
}

/* === TESTIMONIALS === */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(232, 165, 152, 0.18);
    transition: all var(--transition);
}

.testimonial:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 18px;
}

.testimonial > p {
    font-size: 0.93rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text);
    margin-bottom: 28px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-family: "Playfair Display", serif;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text);
    opacity: 0.7;
}

/* === DLACZEGO NEST === */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.why-card {
    text-align: center;
    padding: 44px 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--primary);
    transition: all var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-dark);
}

.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text);
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* === MOMENTI ITALIANI ===*/
.momenti-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

.momenti-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    line-height: 0;
}

.momenti-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.momenti-image:hover img {
    transform: scale(1.03);
}

.momenti-content .section-tag {
    margin-bottom: 14px;
}

.momenti-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 22px;
}

.momenti-content > p {
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 16px;
}

.momenti-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(232, 165, 152, 0.35);
}

.momenti-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 0;
}

.momenti-detail > i {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    margin-top: 2px;
}

.momenti-detail div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.momenti-detail strong {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--dark);
    line-height: 1.3;
}

.momenti-detail span {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .momenti-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .momenti-image {
        order: 2;
    }

    .momenti-content {
        order: 1;
    }

    .momenti-content .section-tag {
        display: table;
        margin: 0 auto 16px;
    }

    .momenti-image img {
        height: 300px;
    }
}

/* === CONTACT === */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 0.95rem;
    line-height: 1.82;
    color: var(--text);
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.93rem;
    color: var(--text);
}

.contact-details li i {
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.contact-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(196, 114, 106, 0.3);
}

/* Contact form */
.contact-form {
    background: var(--white);
    padding: 52px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 1.5px solid #e8ddd9;
    border-radius: var(--radius-sm);
    font-family: "Poppins", sans-serif;
    font-size: 0.93rem;
    color: var(--dark);
    background: var(--light);
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 165, 152, 0.18);
}

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

.form-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.form-recaptcha {
    align-items: flex-start;
    overflow: visible;
}

.check-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--text);
}

.check-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 32px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: "Playfair Display", serif;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 22px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    font-size: 0.88rem;
    transition: color var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.footer-contact li i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

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

.footer-bottom .fa-heart {
    color: var(--primary);
}

/* === REVEAL ANIMATION === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s ease-out,
        transform 0.7s ease-out;
}

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

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1080px) {
    .hero {
        padding: 120px 40px 80px;
        gap: 40px;
    }

    .hero-image img {
        height: 420px;
    }

    .hero-blob {
        width: 380px;
        height: 380px;
    }

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

    .contact-wrapper {
        gap: 52px;
    }

    .feature-body {
        padding: 40px 36px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Nav */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        position: fixed;
        inset: 0;
        background: var(--white);
        z-index: 999;
    }

    .nav-links.open li a {
        font-size: 1.5rem;
        font-weight: 500;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 24px 72px;
        min-height: auto;
        gap: 40px;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-image img {
        height: 260px;
    }

    .hero-blob {
        width: 260px;
        height: 260px;
    }

    .hero-desc {
        margin: 0 auto 36px;
    }

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

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

    .hero-scroll {
        display: none;
    }

    /* Sections */
    .section {
        padding: 80px 0;
    }

    /* Features */
    .feature {
        grid-template-columns: 1fr;
    }

    .feature:nth-child(even) .feature-img {
        order: -1;
    }

    .feature-img {
        height: 220px;
    }

    .feature-body {
        padding: 32px 28px;
    }

    /* Flavors banner */
    .flavors-banner {
        flex-direction: column;
        text-align: center;
        padding: 44px 32px;
        gap: 24px;
    }

    .flavors-banner .btn-white {
        margin-left: 0;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-tag {
        display: table;
        margin: 0 auto 16px;
    }

    .contact-form {
        padding: 36px 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }

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

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

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

/* === ZDJĘCIE NA DOLE SEKCJI CO ZAPEWNIAMY === */
.section-bottom-image {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    line-height: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-bottom-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.section-bottom-image:hover img {
    transform: scale(1.02);
}


@media (max-width: 768px) {
    .section-bottom-image {
        margin-top: 30px;
        max-width: 100%;
    }

    .section-bottom-image img {
        height: 300px;
    }
}


/* === POPRAWA ODSTĘPÓW I WYRÓWNANIA W SEKCJI KONTAKT === */
#kontakt {
    padding: 120px 0; /* Zwiększa odstęp od góry i dołu */
}

.contact-wrapper {
    align-items: center !important; /* Środkuje tekst w pionie względem formularza */
}

/* Dostosowanie odstępów dla telefonów */
@media (max-width: 768px) {
    #kontakt {
        padding: 80px 0;
    }
}




/* === BLOG CAROUSEL (STATYCZNY) === */
.blog-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.blog-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 4px;
}

.blog-track {
    display: flex;
    gap: 28px;
    transition: transform 0.4s ease-in-out;
}

.blog-card {
    min-width: calc(33.333% - 19px);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(232, 165, 152, 0.18);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

@media (max-width: 1024px) {
    .blog-card {
        min-width: calc(50% - 14px);
    }
}

@media (max-width: 768px) {
    .blog-card {
        min-width: 100%;
    }
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.blog-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
    z-index: 2;
}

.blog-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.7;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
}

.blog-link {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition);
}

.blog-link:hover {
    gap: 12px;
    color: var(--primary);
}

/* Przyciski strzałek karuzeli */
.carousel-btn {
    background: var(--white);
    color: var(--primary-dark);
    border: 1px solid rgba(232, 165, 152, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.08);
}






/* === WIDOK POJEDYNCZEGO ARTYKUŁU === */
.article-page {
    padding-top: 140px; /* Zostawia miejsce pod przypięte menu */
    background: var(--light);
}

.article-container {
    max-width: 800px; /* Zawęża tekst, aby był wygodny do czytania */
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 40px;
    transition: all var(--transition);
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
}

.article-header .section-tag {
    margin-bottom: 20px;
}

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

.article-hero-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg);
}

.article-content {
    background: var(--white);
    padding: 48px 56px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content strong {
    color: var(--dark);
    font-weight: 600;
}

.article-content blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 24px 32px;
    margin: 40px 0;
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .article-hero-img {
        height: 300px;
    }
    .article-content {
        padding: 32px 24px;
    }
}
