/* =============================================
   VARIABLES
   ============================================= */
:root {
    --primary:       #1D75C8;
    --primary-dark:  #1347A8;
    --primary-light: #EBF2FF;
    --text:          #1A202C;
    --text-muted:    #181F25;
    --border:        #B1B0B0;
    --bg-light:      #F7F9FC;
    --white:         #FFFFFF;
    --shadow:        0 4px 20px rgba(0,0,0,0.08);
    --radius:        10px;
}

/* =============================================
   BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Onest', sans-serif;
    color: var(--text);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; padding: 0; margin: 0; }
p  { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.mobile {
    display: none;
}

/* =============================================
   SHARED BUTTONS
   ============================================= */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-primary:hover { background: var(--primary-dark); color: var(--white); }

/* =============================================
   HEADER
   ============================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.1); }

.header__inner {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__logo { flex-shrink: 0; display: flex; align-items: center; }

/* Nav */
.header__nav { flex: 1; }

.header__nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.header__nav-list a {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.header__nav-list a:hover { color: var(--primary); border-bottom-color: var(--primary); }

.has-dropdown { position: relative; }

.header__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 0;
    min-width: 210px;
    box-shadow: var(--shadow);
    z-index: 100;
}

.has-dropdown:hover .header__dropdown { display: block; }

.header__dropdown li a {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    border-bottom: none;
}

.header__dropdown li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Header actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__lang-wrap {
    position: relative;
}

.header__lang {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
    background: none;
    cursor: pointer;
}

.header__lang:hover,
.header__lang-wrap.is-open .header__lang {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-arrow {
    transition: transform 0.2s;
}

.header__lang-wrap.is-open .lang-arrow {
    transform: rotate(180deg);
}

.header__lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 100;
    padding: 0;
    margin: 0;
}

.header__lang-wrap.is-open .header__lang-dropdown {
    display: block;
}

.header__lang-dropdown li {
    list-style: none;
}

.header__lang-dropdown button {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}

.header__lang-dropdown button:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Mobile phone button */
.header__phone-btn {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.header__phone-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* Hamburger */
.hamburger {
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 190;
    padding: 28px 20px;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.mobile-menu.is-open { display: flex !important; }

.mobile-menu ul { flex: 1; display: flex; flex-direction: column; }

.mobile-menu li a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

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

.mobile-menu .btn-primary { text-align: center; }

/* =============================================
   HERO
   ============================================= */
.hero { overflow: hidden; }

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 80px);
}

.hero__inner-1 {
    background: url("../img/hero-01.jpg") no-repeat center center;
    background-size: cover;
}

.hero__inner-2 {
    background: url("../img/hero-02.jpg") no-repeat center center;
    background-size: cover;
}

.hero__inner-3 {
    background: url("../img/hero-03.jpg") no-repeat center center;
    background-size: cover;
}

.hero__text {
    background: #181f25ba;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__text h1 {
    color: var(--white);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 32px;
}

.btn-hero {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    width: fit-content;
    transition: background 0.2s;
}

.btn-hero:hover { background: var(--primary-dark); color: var(--white); }

.hero__img {
    min-height: 460px;
    background-size: cover;
    background-position: center;
}

.hero__img--1 {
    background:
        linear-gradient(to bottom right, rgba(42,82,152,0.35), rgba(100,140,200,0.15)),
        repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,0.04) 48px, rgba(255,255,255,0.04) 49px),
        repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,0.04) 48px, rgba(255,255,255,0.04) 49px),
        linear-gradient(135deg, #5a7fa8 0%, #8aaac8 40%, #c0d4e4 100%);
}

.hero__img--2 {
    background: linear-gradient(135deg, #2d5a3d 0%, #4a8a5e 50%, #78b88a 100%);
}

/* Swiper overrides */
.hero__swiper { width: 100%; }

.hero__pagination {
    position: absolute !important;
    bottom: 185px !important;
    left: 107px !important;
    width: auto !important;
    display: flex;
    gap: 8px;
}

.hero__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 1;
    transition: background 0.3s;
}

.hero__pagination .swiper-pagination-bullet-active { 
    background: var(--primary); 
    width: 30px;
    border-radius: 5px;
}

.swiper-button-prev,
.swiper-button-next {
    color: rgba(255,255,255,0.85) !important;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(255,255,255,0.22);
    transition: background 0.2s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover { background: rgba(255,255,255,0.22); }

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 15px !important; font-weight: 700 !important; }

/* =============================================
   ABOUT
   ============================================= */
.about { padding: 100px 0; }

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about__content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about__content > p {
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

.about__img--1 { background: linear-gradient(135deg, #6e96be 0%, #a8c4d8 100%); }
.about__img--2 { background: linear-gradient(135deg, #5080b0 0%, #88b0cc 100%); }
.about__img--3 { background: linear-gradient(135deg, #90aec8 0%, #bcd0df 100%); }

/* =============================================
   SERVICES
   ============================================= */
.services {
    padding: 70px 0;
}

.services__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #B1B0B0;
}

.services__top h2 { font-size: 40px; font-weight: 700; }

.services__arrows { display: flex; gap: 8px; }

.arrow-btn {
    width: 56px;
    height: 56px;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text);
}

.arrow-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.arrow-btn svg {
    color: var(--border);
}

.arrow-btn:hover svg {
    color: var(--primary);
}

.services__swiper { overflow: visible; }
.services { overflow: hidden; }

.services__swiper .swiper-wrapper {
    height: 660px;
}

/* Service card */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(27,95,212,0.1);
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.service-card h3 {
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

.service-card:hover h3 { color: var(--primary); }

.service-card ul {
    flex: 1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-card li {
    font-size: 16px;
    color: var(--text-muted);
    padding-left: 40px;
    position: relative;
    line-height: 1.5;
    padding-top: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid #B1B0B0;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: url("../img/check-black.png") no-repeat center/contain;
}

.service-card:hover li::before {
    background: url("../img/check-blue.png") no-repeat center/contain;
}

.btn-service {
    display: block;
    text-align: center;
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--text-muted);
    color: var(--text);
    transition: all 0.2s;
    font-family: inherit;
}

.btn-service:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-service--filled:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* =============================================
   ADVANTAGES
   ============================================= */
.adv { 
    padding: 90px 0; 
    position: relative;
}

.adv > .container > h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #B1B0B0;
}

.adv__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.adv__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.adv__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    background: #F6F6F6;
    padding: 38px 24px;
    border-radius: 10px;
}

.adv__icon {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-shrink: 0;
    gap: 10px;
}

.adv__item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.4;
}

.adv__item p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.55;
}

.adv__img.desktop {
    position: absolute;
    right: 0;
    top: calc(50% - 250px);
}

/* =============================================
   PRICE
   ============================================= */
.price { padding: 0 0 60px; }

.price__inner {
    background: var(--primary);
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    position: relative;
}

.price__content {
    padding: 52px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.price__content h2 {
    color: var(--white);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
}

.price__list { display: flex; flex-direction: column; gap: 12px; }

.price__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    max-width: 400px;
    gap: 16px;
}

.price__row span {
    color: var(--text-muted);
    font-weight: 700;
}

.price__download {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.price__download:hover { background: rgba(255,255,255,0.35); }

.price__img {
    position: absolute;
    top: -44px;
    right: -23px;
}

.price__logo {
    position: absolute;
    top: -80px;
    left: 50px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact { padding: 90px 0; }

.contact__inner {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
}

.contact__left h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.contact__item { display: flex; gap: 14px; align-items: flex-start; }

.contact__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 3px;
}

.contact__item a {
    font-size: 18px;
    display: block;
    color: var(--text);
}

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

.contact__item > div > p:not(.contact__label) {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}

.contact__partners-title {
    font-size: 14px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.contact__partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.partner {
    border-radius: 6px;
}

.partner--wide   { 
    font-size: 24px;
    font-weight: 600;
    color: #081F62;
    grid-column: span 2; 
}

/* Contact form */
.contact__form-wrap {
    background: #F6F6F6;
    border-radius: 10px;
    padding: 53px 43px;
}

.contact__form-wrap h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group { margin-bottom: 30px; }

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-family: inherit;
}

.form-group input,
.form-group select,
.form-group textarea {
    height: 56px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23718096' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27,95,212,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #BCC4CC; }

.form-group textarea {
    min-height: 82px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.2s;
    margin-top: 4px;
}

.btn-submit:hover { background: var(--primary-dark); }
.btn-submit.sent   { background: #16A34A; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.modal-overlay.is-open {
    display: flex;
}

.modal {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--bg-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}

.modal__close:hover {
    background: #fee2e2;
    color: #dc2626;
}

.modal .contact__form-wrap {
    box-shadow: none;
    border: none;
    border-radius: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: #F6F6F6;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    height: 150px;
}

.footer__logo { display: flex; align-items: center; }

.footer p {
    font-family: 'Inter';
    font-size: 16px;
    color: #181F25;
    display: flex;
    align-items: center;
}

.footer a { 
    margin-left: 10px;
 }
.footer a:hover { color: var(--white); }

