:root {
    --dg-yellow: #f9b000;
    --dg-yellow-hover: #ffc233;
    --dg-black: #111111;
    --dg-dark: #191919;
    --dg-white: #ffffff;
    --dg-gray: #f4f4f4;
    --dg-text: #222222;
    --dg-muted: #777777;
    --dg-screen-height: 100svh;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (min-width: 769px) {
    html {
        scroll-snap-type: y mandatory;
    }
}

body {
    margin: 0;
}

body,
.doglass-home,
.doglass-home button,
.doglass-home input,
.doglass-home textarea,
.doglass-home select {
    font-family: "Manrope", Arial, sans-serif;
}

.doglass-home {
    position: relative;
    min-height: 100vh;
    background: var(--dg-black);
    color: var(--dg-white);
    overflow-x: hidden;
}

.doglass-home a {
    color: inherit;
}

.doglass-home h1,
.doglass-home h2,
.doglass-home h3,
.doglass-home p {
    margin-top: 0;
}

.doglass-home h1,
.doglass-home h2 {
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.doglass-home h3 {
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.doglass-home p {
    font-family: "Manrope", Arial, sans-serif;
    font-weight: 400;
}

.dg-container {
    width: min(1440px, calc(100% - 72px));
    margin: 0 auto;
}

/* HEADER */

.dg-header {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    padding: clamp(18px, 3vh, 28px) 42px;
    color: #ffffff;
    background: transparent;
}

.dg-header__inner {
    display: grid;
    grid-template-columns: 300px 1fr 310px;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.dg-header__left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.dg-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.dg-logo {
    display: inline-flex;
    align-items: center;
    width: 250px;
    height: auto;
    text-decoration: none;
}

.dg-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.dg-logo__text {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dg-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    font-size: 15px;
    font-weight: 700;
}

.dg-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dg-nav a:hover {
    color: #ffffff;
}

.dg-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--dg-yellow);
    transition: width 0.22s ease;
}

.dg-nav a:hover::after {
    width: 100%;
}

.dg-phone {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dg-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--dg-yellow);
    color: #111111;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.dg-header__btn:hover {
    background: var(--dg-yellow-hover);
    transform: translateY(-1px);
}

/* FULLPAGE */

.dg-main {
    position: relative;
}

.dg-screen {
    position: relative;
    height: var(--dg-screen-height);
    min-height: 620px;
    overflow: hidden;
}

@media (min-width: 769px) {
    .dg-screen {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* HERO */

.dg-hero {
    display: flex;
    align-items: center;
    background: #111111;
}

.dg-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.dg-hero-video,
.dg-hero-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dg-hero-video {
    display: block;
}

.dg-hero-poster {
    display: none;
}

.dg-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.48) 44%,
            rgba(0, 0, 0, 0.20) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.54) 0%,
            rgba(0, 0, 0, 0) 38%
        );
}

.dg-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(120px, 18vh, 170px) 0 clamp(56px, 10vh, 90px);
}

.dg-hero__label,
.dg-section__label {
    margin-bottom: clamp(14px, 3vh, 26px);
    color: var(--dg-yellow);
    font-size: clamp(11px, 1.4vh, 13px);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dg-hero h1 {
    max-width: 1120px;
    margin: 0 0 clamp(18px, 3vh, 28px);
    color: #ffffff;
    font-size: clamp(44px, 7vw, 96px);
    line-height: 0.95;
}

.dg-hero__text {
    max-width: 860px;
    margin: 0 0 clamp(24px, 4vh, 36px);
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.5;
}

.dg-scroll-hint {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: clamp(20px, 4vh, 34px);
    width: 34px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(-50%);
    cursor: pointer;
}

.dg-scroll-hint span {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffffff;
    transform: translateX(-50%);
    animation: dgScrollHint 1.5s ease-in-out infinite;
}

@keyframes dgScrollHint {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    70% {
        transform: translate(-50%, 18px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
}

/* BUTTONS */

.dg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.dg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(48px, 6vh, 54px);
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.dg-btn:hover {
    transform: translateY(-1px);
}

.dg-btn--yellow,
.dg-btn--yellow:visited,
.dg-btn--yellow:hover,
.dg-btn--yellow:focus,
.dg-btn--yellow:active {
    background: var(--dg-yellow);
    color: var(--dg-black) !important;
    -webkit-text-fill-color: var(--dg-black) !important;
    text-decoration: none;
}

.dg-btn--yellow:hover,
.dg-btn--yellow:focus,
.dg-btn--yellow:active {
    background: var(--dg-yellow-hover);
    color: var(--dg-black) !important;
    -webkit-text-fill-color: var(--dg-black) !important;
}

.dg-btn--yellow *,
.dg-btn--yellow:hover *,
.dg-btn--yellow:focus *,
.dg-btn--yellow:active * {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

.dg-btn--ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
}

.dg-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.14);
}

.dg-btn--dark {
    background: #111111;
    color: #ffffff;
}

.dg-btn--dark:hover {
    background: #2a2a2a;
}

/* SECTIONS */

.dg-section {
    height: var(--dg-screen-height);
    min-height: 620px;
    padding: clamp(78px, 12vh, 110px) 0;
    display: flex;
    align-items: center;
}

.dg-section--light {
    background: #ffffff;
    color: var(--dg-text);
}

.dg-section--dark {
    background: var(--dg-dark);
    color: #ffffff;
}

.dg-section--image {
    color: #ffffff;
    background: #111111;
    display: flex;
    align-items: center;
}

.dg-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        url("/wp-content/uploads/2024/03/C4C1OH5mLS4.jpg")
        center / cover no-repeat;
}

.dg-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.54) 45%,
            rgba(0, 0, 0, 0.18) 100%
        );
}

.dg-section .dg-container {
    position: relative;
    z-index: 2;
}

.dg-section__content {
    max-width: 1120px;
}

.dg-section h2 {
    max-width: 1080px;
    margin: 0 0 clamp(16px, 3vh, 24px);
    font-size: clamp(36px, 5.7vw, 76px);
    line-height: 1;
}

.dg-section p {
    max-width: 860px;
    margin: 0;
    color: var(--dg-muted);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
}

.dg-section--dark .dg-section__label,
.dg-section--dark h2,
.dg-section--dark .dg-section__content h2,
.dg-section--image h2,
.dg-section--image .dg-section__content h2 {
    color: #ffffff;
}

.dg-section--dark p,
.dg-section--image p {
    color: rgba(255, 255, 255, 0.70);
}

.dg-section__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: clamp(24px, 4vh, 34px);
}

.dg-section__links a {
    color: #111111;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid var(--dg-yellow);
}

.dg-price-preview {
    display: grid;
    gap: clamp(8px, 1.6vh, 12px);
    width: min(780px, 100%);
    margin-top: clamp(24px, 4vh, 36px);
}

.dg-price-preview__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(12px, 2.2vh, 18px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dg-price-preview__item span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
}

.dg-price-preview__item b {
    color: #ffffff;
    font-size: clamp(19px, 2.4vw, 22px);
    font-weight: 800;
    white-space: nowrap;
}

/* LOW HEIGHT SCREENS */

@media (min-width: 769px) and (max-height: 760px) {
    .dg-screen,
    .dg-section {
        min-height: 560px;
    }

    .dg-header {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .dg-logo {
        width: 210px;
    }

    .dg-logo img {
        max-height: 60px;
    }

    .dg-nav {
        gap: 26px;
        font-size: 14px;
    }

    .dg-hero__content {
        padding-top: 112px;
        padding-bottom: 50px;
    }

    .dg-hero h1 {
        max-width: 980px;
        font-size: clamp(40px, 6.2vw, 74px);
    }

    .dg-hero__text {
        max-width: 760px;
        font-size: 18px;
    }

    .dg-section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .dg-section h2 {
        max-width: 940px;
        font-size: clamp(34px, 4.8vw, 60px);
    }

    .dg-section p {
        max-width: 760px;
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (min-width: 769px) and (max-height: 640px) {
    .dg-screen,
    .dg-section {
        min-height: 520px;
    }

    .dg-header {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .dg-logo {
        width: 185px;
    }

    .dg-logo img {
        max-height: 52px;
    }

    .dg-header__inner {
        grid-template-columns: 230px 1fr 270px;
    }

    .dg-nav {
        gap: 22px;
        font-size: 13px;
    }

    .dg-phone {
        font-size: 13px;
    }

    .dg-header__btn {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .dg-hero__content {
        padding-top: 96px;
        padding-bottom: 42px;
    }

    .dg-hero__label,
    .dg-section__label {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .dg-hero h1 {
        max-width: 820px;
        margin-bottom: 16px;
        font-size: clamp(36px, 5.6vw, 62px);
    }

    .dg-hero__text {
        max-width: 690px;
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 1.45;
    }

    .dg-btn {
        min-height: 46px;
        padding: 0 22px;
        font-size: 14px;
    }

    .dg-section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .dg-section h2 {
        max-width: 820px;
        margin-bottom: 14px;
        font-size: clamp(32px, 4.2vw, 50px);
    }

    .dg-section p {
        max-width: 720px;
        font-size: 15px;
        line-height: 1.55;
    }

    .dg-price-preview {
        margin-top: 18px;
    }

    .dg-price-preview__item {
        padding: 10px 0;
    }
}

/* MOBILE */

@media (max-width: 980px) {
    .dg-header {
        padding: 20px 22px;
    }

    .dg-header__inner {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .dg-logo {
        width: 180px;
    }

    .dg-logo img {
        max-height: 54px;
    }

    .dg-nav {
        display: none;
    }

    .dg-header__right {
        gap: 12px;
    }

    .dg-phone {
        font-size: 13px;
    }

    .dg-header__btn {
        min-height: 38px;
        padding: 0 14px;
        font-size: 12px;
    }

    .dg-hero h1 {
        font-size: 48px;
    }

    .dg-hero__content {
        padding: 140px 0 62px;
    }
}


@media (max-width: 1100px) and (min-width: 769px) {
    .dg-price-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    .dg-hero-video {
        display: none;
    }

    .dg-hero-poster {
        display: block;
    }

    .dg-screen,
    .dg-section {
        height: auto;
        min-height: auto;
        scroll-snap-align: none;
    }

    .dg-section {
        padding: 92px 0;
    }
}

@media (max-width: 560px) {
    .dg-container {
        width: min(100% - 24px, 1440px);
    }

    .dg-header {
        padding: 18px 16px;
    }

    .dg-logo {
        width: 155px;
    }

    .dg-phone {
        display: none;
    }

    .dg-hero {
        min-height: 86svh;
    }

    .dg-hero__content {
        padding: 124px 0 48px;
    }

    .dg-hero__label,
    .dg-section__label {
        margin-bottom: 18px;
        font-size: 11px;
    }

    .dg-hero h1 {
        margin-bottom: 20px;
        font-size: 38px;
        line-height: 1;
    }

    .dg-hero__text {
        margin-bottom: 28px;
        font-size: 16px;
    }

    .dg-actions {
        flex-direction: column;
    }

    .dg-btn {
        width: 100%;
        min-height: 52px;
    }

    .dg-section {
        padding: 72px 0;
    }

    .dg-section h2 {
        font-size: 36px;
    }

    .dg-section p {
        font-size: 16px;
    }

    .dg-price-preview__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
/* HEADER MESSAGE DROPDOWN */

.dg-message-menu {
    position: relative;
}

.dg-message-menu[open] {
    z-index: 200;
}

.dg-message-menu__summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.dg-message-menu__summary::-webkit-details-marker {
    display: none;
}

.dg-message-menu__summary::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 9px;
    border-right: 2px solid #111111;
    border-bottom: 2px solid #111111;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.dg-message-menu[open] .dg-message-menu__summary::after {
    transform: rotate(225deg) translateY(-1px);
}

.dg-message-menu__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 250px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.dg-message-menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 13px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.dg-message-menu__item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

.dg-message-menu__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
}

.dg-message-menu__icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.dg-message-menu__icon--wa {
    color: #ffffff;
    background: #25d366;
}

.dg-message-menu__icon--tg {
    color: #ffffff;
    background: #2aabee;
}

.dg-message-menu__icon--max {
    color: #ffffff;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.dg-message-menu__icon--jivo {
    color: #ffffff;
    background: #00bf54;
}

@media (max-width: 560px) {
    .dg-message-menu__dropdown {
        right: 0;
        min-width: 230px;
    }

    .dg-message-menu__item {
        font-size: 13px;
    }

    .dg-message-menu__icon {
        width: 23px;
        height: 23px;
    }

    .dg-message-menu__icon svg {
        width: 17px;
        height: 17px;
    }
}
/* MOBILE VIDEO + SCREEN FIT OVERRIDES */

.dg-screen,
.dg-section {
    height: var(--dg-screen-height);
}

.dg-hero {
    min-height: var(--dg-screen-height);
}

@media (max-width: 768px) {
    .dg-hero-video {
        display: block;
    }

    .dg-hero-poster {
        display: none;
    }

    .dg-screen,
    .dg-section {
        height: var(--dg-screen-height);
        min-height: var(--dg-screen-height);
        scroll-snap-align: none;
    }

    .dg-section {
        display: flex;
        align-items: center;
        padding-top: clamp(58px, 9vh, 92px);
        padding-bottom: clamp(58px, 9vh, 92px);
    }

    .dg-section__content {
        max-width: 100%;
    }

    .dg-section h2 {
        font-size: clamp(32px, 9vw, 48px);
        line-height: 1.02;
    }

    .dg-section p {
        font-size: clamp(15px, 4vw, 17px);
        line-height: 1.55;
    }
}

@media (max-width: 560px) {
    .dg-hero {
        min-height: var(--dg-screen-height);
    }

    .dg-hero__content {
        padding-top: clamp(112px, 18vh, 140px);
        padding-bottom: clamp(34px, 7vh, 54px);
    }

    .dg-hero h1 {
        font-size: clamp(34px, 10vw, 44px);
    }

    .dg-hero__text {
        font-size: clamp(15px, 4vw, 17px);
        line-height: 1.5;
    }

    .dg-price-preview {
        margin-top: 20px;
    }

    .dg-price-preview__item {
        padding: 10px 0;
    }
}

@media (max-width: 390px), (max-height: 700px) {
    .dg-hero__label,
    .dg-section__label {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .dg-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(30px, 9vw, 38px);
    }

    .dg-hero__text {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .dg-btn {
        min-height: 46px;
        font-size: 14px;
    }

    .dg-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .dg-section h2 {
        margin-bottom: 14px;
        font-size: clamp(28px, 8.6vw, 38px);
    }

    .dg-section p {
        font-size: 14px;
        line-height: 1.5;
    }
}
/* APPROACH SECTION BACKGROUND */

#solutions {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111111;
    isolation: isolate;
}

#solutions::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        url("../img/approach-bg.jpg")
        center / cover no-repeat;
    transform: scale(1.02);
}

#solutions::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.58) 45%,
            rgba(0, 0, 0, 0.28) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.42) 0%,
            rgba(0, 0, 0, 0.08) 42%,
            rgba(0, 0, 0, 0.38) 100%
        );
}

#solutions .dg-container {
    position: relative;
    z-index: 2;
}

#solutions .dg-section__label {
    color: var(--dg-yellow);
}

#solutions h2 {
    color: #ffffff;
}

#solutions p {
    color: rgba(255, 255, 255, 0.76);
}

#solutions .dg-section__links a {
    color: #ffffff;
    border-bottom-color: var(--dg-yellow);
}

#solutions .dg-section__links a:hover {
    color: var(--dg-yellow);
}
/* MOBILE FULLPAGE OVERRIDES */

.dg-screen,
.dg-section {
    height: var(--dg-screen-height);
}

.dg-hero {
    min-height: var(--dg-screen-height);
}

@media (max-width: 768px) {
   html {
    scroll-snap-type: none;
    overscroll-behavior: auto;
}

body {
    overscroll-behavior: auto;
}

.doglass-home {
    overscroll-behavior: auto;
}

    .dg-hero-video {
        display: block;
    }

    .dg-hero-poster {
        display: none;
    }

    .dg-screen,
    .dg-section {
        height: var(--dg-screen-height);
        min-height: var(--dg-screen-height);
        overflow: hidden;
        scroll-snap-align: none;
    }

    .dg-section {
        display: flex;
        align-items: center;
        padding-top: clamp(58px, 9vh, 92px);
        padding-bottom: clamp(58px, 9vh, 92px);
    }

    .dg-section__content {
        max-width: 100%;
    }

    .dg-section h2 {
        font-size: clamp(32px, 9vw, 48px);
        line-height: 1.02;
    }

    .dg-section p {
        font-size: clamp(15px, 4vw, 17px);
        line-height: 1.55;
    }
}

@media (max-width: 560px) {
    .dg-hero {
        min-height: var(--dg-screen-height);
    }

    .dg-hero__content {
        padding-top: clamp(112px, 18vh, 140px);
        padding-bottom: clamp(34px, 7vh, 54px);
    }

    .dg-hero h1 {
        font-size: clamp(34px, 10vw, 44px);
    }

    .dg-hero__text {
        font-size: clamp(15px, 4vw, 17px);
        line-height: 1.5;
    }

    .dg-price-preview {
        margin-top: 20px;
    }

    .dg-price-preview__item {
        padding: 10px 0;
    }
}

@media (max-width: 390px), (max-height: 700px) {
    .dg-hero__label,
    .dg-section__label {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .dg-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(30px, 9vw, 38px);
    }

    .dg-hero__text {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .dg-btn {
        min-height: 46px;
        font-size: 14px;
    }

    .dg-section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .dg-section h2 {
        margin-bottom: 14px;
        font-size: clamp(28px, 8.6vw, 38px);
    }

    .dg-section p {
        font-size: 14px;
        line-height: 1.5;
    }
}
.dg-message-menu__icon img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}
/* PRODUCT CATEGORIES SECTION */

#solutions::before,
#solutions::after {
    display: none !important;
}

.dg-section--categories {
    background: #111111;
    color: #ffffff;
}

.dg-section--categories .dg-container {
    position: relative;
    z-index: 2;
}

.dg-categories-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
    gap: 44px;
    align-items: end;
    margin-bottom: clamp(24px, 4vh, 38px);
}

.dg-categories-head h2 {
    max-width: 920px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4.7vw, 68px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.dg-categories-head p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.65;
}

.dg-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, 1fr);
    gap: 16px;
}

.dg-category-card {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    overflow: hidden;
    border-radius: 28px;
    color: #ffffff;
    text-decoration: none;
    background: #202020;
    isolation: isolate;
    transform: translateZ(0);
}

.dg-category-card--large {
    grid-row: span 2;
    min-height: 436px;
}

.dg-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        var(--card-bg)
        center / cover no-repeat;
    opacity: 0.78;
    transform: scale(1.02);
    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
}

.dg-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.44) 48%,
            rgba(0, 0, 0, 0.82) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.44) 0%,
            rgba(0, 0, 0, 0.12) 100%
        );
}

.dg-category-card:hover::before {
    opacity: 0.92;
    transform: scale(1.08);
}

.dg-category-card__number {
    align-self: flex-start;
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dg-category-card__content {
    display: block;
    max-width: 92%;
}

.dg-category-card__title {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.dg-category-card__text {
    display: block;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.45;
}

.dg-category-card__arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #111111;
    background: var(--dg-yellow);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.dg-category-card:hover .dg-category-card__arrow {
    transform: translateX(3px);
    background: var(--dg-yellow-hover);
}

@media (min-width: 769px) and (max-height: 760px) {
    .dg-categories-head {
        margin-bottom: 20px;
    }

    .dg-categories-head h2 {
        font-size: clamp(32px, 4vw, 54px);
    }

    .dg-categories-head p {
        font-size: 15px;
        line-height: 1.5;
    }

    .dg-categories-grid {
        grid-auto-rows: minmax(150px, 1fr);
        gap: 12px;
    }

    .dg-category-card {
        min-height: 160px;
        padding: 18px;
        border-radius: 22px;
    }

    .dg-category-card--large {
        min-height: 332px;
    }

    .dg-category-card__title {
        margin-bottom: 7px;
        font-size: 21px;
    }

    .dg-category-card__text {
        font-size: 13px;
        line-height: 1.35;
    }

    .dg-category-card__arrow {
        width: 36px;
        height: 36px;
        right: 18px;
        bottom: 18px;
        font-size: 19px;
    }
}

@media (max-width: 980px) {
    .dg-categories-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dg-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dg-category-card--large {
        grid-row: span 1;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .dg-section--categories {
        align-items: flex-start;
        overflow-y: auto;
        padding-top: 92px;
        padding-bottom: 34px;
    }

    .dg-categories-head {
        margin-bottom: 22px;
    }

    .dg-categories-head h2 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .dg-categories-head p {
        font-size: 15px;
        line-height: 1.5;
    }

    .dg-categories-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 12px;
    }

    .dg-category-card,
    .dg-category-card--large {
        min-height: 178px;
        padding: 18px;
        border-radius: 22px;
    }

    .dg-category-card__title {
        max-width: calc(100% - 46px);
        font-size: 22px;
    }

    .dg-category-card__text {
        max-width: calc(100% - 42px);
        font-size: 13px;
    }

    .dg-category-card__arrow {
        width: 36px;
        height: 36px;
        right: 18px;
        bottom: 18px;
        font-size: 18px;
    }
}

@media (max-width: 390px), (max-height: 700px) {
    .dg-section--categories {
        padding-top: 76px;
        padding-bottom: 28px;
    }

    .dg-categories-head h2 {
        font-size: 30px;
    }

    .dg-categories-head p {
        font-size: 13px;
    }

    .dg-category-card,
    .dg-category-card--large {
        min-height: 148px;
        padding: 16px;
    }

    .dg-category-card__number {
        padding: 5px 8px;
        font-size: 10px;
    }

    .dg-category-card__title {
        margin-bottom: 6px;
        font-size: 19px;
    }

    .dg-category-card__text {
        font-size: 12px;
        line-height: 1.32;
    }
}
/* MOBILE FIX: CATEGORIES SECTION HEIGHT */

@media (max-width: 768px) {
    #solutions.dg-section--categories {
        height: auto !important;
        min-height: var(--dg-screen-height);
        overflow: visible !important;
        padding-top: 92px;
        padding-bottom: 48px;
    }

    #solutions.dg-section--categories .dg-container {
        height: auto;
    }

    #solutions .dg-categories-grid {
        padding-bottom: 10px;
    }
}

@media (max-width: 390px), (max-height: 700px) {
    #solutions.dg-section--categories {
        height: auto !important;
        min-height: var(--dg-screen-height);
        padding-top: 76px;
        padding-bottom: 42px;
    }
}
/* MOBILE NORMAL SCROLL OVERRIDES */

@media (max-width: 768px) {
    html {
        scroll-snap-type: none !important;
        overscroll-behavior: auto;
    }

    body,
    .doglass-home {
        overscroll-behavior: auto;
    }

    .dg-hero-video {
        display: block;
    }

    .dg-hero-poster {
        display: none;
    }

    .dg-screen,
    .dg-section {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        scroll-snap-align: none !important;
    }

    .dg-hero {
        height: var(--dg-screen-height) !important;
        min-height: var(--dg-screen-height) !important;
        overflow: hidden !important;
    }

    .dg-section {
        display: flex;
        align-items: center;
        padding-top: 92px;
        padding-bottom: 92px;
    }

    #solutions.dg-section--categories {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        padding-top: 92px;
        padding-bottom: 48px;
    }

    #solutions .dg-categories-grid {
        padding-bottom: 10px;
    }
}

@media (max-width: 560px) {
    .dg-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    #solutions.dg-section--categories {
        padding-top: 76px;
        padding-bottom: 42px;
    }
}
/* DESKTOP ONLY: BIGGER PRODUCT CATEGORY CARDS */

@media (min-width: 981px) {
    .dg-categories-head {
        margin-bottom: clamp(30px, 4.6vh, 46px);
    }

    .dg-categories-grid {
        grid-auto-rows: minmax(230px, 1fr);
        gap: 20px;
    }

    .dg-category-card {
        min-height: 250px;
        padding: 28px;
        border-radius: 32px;
    }

    .dg-category-card--large {
        min-height: 520px;
    }

    .dg-category-card__number {
        padding: 8px 12px;
        font-size: 13px;
    }

    .dg-category-card__title {
        margin-bottom: 12px;
        font-size: clamp(24px, 2.15vw, 32px);
        line-height: 1.03;
    }

    .dg-category-card__text {
        max-width: 560px;
        font-size: 15px;
        line-height: 1.5;
    }

    .dg-category-card__arrow {
        right: 28px;
        bottom: 28px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}
@media (min-width: 819px) and (max-height: 780px) {
    .dg-categories-grid {
        grid-auto-rows: minmax(190px, 1fr);
        gap: 16px;
    }

    .dg-category-card {
        min-height: 210px;
        padding: 22px;
        border-radius: 28px;
    }

    .dg-category-card--large {
        min-height: 436px;
    }

    .dg-category-card__title {
        font-size: clamp(21px, 2vw, 28px);
    }

    .dg-category-card__text {
        font-size: 14px;
    }

    .dg-category-card__arrow {
        right: 22px;
        bottom: 22px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}
/* DESKTOP SMALL HEIGHT: CATEGORIES AS EQUAL MOSAIC */

@media (min-width: 981px) and (max-height: 1000px) {
    #solutions.dg-section--categories {
        padding-top: 54px;
        padding-bottom: 42px;
    }

    #solutions .dg-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(var(--dg-screen-height) - 40px);
    }

    .dg-categories-head {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
        gap: 28px;
        margin-bottom: 18px;
    }

    .dg-categories-head h2 {
        font-size: clamp(30px, 3.4vw, 48px);
        line-height: 1;
    }

    .dg-categories-head p {
        font-size: 14px;
        line-height: 1.45;
    }

    .dg-categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(170px, 1fr);
        gap: 12px;
    }

    .dg-category-card,
    .dg-category-card--large {
        grid-row: auto;
        min-height: 170px;
        padding: 18px;
        border-radius: 24px;
    }

    .dg-category-card__number {
        padding: 5px 8px;
        font-size: 10px;
    }

    .dg-category-card__title {
        max-width: calc(100% - 44px);
        margin-bottom: 7px;
        font-size: clamp(19px, 1.8vw, 24px);
        line-height: 1.05;
    }

    .dg-category-card__text {
        max-width: calc(100% - 38px);
        font-size: 12.5px;
        line-height: 1.35;
    }

    .dg-category-card__arrow {
        right: 18px;
        bottom: 18px;
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}
/* OPEN PRICES SECTION */

.dg-price-content {
    max-width: 1180px;
}

.dg-price-content h2 {
    color: #ffffff;
}

.dg-price-content > p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.74);
}

.dg-price-note {
    max-width: 820px;
    margin-top: 26px;
    padding: 18px 22px;
    border-left: 3px solid var(--dg-yellow);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
}

.dg-price-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.dg-price-action-card {
    position: relative;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    overflow: hidden;
    border-radius: 28px;
    color: #ffffff;
    text-decoration: none;
    background:
        radial-gradient(circle at 92% 8%, rgba(249, 176, 0, 0.20), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.dg-price-action-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 176, 0, 0.46);
}

.dg-price-action-card__num {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--dg-yellow);
    color: #111111;
    font-size: 13px;
    font-weight: 900;
}

.dg-price-action-card__title {
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.dg-price-action-card__text {
    display: block;
    max-width: 360px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.5;
}

.dg-price-action-card__link {
    display: inline-flex;
    color: var(--dg-yellow);
    font-size: 14px;
    font-weight: 800;
}

@media (min-width: 981px) and (max-height: 760px) {
    .dg-price-note {
        margin-top: 18px;
        padding: 14px 18px;
        font-size: 14px;
    }

    .dg-price-actions-grid {
        margin-top: 22px;
    }

    .dg-price-action-card {
        min-height: 180px;
        padding: 20px;
        border-radius: 22px;
    }

    .dg-price-action-card__num {
        width: 34px;
        height: 34px;
        margin-bottom: 14px;
        font-size: 11px;
    }

    .dg-price-action-card__title {
        margin-bottom: 8px;
        font-size: 22px;
    }

    .dg-price-action-card__text {
        margin-bottom: 14px;
        font-size: 13px;
        line-height: 1.38;
    }
}

@media (max-width: 768px) {
    .dg-price-note {
        margin-top: 22px;
        padding: 16px 18px;
        font-size: 14px;
    }

    .dg-price-actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .dg-price-action-card {
        min-height: 190px;
        padding: 22px;
        border-radius: 22px;
    }

    .dg-price-action-card__title {
        font-size: 22px;
    }

    .dg-price-action-card__text {
        max-width: 100%;
    }
}
/* FINAL TRUST SECTION */

.dg-section--trust {
    position: relative;
    background:
        radial-gradient(circle at 14% 0%, rgba(249, 176, 0, 0.14), transparent 32%),
        radial-gradient(circle at 92% 20%, rgba(255, 255, 255, 0.06), transparent 30%),
        linear-gradient(180deg, #090909 0%, #111111 100%);
    color: #ffffff;
}

.dg-section--trust::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.08));
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.08));
}

.dg-trust-final {
    position: relative;
    z-index: 2;
    width: 100%;
}

.dg-trust-final__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: clamp(28px, 4vw, 56px);
    align-items: end;
    margin-bottom: clamp(24px, 4vh, 40px);
}

.dg-trust-final__head h2 {
    max-width: 860px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.dg-trust-final__head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.6;
}

.dg-trust-final__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dg-trust-final__card {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(22px, 2.4vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 8%, rgba(249, 176, 0, 0.13), transparent 34%),
        rgba(255, 255, 255, 0.055);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.dg-trust-final__card--accent {
    border-color: rgba(249, 176, 0, 0.28);
    background:
        radial-gradient(circle at 92% 8%, rgba(249, 176, 0, 0.22), transparent 38%),
        rgba(249, 176, 0, 0.08);
}

.dg-trust-final__num {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--dg-yellow);
    color: #111111;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.dg-trust-final__card h3 {
    max-width: 360px;
    margin: auto 0 12px;
    color: #ffffff;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.dg-trust-final__card p {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

.dg-trust-final__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    margin-top: clamp(22px, 4vh, 34px);
}

.dg-trust-final__note {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

.dg-trust-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.dg-section--trust .dg-btn--ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.dg-section--trust .dg-btn--ghost:hover {
    border-color: rgba(249, 176, 0, 0.42);
    background: rgba(249, 176, 0, 0.12);
}

@media (min-width: 981px) and (max-height: 760px) {
    .dg-trust-final__head {
        margin-bottom: 22px;
    }

    .dg-trust-final__head h2 {
        font-size: clamp(34px, 4.2vw, 58px);
    }

    .dg-trust-final__grid {
        gap: 12px;
    }

    .dg-trust-final__card {
        min-height: 210px;
        padding: 22px;
        border-radius: 24px;
    }

    .dg-trust-final__num {
        width: 34px;
        height: 34px;
        margin-bottom: 18px;
        font-size: 11px;
    }

    .dg-trust-final__card h3 {
        font-size: clamp(21px, 2vw, 27px);
    }

    .dg-trust-final__card p {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .dg-trust-final__bottom {
        margin-top: 20px;
    }
}

@media (max-width: 980px) {
    .dg-trust-final__head,
    .dg-trust-final__bottom {
        grid-template-columns: 1fr;
    }

    .dg-trust-final__grid {
        grid-template-columns: 1fr;
    }

    .dg-trust-final__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .dg-trust-final__head h2 {
        font-size: 36px;
    }

    .dg-trust-final__card {
        min-height: 0;
        padding: 22px;
        border-radius: 24px;
    }

    .dg-trust-final__card h3 {
        margin-top: 18px;
        font-size: 25px;
    }

    .dg-trust-final__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .dg-trust-final__actions .dg-btn {
        width: 100%;
    }
}
/* =========================================================
   DoGlass: mobile hero fit fix
   Первый блок главной на мобильной — строго под экран
   ========================================================= */

@media (max-width: 768px) {
    .dg-hero {
        height: var(--dg-mobile-hero-height, var(--dg-screen-height, 100vh)) !important;
        min-height: var(--dg-mobile-hero-height, var(--dg-screen-height, 100vh)) !important;
        max-height: var(--dg-mobile-hero-height, var(--dg-screen-height, 100vh)) !important;
        overflow: hidden !important;
    }

    .dg-hero__video,
    .dg-hero-video,
    .dg-hero-poster,
    .dg-hero__overlay {
        height: 100% !important;
        min-height: 100% !important;
    }

    .dg-hero__content {
        min-height: 100%;
        display: flex;
        align-items: center;
        padding-top: clamp(96px, 15vh, 126px) !important;
        padding-bottom: clamp(32px, 6vh, 48px) !important;
    }

    .dg-hero__content .dg-container {
        width: min(100% - 24px, 1440px);
    }

    .dg-scroll-hint {
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
    }
}

@media (max-width: 390px), (max-height: 700px) {
    .dg-hero__content {
        padding-top: 92px !important;
        padding-bottom: 30px !important;
    }

    .dg-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(30px, 8.8vw, 37px);
        line-height: 0.98;
    }

    .dg-hero__text {
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.42;
    }

    .dg-hero .dg-btn {
        min-height: 46px;
        font-size: 14px;
    }

    .dg-scroll-hint {
        display: none;
    }
}
/* =========================================================
   DoGlass: home hero header safe zone
   Фикс перекрытия первого экрана фиксированной шапкой
   ========================================================= */

:root {
    --dg-home-header-safe-top: 96px;
    --dg-home-header-safe-bottom: 34px;
}

body.admin-bar {
    --dg-home-header-safe-top: 128px;
}

.dg-hero {
    box-sizing: border-box;
    overflow: hidden;
}

.dg-hero__content {
    box-sizing: border-box;
    padding-top: var(--dg-home-header-safe-top) !important;
    padding-bottom: var(--dg-home-header-safe-bottom) !important;
}

/* Если в первом экране есть фото/видео, немного опускаем композицию,
   чтобы шапка не съедала важную верхнюю часть кадра */
.dg-hero__video,
.dg-hero-video,
.dg-hero-poster {
    object-position: center center !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
    :root {
        --dg-home-header-safe-top: 84px;
        --dg-home-header-safe-bottom: 28px;
    }

    body.admin-bar {
        --dg-home-header-safe-top: 124px;
    }

    .dg-hero {
        height: var(--dg-mobile-hero-height, var(--dg-screen-height, 100vh)) !important;
        min-height: var(--dg-mobile-hero-height, var(--dg-screen-height, 100vh)) !important;
        max-height: var(--dg-mobile-hero-height, var(--dg-screen-height, 100vh)) !important;
    }

    .dg-hero__content {
        min-height: 100%;
        display: flex;
        align-items: center;
        padding-top: var(--dg-home-header-safe-top) !important;
        padding-bottom: var(--dg-home-header-safe-bottom) !important;
    }
}

@media (max-width: 560px) {
    :root {
        --dg-home-header-safe-top: 78px;
        --dg-home-header-safe-bottom: 22px;
    }

    .dg-hero__content .dg-container {
        width: min(100% - 24px, 1440px);
    }
}

@media (max-width: 390px), (max-height: 700px) {
    :root {
        --dg-home-header-safe-top: 72px;
        --dg-home-header-safe-bottom: 18px;
    }

    .dg-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(30px, 8.8vw, 37px);
        line-height: 0.98;
    }

    .dg-hero__text {
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.42;
    }

    .dg-hero .dg-btn {
        min-height: 46px;
        font-size: 14px;
    }

    .dg-scroll-hint {
        display: none;
    }
}
/* =========================================================
   DoGlass: category cards border
   Второй блок главной — отделяем кнопки от фона на ПК и мобильной
   ========================================================= */

#solutions .dg-category-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(249, 176, 0, 0.38),
        inset 1px 0 0 rgba(249, 176, 0, 0.20),
        inset -1px 0 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(255, 255, 255, 0.14),
        0 18px 44px rgba(0, 0, 0, 0.22);
}

#solutions .dg-category-card::after {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.48) 48%,
            rgba(0, 0, 0, 0.86) 100%
        ),
        linear-gradient(
            135deg,
            rgba(249, 176, 0, 0.12) 0%,
            rgba(255, 255, 255, 0.035) 42%,
            rgba(120, 120, 120, 0.10) 100%
        );
}

#solutions .dg-category-card__number {
    border: 1px solid rgba(249, 176, 0, 0.24);
    background: rgba(17, 17, 17, 0.34);
}

#solutions .dg-category-card__arrow {
    box-shadow:
        0 0 0 1px rgba(249, 176, 0, 0.24),
        0 10px 24px rgba(0, 0, 0, 0.24);
}

/* ПК: чуть дороже и мягче, с аккуратным усилением на hover */
@media (min-width: 769px) {
    #solutions .dg-category-card {
        box-shadow:
            inset 0 1px 0 rgba(249, 176, 0, 0.32),
            inset 1px 0 0 rgba(249, 176, 0, 0.16),
            inset -1px 0 0 rgba(255, 255, 255, 0.10),
            inset 0 -1px 0 rgba(255, 255, 255, 0.12),
            0 20px 48px rgba(0, 0, 0, 0.20);
        transition:
            transform 0.32s ease,
            border-color 0.32s ease,
            box-shadow 0.32s ease;
    }

    #solutions .dg-category-card:hover {
        border-color: rgba(249, 176, 0, 0.32);
        box-shadow:
            inset 0 1px 0 rgba(249, 176, 0, 0.48),
            inset 1px 0 0 rgba(249, 176, 0, 0.24),
            inset -1px 0 0 rgba(255, 255, 255, 0.13),
            inset 0 -1px 0 rgba(255, 255, 255, 0.16),
            0 24px 58px rgba(0, 0, 0, 0.28);
    }

    #solutions .dg-category-card:hover .dg-category-card__arrow {
        box-shadow:
            0 0 0 1px rgba(249, 176, 0, 0.34),
            0 12px 28px rgba(0, 0, 0, 0.28);
    }
}

/* Мобильная версия: рамка заметнее, чтобы карточки не сливались с фоном */
@media (max-width: 768px) {
    #solutions .dg-category-card {
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow:
            inset 0 1px 0 rgba(249, 176, 0, 0.42),
            inset 1px 0 0 rgba(249, 176, 0, 0.22),
            inset -1px 0 0 rgba(255, 255, 255, 0.13),
            inset 0 -1px 0 rgba(255, 255, 255, 0.16),
            0 14px 36px rgba(0, 0, 0, 0.24);
    }

    #solutions .dg-category-card::after {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.24) 0%,
                rgba(0, 0, 0, 0.52) 48%,
                rgba(0, 0, 0, 0.88) 100%
            ),
            linear-gradient(
                135deg,
                rgba(249, 176, 0, 0.14) 0%,
                rgba(255, 255, 255, 0.04) 42%,
                rgba(120, 120, 120, 0.10) 100%
            );
    }

    #solutions .dg-category-card__number {
        border: 1px solid rgba(249, 176, 0, 0.24);
        background: rgba(17, 17, 17, 0.34);
    }

    #solutions .dg-category-card__arrow {
        box-shadow:
            0 0 0 1px rgba(249, 176, 0, 0.28),
            0 10px 24px rgba(0, 0, 0, 0.26);
    }
}

/* Номера карточек действий на главной */
.dg-price-action-card__num {
    width: auto;
    height: auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.14em;
}

@media (min-width: 981px) and (max-height: 760px) {
    .dg-price-action-card__num {
        width: auto;
        height: auto;
        margin-bottom: 12px;
        font-size: 11px;
    }
}

/* =========================================================
   DoGlass: точечный фикс #solutions
   Убираем жёлтые круглые кнопки-стрелки с карточек на главной.
   ========================================================= */
#solutions .dg-category-card__arrow {
    display: none !important;
}

#solutions .dg-category-card__content {
    max-width: 100%;
}
