/* =========================================
   КОМПОНЕНТЫ
   ========================================= */

/* BUTTONS */

.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #00131d;
    background: linear-gradient(90deg, #00d8ff, #42e7ff);
    box-shadow: 0 10px 30px rgba(0,216,255,.18);
}

.btn-secondary {
    color: #fff;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.16);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.09);
}

/* SERVICES */

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

.service-card {
    min-height: 280px;
    padding: 28px;
    background: linear-gradient(145deg, #081a2b, #061522);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,216,255,.35);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 14px;
    background: rgba(0,216,255,.08);
}

.service-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3,
.solution-card h3,
.advantage h3,
.process-step h3 {
    margin: 0 0 10px;
}

.service-card h3 {
    font-size: 19px;
}

.service-card p,
.solution-card p,
.advantage p,
.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* SOLUTIONS */

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

.solution-card {
    min-height: 210px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.025);
}

.solution-card > span {
    display: block;
    margin-bottom: 35px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* ADVANTAGES */

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

.advantage {
    position: relative;
    padding-left: 26px;
    border-left: 1px solid rgba(0,216,255,.35);
}

.advantage-number {
    margin-bottom: 25px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
}

/* PROCESS */

.process {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr;
    align-items: start;
    gap: 10px;
}

.process-step > span {
    display: inline-flex;
    margin-bottom: 25px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.process-line {
    height: 1px;
    margin-top: 8px;
    background: rgba(0,216,255,.3);
}

/* PROJECTS */

.projects-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.projects-heading > p {
    max-width: 390px;
    margin: 0;
}

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

.projects-loading {
    grid-column: 1 / -1;
    padding: 60px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: 18px;
}

.project-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #071625;
}

.project-main-image {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: cover;
    cursor: pointer;
}

.project-body {
    padding: 22px;
}

.project-body h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.project-body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.project-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
}

.project-thumb {
    width: 64px;
    height: 52px;
    flex: 0 0 64px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTACTS */

.section-contact {
    background:
        radial-gradient(circle at 75% 35%, rgba(0,216,255,.08), transparent 30%),
        var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 80px;
    align-items: start;
}

.contact-info > p {
    max-width: 620px;
    margin: 24px 0 35px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    color: #fff;
}

.contact-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(0,216,255,.08);
    color: var(--cyan);
}

.contact-item > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item small {
    color: var(--muted);
    font-size: 11px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.social-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
}

.social-link.max img {
    width: 20px;
    height: 20px;
}

.contact-form {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
}

.form-title {
    font-size: 25px;
    font-weight: 900;
}

.form-subtitle {
    margin: 8px 0 25px;
    color: var(--muted);
    font-size: 14px;
}

.contact-form label {
    display: block;
    margin-bottom: 17px;
}

.contact-form label > span {
    display: block;
    margin-bottom: 7px;
    color: #dce8f0;
    font-size: 13px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    outline: none;
    padding: 13px 14px;
    color: #fff;
    background: rgba(0,0,0,.18);
    transition: border-color .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(0,216,255,.55);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-button {
    width: 100%;
    margin-top: 5px;
}

.form-status {
    min-height: 22px;
    margin-top: 12px;
    color: var(--green);
    font-size: 13px;
}
