/*
Theme Name:   Matvey Universe
Theme URI:    https://bogpoh.ru
Description:  Дочерняя тема для проекта "Вселенная от Бога"
Author:       Matvey
Template:     twentytwentyfive
Version:      1.2.9
Text Domain:  matvey-universe
*/

/* ============================================
   1. БАЗОВЫЕ ПЕРЕМЕННЫЕ И ТИПОГРАФИКА
   ============================================ */
:root {
    --mu-bg:        #000011;
    --mu-text:      #e8e8f0;
    --mu-text-dim:  #9a9ab0;
    --mu-accent:    #6ec1ff;
    --mu-radius-1:  110px;
    --mu-radius-2:  160px;
    --mu-radius-3:  230px;
    --mu-radius-4:  300px;
    --mu-radius-5:  380px;
}

body {
    background-color: var(--mu-bg);
    color: var(--mu-text);
}

a {
    color: var(--mu-accent);
}
a:hover {
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--mu-text);
}

small, .wp-block-post-date, .wp-block-post-author {
    color: var(--mu-text-dim);
}

/* ============================================
   2. ЗВЁЗДНЫЙ ФОН
   ============================================ */
#mu-starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: #000011;
}

.site-content,
.wp-site-blocks {
    position: relative;
    z-index: 1;
}

/* ============================================
   3. ВИДЕО-ПРОЛОГ
   ============================================ */
#mu-intro-overlay,
.mu-intro-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999999 !important;
    background: #000 !important;
    overflow: hidden !important;
}

#mu-intro-video,
.mu-intro-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
}

#mu-intro-overlay.mu-hidden,
.mu-intro-overlay.mu-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.05) !important;
    filter: blur(8px) brightness(1.5) !important;
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.55, 0, 0.85, 0.36),
        filter 0.9s ease !important;
}

/* ============================================
   4. ПЛАНЕТЫ И ОРБИТЫ
   ============================================ */
.mu-planets {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.mu-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    animation: mu-spin linear infinite;
    transform-origin: center center;
}

.mu-orbit--1 { animation-duration: 60s; }
.mu-orbit--2 { animation-duration: 90s; animation-direction: reverse; }
.mu-orbit--3 { animation-duration: 120s; }
.mu-orbit--4 { animation-duration: 150s; animation-direction: reverse; }
.mu-orbit--5 { animation-duration: 180s; }

.mu-planet,
.mu-galaxy {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-origin: center center;
}

.mu-planet:hover,
.mu-galaxy:hover {
    transform: scale(1.1);
}

.mu-planet__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 6px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(0, 0, 0, 0.95),
        0 0 12px rgba(0, 0, 0, 0.8);
    opacity: 1;
    pointer-events: none;
    white-space: normal;
    word-break: break-word;
    z-index: 3;
    animation: mu-spin-reverse linear infinite;
    transform-origin: center center;
}

.mu-orbit--1 .mu-planet__label { animation-duration: 60s; }
.mu-orbit--2 .mu-planet__label { animation-duration: 90s; animation-direction: reverse; }
.mu-orbit--3 .mu-planet__label { animation-duration: 120s; }
.mu-orbit--4 .mu-planet__label { animation-duration: 150s; animation-direction: reverse; }
.mu-orbit--5 .mu-planet__label { animation-duration: 180s; }

@keyframes mu-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes mu-spin-reverse {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* ============================================
   5. ЦЕНТРАЛЬНЫЙ ЛОГОТИП
   ============================================ */
.mu-center-block {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.mu-center-logo {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    pointer-events: auto;
    text-decoration: none;
    transition: transform 0.4s ease;
    animation: mu-logo-pulse 4s ease-in-out infinite;
}

.mu-center-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(110, 193, 255, 0.6));
    transition: filter 0.4s ease;
}

.mu-center-logo:hover {
    transform: scale(1.08);
}

.mu-center-logo:hover img {
    filter: drop-shadow(0 0 40px rgba(110, 193, 255, 1));
}

/* ============================================
   6. НАЗВАНИЕ САЙТА
   ============================================ */
.mu-site-title {
    position: fixed;
    top: 30px;
    left: 40px;
    margin: 0;
    padding: 0;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--mu-text);
    text-transform: none;
    text-align: left;
    white-space: nowrap;
    z-index: 3;
    text-decoration: none;
    text-shadow:
        0 0 10px rgba(110, 193, 255, 0.8),
        0 0 25px rgba(110, 193, 255, 0.4);
    animation: mu-title-pulse 4s ease-in-out infinite;
}

.mu-site-title:not(.mu-site-title--link) {
    pointer-events: none;
}

.mu-site-title--link {
    pointer-events: auto;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mu-site-title--link:hover {
    color: #ffffff;
    text-shadow:
        0 0 15px rgba(110, 193, 255, 1),
        0 0 35px rgba(110, 193, 255, 0.6);
}

@keyframes mu-logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(110, 193, 255, 0.5)); }
    50%      { filter: drop-shadow(0 0 35px rgba(110, 193, 255, 0.9)); }
}

@keyframes mu-title-pulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(110, 193, 255, 0.6),
            0 0 25px rgba(110, 193, 255, 0.3);
    }
    50% {
        text-shadow:
            0 0 15px rgba(110, 193, 255, 1),
            0 0 35px rgba(110, 193, 255, 0.6);
    }
}

/* ============================================
   7. ОФОРМЛЕНИЕ ВНУТРЕННИХ СТРАНИЦ
   ============================================ */
.wp-block-template-part,
header.wp-block-template-part,
footer.wp-block-template-part,
.site-header,
.site-footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.home .wp-block-post-title,
.home .wp-block-post-content,
.home .wp-block-post-excerpt,
.home .wp-block-post-date,
.home .wp-block-post-author,
.home .wp-block-query,
.home .entry-header,
.home .entry-content,
.home .entry-footer {
    display: none !important;
}

.home h1.wp-block-heading {
    display: none !important;
}

.home .wp-block-site-title {
    display: none !important;
}

.page .wp-site-blocks,
.single .wp-site-blocks {
    background: transparent;
}

.page main,
.single main {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 120px 30px 80px;
    color: var(--mu-text);
}

.page h1,
.single h1,
.page h2,
.single h2,
.page h3,
.single h3,
.page h4,
.single h4 {
    color: var(--mu-text);
    text-shadow: 0 0 15px rgba(110, 193, 255, 0.4);
    margin-bottom: 1rem;
}

.page p,
.single p {
    color: var(--mu-text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.page main a,
.single main a {
    color: var(--mu-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(110, 193, 255, 0.4);
}

.page main a:hover,
.single main a:hover {
    border-bottom-color: var(--mu-accent);
}

.page main img,
.single main img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(110, 193, 255, 0.2);
    margin: 1.5rem 0;
}

.page main blockquote,
.single main blockquote {
    border-left: 3px solid var(--mu-accent);
    padding-left: 20px;
    margin: 1.5rem 0;
    color: var(--mu-text-dim);
    font-style: italic;
}

.page main .wp-block-button__link,
.single main .wp-block-button__link {
    background: var(--mu-accent);
    color: #000011;
    border-radius: 40px;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page main .wp-block-button__link:hover,
.single main .wp-block-button__link:hover {
    background: #ffffff;
    box-shadow: 0 0 30px rgba(110, 193, 255, 0.8);
}

.mu-back-link {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 3;
    color: var(--mu-accent);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    padding: 8px 20px;
    border: 1px solid rgba(110, 193, 255, 0.5);
    border-radius: 30px;
    background: rgba(0, 0, 17, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.mu-back-link:hover {
    background: var(--mu-accent);
    color: #000011;
    box-shadow: 0 0 25px rgba(110, 193, 255, 0.8);
}

/* ============================================
   8. ФОРМА ОБРАТНОЙ СВЯЗИ (Contact Form 7)
   ============================================ */
.mu-form-row {
    margin-bottom: 22px;
}

.mu-form-row label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--mu-text);
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(110, 193, 255, 0.3);
}

/* Все поля формы — одинаковой ширины */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="search"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    display: block;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--mu-text);
    background: transparent;
    border: 1px solid rgba(110, 193, 255, 0.45);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="search"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: var(--mu-accent);
    background: rgba(0, 0, 17, 0.25);
    box-shadow: 0 0 20px rgba(110, 193, 255, 0.5);
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(232, 232, 240, 0.5);
    font-style: italic;
}

/* Select — свой стиль стрелки */
.wpcf7 select {
    background-image: linear-gradient(45deg, transparent 50%, var(--mu-accent) 50%),
                      linear-gradient(135deg, var(--mu-accent) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% + 2px),
                         calc(100% - 15px) calc(50% + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

/* Кнопка отправки */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 40px;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: 0.05em;
    color: var(--mu-accent);
    background: rgba(0, 0, 17, 0.6);
    border: 1px solid var(--mu-accent);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    background: var(--mu-accent);
    color: #000011;
    box-shadow: 0 0 30px rgba(110, 193, 255, 0.8);
}

/* Сообщения формы */
.wpcf7-response-output {
    margin-top: 20px !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    border: 1px solid rgba(110, 193, 255, 0.4) !important;
    background: rgba(0, 0, 17, 0.6) !important;
    color: var(--mu-text) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: rgba(110, 193, 255, 0.8) !important;
    box-shadow: 0 0 20px rgba(110, 193, 255, 0.3);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    border-color: rgba(255, 100, 100, 0.6) !important;
    color: #ffb0b0 !important;
}

.wpcf7-not-valid-tip {
    color: #ffb0b0 !important;
    font-size: 0.85rem !important;
    margin-top: 6px;
    display: block;
}

.wpcf7-not-valid {
    border-color: rgba(255, 100, 100, 0.8) !important;
    box-shadow: 0 0 15px rgba(255, 100, 100, 0.3) !important;
}

.wpcf7-spinner {
    filter: invert(1);
    opacity: 0.7;
}

/* ============================================
   9. КНОПКИ СВЯЗИ (WhatsApp, Telegram, Позвонить)
   ============================================ */
.mu-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.mu-contact-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    border-radius: 40px;
    border: 1px solid rgba(110, 193, 255, 0.4);
    background: rgba(0, 0, 17, 0.5);
    color: var(--mu-text);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mu-contact-btn:hover {
    color: #ffffff;
    border-color: var(--mu-accent);
    box-shadow: 0 0 20px rgba(110, 193, 255, 0.5);
}

.mu-contact-btn--whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
    color: #25D366;
}

.mu-contact-btn--telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.5);
    color: #0088cc;
}

.mu-contact-btn--call:hover {
    border-color: var(--mu-accent);
    box-shadow: 0 0 20px rgba(110, 193, 255, 0.5);
    color: var(--mu-accent);
}

/* ============================================
   10. ПОСЛАНИЯ ВО ВСЕЛЕННУЮ
   ============================================ */
.mu-messages-panel {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 40px;
    width: 320px;
    max-width: calc(100vw - 80px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
    max-height: calc(100vh - 120px);
}

.mu-messages-panel > * {
    pointer-events: auto;
}

.mu-messages-list {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    max-height: 45vh;
    overflow: hidden;
    pointer-events: none;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.2) 10%,
        rgba(0,0,0,0.6) 30%,
        rgba(0,0,0,1) 60%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.2) 10%,
        rgba(0,0,0,0.6) 30%,
        rgba(0,0,0,1) 60%
    );
}

.mu-message {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 0;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
    text-align: left;
    transition: color 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: mu-message-appear 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mu-message-appear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.mu-message-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.mu-message-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--mu-text);
    background: rgba(0, 0, 17, 0.35);
    border: 1px solid rgba(110, 193, 255, 0.4);
    border-radius: 14px;
    outline: none;
    resize: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mu-message-form textarea:focus {
    border-color: var(--mu-accent);
    background: rgba(0, 0, 17, 0.5);
    box-shadow: 0 0 20px rgba(110, 193, 255, 0.4);
}

.mu-message-form textarea::placeholder {
    color: rgba(232, 232, 240, 0.5);
    font-style: italic;
}

.mu-message-meta {
    text-align: right;
    font-size: 0.75rem;
    color: var(--mu-text-dim);
}

.mu-message-counter {
    transition: color 0.3s ease;
}

.mu-message-counter.mu-counter-warning {
    color: #ffb96e;
}

.mu-message-counter.mu-counter-danger {
    color: #ff7e7e;
}

.mu-message-submit {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--mu-accent);
    background: rgba(0, 0, 17, 0.5);
    border: 1px solid var(--mu-accent);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(110, 193, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mu-message-submit:hover:not(:disabled) {
    background: var(--mu-accent);
    color: #000011;
    box-shadow: 0 0 25px rgba(110, 193, 255, 0.7);
}

.mu-message-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mu-message-status {
    min-height: 20px;
    font-size: 0.8rem;
    text-align: center;
    transition: opacity 0.3s ease;
}

.mu-message-status.mu-status-error {
    color: #ff9b9b;
}

.mu-message-status.mu-status-success {
    color: var(--mu-accent);
}

.mu-message-temp {
    font-family: inherit;
    word-break: break-word;
    pointer-events: none;
}

.mu-star-flight {
    position: fixed;
    border-radius: 50%;
    background: currentColor;
    box-shadow:
        0 0 12px currentColor,
        0 0 24px currentColor,
        0 0 48px currentColor;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    will-change: transform, opacity, width, height;
}

.mu-star-flight.mu-star-flying {
    transform: translate(var(--tx, 0), var(--ty, 0)) scale(0.15);
    opacity: 0;
    width: 3px;
    height: 3px;
    box-shadow:
        0 0 4px currentColor,
        0 0 8px currentColor;
}

.mu-extra-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
    margin-top: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    color: var(--mu-text);
    background: rgba(0, 0, 17, 0.4);
    border: 1px solid rgba(110, 193, 255, 0.35);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mu-extra-btn:hover {
    color: var(--mu-accent);
    border-color: var(--mu-accent);
    background: rgba(0, 0, 17, 0.6);
    box-shadow: 0 0 20px rgba(110, 193, 255, 0.4);
}

.mu-mobile-extra-buttons {
    display: none;
}

/* ============================================
   11. МОБИЛЬНАЯ ВЕРСИЯ (≤ 767px)
   ============================================ */
@media (max-width: 767px) {

    #mu-intro-video,
    .mu-intro-video {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100vh !important;
    }

    .mu-planet__label {
        font-size: 0.55rem;
        padding: 0 4px;
        letter-spacing: 0.02em;
    }

    .mu-galaxy .mu-planet__label {
        font-size: 0.65rem;
    }

    .mu-center-logo {
        width: 120px;
        height: 120px;
    }

    .mu-center-logo img {
        transform: scale(0.9);
    }

    .mu-site-title {
        top: 15px;
        left: 15px;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
    }

    .mu-back-link {
        top: 15px;
        right: 15px;
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .page main,
    .single main {
        padding: 90px 20px 60px;
    }

    :root {
        --mu-radius-1: 70px;
        --mu-radius-2: 120px;
        --mu-radius-3: 150px;
        --mu-radius-4: 180px;
        --mu-radius-5: 240px;
    }

    /* Поля формы на телефоне */
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="url"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea,
    .wpcf7 select {
        padding: 12px 14px;
        font-size: 16px; /* чтобы iOS не зумил */
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
        padding: 14px 20px;
    }

    /* Кнопки связи */
    .mu-contact-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* Послания на телефоне */
    .mu-messages-panel {
        top: auto;
        bottom: 15px;
        left: 15px;
        width: 42%;
        right: auto;
        max-width: none;
        transform: none;
        max-height: 75vh;
    }

    .mu-messages-list {
        max-height: 60vh;
        width: 100%;
        box-sizing: border-box;
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,0.05) 5%,
            rgba(0,0,0,0.3) 15%,
            rgba(0,0,0,0.8) 35%,
            rgba(0,0,0,1) 60%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,0.05) 5%,
            rgba(0,0,0,0.3) 15%,
            rgba(0,0,0,0.8) 35%,
            rgba(0,0,0,1) 60%
        );
    }

    .mu-message-form textarea {
        font-size: 0.75rem;
        padding: 8px 10px;
        min-height: 60px;
    }

    .mu-message {
        font-size: 0.7rem;
    }

    .mu-message-submit {
        font-size: 0.7rem;
        padding: 8px 10px;
    }

    .mu-message-counter {
        font-size: 0.6rem;
    }

    .mu-extra-btn {
        display: none;
    }

    .mu-mobile-extra-buttons {
        display: flex;
        position: fixed;
        bottom: 15px;
        right: 15px;
        width: 42%;
        flex-direction: column;
        gap: 8px;
        z-index: 4;
        pointer-events: auto;
    }

    .mu-mobile-extra-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 8px;
        font-size: 0.68rem;
        font-family: inherit;
        font-weight: 500;
        letter-spacing: 0.02em;
        text-align: center;
        text-decoration: none;
        color: var(--mu-text);
        background: rgba(0, 0, 17, 0.55);
        border: 1px solid rgba(110, 193, 255, 0.4);
        border-radius: 30px;
        transition: all 0.3s ease;
        text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .mu-mobile-extra-btn:hover {
        color: var(--mu-accent);
        border-color: var(--mu-accent);
        background: rgba(0, 0, 17, 0.7);
        box-shadow: 0 0 15px rgba(110, 193, 255, 0.4);
    }
}

/* ============================================
   12. КОМПЬЮТЕР (≥ 768px)
   ============================================ */
@media (min-width: 768px) {
    #mu-intro-video,
    .mu-intro-video {
        height: 100vh !important;
        width: auto !important;
    }
}