.page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 55px;
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
    padding: 58px 0 48px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--rp-gray);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
}

.hero h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
}

.lead {
    max-width: 590px;
    margin: 26px 0 0;
    color: var(--rp-muted);
    font-size: 19px;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid var(--rp-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: .15s ease;
}

.button-primary {
    border-color: var(--rp-gray);
    background: var(--rp-gray);
    color: #fff;
}

.button-primary:hover {
    border-color: var(--rp-gray-dark);
    background: var(--rp-gray-dark);
}

.button-secondary {
    background: #fff;
}

.button-secondary:hover {
    background: var(--rp-gray-light);
}

.register-line {
    margin: 18px 0 0;
    color: var(--rp-muted);
    font-size: 14px;
}

.register-line a {
    color: var(--rp-text);
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--rp-line);
    background: #f4f3f1;
}

.hero-visual::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(255, 255, 255, .68), rgba(255, 255, 255, .68)),
        url("rpparapety-workshop.webp") center / cover no-repeat;
    content: "";
}

.hero-visual::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .08));
    content: "";
}

.hero-company-logo {
    display: block;
    width: min(100%, 390px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(255, 255, 255, .95));
}

.benefits,
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rp-line);
    border-bottom: 1px solid var(--rp-line);
    background: #fff;
}

.benefit {
    min-height: 155px;
    display: flex;
    gap: 18px;
    padding: 30px 28px;
    border-right: 1px solid var(--rp-line);
}

.benefit:last-child {
    border-right: 0;
}

.benefit > span,
.quick-number {
    color: var(--rp-gray);
    font-size: 12px;
    font-weight: 900;
}

.benefit strong,
.quick-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.benefit p {
    margin: 0;
    color: var(--rp-muted);
    font-size: 14px;
    line-height: 1.5;
}

.quick-card {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-right: 1px solid var(--rp-line);
    text-decoration: none;
    transition: .15s ease;
}

.quick-card:last-child {
    border-right: 0;
}

.quick-card:hover {
    background: var(--rp-gray-light);
}

.quick-card strong {
    margin-top: 24px;
}

.quick-card > span:last-child {
    color: var(--rp-muted);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 820px) {
    .page {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 45px 0 35px;
    }

    .hero-visual {
        min-height: 310px;
    }

    .benefits,
    .quick-grid {
        grid-template-columns: 1fr;
    }

    .benefit,
    .quick-card {
        border-right: 0;
        border-bottom: 1px solid var(--rp-line);
    }

    .benefit:last-child,
    .quick-card:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 520px) {
    .page {
        width: min(100% - 26px, 1180px);
    }

    .hero h1 {
        font-size: 42px;
    }

    .lead {
        font-size: 17px;
    }

    .button {
        width: 100%;
    }

    .hero-company-logo {
        width: min(86%, 320px);
    }
}


/* V67 – původní jednoduchý text o rozvozu, bez animace */
.delivery-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
    padding: 18px 22px;
    border: 1px solid var(--rp-line);
    background: #f7f7f7;
}

.delivery-icon {
    flex: 0 0 auto;
    font-size: 34px;
    line-height: 1;
}

.delivery-banner strong {
    display: block;
    color: var(--rp-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.delivery-banner span {
    display: block;
    margin-top: 4px;
    color: var(--rp-muted);
    font-size: 14px;
    line-height: 1.35;
}

@media (max-width: 520px) {
    .delivery-banner {
        padding: 15px 16px;
        gap: 11px;
    }

    .delivery-icon {
        font-size: 29px;
    }

    .delivery-banner strong {
        font-size: 16px;
    }

    .delivery-banner span {
        font-size: 13px;
    }
}

/* V93 – promo k easter eggu pod rozvozem */
.easter-promo {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: -12px 0 28px;
    padding: 18px 22px;
    border: 1px dashed #d5a31d;
    border-radius: 8px;
    background: #fffaf0;
}

.easter-promo-icon {
    flex: 0 0 auto;
    font-size: 34px;
    line-height: 1;
}

.easter-promo-content strong {
    display: block;
    color: var(--rp-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.easter-promo-content p {
    max-width: 920px;
    margin: 6px 0 0;
    color: var(--rp-muted);
    font-size: 14px;
    line-height: 1.55;
}

.easter-promo-content b {
    color: var(--rp-text);
}

@media (max-width: 520px) {
    .easter-promo {
        padding: 15px 16px;
        gap: 11px;
    }

    .easter-promo-icon {
        font-size: 29px;
    }

    .easter-promo-content strong {
        font-size: 16px;
    }

    .easter-promo-content p {
        font-size: 13px;
    }
}

/* V94 – herní artefakt místo velikonočního emoji. */
.game-egg {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 64px;
    margin-top: 1px;
    border: 2px solid #24282b;
    border-radius: 52% 52% 47% 47% / 61% 61% 39% 39%;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.78) 0 4%, transparent 5%),
        radial-gradient(circle at 50% 48%, #72e7ff 0 9%, #287fbd 10% 20%, transparent 21%),
        linear-gradient(145deg, #242b46 0%, #3b2771 38%, #171d35 70%, #0d1222 100%);
    box-shadow:
        inset 0 0 0 3px rgba(115,226,255,.12),
        inset -7px -8px 12px rgba(0,0,0,.32),
        0 0 13px rgba(63,183,255,.28);
    transform: rotate(-4deg);
}
.game-egg::before,
.game-egg::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, #7deaff 18%, #d597ff 50%, #7deaff 82%, transparent);
    box-shadow: 0 0 7px rgba(125,234,255,.75);
}
.game-egg::before { top: 21px; transform: rotate(18deg); }
.game-egg::after { bottom: 17px; transform: rotate(-20deg); }
.game-egg-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid #bff7ff;
    transform: translate(-50%,-50%) rotate(45deg);
    background: #38b9ef;
    box-shadow: 0 0 9px #4edcff, inset 0 0 5px #fff;
}
.game-egg-rune {
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2px solid #dba7ff;
    border-left: 2px solid #dba7ff;
    opacity: .9;
}
.game-egg-rune-a { left: 11px; top: 12px; transform: rotate(25deg); }
.game-egg-rune-b { right: 10px; bottom: 11px; transform: rotate(205deg); }

.easter-discovery-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(48,50,54,.06);
    color: #555b5f;
    font-size: 12px;
    font-weight: 700;
}
.easter-discovery-count strong {
    display: inline;
    font-size: inherit;
    color: #303236;
}
.easter-discovery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38b9ef;
    box-shadow: 0 0 6px rgba(56,185,239,.7);
}
