/* Enterprise SDS – main stylesheet */

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-primary: #e7612c;
    --color-link: #337ab7;
    --color-link-hover: #084d89;
    --color-text: #090909;
    --color-muted: #7a7a7a;
    --color-nav: #0e5592;
    --color-highlight: #13aff0;
    --color-border: #f1f1f1;
    --color-light-bg: #f5f5f5;
    --color-header-bg: #fcfbfa;
    --color-title-bar: #00a0c6;
    --color-footer-bg: #1f8199;
    --color-footer-title: #b7e2e2;
    --color-footer-text: #c4edfc;
    --color-footer-strong: #fcfcfc;
    --font-family: "Roboto", sans-serif;
    --container-width: 1200px;
    --header-height: 83px;
}

/* Base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--color-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    margin: 0 0 20px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-primary);
}

h1 {
    font-size: 23px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

p {
    margin: 0 0 20px;
}

ul,
ol {
    margin: 15px 0 15px 20px;
    padding: 0;
}

strong {
    font-weight: 600;
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-link-hover);
}

:focus-visible {
    outline: 2px solid var(--color-highlight);
    outline-offset: 2px;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

.icon-sprite {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 1000;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-link);
    background-color: #fff;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: var(--container-width);
    max-width: 90%;
    margin: 0 auto;
}

/* Top bar */

.top-bar {
    border-bottom: 1px solid var(--color-border);
    font-size: 12px;
    line-height: 1.8;
}

.top-bar .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.top-bar-contacts {
    margin: 0;
}

.top-bar-contacts .icon {
    margin: 0 7px;
    font-size: 12px;
    vertical-align: -0.0625em;
    color: var(--color-primary);
}

.top-bar-contacts .icon:first-child {
    margin-left: 0;
}

.social-links {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 20px;
}

.social-links a {
    display: block;
    padding: 0 6px;
}

.social-links li:last-child a {
    padding-right: 0;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-header-bg);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo img {
    display: block;
    width: 265px;
    transition: opacity 0.3s ease-in-out;
}

.site-logo:hover img {
    opacity: 0.6;
}

.main-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 0 15px;
    font-size: 13px;
    line-height: var(--header-height);
    letter-spacing: 0.6px;
    color: var(--color-nav);
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav span {
    position: relative;
}

.main-nav span::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-highlight);
    transform: scaleX(0);
    transform-origin: bottom left;
    visibility: hidden;
    transition: all 0.25s ease-out;
}

.main-nav a:hover span::after {
    transform: scaleX(1);
    visibility: visible;
}

.main-nav .nav-button a {
    padding-right: 0;
}

.main-nav .nav-button span {
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 600;
    color: #fff;
    background-color: var(--color-link);
    transition: background-color 0.3s ease;
}

.main-nav .nav-button span::after {
    display: none;
}

.main-nav .nav-button a:hover span {
    background-color: var(--color-highlight);
}

.menu-toggle {
    display: none;
    padding: 0;
    border: 0;
    font-size: 13px;
    line-height: var(--header-height);
    color: var(--color-nav);
    background: none;
    cursor: pointer;
}

.menu-toggle:hover {
    color: var(--color-primary);
}

/* Mobile navigation drawer */

.mobile-nav {
    inset: 0 auto 0 0;
    width: 300px;
    max-width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0 0 30px;
    border: 0;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    background-color: #fff;
}

.mobile-nav::backdrop {
    background-color: rgba(0, 0, 0, 0.3);
}

.mobile-nav-close {
    display: block;
    width: 100%;
    padding: 20px;
    border: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.6px;
    text-align: left;
    text-transform: uppercase;
    color: #333;
    background-color: #f8f8f8;
    cursor: pointer;
}

.mobile-nav-close .icon {
    margin-right: 8px;
    font-size: 15px;
    vertical-align: bottom;
}

.mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.035);
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: #555;
}

.mobile-nav a:hover {
    color: var(--color-primary);
}

/* Page sections */

.section {
    position: relative;
}

.section-inner {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 10px;
}

.section-light {
    background-color: var(--color-light-bg);
}

.section-title {
    margin: 0 0 20px;
    padding: 50px 0 5px;
    font-size: 36px;
    line-height: 1;
    text-align: center;
}

.section-title:last-child {
    margin-bottom: 0;
}

.section-title-compact {
    padding: 28px 0 15px;
}

.section-intro {
    padding-bottom: 39px;
}

.section-why {
    padding-bottom: 47px;
}

.text-muted {
    color: var(--color-muted);
}

/* Hero */

.hero {
    padding: 216px 0 100px;
    background-color: #333;
    background-image: url("../images/software-development-partner.jpg");
    background-image: image-set(url("../images/software-development-partner.webp") type("image/webp"), url("../images/software-development-partner.jpg") type("image/jpeg"));
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(96, 96, 96, 0.27) 0%, #000 100%);
    opacity: 0.5;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: 4.7em;
    line-height: 1;
    text-align: center;
    color: #efefef;
    text-shadow: 0 0 11px rgba(0, 0, 0, 0.52);
}

.hero-action {
    padding: 90px 0 20px;
    line-height: 1;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    background-color: var(--color-primary);
}

.button:hover {
    color: #fff;
}

/* Services grid */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.services-last {
    padding-bottom: 70px;
}

.service {
    padding-top: 40px;
}

.service figure {
    display: inline-block;
    width: 30%;
    margin-bottom: 15px;
}

.service img {
    display: block;
    margin: 0 auto;
}

.service h3 {
    margin: 0 0 20px;
}

.service p {
    margin: 0;
}

.service-web,
.service-desktop {
    padding-top: 53px;
}

.service-web figure {
    margin-bottom: 24px;
}

.service-desktop figure {
    margin-bottom: 12px;
}

.service-cloud figure {
    margin-bottom: 4px;
}

.service-integration figure {
    margin-bottom: 7px;
}

/* Why choose us */

.why-list {
    font-size: 1.1em;
}

.section-why ul {
    margin-top: 35px;
}

/* Contact form */

.contact {
    padding: 20px 0 40px;
}

.contact-lead {
    margin-bottom: 40px;
    text-align: center;
}

.contact-lead-large {
    font-size: 23px;
}

.form-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 17px;
}

.form-field:last-child {
    margin-bottom: 0;
}

.form-field label {
    margin-bottom: 3px;
}

.mark-required .form-field:has(:required) label::after {
    content: "*";
    padding-inline-start: 0.45em;
    color: red;
}

.form-field input,
.form-field textarea {
    width: 100%;
    min-height: 47px;
    padding: 6px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-muted);
    background-color: #fff;
    vertical-align: middle;
}

.form-field textarea {
    line-height: 1.4;
    resize: vertical;
}

.form-submit {
    min-height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 3px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--color-primary);
    cursor: pointer;
}

/* Page title bar */

.title-bar {
    background-color: var(--color-title-bar);
}

.title-bar h1 {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 37px 0 39px;
    font-size: 47px;
    line-height: 1;
    color: #fff;
}

.confirmation {
    display: flex;
    align-items: center;
    max-width: var(--container-width);
    min-height: 700px;
    margin: 0 auto;
}

.confirmation .section-inner {
    flex: 1;
}

/* Text pages (privacy policy, terms of use, ...) */

.page-content .agreement-title {
    padding-bottom: 28px;
}

.page-content-padded {
    padding: 10px;
    color: var(--color-muted);
}

.page-content-padded h1 {
    font-size: 18px;
    font-weight: 600;
}

.page-content-padded h1 + p {
    margin-bottom: 0;
}

.steps-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-primary);
}

.steps {
    margin-bottom: 60.4px;
    font-size: 18px;
    font-weight: 400;
}

/* Landing page */

.landing-logo {
    padding: 20px;
    background-color: var(--color-light-bg);
}

.landing-logo .section-inner {
    padding: 10px;
}

.landing-logo img {
    vertical-align: middle;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: 67.011% 32.942%;
}

.landing-hero-grid > * {
    padding: 10px;
}

.hero .landing-title {
    margin-bottom: 0;
    font-size: 2.4em;
}

.form-compact .form-field {
    margin-bottom: 10px;
}

.form-compact .form-field:last-child {
    margin-bottom: 0;
}

.form-compact label {
    color: var(--color-muted);
}

.form-compact input,
.form-compact textarea {
    min-height: 0;
    border-color: #69727d;
    border-radius: 3px;
}

.form-compact input {
    min-height: 40px;
    padding: 6px 12px;
    font-size: 14px;
}

.form-compact textarea {
    padding: 5px 14px;
    font-size: 15px;
}

.form-compact .form-submit {
    width: 100%;
}

/* Footer */

.site-footer {
    padding: 30px 0;
    color: var(--color-footer-text);
    background-color: var(--color-footer-bg);
}

.footer-row {
    display: grid;
    grid-template-columns: 33% 33% 33.332%;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-bottom {
    padding: 11px 0 30px;
}

.footer-title {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1;
    color: var(--color-footer-title);
}

.icon-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.icon-list li,
.icon-list a {
    display: flex;
    align-items: center;
}

.icon-list .icon {
    flex-shrink: 0;
    width: 1.25em;
    height: 1em;
    vertical-align: 0;
    color: var(--color-footer-strong);
}

.icon-list span {
    padding-left: 5px;
}

.icon-list li + li {
    margin-top: 1px;
}

.icon-list-spaced li + li {
    margin-top: 19px;
}

.icon-list-spaced span {
    color: var(--color-footer-strong);
}

.copyright {
    margin: 0 0 20px;
    font-size: 12px;
}

.legal-links {
    margin: 0;
}

.legal-links span {
    font-size: 12px;
    color: #fff;
}

.legal-links a {
    color: #fff;
}

/* Responsive */

@media (max-width: 1024px) {
    .confirmation {
        min-height: 550px;
    }
}

@media (max-width: 959px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 767px) {
    .top-bar .container {
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
    }

    .social-links {
        padding-top: 20px;
        line-height: 1.5em;
    }

    .hero {
        padding: 41px 0 0;
        background-image: url("../images/software-development-partner.jpg");
        background-image: image-set(url("../images/software-development-partner-768.webp") type("image/webp"), url("../images/software-development-partner.jpg") type("image/jpeg"));
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .landing-title {
        font-size: 26px;
    }

    .hero-action {
        padding: 25px 0 35px;
    }

    .services,
    .landing-hero-grid,
    .footer-row {
        grid-template-columns: 100%;
    }

    .confirmation {
        min-height: 400px;
    }

    .footer-row {
        text-align: center;
    }

    .footer-row .icon-list li,
    .footer-row .icon-list a {
        justify-content: center;
    }

    .footer-contacts {
        margin-top: 20px;
    }

    .legal-links {
        padding-left: 100px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }

    .site-logo img {
        width: 230px;
    }
}
