:root {
    --el-gold: #b79248;
    --el-gold-soft: #d4b896;
    --el-green: #2d4639;
    --el-ink: #1a241e;
    --el-cream: #fff8f3;
}

.endolift-page {
    background: var(--el-cream);
    color: var(--el-ink);
}

/* ── Hero ───────────────────────────────────────────── */
.el-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #1a241e;
}

.el-hero-media {
    position: absolute;
    inset: 0;
}

.el-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.04);
}

.el-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(26, 36, 30, 0.25) 0%, rgba(26, 36, 30, 0.55) 48%, rgba(26, 36, 30, 0.92) 100%),
        linear-gradient(90deg, rgba(26, 36, 30, 0.45) 0%, transparent 55%);
}

.el-hero-beam {
    position: absolute;
    top: -20%;
    right: 12%;
    width: 2px;
    height: 140%;
    background: linear-gradient(180deg, transparent, var(--el-gold), transparent);
    opacity: 0.55;
    animation: elBeam 6s ease-in-out infinite;
}

.el-hero-beam:nth-child(2) {
    right: 18%;
    animation-delay: 1.6s;
    opacity: 0.28;
}

@keyframes elBeam {
    0%, 100% { transform: translateY(-8%) scaleY(0.92); opacity: 0.25; }
    50% { transform: translateY(6%) scaleY(1.08); opacity: 0.7; }
}

.el-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 140px 0 72px;
}

.el-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--el-gold-soft);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 22px;
}

.el-kicker::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--el-gold);
}

.el-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 6.4vw, 5.4rem);
    line-height: 0.98;
    font-weight: 700;
    max-width: 14ch;
    margin: 0 0 22px;
}

.el-hero h1 em {
    font-style: italic;
    color: var(--el-gold-soft);
    font-weight: 500;
}

.el-hero-lead {
    max-width: 38ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
    margin-bottom: 32px;
}

.el-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.el-crumbs {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 28px;
    list-style: none;
    padding: 0;
}

.el-crumbs a { color: #fff; }

.el-scroll {
    position: absolute;
    right: 8%;
    bottom: 36px;
    z-index: 3;
    color: var(--el-gold-soft);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

/* ── Story band ─────────────────────────────────────── */
.el-story {
    padding: 88px 0 40px;
}

.el-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.el-story-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 460px;
}

.el-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 460px;
}

.el-float-chip {
    position: absolute;
    left: 22px;
    bottom: 22px;
    background: rgba(255, 248, 243, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    color: var(--el-green);
    box-shadow: 0 12px 30px rgba(26, 36, 30, 0.18);
}

.el-chapter {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--el-gold);
    font-weight: 700;
    margin-bottom: 14px;
}

.el-story h2,
.el-how h2,
.el-why h2,
.el-finale h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--el-ink);
}

.el-copy {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ── How it works ───────────────────────────────────── */
.el-how {
    padding: 40px 0 80px;
}

.el-how-panel {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--el-green);
    color: #fff;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 520px;
}

.el-how-copy {
    padding: clamp(36px, 5vw, 64px);
    position: relative;
    z-index: 1;
}

.el-how-copy .el-chapter { color: var(--el-gold-soft); }
.el-how-copy h2 { color: #fff; }
.el-how-copy .el-copy { color: rgba(255, 255, 255, 0.84); }

.el-steps {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.el-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
}

.el-step span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212, 184, 150, 0.4);
    display: grid;
    place-items: center;
    color: var(--el-gold-soft);
    font-weight: 700;
}

.el-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.el-how-art {
    position: relative;
    min-height: 360px;
}

.el-how-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.el-how-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(45, 70, 57, 0.55), transparent 40%);
}

/* ── Benefits ───────────────────────────────────────── */
.el-benefits {
    padding: 20px 0 90px;
}

.el-benefits-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 42px;
}

.el-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.el-card {
    background: #fff;
    border: 1px solid rgba(183, 146, 72, 0.18);
    border-radius: 22px;
    padding: 28px 22px;
    min-height: 210px;
    box-shadow: 0 16px 36px rgba(45, 70, 57, 0.05);
    transition: transform .3s, border-color .3s;
}

.el-card:hover {
    transform: translateY(-6px);
    border-color: var(--el-gold);
}

.el-card .ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(183, 146, 72, 0.14);
    color: var(--el-gold);
    margin-bottom: 18px;
    font-size: 18px;
}

.el-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--el-green);
}

.el-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.el-benefits-text {
    max-width: 760px;
    margin: 36px auto 0;
    text-align: center;
}

/* ── Why ────────────────────────────────────────────── */
.el-why {
    padding: 0 0 90px;
}

.el-why-wrap {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
    align-items: center;
}

.el-why-list {
    display: grid;
    gap: 14px;
}

.el-why-item {
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px;
    border-left: 3px solid var(--el-gold);
    box-shadow: 0 10px 28px rgba(45, 70, 57, 0.05);
}

.el-why-item strong {
    display: block;
    color: var(--el-green);
    margin-bottom: 6px;
    font-size: 16px;
}

.el-why-item p {
    margin: 0;
    color: #666;
    line-height: 1.65;
    font-size: 15px;
}

/* ── Finale ─────────────────────────────────────────── */
.el-finale {
    padding: 0 0 100px;
}

.el-finale-panel {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    min-height: 420px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(40px, 7vw, 80px) 28px;
    background:
        linear-gradient(180deg, rgba(26, 36, 30, 0.55), rgba(26, 36, 30, 0.82)),
        url('https://res.cloudinary.com/dexxgcc4m/image/upload/v1786378011/Change_color_to_beige_202608101706_vu6r04.jpg') center/cover;
}

.el-finale-panel h2,
.el-finale-panel p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.el-finale-panel p {
    max-width: 640px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.8;
}

.el-finale-panel .theme-btn-main {
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .el-hero { min-height: 78vh; }
    .el-story-grid,
    .el-how-panel,
    .el-why-wrap,
    .el-cards {
        grid-template-columns: 1fr;
    }
    .el-how-art { min-height: 280px; }
    .el-story-visual,
    .el-story-visual img { min-height: 320px; }
    .el-scroll { display: none; }
}

@media (max-width: 575.98px) {
    .el-hero-inner { padding: 120px 0 48px; }
    .el-hero h1 { max-width: 11ch; }
    .el-card { min-height: 0; }
}
