/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f2b52;
    background: #f5f7fb;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ===== APP ===== */
.app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    overflow: hidden;
}


/* ===== HEADER ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 32px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.15;
    letter-spacing: -0.3px;
    color: #0f2b52;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #c5d6f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-btn img {
    width: 22px;
    height: 22px;
}

.burger {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 4px 0;
}

.burger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #0f2b52;
    border-radius: 2px;
}


/* ===== HERO ===== */
.hero {
    padding: 28px 24px 0;
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}

.hero h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
    color: #0f2b52;
}

.hero p {
    font-size: 15px;
    line-height: 1.5;
    color: #5c6470;
}


/* ===== COMPANIES ===== */
.companies {
    padding: 32px 24px 0;
}

.companies h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.company-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.company-card:active {
    transform: scale(0.98);
}

.company-left {
    flex-shrink: 0;
    margin-right: 14px;
}

.company-logo-img {
    width: 90px;
    height: auto;
}

.company-info {
    flex: 1;
    min-width: 0;
}

.company-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.company-info p {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

/* Gazprom card */
.company-card.gazprom {
    background: linear-gradient(110deg, #0752d5, #0b60ea);
    color: #fff;
    box-shadow: 0 8px 28px rgba(7, 82, 213, 0.25);
}

/* Lukoil card */
.company-card.lukoil {
    background: #fff;
    border: 1px solid #e8ecf3;
    box-shadow: 0 6px 22px rgba(15, 43, 82, 0.06);
}

/* Arrow circle */
.arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 8px;
}

.gazprom .arrow {
    background: rgba(255, 255, 255, 0.2);
}

.lukoil .arrow {
    border: 2px solid #0752d5;
}

.arrow img {
    width: 30px;
    height: 30px;
}


/* ===== BENEFITS ===== */
.benefits {
    padding: 28px 24px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.benefit {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #e2e8f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 24px;
    height: 24px;
}

.benefit span {
    font-size: 11px;
    line-height: 1.35;
    color: #3a4455;
}

/* Dots */
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d5de;
}

.dot.active {
    background: #0752d5;
}


/* ===== ACCORDIONS ===== */
.accordions {
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion {
    border: 1px solid #e8ecf3;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    width: 100%;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.accordion-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eaf2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-icon img {
    width: 22px;
    height: 22px;
}

.accordion-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.accordion-title strong {
    font-size: 15px;
    font-weight: 700;
}

.accordion-title span {
    font-size: 13px;
    color: #5c6470;
}

.accordion-title b {
    color: #0752d5;
    font-weight: 600;
}

.accordion-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.accordion-arrow img {
    width: 18px;
    height: 18px;
}

.accordion.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 18px 18px 78px;
    font-size: 14px;
    line-height: 1.5;
    color: #5c6470;
}

.accordion.open .accordion-content {
    display: block;
}


/* ===== CHAT BANNER ===== */
.chat-banner {
    margin: 24px 24px 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(100deg, #eaf3ff, #edf5ff);
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-icon {
    flex-shrink: 0;
}

.chat-icon img {
    width: 42px;
    height: 42px;
}

.chat-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chat-text strong {
    font-size: 15px;
    font-weight: 700;
}

.chat-text span {
    font-size: 13px;
    color: #5c6470;
}

.chat-btn {
    background: linear-gradient(100deg, #0752d5, #0b60ea);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.chat-btn img {
    width: 18px;
    height: 18px;
}


/* ===== CERTIFICATES ===== */
.certificates {
    padding: 32px 24px 0;
}

.certificates h2 {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.cert {
    border: 1px solid #e8ecf3;
    border-radius: 14px;
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

.cert img {
    max-height: 48px;
    width: auto;
}

.security-note {
    text-align: center;
    font-size: 10px;
    color: #5c6470;
    margin-top: 18px;
    margin-left: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.4;
}

.lock-icon {
    width: 14px;
    height: 14px;
    margin-left: 5px;
    padding-top: -5px;
}


/* ===== FOOTER ===== */
.footer {
    padding: 32px 24px 24px;
    text-align: center;
    margin-top: -25px;
}

/* ===== FOOTER TERMS===== */
.footer-terms {
    padding: 32px 24px 24px;
    text-align: center;
    font-size: 14px;
    margin-top: -55px;
}

.footer p {
    font-size: 13px;
    color: #8b919c;
}


/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 32px;
}

.mobile-menu.open {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #0f2b52;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu nav a {
    font-size: 22px;
    font-weight: 600;
    color: #0f2b52;
}


/* ===== DESKTOP SHADOW ===== */
@media (min-width: 481px) {
    .app {
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    }
}
