/* ============================================================
   company.css - Sirket sayfalari (Ortaklar, Referanslar, Iletisim)
   home2.css tasarim sistemini tamamlar. .h2-page altinda.
   ============================================================ */

/* ---- Logo grid (partner / referans) ---- */
.h2c-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.h2c-logo {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .h2c-logo:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(15, 27, 45, .1);
        border-color: transparent;
    }

    .h2c-logo img {
        max-width: 100%;
        max-height: 62px;
        width: auto;
        filter: grayscale(100%);
        opacity: .72;
        transition: filter .25s ease, opacity .25s ease;
    }

    .h2c-logo:hover img {
        filter: none;
        opacity: 1;
    }

.h2c-sector {
    font-size: .82rem;
    font-weight: 600;
    color: var(--slate);
    text-align: center;
}

/* ---- Partner seviyeleri ---- */
.h2c-level {
    text-align: center;
    margin: 8px 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .h2c-level::before,
    .h2c-level::after {
        content: "";
        height: 1px;
        width: 60px;
        background: var(--line);
    }

    .h2c-level span {
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: .04em;
    }

.h2c-level.platinum span { color: #2BB9D9; }
.h2c-level.gold span { color: #F2913D; }
.h2c-level.silver span { color: #A6212C; }

/* ---- Iletisim ---- */
.h2c-contact {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 44px;
    align-items: start;
}

.h2c-info h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    margin: 0 0 14px;
}

.h2c-info p {
    color: var(--slate);
    font-size: 1.02rem;
    margin: 0 0 24px;
}

.h2c-addr {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
    font-style: normal;
    color: #3f4a60;
    line-height: 1.7;
    font-size: .96rem;
}

    .h2c-addr .h2c-addr-ico {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 11px;
        display: grid;
        place-items: center;
        background: rgba(232, 69, 69, .1);
        color: var(--red);
        font-size: 1.05rem;
    }

.h2c-info .h2c-social {
    display: flex;
    gap: 10px;
}

    .h2c-info .h2c-social a {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        display: grid;
        place-items: center;
        background: var(--navy);
        color: #fff;
        text-decoration: none;
        transition: background .2s ease, transform .2s ease;
    }

        .h2c-info .h2c-social a:hover {
            background: var(--red);
            transform: translateY(-2px);
        }

.h2c-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 24px 50px rgba(15, 27, 45, .07);
}

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

.h2c-field {
    margin-bottom: 16px;
}

    .h2c-field label {
        display: block;
        font-size: .84rem;
        font-weight: 600;
        color: var(--ink);
        margin-bottom: 7px;
    }

    .h2c-field input,
    .h2c-field select,
    .h2c-field textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 10px;
        font-family: inherit;
        font-size: .95rem;
        color: var(--ink);
        background: #fff;
        transition: border-color .18s ease, box-shadow .18s ease;
    }

        .h2c-field input:focus,
        .h2c-field select:focus,
        .h2c-field textarea:focus {
            outline: none;
            border-color: var(--red);
            box-shadow: 0 0 0 3px rgba(232, 69, 69, .12);
        }

    .h2c-field textarea {
        resize: vertical;
        min-height: 120px;
    }

.h2c-msg {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: .92rem;
    display: none;
}

    .h2c-msg.ok {
        background: rgba(38, 166, 154, .12);
        color: #1f7a70;
        display: block;
    }

    .h2c-msg.err {
        background: rgba(232, 69, 69, .1);
        color: #b93030;
        display: block;
    }

@media (max-width: 900px) {
    .h2c-logos { grid-template-columns: repeat(3, 1fr); }
    .h2c-contact { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .h2c-logos { grid-template-columns: repeat(2, 1fr); }
    .h2c-form-row { grid-template-columns: 1fr; }
    .h2c-form { padding: 24px; }
}
