/* ============================================================
   payinbtc.me - site layer (btc2bgroup.com visual language)
   Loaded after styles.css. Class names here are new and do not
   collide with styles.css, so legacy pages keep working.
   ============================================================ */

:root {
    --navy: #0A1F44;
    --dark-navy: #0D1B2A;
    --bridge-blue: #1A3A6B;
    --orange: #F47920;
    --light-orange: #F9A825;
    --gray: #8B96A8;
    --light-bg: #F5F7FA;
    --border: rgba(10, 31, 68, 0.12);
    --success: #28A745;
    --header-h: 84px;
}

html { scroll-behavior: smooth; }
body { background: #fff; -webkit-font-smoothing: antialiased; }

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.dot { color: var(--orange); }

/* --- Header --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    box-shadow: none;
}

.site-nav {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.brand img { height: 45px; width: auto; display: block; }
.brand .brand-accent,
.footer-brand .brand-accent { color: var(--orange); }

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.menu a:hover,
.menu a.active { color: var(--orange); }

.menu .menu-cta {
    border: 2px solid var(--orange);
    color: #fff;
    padding: 10px 18px;
}

.menu .menu-cta:hover { background: var(--orange); color: #fff; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

/* --- Buttons -------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 34px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button--primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.button--primary:hover { background: var(--light-orange); border-color: var(--light-orange); color: #fff; transform: translateY(-2px); }
.button--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.button--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.button--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.button--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

.read-more {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--orange);
    transition: gap 0.3s ease, color 0.3s ease;
}

.read-more:hover { color: var(--orange); gap: 16px; }

.eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--orange);
    margin-bottom: 20px;
}

.accent-rule {
    width: 64px;
    height: 3px;
    background: var(--orange);
    border: 0;
    margin: 0 0 32px;
}

/* --- Heroes --------------------------------------------------- */
.p-hero,
.page-hero,
.article-hero,
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(244, 121, 32, 0.18) 0%, transparent 55%),
        linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
}

.p-hero::before,
.page-hero::before,
.article-hero::before,
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255, 255, 255, 0.025) 60px, rgba(255, 255, 255, 0.025) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255, 255, 255, 0.025) 60px, rgba(255, 255, 255, 0.025) 61px);
    pointer-events: none;
}

.p-hero { padding: 130px 0 120px; min-height: min(calc(92vh - var(--header-h)), 820px); display: flex; align-items: center; }
.p-hero > .wrap { width: 100%; }
.page-hero { padding: 120px 0 100px; }
.article-hero { padding: 110px 0 80px; }

.p-hero::after {
    content: '';
    position: absolute;
    right: -180px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 121, 32, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 920px; }

.p-hero h1,
.page-hero h1,
.article-hero h1 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.p-hero h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.04; margin-bottom: 32px; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 72px); line-height: 1.04; margin-bottom: 26px; }
.article-hero h1 { font-size: clamp(32px, 4.8vw, 58px); line-height: 1.08; margin-bottom: 26px; }

.hero-lead,
.page-hero p {
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.7;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-lead { margin-bottom: 44px; }

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.hero-note {
    margin-top: 28px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
}

.hero-note i { color: var(--orange); margin-right: 6px; }

/* Legacy .hero used on contact/register/integration pages keeps its layout,
   only the background follows the new look (set above). */
.hero .hero-badge { background: transparent; border: 0; padding: 0; color: var(--orange); letter-spacing: 0.22em; font-family: 'Montserrat', sans-serif; font-size: 13px; }

/* --- Sections ------------------------------------------------- */
.block { padding: 120px 0; position: relative; }
.block--gray { background: var(--light-bg); }
.block--dark { background: var(--dark-navy); color: rgba(255, 255, 255, 0.85); }
.block--dark h2, .block--dark h3, .block--dark h4 { color: #fff; }

.block-head {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
}

.block-head .label {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--orange);
    margin-bottom: 22px;
}

.block-head h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0;
}

.block-head .subtitle {
    display: block;
    margin-top: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray);
}

.block-head .intro { font-size: 18px; line-height: 1.75; color: var(--dark-navy); margin: 0; }
.block--dark .block-head .intro { color: rgba(255, 255, 255, 0.78); }

/* --- Problem cards -------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff;
    padding: 48px 40px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.card .icon { font-size: 28px; color: var(--orange); margin-bottom: 26px; display: block; }
.card h3 { font-family: 'Montserrat', sans-serif; font-size: 21px; line-height: 1.3; margin-bottom: 14px; }
.card p { color: #4a5568; font-size: 16px; line-height: 1.75; margin: 0; }
.card p + p { margin-top: 12px; }
.card .card-quote { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: 18px; margin-bottom: 14px; }
.card .card-answer { color: var(--navy); }

/* --- Steps (dark) --------------------------------------------- */
.flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    counter-reset: step;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.how-step {
    padding: 56px 36px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    counter-increment: step;
}

.flow--4 { grid-template-columns: repeat(4, 1fr); }
.how-step:first-child { padding-left: 0; }
.how-step:last-child { border-right: 0; }

.how-step .num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: var(--orange);
    margin-bottom: 24px;
}

.how-step .num::before { content: "0" counter(step); }
.how-step h3 { font-size: 22px; margin-bottom: 14px; }
.how-step p { color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 1.75; margin: 0; }

/* --- Split layout (text + panel) ------------------------------ */
.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: start;
}

.prose p { font-size: 18px; line-height: 1.8; color: var(--dark-navy); margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--navy); border-bottom: 2px solid var(--orange); text-decoration: none; }
.prose a:hover { color: var(--orange); }

.panel {
    background: #fff;
    border: 1px solid var(--border);
    padding: 40px;
}

.panel h3 { font-size: 18px; margin-bottom: 22px; }

.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare th { font-family: 'Montserrat', sans-serif; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gray); font-weight: 700; }
.compare td:first-child { color: var(--gray); padding-left: 0; }
.compare th:first-child { padding-left: 0; }
.compare td.is-btc { color: var(--navy); font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.panel-note { margin-top: 18px; font-size: 13.5px; color: var(--gray); line-height: 1.6; }

.checklist { list-style: none; margin: 28px 0 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 14px 32px; font-size: 16.5px; line-height: 1.65; }
.checklist li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome'; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--orange); }

/* --- Software logos ------------------------------------------- */
.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.software-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 190px;
    padding: 28px 20px;
    background: #fff;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--navy);
    transition: background 0.25s ease;
}

.software-tile:hover { background: var(--light-bg); }
.software-tile img { height: 72px; max-width: 200px; width: 100%; object-fit: contain; }
.software-tile .name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; }
.software-tile .badge { font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange); }

.wallet-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.wallet-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 15px;
    color: var(--navy);
}
.wallet-chip img { height: 22px; width: auto; }
.wallet-chip { transition: border-color 0.2s ease, color 0.2s ease; }
.wallet-chip:hover { border-color: var(--orange); color: var(--orange); }

.section-foot { margin-top: 48px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* --- Testimonial ---------------------------------------------- */
.quote-block {
    max-width: 900px;
    border-left: 3px solid var(--orange);
    padding: 8px 0 8px 40px;
}

.quote-block p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.55;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 24px;
}

.quote-block cite { font-style: normal; font-size: 15px; color: var(--gray); }
.quote-block cite a { color: var(--navy); border-bottom: 2px solid var(--orange); text-decoration: none; }

/* --- Pricing -------------------------------------------------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.price-card {
    position: relative;
    padding: 48px 40px;
    background: #fff;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.price-card.is-featured { box-shadow: inset 0 3px 0 var(--orange); }
.price-card .tier { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--orange); margin-bottom: 18px; }
.price-card h3 { font-size: 22px; margin-bottom: 18px; }
.price-card .amount { font-family: 'Montserrat', sans-serif; font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.price-card .approx { color: var(--gray); font-size: 15px; margin: 6px 0 22px; }
.price-card .desc { font-size: 16px; color: #4a5568; margin-bottom: 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.price-card li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 15.5px; }
.price-card li i { color: var(--orange); margin-right: 10px; width: 14px; }
.price-card .button { justify-content: center; }

.price-extra {
    margin-top: 40px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 28px 32px;
    border: 1px solid var(--border);
    background: #fff;
}

.price-extra .icon { font-size: 24px; color: var(--orange); margin-top: 3px; }
.price-extra h4 { font-size: 16px; margin-bottom: 6px; }
.price-extra p { margin: 0; color: #4a5568; font-size: 15.5px; line-height: 1.7; }
.price-extra a { color: var(--navy); border-bottom: 2px solid var(--orange); text-decoration: none; }

.fineprint { margin-top: 22px; font-size: 13.5px; color: var(--gray); }

/* --- FAQ (Q&A list) ------------------------------------------- */
.qa-list { border-top: 1px solid var(--border); }
.qa {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    padding: 34px 0;
    border-bottom: 1px solid var(--border);
}
.qa h3 { font-family: 'Montserrat', sans-serif; font-size: 19px; line-height: 1.4; margin: 0; }
.qa p { margin: 0; font-size: 16.5px; line-height: 1.75; color: #3b4658; }
.qa p strong { color: var(--navy); }

/* --- Closing CTA ---------------------------------------------- */
.closing {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 110px 0;
    text-align: center;
}

.closing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255, 255, 255, 0.025) 60px, rgba(255, 255, 255, 0.025) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255, 255, 255, 0.025) 60px, rgba(255, 255, 255, 0.025) 61px);
    pointer-events: none;
}

.closing .wrap { position: relative; z-index: 1; }
.closing h2 { color: #fff; font-family: 'Montserrat', sans-serif; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; font-weight: 800; margin-bottom: 24px; }
.closing p { color: rgba(255, 255, 255, 0.78); font-size: 18.5px; max-width: 620px; margin: 0 auto 40px; }
.closing .hero-actions { justify-content: center; }

/* --- News ----------------------------------------------------- */
.news-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.news-tabs a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 10px 18px;
    border: 1px solid var(--border);
    color: var(--navy);
    text-decoration: none;
    background: #fff;
}
.news-tabs a:hover { border-color: var(--navy); }
.news-tabs a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.news-list { border-top: 1px solid var(--border); }
.news-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}

.news-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gray);
    line-height: 1.9;
}

.news-meta .cat { color: var(--orange); display: block; }
.news-item h2, .news-item h3 { font-family: 'Montserrat', sans-serif; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; margin: 0 0 14px; }
.news-item h2 a, .news-item h3 a { color: var(--navy); text-decoration: none; }
.news-item h2 a:hover, .news-item h3 a:hover { color: var(--orange); }
.news-item p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.75; color: #3b4658; max-width: 760px; }

.news-empty { padding: 60px 0; color: var(--gray); }

.news-teaser { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.news-teaser .news-card { padding: 40px 36px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; }
.news-card h3 { font-size: 19px; line-height: 1.35; margin: 12px 0 14px; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a:hover { color: var(--orange); }
.news-card p { font-size: 15.5px; line-height: 1.7; color: #4a5568; margin: 0 0 22px; flex: 1; }

/* Article page */
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 28px; font-family: 'Montserrat', sans-serif; letter-spacing: 0.06em; }
.breadcrumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.article-hero .news-meta { color: rgba(255, 255, 255, 0.65); margin-bottom: 22px; }
.article-hero .news-meta .cat { display: inline; margin-right: 14px; }
.article-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; max-width: 760px; color: rgba(255, 255, 255, 0.82); margin: 0; }

.article-wrap { max-width: 780px; margin: 0 auto; padding: 90px 32px 40px; }
.article-figure { margin: 0 0 48px; }
.article-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--border); }

.article-body { font-size: 18px; line-height: 1.8; color: var(--dark-navy); }
.article-body p { margin: 0 0 24px; }
.article-body h2, .article-body h3 { font-family: 'Montserrat', sans-serif; color: var(--navy); line-height: 1.3; margin: 52px 0 18px; }
.article-body h2 { font-size: 28px; }
.article-body h3 { font-size: 23px; }
.article-body a { color: var(--navy); border-bottom: 2px solid var(--orange); text-decoration: none; }
.article-body a:hover { color: var(--orange); }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote { margin: 32px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--orange); color: var(--navy); font-style: italic; }
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 16px; }
.article-body th, .article-body td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; }
.article-body img { max-width: 100%; height: auto; }

.article-byline {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--gray);
}
.article-byline img { width: 44px; height: 44px; object-fit: contain; }
.article-byline strong { color: var(--navy); display: block; font-family: 'Montserrat', sans-serif; }
.article-byline a { color: var(--navy); border-bottom: 2px solid var(--orange); text-decoration: none; }

/* --- Forms (contact, register) -------------------------------- */
.form-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 64px;
    align-items: start;
}

.form-panel {
    background: #fff;
    border: 1px solid var(--border);
    padding: 48px;
}

.form-panel form { max-width: none; margin: 0; padding: 0; box-shadow: none; background: transparent; border: 0; }
.form-panel .form-section { margin: 0 0 36px; padding: 0 0 32px; border: 0; border-bottom: 1px solid var(--border); background: transparent; box-shadow: none; border-radius: 0; }
.form-panel .form-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.form-panel .form-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--orange);
    margin: 0 0 22px;
}
.form-panel .form-group { margin-bottom: 20px; }
.form-panel label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel input[type="tel"],
.form-panel select,
.form-panel textarea,
.form-panel .form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--dark-navy);
    background: #fff;
    border: 1px solid rgba(10, 31, 68, 0.22);
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.18); }
.form-panel small { color: var(--gray); font-size: 13.5px; }
.form-panel .error { color: #c0392b; font-size: 13.5px; margin-top: 6px; display: block; }
.form-panel .warning { display: block; margin-bottom: 24px; padding: 14px 18px; background: var(--light-bg); border-left: 3px solid var(--orange); color: var(--navy); }
.form-panel .package-info { margin-top: 18px; padding: 20px 22px; background: var(--light-bg); border: 0; border-radius: 0; }
.form-panel .package-info h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; }
.form-panel .package-info ul { margin: 0; padding-left: 18px; font-size: 15px; }
.form-panel .checkbox-option { display: flex; gap: 12px; align-items: flex-start; }
.form-panel .checkbox-option input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange); }
.form-panel .checkbox-option label { font-family: 'Nunito', sans-serif; font-weight: 400; font-size: 15px; margin: 0; }
.form-panel .button { margin-top: 12px; }

.form-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-steps { list-style: none; counter-reset: aside; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--border); }
.aside-steps li { counter-increment: aside; position: relative; padding: 18px 0 18px 48px; border-bottom: 1px solid var(--border); font-size: 15.5px; line-height: 1.65; color: #3b4658; }
.aside-steps li::before { content: "0" counter(aside); position: absolute; left: 0; top: 16px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; color: var(--orange); }
.aside-steps strong { color: var(--navy); }
.form-aside .checklist { margin-top: 0; }

.contact-detail { padding: 20px 0; border-top: 1px solid var(--border); }
.contact-detail:last-child { border-bottom: 1px solid var(--border); }
.contact-detail .label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gray);
    margin-bottom: 6px;
}
.contact-detail .value-text { font-size: 16px; color: var(--navy); font-weight: 600; line-height: 1.6; }
.contact-detail a { color: var(--navy); border-bottom: 2px solid var(--orange); text-decoration: none; }
.contact-detail a:hover { color: var(--orange); }

/* --- About section: logo row, summary panel, folded text ----- */
.about-logo { height: 72px; max-width: 260px; width: 100%; object-fit: contain; object-position: left center; display: block; margin-bottom: 40px; }
.about-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; margin: 0 0 24px; }

.summary-panel {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: inset 0 3px 0 var(--orange);
    padding: 36px 36px 22px;
}
.block--gray .summary-panel { background: #fff; }
.summary-panel h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--orange);
    margin: 0 0 22px;
}
.summary-panel .checklist { margin: 0; }
.summary-panel .checklist li { font-size: 15.5px; padding-bottom: 16px; }

.more-text { margin-top: 4px; }
.more-text summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy);
    padding-bottom: 4px;
    border-bottom: 2px solid var(--orange);
    margin-bottom: 20px;
}
.more-text summary::-webkit-details-marker { display: none; }
.more-text summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 10px; transition: transform 0.2s ease; }
.more-text[open] summary::after { transform: rotate(180deg); }
.more-text summary:hover { color: var(--orange); }
.card .more-text summary { margin-bottom: 14px; }
.card .prose p { font-size: 16px; line-height: 1.75; color: #4a5568; margin-bottom: 14px; }

/* --- Footer --------------------------------------------------- */
.site-footer {
    background: var(--dark-navy);
    color: var(--gray);
    padding: 70px 0 30px;
}

.site-footer a { color: var(--gray); text-decoration: none; transition: color 0.3s ease; }
.site-footer a:hover { color: var(--orange); }

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.footer-top h4 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 22px;
}

.footer-top p { font-size: 15px; line-height: 1.75; max-width: 340px; margin: 0 0 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 12px; font-size: 15px; }
.site-footer a.footer-brand,
.site-footer a.footer-brand:hover {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
}
.footer-brand img { height: 50px; width: auto; display: block; }
.footer-social { display: flex; gap: 16px; }
.footer-social svg { display: block; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

/* --- Responsive ----------------------------------------------- */
@media (max-width: 1080px) {
    .menu { gap: 22px; }
    .menu a { font-size: 12px; letter-spacing: 0.1em; }
}

@media (max-width: 960px) {
    :root { --header-h: 72px; }
    .wrap { padding: 0 24px; }

    .menu-toggle { display: block; }
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 82%;
        max-width: 340px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 96px 32px 32px;
        background: var(--dark-navy);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        z-index: 1001;
    }
    .menu.open { right: 0; }
    .menu a { display: block; font-size: 15px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #fff; }
    .menu .menu-cta { margin-top: 18px; text-align: center; border-bottom: 2px solid var(--orange); }
    .menu-toggle { position: relative; z-index: 1002; }

    .p-hero { padding: 90px 0 90px; min-height: 0; }
    .page-hero { padding: 90px 0 70px; }
    .article-hero { padding: 80px 0 60px; }

    .block { padding: 84px 0; }
    .block-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 52px; }
    .card-grid, .card-grid--2, .price-grid, .news-teaser { grid-template-columns: 1fr; }
    .software-grid { grid-template-columns: repeat(2, 1fr); }
    .software-tile { min-height: 150px; }
    .software-tile img { height: 56px; max-width: 150px; }
    .flow, .flow--4 { grid-template-columns: 1fr; border-top: 0; }
    .how-step, .how-step:first-child { padding: 36px 0; border-right: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .qa { grid-template-columns: 1fr; gap: 12px; }
    .news-item { grid-template-columns: 1fr; gap: 12px; }
    .form-layout { grid-template-columns: 1fr; gap: 48px; }
    .form-aside { position: static; }
    .summary-panel { position: static; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .button { padding: 15px 26px; font-size: 12px; }
}

@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .card, .price-card, .panel, .form-panel { padding: 34px 22px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .quote-block { padding-left: 22px; }
    .article-wrap { padding: 60px 16px 30px; }
    .compare { font-size: 14px; }
}
