.services-main {
    width: 100%;
    max-width: none;
    align-items: stretch;
    gap: 0;
    padding: 22px 24px 0;
    background: #fff;
}

.services-hero {
    position: relative;
    width: min(1480px, 100%);
    min-height: clamp(303px, 39.36vw, 517px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 32px;
    isolation: isolate;
    background:
        linear-gradient(125deg, rgba(18, 21, 23, .96), rgba(28, 34, 37, .78)),
        repeating-linear-gradient(90deg, transparent 0 59px, rgba(255,255,255,.035) 60px);
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: inherit;
    pointer-events: none;
}

.services-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(7,9,11,.88) 0%, rgba(7,9,11,.54) 47%, rgba(7,9,11,.14) 100%);
}

.services-hero-copy {
    position: relative;
    z-index: 2;
    width: min(680px, 80%);
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(46px, 7vw, 110px);
    color: #fff;
}

.services-hero-copy > span,
.services-heading > span,
.service-card-copy > span {
    color: #ef5044;
    text-transform: uppercase;
    letter-spacing: .27em;
    font-weight: 700;
    font-size: .82rem;
}

.services-hero-copy > span::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 3px;
    margin: 0 14px 3px 0;
    background: #ef5044;
}

.services-hero-copy h1 {
    margin: 22px 0 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4.4rem, 9vw, 9.5rem);
    font-weight: 600;
    line-height: .82;
    letter-spacing: .01em;
}

.services-hero-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.79);
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    line-height: 1.65;
}

.services-catalog {
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: clamp(92px, 10vw, 150px) 0;
}

.services-heading {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) 1.2fr;
    column-gap: 70px;
    align-items: end;
    margin-bottom: 54px;
}

.services-heading > span { grid-column: 1 / -1; margin-bottom: 12px; }
.services-heading h2 {
    margin: 0;
    color: #121416;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: .95;
}
.services-heading p { margin: 0; color: #687078; line-height: 1.75; font-size: 1.05rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e5e8;
    border-radius: 26px;
    background: #f7f8f8;
    transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.service-card:hover { transform: translateY(-7px); border-color: rgba(239,80,68,.52); background: #fff; }
.service-card-index {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(11,14,16,.86);
    color: #fff;
    font-size: .75rem;
    letter-spacing: .14em;
    backdrop-filter: blur(8px);
}
.service-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #eef0f1; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.service-card:hover .service-card-media img { transform: scale(1.035); }
.service-card-copy { min-height: 220px; padding: 28px 30px 32px; }
.service-card-copy h3 { margin: 10px 0 12px; color: #17191b; font-size: 1.45rem; line-height: 1.2; }
.service-card-copy p { margin: 0; color: #656d73; line-height: 1.65; }
.services-empty { grid-column: 1 / -1; padding: 54px; text-align: center; border: 1px dashed #ccd2d6; border-radius: 24px; color: #616970; }
.services-empty strong { display: block; margin-bottom: 8px; color: #24282b; font-size: 1.2rem; }

.site-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 74px max(28px, calc((100vw - 1320px) / 2)) 24px;
    background: #0b0e11;
    color: #eef2f4;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(239,80,68,.18), transparent 30%),
        radial-gradient(circle at 92% 100%, rgba(56,193,216,.12), transparent 28%),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: auto, auto, 52px 52px, 52px 52px;
    pointer-events: none;
}
.footer-signal { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #ef5044 0 30%, #48bfd3 30% 38%, transparent 38%); }
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1.15fr .75fr .8fr; gap: 54px; }
.footer-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.footer-brand img { width: 68px; height: 68px; border-radius: 50%; border: 3px solid rgba(239,80,68,.22); }
.footer-brand strong { display: block; font-size: 1.3rem; letter-spacing: .06em; }
.footer-brand strong span { color: #ef5044; }
.footer-brand small { display: block; margin-top: 5px; color: #7f8b94; text-transform: uppercase; letter-spacing: .18em; font-size: .58rem; }
.footer-brand-column > p { max-width: 420px; color: #9ca6ad; line-height: 1.7; }
.footer-trust { display: flex; align-items: center; gap: 14px; max-width: 430px; margin-top: 27px; padding: 14px 16px; border: 1px solid rgba(72,191,211,.32); border-radius: 17px; background: linear-gradient(115deg, rgba(72,191,211,.1), rgba(239,80,68,.055)); color: #c8d7dc; font-size: .82rem; }
.footer-trust-seal { position: relative; display: grid; place-items: center; width: 48px; min-width: 48px; height: 56px; color: #5ed3e5; }
.footer-trust-seal svg { width: 43px; height: 49px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(83,201,221,.22)); }
.footer-trust-seal .footer-trust-shield { fill: rgba(72,191,211,.08); stroke-width: 1.7; }
.footer-trust-seal b { position: absolute; right: -3px; bottom: -1px; padding: 2px 4px; border: 1px solid rgba(239,80,68,.65); border-radius: 4px; background: #11181c; color: #ff7468; font-size: .45rem; line-height: 1; letter-spacing: .08em; }
.footer-trust-copy { display: flex; flex-direction: column; gap: 3px; line-height: 1.42; }
.footer-trust-copy strong { color: #f2f6f7; font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-trust-copy > span { color: #aebdc3; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column h2 { margin: 3px 0 13px; color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .24em; }
.footer-column a { color: #aab4ba; text-decoration: none; line-height: 1.45; transition: color .2s ease, transform .2s ease; }
.footer-column a:hover, .footer-column a:focus-visible { color: #fff; transform: translateX(4px); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 15px; margin: 0; padding: 0; }
.footer-contact-list li { display: flex; flex-direction: column; gap: 3px; }
.footer-contact-list span { color: #64717a; text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; }
.footer-contact-list strong { color: #b9c2c7; font-weight: 500; line-height: 1.45; }
.footer-social p { color: #7f8990; line-height: 1.5; }
.footer-social a { width: 100%; display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: #6f7a81; font-size: .74rem; text-transform: uppercase; letter-spacing: .11em; }
.footer-bottom p { margin: 0; }

@media (max-width: 1040px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-social { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
    .services-main { padding: 12px 12px 0; }
    .services-hero { min-height: 394px; border-radius: 24px; }
    .services-hero-shade { background: linear-gradient(0deg, rgba(7,9,11,.91), rgba(7,9,11,.2) 75%); }
    .services-hero-copy { width: 100%; justify-content: flex-end; padding: 34px 28px 44px; }
    .services-hero-copy h1 { font-size: clamp(4.2rem, 22vw, 6.8rem); }
    .services-catalog { padding: 82px 4px; }
    .services-heading { display: block; margin: 0 12px 38px; }
    .services-heading h2 { margin: 10px 0 18px; }
    .services-grid { grid-template-columns: 1fr; gap: 22px; }
    .service-card-copy { min-height: 0; }
    .site-footer { padding: 62px 26px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 42px; }
    .footer-social { grid-column: auto; }
    .footer-bottom { flex-direction: column; margin-top: 45px; line-height: 1.6; }
}
