/* =========================================================
   ENIKEY PAGE — scoped styles
   Только для /enikey.html. Все селекторы ограничены
   .enikey-page / префиксом .enikey-. Глобальная тема не меняется.
   ========================================================= */

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

.enikey-page .enikey-hero{
    padding:150px 0 64px;
    background:linear-gradient(180deg,#f5f9fd 0%,#ffffff 100%);
    border-bottom:1px solid var(--line);
}

.enikey-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);
    gap:48px;
    align-items:center;
}

.enikey-page .enikey-hero .section-kicker{
    margin-bottom:16px;
}

.enikey-page .enikey-hero h1{
    margin:0;
    max-width:780px;
    font-size:clamp(34px,4.6vw,54px);
    line-height:1.08;
    letter-spacing:-.03em;
    font-weight:650;
    color:var(--text);
}

.enikey-lead{
    margin:18px 0 0;
    max-width:680px;
    color:var(--muted);
    font-size:16px;
    line-height:1.7;
}

.enikey-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.enikey-points{
    display:flex;
    flex-wrap:wrap;
    gap:10px 24px;
    margin:26px 0 0;
    padding:0;
    list-style:none;
    color:var(--muted-strong);
    font-size:13px;
}

.enikey-points li{
    display:flex;
    align-items:center;
    gap:8px;
}

.enikey-points .icon{
    width:16px;
    height:16px;
    color:var(--accent);
}

.enikey-panel{
    padding:26px;
    border:1px solid #cfe1f3;
    border-radius:16px;
    background:var(--ice);
    box-shadow:var(--shadow);
}

.enikey-panel-title{
    margin:0 0 16px;
    color:var(--accent);
    font-size:12px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.enikey-panel ul{
    display:grid;
    gap:12px;
    margin:0;
    padding:0;
    list-style:none;
}

.enikey-panel li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:var(--text);
    font-size:13.5px;
    line-height:1.5;
}

.enikey-panel li .icon{
    width:18px;
    height:18px;
    margin-top:1px;
    color:var(--accent);
}

.enikey-panel-note{
    margin:18px 0 0;
    padding-top:14px;
    border-top:1px solid #cfe1f3;
    color:var(--muted);
    font-size:12px;
    line-height:1.55;
}

/* ---------- Sections ---------- */

.enikey-page .enikey-section{
    padding:76px 0;
}

.enikey-page .enikey-section--soft{
    background:var(--bg-soft);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.enikey-head{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,.62fr);
    gap:40px;
    align-items:end;
    margin-bottom:38px;
}

.enikey-head h2{
    margin:0;
    font-size:clamp(27px,3.2vw,40px);
    line-height:1.12;
    letter-spacing:-.025em;
    font-weight:650;
    color:var(--text);
}

.enikey-head p{
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.7;
}

/* ---------- Flex grids ---------- */

.enikey-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
}

.enikey-grid > *{
    flex:0 0 calc((100% - 42px) / 4);
    min-width:0;
}

.enikey-grid--3 > *{
    flex-basis:calc((100% - 28px) / 3);
}

.enikey-grid--2 > *{
    flex-basis:calc((100% - 14px) / 2);
}

.enikey-grid--geo > *{
    flex-basis:calc((100% - 28px) / 3);
}

/* ---------- Cards ---------- */

.enikey-card{
    display:flex;
    flex-direction:column;
    padding:22px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.enikey-card:hover{
    border-color:var(--accent);
    box-shadow:var(--shadow);
    transform:translateY(-2px);
}

.enikey-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    margin-bottom:14px;
    border:1px solid #cfe1f3;
    border-radius:10px;
    background:var(--accent-soft);
    color:var(--accent);
}

.enikey-icon .icon{
    width:20px;
    height:20px;
}

.enikey-card h3{
    margin:0;
    color:var(--text);
    font-size:15.5px;
    line-height:1.35;
    font-weight:600;
}

.enikey-card p{
    margin:8px 0 0;
    color:var(--muted);
    font-size:13px;
    line-height:1.6;
}

/* ---------- Service category cards ---------- */

.enikey-card--service{
    padding:26px;
}

.enikey-list{
    margin:14px 0 0;
    padding:0;
    list-style:none;
}

.enikey-list li{
    position:relative;
    margin-bottom:9px;
    padding-left:20px;
    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}

.enikey-list li:last-child{
    margin-bottom:0;
}

.enikey-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:7px;
    width:6px;
    height:6px;
    border-radius:2px;
    background:var(--accent);
}

/* ---------- Company cards ---------- */

.enikey-example{
    margin:12px 0 0;
    padding-top:12px;
    border-top:1px dashed var(--line);
    color:var(--muted);
    font-size:12.5px;
    line-height:1.55;
}

.enikey-example strong{
    color:var(--text);
    font-weight:600;
}

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

.enikey-step-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    margin-bottom:12px;
    border-radius:8px;
    background:var(--accent-soft);
    color:var(--accent);
    font-size:13px;
    font-weight:700;
}

/* ---------- Formats ---------- */

.enikey-format{
    padding:28px;
    border-radius:14px;
}

.enikey-format--accent{
    border-color:var(--accent);
    box-shadow:var(--shadow);
}

.enikey-format-tag{
    display:inline-block;
    align-self:flex-start;
    margin-bottom:14px;
    padding:4px 10px;
    border-radius:999px;
    background:var(--accent-soft);
    color:var(--accent);
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.enikey-format h3{
    margin:0;
    color:var(--text);
    font-size:20px;
    line-height:1.25;
}

.enikey-format > p{
    margin:8px 0 0;
    color:var(--muted);
    font-size:13.5px;
    line-height:1.6;
}

.enikey-format .enikey-list{
    margin-bottom:20px;
}

.enikey-format .btn-secondary{
    align-self:flex-start;
    margin-top:auto;
}

/* ---------- Why ---------- */

.enikey-why-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);
    gap:40px;
    align-items:start;
}

.enikey-why-copy p{
    margin:0 0 14px;
    color:var(--muted);
    font-size:14.5px;
    line-height:1.75;
}

.enikey-why-copy p:last-child{
    margin-bottom:0;
}

.enikey-caps{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px 18px;
    padding:24px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
}

.enikey-caps span{
    display:flex;
    align-items:flex-start;
    gap:8px;
    color:var(--muted-strong);
    font-size:13px;
    line-height:1.45;
}

.enikey-caps .icon{
    width:15px;
    height:15px;
    margin-top:2px;
    color:var(--accent);
}

/* ---------- Geography ---------- */

.enikey-geo-note{
    margin-top:16px;
    padding:16px 20px;
    border:1px dashed var(--line-strong);
    border-radius:12px;
    background:var(--ice);
    color:var(--muted);
    font-size:13px;
    line-height:1.6;
}

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

.enikey-faq{
    display:flex;
    flex-direction:column;
    gap:10px;
    max-width:880px;
    margin:0 auto;
}

.enikey-faq details{
    padding:0 20px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
}

.enikey-faq summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px 0;
    list-style:none;
    cursor:pointer;
    color:var(--text);
    font-size:14.5px;
    font-weight:600;
    line-height:1.4;
}

.enikey-faq summary::-webkit-details-marker{
    display:none;
}

.enikey-faq summary::after{
    content:"+";
    flex:none;
    color:var(--accent);
    font-size:20px;
    font-weight:400;
    line-height:1;
    transition:transform .2s ease;
}

.enikey-faq details[open] summary::after{
    transform:rotate(45deg);
}

.enikey-answer{
    padding:0 0 16px;
    color:var(--muted);
    font-size:13.5px;
    line-height:1.65;
}

/* ---------- Contact ---------- */

.enikey-page .enikey-contact{
    padding:76px 0;
}

.enikey-contact-box{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr);
    gap:40px;
    align-items:start;
    padding:40px;
    border:1px solid #cfe1f3;
    border-radius:16px;
    background:var(--ice);
}

.enikey-contact-box h2{
    margin:0;
    font-size:clamp(26px,3vw,38px);
    line-height:1.15;
    letter-spacing:-.02em;
    font-weight:650;
    color:var(--text);
}

.enikey-contact-box > div > p{
    margin:12px 0 0;
    color:var(--muted);
    font-size:14px;
    line-height:1.7;
}

.enikey-contact-links{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:22px;
}

.enikey-contact-links a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--accent);
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.enikey-contact-links a:hover{
    text-decoration:underline;
}

.enikey-contact-links .icon{
    width:18px;
    height:18px;
}

.enikey-contact-links .icon-placeholder{
    visibility:hidden;
}

.enikey-form-wrap{
    padding:24px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
}

.enikey-form-wrap .lead-form{
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.enikey-form-note{
    margin:12px 0 0;
    color:var(--muted);
    font-size:12px;
    line-height:1.5;
}

/* ---------- Responsive ---------- */

@media (max-width:1050px){
    .enikey-grid > *{
        flex-basis:calc((100% - 14px) / 2);
    }

    .enikey-why-grid{
        grid-template-columns:1fr;
    }

    .enikey-grid--geo > *{
        flex-basis:calc((100% - 28px) / 3);
    }
}

@media (max-width:980px){
    .enikey-page .enikey-hero{
        padding:128px 0 48px;
    }

    .enikey-hero-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .enikey-panel{
        max-width:560px;
    }

    .enikey-page .enikey-section,
    .enikey-page .enikey-contact{
        padding:60px 0;
    }

    .enikey-head{
        grid-template-columns:1fr;
        gap:14px;
        margin-bottom:30px;
    }

    .enikey-contact-box{
        grid-template-columns:1fr;
        gap:28px;
        padding:28px;
    }
}

@media (max-width:760px){
    .enikey-grid--2 > *{
        flex-basis:100%;
    }

    .enikey-grid--geo > *{
        flex-basis:100%;
    }

    .enikey-page .enikey-section,
    .enikey-page .enikey-contact{
        padding:52px 0;
    }

    .enikey-lead{
        font-size:15px;
    }
}

@media (max-width:640px){
    .enikey-grid > *{
        flex-basis:100%;
    }

    .enikey-caps{
        grid-template-columns:1fr;
    }

    .enikey-form-wrap{
        padding:18px;
    }

    .enikey-form-wrap .lead-form{
        grid-template-columns:1fr;
    }

    .enikey-actions .btn-primary,
    .enikey-actions .btn-secondary{
        width:100%;
    }
}
