@import url('./fonts.css');

/* Contact Us block copied from Porto; scoped to the homepage section. */
.openbox-contact-section {
    padding: 48px 0;
    background: #f9f9f9;
    color: #777;
}
.openbox-contact-section h2 { margin: 0 0 20px; font-size: 30px; line-height: 1.3; color: #222529; }
.openbox-contact-section h4 { font-size: 20px; line-height: 1.4; margin-bottom: 16px; color: #0088cc; }
.openbox-contact-section .form-group { margin-bottom: 18px; }
.openbox-contact-section label { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #222529; }
.openbox-contact-section .form-control { width: 100%; min-width: 0; border: 1px solid #e3e3e3; border-radius: 0; background: #fff; box-shadow: none; height: 38px; }
.openbox-contact-section textarea.form-control { height: 134px; resize: vertical; }
.openbox-contact-section .btn { border-radius: 0; padding: 13px 25px; text-transform: uppercase; font-size: 12px; font-weight: 700; background: #0088cc; border-color: #0088cc; color: #fff; }
.openbox-contact-section .porto-separator hr { margin: 28px 0 22px; border: 0; border-top: 1px solid #e3e3e3; }
.openbox-contact-section .porto-sicon-box { margin-bottom: 24px; }
.openbox-contact-section .porto-sicon-title { line-height: 1.7; font-weight: 400; margin-bottom: 0; }
.openbox-contact-section .porto-sicon-default .porto-icon { margin-right: 15px; }
.openbox-contact-section [data-contact-status]:empty { display: none; }
@media (max-width: 767px) {
    .openbox-contact-section { padding: 32px 0; }
    .openbox-contact-section > .container > .row { row-gap: 28px; }
}

/* Six cards: three columns on desktop, two on tablet, one on phones. */
.openbox-info-title {
    margin: 0 0 32px;
    text-align: center;
    color: #222529;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}
.openbox-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 20px;
}
.openbox-info-grid > .openbox-info-column {
    width: auto;
    min-width: 0;
    padding: 0;
    float: none;
}
.openbox-info-grid .vc_column-inner,
.openbox-info-grid .porto-sicon-box {
    height: 100%;
}
.openbox-info-grid .porto-sicon-box {
    margin: 0 !important;
}
.openbox-info-grid .openbox-benefit-porto-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-right: 15px;
    color: #0088cc;
    font-size: 48px;
    line-height: 1;
}
@media (max-width: 991px) {
    .openbox-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .openbox-info-grid { grid-template-columns: 1fr; gap: 18px; }
    .openbox-info-grid .porto-sicon-box { padding: 24px 20px !important; }
}

/* Общий шрифт сайта. Меняйте название только в строке ниже.
   Подключены локально: 'Roboto', 'Noto Sans', 'Poppins'.
   Noto Sans здесь покрывает латиницу, кириллицу и греческий;
   для других письменностей нужны отдельные варианты Noto. */
:root {
    --openbox-font-family: 'Noto Sans';
}

/* Симметричные отступы сверху и снизу содержимого шапки. */
#header .vc_custom_1753259687499 {
    padding-top: 60px !important;
}

#header .vc_custom_1753259692698 {
    padding-bottom: 60px !important;
}

#header .vc_custom_1753261475196 {
    margin-bottom: 0 !important;
}

/* Intro block from Porto Corporate 1. */
.openbox-corporate-intro {
    padding: 60px 0 36px;
    background: #fff;
    text-align: center;
}
.openbox-corporate-intro h2 {
    margin: 0 0 20px;
    color: #222529;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.05em;
}
.openbox-corporate-intro .word-rotator-items {
    color: #fff;
    background: #21252f;
}
.openbox-corporate-intro .lead {
    margin-bottom: 0;
    color: #777;
    font-size: 20px;
    font-weight: 300;
}
.openbox-corporate-intro .lead p {
    margin-bottom: 0;
}
@media (max-width: 575px) {
    .openbox-corporate-intro h2 { font-size: 26px; }
    .openbox-corporate-intro .lead { font-size: 18px; }
}

/* Benefits section from openbox2. */
.openbox-benefits {
    width: 100%;
    padding: 52px 0 64px;
    background: #fff;
    font-family: var(--openbox-font-family), Arial, sans-serif;
}

.openbox-benefits__container > h2 {
    margin: 0 0 42px;
    color: #222529;
    font-family: var(--openbox-font-family), Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.4px;
    text-align: center;
}

.openbox-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 28px;
}

.openbox-benefit {
    min-width: 0;
    color: #777;
    text-align: center;
}

.openbox-benefit__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 15px;
    border: 2px solid #0088cc;
    border-radius: 50%;
    color: #0088cc;
    font-size: 35px;
    line-height: 1;
    box-sizing: border-box;
}

.openbox-benefit__icon i {
    line-height: 1;
}
.openbox-benefit__icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.openbox-benefit h3 {
    margin: 0 0 3px;
    color: #222529;
    font-family: var(--openbox-font-family), Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.openbox-benefit__subtitle {
    margin: 0 0 13px;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.openbox-benefit__description {
    max-width: 270px;
    margin: 0 auto;
    color: #777;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85;
}

@media (max-width: 1199px) and (min-width: 768px) {
    .openbox-benefits__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        row-gap: 45px;
    }

    .openbox-benefit {
        grid-column: span 2;
    }

    .openbox-benefit:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .openbox-benefit:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 767px) {
    .openbox-benefits { padding: 46px 0 54px; }
    .openbox-benefits__container > h2 { margin-bottom: 36px; font-size: 26px; }
    .openbox-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 24px; }
    .openbox-benefit:last-child { grid-column: 1 / -1; width: calc(50% - 12px); margin: 0 auto; }
}

@media (max-width: 575px) {
    .openbox-benefits__grid { grid-template-columns: 1fr; }
    .openbox-benefit:last-child { grid-column: auto; width: auto; }
}


/* Team section from openbox2. */
.openbox-founders {
    margin: 0;
    padding: 81px 0 66px;
    background: #ededed;
    color: #262626;
    font-family: var(--openbox-font-family), Arial, sans-serif;
}

.openbox-founders__container {
    width: min(calc(100% - 40px), 1180px);
    margin: 0 auto;
    text-align: center;
}

.openbox-founders h2 {
    margin: 0 0 44px;
    color: #262626;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.7px;
    line-height: 1.25;
}

.openbox-founders__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.openbox-founder {
    min-width: 0;
    margin: 0;
    text-align: center;
}

.openbox-founder img {
    display: block;
    width: 100%;
    max-width: 282px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto 20px;
}

.openbox-founder h3 {
    margin: 0 0 3px;
    color: #262626;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.openbox-founder p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.openbox-founders__quote {
    background: transparent;
    max-width: 980px;
    margin: 0 auto 20px;
    padding: 0;
    border: 0;
    color: #777;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.82;
}

.openbox-founders__signature {
    mix-blend-mode: multiply;
    display: block;
    width: 270px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .openbox-founders__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 24px;
    }
}

@media (max-width: 575px) {
    .openbox-founders {
        padding-top: 58px;
        padding-bottom: 50px;
    }

    .openbox-founders__container {
        width: calc(100% - 30px);
    }

    .openbox-founders h2 {
        margin-bottom: 34px;
        font-size: 28px;
    }

    .openbox-founders__grid {
        grid-template-columns: 1fr;
    }

    .openbox-founders__quote {
        font-size: 18px;
        line-height: 1.7;
    }

    .openbox-founders__signature {
        width: 210px;
    }
}


/* Work process from openbox2. */
.openbox-process__header {
    width: min(calc(100% - 40px), 1140px);
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

@media (min-width: 1410px) {
.openbox-process__header {
        width: calc(100% - 64px);
        max-width: 1600px;
    }
}

.openbox-process {
    width: 100%;
    overflow: hidden;
    padding: 74px 0 32px;
    border-top: 1px solid #eee;
    background: #fff;
    font-family: var(--openbox-font-family), Arial, sans-serif;
}

.openbox-process__header {
    text-align: center;
}

.openbox-process__header h2 {
    margin: 0 0 18px;
    color: #222529;
    font-family: var(--openbox-font-family), Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.8px;
}

.openbox-process__header h2 span {
    display: inline-block;
    padding: 5px 10px 6px;
    background: #0088cc;
    color: #fff;
    line-height: 1;
}

.openbox-process__header > p {
    max-width: 930px;
    margin: 0 auto;
    color: #777;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.openbox-process__map {
    position: relative;
    width: min(calc(100% - 30px), 1350px);
    min-height: 470px;
    overflow: hidden;
    margin: 42px auto 0;
    background: url('../images/concept-96c8803e5e26.png') center top / 1350px 346px no-repeat;
}

.openbox-process__sun,
.openbox-process__cloud {
    position: absolute;
    display: block;
    height: 56px;
    background-repeat: no-repeat;
}

.openbox-process__sun {
    z-index: 0;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    background: none;
    offset-path: path('M -30 335 C 80 170 160 60 300 55 C 620 20 930 150 1380 15');
    offset-distance: 0%;
    offset-rotate: 0deg;
    opacity: 0;
    animation: openbox-sun-travel 16s linear infinite;
    will-change: offset-distance, opacity;
}

.openbox-process__sun::before {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffd740 0 38%, #f9b800 39% 47%, transparent 49%),
        repeating-conic-gradient(from 0deg, #f9b800 0deg 7deg, transparent 7deg 22.5deg);
    filter: drop-shadow(0 4px 8px rgba(249, 184, 0, .24));
    content: '';
    animation: openbox-sun-spin 8s linear infinite;
}

.openbox-process__cloud {
    --cloud-scale: 1;
    --cloud-duration: 3s;
    --cloud-delay: 0s;
    width: 116px;
    background-image: url('../images/concept-icons-e56cc67a4fde.png');
    background-position: 100% 0;
    opacity: .9;
    transform: scale(var(--cloud-scale));
    transform-origin: center;
    animation: openbox-cloud-float var(--cloud-duration) ease-in-out var(--cloud-delay) infinite;
    will-change: transform;
}

.openbox-process__cloud--one {
    --cloud-scale: .72;
    --cloud-duration: 3.8s;
    --cloud-delay: -1.4s;
    top: 62px;
    left: 10%;
}

.openbox-process__cloud--two {
    --cloud-scale: .9;
    --cloud-duration: 4.4s;
    --cloud-delay: -.6s;
    top: 5px;
    left: 35%;
}

.openbox-process__cloud--three {
    --cloud-scale: .76;
    --cloud-duration: 3.5s;
    --cloud-delay: -2.1s;
    top: 76px;
    left: 58%;
}

.openbox-process__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: min(100%, 1140px);
    margin: 0 auto;
}

.openbox-process__step,
.openbox-process__result {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
}

.openbox-process__step--one {
    grid-column: 2 / span 2;
    padding-top: 120px;
}

.openbox-process__step--two {
    grid-column: 4 / span 2;
    padding-top: 95px;
}

.openbox-process__step--three {
    grid-column: 6 / span 2;
    padding-top: 120px;
}

.openbox-process__step-frame {
    position: relative;
    width: 160px;
    height: 175px;
    margin: 0 auto;
    background: url('../images/concept-item-a153ef46d27d.png') 0 0 no-repeat;
}

.openbox-process__step-frame img {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    width: 140px;
    height: 140px;
    margin: 0;
    border-radius: 50%;
    clip-path: circle(70px at 50% 50%);
    object-fit: cover;
}

.openbox-process__result {
    grid-column: 9 / span 4;
    padding-top: 15px;
}

.openbox-process__result-frame {
    width: 350px;
    height: 420px;
    margin: 0 auto;
    padding-top: 6px;
    background: url('../images/concept-item-a153ef46d27d.png') 100% 0 no-repeat;
    box-sizing: border-box;
}

.openbox-process__result-slides {
    position: relative;
    width: 338px;
    height: 338px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.openbox-process__result-slides img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    animation: openbox-process-result 12s infinite;
}

.openbox-process__result-slides img:nth-child(2) {
    animation-delay: 4s;
}

.openbox-process__result-slides img:nth-child(3) {
    animation-delay: 8s;
}

.openbox-process__step strong,
.openbox-process__result strong {
    display: block;
    position: relative;
    margin-top: 22px;
    color: #0088cc;
    font-family: var(--openbox-font-family), Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

.openbox-process__result strong {
    margin-top: -3px;
    font-size: 30px;
}

@keyframes openbox-process-result {
    0%, 28% { opacity: 1; }
    33%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes openbox-cloud-float {
    0%, 100% { transform: translateY(0) scale(var(--cloud-scale)); }
    50% { transform: translateY(-10px) scale(var(--cloud-scale)); }
}

@keyframes openbox-sun-travel {
    0% { offset-distance: 0%; opacity: 0; }
    4% { opacity: 1; }
    94% { opacity: 1; }
    98%, 100% { offset-distance: 100%; opacity: 0; }
}

@keyframes openbox-sun-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
.openbox-process__cloud,
.openbox-process__sun,
.openbox-process__sun::before {
        animation: none;
    }

.openbox-process__sun {
        offset-distance: 52%;
        opacity: 1;
    }

.openbox-process__result-slides img {
        animation: none;
        opacity: 0;
    }

.openbox-process__result-slides img:first-child {
        opacity: 1;
    }
}

@media (max-width: 991px) {
.openbox-process__map {
        min-height: 0;
        margin-top: 28px;
        background: none;
    }

.openbox-process__sun,
.openbox-process__cloud {
        display: none;
    }

.openbox-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 30px;
        width: min(100%, 720px);
    }

.openbox-process__step--one,
.openbox-process__step--two,
.openbox-process__step--three,
.openbox-process__result {
        grid-column: auto;
        padding-top: 34px;
    }

.openbox-process__result {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
.openbox-process__header {
        width: calc(100% - 30px);
        padding-right: 0;
        padding-left: 0;
    }

.openbox-process {
        padding-top: 54px;
    }

.openbox-process__header h2 {
        font-size: 27px;
        letter-spacing: -.45px;
    }

.openbox-process__header > p {
        font-size: 16px;
        line-height: 1.65;
    }
}

@media (max-width: 575px) {
.openbox-process__grid {
        grid-template-columns: 1fr;
    }

.openbox-process__result {
        grid-column: auto;
    }

.openbox-process__result-frame {
        width: 160px;
        height: 175px;
        padding-top: 8px;
        background-position: 0 0;
    }

.openbox-process__result-slides {
        width: 144px;
        height: 144px;
    }

.openbox-process__result strong {
        margin-top: 22px;
        font-size: 27px;
    }
}
/* Keep mobile search in the header flow, rather than a floating popup. */
@media (max-width: 767px) {
    #header .searchform-popup {
        display: block !important; width: calc(100vw - 40px) !important;
        max-width: none !important; flex-shrink: 0;
        margin: 0 0 18px !important;
    }
    #header .searchform-popup .search-toggle { display: none !important; }
    #header .searchform-popup .searchform {
        display: block !important; position: relative !important;
        top: auto !important; left: auto !important; right: auto !important;
        width: calc(100vw - 120px) !important; min-width: 0 !important; max-width: 500px;
        margin: 0 auto !important; opacity: 1 !important; visibility: visible !important;
        transform: none !important;
    }
    #header .searchform-fields { display: flex; width: 100%; }
    #header .searchform-fields .text { flex: 1; min-width: 0; }
    #header .searchform-fields input { width: 100%; min-width: 0; font-size: 16px; }
    #header .searchform-fields .button-wrap { flex: 0 0 44px; }
    #header .searchform-fields button { min-width: 44px; min-height: 44px; }
}

/* Keep the full application layout visible inside the result circle. */
.openbox-process__result-slides { background: #f4f6f7; }
.openbox-process__result-slides img:only-child { animation: none; opacity: 1; object-fit: cover; object-position: left center; padding: 0; box-sizing: border-box; border-radius: 0; filter: blur(.55px); }
