/* Phone drawer and footer (content/header.mjs). Loaded after menu.css. */

/* ---------- Phone drawer: below the header, actions first, grouped rows and tiles ---------- */
.nd-drawer { top: var(--nd-drawer-top, 64px) !important; inset-inline: 0; bottom: 0; background: #000; border-top: 1px solid var(--nd-frame); }
body.admin-bar .nd-drawer { top: var(--nd-drawer-top, 110px) !important; }
.nd-drawer__inner { padding: 1rem var(--nd-pad) calc(2rem + env(safe-area-inset-bottom)); display: grid; gap: 0.6rem; }
.nd-motion .nd-drawer:not([hidden]) .nd-drawer__inner { animation: nd-mm-in 0.22s var(--nd-ease) both; }
.nd-dr__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.4rem; }
.nd-dr__actions a { padding: 0.75rem; font-size: 0.9375rem; }

.nd-dr__acc { border: 1px solid var(--nd-frame); border-radius: 14px; background: #060608; overflow: hidden; }
.nd-dr__acc summary { display: flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1rem; cursor: pointer; list-style: none; color: var(--nd-fg); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.nd-dr__acc summary::-webkit-details-marker { display: none; }
.nd-dr__acc summary em { font-style: normal; font-family: var(--wp--preset--font-family--mono); font-size: 0.6875rem; font-weight: 500; color: var(--nd-blue-soft); border: 1px solid rgba(110, 160, 255, 0.3); border-radius: 999px; padding: 0.05rem 0.45rem; }
.nd-dr__acc summary .nd-mm__chev { margin-left: auto; width: 18px; height: 18px; color: var(--nd-muted); }
.nd-dr__acc[open] summary { border-bottom: 1px solid var(--nd-frame); background: #0b0b0e; }
.nd-dr__acc[open] summary .nd-mm__chev { transform: rotate(180deg); }
.nd-dr__body { padding: 0.4rem 0.75rem 0.9rem; }
.nd-dr__group + .nd-dr__group { border-top: 1px solid var(--nd-frame); }
.nd-dr__label { margin: 0.85rem 0.25rem 0.5rem !important; font-family: var(--wp--preset--font-family--mono); font-size: 0.6875rem !important; letter-spacing: 0.12em; text-transform: uppercase; color: #71717a !important; }
.nd-dr__label span { color: var(--nd-blue-text); }
.nd-dr__rows, .nd-dr__tiles { list-style: none; margin: 0; padding: 0; }
.nd-dr__rows { display: grid; gap: 0.15rem; }
.nd-dr__row { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.25rem; border-radius: 10px; text-decoration: none !important; }
.nd-dr__row b { color: var(--nd-fg-2); font-size: 0.9375rem; font-weight: 500; }
.nd-dr__row i { margin-left: auto; font-style: normal; color: #52525b; font-size: 1.2rem; }
.nd-dr__row:active, .nd-dr__row:hover { background: #0f0f12; }
.nd-dr__row .nd-mm__ic, .nd-dr__tile .nd-mm__ic, .nd-dr__link .nd-mm__ic { width: 32px; height: 32px; border-radius: 9px; }
.nd-dr__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.nd-dr__tile { display: grid; gap: 0.55rem; padding: 0.8rem; min-height: 92px; align-content: space-between; border: 1px solid var(--nd-frame); border-radius: 12px; background: #0a0a0c; text-decoration: none !important; }
.nd-dr__tile b { color: var(--nd-fg); font-size: 0.875rem; font-weight: 500; line-height: 1.3; }
.nd-dr__tile:active, .nd-dr__tile:hover { border-color: rgba(110, 160, 255, 0.4); }
.nd-dr__all { display: inline-block; margin: 0.9rem 0.25rem 0; color: var(--nd-blue-text) !important; font-size: 0.875rem; font-weight: 500; text-decoration: none !important; }
.nd-dr__link { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border: 1px solid var(--nd-frame); border-radius: 14px; background: #060608; color: var(--nd-fg) !important; font-size: 1.0625rem; font-weight: 600; text-decoration: none !important; }
.nd-dr__link i { margin-left: auto; font-style: normal; color: #52525b; font-size: 1.3rem; }
.nd-dr__foot { margin: 1rem 0 0 !important; text-align: center; font-size: 0.8125rem !important; color: #71717a !important; }

/* ---------- Footer ---------- */
.nd-footer { border-top: 1px solid var(--nd-frame); padding: 0 !important; background: #000; }
.nd-footer .nd-footer__frame { padding-block: 0 !important; }
.nd-ft__logo { padding-top: 2.25rem; margin: 0 !important; }
.nd-ft { container-type: inline-size; margin-inline: calc(-1 * var(--nd-pad)) !important; }
.nd-ft a { text-decoration: none !important; }
.nd-ft__cta { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 3rem; flex-wrap: wrap; padding: 1rem var(--nd-pad) 2rem; border-bottom: 1px solid var(--nd-frame); }
.nd-ft__kicker { margin: 0 0 0.6rem !important; font-family: var(--wp--preset--font-family--mono); font-size: 0.6875rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nd-blue-text) !important; }
.nd-ft__big { margin: 0 !important; max-width: 20ch; font-size: clamp(1.75rem, 3.6vw, 2.75rem) !important; font-weight: 600; line-height: 1.08 !important; letter-spacing: -0.035em; background: linear-gradient(180deg, #fff 30%, #a1a1aa); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }
.nd-ft__sub { margin: 0 !important; max-width: 52ch; font-size: 0.9375rem !important; }
.nd-ft__btns { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.nd-ft__btns a { padding: 0.7rem 1.15rem; font-size: 0.9375rem; }

.nd-ft__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--nd-frame); }
.nd-ft__cell { padding: 1.75rem var(--nd-pad-cell, 1.5rem) 2rem; box-shadow: 1px 0 0 var(--nd-frame); }
.nd-ft__cell:last-child { box-shadow: none; }
.nd-ft__h { margin: 0 0 1rem !important; color: var(--nd-fg) !important; font-size: 0.8125rem !important; font-weight: 600; }
.nd-ft__cell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.nd-ft__cell a { color: #8b8b95; font-size: 0.875rem; line-height: 1.35; transition: color 0.15s; }
.nd-ft__cell a:hover { color: var(--nd-fg); }

.nd-ft__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.75rem; padding: 1.2rem var(--nd-pad); border-bottom: 1px solid var(--nd-frame); }
.nd-ft__fact small { display: block; margin-bottom: 0.2rem; font-family: var(--wp--preset--font-family--mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: #71717a; }
.nd-ft__fact span { color: var(--nd-fg-2); font-size: 0.875rem; }
.nd-ft__fact--ok { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.nd-ft__fact--ok span { color: #86efac; }
.nd-ft__fact--ok .nd-ft__led { width: 8px; height: 8px; border-radius: 2px; background: #22c55e; box-shadow: 0 0 10px #22c55e; }

.nd-ft__mark {
	position: relative; overflow: hidden; padding: 1.5rem 0 0; text-align: center; white-space: nowrap; user-select: none;
	font-size: 14.4cqi; font-weight: 700; letter-spacing: -0.055em; line-height: 0.86; padding-bottom: 0.02em;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 10%, rgba(110, 160, 255, 0.08) 55%, rgba(0, 0, 0, 0) 92%);
	-webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
	border-bottom: 1px solid var(--nd-frame);
}

.nd-ft__base { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.5rem; padding: 1.1rem var(--nd-pad) 1.6rem; color: #8b8b95; font-size: 0.8125rem; }
.nd-ft__clock { font-family: var(--wp--preset--font-family--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #71717a; padding-left: 1.5rem; border-left: 1px solid var(--nd-frame); }
.nd-ft__clock b { color: var(--nd-fg); font-weight: 500; }
.nd-ft__base nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-left: auto; }
.nd-ft__base nav a { color: #a1a1aa; }
.nd-ft__base nav a:hover { color: var(--nd-fg); }

@media (max-width: 1000px) {
	.nd-ft__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nd-ft__cell { box-shadow: 1px 0 0 var(--nd-frame), 0 1px 0 var(--nd-frame); }
}
@media (max-width: 640px) {
	.nd-ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nd-ft__cell { --nd-pad-cell: 1.1rem; }
	.nd-ft__btns { width: 100%; }
	.nd-ft__btns a { flex: 1; }
	.nd-ft__fact--ok { margin-left: 0; }
	.nd-ft__clock { padding-left: 0; border-left: 0; }
	.nd-ft__base nav { margin-left: 0; }
}

/* Footer contact line (phone and email). */
.nd-ft__intro { display: grid; gap: 0.6rem; }
.nd-ft__contact { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0 !important; font-size: 0.875rem; }
.nd-ft__contact a { color: var(--nd-fg-2); text-decoration: none; font-family: var(--wp--preset--font-family--mono); letter-spacing: 0.01em; }
.nd-ft__contact a:hover { color: var(--nd-fg); }
