@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

:root{
    --bg:#000000;
    --panel:#0f0f12;
    --text:#ffffff;
    --muted:#b6b6b6;
    --muted2:#7a7a7a;
    --muted3:#333333;
    --light:#f3f3f3;
    --dark:#111111;
    --accent:#f02050;
    --border:rgba(255,255,255,.14);
    --shadow: 0 20px 60px rgba(0,0,0,.30);
    --radius: 1rem;
    --radius2: 22px;
    --container: 1160px;
    --header-height: 120px;
    --linear: all .3s linear;
}

*{box-sizing:border-box}
html, body { height:auto; min-height:100%; scroll-behavior: smooth;}
body{
    margin:0;
    font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height:1.5;
    word-wrap: break-word;
}

a{color:inherit; text-decoration:none; transition: var(--linear);}
img{max-width:100%; display:block}
button{font:inherit}

section {scroll-margin-top: 90px;}
.mb-2 {margin-bottom: 2rem;}
.h-220 {height: 220px;}
.h-320 {height: 320px;}
.container{
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}
.grid{display:grid; gap:24px}
.muted{color:var(--muted)}
.muted2{color:var(--muted2)}
.accent{color:var(--accent)}
.content strong {
    color: #fff;
    font-weight: 600;
}

.pill{
    display:inline-flex; align-items:center; gap:10px;
    padding:10px 14px;
    border:1px solid var(--border);
    border-radius:999px;
    background:rgba(255,255,255,.03);
    color:var(--muted);
    font-size:13px;
    letter-spacing:.2px;
}

.kicker{
    display:flex; align-items:center; gap:10px;
    font-weight:600;
    letter-spacing:.3px;
    text-transform:uppercase;
    font-size:12px;
    color:var(--muted);
}
.kicker:before{
    content:"";
    width:44px; height:2px;
    background:var(--accent);
    border-radius:2px;
    display:inline-block;
}

.btn{
    display:inline-flex; align-items:center; justify-content:center;
    gap:10px;
    padding:14px 18px;
    border-radius:14px;
    border:1px solid var(--border);
    background:transparent;
    color:var(--text);
    cursor:pointer;
    transition:.18s ease;
    user-select:none;
    white-space:nowrap;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(240,32,80,.55)}
.btn:active{transform:translateY(0)}
.btn-primary{border-color: rgba(240,32,80,.75)}
.btn-primary:hover{background: rgba(240,32,80,.10);}
.btn-dark{background: var(--dark); border-color: rgba(255,255,255,.08)}
.btn-dark:hover{border-color: rgba(240,32,80,.55)}

.anchor-offset {
    display: block;
    position: relative;
    top: calc(var(--header-height) * -1);
    visibility: hidden;
}

.site-header{
    position: sticky;
    top: 0;
    z-index: 1100;
}

.topbar{
    border-bottom:1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.90);
    backdrop-filter: blur(10px);
}
.topbar-inner{
    display:flex; align-items:center; justify-content:space-between;
    gap:14px; padding:10px 0;
}
.topbar-left{
    display:flex; align-items:center; gap:10px;
    color: var(--muted); font-size:13px;
}
.topbar-dot{
    width:6px; height:6px; border-radius:50%;
    background: var(--accent); display:inline-block;
}
.topbar-right{display:flex; align-items:center; gap:10px;}
.soc{
    width:36px; height:36px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    display:grid; place-items:center;
    color: var(--muted);
    transition:.18s ease;
}
.soc img {
    max-width: 24px;
    max-height: 24px; 
    width: auto;
    height: auto;
}
.soc svg{fill:currentColor}
.soc:hover{
    color:#fff;
    border-color: rgba(240,32,80,.55);
    background: rgba(240,32,80,.08);
    transform: translateY(-1px);
}

header{
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(11,11,13,.86), rgba(11,11,13,.60));
    border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
    display:flex; align-items:center; justify-content:space-between;padding:15px 0;
}
.brand{
    display:flex; align-items:center; gap:10px;
    font-weight:800; letter-spacing:.2px; font-size:18px;
}
.brand:hover{opacity: 0.7;}
.brand-logo {
    display: block;
    height: 40px; /* Отрегулируйте высоту под вашу шапку */
    width: auto;  /* Ширина подстроится автоматически */
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.brand:hover .brand-logo {
    opacity: 0.8; /* Легкий эффект при наведении */
}

.brand-dot{color:var(--accent)}
nav ul{
    list-style:none;
    display:flex; align-items:center; gap:18px;
    margin:0; padding:0;
    font-size:14px;
}
nav a{padding:10px 10px; border-radius:10px;color: #d7d7d7;}
nav a:hover{color:#fff; background:rgba(255,255,255,.04)}
.nav-right{display:flex; align-items:center; gap:12px}

.burger{
    display:none;
    width:44px; height:44px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.03);
    cursor:pointer;
}
.burger span{
    display:block;
    width:18px; height:2px;
    background:#fff;
    margin:0 auto;
    position:relative;
}
.burger span:before,.burger span:after{
    content:"";
    position:absolute; left:0;
    width:18px; height:2px;
    background:#fff;
}
.burger span:before{top:-6px}
.burger span:after{top:6px}

.mobile-menu{
    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-6px);

    border-top:1px solid rgba(255,255,255,.08);
    padding: 0;                      
    transition:
        max-height .28s ease,
        opacity .20s ease,
        transform .28s ease,
        padding .28s ease;
    will-change: max-height, opacity, transform;
}

.mobile-menu.show{
    max-height: 420px;               
    opacity: 1;
    transform: translateY(0);
    padding: 10px 0 16px;
}


.mobile-menu a{
    display:block;
    padding:12px 8px;
    border-radius:12px;
}
.mobile-menu a:hover{background:rgba(255,255,255,.04); color:#fff}

@media (prefers-reduced-motion: reduce){
    .mobile-menu{transition:none}
}
.mobile-menu.show{display:block}

/* Sections */
section{padding:70px 0}
.section-light{background:var(--light); color:var(--dark)}
.section-light .muted{color:#5e5e5e}
.section-light .kicker{color:#4b4b4b}
.section-light .pill{border-color:rgba(0,0,0,.10); background:rgba(255,255,255,.65); color:#404040}
.section-light .btn{border-color:rgba(0,0,0,.12); color:#111}
.section-light .btn:hover{border-color:rgba(240,32,80,.55)}
.section-light .btn-primary{border-color:rgba(240,32,80,.75); color:#111}
.section-light .btn-primary:hover{background:rgba(240,32,80,.08)}


/* Hero */
.hero{padding:72px 0 96px; overflow:hidden}
.hero-inner{
    display:grid;
    grid-template-columns: 1.15fr .85fr;
    align-items:center;
    gap:42px;
}
h1{
    margin:12px 0 16px;
    font-size: clamp(38px, 4.6vw, 64px);
    line-height:1.05;
    letter-spacing:-.9px;
}
.lead{
    color:var(--muted);
    font-size:16px;
    max-width:52ch;
    margin:0 0 26px;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin:0 0 14px}
.hero-actions-2 { display: flex; gap: 15px; justify-content: center; margin-top: 40px; }
.micro{color:var(--muted2); font-size:13px; display:flex; flex-wrap:wrap; gap:10px}
.micro span{display:inline-flex; align-items:center; gap:8px}
.dot{width:6px; height:6px; border-radius:50%; background:var(--accent); display:inline-block}

.hero-card{
    position:relative;
    min-height: 380px;
}
.hero-media{
    inset:0;
    display:block;
}

.hero-media img{
    width:100%;
    height:32rem;
    border-radius: 50%;
    object-fit:cover;
    object-position:center;
}

.interviews {margin-top: 3rem;}

/* Interviews section */
.interviews-grid{
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.interview-card{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    overflow:hidden;
    transition:.25s ease;
}

.interview-card:hover .play-btn {transform: scale(1.12);}

.interview-card .thumb{
    height:200px;
    overflow:hidden;
}

.interview-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter: grayscale(100%);
    transition:.35s ease;
}

.interview-card:hover img{
    filter: grayscale(0%);
    transform:scale(1.05);
}

.interview-card .body{
    padding:18px;
}

.interview-card h3{
    margin:8px 0;
    font-size:18px;
}

.interview-link {
    color: #fff;
    text-decoration: none;
    transition: 0.25s ease;
}

.interview-link:hover {
    color: var(--accent);
}

.interview-card p{
    font-size:13px;
    color:var(--muted);
}

.interview-card .meta{
    font-size:12px;
    color:var(--muted2);
    display:flex;
    gap:8px;
}

/* Play button */

.interview-card {
    position: relative;
    display: block;
}

.thumb {
    position: relative;
}

.play-btn {

    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(240,32,80,0.95);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    text-decoration: none;
    transition: 0.25s ease;

}

.play-btn:hover {transform: scale(1.15);background: #a10b2e;}

/* Titles */
.title-row{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:28px;
}
.h2{
    margin:10px 0 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height:1.12;
    letter-spacing:-.6px;
}
.sub{
    max-width:60ch;
    color:var(--muted3);
    margin:10px 0 0;
    font-size:14px;
}

.sub-w{
    color:var(--muted);
}

/* Cards */
.cards-3{grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))}
.cards-4{grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))}
.card{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    padding:22px;
    min-height:210px;
    position:relative;
    overflow:hidden;
    transition:.18s ease;
}
.section-light .card{
    border-color: rgba(0,0,0,.10);
    background: rgba(255,255,255,.70);
}
.card:hover{transform: translateY(-2px); border-color: rgba(240,32,80,.45)}
.card .icon{
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    border-radius:14px;
    border:1px solid rgba(240,32,80,.55);
    display:grid; place-items:center;
    color: var(--accent);
    background: rgba(240,32,80,.06);
    margin-bottom:14px;
}
.card h3{margin:0 0 8px; font-size:18px; letter-spacing:-.2px}
.card h3 a:hover{color:var(--accent)}
.card p{margin:0 0 14px; color: var(--muted); font-size:13px}
.section-light .card p{color:#4f4f4f}
.arrow{display:inline-flex; align-items:center; gap:10px; font-weight:600; font-size:14px; opacity:.9}
.arrow:hover{color: var(--accent);}
.arrow b{font-size:20px; line-height:1}
/* actions in service cards */
.card-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:14px;
}

/* chip buttons */
.chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:12px;
    font-size:13px;
    font-weight:600;
    line-height:1;
    border:1px solid rgba(0,0,0,.14);
    background:#fff;
    color:#111;
    transition:.18s ease;
    user-select:none;
}

.chip:hover{
    transform:translateY(-1px);
    border-color: rgba(240,32,80,.55);
}

.chip-outline{
    background:#fff;
    color:#111;
}

.chip-fill{
    background: rgba(240,32,80,.10);
    border-color: rgba(240,32,80,.55);
    color:#111;
}

.chip-fill:hover{
    background: rgba(240,32,80,.14);
}

.chip-ico{
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
}

/* About */
.about{
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 32px;
    align-items: center;
}
.about .bullets{display:grid; gap:1.4rem;}
.bullet{
    display:flex; gap:12px;
    padding:14px 16px;
    border-radius: 16px;
    border:1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}
.section-light .bullet{
    border-color: rgba(0,0,0,.10);
    background: rgba(255,255,255,.70);
}
.bullet .ic{
    width:36px; height:36px;
    border-radius:14px;
    border:1px solid rgba(240,32,80,.55);
    background: rgba(240,32,80,.06);
    display:grid; place-items:center;
    color: var(--accent);
    flex:0 0 auto;
}
.bullet .t{font-size:14px; font-weight:700; margin:0 0 2px}
.bullet .d{margin:0; font-size:13px; color: var(--muted)}
.section-light .bullet .d{color:#4f4f4f}

.about-photo{
    position: relative;
    overflow: hidden;
    border-radius: var(--radius2);
    aspect-ratio: 16 / 11;
}

.about-media{
    position: absolute;
    inset: 0;
    display: block;
}

.about-media img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.proj-card{padding:0; overflow:hidden; min-height: 360px}
.proj-card .thumb{background-size:cover;background-position:center;filter: grayscale(1);transition: var(--linear);}
.proj-card:hover .thumb {filter: grayscale(0);}
.proj-card .thumb:after{content:"";position:absolute; inset:0;background: linear-gradient(to top, rgba(0,0,0,.55), transparent 70%);}
.proj-card .body{padding:18px 22px 22px}

/* Team */
.team-card{padding:0; overflow:hidden; min-height:320px}
.team-card .photo{
    height:210px;
    background-size:cover;
    background-position:center 10%;
    filter: grayscale(1);
    transition: var(--linear);
}
.team-card:hover .photo{
    filter: grayscale(0);
    transform: scale(1.03);
}
.team-card .body{padding:16px 18px 18px}
.role{margin:6px 0 0; font-size:12px; color: var(--muted)}

/* FAQ */
.faq{display:grid; gap:12px}

.qa{
    border-radius:18px;
    border:1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.75);
    overflow:hidden;
}

.qa button{
    width:100%;
    text-align:left;
    background:transparent;
    border:none;
    font-size: 1.2rem;
    padding:18px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    cursor:pointer;
    color:#111;
    font-weight:700;
    transition: background .25s ease;
}

.qa button:hover{
    background:#0000000d;
}

.qa .plus{
    width:40px; height:40px;
    border-radius:14px;
    border:1px solid rgba(0,0,0,.10);
    display:grid; place-items:center;
    background:#fff;
    flex:0 0 auto;
    position:relative;
}

.qa .plus:before,.qa .plus:after{
    content:"";
    position:absolute;
    width:14px; height:2px;
    background: var(--accent);
    border-radius:2px;
}
.qa .plus:after{transform:rotate(90deg); transition:transform .22s ease}
.qa.open .plus:after{transform:rotate(0deg)}

.qa .answer{
    display:grid;
    grid-template-rows: 0fr;
    opacity:0;
    padding: 0 18px;
    transition:
        grid-template-rows .28s ease,
        opacity .22s ease,
        padding .28s ease;
}

.qa .answer .inner{
    overflow:hidden;
    padding: 0;
    line-height:1.6;
}

.qa.open .answer{
    grid-template-rows: 1fr;
    opacity:1;
    padding: 1rem;
}
@media (prefers-reduced-motion: reduce){
    .qa .answer{transition:none}
    .qa .plus:after{transition:none}
}

.meta{display:flex; flex-wrap:wrap; gap:10px;font-size:12px;color: var(--muted2);margin:8px 0 12px;}
.meta a:hover{color: var(--accent);}

/* Contact */
.contact{
    display:grid;
    grid-template-columns: 1.2fr .8fr;
    gap:24px;
    align-items:stretch;
}
.panel{
    border-radius: var(--radius2);
    border:1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    padding:22px;
    box-shadow: var(--shadow);
}
.section-light .panel{
    border-color: rgba(0,0,0,.10);
    background: rgba(255,255,255,.75);
    box-shadow:none;
}
.field{display:grid; gap:8px; margin-bottom:12px}
label{font-size:12px; color:var(--muted)}
.section-light label{color:#5a5a5a}
input, textarea{
    border-radius:14px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    padding:12px 12px;
    color: var(--text);
    outline:none;
}
textarea{min-height:110px; resize:vertical}
.section-light input,.section-light textarea{
    border-color: rgba(0,0,0,.12);
    background: rgba(255,255,255,.95);
    color:#111;
}
input:focus, textarea:focus{border-color: rgba(240,32,80,.55)}

.contact-list{display:grid; gap:12px; color:var(--muted); font-size:14px}
.contact-item{
    display:flex; align-items:flex-start; gap:12px;
    padding:14px 14px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}
.section-light .contact-item{
    border-color: rgba(0,0,0,.10);
    background: rgba(255,255,255,.75);
    color:#2e2e2e;
}
.contact-item .ic{
    width:38px; height:38px;
    border-radius:14px;
    border:1px solid rgba(240,32,80,.55);
    background: rgba(240,32,80,.06);
    display:grid; place-items:center;
    color: var(--accent);
    flex:0 0 auto;
}

.contact-label a {color: var(--accent)}
.contact-label a:hover {color: var(--light)}

/* Модальное окно после отправки */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--panel);
    padding: 40px;
    border-radius: var(--radius2);
    text-align: center;
    max-width: 400px;
    width: min(90%, 400px);
    border: 1px solid var(--accent);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 15px;
}

/* Footer */
footer{
    padding:28px 0 40px;
    border-top:1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.10);
}
.foot{
    display:flex; align-items:center; justify-content:space-between;
    gap:16px;
    color: var(--muted2);
    font-size:12px;
    flex-wrap:wrap;
}

/* Шапка внутренней страницы */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, #0a0a0c, var(--bg));
    text-align: center;
}

.about-service {
    font-size: 20px;
    color: var(--muted);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Детальный список услуг */
.service-list-full {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-bottom: 100px;
}

.service-item-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    padding: 0 !important; /* Убираем падинг фрейма для картинки */
}

.service-item-full.inverted {
    direction: rtl; /* Картинка слева, текст справа */
}

.service-item-full.inverted .service-info {
    direction: ltr;
}

.service-info {
    padding: 3.5rem;
    border: 1px solid #f02050bf;
    border-radius: 1rem;
}


.service-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.service-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin: 25px 0 35px;
    padding: 0;
}

.check-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--muted);
}

.check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.service-image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1e;
    border-radius: 1rem;
    position: relative; /* Это критически важно для absolute позиционирования кнопки внутри */
    display: block;
    border-radius: 24px;
    overflow: hidden;
}

.service-image .play-btn {
    position: absolute; 
    right: 16px;
    bottom: 16px;
    margin: 0;     
    top: auto;      
    left: auto; 
}

.service-hero {padding: 5rem 0 0; text-align: center; background: linear-gradient(to bottom, #0a0a0c, var(--bg));}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card { padding: 40px; transition: all 0.3s ease; border: 1px solid var(--accent); border-radius: var(--radius);}
.value-card:hover { transform: translateY(-10px);background: rgba(240, 32, 80, .10);}
.value-card .ic { font-size: 40px; margin-bottom: 20px; }

.steps-flow { margin-top: 60px; max-width: 800px; margin-inline: auto; }
.step-item { display: flex; gap: 30px; margin-bottom: 50px; position: relative; }
.step-num { 
    font-size: 48px; font-weight: 800; color: rgba(255,255,255,0.05); 
    line-height: 1; min-width: 70px;
}
.step-text h4 { font-size: 20px; margin-bottom: 10px; color: var(--accent); }

.check-list-styled { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.check-list-styled li::before { content: '✔'; color: var(--accent); margin-right: 10px;}

.service-deep-dive {padding: 60px 0;}
.details-grid {display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;margin-top: 2rem;}

.detail-card {
    padding: 35px;
    background: var(--panel);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}

.detail-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
}

.detail-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.detail-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #fff;
}

.detail-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.deliverables-box {
    padding: 60px !important;
    background: linear-gradient(135deg, rgba(25, 25, 28, 1) 0%, rgba(10, 10, 12, 1) 100%);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* В две колонки */
    gap: 40px;
}

.deliverable-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.deliv-icon {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.03);
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.deliv-content h4 {
    font-size: 18px;
    margin: 0;
    color: #fff;
}

.deliv-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.category-sub{
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.category-block {display: block;}

.article-section {padding: 30px 0;}

.article-hero {background: none !important;backdrop-filter: none !important;border-bottom: none !important;padding: 0 !important;}
.article-hero img{margin: auto !important;max-height: 60vh;border-radius: var(--radius);}
.article-hero h1 {margin-top: 10px;background: transparent;}
.article-hero h1{font-size: clamp(32px, 5vw, 48px);line-height: 1.1;argin: 0 0 20px;
}

.article-hero .meta{
    color: var(--muted);
    font-size: 14px;
    display:flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.content h2, h3, h4, h5 {margin: 2rem 0 2rem;}

.content h2{
    font-size: 32px;
}

.content h3{
    font-size: 28px;
}

.content h4{
    font-size: 24px;
}


.content h5{
    font-size: 20px;
}

.content p{
    margin-bottom:20px;
    font-size:18px;
}

.content ul{
    margin-bottom:25px;
    padding-left:20px;
}

.content li{
    margin-bottom:10px;
    color:#d1d1d1;
}

.content a{color: var(--accent)}
.content a:hover{color: #637cff}

.content blockquote{
    border-left:4px solid var(--accent);
    padding:20px 30px;
    background: var(--panel);
    border-radius: 0 16px 16px 0;
    margin:40px 0;
    font-style: italic;
    font-size: 20px;
    color:#e6e6e6;
}

.cta-box{
    background: linear-gradient(135deg, #1a1a1e 0%, #000 100%);
    border: 1px solid var(--accent);
    padding: 40px;
    border-radius: 24px;
    margin-top: 60px;
    text-align:center;
}

.article-foot{
    margin-top: 28px;
    display:flex;
    justify-content:center;
}

.back-link{
    color:#fff;
    text-decoration:none;
    opacity:.85;
}
.back-link:hover{ opacity:1; }


.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Пропорции 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fr-video {
    position: static !important;
}

.whatsapp-button img {
    width: 24px;         
    height: auto;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.whatsapp-button {
    position: fixed;
    right: 3px;
    bottom: 90px;
    transform: translate(-50%, -50%);
    background: #25D366;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 1000;
    transition: .1s linear;

    /* Добавляем флекс для идеальной центровки картинки */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal; /* Сбрасываем старый способ центровки */
}

.whatsapp-button:hover {
    background: #1cad52;
}

.whatsapp-button:before, .whatsapp-button:after {
    content: "";
    display: block;
    position: absolute;
    border: 1px solid #25D366;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden;
}

.whatsapp-button:after {
    animation-delay: .5s;
}

@keyframes animate {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.0);
        opacity: 0;
    }
}

.image-overlay-wrap {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.image-overlay-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgb(240 32 80 / 40%) 0%, rgba(0, 0, 0, 0.4) 50%, #fe4f706b 100%);
    pointer-events: none;
}

.image-overlay-wrap::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgb(0 0 0) 0%, transparent 100%);
    z-index: 1;
}

/* Стили для инфо-бокса обратной связи */
.info-card-zint {
    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent); /* Красная полоса как акцент */
    padding: 30px;
    border-radius: 16px;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.info-card-header h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.input-zint {
    width: 100%;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.input-zint:focus {
    outline: none;
    border-color: var(--accent);
}

select[name="recip"] {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    text-align: center;
    padding: 60px 0;
}

.error-code {
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, var(--text) 0%, rgba(255,255,255,0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: -5px;
}

.error-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.error-dot {
    width: 12px;
    height: 12px;
    background-color: #f02050; /* Ваш фирменный красный */
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(240, 32, 80, 0.6);
    animation: pulse-dot 2s infinite;
}

.error-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.error-text {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: 14px;
    color: var(--text);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--border);
    border-color: var(--text);
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive */
@media (max-width:980px){
    .hero-inner{grid-template-columns:1fr}
    .hero-card{display: none;}
    .cards-3{grid-template-columns:1fr}
    .cards-4{grid-template-columns:1fr 1fr}
    .about{grid-template-columns:1fr}
    .contact{grid-template-columns:1fr}
    nav ul{display:none}
    .burger{display:inline-grid; place-items:center}
    .nav-btn-desktop {display: none;}
    .nav {padding: 10px 0;}
    .nav-right {gap: 0;}
    .title-row{flex-direction:column; align-items:flex-start; gap:14px}
    .about{grid-template-columns: 1fr;}
    .about-photo{aspect-ratio: 16 / 9;}
    .details-grid {grid-template-columns: 1fr;}
    .detail-card {padding: 25px;}
    .service-item-full, .service-item-full.inverted {grid-template-columns: 1fr;direction: ltr;}
    .service-info {padding: 40px 30px;order: 2;}
    .service-image {height: 250px;min-height: 250px;order: 1;}
}

@media (max-width: 768px){
    .main-image{ height: 250px;}
    .cta-box{ padding: 26px;}
    .btn {margin-bottom: 8px;}
    .article-hero h1 {font-size: 32px !important;}
    .topbar-right {gap: 18px;}
    .soc img {width: 20px; height: 20px;}
    .image-overlay-wrap {height: 300px; margin-bottom: 20px;}
    .image-overlay-wrap div {bottom: 15px !important;left: 15px !important;right: 15px !important;}
    .image-overlay-wrap h3 {font-size: 18px !important;}
    .brand-logo {height: 32px;}
    .grid-3 { grid-template-columns: 1fr;}
    .check-list-styled { grid-template-columns: 1fr;}
    .deliverables-box { padding: 40px 20px !important; }
    .deliverables-grid { grid-template-columns: 1fr; gap: 30px; }
    .deliv-icon { width: 50px; height: 50px; min-width: 50px; font-size: 22px; }
}

@media (max-width:520px){
    .topbar-inner{padding:8px 0}
    .topbar-left{font-size:12px}
    .soc{width:34px; height:34px; border-radius:13px}
    .cards-4{grid-template-columns:1fr}
    section{padding:70px 0}
    .hero{padding:56px 0 80px}
    .hero-actions{display:grid;grid-template-columns: 1fr 1fr;gap:12px;}
    .hero-actions .btn-primary{grid-column: 1 / -1;}
    .hero-actions .btn{display:flex;align-items:center;justify-content:center;}
    .title-row .btn{width:100%; justify-content:center}
}
@media (max-width: 480px) {
    .topbar-left {display: none;}
    .topbar-inner {justify-content: center;}
}