/* =============================================
   KURUMSAL SAYFALAR
   ============================================= */

.page-kurumsal {
    --hero-card-height: clamp(210px, 38vw + 80px, 250px);
    --hero-card-gap: 0.65rem;
    --hero-inner-overlap: var(--hero-card-gap);
    --hero-inner-min-height: calc(var(--header-stack-height) + var(--hero-card-height) + var(--hero-card-gap));
    --hero-inner-offset: var(--hero-card-height);
}

.page-kurumsal .site-main--kurumsal {
    background: transparent;
}

.page-kurumsal .hero {
    min-height: var(--hero-inner-min-height);
}

@media (min-width: 768px) {
    .page-kurumsal {
        --hero-card-height: clamp(220px, 20vw + 110px, 280px);
    }
}

.kurumsal-hero {
    width: 100%;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.kurumsal-hero__card {
    position: relative;
    overflow: hidden;
    min-height: var(--hero-card-height, clamp(220px, 20vw + 110px, 280px));
    border-radius: 24px;
}

.kurumsal-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: inherit;
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
    text-align: center;
}

.kurumsal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.875rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.kurumsal-hero__title {
    margin: 0;
    max-width: 44rem;
    color: #ffffff;
    font-size: clamp(1.625rem, 1.8vw + 1rem, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.kurumsal-hero__desc {
    margin: 0;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.875rem, 0.35vw + 0.75rem, 1rem);
    line-height: 1.65;
}

.kurumsal-page {
    padding: 0 0 2.5rem;
}

.kurumsal-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.kurumsal-page__main {
    min-width: 0;
}

.kurumsal-panel {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.kurumsal-panel__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #edf0f5;
    text-align: center;
}

.kurumsal-panel__logo {
    width: min(9rem, 42vw);
    height: auto;
    object-fit: contain;
}

.kurumsal-panel__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw + 0.75rem, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.kurumsal-panel__intro {
    margin: 0 0 1.25rem;
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.7;
    text-align: center;
}

.kurumsal-panel__section-title {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.3;
}

.kurumsal-panel__figure {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.kurumsal-panel__figure img {
    width: 100%;
    max-height: 18rem;
    border-radius: 18px;
    object-fit: cover;
}

.kurumsal-prose {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.75;
}

.kurumsal-prose p,
.kurumsal-prose li {
    margin: 0 0 1rem;
}

.kurumsal-prose p:last-child,
.kurumsal-prose li:last-child {
    margin-bottom: 0;
}

.kurumsal-prose h2,
.kurumsal-prose h3,
.kurumsal-prose h4 {
    margin: 1.5rem 0 0.75rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.35;
}

.kurumsal-prose h2 { font-size: 1.25rem; }
.kurumsal-prose h3 { font-size: 1.0625rem; }
.kurumsal-prose h4 { font-size: 1rem; }

.kurumsal-prose ul,
.kurumsal-prose ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.kurumsal-prose a {
    color: #3566df;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.kurumsal-sidebar__card {
    padding: 1.15rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.kurumsal-sidebar__title {
    margin: 0 0 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #edf0f5;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.kurumsal-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kurumsal-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.kurumsal-sidebar__link:hover {
    background: #eef2ff;
    color: #1e40af;
    transform: translateX(2px);
}

.kurumsal-sidebar__link.is-active {
    background: linear-gradient(135deg, #3566df 0%, #0e3193 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(53, 102, 223, 0.24);
}

.kurumsal-sidebar__link.is-active i {
    opacity: 0.92;
}

@media (min-width: 992px) {
    .kurumsal-page__layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.75fr);
    }

    .kurumsal-panel__figure {
        grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.4fr);
        align-items: start;
    }

    .kurumsal-panel__intro {
        text-align: left;
    }

    .kurumsal-panel__head {
        align-items: flex-start;
        text-align: left;
    }
}

/* ---- İletişim ---- */

.kurumsal-contact-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #edf0f5;
}

.kurumsal-contact-head__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #3566df 0%, #0e3193 100%);
    color: #ffffff;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.kurumsal-contact-head__title {
    margin: 0 0 0.35rem;
    color: #0f172a;
    font-size: clamp(1.25rem, 2vw + 0.5rem, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
}

.kurumsal-contact-head__desc {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
}

.kurumsal-contact-form__title {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.0625rem;
    font-weight: 800;
    text-align: center;
}

.kurumsal-contact-form {
    display: grid;
    gap: 0.85rem;
}

.kurumsal-contact-form__field label {
    display: block;
    margin-bottom: 0.35rem;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
}

.kurumsal-contact-form__input,
.kurumsal-contact-form__textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kurumsal-contact-form__textarea {
    min-height: 8rem;
    resize: vertical;
}

.kurumsal-contact-form__input:focus,
.kurumsal-contact-form__textarea:focus {
    outline: none;
    border-color: #3566df;
    box-shadow: 0 0 0 3px rgba(53, 102, 223, 0.12);
}

.kurumsal-contact-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
}

.kurumsal-contact-form__submit {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #3566df 0%, #0e3193 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(53, 102, 223, 0.24);
}

.kurumsal-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.kurumsal-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 1rem 0.75rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #edf0f5;
    text-align: center;
}

.kurumsal-contact-card__icon {
    color: #3566df;
    font-size: 1.35rem;
}

.kurumsal-contact-card__title {
    color: #3566df;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.kurumsal-contact-card__desc {
    margin: 0;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .kurumsal-contact-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kurumsal-contact-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .kurumsal-contact-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}
