
/* =========================================================
   Pasieka Wędrowna Lucjana Pydysia — official site
   White field, dark-blue honeycomb accents
   ========================================================= */

:root {
    /* Zima: chłodny granat atramentowy na mroźnym papierze */
    --bg: #fbfcfe;
    --bg-soft: #f2f4f8;
    --bg-card: #ffffff;
    --accent: #0b1d38;
    --accent-bright: #16335e;
    --accent-dim: #47597a;
    --accent-glow: rgba(11, 29, 56, 0.14);
    --gold: var(--accent);
    --gold-bright: var(--accent-bright);
    --gold-dim: var(--accent-dim);
    --gold-glow: var(--accent-glow);
    --text: #10151f;
    --text-muted: #3e4a5c;
    --text-subtle: #5d6878;
    --border-rgb: 15, 33, 61;
    --border: rgba(var(--border-rgb), 0.10);
    --border-hover: rgba(var(--border-rgb), 0.28);
    --glass: var(--bg-card);
    --glass-strong: var(--bg-card);
    --radius: 14px;
    --radius-sm: 10px;
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --shadow-gold: 0 10px 28px rgba(var(--border-rgb), 0.10);
    --shadow-card: 0 8px 22px rgba(var(--border-rgb), 0.05);
    --transition: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 76px;
    --danger: #8a2430;
    --danger-border: #e3b4b8;
    --ink-rgb: 110, 134, 172;
    --season-ease: 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-season="summer"] {
    /* Lato: głęboki karmelowany miód na ciepłej kości słoniowej */
    --bg: #faf5ea;
    --bg-soft: #f1e7d3;
    --bg-card: #fdf9f1;
    --accent: #57380f;
    --accent-bright: #754d16;
    --accent-dim: #7d5c31;
    --accent-glow: rgba(87, 56, 15, 0.14);
    --text: #261a0c;
    --text-muted: #57452e;
    --text-subtle: #75603f;
    --border-rgb: 92, 61, 20;
    --border: rgba(var(--border-rgb), 0.13);
    --border-hover: rgba(var(--border-rgb), 0.32);
    --glass: var(--bg-card);
    --glass-strong: var(--bg-card);
    --shadow-gold: 0 10px 28px rgba(var(--border-rgb), 0.10);
    --shadow-card: 0 8px 22px rgba(var(--border-rgb), 0.05);
    --ink-rgb: 196, 152, 76;
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    transition: background-color var(--season-ease), color var(--season-ease);
    font-weight: 600;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

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

/* =========================================================
   Loader
   ========================================================= */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 0.9rem 1.55rem;
    border-radius: 12px;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 0 0 rgba(var(--border-rgb), 0);
}

.btn-primary:hover {
    background: var(--gold-bright);
    box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(var(--border-rgb), 0.05);
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* =========================================================
   Glass cards
   ========================================================= */
.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background-color var(--season-ease);
}

.glass:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.9rem 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: background-color var(--season-ease), border-color var(--season-ease), box-shadow var(--season-ease);
}

.site-header.scrolled {
    background: var(--bg);
    box-shadow: var(--shadow-card);
    padding: 0.9rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo {
    margin-right: auto;
}

.season-switch {
    --switch-pad: 3px;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-shrink: 0;
    width: 132px;
    height: 34px;
    padding: var(--switch-pad);
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-soft);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    user-select: none;
    order: 3;
}

.season-glider {
    position: absolute;
    top: var(--switch-pad);
    bottom: var(--switch-pad);
    left: var(--switch-pad);
    width: calc(50% - var(--switch-pad));
    border-radius: 999px;
    background: var(--bg-card);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: left 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color var(--season-ease);
    pointer-events: none;
    z-index: 0;
}

html[data-season="summer"] .season-glider {
    left: 50%;
}

.season-opt {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    padding: 0.3rem 0.15rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-subtle);
    cursor: pointer;
    transition: color 0.25s ease;
}

.season-opt:hover:not(.is-active) {
    color: var(--text-muted);
}

.season-opt.is-active {
    color: var(--accent);
}

.season-opt:focus-visible {
    outline: 2px solid var(--accent-dim);
    outline-offset: 3px;
    border-radius: 999px;
}

.season-veil {
    position: fixed;
    inset: 0;
    z-index: 4000;
    pointer-events: none;
    opacity: 0;
}

.season-veil.is-on {
    animation: seasonBloom 0.9s ease;
}

.season-veil.is-winter {
    background: radial-gradient(circle at 22% 6%, rgba(210, 224, 238, 0.7), rgba(255, 255, 255, 0.15) 42%, transparent 68%);
}

.season-veil.is-summer {
    background: radial-gradient(circle at 78% 6%, rgba(232, 196, 122, 0.55), rgba(247, 241, 230, 0.18) 42%, transparent 68%);
}

@keyframes seasonBloom {
    0% { opacity: 0; }
    28% { opacity: 1; }
    100% { opacity: 0; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: auto;
    color: var(--accent);
    transition: color var(--transition), transform var(--transition);
}

.logo:hover {
    color: var(--accent-bright);
}

.logo-mark,
.logo-stamp {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent);
}

.logo-mark svg,
.logo-stamp svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
    white-space: nowrap;
}

.logo-owner {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.main-nav {
    display: flex;
    align-items: center;
    order: 2;
}

.menu-list {
    display: flex;
    align-items: center;
    gap: 1.45rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-muted);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    width: 100%;
}

.nav-cta {
    padding: 0.55rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    border-color: var(--gold);
    background: var(--accent-glow);
    color: var(--gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    min-height: 44px;
    padding: 10px 6px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg);
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.45s ease;
}

.hero-photo.is-switching {
    opacity: 0;
}

/* zanim season.js podepnie src — bez pustej ramki/broken-image */
.hero-photo:not([src]) {
    opacity: 0;
}

/* pojedyncze zdjęcia sezonowe (kafelki galerii, karty pasiek) */
.season-photo-single {
    transition: opacity 0.45s ease;
}

.season-photo-single.is-switching {
    opacity: 0;
}

.hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.48) 42%, rgba(255, 255, 255, 0.32) 100%);
}

html[data-season="summer"] .hero-overlay {
    background:
        radial-gradient(60% 55% at 82% 6%, rgba(255, 214, 130, 0.40) 0%, rgba(255, 214, 130, 0.12) 46%, transparent 72%),
        linear-gradient(180deg, rgba(247, 241, 230, 0.26) 0%, rgba(247, 241, 230, 0.50) 42%, rgba(240, 228, 205, 0.36) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 4.5rem 0 5rem;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 8vw, 6.2rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.hero-title span:first-child {
    color: var(--text);
}

.hero-title span:last-child {
    margin-top: 0.85rem;
    font-family: var(--font-body);
    font-size: 0.22em;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.hero-lead {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}

/* =========================================================
   Sections
   ========================================================= */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.trust-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-number:not([data-count]) {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    padding-top: 0.35rem;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.65rem;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    min-height: 360px;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.g-wide {
    grid-column: span 8;
}

.g-port {
    grid-column: span 4;
}

.g-port img {
    min-height: 360px;
}

.g-half {
    grid-column: span 6;
}





.gallery-chapter {
    margin-top: 2.75rem;
}

.gallery-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}









.present-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.75rem;
}

.present-tile {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 440px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.present-tile:hover,
.present-tile:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-hover);
}

.present-tile-media {
    position: relative;
    min-height: 300px;
    background: var(--bg-soft);
}

.present-tile-media > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.9s ease;
}

.present-tile:hover .present-tile-media > img {
    transform: scale(1.045);
}

.present-tile-copy {
    display: grid;
    gap: 0.25rem;
    padding: 1.25rem 1.4rem 1.4rem;
}

.present-tile-copy small {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--accent-dim);
}

.present-tile-copy strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.present-tile-go {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.present-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-subtle);
}

.season-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
}

html[data-season="winter"] .season-photo[data-season="winter"],
html[data-season="summer"] .season-photo[data-season="summer"] {
    opacity: 1;
}

body.is-lightbox .site-header,
body.is-lightbox .back-to-top,
body.is-lightbox .season-sky {
    visibility: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 8000;
    display: grid;
    place-items: center;
    padding: 2.5rem;
    background: rgba(7, 20, 40, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

html[data-season="summer"] .lightbox {
    background: rgba(36, 24, 14, 0.84);
}

.lightbox.is-on {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-stage {
    margin: 0;
    max-width: min(1100px, 92vw);
    text-align: center;
}

.lightbox-stage img {
    max-width: 92vw;
    max-height: 74vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-stage figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1rem;
    margin-top: 1rem;
    color: #f4f1ea;
    font-weight: 700;
}

.lightbox-title {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    opacity: 0.7;
}

.lightbox-count {
    opacity: 0.55;
    font-size: 0.85rem;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 2.2rem;
    line-height: 1;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
}

.lightbox-close {
    top: 1rem;
    right: 1.2rem;
    font-size: 2.4rem;
}

.lightbox-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Products
   ========================================================= */
.products {
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.product-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

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

.product-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: -0.5rem -0.5rem 1.35rem;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-soft);
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}





.product-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.product-kind {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-bottom: 0.7rem;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.product-price {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gold);
    font-size: 1.05rem;
}

/* =========================================================
   Manifesto
   ========================================================= */
.manifesto {
    background: var(--bg-soft);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.manifesto-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.manifesto-content .btn {
    margin-top: 1rem;
}

.manifesto-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-card {
    padding: 1.5rem;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.value-icon {
    display: block;
    width: 10px;
    height: 11px;
    margin-bottom: 0.75rem;
    background: var(--accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    font-size: 0;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
    padding: 4rem 0;
}

.cta-box {
    padding: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: linear-gradient(135deg, var(--accent-glow) 0%, var(--bg-card) 55%, var(--accent-glow) 100%);
}

.cta-content {
    max-width: 580px;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.cta-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
    background: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.testimonial p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial footer {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.testimonial strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.testimonial span {
    font-size: 0.85rem;
    color: var(--text-muted);
}



/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-nav h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

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

.footer-nav li {
    margin-bottom: 0.6rem;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.footer-contact a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.footer-craft {
    font-family: var(--font-display);
    color: var(--gold);
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-strong);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background-color var(--transition);
    z-index: 900;
}

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

.back-to-top:hover {
    background: var(--accent);
    color: #fff;
}

.back-to-top svg {
    width: 18px;
    height: 18px;
}

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.page-hero.has-photo {
    min-height: 38vh;
    display: grid;
    place-items: center;
    padding: 5.5rem 0 4.5rem;
    border-bottom: 0;
}

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

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.45s ease;
}

.page-hero-img.is-switching {
    opacity: 0;
}

.page-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.76) 48%, rgba(255, 255, 255, 0.62) 100%);
}

html[data-season="summer"] .page-hero-veil {
    background: linear-gradient(180deg, rgba(247, 241, 230, 0.58) 0%, rgba(247, 241, 230, 0.78) 48%, rgba(247, 241, 230, 0.64) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Products page */
.products-page {
    background: var(--bg);
}

.products-grid.wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.products-grid.wide .product-card {
    padding: 2.5rem;
}

.products-grid.wide .product-image {
    aspect-ratio: 1 / 1;
    height: auto;
}



.product-meta {
    list-style: none;
    margin: 1.25rem 0 1.75rem;
    padding: 0;
}

.product-meta li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.product-meta li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Gift cards */
.gift-section {
    background: var(--bg-soft);
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gift-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gift-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.gift-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.gift-card .product-price {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.gift-card .btn {
    align-self: flex-start;
}

.gift-card.featured {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

/* =========================================================
   Apiaries page
   ========================================================= */
.apiaries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.apiary-card {
    padding: 0;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.apiary-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apiary-card-copy {
    position: relative;
    z-index: 1;
    padding: 1.6rem;
    background: linear-gradient(180deg, transparent 0%, var(--bg) 32%);
}

.apiary-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--border-rgb), 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.apiary-card:hover::before {
    opacity: 1;
}

.apiary-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.apiary-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.apiary-card .season-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}





/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row.cols2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-subtle);
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2312305a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.8rem;
    cursor: pointer;
}

html[data-season="summer"] .contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357380f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-list strong {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.contact-list a {
    color: var(--text);
    transition: color var(--transition);
}

.contact-list a:hover {
    color: var(--gold);
}

.contact-card {
    padding: 2rem;
}

.contact-card .section-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.contact-b2b {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.contact-b2b h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.contact-b2b p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.form-feedback {
    font-size: 0.95rem;
    min-height: 1.4em;
    color: var(--gold);
}

.faq-section {
    margin-top: 5rem;
}

.faq-list {
    display: grid;
    gap: 1rem;
    max-width: 800px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================================
   Aktualności — wpisy dziadka
   ========================================================= */
.news-feed {
    display: grid;
    gap: 1.75rem;
}

.news-feed.preview {
    grid-template-columns: 1fr;
}

.news-card {
    display: grid;
    grid-template-columns: minmax(0, 280px) 1fr;
    gap: 0;
    overflow: hidden;
    background: var(--bg-card);
}

.news-photo {
    min-height: 220px;
    background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--accent);
}

.news-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-photo svg {
    width: 88px;
    height: 88px;
    opacity: 0.55;
}

.news-body {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.news-body h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.news-body p {
    color: var(--text-muted);
    line-height: 1.7;
    white-space: pre-wrap;
}

.news-empty {
    text-align: center;
    padding: 3.5rem 2rem;
    color: var(--text-muted);
}

.news-empty svg {
    width: 72px;
    height: 72px;
    color: var(--accent);
    margin: 0 auto 1rem;
    opacity: 0.7;
}

.news-actions {
    text-align: center;
    margin-top: 2.5rem;
}

/* =========================================================
   Panel pszczelarza (admin)
   ========================================================= */
.admin-shell {
    max-width: 760px;
    margin: 0 auto;
}

.admin-card {
    padding: 2.25rem;
    background: var(--bg-card);
}

.admin-card h1,
.admin-card h2 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.admin-lead {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.admin-form label,
.admin-form .form-label {
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 2px solid var(--accent-dim);
    border-radius: 14px;
    font-size: 1.15rem;
    font-family: inherit;
    background: var(--bg-card);
    color: var(--text);
}

.admin-form textarea {
    min-height: 160px;
    resize: vertical;
}

.photo-drop {
    border: 2px dashed var(--border-hover);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-soft);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.photo-drop strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.photo-drop input {
    display: none;
}

.photo-preview {
    margin-top: 1rem;
    display: none;
    max-height: 240px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.photo-preview.show {
    display: block;
}

.admin-form .btn {
    font-size: 1.15rem;
    padding: 1.1rem 1.6rem;
}

.admin-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.admin-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    background: var(--bg-card);
}

.admin-item img,
.admin-item .admin-thumb {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
    color: var(--accent);
}

.admin-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.admin-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-danger {
    background: var(--bg-card);
    color: var(--danger);
    border: 1.5px solid var(--danger-border);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

.btn-danger:hover {
    background: var(--danger);
    color: #fff;
}

.admin-status {
    min-height: 1.4em;
    color: var(--accent);
    font-weight: 600;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    margin: 0.4rem 0 0.8rem;
}

.admin-check input {
    width: 1.1rem;
    height: 1.1rem;
}

@media (max-width: 768px) {
    .news-card,
    .admin-item {
        grid-template-columns: 1fr;
    }

    .news-photo {
        min-height: 200px;
    }
}
