/* =========================================================
   İKİZLER GROUP — kurumsal sayfalar için header ve footer
   (style.css'teki header/footer kurallarının kopyası; ana sayfayla
   aynı görünsün diye. Değişkenler Kalıp tokenlarını ezmesin diye
   .header ve .footer üzerinde tanımlı.)
   ========================================================= */
:root {
    --hh: 88px;
}

.header,
.footer,
.nav {
    --ink: #16181b;
    --steel: #edeeee;
    --paper: #ffffff;
    --copper: #c08578;
    --muted: #676c72;
    --line: rgba(22, 24, 27, .12);
    --line-dark: rgba(255, 255, 255, .14);
    --ease: cubic-bezier(.6, 0, .2, 1);
    --dur: .5s;
    font-size: 17px;
    line-height: 1.6;
}

:where(.header, .footer) ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.header, .footer) svg {
    display: block;
    max-width: 100%;
}

.header .container,
.footer .container {
    width: 100%;
    max-width: 1680px;
    margin-inline: auto;
    padding-inline: clamp(20px, 6vw, 120px);
}

body.is-locked {
    overflow: hidden;
}

/* Sayfa başlığı header'ın altından başlar */
.page-hero {
    margin-top: 0;
    padding-top: calc(var(--hh) + clamp(56px, 6vw, 110px));
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    position: fixed;
    top: 5px;
    left: 0;
    z-index: 100;
    width: 100%;
    color: #fff;
    transition: transform var(--dur), background-color var(--dur), color var(--dur), box-shadow var(--dur);
}

.header.scroll-down {
    top: 0;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
}

.header.scroll-up {
    transform: translateY(-100%);
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    height: var(--hh);
}

.logo {
    flex-shrink: 0;
    width: clamp(130px, 79vw, 242px);
    color: inherit;
}

.logo svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1291.86 / 375.04;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 52px);
}

.nav__mobile-only {
    display: none;
}

.nav__link {
    position: relative;
    display: block;
    font-size: 15px;
        font-weight: 600;
    letter-spacing: -.1px;
    text-transform: uppercase;
    white-space: nowrap;
    padding-block: 6px;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-current::after {
    transform: scaleX(1);
}

/* Alt menü (Kurumsal) */
.has-sub {
    position: relative;
}

.nav__sub {
    position: absolute;
    top: 100%;
    left: -22px;
    min-width: 230px;
    margin-top: 14px;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(22, 24, 27, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.nav__sub::before {
    content: "";
    position: absolute;
    inset: -14px 0 100%;
}

.has-sub:hover .nav__sub,
.has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav__sub a {
    display: block;
    padding: 10px 22px;
    font-size: 15px;
    white-space: nowrap;
    transition: color .3s, background-color .3s;
}

.nav__sub a:hover {
    color: var(--copper);
    background: var(--steel);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    letter-spacing: -.2px;
}

.contact-link::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--dur);
}

.contact-link:hover::before {
    width: 100%;
}

.burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.burger__lines {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 20px;
}

.burger__lines span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: transform var(--dur), opacity var(--dur);
}

.burger.is-open .burger__lines span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.is-open .burger__lines span:nth-child(2) {
    transform: translateX(6px);
    opacity: 0;
}

.burger.is-open .burger__lines span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 10;
    color: var(--ink);
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: clamp(20px, 2.1vw, 40px) 0;
}

.footer__logo {
    display: block;
    width: clamp(180px, 14vw, 270px);
}

.footer__logo svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1291.86 / 375.04;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(22, 24, 27, .5);
    transition: background-color .3s, color .3s;
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

@media (hover: hover) and (min-width: 768px) {
    .footer__social a:hover {
        background: rgba(22, 24, 27, .08);
        color: var(--ink);
    }
}

.footer__panel {
    max-width: 1800px;
    margin: clamp(20px, 3.1vw, 60px) auto 0;
    background: #f3f4f4;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr) minmax(0, 3fr);
    gap: clamp(10px, 10vw, 200px);
}

/* İletişim */
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.6vw, 50px);
    padding-block: clamp(80px, 6.8vw, 130px);
}

.f-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.f-info__label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2px;
    font-size: clamp(16px, 1.05vw, 20px);
    line-height: 1.5;
    letter-spacing: -.8px;
    color: #7b868c;
}

.f-info__label svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.f-info__value {
    width: fit-content;
    font-size: clamp(20px, 1.67vw, 32px);
    font-weight: 500;
    line-height: 1.31;
    letter-spacing: -.96px;
}

a.f-info__value {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .4s var(--ease), color .3s;
}

a.f-info__value:hover {
    background-size: 100% 1px;
    color: var(--copper);
}

/* Listeler */
.footer__lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 5.2vw, 100px);
    padding-block: clamp(80px, 6.8vw, 130px);
}

.accord__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding-bottom: clamp(20px, 2.1vw, 40px);
    font-size: clamp(18px, 1.35vw, 26px);
    font-weight: 500;
    line-height: 1.23;
    letter-spacing: -1.04px;
    cursor: default;
}

.accord__chev {
    display: none;
    transition: transform .4s;
}

.accord.is-open .accord__chev {
    transform: rotate(180deg);
}

.accord__content {
    transition: height .4s ease-in-out;
}

.f-list a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-list a::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(22, 24, 27, .5);
    transition: background-color .2s;
}

.f-list a span,
.f-list a {
    line-height: 2.4;
    color: rgba(22, 24, 27, .65);
    white-space: nowrap;
    transition: color .2s;
}

@media (hover: hover) and (min-width: 768px) {
    .f-list a:hover {
        color: var(--ink);
    }

    .f-list a:hover::before {
        background: var(--copper);
    }
}

/* Dekoratif işaret */
.footer__vector {
    position: relative;
    width: 100%;
    height: 100%;
}

.footer__vector svg {
    position: absolute;
    top: 50%;
    right: 0;
    width: clamp(240px, 15.6vw, 300px);
    height: auto;
    aspect-ratio: 307 / 336;
    color: var(--ink);
    opacity: .1;
    transform: translateY(-50%);
}

/* En alt satır */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: clamp(10px, 1vw, 20px);
    border-top: 1px solid var(--line);
}

.footer__copy {
    font-size: clamp(14px, .94vw, 18px);
    line-height: 1.66;
    color: rgba(22, 24, 27, .5);
}

.footer__up {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(14px, .94vw, 16px);
    color: rgba(22, 24, 27, .5);
    transition: color .3s;
}

.footer__up:hover {
    color: var(--ink);
}

.footer__up svg {
    transition: transform .4s var(--ease);
}

.footer__up:hover svg {
    transform: translateY(-3px);
}

@media (max-width: 1023px) {
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__vector {
        display: none;
    }

    .f-list a {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .footer {
        border-top: 0;
    }

    .footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__social {
        gap: 20px;
    }

    .footer__social a {
        width: 35px;
        height: 35px;
        background: rgba(22, 24, 27, .05);
    }

    .footer__panel {
        margin-top: 30px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-block: 30px 10px;
    }

    .footer__contact,
    .footer__lists {
        padding-block: 0;
    }

    .footer__lists {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .accord__title {
        margin-bottom: 10px;
        padding: 0 12px 5px 0;
        border-bottom: 1px solid var(--line);
        cursor: pointer;
    }

    .accord__chev {
        display: block;
    }

    .accord__content {
        height: 0;
        overflow: hidden;
    }
}

@media (max-width: 639px) {
    .f-info__label {
        gap: 10px;
    }

    .f-info__label svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 479px) {
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1023px) {
@media (max-width: 1023px) {
    :root {
        --hh: 72px;
    }

    .header {
        background: #fff;
        color: var(--ink);
        box-shadow: 0 1px 0 var(--line);
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        height: calc(100svh - var(--hh));
        overflow-y: auto;
        background: #fff;
        border-top: 1px solid var(--line);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--dur);
    }

    .nav.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav li {
        border-bottom: 1px solid var(--line);
    }

    .nav__mobile-only {
        display: block;
    }

    .nav__link {
        padding: 18px clamp(20px, 6vw, 120px);
        font-size: 17px;
    }

    .nav__link::after {
        display: none;
    }

    .nav__sub {
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0 0 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__sub::before {
        display: none;
    }

    .nav .nav__sub li {
        border-bottom: 0;
    }

    .nav__sub a {
        padding: 8px clamp(20px, 6vw, 120px) 8px calc(clamp(20px, 6vw, 120px) + 16px);
        color: var(--muted);
    }

    .contact-link {
        display: none;
    }

    .burger {
        display: flex;
    }
}

/* Grupta 3 sertifika var: masaüstünde 4 yerine 3 sütun */
@media (min-width: 1200px) {
    .cert-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Marka şeridi: 5 dikey logo */
.brand-strip__logos img {
    height: clamp(64px, 5.6vw, 100px);
}
