﻿/* ------------------------------
   Mobile full-screen card menu (orange accent)
   Parent trigger: body.menu-open
------------------------------ */
.dtm-mobile {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.dtm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    opacity: 0;
    transition: opacity .25s ease;
}

.dtm-panel {
    position: absolute;
    inset: 0;
    background: #050505;
    color: #fff;
    transform: translateX(8%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dtm-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 159, 10, .22) 0%, rgba(255, 159, 10, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.dtm-head,
.dtm-nav,
.dtm-footer {
    position: relative;
    z-index: 1;
}

.dtm-panel .black-logo {
    display: none !important;
}

.dtm-panel .white-logo {
    display: block !important;
}

body.menu-open .dtm-mobile {
    pointer-events: auto;
}

body.menu-open .dtm-backdrop {
    opacity: 1;
}

body.menu-open .dtm-panel {
    transform: translateX(0);
    opacity: 1;
}

.dtm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 16px 12px;
    flex-shrink: 0;
}

.dtm-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.dtm-close {
    border: 1px solid rgba(255, 159, 10, .35);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(255, 159, 10, .08), 0 0 18px rgba(255, 159, 10, .12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .12s ease;
}

.dtm-close:hover {
    background: rgba(255, 159, 10, .08);
    border-color: rgba(255, 159, 10, .55);
    box-shadow: 0 0 0 1px rgba(255, 159, 10, .15), 0 0 22px rgba(255, 159, 10, .22);
    transform: translateY(-1px);
}

.dtm-close:active {
    transform: translateY(0);
}

.dtm-close i {
    font-size: 20px;
}

.dtm-nav {
    flex: 1 1 auto;
    min-height: 0;
    padding: 6px 14px 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.dtm-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dtm-item {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    overflow: hidden;
    isolation: isolate;
}

.dtm-item--featured {
    border-left: 3px solid var(--primary-colors-orange);
    background: linear-gradient(90deg, rgba(255, 159, 10, .12) 0%, rgba(255, 255, 255, .03) 42%);
    border-radius: 18px;
}

.dtm-item--link {
    border: 1px solid rgba(255, 255, 255, .08);
}

.dtm-trigger,
.dtm-direct {
    width: 100%;
    padding: 14px 14px;
    min-height: 64px;
    background: transparent;
    border: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
}

.dtm-trigger:hover,
.dtm-trigger:focus,
.dtm-direct:hover,
.dtm-direct:focus {
    color: #fff !important;
    background: rgba(255, 159, 10, .06);
}

.dtm-item-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 159, 10, .12);
    border: 1px solid rgba(255, 159, 10, .28);
    color: var(--primary-colors-orange);
}

.dtm-item-icon i {
    font-size: 22px;
}

.dtm-item-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dtm-trigger .dtm-title,
.dtm-direct .dtm-title {
    font-family: var(--medium);
    font-weight: normal;
    font-size: 17px;
    line-height: 1.3;
}

.dtm-item-subtitle {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    color: rgba(255, 255, 255, .62);
}

.dtm-chevron {
    flex: 0 0 auto;
    opacity: .9;
    transition: transform .2s ease;
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
}

.dtm-trigger[aria-expanded="true"] .dtm-chevron {
    transform: rotate(90deg);
}

.dtm-item:has(.dtm-trigger[aria-expanded="true"]) .dtm-trigger {
    padding-bottom: 18px;
    border-radius: 18px 18px 0 0;
}

.dtm-direct .dtm-chevron {
    transform: none !important;
}

.dtm-panel-body {
    padding: 16px 14px 14px;
    margin-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .22);
    border-radius: 0 0 16px 16px;
}

.dtm-item:has(.dtm-panel-body:not([hidden])) {
    border-radius: 18px;
}

.dtm-item:has(.dtm-panel-body:not([hidden])) .dtm-panel-body {
    border-radius: 0 0 16px 16px;
}

.dtm-sublist {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.dtm-sublink a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    padding: 12px 8px;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.35;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.dtm-sublink a:hover {
    color: #fff;
    background: rgba(255, 159, 10, .08);
}

.dtm-panel-body > .dtm-sv2,
.dtm-panel-body > .dtm-ai,
.dtm-panel-body > .dtm-sublist {
    margin-top: 4px;
}

.dtm-sv2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dtm-sv2-block {
    padding-top: 0;
    border-top: 0;
}

.dtm-sv2-trigger,
.dtm-ai-trigger {
    width: 100%;
    padding: 12px 12px;
    min-height: 52px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    line-height: 1.25;
    text-align: left;
    border-radius: 12px;
}

.dtm-sv2-title-link {
    color: inherit;
    text-decoration: none;
    flex: 1 1 auto;
    min-width: 0;
}

.dtm-sv2-title-link:hover,
.dtm-sv2-title-link:focus {
    color: var(--primary-colors-orange);
    text-decoration: none;
}

.dtm-sv2-trigger:hover,
.dtm-sv2-trigger:focus,
.dtm-ai-trigger:hover,
.dtm-ai-trigger:focus {
    color: #fff;
    border-color: rgba(255, 159, 10, .25);
    background: rgba(255, 159, 10, .08);
}

.dtm-sv2-trigger[aria-expanded="true"] .dtm-chevron,
.dtm-ai-trigger[aria-expanded="true"] .dtm-chevron {
    transform: rotate(180deg);
    color: var(--primary-colors-orange);
}

.dtm-sv2-body,
.dtm-ai-body {
    padding: 8px 0 4px;
}

.dtm-sv2-body .dtm-sublist,
.dtm-ai-body .dtm-sublist {
    padding-top: 4px;
}

.dtm-sv2-body .dtm-sublink a,
.dtm-ai-body .dtm-sublink a {
    padding-left: 10px;
    padding-right: 10px;
}

.dtm-ai {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dtm-ai-block {
    padding-top: 0;
    border-top: 0;
}

.dtm-footer {
    flex-shrink: 0;
    padding: 8px 14px 18px;
}

.dtm-cta-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(145deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 100%);
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px 14px;
    align-items: start;
}

.dtm-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 159, 10, .4);
    background: rgba(255, 159, 10, .14);
    color: var(--primary-colors-orange);
    grid-row: span 2;
}

.dtm-cta-icon i {
    font-size: 24px;
}

.dtm-cta-copy {
    min-width: 0;
}

.dtm-cta-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
    color: #fff;
}

.dtm-cta-sub {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .65);
}

.dtm-cta-btn {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 0;
    text-decoration: none;
    font-size: 15px;
    font-family: var(--bold);
    color: #000 !important;
    background: linear-gradient(90deg, #f0aa0e 0%, #f56916 55%, var(--primary-colors-orange) 100%);
    box-shadow: 0 8px 24px rgba(255, 159, 10, .28);
    transition: transform .15s ease, box-shadow .2s ease;
}

.dtm-cta-btn:hover {
    color: #000 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(255, 159, 10, .36);
}

.dtm-cta-btn i {
    font-size: 18px;
}
