/* Final reference layer shared by the refreshed homepage and presentation pages. */

/* Homepage hero */
.home-page-v2 .site-header .btn--header {
    min-height: 52px;
    padding-inline: 22px;
    border-radius: 999px;
    font-size: 16px;
}

.home-page-v2 .site-header .site-header-cta {
    color: #fff;
    background: linear-gradient(135deg, #ff651f, #ff3f16);
}

.home-page-v2 .point-online-fon {
    min-height: auto;
    padding: calc(var(--site-header-offset) + 52px) 0 clamp(72px, 7vw, 112px);
    background:
        radial-gradient(circle at 92% 28%, rgba(255, 224, 208, .55), transparent 26%),
        radial-gradient(circle at 4% 68%, rgba(255, 240, 229, .65), transparent 24%),
        #fffdfb;
}

.home-page-v2 .point-online-fon .container {
    grid-template-columns: minmax(360px, .72fr) minmax(620px, 1.28fr);
    align-items: center;
    gap: clamp(36px, 4.2vw, 76px);
    min-height: min(690px, calc(100svh - var(--site-header-offset) - 42px));
}

.home-page-v2 .point-online-title {
    max-width: 560px;
}

.home-page-v2 .point-online-title h1 {
    width: 100%;
    max-width: 9ch;
    margin-bottom: 28px;
    font-size: clamp(48px, 4.3vw, 62px);
    line-height: .96;
}

.home-page-v2 .point-online-title h1::after {
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 30px;
    border-radius: 99px;
    background: var(--home-accent);
    content: "";
}

.home-page-v2 .point-online-title p {
    max-width: 31em;
    margin-bottom: 34px;
    color: #545454;
    font-size: clamp(18px, 1.25vw, 21px);
}

.home-page-v2 .point-online-actions .btn {
    gap: 26px;
    min-height: 68px;
    padding-inline: 30px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff651f, #ff3f16);
    box-shadow: 0 14px 30px rgba(243, 84, 36, .23);
    font-size: 19px;
}

.home-page-v2 .point-online-actions .btn svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-page-v2 .point-online-tema {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: auto;
    min-height: 560px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(24, 24, 24, .14);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 70px rgba(24, 24, 24, .14);
    transform: none;
}

.home-page-v2 .point-online-tema::before,
.home-page-v2 .point-online-tema::after {
    display: none;
}

.home-page-v2 .editor-canvas {
    position: relative;
}

/* Presentation-page hero */
.landing-body {
    --landing-page-max: 1400px;
}

.landing-body .landing-hero {
    padding-top: calc(var(--site-header-offset) + 42px);
    padding-bottom: clamp(70px, 7vw, 104px);
    background:
        radial-gradient(circle at 7% 13%, rgba(255, 198, 177, .34), transparent 22%),
        radial-gradient(circle at 92% 37%, rgba(184, 242, 59, .2), transparent 19%),
        #fffdfb;
}

.landing-body .breadcrumbs {
    margin-bottom: clamp(38px, 5vw, 74px);
}

.landing-body .breadcrumbs ol {
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(243, 84, 36, .65);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-body .breadcrumbs li {
    padding: 0;
    background: transparent !important;
    font-size: 15px;
}

.landing-body .landing-hero-grid,
.landing-body[class*="presentation-hero-"] .landing-hero-grid {
    grid-template-columns: minmax(520px, 1.15fr) minmax(420px, .85fr);
    align-items: end;
    gap: clamp(34px, 4.5vw, 68px);
}

.landing-body .landing-hero-visual,
.landing-body[class*="presentation-hero-"] .landing-hero-visual {
    order: 1;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #eee;
    box-shadow: 0 22px 52px rgba(24, 24, 24, .13);
    transform: none;
}

.landing-body .landing-hero-visual picture,
.landing-body .landing-hero-visual img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform: none;
}

.landing-body .landing-hero-visual img,
.landing-body[class*="presentation-"] .landing-hero-visual img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.landing-body .landing-hero-copy,
.landing-body[class*="presentation-hero-"] .landing-hero-copy {
    order: 2;
    padding: clamp(30px, 3.2vw, 46px);
    border-color: rgba(24, 24, 24, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 22px 52px rgba(24, 24, 24, .08);
}

.landing-body main .landing-hero-copy h1 {
    font-size: clamp(44px, 3.8vw, 64px);
    line-height: .98;
}

.landing-body .landing-lead {
    margin-top: 28px !important;
}

.landing-body .landing-actions {
    margin-top: 30px;
}

.landing-body .landing-actions .text-link {
    display: inline-flex;
    margin-inline: auto;
    font-size: 15px;
}

.landing-body main .landing-actions .btn {
    width: 100%;
    justify-content: space-between;
    min-height: 64px;
    padding-inline: 28px 24px;
}

/* Compact CTA scale for detail pages. Header controls keep their own
   touch-friendly sizing and are intentionally not affected. */
.landing-body main .landing-actions .btn,
.landing-body main .result-copy .btn,
.landing-body main .final-cta-copy .btn {
    min-height: 52px;
    padding: 0 20px;
    font-size: 15px;
    line-height: 19px;
}

.landing-body main .result-copy .btn {
    padding-block: 9px;
    border-radius: 999px;
}

.landing-body main .final-cta-copy .btn {
    padding-inline: 22px;
}

@media (max-width: 1199px) and (min-width: 900px) {
    .home-page-v2 .point-online-fon .container {
        grid-template-columns: minmax(320px, .8fr) minmax(500px, 1.2fr);
        gap: 36px;
    }

    .home-page-v2 .point-online-tema { min-height: 490px; }
}

@media (max-width: 1099px) {
    .landing-body .landing-hero {
        padding-top: calc(var(--site-header-offset) + 24px);
    }

    .landing-body .landing-hero-grid,
    .landing-body[class*="presentation-hero-"] .landing-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .landing-body .landing-hero-copy,
    .landing-body .landing-hero-visual,
    .landing-body[class*="presentation-hero-"] .landing-hero-copy,
    .landing-body[class*="presentation-hero-"] .landing-hero-visual {
        order: initial;
    }
}

@media (max-width: 899px) {
    .home-page-v2 .point-online-fon {
        padding-top: calc(var(--site-header-offset) + 28px);
    }

    .home-page-v2 .point-online-fon .container {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .home-page-v2 .point-online-title {
        max-width: 680px;
    }

    .home-page-v2 .point-online-title h1 {
        max-width: 10ch;
        font-size: clamp(48px, 9vw, 72px);
    }
}

@media (max-width: 767px) {
    .home-page-v2 .site-header .btn--header {
        min-height: 42px;
        padding-inline: 11px;
        font-size: 13px;
    }

    .landing-body .landing-hero {
        padding-top: calc(var(--site-header-offset) + 12px);
        padding-bottom: 56px;
    }

    .landing-body .breadcrumbs {
        margin-bottom: 28px;
    }

    .landing-body .landing-hero-copy {
        padding: 24px;
    }

    .landing-body main .landing-hero-copy h1 {
        font-size: clamp(38px, 10.7vw, 52px);
    }

    .landing-body .landing-hero-visual {
        aspect-ratio: 4 / 3;
    }

    .landing-body main .landing-actions .btn {
        min-height: 50px;
        padding-inline: 18px 16px;
        font-size: 15px;
    }

    .landing-body main .result-copy .btn,
    .landing-body main .final-cta-copy .btn {
        min-height: 48px;
        padding: 8px 16px;
        font-size: 14px;
        line-height: 18px;
    }
}

@media (max-width: 599px) {
    .home-page-v2 .point-online-fon {
        padding: calc(var(--site-header-offset) + 20px) 0 64px;
    }

    .home-page-v2 .point-online-title h1 {
        margin-bottom: 22px;
        font-size: clamp(43px, 12vw, 58px);
    }

    .home-page-v2 .point-online-title h1::after { margin-top: 22px; }

    .home-page-v2 .point-online-title p {
        margin-bottom: 28px;
        font-size: 17px;
    }

    .home-page-v2 .point-online-actions,
    .home-page-v2 .point-online-actions .btn { width: 100%; }

    .home-page-v2 .point-online-actions .btn {
        min-height: 58px;
        border-radius: 14px;
    }

    .home-page-v2 .point-online-tema {
        min-height: 330px;
        border-radius: 16px;
    }
}

@media (max-width: 374px) {
    .home-page-v2 .site-header .btn--header {
        padding-inline: 9px;
        font-size: 12px;
    }
}

/* Presentation detail hero — reference v2: offer left, product scene right. */
.landing-body .landing-hero {
    padding-top: calc(var(--site-header-offset) + 24px);
    padding-bottom: 28px;
}

.landing-body .breadcrumbs {
    margin-bottom: clamp(28px, 3vw, 42px);
}

.landing-body .breadcrumbs ol {
    width: max-content;
    padding: 8px 14px;
    border: 1px solid rgba(24, 24, 24, .06);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 24px rgba(24, 24, 24, .05);
}

.landing-body .breadcrumbs li {
    color: #777;
    font-size: 14px;
}

.landing-body .breadcrumbs li[aria-current="page"] {
    color: var(--landing-ink);
}

.landing-body .landing-hero-grid,
.landing-body[class*="presentation-hero-"] .landing-hero-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(380px, .76fr) minmax(620px, 1.24fr);
    align-items: center;
    gap: clamp(42px, 5vw, 76px);
}

.landing-body .landing-hero-copy,
.landing-body[class*="presentation-hero-"] .landing-hero-copy {
    order: 1;
    align-self: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-body .hero-scenario-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 36px;
    margin-bottom: 22px;
    padding: 7px 14px;
    border: 1px solid rgba(243, 84, 36, .12);
    border-radius: 999px;
    color: #d9461c;
    background: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 650;
    box-shadow: 0 7px 20px rgba(243, 84, 36, .06);
}

.landing-body .hero-scenario-badge::before {
    margin-right: 8px;
    content: "✦";
}

.landing-body main .landing-hero-copy h1 {
    max-width: 12ch;
    padding-bottom: 0;
    font-size: clamp(42px, 3.65vw, 58px);
    line-height: 1.01;
}

.landing-body main .landing-hero-copy h1::after {
    display: none;
}

.landing-body main .landing-hero-copy h1 span {
    display: block;
    color: var(--landing-orange);
}

.landing-body .landing-lead {
    max-width: 42ch !important;
    margin-top: 24px !important;
    font-size: clamp(17px, 1.35vw, 20px);
}

.landing-body .landing-actions {
    gap: 12px 22px;
    margin-top: 26px;
}

.landing-body main .landing-actions .btn {
    width: max-content;
    min-height: 58px;
    padding-inline: 26px 22px;
    font-size: 16px;
}

.landing-body .landing-actions .text-link {
    margin-inline: 0;
    font-size: 14px;
}

.landing-body .hero-quick-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 22px !important;
}

.landing-body .hero-quick-benefits li {
    position: relative;
    padding-left: 20px;
    color: #525252;
    font-size: 14px;
}

.landing-body .hero-quick-benefits li::before {
    position: absolute;
    top: .32em;
    left: 0;
    display: grid;
    width: 14px;
    height: 14px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #ff8763;
    content: "✓";
    font-size: 9px;
    line-height: 1;
}

.landing-body .landing-hero-visual,
.landing-body[class*="presentation-hero-"] .landing-hero-visual {
    order: 2;
    align-self: center;
    aspect-ratio: 1.5 / 1;
    border-radius: 24px;
    box-shadow: 0 28px 65px rgba(24, 24, 24, .14);
}

.landing-body .landing-hero-visual picture,
.landing-body .landing-hero-visual img,
.landing-body[class*="presentation-"] .landing-hero-visual img {
    aspect-ratio: auto;
    object-fit: cover;
}

.landing-body .hero-product-overlay {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    padding: 14px 18px;
    border: 1px solid rgba(24, 24, 24, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 36px rgba(24, 24, 24, .14);
    backdrop-filter: blur(12px);
}

.landing-body .hero-product-overlay > span {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--landing-orange);
    border-radius: 50%;
    color: var(--landing-orange);
}

.landing-body .hero-product-overlay div,
.landing-body .hero-product-overlay strong,
.landing-body .hero-product-overlay small {
    display: block;
}

.landing-body .hero-product-overlay strong { font-size: 14px; }
.landing-body .hero-product-overlay small { color: #d9461c; font-size: 12px; }

.landing-body .landing-proof {
    padding: 0 0 22px;
    border: 0;
    background: #fffdfb;
}

.landing-body .proof-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 14px 8px;
    border: 1px solid rgba(24, 24, 24, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 14px 40px rgba(24, 24, 24, .06);
}

.landing-body .proof-flow > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 8px 18px;
    border: 0;
    border-right: 1px solid rgba(24, 24, 24, .1);
    border-radius: 0;
    background: transparent;
}

.landing-body .proof-flow > div:last-child { border-right: 0; }

.landing-body .proof-flow > div > span {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    color: var(--landing-orange);
    background: #fff0eb;
}

.landing-body .proof-flow strong {
    font-size: 14px;
    line-height: 1.25;
}

@media (max-width: 1099px) {
    .landing-body .landing-hero-grid,
    .landing-body[class*="presentation-hero-"] .landing-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .landing-body .landing-hero-copy,
    .landing-body[class*="presentation-hero-"] .landing-hero-copy { order: 1; }

    .landing-body .landing-hero-visual,
    .landing-body[class*="presentation-hero-"] .landing-hero-visual { order: 2; }

    .landing-body main .landing-hero-copy h1 { max-width: 15ch; }

    .landing-body .proof-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-body .proof-flow > div:nth-child(2) { border-right: 0; }
}

@media (max-width: 767px) {
    .landing-body .landing-hero { padding-top: calc(var(--site-header-offset) + 8px); }
    .landing-body .breadcrumbs { margin-bottom: 24px; }
    .landing-body main .landing-hero-copy h1 { font-size: clamp(38px, 10.2vw, 50px); }
    .landing-body .landing-hero-visual,
    .landing-body[class*="presentation-hero-"] .landing-hero-visual { aspect-ratio: 4 / 3; border-radius: 18px; }
    .landing-body .hero-product-overlay { right: 12px; bottom: 12px; max-width: calc(100% - 24px); }
    .landing-body .proof-flow { grid-template-columns: minmax(0, 1fr); }
    .landing-body .proof-flow > div { border-right: 0; border-bottom: 1px solid rgba(24, 24, 24, .08); }
    .landing-body .proof-flow > div:last-child { border-bottom: 0; }
    .landing-body main .landing-actions .btn { width: 100%; }
}

/* Final compact CTA pass. Kept after the legacy refresh rules so every
   presentation template uses the same visual scale. */
.landing-body main .landing-actions .btn,
.landing-body main .final-cta-copy .btn {
    min-height: 52px;
    padding-inline: 20px;
    font-size: 15px;
    line-height: 19px;
}

.landing-body main .result-copy .btn {
    min-height: 50px;
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 18px;
}

@media (max-width: 767px) {
    .landing-body main .landing-actions .btn,
    .landing-body main .final-cta-copy .btn {
        min-height: 50px;
        padding-inline: 18px;
        font-size: 15px;
    }

    .landing-body main .result-copy .btn {
        min-height: 48px;
        padding-block: 5px;
        font-size: 14px;
        line-height: 18px;
    }
}
