/* support.css | v14 system */
/* Страница: Поддержка сайтов — mastweb.ru */

/* ----------------------------------------
   HERO — шапка страницы
---------------------------------------- */

.sp-hero-section {
    padding: 40px 0 48px;
    background: #ffffff;
}

.sp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
    align-items: end;
}

.sp-hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--v14-dark);
    margin-bottom: 12px;
    letter-spacing: -1px;
    text-align: left !important;
}

.sp-hero-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--v14-red);
    margin-bottom: 20px;
    text-align: left !important;
}

.sp-hero-text {
    font-size: 16px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 32px;
    text-align: left !important;
}

.sp-hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sp-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--v14-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    height: 58px;
    padding: 0 36px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
    transition: var(--v14-transition);
}

.sp-hero-btn-primary:hover {
    background: var(--v14-dark);
    transform: translateY(-2px);
}

.sp-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--v14-dark);
    font-size: 16px;
    font-weight: 600;
    height: 58px;
    padding: 0 32px;
    border-radius: 12px;
    border: 1.5px solid #e8e5e0;
    cursor: pointer;
    text-decoration: none;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: var(--v14-transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sp-hero-btn-secondary:hover {
    border-color: #ccc;
    color: var(--v14-dark);
    text-decoration: none;
}

/* ----------------------------------------
   NOTICE CARD — правая колонка Hero
---------------------------------------- */

.sp-notice-card {
    background: #F8F9FA;
    border-radius: 20px;
    border: 1px solid #edeae4;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-notice-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #fff8e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-notice-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--v14-dark);
    line-height: 1.35;
}

.sp-notice-text {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* ----------------------------------------
   PACKAGES — пакеты поддержки
---------------------------------------- */

.sp-pkg-section {
    padding: 48px 0;
    background: #F8F9FA;
}

.sp-pkg-header {
    text-align: center;
    margin-bottom: 40px;
}

.sp-pkg-header h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--v14-dark) !important;
    margin: 0 0 12px !important;
    text-align: center !important;
}

.sp-pkg-header p {
    font-size: 16px !important;
    color: #666 !important;
    margin: 0 !important;
}

.sp-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sp-pkg-card-body {
    padding: 24px 28px 28px;
}

.sp-pkg-footer {
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* ----------------------------------------
   PACKAGES — карточки (тёмные шапки)
---------------------------------------- */

.sp-pkg2-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edeae4;
    transition: var(--v14-transition);
}

.sp-pkg2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.sp-pkg2-card-top {
    padding: 28px 28px 24px;
    background: var(--v14-dark);
}

.sp-pkg2-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--v14-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.sp-pkg2-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.sp-pkg2-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.55;
}

.sp-pkg2-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-pkg2-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--v14-dark);
    line-height: 1.5;
}

.sp-pkg2-list li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='%23fdecea'/%3E%3Cpath d='M5.5 9l3 3 4.5-4.5' stroke='%23e30613' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* ----------------------------------------
   АДАПТИВ
---------------------------------------- */

@media (max-width: 991px) {
    .sp-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sp-hero-title { font-size: 32px !important; }
    .sp-hero-subtitle { font-size: 16px !important; }

    .sp-hero-btn-primary,
    .sp-hero-btn-secondary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        height: 52px;
    }

    .sp-hero-buttons { flex-direction: column; gap: 10px; }

    .sp-pkg-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ----------------------------------------
   PRICING — стоимость поддержки
---------------------------------------- */

.sp-price-section {
    padding: 48px 0;
    background: #ffffff;
}

.sp-price-header {
    text-align: center;
    margin-bottom: 32px;
}

.sp-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdecea;
    color: var(--v14-red);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.sp-price-badge svg {
    width: 14px;
    height: 14px;
    stroke: var(--v14-red);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-price-header h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--v14-dark) !important;
    margin: 0 0 12px !important;
    text-align: center !important;
}

.sp-price-header p {
    font-size: 16px !important;
    color: #666 !important;
    margin: 0 !important;
}

.sp-price-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.sp-price-tabs-inner {
    display: flex;
    background: #F8F9FA;
    border: 1px solid #edeae4;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.sp-price-tab {
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--v14-transition);
    font-family: inherit;
}

.sp-price-tab.active {
    background: #ffffff;
    color: var(--v14-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sp-price-panel {
    display: none;
}

.sp-price-panel.active {
    display: block;
}

.sp-price-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #edeae4;
    padding: 32px;
}

.sp-price-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.sp-price-card-icon {
    width: 40px;
    height: 40px;
    background: #fdecea;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-price-card-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--v14-red);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-price-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--v14-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.sp-price-card-sub {
    font-size: 14px;
    color: #666;
}

.sp-price-example {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.sp-price-example-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--v14-dark);
    margin-bottom: 14px;
}

.sp-price-example-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-price-example-list li {
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.sp-price-example-list li::before {
    content: '•';
    color: var(--v14-red);
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1.3;
}

.sp-price-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #edeae4;
    margin-bottom: 20px;
}

.sp-price-total-label {
    font-size: 15px;
    color: #555;
}

.sp-price-total-sum {
    font-size: 24px;
    font-weight: 700;
    color: var(--v14-red);
}

.sp-price-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sp-price-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: #999;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-price-note-text {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sp-price-tab { padding: 8px 20px; font-size: 14px; }
    .sp-price-card { padding: 20px; }
    .sp-price-total { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ----------------------------------------
   BENEFITS — почему это выгодно
---------------------------------------- */

.sp-ben-section {
    padding: 48px 0;
    background: #F8F9FA;
}

.sp-ben-header {
    text-align: center;
    margin-bottom: 40px;
}

.sp-ben-header h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--v14-dark) !important;
    margin: 0 0 12px !important;
    text-align: center !important;
}

.sp-ben-header p {
    font-size: 16px !important;
    color: #666 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.sp-ben-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sp-ben-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #edeae4;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--v14-transition);
}

.sp-ben-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.sp-ben-icon {
    width: 44px;
    height: 44px;
    background: #fdecea;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-ben-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--v14-red);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-ben-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--v14-dark);
    line-height: 1.3;
}

.sp-ben-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .sp-ben-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .sp-ben-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------
   CTA — финальный призыв
---------------------------------------- */

.sp-cta-section {
    padding: 48px 0;
    background: #F8F9FA;
}

.sp-cta-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #edeae4;
    padding: 56px 40px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.sp-cta-icon {
    width: 52px;
    height: 52px;
    background: #fdecea;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.sp-cta-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--v14-red);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--v14-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.sp-cta-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

.sp-cta-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.sp-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--v14-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    height: 56px;
    padding: 0 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--v14-transition);
}

.sp-cta-btn-primary:hover {
    background: var(--v14-dark);
    transform: translateY(-2px);
}

.sp-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--v14-dark);
    font-size: 16px;
    font-weight: 600;
    height: 56px;
    padding: 0 32px;
    border-radius: 50px;
    border: 1.5px solid #e8e5e0;
    cursor: pointer;
    text-decoration: none;
    transition: var(--v14-transition);
}

.sp-cta-btn-secondary:hover {
    border-color: #ccc;
    text-decoration: none;
    color: var(--v14-dark);
}

.sp-cta-hints {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sp-cta-hint {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-cta-hint::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .sp-cta-card { padding: 36px 24px; }
    .sp-cta-title { font-size: 26px; }
    .sp-cta-btn-primary,
    .sp-cta-btn-secondary { width: 100%; justify-content: center; }
    .sp-cta-btns { flex-direction: column; }
}
