@font-face {
    font-family: CambriaLocal;
    src: local(Cambria);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
    background: linear-gradient( 180deg, #f5f6f8 0%, #f7f8fa 48%, #fff 70%, #f6f8fb 100% );
}

.site {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

#about,
#services,
#advantages,
#contacts,
#form {
    scroll-margin-top: 112px;
}


.hero, .stats, .team-inner, .services, .cases, .contact, .footer {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

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

.header {
    width: 100%;
    height: 92px;
    background: rgba(255, 255, 255, 255);
    box-shadow: 0 8px 35px rgba(15, 23, 42, .06);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #0b4065;
    font-size: 16px;
    line-height: 1.15;
}

.logo img {
    width: 112px;
    height: auto;
    display: block;
}

.logo span {
    border-left: 1px solid #0b4065;
    padding-left: 18px;
}

.nav {
    display: flex;
    gap: 18px;
    font-weight: 500;
}

.nav a {
    padding: 11px 18px;
    border: 0px solid transparent;
    border-radius: 5px;
    transition: .25s;
}

.nav a:hover {
    color: #000000;
    background: #eef2f6;
    border-color: #d6dde7;
}

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

.phone {
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 30px;
    border-radius: 8px;
    border: 0;
    background: linear-gradient(135deg, #0b4065, #0069b6);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 12px 26px rgba(0, 105, 182, .25);
    cursor: pointer;
    transition: .25s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 105, 182, .35);
}

.btn.small {
    min-height: 48px;
    padding: 0 26px;
}

.burger {
    display: none;
    background: none;
    border: 0;
    width: 42px;
}

.burger span {
    display: block;
    height: 3px;
    background: #0f172a;
    margin: 7px 0;
    border-radius: 3px;
}

.hero {
    display: grid;
    grid-template-columns: 34% 66%;
    align-items: start;
    padding: 0 10px 0 70px;
    overflow: visible;
    background: transparent;
}

.hero-text {
    padding-top: 45px;
}

.hero h1 {
    margin: 0 0 28px;
    font-family: CambriaLocal, Georgia, serif;
    font-size: 58px;
    line-height: 1.18;
    font-weight: 500;
    color: #0f1b2e;
    letter-spacing: -1px;
}

.ticks {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
    display: grid;
    gap: 18px;
    font-size: 18px;
}

.ticks li {
    position: relative;
    padding-left: 40px;
}

.ticks li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0879c8;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.hero-image {
    align-self: start;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 18px 38px rgba(15, 23, 42, .14));
    border-radius: 0;
    mix-blend-mode: multiply;
}

.stats {
    margin: 0 auto 5px;
    padding-left: 34px;
    padding-right: 34px;
    padding-top: 16px;
    padding-bottom: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
}

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 70px;
    border-right: 1px solid #e1e7ef;
}

.stat:last-child {
    border-right: 0;
}

.icon-slot {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff, #e8eef6);
    border: 1px dashed #b7c5d6;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
    position: relative;
}

.icon-slot:after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 9px;
    border: 2px solid #b7c5d6;
}

.card-icon.icon-slot {
    margin-bottom: 14px;
}

.stat b {
    font-size: 22px;
    color: #0069b6;
}

.stat span {
    font-size: 18px;
    line-height: 1.35;
}

.team-section {
    width: 100%;
    margin: 0px 0 0;
    padding: 54px 0;
    background: #244a7a;
    border-top: 1px solid #dfe5ed;
    border-bottom: 1px solid #dfe5ed;
}

.team-inner {
    padding: 0 48px;
    display: grid;
    grid-template-columns: 32% 68%;
    gap: 34px;
    align-items: center;
}

.team-label {
    font-family: CambriaLocal, Georgia, serif;
    display: inline-flex;
    margin-bottom: 14px;
    padding: 18px 14px;
    border-radius: 10px;
    background: #fff;
    color: #0069b6;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #d8e2ee;
}

.team-content h2 {
    font-family: CambriaLocal, Georgia, serif;
    font-size: 40px;
    line-height: 1.14;
    margin: 0 0 18px;
    color: #ffffff;
    font-weight: 600;
}

.team-content p {
    font-size: 17px;
    line-height: 1.62;
    margin: 0;
    color: #ebecec;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.team-card {
    min-height: 230px;
    padding: 24px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid #dbe3ed;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
    transition: .25s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(0, 105, 182, .12);
}

.team-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0879c8, #0069b6);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(0, 105, 182, .24);
}

.team-card h3 {
    font-family: CambriaLocal, Georgia, serif;
    font-size: 20px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #0f172a;
}

.team-card p {
    font-size: 15px;
    line-height: 1.48;
    margin: 0;
    color: #334155;
}


.services, .cases, .contact {
    padding: 0 48px 50px;
}

.services {
    padding-top: 70px;
    padding-bottom: 80px;
}

.services h2 {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 54px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 60px;
    color: #0b0d10;
}

.section-head h2, .contact h2 {
    font-family: CambriaLocal, Georgia, serif;
    font-size: 28px;
    margin: 18px 0;
}

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

.service-item {
    position: relative;
    min-height: 300px;
    padding: 40px 48px 42px 40px;
    border-bottom: 1px solid #d8dde5;
    transition: background .35s ease, transform .35s ease;
}

.service-item:not(:nth-child(3n)) {
    padding-right: 48px;
    border-right: 1px solid #d8dde5;
}

.service-item:nth-child(3n + 2),
.service-item:nth-child(3n + 3) {
    padding-left: 48px;
}

.service-item:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.service-item:hover {
    background: rgba(255, 255, 255, .45);
}

.service-icon.icon-slot {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    margin-bottom: 28px;
    transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.service-item h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 24px;
    color: #0b0d10;
    transition: color .35s ease;
}

.service-item p {
    font-size: 18px;
    line-height: 1.48;
    margin: 0 0 26px;
    color: #1f2937;
    transition: color .35s ease;
}

.service-item a {
    color: #0069b6;
    font-size: 16px;
    font-weight: 700;
    transition: color .35s ease;
}

/* Hover backgrounds for services */
.service-item {
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    inset: -18px;
    z-index: 0;
    background-image: var(--service-bg);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    filter: blur(0) saturate(.92) contrast(.96);
    transition:
        opacity .55s ease,
        transform 4.25s cubic-bezier(.16, 1, .3, 1),
        filter 1.25s cubic-bezier(.16, 1, .3, 1);
    will-change: transform, filter, opacity;
}

.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(3, 10, 20, .88), rgba(0, 92, 157, .52)),
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .22), transparent 34%);
    opacity: 0;
    transition: opacity .55s ease;
}

.service-item > * {
    position: relative;
    z-index: 2;
}

.service-item:hover {
    background: transparent;
}

.service-item:hover::before {
    opacity: 1;
    transform: scale(1.18);
    filter: blur(4px) saturate(1.12) contrast(1.08);
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover h3,
.service-item:hover p {
    color: #ffffff;
}

.service-item:hover a {
    color: #ffffff;
}

.service-item:hover .service-icon.icon-slot {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .45);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
    transform: translateY(-4px);
}

.service-item:hover .service-icon.icon-slot::after {
    border-color: rgba(255, 255, 255, .7);
}

.service-computers { --service-bg: url('assets/service-computers.jpg'); }
.service-servers { --service-bg: url('assets/service-servers.jpg'); }
.service-network { --service-bg: url('assets/service-network.jpg'); }
.service-sks { --service-bg: url('assets/service-sks.jpg'); }
.service-video { --service-bg: url('assets/service-video.jpg'); }
.service-ip { --service-bg: url('assets/service-ip.jpg'); }
.service-backup { --service-bg: url('assets/service-backup.jpg'); }
.service-antivirus { --service-bg: url('assets/service-antivirus.jpg'); }
.service-remote { --service-bg: url('assets/service-remote.jpg'); }
.service-supply { --service-bg: url('assets/service-supply.jpg'); }
.service-audit { --service-bg: url('assets/service-audit.jpg'); }
.service-web { --service-bg: url('assets/service-web.jpg'); }

.cases {
    padding-top: 20px;
}

.section-head {
    max-width: 760px;
}

.section-head p, .contact p {
    font-size: 17px;
    line-height: 1.6;
    color: #475569;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit {
    padding: 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f2f6fb);
    border: 1px solid #e3e8f0;
}

.benefit b {
    display: block;
    font-size: 34px;
    color: #0069b6;
    margin-bottom: 8px;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 45px;
    align-items: center;
}

.form {
    display: grid;
    gap: 14px;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e3e8f0;
    box-shadow: 0 16px 46px rgba(15, 23, 42, .08);
}

input, textarea {
    width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    padding: 15px 16px;
    font: inherit;
    background: #f9fbfd;
}

textarea {
    height: 110px;
    resize: vertical;
}

.footer {
    padding: 26px 48px;
    text-align: center;
    color: #64748b;
    border-top: 1px solid #e3e8f0;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: .65s;
}

.reveal.show {
    font-family: CambriaLocal, Georgia, serif;
    opacity: 1;
    transform: none;
}



/* Updated cases section */
.cases {
    padding-top: 72px;
    padding-bottom: 84px;
}

.cases .section-head {
    max-width: 920px;
    margin-bottom: 34px;
}

.cases .section-head h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #0f1b2e;
}

.cases .section-head p {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.55;
    color: #334155;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit {
    min-height: 210px;
    padding: 34px 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f3f7fc);
    border: 1px solid #dfe7f1;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .045);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 105, 182, .28);
    box-shadow: 0 22px 52px rgba(0, 105, 182, .12);
}

.benefit b {
    display: block;
    font-family: CambriaLocal, Georgia, serif;
    font-size: 34px;
    line-height: 1.05;
    color: #0069b6;
    margin-bottom: 14px;
}

.benefit span {
    display: block;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.32;
    color: #0f172a;
    margin-bottom: 12px;
}

.benefit p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #475569;
}

@media(max-width:1100px) {
    .header-inner {
        padding: 0 22px;
    }
    .nav {
        gap: 26px;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 30px 28px;
    }
    .hero-text {
        padding-top: 0;
    }
    .hero-image {
        margin-top: 25px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-item,
    .service-item:not(:nth-child(3n)),
    .service-item:nth-child(3n + 2),
    .service-item:nth-child(3n + 3) {
        padding: 32px 28px;
        border-right: 0;
    }
    .service-item:nth-child(odd) {
        border-right: 1px solid #d8dde5;
    }
    .service-item:nth-last-child(-n + 3) {
        border-bottom: 1px solid #d8dde5;
    }
    .service-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat:nth-child(2) {
        border-right: 0;
    }
    .contact {
        grid-template-columns: 1fr;
    }
    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-inner {
        grid-template-columns: 1fr;
        padding: 0 28px;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:720px) {
    .header {
        height: 76px;
    }
    .logo img {
        width: 88px;
    }
    .logo span, .phone {
        display: none;
    }
    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        display: none;
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
    }
    .nav.open {
        display: flex;
    }
    .burger {
        display: block;
    }
    .btn.small {
        display: none;
    }
    .hero {
        padding: 32px 20px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .stats, .services, .cases, .contact {
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    .team-section {
        padding: 38px 0;
    }
    .team-inner {
        padding: 0 20px;
    }
    .team-content h2 {
        font-size: 32px;
    }
    .stats, .services-grid, .benefits, .team-grid {
        grid-template-columns: 1fr;
    }
    .cases .section-head h2 {
        font-size: 32px;
    }
    .cases .section-head p {
        font-size: 17px;
    }
    .benefit {
        min-height: auto;
        padding: 28px 24px;
    }
    .services h2 {
        font-size: 38px;
        margin-bottom: 34px;
    }
    .service-item,
    .service-item:not(:nth-child(3n)),
    .service-item:nth-child(3n + 2),
    .service-item:nth-child(3n + 3),
    .service-item:nth-child(odd) {
        padding: 30px 22px;
        border-right: 0;
        border-bottom: 1px solid #d8dde5;
    }
    .service-item:last-child {
        border-bottom: 0;
    }
    .service-item h3 {
        font-size: 24px;
    }
    .service-item p {
        font-size: 16px;
    }
    .stat {
        border-right: 0;
        border-bottom: 1px solid #e1e7ef;
    }
    .stat:last-child {
        border-bottom: 0;
    }
}


/* Updated contacts section */
.contact {
    display: block;
    padding-top: 70px;
    padding-bottom: 86px;
}

.contact-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}

.contact-text h2 {
    font-size: 36px;
    line-height: 1.18;
    margin: 0 0 22px;
    color: #0f1b2e;
}

.contact-text p {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.6;
    color: #334155;
}

.contacts-card {
    display: grid;
    grid-template-columns: 430px 1fr;
    min-height: 520px;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e0e6ee;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.contacts-info {
    position: relative;
    z-index: 2;
    padding: 48px 40px;
    background: #ffffff;
    color: #243444;
}

.contacts-info h2 {
    font-family: CambriaLocal, Georgia, serif;
    font-size: 38px;
    line-height: .98;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 34px;
    color: #243444;
}

.contacts-group {
    display: grid;
    gap: 8px;
    margin-bottom: 28px;
}

.contacts-group h3 {
    font-family: CambriaLocal, Georgia, serif;
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 8px;
    font-weight: 800;
    color: #243444;
}

.contacts-info a {
    width: fit-content;
    color: #243444;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 18px;
    transition: color .25s ease;
}

.contacts-info a:hover {
    color: #0069b6;
}

.contacts-address {
    margin: 4px 0 28px;
    font-size: 18px;
    line-height: 1.55;
    color: #334155;
}

.contacts-mail {
    display: inline-flex;
    margin-bottom: 34px;
}

.contacts-support {
    margin-bottom: 0;
}

.contacts-map {
    min-height: 520px;
    background: #eef2f7;
}

#yandexMap {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.contacts-map .ymaps-2-1-79-ground-pane {
    filter: saturate(1.12) contrast(1.04);
}

.map-fallback {
    height: 100%;
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #edf4fb, #ffffff);
    color: #243444;
    font-size: 20px;
    line-height: 1.45;
}

@media(max-width:1100px) {
    .contact-cta,
    .contacts-card {
        grid-template-columns: 1fr;
    }

    .contacts-map,
    #yandexMap {
        min-height: 360px;
    }
}

@media(max-width:720px) {
    .contact {
        padding-top: 46px;
        padding-bottom: 56px;
    }

    .contact-cta {
        gap: 28px;
        margin-bottom: 38px;
    }

    .contact-text h2 {
        font-size: 30px;
    }

    .contact-text p {
        font-size: 17px;
    }

    .contacts-info {
        padding: 30px 24px;
    }

    .contacts-info h2 {
        font-size: 34px;
    }

    .contacts-map,
    #yandexMap {
        min-height: 300px;
    }
}


/* Service article pages */
.article-page { max-width: 1440px; margin: 0 auto; }
.article-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:56px; align-items:center; padding:70px 70px 0px; }
.article-breadcrumbs { margin:0 0 20px; color:#5b6b7d; font-size:14px; }
.article-breadcrumbs a { color:#0879c8; }
.article-hero h1 { margin:0 0 22px; max-width:820px; font-family:CambriaLocal,Georgia,serif; font-size:clamp(38px,4.4vw,64px); line-height:1.08; font-weight:500; color:#0f1b2e; letter-spacing:-1px; }
.article-lead { max-width:760px; margin:0; color:#465568; font-size:20px; line-height:1.65; }
.article-image-placeholder { min-height:390px; display:grid; place-items:center; padding:34px; border:2px dashed #a9cce5; border-radius:24px; background:linear-gradient(145deg,#fafdff,#eaf4fb); color:#0b5688; text-align:center; box-shadow:0 22px 50px rgba(15,23,42,.07); }
.article-image-placeholder b { display:block; margin-bottom:10px; font-size:22px; }
.article-image-placeholder span { display:block; max-width:350px; color:#64788c; line-height:1.5; }
.article-content { max-width:1040px; margin:0 auto; padding:28px 48px 90px; }
.article-section { margin:0 0 48px; }
.article-section h2 { margin:0 0 18px; font-family:CambriaLocal,Georgia,serif; color:#10233c; font-size:34px; line-height:1.2; font-weight:500; }
.article-section p { margin:0 0 18px; color:#2f3c4d; font-size:18px; line-height:1.78; }
.article-section:first-child p:first-of-type::first-letter { float:left; margin:8px 10px 0 0; color:#0879c8; font-family:CambriaLocal,Georgia,serif; font-size:58px; line-height:.75; }
.article-cta { margin:62px 0 10px; padding:34px 36px; display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; border:1px solid #9fd3f5; border-left:6px solid #0879c8; border-radius:16px; background:linear-gradient(135deg,#eef8ff,#e5f2fb); box-shadow:0 18px 45px rgba(8,121,200,.12); }
.article-cta p { margin:0; color:#17344e; font-size:19px; line-height:1.6; }
.article-cta p strong { color:#0b4065; }
.article-cta .btn { white-space:nowrap; }
.article-page + .contact { border-top:1px solid #e1e7ef; }
@media (max-width:900px){ .article-hero{grid-template-columns:1fr;padding:52px 28px 38px}.article-image-placeholder{min-height:280px}.article-content{padding:28px 28px 70px}.article-cta{grid-template-columns:1fr}.article-cta .btn{justify-self:start} }
@media (max-width:600px){ .article-hero{padding:36px 18px 28px}.article-hero h1{font-size:38px}.article-lead{font-size:18px}.article-content{padding:20px 18px 58px}.article-section h2{font-size:28px}.article-section p{font-size:17px}.article-cta{padding:24px 20px}.article-cta .btn{width:100%} }


/* CTA forms on service pages */
.article-cta {
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
}

.article-cta__text p {
    margin: 0;
    color: #17344e;
    font-size: 19px;
    line-height: 1.6;
}

.article-cta__text strong {
    color: #0b4065;
}

.article-cta__form {
    display: grid;
    gap: 12px;
}

.article-cta__form input,
.article-cta__form textarea {
    width: 100%;
    border: 1px solid #bfd9ea;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    color: #17344e;
    font: inherit;
    padding: 13px 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.article-cta__form input:focus,
.article-cta__form textarea:focus {
    border-color: #0879c8;
    box-shadow: 0 0 0 3px rgba(8, 121, 200, .12);
}

.article-cta__form textarea {
    min-height: 96px;
    resize: vertical;
}

.article-cta__form .btn {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.article-cta__form small {
    min-height: 18px;
    color: #0b5f95;
    text-align: center;
}

@media (max-width: 900px) {
    .article-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .article-cta__form input,
    .article-cta__form textarea {
        font-size: 16px;
    }
}


/* Clickable service cards */
.service-item[data-href] {
    cursor: pointer;
}

.service-item[data-href]:focus-visible {
    outline: 3px solid rgba(0, 105, 182, .35);
    outline-offset: -3px;
}


/* Service pages: hero image placeholders and headings */
.service-page h1,
.article-page h1,
.article-content h1,
main h1 {
    font-size: 40px;
    line-height: 1.12;
}

.service-hero-image {
    width: 100%;
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f7fa;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #6d7a86;
    font-size: 14px;
}

.breadcrumbs a {
    color: #0879c8;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Slightly richer hover for clickable service cards */
.service-item[data-href] {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-item[data-href]:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 62, 110, .14);
    border-color: rgba(8, 121, 200, .28);
}

@media (max-width: 700px) {
    .service-page h1,
    .article-page h1,
    .article-content h1,
    main h1 {
        font-size: 32px;
    }

    .service-hero-image,
    .service-hero-image img {
        min-height: 280px;
    }
}


/* Privacy policy page */
.privacy-content {
  max-width: 980px;
}

.privacy-section p,
.privacy-section li {
  line-height: 1.75;
}

.privacy-section ul {
  margin: 16px 0 0;
  padding-left: 24px;
}

.privacy-placeholder {
  min-height: 300px;
}

.footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}



/* Working lead forms */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 22px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.form-status--success {
  color: #16784a;
}

.form-status--error {
  color: #b42318;
}

.js-lead-form button[disabled] {
  cursor: wait;
  opacity: .72;
}


/* Service page images: 520x420 PNG */
.article-image{
    display: flex;
    justify-content: center;
    margin: 40px 0 50px;
}

.article-image img{
    width: 520px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
    transition: .25s;
}

.article-image img:hover{
    transform: translateY(-3px);
    box-shadow: 0 28px 60px rgba(0,0,0,.18);
}

.article-image-placeholder {
  display: none !important;
}

@media (max-width: 700px) {
  .article-image img {
    width: 100%;
  }
}


/* Floating article images */
.article-hero{
    display:block !important;
}

.article-image{
    float:right;
    margin:0 0 30px 50px;
    max-width:520px;
}

.article-image img{
    display:block;
    max-width:520px;
    width:auto;
    height:auto;
    border-radius:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}



.article-content{
    clear:both;
}

@media (max-width:900px){
    .article-image{
        float:none;
        margin:30px auto;
        max-width:100%;
        text-align:center;
    }
    .article-image img{
        width:100%;
        max-width:520px;
    }
}


/* Correct top alignment and text wrapping for service images */
.article-hero {
    display: block !important;
}

.article-hero::after {
    content: "";
    display: block;
    clear: both;
}

.article-image {
    float: right;
    max-width: 520px;
    margin: 0 0 30px 50px;
}

.article-image img {
    display: block;
    width: auto;
    max-width: 520px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.article-content {
    clear: both;
}

@media (max-width: 900px) {
    .article-image {
        float: none;
        max-width: 100%;
        margin: 30px auto;
        text-align: center;
    }

    .article-image img {
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
}


/* Consent checkbox */
.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 4px 0 14px;
  color: #38536a;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.form-consent__checkbox {
  width: 18px !important;
  height: 18px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  accent-color: #0076bf;
  cursor: pointer;
}

.form-consent a {
  color: #0069b6;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.js-lead-form button[type="submit"]:disabled,
.js-lead-form input[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: .5;
  box-shadow: none;
  filter: grayscale(.15);
}


/* File attachment field */
.form-file {
  display: grid;
  gap: 7px;
  margin: 4px 0 14px;
  color: #38536a;
}

.form-file__title {
  font-size: 14px;
  font-weight: 700;
}

.form-file__input {
  width: 100%;
  min-height: 44px;
  padding: 7px;
  border: 1px solid #bfd9ea;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  color: #17344e;
  font: inherit;
  cursor: pointer;
}

.form-file__input::file-selector-button {
  margin-right: 12px;
  padding: 8px 13px;
  border: 0;
  border-radius: 7px;
  background: #e3f1fa;
  color: #075d93;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-file__input::file-selector-button:hover {
  background: #d4eaf7;
}

.form-file__hint {
  color: #6a7f90;
  font-size: 12px;
  line-height: 1.4;
}
