/* ============================================================
   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; }
}

/* a client whose logo file is missing: its name instead of a broken picture */
.h2c-logo-name {
    font-weight: 600;
    font-size: .95rem;
    color: #0f1b2d;
    text-align: center;
    line-height: 1.3;
}

/* ============================================================
   v4 pages: About, References, Partners, Contact, Resources,
   Demos. Scoped helpers on top of home2.css. Pages whose layout
   section does not load company.css link it from the partial.
   ============================================================ */

/* outline button for white cards and light sections */
.h2-page .h2c-btn-line {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

    .h2-page .h2c-btn-line:hover {
        background: #fff;
        color: var(--red);
        border-color: var(--red);
        transform: translateY(-2px);
    }

.h2-page .h2p-module .h2c-btn-line {
    align-self: flex-start;
    margin-top: auto;
}

.h2c-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.h2-head .h2c-actions { margin-top: 28px; }

.h2-page .h2-head.h2c-flush { margin-bottom: 0; }

.h2-cta-inner .h2c-actions .h2-btn-ghost { border-color: rgba(255, 255, 255, .55); }

/* text + picture rows */
.h2c-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
}

    .h2c-row.rev > .h2c-media { order: -1; }

.h2c-row-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
}

.h2c-row-text > p {
    color: var(--slate);
    font-size: 1.04rem;
    margin: 16px 0 22px;
}

.h2c-media { min-width: 0; }

/* check list */
.h2c-checks {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

    .h2c-checks li {
        position: relative;
        padding-left: 32px;
        margin-bottom: 13px;
        color: #3f4a60;
        font-size: .97rem;
        line-height: 1.55;
    }

        .h2c-checks li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: 2px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(38, 166, 154, .14);
            color: var(--teal);
            font-size: .7rem;
            font-weight: 700;
            display: grid;
            place-items: center;
        }

        .h2c-checks li strong { color: var(--ink); }

/* screenshots with captions */
.h2c-fig {
    margin: 0;
    min-width: 0;
}

    .h2c-fig .h2-frame {
        transition: transform .3s ease, box-shadow .3s ease;
    }

    .h2c-fig a.h2-frame { display: block; }

        .h2c-fig a.h2-frame:hover {
            transform: translateY(-4px);
            box-shadow: 0 34px 70px rgba(0, 0, 0, .35);
        }

    .h2c-fig figcaption {
        margin-top: 16px;
        color: var(--slate);
        font-size: .95rem;
        line-height: 1.55;
    }

        .h2c-fig figcaption b {
            display: block;
            color: var(--ink);
            font-size: 1.06rem;
            font-weight: 700;
            margin-bottom: 4px;
        }

    .h2c-fig.is-natural figcaption {
        text-align: center;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

/* small windows keep their own size (+2 px frame border) */
.h2-page .h2c-w460 { max-width: 462px; margin-left: auto; margin-right: auto; }
.h2-page .h2c-w580 { max-width: 582px; margin-left: auto; margin-right: auto; }
.h2-page .h2c-w940 { max-width: 942px; margin-left: auto; margin-right: auto; }
.h2-page .h2c-w1100 { max-width: 1102px; margin-left: auto; margin-right: auto; }

/* product tour */
.h2c-tour-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: -18px auto 58px;
}

.h2-page a.h2-pill {
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

    .h2-page a.h2-pill:hover {
        border-color: var(--red);
        color: var(--red);
        transform: translateY(-2px);
    }

.h2c-tour {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 34px;
    align-items: start;
}

    .h2c-tour > .is-wide { grid-column: 1 / -1; }
    .h2c-tour > .is-center { align-self: start; }

.h2c-hint {
    text-align: center;
    color: var(--slate);
    font-size: .9rem;
    margin: 0 0 28px;
}

/* dark sections */
.h2-dark .h2c-fig figcaption { color: #a9bad6; }
.h2-dark .h2c-fig figcaption b { color: #fff; }
.h2-dark .h2c-row-text h2 { color: #fff; }
.h2-dark .h2c-row-text > p { color: #b9c7de; }
.h2-dark .h2c-checks li { color: #c4d0e6; }
.h2-dark .h2c-checks li strong { color: #fff; }

/* four steps in a row */
.h2-page .h2c-steps-4 { grid-template-columns: repeat(4, 1fr); }

/* comparison table */
.h2c-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-bottom: 44px;
}

.h2c-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

    .h2c-table th,
    .h2c-table td {
        padding: 16px 22px;
        text-align: left;
        vertical-align: top;
        border-bottom: 1px solid var(--line);
        font-size: .95rem;
        line-height: 1.5;
    }

    .h2c-table thead th {
        background: var(--bg-soft);
        color: var(--ink);
        font-size: .8rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .h2c-table tbody th {
        width: 22%;
        color: var(--ink);
        font-weight: 600;
    }

    .h2c-table td { color: #3f4a60; }

    .h2c-table tbody tr:last-child th,
    .h2c-table tbody tr:last-child td { border-bottom: 0; }

/* contact: short list of reasons to write */
.h2c-links {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

    .h2c-links li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        margin-bottom: 14px;
        color: #3f4a60;
        font-size: .96rem;
        line-height: 1.55;
    }

        .h2c-links li > i {
            width: 36px;
            height: 36px;
            flex-shrink: 0;
            border-radius: 10px;
            display: grid;
            place-items: center;
            background: rgba(38, 166, 154, .12);
            color: var(--teal);
            font-size: .95rem;
        }

        .h2c-links li strong { color: var(--ink); }

    .h2c-links a {
        color: var(--red);
        font-weight: 600;
        text-decoration: none;
    }

        .h2c-links a:hover { text-decoration: underline; }

@media (max-width: 980px) {
    .h2c-row { grid-template-columns: 1fr; gap: 36px; }
    .h2c-row.rev > .h2c-media { order: 0; }
    .h2-page .h2c-steps-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .h2c-tour { grid-template-columns: 1fr; gap: 40px; }
    .h2c-tour-nav { margin-top: -26px; }
}

@media (max-width: 560px) {
    .h2-page .h2c-steps-4 { grid-template-columns: 1fr; }
    .h2c-actions { flex-direction: column; align-items: stretch; }
    .h2c-actions .h2-btn { justify-content: center; }
}

/* contact form: consent box and the privacy notice (KVKK) */
.h2c-field label.h2c-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .85rem;
    line-height: 1.5;
    color: #5b6684;
    font-weight: 400;
    cursor: pointer;
}
.h2c-field .h2c-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: #cf3636;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    appearance: auto;
}
.h2c-check a {
    color: #c62f2f;
    font-weight: 600;
}
.h2c-kvkk {
    margin-top: 22px;
    border: 1px solid #e7ebf3;
    border-radius: 12px;
    background: #f8fafd;
    padding: 14px 18px;
    font-size: .84rem;
    line-height: 1.6;
    color: #3a4660;
}
.h2c-kvkk summary {
    cursor: pointer;
    font-weight: 600;
    color: #0f1b2d;
}
.h2c-kvkk p {
    margin: 10px 0 0;
}
