/* ==========================================================================
   Úvod (/uvod)
   ========================================================================== */

/* ---------- noční hero ---------- */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 56px;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 24px;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-text .lead {
    max-width: 560px;
    font-size: 20px;
}

.stats {
    list-style: none;
    margin: 6px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-wrap: wrap;
    gap: 16px 36px;
}

.stats li {
    display: flex;
    flex-direction: column;
}

.stats strong {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--paper);
    line-height: 1.15;
}

.stats span {
    font-size: 14px;
    color: var(--on-dark-3);
}

/* fotka + dárková visačka */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 40px;
}

.hero-photo {
    margin: 0;
    width: 78%;
    border-radius: 22px;
    overflow: hidden;
    transform: rotate(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    border: 6px solid rgba(255, 255, 255, .92);
}

.hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.gift-tag {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(330px, 70%);
    transform: rotate(-3deg);
    background: var(--cream);
    color: var(--ink);
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    z-index: 2;
}

.gift-bow {
    position: absolute;
    top: -40px;
    left: 50%;
    margin-left: -30px;
    z-index: 3;
}

.gift-tag-ribbon {
    background: var(--berry);
    color: var(--paper);
    padding: 12px 20px;
    border-radius: 18px 18px 0 0;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.gift-tag-body {
    padding: 20px 24px 22px;
    border: 2px dashed var(--cream-line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gift-tag-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 38px;
    line-height: 1;
    color: var(--forest);
    text-align: center;
}

.gift-tag-open {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 16px;
}

.gift-tag-open strong {
    color: var(--forest);
}

.gift-tag-open span {
    color: var(--muted);
}

.gift-tag-prices {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
}

.gift-tag-prices li {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.gift-tag-prices i {
    flex: 1;
    border-bottom: 2px dotted #D3C4A6;
}

.gift-tag-prices strong {
    color: var(--berry);
    white-space: nowrap;
}

.gift-tag-note {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* ---------- karty sortimentu ---------- */
.products {
    padding-top: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
}

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

.product-card-img {
    display: block;
    height: 240px;
    overflow: hidden;
    background: var(--mint);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--berry);
    color: var(--paper);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 600;
    color: var(--forest);
}

.product-card-text {
    font-size: 15px;
    color: var(--muted);
    flex: 1;
}

.product-card-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--green);
}

.section-more {
    margin-top: 28px;
}

.section-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 17px;
    min-height: 44px;
}

/* ---------- kupón ---------- */
.coupon {
    background: var(--cream);
    border: 1px solid var(--cream-line);
    border-radius: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    overflow: hidden;
}

.coupon-left {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-right: 2px dashed #D3C4A6;
}

/* výseky kupónu */
.coupon-left::before,
.coupon-left::after {
    content: "";
    position: absolute;
    right: -15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--snow);
    border: 1px solid var(--cream-line);
}

.coupon-left::before { top: -15px; }
.coupon-left::after  { bottom: -15px; }

.coupon-stamp {
    transform: rotate(-4deg);
    border: 2px solid var(--berry);
    color: var(--berry);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: .14em;
    font-size: 14px;
    text-transform: uppercase;
}

.coupon h2 {
    font-size: 34px;
}

.coupon-left p {
    color: var(--body);
}

.coupon-rules {
    list-style: none;
    margin: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.coupon-rules li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.coupon-rules .num {
    flex: 0 0 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* ---------- pro odběratele ---------- */
.b2b {
    background: var(--forest);
    color: var(--on-dark);
    overflow: hidden;
}

.b2b-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    padding-top: 88px;
    padding-bottom: 88px;
    align-items: start;
    z-index: 1;
}

.b2b-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.b2b h2 {
    color: var(--paper);
    font-size: clamp(36px, 4.5vw, 48px);
}

.b2b-features {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px 28px;
}

.b2b-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--on-dark-2);
}

.b2b-features .icon {
    color: var(--gold);
    margin-top: 2px;
    stroke-width: 2.4;
}

.b2b-features strong {
    display: block;
    color: var(--paper);
}

.b2b-card {
    background: var(--cream);
    color: var(--ink);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
}

.b2b-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.b2b-card-body {
    padding: 28px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.b2b-card h3 {
    font-size: 24px;
}

.b2b-card p {
    color: var(--muted);
    font-size: 15px;
}

.b2b-phone {
    text-align: center;
    font-weight: 700;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- příběh ---------- */
.story {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
}

.story-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-intro p {
    color: var(--body);
}

.story-photo {
    margin-top: 8px;
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline li {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
    border-bottom: 0;
}

.timeline strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--green);
    line-height: 1.2;
}

.timeline li:last-child strong {
    color: var(--berry);
}

/* ---------- kde nás najdete ---------- */
.where-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 40px;
    align-items: stretch;
}

.where-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.where-text p {
    color: var(--body);
}

.where-address {
    display: flex;
    gap: 10px;
    font-size: 19px;
    color: var(--ink) !important;
}

.where-address .icon {
    color: var(--berry);
    margin-top: 3px;
}

.mini-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    width: 100%;
}

.mini-contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
}

.mini-contact a {
    font-weight: 700;
    font-size: 17px;
}

/* ---------- responzivita ---------- */
@media screen and (max-width: 980px) {
    .hero-grid,
    .b2b-grid,
    .story-grid,
    .where-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
        padding-bottom: 64px;
    }

    .coupon {
        grid-template-columns: minmax(0, 1fr);
    }

    .coupon-left {
        border-right: 0;
        border-bottom: 2px dashed #D3C4A6;
    }

    .coupon-left::before,
    .coupon-left::after {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .hero-photo {
        width: 88%;
    }

    .gift-tag {
        width: 82%;
    }

    .coupon-left,
    .coupon-rules {
        padding: 28px 22px;
    }

    .timeline li {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

    .timeline strong {
        font-size: 21px;
    }

    .stats {
        gap: 14px 24px;
    }

    .stats strong {
        font-size: 26px;
    }
}

@media screen and (max-width: 560px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card-img {
        height: 150px;
    }

    .product-card-body {
        padding: 14px;
    }

    .product-card-title {
        font-size: 19px;
    }

    .product-card-text {
        font-size: 14px;
    }

    .card-badge {
        top: 8px;
        left: 8px;
        font-size: 10px;
        padding: 4px 8px;
    }
}
