/* === ПЕРЕМЕННЫЕ === */
:root {
    --rt-purple: #7700ff;
    --rt-orange: #ff4f12;
    --rt-black: #101828;
    --rt-white: #ffffff;
    --rt-light-blue: #749fd6;
    --rt-lavender: #e8d2ed;
    --rt-cool-gray: #e3e8ec;
    --rt-gray: #f5f5f5;
    --rt-border: #e0e0e0;
    --rt-success: #28a745;
    --rt-danger: #dc3545;
    --rt-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --rtk-radius-xl: 20px;
    --rtk-surface-strong: rgba(119, 0, 255, 0.04);
    --rtk-border: rgba(119, 0, 255, 0.15);
    --rtk-shadow: 0 8px 20px rgba(119, 0, 255, 0.08);
}

/* === БАЗОВЫЕ СТИЛИ === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    width: 100%;
    min-width: 360px;
    position: relative;
}

body {
    background-color: var(--rt-white);
    color: var(--rt-black);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

div, section, article, header, footer, main {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hp-field {
    display: none !important;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

/* === АНИМАЦИИ === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes geo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === ШАПКА === */
.rt-header {
    background: var(--rt-white);
    border-bottom: 1px solid var(--rt-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--rt-shadow);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.rt-logo {
    height: 32px;
    max-width: 100%;
}

/* === ГЕОЛОКАЦИЯ === */
.header-geo-widget {
    position: relative;
    display: flex;
    align-items: center;
}

.header-geo-container {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(119, 0, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(119, 0, 255, 0.2);
}

.header-geo-container:hover {
    background: rgba(119, 0, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(119, 0, 255, 0.1);
}

.header-geo-container.loading {
    background: rgba(116, 159, 214, 0.1);
    border-color: rgba(116, 159, 214, 0.3);
    cursor: wait;
}

.header-geo-container.success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    cursor: default;
}

.header-geo-icon {
    width: 14px;
    height: 14px;
    fill: #7700ff;
    transition: var(--transition);
    flex-shrink: 0;
}

.header-geo-container:hover .header-geo-icon {
    fill: #ff4f12;
    transform: scale(1.1);
}

.header-geo-container.loading .header-geo-icon {
    fill: #749fd6;
    animation: geo-spin 1s linear infinite;
}

.header-geo-text {
    font-size: 11px;
    font-weight: 600;
    color: #7700ff;
    white-space: nowrap;
}

.header-geo-container.success .header-geo-text {
    color: #28a745;
}

.header-geo-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 10px;
    color: #333;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.header-geo-widget:hover .header-geo-tooltip {
    opacity: 1;
    visibility: visible;
}

/* === ОСНОВНОЙ КОНТЕНТ === */
main {
    flex: 1;
    padding: 20px 0;
    width: 100%;
}

.page-title {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rt-orange);
    width: 100%;
}

.page-title h1 {
    color: var(--rt-purple);
    font-size: 22px;
    margin-bottom: 6px;
}

.page-title p {
    font-size: 13px;
    color: #666;
    max-width: 100%;
    margin: 0 auto;
}

/* === КАРТОЧКА ТАРИФА === */
.tariff-card {
    background: var(--rt-white);
    border-radius: 8px;
    box-shadow: var(--rt-shadow);
    padding: 16px;
    margin-bottom: 20px;
    border-top: 4px solid var(--rt-orange);
    width: 100%;
}

.tariff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.tariff-name {
    font-size: 18px;
    color: var(--rt-purple);
    font-weight: bold;
}

.tariff-price {
    background: var(--rt-orange);
    color: var(--rt-white);
    padding: 4px 12px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
}

.tariff-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
    width: 100%;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 10px;
    background: var(--rt-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.feature:hover {
    border-color: var(--rt-purple);
    background: var(--rt-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(119, 0, 255, 0.1);
}

.feature i {
    color: var(--rt-orange);
    font-size: 24px;
}

.feature strong {
    font-size: 20px;
}

.feature div div {
    font-size: 15px;
}

/* === ФОРМА EISSD === */
.eissd-form-container {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.05) 0%, rgba(255, 79, 18, 0.03) 100%);
    border-radius: 16px;
    padding: 16px 12px;
    border: 2px solid var(--rt-purple);
    box-shadow: 0 5px 15px rgba(119, 0, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow-x: hidden;
}

.eissd-form-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(119, 0, 255, 0.15);
}

.eissd-step {
    display: none;
    flex: 1;
    flex-direction: column;
    animation: fadeIn 0.4s ease;
    overflow-x: hidden;
    width: 100%;
}

.eissd-step.active {
    display: flex;
}

.eissd-group {
    margin-bottom: 14px;
    position: relative;
    width: 100%;
}

.eissd-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 12px;
    color: var(--rt-black);
}

.eissd-label i {
    color: var(--rt-purple);
    margin-right: 6px;
    font-size: 12px;
}

.eissd-input,
.eissd-select,
textarea.eissd-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--rt-border);
    border-radius: 8px;
    font-size: 13px;
    transition: var(--transition);
    font-family: inherit;
    background: var(--rt-white);
    max-width: 100%;
    box-sizing: border-box;
}

.eissd-input:focus,
.eissd-select:focus,
textarea.eissd-input:focus {
    outline: none;
    border-color: var(--rt-purple);
    box-shadow: 0 0 0 2px rgba(119, 0, 255, 0.1);
}

.eissd-input::placeholder,
textarea.eissd-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.eissd-input:disabled,
.eissd-select:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Блок с комментарием */
.comment-hint {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: #adb5bd;
    line-height: 1.3;
}

.comment-hint i {
    margin-right: 4px;
    font-size: 10px;
}

/* Ошибки */
.eissd-error {
    color: var(--rt-danger);
    font-size: 11px;
    margin-top: 4px;
    display: none;
}

/* Выпадающие подсказки */
.eissd-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--rt-border);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    margin-top: 4px;
}

.eissd-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    transition: background 0.2s;
}

.eissd-suggestion-item:last-child {
    border-bottom: none;
}

.eissd-suggestion-item:hover {
    background: #f0f7ff;
    color: var(--rt-purple);
}

/* Поля с выпадающим списком */
.eissd-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.eissd-dropdown-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
}

.eissd-dropdown-btn:hover:not(:disabled) {
    background: rgba(119, 0, 255, 0.1);
}

.eissd-dropdown-btn i {
    color: var(--rt-purple);
    font-size: 12px;
    transition: transform 0.2s;
}

.eissd-dropdown-btn.active i {
    transform: rotate(180deg);
}

.eissd-dropdown-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Кнопки формы */
.eissd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--rt-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.eissd-btn:hover:not(:disabled) {
    background: #e5450a;
    transform: translateY(-1px);
}

.eissd-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.eissd-btn.secondary {
    background: #6c757d;
}

.eissd-btn.secondary:hover:not(:disabled) {
    background: #5a6268;
}

/* Кнопка отправки */
#submitBtn {
    background: linear-gradient(135deg, var(--rt-orange), #ff6a35);
}

#submitBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 79, 18, 0.3);
}

/* Блок ручной доставки */
.manual-delivery-block {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    display: none;
}

/* Почтовый индекс */
.hidden {
    display: none !important;
}

#postalCodeGroup {
    margin-top: 12px;
    padding: 12px;
    background: #f0f4ff;
    border-radius: 8px;
    border-left: 3px solid var(--rt-purple);
    animation: fadeIn 0.3s ease;
}

/* Успешное сообщение */
.eissd-success {
    text-align: center;
    padding: 30px 15px;
    display: none;
    background: #d4edda;
    border-radius: 12px;
}

.eissd-success i {
    font-size: 40px;
    color: var(--rt-success);
    margin-bottom: 15px;
}

.eissd-success h3 {
    color: #155724;
    margin-bottom: 8px;
    font-size: 16px;
}

/* === ИНДИКАТОР ШАГОВ (АДАПТИВ) === */
@media (max-width: 480px) {
    .eissd-form-container > div[style*="display: flex; justify-content: space-between; margin-bottom: 20px;"] {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        justify-content: stretch !important;
        margin-bottom: 16px !important;
    }
    
    #stepInd1, #stepInd2, #stepInd3, #stepInd4 {
        text-align: center !important;
        justify-self: stretch !important;
        padding: 5px 8px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    
    .eissd-form-container > div[style*="position: relative"] > div[style*="position: absolute"] {
        display: none !important;
    }
}

@media (max-width: 400px) {
    #stepInd1, #stepInd2, #stepInd3, #stepInd4 {
        padding: 4px 6px !important;
        font-size: 10px !important;
    }
}

/* === БЛОК ПРОВЕРКИ СТАТУСА === */
.status-check-block {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.05) 0%, rgba(255, 79, 18, 0.03) 100%);
    border-radius: 16px;
    padding: 16px 12px;
    border: 2px solid var(--rt-purple);
    display: flex;
    flex-direction: column;
}

/* === КАЛЕНДАРЬ === */
.delivery-calendar {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--rt-border);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: linear-gradient(135deg, var(--rt-gray) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--rt-border);
}

.calendar-header button {
    background: white;
    border: 1px solid var(--rt-border);
    font-size: 12px;
    cursor: pointer;
    color: var(--rt-purple);
    padding: 4px 8px;
    border-radius: 20px;
    transition: all 0.2s;
}

.calendar-header button:hover {
    background: var(--rt-purple);
    color: white;
    border-color: var(--rt-purple);
}

.calendar-month-year {
    font-weight: 700;
    font-size: 13px;
    color: var(--rt-purple);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 6px 0;
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.05), rgba(255, 79, 18, 0.02));
    font-weight: 600;
    font-size: 10px;
    color: var(--rt-purple);
    border-bottom: 1px solid var(--rt-border);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.calendar-day:hover:not(.disabled) {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(119, 0, 255, 0.15);
}

.calendar-day.disabled {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.available {
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, #fff8f0);
    color: var(--rt-orange);
    border: 1px solid rgba(255, 79, 18, 0.15);
}

.calendar-day.available::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, var(--rt-success), #34ce57);
    border-radius: 50%;
    box-shadow: 0 0 0 1px white;
}

.calendar-day.available:hover {
    background: linear-gradient(135deg, var(--rt-orange), #ff6b2c);
    color: white;
    border-color: var(--rt-orange);
}

.calendar-day.available:hover::before {
    background: white;
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--rt-purple), #9b4dff);
    color: white;
    border: none;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(119, 0, 255, 0.3);
}

.calendar-day.selected::before {
    background: white;
}

.calendar-day.selected-locked {
    background: linear-gradient(135deg, var(--rt-purple), #9b4dff);
    color: white;
    cursor: default;
    opacity: 0.8;
}

/* Блок с интервалами времени */
.time-slots {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.03), rgba(255, 79, 18, 0.02));
    border-radius: 10px;
    display: none;
    border: 1px solid rgba(119, 0, 255, 0.1);
}

.time-slots.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.time-slots.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.time-slots-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--rt-purple);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.time-slots-title::before {
    content: '⏰';
    font-size: 12px;
}

.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.time-slot {
    padding: 6px 12px;
    background: white;
    border: 2px solid var(--rt-border);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
    font-weight: 500;
    color: #495057;
}

.time-slot:hover {
    border-color: var(--rt-purple);
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.05), rgba(255, 79, 18, 0.02));
    transform: translateY(-1px);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--rt-purple), #9b4dff);
    color: white;
    border-color: var(--rt-purple);
}

.time-slot.selected::after {
    content: '✓';
    margin-left: 6px;
    font-weight: bold;
}

/* Блок с выбранным слотом */
.selected-slot-info {
    margin-top: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.1), rgba(255, 79, 18, 0.05));
    border-radius: 8px;
    border-left: 3px solid var(--rt-purple);
    display: none;
    animation: fadeInUp 0.3s ease;
}

.selected-slot-info.active {
    display: block;
}

.selected-slot-info .slot-details {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.selected-slot-info .slot-details i {
    color: var(--rt-purple);
    font-size: 14px;
}

.selected-slot-info .slot-details span {
    font-weight: 600;
    color: var(--rt-purple);
    font-size: 12px;
}

.selected-slot-info .slot-details .selected-date {
    color: var(--rt-black);
    font-weight: normal;
}

.selected-slot-info .change-slot-btn {
    margin-top: 6px;
    font-size: 11px;
    color: var(--rt-orange);
    cursor: pointer;
    text-decoration: underline;
}

.selected-slot-info .change-slot-btn:hover {
    color: var(--rt-purple);
}

/* === КАРТОЧКА ВЫБОРА КОЛИЧЕСТВА SIM-КАРТ === */
.rtk-card {
    position: relative;
    padding: 14px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--rtk-surface-strong) 0%, rgba(255, 255, 255, 0.68) 100%);
    border: 1px solid var(--rtk-border);
    box-shadow: var(--rtk-shadow);
    backdrop-filter: blur(16px);
    margin: 12px 0;
    transition: all 0.3s ease;
}

.rtk-card:hover {
    border-color: var(--rt-purple);
    box-shadow: 0 8px 20px rgba(119, 0, 255, 0.12);
    transform: translateY(-2px);
}

.rtk-card::after {
    content: "";
    position: absolute;
    inset: auto 12px 0 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(119, 0, 255, 0.12), rgba(255, 79, 18, 0.15));
    filter: blur(16px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.rtk-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.rtk-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--rt-white) 0%, rgba(119, 0, 255, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(119, 0, 255, 0.08);
    color: var(--rt-purple);
    transition: all 0.3s ease;
}

.rtk-card:hover .rtk-card__icon {
    transform: scale(1.02);
    color: var(--rt-orange);
}

.rtk-icon {
    width: 16px;
    height: 16px;
}

.rtk-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rt-purple);
}

.rtk-stepper-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.rtk-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--rt-white);
    border-radius: 60px;
    padding: 3px;
    border: 1px solid var(--rt-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.rtk-stepper__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--rt-purple), #9b4dff);
    color: var(--rt-white);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rtk-stepper__btn:hover:not(:disabled) {
    background: var(--rt-orange);
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(255, 79, 18, 0.3);
}

.rtk-stepper__btn:active:not(:disabled) {
    transform: scale(0.95);
}

.rtk-stepper__btn:disabled {
    background: var(--rt-cool-gray);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.rtk-stepper__btn:disabled:hover {
    background: var(--rt-cool-gray);
    transform: none;
    box-shadow: none;
}

.rtk-stepper__value {
    min-width: 42px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--rt-purple);
    line-height: 1;
    padding: 0 4px;
}

.rtk-inline-text {
    margin: 0;
    font-size: 11px;
    color: var(--rt-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

/* === БЛОК ГОСУСЛУГ === */
.gosuslugi-block {
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.05) 0%, rgba(255, 79, 18, 0.03) 100%);
    border-radius: 12px;
    padding: 16px 12px;
    margin: 20px 0;
    border: 2px solid var(--rt-purple);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(119, 0, 255, 0.08);
}

.gosuslugi-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.gosuslugi-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gosuslugi-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(90deg, var(--rt-light-blue), var(--rt-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(119, 0, 255, 0.15);
}

.gosuslugi-icon i {
    color: var(--rt-white);
    font-size: 22px;
}

.gosuslugi-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gosuslugi-title-wrapper h3 {
    color: var(--rt-purple);
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.gosuslugi-badge {
    background: var(--rt-orange);
    color: var(--rt-white);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.gosuslugi-info {
    background: var(--rt-white);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--rt-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gosuslugi-info p {
    margin: 0;
    line-height: 1.4;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.gosuslugi-info i {
    color: var(--rt-purple);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 12px;
}

.gosuslugi-instruction {
    padding: 12px;
    background: var(--rt-cool-gray);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.gosuslugi-instruction h4 {
    color: var(--rt-purple);
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.instruction-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.instruction-step {
    background: var(--rt-white);
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid var(--rt-purple);
}

.instruction-step .step-number {
    width: 22px;
    height: 22px;
    background: var(--rt-purple);
    color: var(--rt-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 11px;
    margin: 0 0 8px 0;
}

.instruction-step strong {
    color: #333;
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
}

.instruction-step p {
    margin: 0;
    color: #666;
    font-size: 11px;
    line-height: 1.3;
}

/* Ссылки на приложения */
.app-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--rt-purple);
    color: var(--rt-white);
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    transition: var(--transition);
    justify-content: center;
}

.app-link:hover {
    background: #5a00cc;
    transform: translateY(-1px);
}

.app-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.gosuslugi-note {
    margin-top: 15px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 6px;
    border: 1px solid #ffecb5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.gosuslugi-note i {
    color: #856404;
    font-size: 14px;
    flex-shrink: 0;
}

.gosuslugi-note strong {
    color: #856404;
    font-size: 11px;
}

.gosuslugi-note p {
    margin: 3px 0 0 0;
    color: #856404;
    font-size: 11px;
}

/* === СЕКЦИЯ ПОЛЕЗНАЯ ИНФОРМАЦИЯ === */
.pi {
    padding: 30px 0;
    background: var(--rt-white);
    width: 100%;
}

.pi__inner {
    width: 100%;
    margin: 0 auto;
}

.pi__title {
    text-align: center;
    color: var(--rt-purple);
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--rt-orange);
}

.pi__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.pi__grid--two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.pi-card {
    background: var(--rt-white);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid var(--rt-border);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(119, 0, 255, 0.1);
    border-color: var(--rt-purple);
}

.pi-card--wide {
    grid-column: 1 / -1;
}

.pi-card__icon {
    margin-bottom: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(119, 0, 255, 0.1) 0%, rgba(255, 79, 18, 0.05) 100%);
    border-radius: 10px;
}

.pi-card__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.pi-card__title {
    color: var(--rt-purple);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pi-card__row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.pi-card__row-label {
    color: #666;
    font-size: 14px;
    flex: 1;
    min-width: 100px;
}

.pi-card__row-dots {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--rt-border) 10%, var(--rt-border) 90%, transparent 100%);
    min-width: 15px;
}

.pi-card__row-value {
    font-weight: 600;
    font-size: 13px;
    color: var(--rt-black);
}

.pi-card__row-value--accent {
    color: var(--rt-orange);
}

.pi-card__link {
    color: var(--rt-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.pi-card__link:hover {
    color: #e5450a;
    text-decoration: underline;
}

/* === FAQ СЕКЦИЯ === */
.faq-section {
    background-color: var(--rt-gray);
    padding: 30px 0;
    margin: 30px 0;
    border-radius: 12px;
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 25px;
}

.faq-header h2 {
    color: var(--rt-purple);
    font-size: 22px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.faq-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--rt-orange);
}

.faq-header p {
    color: #666;
    font-size: 15px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-item {
    background: var(--rt-white);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: var(--rt-shadow);
    border-left: 3px solid var(--rt-purple);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--rt-white);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--rt-cool-gray);
}

.faq-question h3 {
    color: var(--rt-purple);
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    color: var(--rt-orange);
    font-size: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--rt-white);
}

.faq-answer.active {
    padding: 12px 15px;
    max-height: 1500px;
    border-top: 1px solid var(--rt-border);
    background: var(--rt-lavender);
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--rt-black);
    font-size: 12px;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 18px;
}

.faq-answer li {
    margin-bottom: 5px;
}

.faq-answer strong {
    color: var(--rt-orange);
}

.faq-answer a {
    color: var(--rt-orange);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* === МОДАЛЬНЫЕ ОКНА === */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 90%;
    width: 90%;
    position: relative;
    animation: slideDown 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

#modalOrderNumber {
    font-size: 22px;
    font-weight: bold;
    color: var(--rt-purple);
    display: block;
    margin: 12px 0;
    letter-spacing: 1px;
}

/* === ДВЕ КОЛОНКИ === */
.two-columns-wrapper {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
    align-items: stretch;
}

/* === ФУТЕР === */
.rt-footer {
    background: var(--rt-black);
    color: var(--rt-white);
    padding: 30px 0 15px;
    margin-top: 40px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
}

.footer-logo p {
    margin-top: 10px;
    color: #d0b3ff;
    font-size: 11px;
    line-height: 1.4;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.footer-links a:hover {
    color: var(--rt-white);
}

.footer-links a i {
    margin-right: 6px;
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #444;
    font-size: 10px;
    color: #999;
}

.copyright p {
    margin-bottom: 5px;
}

/* === АДАПТАЦИЯ (ОСНОВНЫЕ МЕДИАЗАПРОСЫ) === */
@media (min-width: 768px) {
    .pi__grid--two-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instruction-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .app-links {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .two-columns-wrapper {
        flex-direction: column;
    }
    
    .eissd-form-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .tariff-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-title h1 {
        font-size: 20px;
    }
    
    .tariff-name {
        font-size: 16px;
    }
    
    .tariff-price {
        font-size: 14px;
        padding: 3px 10px;
    }
    
    .faq-header h2 {
        font-size: 20px;
    }
    
    .pi__title {
        font-size: 20px;
    }
    
    .pi-card__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .pi-card__row-dots {
        display: none;
    }
}

@media (max-width: 400px) {
    .tariff-features {
        grid-template-columns: 1fr;
    }
    
    .page-title h1 {
        font-size: 18px;
    }
    
    .tariff-card {
        padding: 12px;
    }
    
    .eissd-form-container {
        padding: 12px 10px;
    }
    
    .rtk-card {
        padding: 12px 10px;
    }
    
    .app-links {
        grid-template-columns: 1fr;
    }
    
    .instruction-steps {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 13px;
    }
    
    .faq-answer.active {
        padding: 10px 12px;
    }
}

/* === ИКОНКА-ПОДСКАЗКА === */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #ffc107;
    color: #856404;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 6px;
    transition: all 0.2s;
    position: relative;
    vertical-align: middle;
}

.tooltip-icon:hover {
    background: #ffcd39;
    transform: scale(1.1);
}

.tooltip-icon i {
    font-size: 9px;
    margin: 0;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: normal;
    line-height: 1.3;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #ffecb5;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    min-width: 200px;
    white-space: normal;
    text-align: left;
}

.tooltip-icon:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.tooltip-content::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ffecb5;
}

/* === БЛОК КОНТАКТОВ (ШАГ 4) - НЕ ВЫЛЕЗАЕТ === */
#step4 {
    padding-bottom: 8px;
}

#step4 .eissd-group {
    margin-bottom: 12px;
}

#step4 .eissd-input {
    padding: 8px 10px;
    font-size: 13px;
}

/* Блок согласия */
.consent-block {
    padding: 10px !important;
    margin-bottom: 12px !important;
}

.consent-title {
    font-size: 12px !important;
    margin-bottom: 8px !important;
}

.checkbox-group {
    gap: 8px !important;
}

.checkbox-group label {
    font-size: 10px !important;
    line-height: 1.3 !important;
}

/* Кнопки в шаге 4 */
#step4 > div:last-child {
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

#step4 > div:last-child button {
    width: 100% !important;
    padding: 10px !important;
    font-size: 13px !important;
}

/* === УВЕДОМЛЕНИЯ === */
#notificationContainer {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
}

.notification {
    background: var(--rt-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(119, 0, 255, 0.15);
    margin-bottom: 8px;
    padding: 10px 15px;
    min-width: 260px;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification--show {
    transform: translateX(0);
    opacity: 1;
}

.notification__content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.notification--success .notification__content i {
    color: var(--rt-success);
}

.notification--error .notification__content i {
    color: var(--rt-orange);
}

.notification--info .notification__content i {
    color: var(--rt-purple);
}

.notification__close {
    background: none;
    border: none;
    color: var(--rt-light-blue);
    cursor: pointer;
    font-size: 12px;
    padding: 3px;
}

.notification__close:hover {
    color: var(--rt-black);
}

/* === БЛОК ЗАГРУЗКИ === */
.loading-settlements,
.search-loading {
    padding: 30px 15px;
    text-align: center;
    color: var(--rt-light-blue);
}

.loading-settlements i,
.search-loading i {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--rt-purple);
}

/* === НЕТ РЕЗУЛЬТАТОВ === */
.no-search-results {
    padding: 30px 15px;
    text-align: center;
}

.no-search-results i {
    font-size: 32px;
    color: var(--rt-purple);
    margin-bottom: 10px;
}

.search-hint {
    color: var(--rt-light-blue);
    font-size: 11px;
    margin-top: 8px;
}