/* ============================================================
   Export from Russia — redesign per Figma (Design documents page)
   Fonts: Actay Wide (headings) / Inter (body)
   ============================================================ */

@font-face {
    font-family: 'Actay Wide';
    src: url('../fonts/ActayWide-Bold.woff2') format('woff2'),
         url('../fonts/ActayWide-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #1475e4;
    --primary-hover: #0061d0;
    --dark: #252a31;
    --text: #1a1a1a;
    --text-2: #3c3c3c;
    --text-3: #575757;
    --bg-gray: #f5f5f5;
    --light: #f3f8ff;
    --radius-card: 16px;
    --font-head: 'Actay Wide', 'Arial Black', sans-serif;
    --font-body: 'Inter', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
}

h1, h2, h3, .btn, .stat-num, .step-num-text, .footer-phone, .popup-title {
    font-family: var(--font-head);
    font-weight: 700;
}

/* ---------------- Buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 60px;
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s;
}
.btn img, .btn svg { width: 24px; height: 24px; }

.btn-l { height: 68px; padding: 0 32px; font-size: 20px; line-height: 1; letter-spacing: -0.01em; }
.btn-m { height: 52px; padding: 0 24px; font-size: 15px; line-height: 1; letter-spacing: -0.01em; }
.btn-s { height: 40px; padding: 0 16px; font-size: 14px; line-height: 1; }

.btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.btn-secondary {
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }

/* ---------------- Header ---------------- */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
}
/* header geometry aligned with the main site so the logo does not jump
   when switching between the pages */
.header.container { max-width: none; padding-left: 40px; padding-right: 40px; }
.header .logo { flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.header .logo img { width: 138px; height: 34px; }

.header-nav {
    display: flex;
    gap: 24px;
    font-size: 16px;
    letter-spacing: -0.01em;
}
.header-nav a { color: var(--text); transition: color .2s; }
.header-nav a:hover { color: var(--primary); }

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

.lang {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    letter-spacing: -0.01em;
}
.lang a { color: var(--text-3); opacity: .5; transition: opacity .2s, color .2s; }
.lang a:hover { opacity: 1; }
.lang .lang-active { color: var(--primary); opacity: 1; font-weight: 500; }
.lang .lang-sep { color: var(--text-2); opacity: .3; }

.burger { display: none; width: 40px; height: 40px; padding: 8px; }
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 90;
    padding: 24px 20px;
    flex-direction: column;
}
.mobile-menu.active { display: flex; }
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-menu-head img { width: 40px; height: 40px; }
.mobile-menu-close { width: 40px; height: 40px; font-size: 32px; color: var(--text-3); opacity: .5; line-height: 1; }
.mobile-menu-nav {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-end;
    font-family: var(--font-head);
    font-size: 24px;
}
.mobile-menu-nav a { color: var(--text); }
.mobile-menu-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
}

/* ---------------- Hero ---------------- */

.hero {
    display: grid;
    grid-template-columns: 1fr 499px;
    gap: 40px;
    align-items: start;
    padding-top: 42px;
    padding-bottom: 88px;
}
.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--primary);
}
.hero-sub {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text-2);
    max-width: 640px;
}
.hero .stats {
    display: flex;
    gap: 24px;
    margin-top: 26px;
}
.stat-num {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
}
.stat-num::after {
    content: '';
    display: block;
    height: 12px;
    background: rgba(20, 117, 228, .2);
    border-radius: 2px;
    margin-top: -4px;
}
.stat-label {
    margin-top: 10px;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--text-2);
}
.hero .btn { margin-top: 26px; }
.hero-img img {
    width: 100%;
    filter: drop-shadow(0 24px 48px rgba(37, 42, 49, .18));
}

/* ---------------- Section headings ---------------- */

.section-title {
    font-size: 52px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
}
.blue-text { color: var(--primary); }

/* ---------------- Process ---------------- */

.process {
    background: var(--bg-gray);
    padding: 100px 0 120px;
}
.process .section-title { margin-bottom: 40px; }
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.steps { display: flex; flex-direction: column; gap: 16px; }
.step-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 36px;
    display: flex;
    gap: 24px;
    align-items: center;
}
.step-num {
    position: relative;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}
.step-num svg {
    display: block;
    width: 72px;
    height: 72px;
    margin: 2px;
    transition: transform .6s ease;
}
.step-num span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--primary);
}
.step-card h3 { font-size: 24px; letter-spacing: -0.02em; color: var(--text); }
.step-card p {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text-2);
}

.request-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 36px 40px;
}
.request-card h3 { font-size: 32px; letter-spacing: -0.02em; color: var(--text); }
.request-card .req-lead {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text-2);
}
.request-card ul { list-style: none; margin-top: 20px; }
.request-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--text);
    padding: 3px 0;
}
.request-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.request-card hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, .2);
    margin: 32px 0;
}
.request-card .req-contact {
    font-size: 20px;
    letter-spacing: -0.01em;
    color: var(--text-2);
}
.request-card .req-buttons {
    margin-top: 16px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* ---------------- Why (dark) ---------------- */

.why {
    background: var(--dark);
    padding: 100px 0 120px;
}
.why .section-title {
    color: #fff;
    text-align: center;
    max-width: 1040px;
    margin: 0 auto 40px;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.why-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 36px;
}
.why-card img { width: 76px; height: 76px; }
.why-card h3 {
    margin-top: 16px;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.why-card p {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-2);
}

/* ---------------- FAQ ---------------- */

.faq {
    background: var(--bg-gray);
    padding: 100px 0 120px;
}
.faq .section-title { margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 20px; }
.faq-item {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 28px 36px;
}
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.faq-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .25s;
}
.faq-icon img { width: 16px; height: 16px; }
.faq-item.open .faq-icon { background: var(--primary-hover); transform: rotate(45deg); }
.faq-a {
    display: none;
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text-2);
    max-width: 1004px;
}
.faq-item.open .faq-a { display: block; }

/* ---------------- Banner CTA ---------------- */

.banner {
    background: #fff;
    padding: 100px 0 0;
    overflow: hidden;
}
.banner-grid {
    display: grid;
    grid-template-columns: 1fr 602px;
    gap: 40px;
    align-items: start;
}
.banner h2 {
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}
.banner .banner-sub {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text-2);
    max-width: 442px;
}
.banner .btn { margin-top: 24px; }
.banner-img img {
    width: 100%;
    display: block;
}

/* ---------------- Footer ---------------- */

.footer {
    background: var(--dark);
    color: #fff;
    padding: 100px 0 0;
    overflow: hidden;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.footer-phone {
    font-size: 26px;
    letter-spacing: -0.02em;
    color: #fff;
}
.footer-mail {
    display: inline-block;
    margin-top: 16px;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: #fff;
}
.socials {
    margin-top: 24px;
    display: flex;
    gap: 24px;
}
.socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s;
}
.socials a:hover { opacity: .8; }
/* the SVGs include the 40px circle background, so the icon renders full-size */
.socials img { width: 40px; height: 40px; }
.socials a { cursor: pointer; }
.footer-bottom {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.footer-privacy,
.footer-copy {
    font-size: 14px;
    font-weight: 300;
    color: var(--light);
    opacity: .5;
}
a.footer-privacy:hover { opacity: .8; }

.footer-right { display: flex; flex-direction: column; gap: 24px; }
.footer-menu { display: flex; gap: 28px; font-size: 16px; letter-spacing: -0.01em; }
.footer-menu a { color: #fff; transition: color .2s; }
.footer-menu a:hover { color: var(--primary); }
.footer-chat { align-self: flex-end; }
.footer-copy {
    font-size: 14px;
    font-weight: 300;
    color: var(--light);
    opacity: .5;
    text-align: right;
}
.footer-wordmark {
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
    font-size: min(120px, 8.33vw);
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    padding: 86px 0 0;
    position: relative;
    bottom: -21px;
    text-align: center;
}

/* ---------------- Policy page ---------------- */

.policy { padding: 76px 0 120px; }
.policy-title {
    font-size: 52px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
}
.policy-lead {
    margin-top: 40px;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
}
.policy-body {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.policy-heading {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
}
.policy-text {
    padding-top: 10px;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text);
}
.policy-heading + .policy-text { padding-top: 20px; }
.policy-text strong { font-weight: 700; }

/* ---------------- Services page ---------------- */

.services { background: var(--light); padding: 76px 0 120px; }
.services .section-title { margin-bottom: 40px; }
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.service-body { max-width: 640px; }
.service-body h3 { font-size: 24px; letter-spacing: -0.02em; color: var(--text); }
.service-body p {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--text-2);
}
.service-body .btn { margin-top: 24px; }
.service-deco {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------- Widget ---------------- */

.widget {
    position: fixed;
    right: 0;
    bottom: 30px;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    transition: bottom .2s;
}
.widget-btn {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 35px 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, width .2s;
}
.widget-btn:hover { background: var(--primary-hover); }
.widget-btn img { width: 37px; height: 37px; transition: width .2s, height .2s; }
/* open state per mockup: pill widens to 90px, icon grows with it */
.widget.open .widget-btn { width: 90px; }
.widget.open .widget-btn img { width: 43px; height: 43px; }
.widget-panel {
    position: absolute;
    right: 78px;
    bottom: -63px;
    width: 87px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.widget.open .widget-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
/* the panel hangs 63px below the button, so the widget rises to keep it on screen */
.widget.open { bottom: 93px; }
/* arc to the left of the button: middle circle level with its center,
   outer two pulled towards the button, per mockup */
.widget-panel > :nth-child(1),
.widget-panel > :nth-child(3) { align-self: flex-end; }
.widget-panel > :nth-child(2) { align-self: flex-start; }
.widget-panel a, .widget-panel button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light);
    border: 1.8px solid rgba(20, 117, 228, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s;
}
.widget-panel a:hover, .widget-panel button:hover { transform: scale(1.08); }
.widget-panel img { width: 34px; height: 34px; }

/* ---------------- Popup form ---------------- */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(37, 42, 49, .6);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-modal {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 520px;
    max-width: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding: 40px;
}
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    font-size: 26px;
    line-height: 1;
    color: var(--text-3);
    opacity: .4;
}
.popup-close:hover { opacity: .8; }
.popup-title {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 24px;
    padding-right: 24px;
}
.popup-field {
    width: 100%;
    background: var(--bg-gray);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 0 20px;
    height: 58px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--text);
    outline: none;
    transition: border-color .2s;
}
.popup-field::placeholder { color: var(--text-3); opacity: .5; }
.popup-field:focus { border-color: var(--primary); }
.popup-field.error-input { border-color: #e5484d; }
textarea.popup-field {
    height: 120px;
    border-radius: var(--radius-card);
    padding: 16px 20px;
    resize: none;
}
/* intl-tel-input adjustments */
.iti { width: 100%; margin-bottom: 12px; }
.iti .iti__selected-flag { background: transparent !important; }
.popup-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-3);
}
.popup-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--primary);
    flex-shrink: 0;
}
.popup-checkbox a { text-decoration: underline; }
.popup-submit { width: auto; min-width: 190px; }
.popup-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.last-step { display: none; text-align: center; padding: 30px 0; }
.last-step.visible { display: block; }
.last-step h3 { font-size: 28px; letter-spacing: -0.02em; color: var(--text); }
.last-step p { margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--text-2); }

/* ---------------- Cookies ---------------- */

.cookies {
    position: fixed;
    left: 20px;
    right: 90px;
    bottom: 20px;
    z-index: 70;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: 0 12px 40px rgba(37, 42, 49, .25);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-2);
    max-width: 720px;
}
.cookies.hidden { display: none; }
.cookies .btn { margin-left: auto; flex-shrink: 0; }

/* ---------------- Adaptive: ≤1240 (960-layout) ---------------- */

@media (max-width: 1240px) {
    .container { padding: 0 40px; }
    .hero { grid-template-columns: 1fr 40%; padding-top: 20px; }
    .hero h1, .section-title, .banner h2, .policy-title { font-size: 46px; }
    .process { padding: 80px 0 100px; }
    .why { padding: 80px 0 100px; }
    .services { padding: 60px 0 100px; }
    .service-card { padding: 32px; }
    .faq { padding: 80px 0 100px; }
    .banner { padding: 80px 0 0; }
    .policy { padding: 60px 0 100px; }
    .policy-lead { margin-top: 24px; font-size: 22px; }
    .process-grid { grid-template-columns: 1fr; }
    .request-card { padding: 36px; }
    .banner-grid { grid-template-columns: 1fr 55%; }
    .footer { padding-top: 80px; }
    .footer-wordmark { padding: 40px 0 32px; }
}

/* ---------------- Adaptive: ≤900 (768-layout) ---------------- */

@media (max-width: 900px) {
    .header-nav, .header-actions .btn { display: none; }
    .burger { display: block; }
    .header { padding-top: 18px; padding-bottom: 18px; }
    .header .logo img { width: 138px; height: 35px; }

    .hero { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 60px; gap: 32px; }
    .hero-img { order: -1; }
    .hero h1, .section-title, .banner h2, .policy-title { font-size: 42px; }
    .hero-sub { font-size: 20px; }
    .hero .stats { flex-wrap: wrap; gap: 20px; }

    .process, .why, .faq { padding: 60px 0 80px; }
    .policy { padding: 48px 0 80px; }
    .policy-lead { font-size: 20px; }
    .policy-text { font-size: 16px; }
    .policy-body { margin-top: 32px; gap: 32px; }
    .process-grid { gap: 16px; }
    .step-card { padding: 24px; }
    .request-card { padding: 24px; }
    .request-card h3 { font-size: 28px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 24px; }

    .services { padding: 48px 0 80px; }
    .service-card { flex-direction: column; align-items: flex-start; gap: 24px; }
    .service-deco { order: -1; }
    .service-body h3 { font-size: 20px; }

    .banner { padding: 60px 0 0; }
    .banner-grid { grid-template-columns: 1fr; gap: 32px; }

    .footer { padding-top: 60px; }
    .footer-grid { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
    .footer-mail { margin-top: 12px; }
    .socials { justify-content: center; }
    .footer-right { align-items: center; }
    .footer-menu { flex-wrap: wrap; justify-content: center; }
    .footer-chat { align-self: center; }
    .footer-copy { text-align: center; }
    .footer-wordmark { font-size: 51px; letter-spacing: -0.02em; padding: 40px 0 28px; }

    .widget { bottom: 20px; }
    .widget.open { bottom: 83px; }
    .cookies { left: 12px; right: 84px; }
}

/* ---------------- Adaptive: ≤480 (375-layout) ---------------- */

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero h1, .section-title, .banner h2, .policy-title { font-size: 28px; }
    .hero-sub { font-size: 18px; }
    .stat-num { font-size: 28px; }
    .stat-label { font-size: 14px; }
    .hero .btn, .banner .btn { width: 100%; }
    .hero .stats { gap: 12px; }

    .process, .why, .faq { padding: 60px 0 80px; }
    .step-card { padding: 20px; gap: 16px; }
    .step-card img { width: 64px; height: 64px; }
    .step-num { width: 64px; height: 64px; }
    .step-num svg { width: 60px; height: 60px; margin: 2px; }
    .step-num span { font-size: 20px; }
    .step-card h3, .why-card h3, .faq-q { font-size: 20px; }
    .step-card p, .why-card p, .faq-a { font-size: 16px; }
    .request-card h3 { font-size: 24px; }
    .request-card li, .request-card .req-lead, .request-card .req-contact { font-size: 18px; }
    .request-card .req-buttons { flex-direction: column; }
    .request-card .req-buttons .btn { width: 100%; }
    .why-card { padding: 24px; }

    .faq-item { padding: 20px; }
    .faq-icon { width: 40px; height: 40px; }

    .banner { padding: 60px 0 0; }
    .popup-modal { padding: 28px 20px; }

    .footer-menu { gap: 16px; font-size: 14px; }
    .footer-wordmark { font-size: 47px; white-space: normal; line-height: 1; }
}

/* Services dropdown ("Сервисы") in header and footer menus */
.nav-drop { position: relative; }
.nav-drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color .2s;
}
.nav-drop-toggle:hover { color: var(--primary); }
.nav-drop-toggle svg { transition: transform .2s ease; }
.nav-drop:hover .nav-drop-toggle svg,
.nav-drop.open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 264px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(37, 42, 49, .14);
    padding: 10px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 120;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop.open .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-drop-panel a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text);
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.nav-drop-panel a:hover { background: var(--light); color: var(--primary); }
/* in the footer the toggle sits on the dark band and matches the white links */
.footer-menu .nav-drop-toggle { color: #fff; }

/* Inline text link inside FAQ answers ("на главной странице") */
.text-link {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: opacity .2s;
}
.text-link:hover { opacity: .75; }

/* on narrow screens the footer panel is left-aligned so it stays in the viewport */
@media (max-width: 1240px) {
    .footer-menu .nav-drop-panel {
        left: 0;
        transform: translateX(0) translateY(8px);
    }
    .footer-menu .nav-drop:hover .nav-drop-panel,
    .footer-menu .nav-drop.open .nav-drop-panel,
    .footer-menu .nav-drop:focus-within .nav-drop-panel {
        transform: translateX(0) translateY(0);
    }
}

/* --- header geometry aligned with the main site (no logo jump between pages) --- */
/* 901-1240: .container shorthand squashes the header vertical padding - restore it */
@media (max-width: 1240px) and (min-width: 901px) {
    .header.container { padding-top: 24px; padding-bottom: 24px; }
}
/* >=1440: same centered header mode as the main site */
@media (min-width: 1440px) {
    .header.container { max-width: 1440px; margin: 0 auto; padding: 20px 100px; }
    .header .logo { margin-top: 5px; }
    .header .logo img { width: 148px; height: 36px; }
}
