/* Three visual directions for the home page. Change only the body class:
   design-v1 (Aurora Split), design-v2 (Ivory Executive), design-v3 (Midnight Editorial). */

.home-page {
    --home-bg: #06111e;
    --home-surface: rgba(8, 25, 40, 0.72);
    --home-line: rgba(255, 255, 255, 0.13);
    --home-text: #f4f8fb;
    --home-muted: #aebbc6;
    --home-cyan: #3dd9e7;
    --home-gold: #f3ba54;
    min-height: 100%;
    overflow-x: hidden;
    color: var(--home-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-page::before {
    background: none;
}

.home-page .container {
    min-height: 100svh;
    height: auto;
    isolation: isolate;
}

.home-header {
    width: min(1240px, calc(100% - 64px));
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 20;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--home-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--home-cyan);
    font: 750 22px/1 Georgia, serif;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.14);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: 0.2em;
}

.brand-copy small {
    color: var(--home-muted);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(13px, 1.8vw, 26px);
    margin-left: auto;
}

.site-navigation a {
    position: relative;
    padding: 9px 0;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.site-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--home-cyan);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
    color: var(--home-text);
}

.site-navigation a:hover::after,
.site-navigation a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: var(--home-text);
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 22px rgba(31, 54, 61, 0.08);
    font: 700 11px/1 Inter, ui-sans-serif, sans-serif;
    cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    width: 16px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
}

.nav-toggle-icon {
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-icon::before {
    top: -5px;
}

.nav-toggle-icon::after {
    top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.home-page .language-switcher {
    position: static;
    padding: 5px;
    gap: 3px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: rgba(3, 12, 20, 0.42);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.home-page .lang-btn {
    min-width: 46px;
    padding: 9px 13px;
    border: 0;
    border-radius: 999px;
    color: var(--home-muted);
    background: transparent;
    font-size: 11px;
}

.home-page .lang-btn:hover {
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.08);
    transform: none;
}

.home-page .lang-btn.active {
    color: #07131d;
    background: var(--home-cyan);
}

.home-page .content-wrapper {
    min-height: 650px;
    padding: 64px clamp(32px, 6vw, 96px) 88px;
    gap: 0;
}

.home-page .network-container {
    display: none;
}

.hero-shell {
    width: min(1160px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: clamp(52px, 7vw, 108px);
    position: relative;
    z-index: 10;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: var(--home-cyan);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.2em;
}

.hero-eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
}

.home-page .seo-block {
    width: auto;
    max-width: 690px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.home-page .seo-title {
    margin: 0;
    color: var(--home-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5.2vw, 76px);
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: -0.045em;
    text-align: left;
    text-wrap: balance;
    text-shadow: none;
}

.home-page .seo-text {
    max-width: 620px;
    margin-top: 26px;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}

.home-page .btn-login {
    margin: 36px 0 0;
    padding: 14px 18px 14px 22px;
    gap: 18px;
    border: 1px solid rgba(61, 217, 231, 0.38);
    border-radius: 999px;
    color: var(--home-text);
    background: rgba(61, 217, 231, 0.1);
    box-shadow: none;
    font-size: 14px;
    backdrop-filter: blur(12px);
}

.home-page .btn-login:hover {
    background: var(--home-cyan);
    color: #07131d;
    box-shadow: 0 14px 36px rgba(30, 173, 191, 0.24);
    transform: translateY(-2px);
}

.home-page .login-icon {
    width: 18px;
    height: 18px;
    color: currentColor;
}

.home-page .buttons-container {
    width: 100%;
    max-width: none;
    display: grid;
    gap: 14px;
}

.home-page .btn {
    width: 100%;
    height: auto;
    min-height: 190px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 24px 18px;
    align-items: end;
    text-align: left;
    border: 1px solid var(--home-line);
    border-image: none;
    border-radius: 24px;
    background: var(--home-surface);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    overflow: hidden;
}

.home-page .btn::before {
    inset: auto -25% -65% auto;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    opacity: 0.25;
    background: var(--home-cyan);
    filter: blur(48px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-page .btn-secondary::before {
    background: var(--home-gold);
}

.home-page .btn:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.home-page .btn:hover::before {
    left: auto;
    opacity: 0.42;
    transform: scale(1.12);
}

.service-meta {
    grid-column: 1 / -1;
    align-self: start;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.home-page .btn-icon {
    grid-column: 1;
    grid-row: 2;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--home-line);
    border-radius: 15px;
    color: var(--home-cyan);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.home-page .btn-secondary .btn-icon {
    color: var(--home-gold);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.home-page .btn-icon svg,
.home-page .btn-primary .btn-icon svg,
.home-page .btn-secondary .btn-icon svg {
    color: currentColor;
}

.home-page .btn:hover .btn-icon {
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.home-page .btn-text {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    color: var(--home-text);
    font: 500 22px/1.2 Georgia, "Times New Roman", serif;
    letter-spacing: -0.02em;
    text-align: left;
    text-shadow: none;
}

.service-arrow {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
    color: var(--home-muted);
    font-size: 24px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-page .btn:hover .service-arrow {
    color: var(--home-text);
    transform: translate(3px, -3px);
}

.home-page .site-footer {
    padding: 25px 32px 27px;
    border-top: 1px solid var(--home-line);
    background: rgba(3, 10, 17, 0.62);
    backdrop-filter: blur(18px);
}

.home-page .footer-nav {
    margin-bottom: 10px;
}

.home-page .footer-nav a,
.home-page .footer-copyright {
    color: var(--home-muted);
}

/* Variant 1 — Aurora Split */
.design-v1 {
    background:
        radial-gradient(circle at 80% 18%, rgba(45, 193, 211, 0.2), transparent 30%),
        linear-gradient(90deg, rgba(3, 11, 19, 0.97) 0%, rgba(4, 17, 29, 0.9) 48%, rgba(2, 10, 18, 0.7) 100%),
        url("../beck.webp") center / cover fixed;
}

.design-v1 .content-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.13;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, transparent, #000 70%, transparent);
}

/* Variant 2 — Ivory Executive (selected) */
.design-v2 {
    --home-surface: rgba(255, 255, 255, 0.84);
    --home-line: rgba(10, 34, 48, 0.14);
    --home-text: #0c2633;
    --home-muted: #61737b;
    --home-cyan: #087f8c;
    --home-gold: #b77a18;
    background:
        linear-gradient(90deg, rgba(247, 245, 238, 0.98) 0%, rgba(247, 245, 238, 0.93) 56%, rgba(247, 245, 238, 0.34) 100%),
        url("../beck.webp") 76% center / cover fixed;
}

.design-v2 .home-header {
    border-bottom: 1px solid var(--home-line);
}

.design-v2 .brand-mark,
.design-v2 .language-switcher,
.design-v2 .btn-icon {
    background: rgba(255, 255, 255, 0.66);
}

.design-v2 .lang-btn.active {
    color: #fff;
}

.design-v2 .btn-login {
    color: #fff;
    border-color: var(--home-cyan);
    background: var(--home-cyan);
}

.design-v2 .btn-login:hover {
    color: #fff;
    background: #075f69;
}

.design-v2 .btn {
    box-shadow: 0 24px 65px rgba(31, 54, 61, 0.14), inset 0 1px #fff;
}

.design-v2 .site-footer {
    background: rgba(247, 245, 238, 0.88);
}

/* Variant 3 — Midnight Editorial */
.design-v3 {
    --home-surface: rgba(13, 13, 13, 0.72);
    --home-line: rgba(235, 210, 161, 0.2);
    --home-text: #f6f0e6;
    --home-muted: #aaa398;
    --home-cyan: #c8e1df;
    --home-gold: #d9a84e;
    background:
        linear-gradient(180deg, rgba(6, 6, 7, 0.72), rgba(6, 6, 7, 0.96)),
        url("../beck.webp") center 38% / cover fixed;
}

.design-v3 .hero-shell {
    grid-template-columns: 1fr;
    gap: 48px;
}

.design-v3 .hero-copy {
    align-items: center;
}

.design-v3 .hero-eyebrow {
    color: var(--home-gold);
}

.design-v3 .seo-block,
.design-v3 .seo-text {
    margin-inline: auto;
}

.design-v3 .seo-title,
.design-v3 .seo-text {
    text-align: center;
}

.design-v3 .seo-title {
    max-width: 900px;
    font-size: clamp(50px, 6.5vw, 88px);
}

.design-v3 .buttons-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 880px;
    margin: 0 auto;
}

.design-v3 .btn {
    min-height: 166px;
    border-radius: 4px;
}

.design-v3 .brand-mark,
.design-v3 .language-switcher,
.design-v3 .btn-icon {
    border-radius: 4px;
}

.design-v3 .btn-login {
    border-color: rgba(217, 168, 78, 0.55);
    background: rgba(217, 168, 78, 0.12);
}

.design-v3 .btn-login:hover {
    color: #171109;
    background: var(--home-gold);
}

@media (max-width: 900px) {
    .home-page .content-wrapper {
        padding-top: 42px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .home-page .hero-copy {
        align-items: center;
    }

    .home-page .seo-title,
    .home-page .seo-text {
        text-align: center;
    }

    .home-page .seo-text {
        margin-inline: auto;
    }

    .home-page .buttons-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .design-v2 {
        background:
            linear-gradient(rgba(247, 245, 238, 0.93), rgba(247, 245, 238, 0.93)),
            url("../beck.webp") center / cover fixed;
    }
}

@media (max-width: 1050px) {
    .home-header {
        gap: 14px;
    }

    .site-navigation {
        width: min(520px, 100%);
        padding: 14px;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 16px;
        position: absolute;
        top: calc(100% - 4px);
        right: 0;
        z-index: 30;
        border: 1px solid var(--home-line);
        border-radius: 20px;
        background: rgba(247, 245, 238, 0.96);
        box-shadow: 0 20px 50px rgba(31, 54, 61, 0.18);
        backdrop-filter: blur(20px);
    }

    .site-navigation.is-open {
        display: grid;
    }

    .site-navigation a {
        padding: 13px 10px;
        color: var(--home-text);
        border-radius: 10px;
    }

    .site-navigation a:hover,
    .site-navigation a[aria-current="page"] {
        color: var(--home-cyan);
        background: rgba(8, 127, 140, 0.08);
    }

    .site-navigation a::after {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .home-header {
        width: calc(100% - 32px);
        min-height: 74px;
    }

    .brand-copy small {
        display: none;
    }

    .brand-copy strong {
        font-size: 13px;
        letter-spacing: 0.13em;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .home-page .language-switcher {
        padding: 3px;
    }

    .home-page .lang-btn {
        min-width: 34px;
        padding: 8px 7px;
        font-size: 10px;
    }

    .nav-toggle {
        padding: 9px 11px;
    }

    .home-page .content-wrapper {
        min-height: auto;
        padding: 56px 18px 64px;
    }

    .home-page .seo-title,
    .design-v3 .seo-title {
        max-width: 100%;
        font-size: clamp(35px, 10.5vw, 48px);
        overflow-wrap: anywhere;
    }

    .home-page .seo-text {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.65;
    }

    .home-page .btn-login {
        margin-top: 28px;
    }

    .home-page .buttons-container,
    .design-v3 .buttons-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-page .btn {
        min-height: 148px !important;
        padding: 20px !important;
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        grid-template-rows: auto 1fr !important;
        gap: 18px 14px !important;
        text-align: left !important;
    }

    .home-page .btn-icon {
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
    }

    .home-page .btn-text {
        display: block !important;
        width: auto !important;
        font-size: 19px !important;
        text-align: left !important;
    }

    .home-page .site-footer {
        padding: 24px 18px;
    }

    .home-page .footer-nav {
        flex-direction: row;
        gap: 12px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Product portal */
.portal-page {
    background:
        linear-gradient(105deg, rgba(247, 245, 238, 0.98) 0%, rgba(247, 245, 238, 0.91) 58%, rgba(247, 245, 238, 0.45) 100%),
        url("../beck.webp") 76% center / cover fixed;
}

.portal-page .portal-content {
    min-height: auto;
    padding-top: clamp(52px, 7vw, 92px);
    padding-bottom: clamp(72px, 8vw, 112px);
}

.portal-shell {
    width: min(1160px, 100%);
    margin: auto;
    position: relative;
    z-index: 10;
}

.portal-intro {
    max-width: 820px;
    margin-bottom: 46px;
}

.portal-intro .hero-eyebrow {
    margin-bottom: 20px;
}

.portal-title {
    max-width: 820px;
    margin: 0;
    color: var(--home-text);
    font: 500 clamp(48px, 5.5vw, 78px)/1.02 Georgia, "Times New Roman", serif;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.portal-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.7;
}

.product-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-choice {
    min-height: 310px;
    padding: 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 24px;
    color: var(--home-text);
    text-decoration: none;
    border: 1px solid rgba(10, 34, 48, 0.13);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 25px 65px rgba(31, 54, 61, 0.13), inset 0 1px #fff;
    backdrop-filter: blur(22px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-choice:hover {
    border-color: rgba(8, 127, 140, 0.4);
    box-shadow: 0 34px 84px rgba(31, 54, 61, 0.2), inset 0 1px #fff;
    transform: translateY(-5px);
}

.product-choice-catalog:hover {
    border-color: rgba(183, 122, 24, 0.45);
}

.product-number {
    grid-column: 1 / -1;
    color: var(--home-muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.18em;
}

.product-choice-icon {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    padding: 15px;
    color: var(--home-cyan);
    border: 1px solid rgba(8, 127, 140, 0.18);
    border-radius: 18px;
    background: rgba(8, 127, 140, 0.07);
}

.product-choice-catalog .product-choice-icon {
    color: var(--home-gold);
    border-color: rgba(183, 122, 24, 0.2);
    background: rgba(183, 122, 24, 0.08);
}

.product-choice-icon svg {
    width: 100%;
    height: 100%;
}

.product-choice-copy {
    grid-column: 2 / -1;
    grid-row: 2;
    align-self: start;
}

.product-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--home-cyan);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.product-choice-catalog .product-kicker {
    color: var(--home-gold);
}

.product-choice h2 {
    max-width: 410px;
    margin: 0;
    font: 500 clamp(27px, 2.5vw, 36px)/1.08 Georgia, "Times New Roman", serif;
    letter-spacing: -0.035em;
}

.product-choice p {
    max-width: 430px;
    margin: 16px 0 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

.product-choice-link {
    grid-column: 2 / -1;
    grid-row: 3;
    color: var(--home-text);
    font-size: 13px;
    font-weight: 750;
}

.community-panel {
    margin-top: 20px;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: 34px;
    border: 1px solid rgba(10, 34, 48, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 20px 60px rgba(31, 54, 61, 0.1), inset 0 1px #fff;
    backdrop-filter: blur(22px);
}

.community-label {
    color: var(--home-cyan);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.community-copy h2 {
    margin: 8px 0 0;
    font: 500 25px/1.15 Georgia, "Times New Roman", serif;
}

.community-copy p {
    margin: 8px 0 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.5;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.social-link {
    min-width: 0;
    padding: 13px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    color: var(--home-text);
    text-decoration: none;
    border: 1px solid rgba(10, 34, 48, 0.11);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.social-link:hover {
    border-color: rgba(8, 127, 140, 0.42);
    background: #fff;
    transform: translateY(-2px);
}

.social-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 9px;
    color: #168bd2;
    border-radius: 12px;
    background: rgba(22, 139, 210, 0.1);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-icon-text {
    padding: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    background: #168bd2;
}

.social-max .social-icon {
    background: #6546db;
}

.social-link strong,
.social-link small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-link strong {
    font-size: 13px;
}

.social-link small {
    margin-top: 3px;
    color: var(--home-muted);
    font-size: 10px;
}

/* Product detail pages */
.product-detail-page .product-detail-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
}

.product-back {
    margin-bottom: 30px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    border: 1px solid var(--home-cyan);
    border-radius: 999px;
    background: var(--home-cyan);
    box-shadow: 0 10px 24px rgba(8, 127, 140, 0.2);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-back:hover {
    color: #fff;
    background: #075f69;
    box-shadow: 0 14px 30px rgba(8, 127, 140, 0.28);
    transform: translateY(-2px);
}

.product-summary-card {
    min-height: 450px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(10, 34, 48, 0.14);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(208, 237, 239, 0.78));
    box-shadow: 0 30px 80px rgba(31, 54, 61, 0.17), inset 0 1px #fff;
    backdrop-filter: blur(24px);
}

.catalog-summary-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 224, 185, 0.82));
}

.product-summary-icon {
    width: 78px;
    height: 78px;
    margin: 56px 0 32px;
    padding: 19px;
    color: var(--home-cyan);
    border: 1px solid rgba(8, 127, 140, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
}

.catalog-summary-card .product-summary-icon {
    color: var(--home-gold);
    border-color: rgba(183, 122, 24, 0.22);
}

.product-summary-icon svg {
    width: 100%;
    height: 100%;
}

.product-points {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 13px;
    list-style: none;
}

.product-points li {
    position: relative;
    padding-left: 22px;
    color: var(--home-text);
    font-size: 14px;
    line-height: 1.5;
}

.product-points li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-cyan);
}

.catalog-summary-card .product-points li::before {
    background: var(--home-gold);
}

.summary-link {
    margin-top: auto;
    padding-top: 28px;
    color: var(--home-text);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.catalog-detail-page .catalog-open {
    border-color: var(--home-gold);
    background: var(--home-gold);
}

.catalog-detail-page .catalog-open:hover {
    background: #94600f;
}

@media (max-width: 900px) {
    .portal-page {
        background:
            linear-gradient(rgba(247, 245, 238, 0.92), rgba(247, 245, 238, 0.96)),
            url("../beck.webp") center / cover fixed;
    }

    .portal-intro {
        margin-inline: auto;
        text-align: center;
    }

    .portal-intro .hero-eyebrow {
        justify-content: center;
    }

    .portal-lead {
        margin-inline: auto;
    }

    .community-panel {
        grid-template-columns: 1fr;
    }

    .product-detail-page .product-detail-shell {
        grid-template-columns: 1fr;
    }

    .product-detail-page .product-back {
        align-self: flex-start;
    }

    .product-summary-card {
        width: min(620px, 100%);
        min-height: 390px;
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .portal-page .portal-content {
        padding-top: 48px;
    }

    .portal-title {
        font-size: clamp(38px, 11vw, 52px);
    }

    .portal-lead {
        font-size: 15px;
    }

    .product-choice-grid,
    .social-links {
        grid-template-columns: 1fr;
    }

    .product-choice {
        min-height: 270px;
        padding: 22px;
        border-radius: 22px;
    }

    .product-choice-copy {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .product-choice-icon {
        grid-row: 3;
        width: 48px;
        height: 48px;
        padding: 12px;
    }

    .product-choice-link {
        grid-column: 2 / -1;
        align-self: center;
    }

    .community-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .product-summary-card {
        min-height: 360px;
        padding: 26px;
        border-radius: 24px;
    }

    .product-summary-icon {
        margin-top: 38px;
    }
}

/* Informational pages — same Ivory Executive visual language as the portal. */
.info-page {
    min-height: 100vh;
    color: var(--home-text);
    background:
        linear-gradient(105deg, rgba(247, 245, 238, 0.98) 0%, rgba(247, 245, 238, 0.94) 58%, rgba(247, 245, 238, 0.46) 100%),
        url("../beck.webp") 76% center / cover fixed;
}

.info-page .page-container {
    min-height: 100vh;
}

.info-page .language-switcher {
    position: static;
    padding: 5px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 28px rgba(31, 54, 61, 0.1);
    backdrop-filter: blur(14px);
}

.info-page .lang-btn {
    min-width: 40px;
    padding: 9px 10px;
    color: var(--home-muted);
    border: 0;
    border-radius: 999px;
    background: transparent;
}

.info-page .lang-btn.active {
    color: #fff;
    background: var(--home-cyan);
}

.info-page .page-header {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(70px, 9vw, 106px) 0 30px;
    text-align: left;
}

.info-page .back-link {
    margin-bottom: 28px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    border: 1px solid var(--home-cyan);
    border-radius: 999px;
    background: var(--home-cyan);
    box-shadow: 0 10px 24px rgba(8, 127, 140, 0.2);
    font-size: 13px;
    font-weight: 750;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.info-page .back-link:hover {
    color: #fff;
    background: #075f69;
    box-shadow: 0 14px 30px rgba(8, 127, 140, 0.28);
    transform: translateY(-2px);
}

.info-page .page-title {
    max-width: 860px;
    color: var(--home-text);
    font: 500 clamp(38px, 5vw, 64px)/1.04 Georgia, "Times New Roman", serif;
    letter-spacing: -0.045em;
    text-align: left;
    text-shadow: none;
    text-wrap: balance;
}

.info-page .page-content {
    max-width: 1040px;
    padding: 18px 0 74px;
}

.info-page .content-section,
.info-page .legal-section,
.info-page .pricing-table {
    border: 1px solid rgba(10, 34, 48, 0.12);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 60px rgba(31, 54, 61, 0.1), inset 0 1px #fff;
    backdrop-filter: blur(20px);
}

.info-page .content-section {
    padding: clamp(24px, 4vw, 38px);
    margin-bottom: 18px;
    border-radius: 24px;
}

.info-page .lead-text,
.info-page .feature-list li,
.info-page .legal-section p,
.info-page .contact-item-desc,
.info-page .legal-info p,
.info-page .pricing-card-desc,
.info-page .pricing-card-features li {
    color: var(--home-muted);
}

.info-page .lead-text {
    max-width: 780px;
    font-size: 17px;
    line-height: 1.75;
    text-align: left;
}

.info-page .section-title,
.info-page .legal-section-title,
.info-page .contact-item-title {
    color: var(--home-text);
    font: 500 clamp(23px, 3vw, 30px)/1.14 Georgia, "Times New Roman", serif;
    letter-spacing: -0.025em;
}

.info-page .feature-list li {
    padding: 13px 0 13px 26px;
    border-bottom: 1px solid rgba(10, 34, 48, 0.08);
}

.info-page .feature-list li:last-child {
    border-bottom: 0;
}

.info-page .feature-list li::before {
    color: var(--home-cyan);
}

.info-page .page-content-legal {
    max-width: 900px;
}

.info-page .legal-date {
    color: var(--home-muted);
    text-align: left;
}

.info-page .legal-section {
    padding: 26px 30px;
    margin-bottom: 14px;
    border-radius: 20px;
}

.info-page .legal-section p,
.info-page .legal-info p {
    font-size: 14px;
    line-height: 1.75;
}

.info-page .contact-info {
    gap: 14px;
}

.info-page .contact-item,
.info-page .legal-info {
    border: 1px solid rgba(10, 34, 48, 0.1);
    background: rgba(247, 245, 238, 0.62);
    border-radius: 18px;
}

.info-page .contact-item {
    padding: 22px;
}

.info-page .contact-link {
    color: var(--home-cyan);
    font-weight: 750;
}

.info-page .contact-link:hover {
    color: #075f69;
}

.info-page .pricing-table {
    width: 100%;
    margin: 18px 0;
    padding: 18px;
    border-radius: 24px;
}

.info-page .pricing-card {
    border-color: rgba(10, 34, 48, 0.12);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px #fff;
}

.info-page .pricing-card-featured {
    border-color: var(--home-cyan);
}

.info-page .pricing-card-premium {
    border-color: var(--home-gold);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(245, 224, 185, 0.66));
}

.info-page .pricing-card-title {
    color: var(--home-text);
}

.info-page .price-amount,
.info-page .pricing-card-featured .price-amount {
    color: var(--home-cyan);
}

.info-page .pricing-card-premium .price-amount {
    color: var(--home-gold);
}

.info-page .price-period,
.info-page .price-old,
.info-page .pricing-loading,
.info-page .pricing-error {
    color: var(--home-muted);
}

.info-page .site-footer {
    margin-top: auto;
    border-top: 1px solid var(--home-line);
    background: rgba(247, 245, 238, 0.86);
    box-shadow: 0 -12px 36px rgba(31, 54, 61, 0.05);
    backdrop-filter: blur(18px);
}

.info-page .footer-nav a,
.info-page .footer-copyright {
    color: var(--home-muted);
}

.info-page .footer-nav a:hover {
    color: var(--home-cyan);
}

@media (max-width: 768px) {
    .info-page {
        background:
            linear-gradient(rgba(247, 245, 238, 0.94), rgba(247, 245, 238, 0.97)),
            url("../beck.webp") center / cover fixed;
    }

    .info-page .language-switcher {
        position: static;
    }

    .info-page .page-header {
        width: calc(100% - 36px);
        padding-top: 104px;
    }

    .info-page .page-content {
        width: calc(100% - 36px);
        padding-bottom: 52px;
    }

    .info-page .page-title {
        font-size: clamp(36px, 10vw, 48px);
    }

    .info-page .content-section,
    .info-page .legal-section {
        padding: 22px;
        border-radius: 20px;
    }

    .info-page .pricing-table {
        width: 100%;
        padding: 12px;
        left: auto;
        transform: none;
    }
}
