/**
 * Gas Impex Core — Оптовым клиентам (тёмная тема)
 */

/* ══════════════════════════════════════════════════════════════
   ОБЩИЕ
   ══════════════════════════════════════════════════════════════ */
.gi-ws-header {
    text-align: center;
    margin-bottom: 48px;
}

.gi-ws-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gi-red);
    margin-bottom: 14px;
}

.gi-ws-title {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 6px;
}

.gi-ws-title span { color: var(--gi-blue); }

.gi-ws-subtitle {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    max-width: 680px;
    margin: 14px auto 0;
}


/* ══════════════════════════════════════════════════════════════
   БЛОК 3 — КАК МЫ РАБОТАЕМ (шаги)
   ══════════════════════════════════════════════════════════════ */
.gi-ws-steps-wrap {
    font-family: 'Onest', sans-serif;
    color: #fff;
}

.gi-ws-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.gi-ws-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 0 12px;
}

.gi-ws-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(207, 36, 22, 0.08);
    border: 1px solid rgba(207, 36, 22, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-ws-step-icon svg {
    width: 24px;
    height: 24px;
    stroke: #CF2416;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gi-ws-step-num {
    font-family: 'Geologica', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: rgba(207, 36, 22, 0.15);
    line-height: 1;
    margin-bottom: 6px;
}

.gi-ws-step-title {
    font-family: 'Geologica', sans-serif;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #fff;
    margin: 0 0 6px !important;
}

.gi-ws-step h3.gi-ws-step-title {
    font-size: 19px !important;
    margin: 0 0 6px !important;
}

.gi-ws-step-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Стрелка между шагами */
.gi-ws-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 30px;
    flex-shrink: 0;
}

.gi-ws-step-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .gi-ws-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .gi-ws-step { max-width: 100%; }
    .gi-ws-step-arrow {
        padding-top: 0;
        transform: rotate(90deg);
    }
}


/* ══════════════════════════════════════════════════════════════
   БЛОК 4 — ТРЕБОВАНИЯ К ДОКУМЕНТАЦИИ
   ══════════════════════════════════════════════════════════════ */
.gi-ws-docs-wrap {
    font-family: 'Onest', sans-serif;
    color: #fff;
}

.gi-ws-docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.gi-ws-doc-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    padding: 20px;
    transition: border-color 0.3s ease;
    position: relative;
}

.gi-ws-doc-card:hover {
    border-color: rgba(var(--gi-blue-rgb), 0.25);
}

.gi-ws-doc-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(var(--gi-blue-rgb), 0.08);
    border: 1px solid rgba(var(--gi-blue-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.gi-ws-doc-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--gi-blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gi-ws-doc-num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'Geologica', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
}

.gi-ws-doc-title {
    font-family: 'Geologica', sans-serif;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #fff;
    margin: 0 0 6px !important;
    line-height: 1.3 !important;
}

.gi-ws-doc-card h3.gi-ws-doc-title {
    font-size: 19px !important;
    margin: 0 0 6px !important;
}

.gi-ws-doc-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Предупреждение */
.gi-ws-docs-warning {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: rgba(var(--gi-red-rgb), 0.04);
    border: 1px solid rgba(var(--gi-red-rgb), 0.15);
    border-radius: 14px;
}

.gi-ws-warning-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--gi-red-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gi-ws-warning-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--gi-red);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gi-ws-warning-text {
    font-size: 13.5px;
    color: #999;
    line-height: 1.6;
}

.gi-ws-warning-text strong {
    color: var(--gi-red);
    font-weight: 600;
}

@media (max-width: 900px) {
    .gi-ws-docs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .gi-ws-docs-grid { grid-template-columns: 1fr; }
    .gi-ws-docs-warning { flex-direction: column; gap: 12px; }
}


/* ══════════════════════════════════════════════════════════════
   БЛОК 5 — КОНТАКТЫ ОПТОВОГО ОТДЕЛА
   ══════════════════════════════════════════════════════════════ */
.gi-ws-contacts-wrap {
    font-family: 'Onest', sans-serif;
    color: #fff;
}

.gi-ws-contacts-inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* Левая часть — инфо */
.gi-ws-contacts-title {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 12px;
}

.gi-ws-contacts-title span { color: var(--gi-blue); }

.gi-ws-contacts-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0 0 28px;
}

.gi-ws-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gi-ws-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    text-decoration: none !important;
    transition: border-color 0.2s ease;
}

.gi-ws-contact-item:hover {
    border-color: rgba(var(--gi-blue-rgb), 0.25);
}

.gi-ws-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--gi-blue-rgb), 0.08);
    border: 1px solid rgba(var(--gi-blue-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gi-ws-contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--gi-blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gi-ws-contact-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 2px;
}

.gi-ws-contact-value {
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* Правая часть — CTA-карточка */
.gi-ws-cta-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}

.gi-ws-cta-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-ws-cta-icon svg {
    width: 26px;
    height: 26px;
    fill: #25d366;
}

.gi-ws-cta-title {
    font-family: 'Geologica', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.gi-ws-cta-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 20px;
}

.gi-ws-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    background: #25d366 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gi-ws-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.gi-ws-cta-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}

.gi-ws-cta-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    color: #555;
}

.gi-ws-cta-schedule svg {
    width: 13px;
    height: 13px;
    stroke: #444;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .gi-ws-contacts-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* ══════════════════════════════════════════════════════════════
   БЛОК 6 — ДОКУМЕНТЫ ДЛЯ СКАЧИВАНИЯ
   ══════════════════════════════════════════════════════════════ */
.gi-ws-files {
    font-family: 'Onest', sans-serif;
    color: #fff;
}

.gi-ws-files__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.gi-ws-files__item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    transition: border-color 0.2s ease;
}

.gi-ws-files__item:hover { border-color: #2c2c2c; }

.gi-ws-files__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(var(--gi-red-rgb), 0.08);
    border: 1px solid rgba(var(--gi-red-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-ws-files__icon svg,
.gi-ws-files__btn svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gi-ws-files__icon svg { width: 20px; height: 20px; color: var(--gi-red); }

.gi-ws-files__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.gi-ws-files__name {
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.gi-ws-files__desc { font-size: 13px; line-height: 1.45; color: #a3a3a3; }

.gi-ws-files__meta {
    font-size: 12px;
    color: #9a9a9a;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gi-ws-files__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--gi-blue);
    color: #fff !important; /* !important: глобальный цвет ссылок Elementor-кита */
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.gi-ws-files__btn svg { width: 16px; height: 16px; }
.gi-ws-files__btn:hover { background: #1560b8; }

@media (max-width: 640px) {
    .gi-ws-files__item { grid-template-columns: auto 1fr; padding: 16px; }
    .gi-ws-files__meta { grid-column: 2; }
    .gi-ws-files__btn { grid-column: 1 / -1; justify-content: center; }
}


/* ══════════════════════════════════════════════════════════════
   БЛОК 7 — ЧАСТЫЕ ВОПРОСЫ (аккордеон, плавное открытие через grid-template-rows)
   ══════════════════════════════════════════════════════════════ */
.gi-ws-faq {
    --gi-faq-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gi-faq-time: 0.45s;
    font-family: 'Onest', sans-serif;
    color: #fff;
}

.gi-ws-faq__list { display: grid; gap: 10px; }

.gi-ws-faq__item {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    transition: border-color 0.25s ease;
}

.gi-ws-faq__item:hover { border-color: #2c2c2c; }
.gi-ws-faq__item.is-open { border-color: rgba(var(--gi-blue-rgb), 0.3); }

.gi-ws-faq .gi-ws-faq__h {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

/* Кит Elementor красит все button (.elementor-kit-14 button, :hover 0-2-1) — берём три класса */
.gi-ws-faq .gi-ws-faq__item .gi-ws-faq__q,
.gi-ws-faq .gi-ws-faq__item .gi-ws-faq__q:hover,
.gi-ws-faq .gi-ws-faq__item .gi-ws-faq__q:focus {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: 'Geologica', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-align: left;
    background: none;
    border-radius: 14px;
}

.gi-ws-faq .gi-ws-faq__item .gi-ws-faq__q:focus-visible {
    outline: 2px solid var(--gi-blue);
    outline-offset: 2px;
}

.gi-ws-faq__chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #5aa6f7;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--gi-faq-time) var(--gi-faq-ease);
}

.gi-ws-faq__item.is-open .gi-ws-faq__chevron { transform: rotate(180deg); }

/* Без JS ответы открыты */
.gi-ws-faq__panel { display: grid; grid-template-rows: 1fr; }
.gi-ws-faq__panel-inner { overflow: hidden; min-height: 0; }

.gi-ws-faq__a {
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.65;
    color: #c9c9c9;
}

/* С JS: свёрнуто → плавно раскрывается и так же плавно сворачивается */
.gi-ws-faq--js .gi-ws-faq__panel {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition:
        grid-template-rows var(--gi-faq-time) var(--gi-faq-ease),
        visibility 0s linear var(--gi-faq-time);
}

.gi-ws-faq--js .gi-ws-faq__item.is-open .gi-ws-faq__panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition:
        grid-template-rows var(--gi-faq-time) var(--gi-faq-ease),
        visibility 0s linear 0s;
}

.gi-ws-faq--js .gi-ws-faq__a {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform var(--gi-faq-time) var(--gi-faq-ease);
}

.gi-ws-faq--js .gi-ws-faq__item.is-open .gi-ws-faq__a {
    opacity: 1;
    transform: none;
    transition: opacity 0.35s ease 0.08s, transform var(--gi-faq-time) var(--gi-faq-ease);
}

@media (max-width: 540px) {
    .gi-ws-faq .gi-ws-faq__item .gi-ws-faq__q,
    .gi-ws-faq .gi-ws-faq__item .gi-ws-faq__q:hover,
    .gi-ws-faq .gi-ws-faq__item .gi-ws-faq__q:focus { padding: 18px; font-size: 16px; }
    .gi-ws-faq__a { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .gi-ws-faq__chevron,
    .gi-ws-faq--js .gi-ws-faq__panel,
    .gi-ws-faq--js .gi-ws-faq__item.is-open .gi-ws-faq__panel,
    .gi-ws-faq--js .gi-ws-faq__a,
    .gi-ws-faq--js .gi-ws-faq__item.is-open .gi-ws-faq__a { transition: none; }
}
