/* ------ RESET & BASE ------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background: #1a1a1a;
    color: #eae7e0;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* ------ ЕДИНЫЙ КОНТЕЙНЕР ------ */
.app {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: hidden;
}

.serif {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

.gold {
    color: #d4a373;
}

.text-muted {
    color: #8a877f;
}

.text-light {
    color: #eae7e0;
}

/* ------ HEADER ------ */
.header {
    padding: 16px 0;
    border-bottom: 1px solid rgba(212, 163, 115, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    position: sticky;
    top: 0;
    background: rgba(26, 26, 26, 0.96);
    backdrop-filter: blur(14px);
    z-index: 100;
    width: 100%;
}

.header-left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #eae7e0;
    line-height: 1.1;
}

.logo .gold {
    color: #d4a373;
}

.logo-sub {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: #8a877f;
    text-transform: uppercase;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-phone {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #eae7e0;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 0.2s;
}

.header-phone:hover {
    color: #d4a373;
}

.header-phone small {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 300;
    color: #8a877f;
    display: block;
    text-align: right;
    letter-spacing: 0.08em;
}

.header-email {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #8a877f;
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color 0.2s;
}

.header-email:hover {
    color: #d4a373;
}

/* ------ BUTTONS ------ */
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 24px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: #d4a373;
    color: #1a1a1a;
}

.btn-primary:hover {
    background: #e0b88a;
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(212, 163, 115, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #eae7e0;
    border: 1px solid rgba(212, 163, 115, 0.2);
}

.btn-secondary:hover {
    border-color: #d4a373;
    background: rgba(212, 163, 115, 0.04);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ------ SECTIONS ------ */
.section {
    padding: 56px 0 64px;
    border-bottom: 1px solid rgba(212, 163, 115, 0.06);
    width: 100%;
    overflow-x: hidden;
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: #eae7e0;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    line-height: 1.15;
}

.section-title .gold {
    color: #d4a373;
}

.section-sub {
    font-size: 14px;
    color: #8a877f;
    max-width: 640px;
    margin-bottom: 32px;
    line-height: 1.8;
}

/* ------ GRIDS ------ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ------ CARDS ------ */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 163, 115, 0.08);
    border-radius: 6px;
    padding: 26px 24px 30px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.card:hover {
    border-color: rgba(212, 163, 115, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.card .badge {
    font-size: 9px;
    font-weight: 600;
    color: #d4a373;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(212, 163, 115, 0.15);
    padding: 2px 12px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #eae7e0;
    margin-bottom: 8px;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    padding: 4px 0 4px 26px;
    position: relative;
    font-size: 13px;
    color: #b5b0a6;
    line-height: 1.6;
}

.card ul li .icon {
    position: absolute;
    left: 0;
    top: 5px;
    color: #d4a373;
    opacity: 0.9;
}

.card .footnote {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(212, 163, 115, 0.06);
    font-size: 11px;
    color: #d4a373;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ------ TABLE ------ */
.table-wrap {
    overflow-x: auto;
    margin-top: 8px;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
    border: 1px solid rgba(212, 163, 115, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 420px;
}

.table th {
    text-align: left;
    padding: 14px 18px;
    background: rgba(212, 163, 115, 0.06);
    color: #eae7e0;
    font-weight: 500;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(212, 163, 115, 0.04);
    color: #b5b0a6;
}

.table tr:last-child td {
    border-bottom: none;
}

.table td:first-child {
    color: #eae7e0;
    font-weight: 400;
}

.table .gold {
    color: #d4a373;
    font-weight: 500;
}

/* ------ FAQ ------ */
.faq-item {
    border-bottom: 1px solid rgba(212, 163, 115, 0.06);
    padding: 18px 0;
    cursor: pointer;
    user-select: none;
    transition: padding 0.2s;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: #eae7e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-q .arrow {
    color: #d4a373;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-q .arrow.open {
    transform: rotate(180deg);
}

.faq-a {
    font-size: 14px;
    color: #8a877f;
    padding-top: 10px;
    line-height: 1.8;
    max-width: 760px;
}

.faq-a strong {
    color: #c9c7c0;
    font-weight: 500;
}

/* ------ PROCEDURE STEPS ------ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 12px;
}

.step {
    text-align: center;
    padding: 28px 16px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 163, 115, 0.06);
    border-radius: 6px;
    transition: border-color 0.2s, background 0.2s;
}

.step:hover {
    border-color: rgba(212, 163, 115, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #d4a373;
    line-height: 1;
    margin-bottom: 8px;
}

.step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: #eae7e0;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 13px;
    color: #8a877f;
    line-height: 1.5;
}

/* ------ FORM ------ */
.form-wrap {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 163, 115, 0.06);
    border-radius: 6px;
    padding: 40px 44px;
    max-width: 660px;
    width: 100%;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 9px;
    font-weight: 500;
    color: #8a877f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 163, 115, 0.06);
    border-radius: 4px;
    color: #eae7e0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    transition: border-color 0.25s ease, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(212, 163, 115, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #8a877f;
    margin: 18px 0 22px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: #d4a373;
    cursor: pointer;
}

.form-check a {
    color: #d4a373;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 163, 115, 0.15);
    transition: border-color 0.2s;
}

.form-check a:hover {
    border-bottom-color: #d4a373;
}

.form-status {
    padding: 12px 18px;
    border-radius: 4px;
    margin-bottom: 18px;
    font-size: 13px;
}

.form-status.success {
    background: rgba(46, 160, 67, 0.06);
    border: 1px solid rgba(46, 160, 67, 0.08);
    color: #8fc99b;
}

.form-status.error {
    background: rgba(181, 107, 107, 0.06);
    border: 1px solid rgba(181, 107, 107, 0.06);
    color: #b56b6b;
}

/* ------ FOOTER ------ */
.footer {
    padding: 40px 0 28px;
    border-top: 1px solid rgba(212, 163, 115, 0.06);
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    font-size: 10px;
    color: #6a6760;
    letter-spacing: 0.02em;
    width: 100%;
}

.footer a {
    color: #6a6760;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #d4a373;
}

.footer .legal {
    max-width: 420px;
}

.footer .legal strong {
    color: #b5b0a6;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
}

.footer .divider {
    color: #3a3a3a;
    margin: 0 6px;
}

.footer .contact-line {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 4px;
}

.footer .contact-line a {
    font-size: 11px;
    color: #8a877f;
}

.footer .contact-line a:hover {
    color: #d4a373;
}

/* ------ SUPPORT CHAT ------ */
.chat-toggle {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(212,163,115,0.25);
    background: #d4a373;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0,0,0,.35);
    transition: transform 0.2s ease;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-panel {
    position: fixed;
    right: 22px;
    bottom: 88px;
    z-index: 199;
    width: min(370px, calc(100vw - 32px));
    height: 500px;
    display: flex;
    flex-direction: column;
    background: #202020;
    border: 1px solid rgba(212,163,115,.16);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-head {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(212,163,115,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #1a1a1a;
}

.chat-head strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
}

.chat-close {
    background: none;
    border: 0;
    color: #8a877f;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.chat-close:hover {
    color: #d4a373;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: rgba(255,255,255,0.01);
}

.chat-message {
    max-width: 85%;
    padding: 9px 12px;
    margin-bottom: 9px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.55;
    animation: messageAppear 0.3s ease;
    white-space: pre-wrap;
    word-wrap: break-word;
}

@keyframes messageAppear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.support {
    background: rgba(212,163,115,.08);
    color: #d9d5cd;
    border-bottom-left-radius: 2px;
}

.chat-message.user {
    background: #d4a373;
    color: #1a1a1a;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-compose {
    padding: 10px;
    border-top: 1px solid rgba(212,163,115,.08);
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    background: #1a1a1a;
}

.chat-compose input {
    flex: 1;
    min-width: 0;
    padding: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(212,163,115,.08);
    border-radius: 4px;
    color: #eae7e0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.chat-compose input:focus {
    outline: none;
    border-color: rgba(212,163,115,.2);
}

.chat-compose button {
    border: 0;
    background: #d4a373;
    color: #1a1a1a;
    padding: 0 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-compose button:hover {
    background: #e0b88a;
}

.chat-ident {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.chat-ident h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin-bottom: 6px;
}

.chat-ident-sub {
    color: #8a877f;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.chat-ident .form-group {
    margin-bottom: 12px;
}

.chat-ident .form-group label {
    font-size: 10px;
    color: #8a877f;
}

.chat-ident .form-group label .optional-label {
    font-weight: 300;
    color: #6a6760;
}

.chat-ident .form-group input {
    padding: 9px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,163,115,.08);
    border-radius: 4px;
    color: #eae7e0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.chat-ident .form-group input:focus {
    outline: none;
    border-color: rgba(212,163,115,.2);
}

.chat-ident .hint-text {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(212,163,115,0.04);
    border: 1px solid rgba(212,163,115,0.06);
    border-radius: 4px;
    font-size: 11px;
    color: #8a877f;
    line-height: 1.5;
}

.chat-ident .hint-text .gold {
    color: #d4a373;
}

.guest-badge {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6a6760;
    background: rgba(255,255,255,0.04);
    padding: 2px 10px;
    border-radius: 2px;
    border: 1px solid rgba(212,163,115,0.06);
}

/* ------ POPUP FORM ------ */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-form {
    background: #1e1e1e;
    border: 1px solid rgba(212, 163, 115, 0.15);
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideUp 0.4s ease;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

@keyframes popupSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: #8a877f;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    z-index: 10;
}

.popup-close:hover {
    color: #d4a373;
}

.popup-content {
    padding: 40px 36px 36px;
}

.popup-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: #eae7e0;
    margin-bottom: 8px;
    line-height: 1.2;
}

.popup-sub {
    font-size: 14px;
    color: #8a877f;
    margin-bottom: 24px;
    line-height: 1.6;
}

.popup-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 163, 115, 0.06);
    text-align: center;
    font-size: 12px;
    color: #8a877f;
}

.popup-phone {
    color: #d4a373;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    margin-top: 4px;
}

.popup-phone:hover {
    color: #e0b88a;
}

/* ------ ADMIN ------ */
.admin-page {
    min-height: 100vh;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 50px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(212,163,115,.08);
    vertical-align: top;
}

.admin-table th {
    color: #d4a373;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.admin-empty {
    color: #8a877f;
    padding: 30px 0;
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login .form-wrap {
    max-width: 420px;
}

.admin-badge {
    font-size: 10px;
    color: #8a877f;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-pagination {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-pagination button {
    padding: 6px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,163,115,0.08);
    border-radius: 4px;
    color: #eae7e0;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.admin-pagination button:hover,
.admin-pagination button.active {
    background: rgba(212,163,115,0.12);
    border-color: rgba(212,163,115,0.2);
}

.admin-pagination button.active {
    color: #d4a373;
}

.admin-pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.admin-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.admin-filters select,
.admin-filters input {
    padding: 8px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,163,115,0.08);
    border-radius: 4px;
    color: #eae7e0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.admin-filters select option {
    background: #1a1a1a;
}

.admin-filters input::placeholder {
    color: #6a6760;
}

/* ------ RESPONSIVE ------ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .app {
        padding: 0 16px;
    }
    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 0;
    }
    .header-right {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    .header-contact {
        align-items: flex-start;
        width: 100%;
    }
    .header-phone {
        font-size: 17px;
    }
    .header-phone small {
        text-align: left;
    }
    .header-email {
        font-size: 11px;
    }
    .btn {
        font-size: 9px;
        padding: 8px 18px;
    }
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .step {
        padding: 20px 12px 18px;
    }
    .step-number {
        font-size: 32px;
    }
    .step-title {
        font-size: 16px;
    }
    .step-desc {
        font-size: 12px;
    }
    .section-title {
        font-size: 28px;
    }
    .section {
        padding: 40px 0 44px;
    }
    .form-wrap {
        padding: 28px 20px;
        max-width: 100%;
    }
    .table {
        font-size: 12px;
        min-width: 300px;
    }
    .table th,
    .table td {
        padding: 10px 14px;
    }
    .footer {
        flex-direction: column;
        text-align: center;
    }
    .footer .legal {
        max-width: 100%;
    }
    .footer .contact-line {
        justify-content: center;
    }
    .card {
        padding: 20px 18px 24px;
    }
    .card ul li {
        font-size: 12px;
    }
    .popup-content {
        padding: 28px 20px 24px;
    }
    .popup-title {
        font-size: 24px;
    }
    .chat-panel {
        right: 12px;
        bottom: 76px;
        width: calc(100vw - 24px);
        height: calc(100vh - 120px);
        max-height: 500px;
    }
    .chat-toggle {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .app {
        padding: 0 12px;
    }
    .header {
        padding: 12px 0;
    }
    .header-right {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .header-contact {
        align-items: center;
    }
    .header-phone {
        text-align: center;
        font-size: 16px;
    }
    .header-phone small {
        text-align: center;
    }
    .header-email {
        text-align: center;
        font-size: 10px;
    }
    .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 9px;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .step {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
        padding: 16px 18px;
    }
    .step-number {
        font-size: 28px;
        margin-bottom: 0;
        flex-shrink: 0;
        min-width: 40px;
    }
    .step-content {
        flex: 1;
    }
    .step-title {
        font-size: 15px;
    }
    .step-desc {
        font-size: 12px;
    }
    .section-title {
        font-size: 24px;
    }
    .section {
        padding: 32px 0 36px;
    }
    .form-wrap {
        padding: 20px 14px;
    }
    .form-group input,
    .form-group textarea {
        font-size: 12px;
        padding: 9px 12px;
    }
    .faq-q {
        font-size: 16px;
    }
    .faq-a {
        font-size: 13px;
    }
    .card h3 {
        font-size: 18px;
    }
    .card {
        padding: 16px 14px 20px;
    }
    .card ul li {
        font-size: 11px;
    }
    .popup-content {
        padding: 20px 16px 20px;
    }
    .popup-title {
        font-size: 20px;
    }
    .chat-panel {
        right: 8px;
        bottom: 68px;
        width: calc(100vw - 16px);
        height: calc(100vh - 90px);
        max-height: 450px;
    }
    .chat-toggle {
        right: 12px;
        bottom: 12px;
        width: 44px;
        height: 44px;
    }
    .chat-toggle i {
        width: 18px;
        height: 18px;
    }
    .admin-filters {
        flex-direction: column;
    }
    .admin-filters select,
    .admin-filters input {
        width: 100%;
    }
}