/*
 * Onaylı anasayfa tasarımının (docs/tasarim/anasayfa/index.html) satır içi stillerinin birebir karşılığı.
 * Değerler değiştirilmez; görünüm onaylıdır. Bilinçli olarak genel bir sıfırlama (box-sizing vb.) yoktur:
 * tasarım tarayıcı varsayılanlarıyla ölçüldü, sıfırlama eklemek ölçüleri kaydırır.
 */

/* Sabit üst bölümün (iletişim şeridi ve menü) yüksekliği: yapışkan öğeler ve çapa bağlantıları bunun altında durur.
   site.js gerçek ölçüyle günceller; buradaki değerler JS çalışmadan önceki ilk çizim içindir. */
:root { --header-h: 117px; }
@media (max-width: 420px) { :root { --header-h: 107px; } }
html { scroll-padding-top: var(--header-h); }

@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/hanken-grotesk/hanken-grotesk-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/hanken-grotesk/hanken-grotesk-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body { margin: 0; }
a { color: #2E3192; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #8E98F0; outline-offset: 2px; }
input, select, button, textarea { font: inherit; }
input::placeholder, textarea::placeholder { color: #7E8298; }
[hidden] { display: none !important; }
picture { display: contents; }

.site {
    background: #F3F4F1;
    color: #1A1D33;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    min-width: 0;
    /* hidden olsaydı içerideki position: sticky çalışmazdı. */
    overflow-x: clip;
}

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 40; padding: 10px 18px; border-radius: 999px; background: #2E3192; color: #FFFFFF; font-weight: 600; font-family: "Hanken Grotesk", system-ui, sans-serif; }
.skip-link:focus { left: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* Butonlar */
.btn { transition: background-color .2s ease; }
.btn:hover { background-color: #212368 !important; color: #FFFFFF !important; }
.btn-soft { transition: filter .2s ease; }
.btn-soft:hover { filter: brightness(0.96); }
.pill { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: #2E3192; color: #FFFFFF; font-weight: 600; text-decoration: none; }
.pill--top { margin-top: 32px; }
.pill--phone { gap: 10px; padding: 0 22px; background: #8CC152; color: #141733; }

.more .arrow { transition: transform .2s ease; }
.more:hover .arrow { transform: translateX(4px); }
.more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: #2E3192; text-decoration: none; }

.card .ph { transition: transform .5s ease; }
.card:hover .ph { transform: scale(1.04); }

.img-pending { display: block; background: #D3D6DF; }

/* Üst şerit */
.topbar { border-bottom: 1px solid #E3E5EC; background: #FFFFFF; }
.topbar__inner { max-width: 1240px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 14px; color: #5A5E78; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar__link { color: #3D4160; text-decoration: none; }
.topbar__link--strong { font-weight: 600; }
/* Şerit her zaman görünür; dar ekranda ekranı yememesi için yalnızca arama ve e-posta kalır, tek satırda durur. */
@media (max-width: 640px) {
    .topbar__note { display: none; }
    .topbar__inner { justify-content: center; }
}

/* Üst menü */
.masthead { background: #FFFFFF; box-shadow: 0 1px 0 #E3E5EC; }
.masthead__inner { max-width: 1240px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; height: 38px; width: auto; }
.site-header { position: sticky; top: 0; z-index: 15; }
.masthead { position: relative; z-index: 1; }
.nav { flex: 1 1 480px; min-width: 0; }
.nav__list { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; justify-content: flex-end; gap: 4px 30px; font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.nav__head { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__head > a { display: block; padding: 10px 0; color: #3D4160; text-decoration: none; transition: color .15s ease; }
.nav__head > a[aria-current="page"] { color: #2E3192; box-shadow: inset 0 -2px 0 #8CC152; }
.nav__head > a:hover { color: #2E3192; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; margin-right: -8px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #3D4160; cursor: pointer; }
.nav__toggle svg { transition: transform .2s ease; }
.nav__item--sub.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__sheet-head, .nav__sheet-foot, .nav-open { display: none; }
.masthead__cta { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: #2E3192; color: #FFFFFF; font-weight: 600; font-size: 15.5px; text-decoration: none; }

/* Açılan menü: masaüstünde görselli panel, küçük ekranda akordeon. */
.mega { display: none; }
.mega__grid { list-style: none; margin: 0; padding: 0; }
.mega__card { display: block; text-decoration: none; color: #141733; }
.mega__label { display: block; white-space: normal; }

@media (min-width: 1081px) {
    /* Öğe ile panel arasındaki boşlukta fare panele inerken menü kapanmasın. */
    .nav__item--sub .nav__head::after { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 32px; }
    .nav__item--sub.is-open .mega { display: block; }
    .mega { position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-top: 1px solid #E3E5EC; box-shadow: 0 24px 50px rgba(20, 23, 51, 0.14); border-radius: 0 0 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; animation: mega-in .18s ease-out; }
    .mega__inner { max-width: 1240px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 28px; }
    /* Az seçenekte kartlar dev olmasın, çokta tek satıra sığsın. */
    .mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 240px)); gap: 16px; }
    .mega__grid:has(> :nth-child(5)) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .mega__thumb { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #E3E5EC; }
    .mega__image { display: block; width: 100%; height: 100%; object-fit: cover; }
    .mega__label { margin-top: 10px; font-size: 15.5px; font-weight: 600; }
    .mega__card:hover .mega__label { color: #2E3192; }
}

@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
    .masthead__inner { flex-wrap: nowrap; gap: 10px; }
    .brand { margin-right: auto; padding: 4px 0; }
    .masthead__cta { min-height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
    .nav-open { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #D9DCEA; border-radius: 50%; background: #FFFFFF; color: #2E3192; cursor: pointer; }

    .nav { display: none; position: fixed; inset: 0; z-index: 30; flex: none; flex-direction: column; background: #FFFFFF; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(16px, 4vw, 40px) calc(24px + env(safe-area-inset-bottom)); box-sizing: border-box; }
    .nav.is-open { display: flex; animation: sheet-in .2s ease-out; }
    .nav__sheet-head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 76px; }
    .nav__sheet-logo { display: block; height: 34px; width: auto; }
    .nav__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #D9DCEA; border-radius: 50%; background: #FFFFFF; color: #2E3192; cursor: pointer; }

    .nav__list { display: block; flex: 0 0 auto; margin: 0; font-size: 21px; white-space: normal; }
    .nav__item { border-bottom: 1px solid #E3E5EC; }
    .nav__head { justify-content: space-between; min-height: 60px; gap: 8px; }
    .nav__head > a { flex: 1 1 auto; padding: 16px 0; color: #141733; }
    .nav__head > a[aria-current="page"] { color: #2E3192; box-shadow: none; }
    .nav__toggle { flex: 0 0 auto; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: #F3F4F1; color: #2E3192; }
    .nav__item--sub.is-open .mega { display: block; }
    .mega__grid { padding: 0 0 12px; }
    .mega__card { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 500; color: #3D4160; }
    .mega__thumb { display: none; }

    .nav__sheet-foot { display: flex; flex-wrap: wrap; flex: 0 0 auto; gap: 10px; margin-top: 24px; }
    .nav__sheet-foot .pill { flex: 1 1 200px; justify-content: center; box-sizing: border-box; }
}

@keyframes sheet-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

html.nav-locked { overflow: hidden; }

@media (max-width: 420px) {
    .brand img { height: 32px; }
    .masthead__inner { padding-top: 12px; padding-bottom: 12px; }
    .masthead__cta { padding: 0 14px; font-size: 14.5px; }
}

/* Bölüm başlıkları */
.eyebrow { font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #3F7A1C; margin-bottom: 12px; }
.eyebrow--on-dark { color: #8CC152; }
.title-lg { margin: 0; font-size: clamp(32px, 3.8vw, 48px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: #141733; }
.title-md { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; color: #141733; }
.title-on-dark { color: inherit; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.section-head__text { flex: 1 1 460px; min-width: 0; }

/* Hero */
.hero { padding-top: clamp(28px, 5vw, 64px); }
.hero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.hero__heading { flex: 1 1 560px; min-width: 0; }
.hero__title { margin: 0; font-size: clamp(42px, 6vw, 78px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; color: #141733; }
.hero__accent { color: #2E3192; }
.hero__aside { flex: 0 1 400px; min-width: 0; }
.hero__lead { margin: 0 0 24px; font-size: 18.5px; color: #4A4E69; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { margin-top: clamp(36px, 5vw, 56px); position: relative; }
.hero__image { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; min-height: 280px; object-fit: cover; border-radius: 20px; background: #D3D6DF; }

/* Hızlı teklif */
#teklif { scroll-margin-top: 16px; }
.quote.is-pinged { animation: quote-ping 1.1s ease-out; }
@keyframes quote-ping { 0% { box-shadow: 0 0 0 0 rgba(140, 193, 82, 0.9), 0 12px 40px rgba(20, 23, 51, 0.08); } 100% { box-shadow: 0 0 0 18px rgba(140, 193, 82, 0), 0 12px 40px rgba(20, 23, 51, 0.08); } }
.quote { position: relative; margin: clamp(16px, 2vw, 24px) 0 0; background: #FFFFFF; border-radius: 20px; box-shadow: 0 12px 40px rgba(20, 23, 51, 0.08), 0 0 0 1px rgba(20, 23, 51, 0.05); padding: clamp(20px, 2.4vw, 28px); }
.quote__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: end; }
@media (min-width: 600px) {
    .quote__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quote__field--wide, .quote__submit { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .quote__form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .quote__field--wide { grid-column: span 3; }
    .quote__submit { grid-column: auto; }
}
.quote__field { display: flex; flex-direction: column; gap: 6px; }
.quote__label { font-size: 14px; font-weight: 600; color: #3D4160; }
.quote__control { height: 50px; padding: 0 14px; border: 1px solid #D9DCEA; border-radius: 12px; background: #F8F9FC; color: #1A1D33; }
.quote__control--input { box-sizing: border-box; }
.quote__amount { display: flex; align-items: center; height: 50px; border: 1px solid #D9DCEA; border-radius: 12px; background: #F8F9FC; overflow: hidden; box-sizing: border-box; }
.quote__amount input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; padding: 0 14px; background: transparent; color: #1A1D33; }
/* Kutu overflow: hidden olduğu için input'un odak halkası kırpılıp sağda tek çizgi kalıyordu; halka kutuya taşındı. */
.quote__amount input:focus-visible { outline: none; }
.quote__amount:has(input:focus-visible) { outline: 3px solid #8E98F0; outline-offset: 2px; }
.quote__unit { flex: 0 0 auto; margin-right: 6px; padding: 4px 10px; border-radius: 8px; background: #EEF6E4; color: #3F7A1C; font-weight: 700; font-size: 14px; }
.quote__submit { height: 50px; border: 0; border-radius: 12px; background: #2E3192; color: #FFFFFF; font-weight: 600; cursor: pointer; }
/* Tasarıma zorunlulukla eklenen aydınlatma satırı. */
.quote__notice { margin: 12px 0 0; font-size: 13.5px; color: #5A5E78; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__done { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.quote__done-text { display: flex; align-items: center; gap: 14px; }
.quote__done-icon { width: 44px; height: 44px; border-radius: 50%; background: #EEF6E4; color: #3F7A1C; display: inline-flex; align-items: center; justify-content: center; }
.quote__done-title { font-weight: 600; font-size: 18px; color: #141733; }
.quote__done-body { color: #5A5E78; font-size: 15.5px; }
.quote__reset { min-height: 44px; padding: 0 20px; border: 1px solid #D9DCEA; border-radius: 999px; background: #FFFFFF; color: #2E3192; font-weight: 600; cursor: pointer; }

/* Ürünler */
.products { padding: clamp(80px, 10vw, 128px) 0 clamp(56px, 7vw, 88px); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
/* Dört üründe üçlü satırın altında tek kart kalmasın. */
@media (min-width: 1024px) {
    .product-grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
.product-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #D3D6DF; text-decoration: none; }
.card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 88px 26px 26px; background: linear-gradient(to top, rgba(12, 15, 44, 0.82), rgba(12, 15, 44, 0)); color: #FFFFFF; }
.product-card__rule { width: 28px; height: 3px; border-radius: 2px; background: #8CC152; margin-bottom: 14px; }
.product-card__title { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.product-card__text { margin: 4px 0 0; font-size: 15.5px; color: #E2E4F1; }

/* Rakamlar */
.stats { padding: 0 0 clamp(64px, 8vw, 104px); }
.stats__band { background: #8CC152; color: #141733; border-radius: 20px; padding: clamp(28px, 3.4vw, 40px) clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 32px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat__value { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.stat__label { font-size: 15px; font-weight: 600; margin-top: 4px; }

/* Görsel ve metin bölümleri */
.about { padding: 0 0 clamp(72px, 9vw, 120px); }
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.feature--reverse { flex-wrap: wrap-reverse; }
.feature__text { flex: 1 1 440px; min-width: 0; }
.feature__lead { margin: 20px 0 0; font-size: 17.5px; color: #4A4E69; max-width: 46ch; }
.feature__media { flex: 1 1 460px; min-width: 0; position: relative; padding-bottom: 32px; }
.feature--reverse .feature__media { padding-bottom: 0; padding-top: 32px; }
.feature__image { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 20px; background: #D3D6DF; box-shadow: 0 18px 40px rgba(20, 23, 51, 0.12); }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; }
.check-list--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 24px; }
.check-list--stack { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #2C2F48; }
.check-list svg { color: #3F7A1C; }
.tag-card { position: absolute; display: flex; align-items: center; gap: 14px; background: #FFFFFF; border-radius: 16px; box-shadow: 0 14px 36px rgba(20, 23, 51, 0.14); }
.tag-card--bottom { left: clamp(12px, 3vw, 28px); bottom: 0; padding: 16px 22px 16px 16px; }
.tag-card--top { right: clamp(12px, 3vw, 28px); top: 0; padding: 14px 22px 14px 18px; }
.tag-card__icon { flex: 0 0 auto; color: #2E3192; }
.tag-card__title { font-size: 17px; font-weight: 700; color: #141733; line-height: 1.25; }
.tag-card__text { font-size: 14.5px; color: #5A5E78; }
.tag-card__value { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: #2E3192; }
.tag-card__lines { font-size: 14.5px; line-height: 1.35; color: #5A5E78; }
.tag-card__strong { font-weight: 700; color: #141733; }

/* Nasıl çalışıyoruz */
.process { padding: 0 0 clamp(16px, 2vw, 24px); }
.process__panel { position: relative; overflow: hidden; background: #2E3192; color: #FFFFFF; border-radius: 20px; padding: clamp(36px, 5vw, 72px); }
.process__ring { position: absolute; border-radius: 50%; }
.process__ring--a { right: -140px; top: -180px; width: 460px; height: 460px; border: 1.5px solid rgba(255, 255, 255, 0.08); }
.process__ring--b { right: -240px; top: -280px; width: 660px; height: 660px; border: 1.5px solid rgba(255, 255, 255, 0.06); }
.process__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 56px; }
.process__heading { flex: 1 1 440px; min-width: 0; }
.process__lead { flex: 0 1 380px; min-width: 0; margin: 0; font-size: 17px; color: #C9CDF0; }
.process__steps { position: relative; list-style: none; margin: clamp(44px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px 28px; }
.step__top { display: flex; align-items: center; }
.step__icon { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; background: #8CC152; color: #141733; display: inline-flex; align-items: center; justify-content: center; }
.step__icon--last { background: #FFFFFF; color: #2E3192; }
.step__line { flex: 1 1 auto; margin-left: 18px; border-top: 2px dashed rgba(255, 255, 255, 0.24); }
.step__number { margin-top: 24px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8CC152; }
.step__title { margin: 6px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.step__text { margin: 0; font-size: 16px; color: #C9CDF0; }

/* Projeler */
.project-card__badge { display: inline-block; border-radius: 999px; background: #8CC152; color: #141733; font-weight: 700; }

/* Blog */
.blog { padding: 0 0 clamp(64px, 8vw, 104px); }
.post-lead { display: flex; flex-wrap: wrap; border-radius: 20px; overflow: hidden; background: #FFFFFF; text-decoration: none; color: #1A1D33; }
.post-lead__media { flex: 1 1 420px; min-width: 0; overflow: hidden; }
.post-lead__image { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; background: #D3D6DF; }
.post-lead__body { flex: 1 1 420px; min-width: 0; padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.post-lead__badge { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #EEF6E4; color: #3F7A1C; font-size: 13.5px; font-weight: 700; }
.post-lead__title { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: #141733; }
.post-lead__text { margin: 0; font-size: 16.5px; color: #5A5E78; }
.post-lead__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: #2E3192; }
.post-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.post-card { display: flex; align-items: center; gap: 20px; padding: 16px; border-radius: 20px; background: #FFFFFF; text-decoration: none; color: #1A1D33; }
.post-card__media { flex: 0 0 132px; border-radius: calc(20px * 0.6); overflow: hidden; }
.post-card__image { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #D3D6DF; }
.post-card__category { font-size: 13.5px; font-weight: 700; color: #3F7A1C; }
.post-card__title { margin: 4px 0 4px; font-size: 19px; font-weight: 600; line-height: 1.3; color: #141733; }
.post-card__text { margin: 0; font-size: 15px; color: #5A5E78; }

/* Çağrı */
.cta { padding: 0 0 clamp(56px, 7vw, 88px); }
.cta__panel { background: #2E3192; color: #FFFFFF; border-radius: 20px; padding: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.cta__text { flex: 1 1 440px; min-width: 0; }
.cta__lead { margin: 14px 0 0; font-size: 17.5px; color: #D3D7F5; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__primary { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: #8CC152; color: #141733; font-weight: 700; text-decoration: none; }
.cta__phone { display: inline-flex; align-items: center; min-height: 54px; padding: 0 24px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); color: #FFFFFF; font-weight: 600; text-decoration: none; }

/* Alt bilgi */
.footer { padding: 0 0 28px; }
.footer__box { background: #FFFFFF; border-radius: 20px; padding: clamp(36px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px 32px; font-size: 15.5px; color: #4A4E69; }
.footer__logo { display: block; height: 34px; width: auto; }
.footer__slogan { margin: 18px 0 0; font-weight: 600; color: #2E3192; }
.footer__slogan + .footer__note { margin-top: 6px; }
.footer__note { margin: 18px 0 0; max-width: 30ch; }
.footer__title { font-weight: 700; color: #2E3192; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__list a { color: #4A4E69; text-decoration: none; }
.footer__address { font-style: normal; display: flex; flex-direction: column; gap: 10px; }
.footer__line { display: flex; gap: 10px; color: #4A4E69; text-decoration: none; }
.footer__line svg { flex: 0 0 auto; margin-top: 3px; color: #3F7A1C; }
.footer__bottom { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: #636781; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { color: #636781; text-decoration: none; }
/* Dar ekranda üç öğe tek satıra sığmaz: üretici satırı en alta iner, yine ortada kalır. */
.footer__credit { order: 1; flex: 0 0 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; color: #636781; text-decoration: none; }
.footer__credit:hover span { text-decoration: underline; text-underline-offset: 3px; }
.footer__credit-logo { display: block; flex: 0 0 auto; width: 117px; height: 16px; }
@media (min-width: 1024px) {
  /* Yan sütunlar eşit: üretici satırı, yanlardaki metinlerin uzunluğundan bağımsız tam ortada durur. */
  .footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; }
  .footer__credit { order: 0; grid-column: 2; gap: 14px; }
  .footer__credit-logo { width: 146px; height: 20px; }
  .footer__legal { grid-column: 3; justify-content: flex-end; }
}

/* Panelden eklenen genel şablonlu sayfalar. Tasarımlı iç sayfalar pages.css'te. */
.page { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.page__head { margin-bottom: 40px; }
.page__title { margin: 0; font-size: clamp(36px, 4.6vw, 60px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: #141733; }
.page__lead { margin: 18px 0 0; font-size: 18.5px; color: #4A4E69; max-width: 60ch; }
.page__cover { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; min-height: 240px; object-fit: cover; border-radius: 20px; background: #D3D6DF; margin-bottom: 40px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 40px; }
.subnav a { padding: 8px 18px; border-radius: 999px; background: #FFFFFF; color: #3D4160; font-weight: 600; font-size: 15.5px; text-decoration: none; }
.subnav a[aria-current="page"] { background: #2E3192; color: #FFFFFF; }
.panel { background: #FFFFFF; border-radius: 20px; padding: clamp(24px, 3.4vw, 44px); }
.block { margin-top: 32px; }
.block:first-child { margin-top: 0; }
.block__title { margin: 0 0 14px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: #141733; }
.block-media { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.block-media--left { flex-direction: row-reverse; }
.block-media > * { flex: 1 1 380px; min-width: 0; }
.block-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: #D3D6DF; }
.block-wide { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; min-height: 220px; object-fit: cover; border-radius: 20px; background: #D3D6DF; }
.block-caption { margin: 10px 0 0; font-size: 14.5px; color: #5A5E78; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px 32px; margin: 0; }
.facts dt { font-size: 14px; font-weight: 600; color: #5A5E78; }
.facts dd { margin: 2px 0 0; font-size: 19px; font-weight: 600; color: #141733; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.photo-grid a { display: block; border-radius: 16px; overflow: hidden; background: #D3D6DF; }
.photo-grid__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.album-card { aspect-ratio: 4 / 3; }
.post-list { display: flex; flex-direction: column; gap: 24px; }
.empty-note { margin: 0; color: #5A5E78; }
.page-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.pagination { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 999px; background: #FFFFFF; color: #3D4160; font-weight: 600; text-decoration: none; }
.pagination [aria-current] span { background: #2E3192; color: #FFFFFF; }

.prose { color: #3D4160; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { color: #141733; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin: 1.4em 0 .5em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid #E3E5EC; text-align: left; vertical-align: top; overflow-wrap: break-word; }
/* Dört sütunlu tablo (çerez politikası) dar ekranda kartın dışına taşmasın. */
@media (max-width: 560px) {
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 8px 6px; }
  .prose th:first-child, .prose td:first-child { padding-left: 0; }
  .prose th:last-child, .prose td:last-child { padding-right: 0; }
}
.prose-wrap { max-width: 72ch; }

/* İletişim */
.contact { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.contact > * { flex: 1 1 400px; min-width: 0; }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.contact__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.contact__control { box-sizing: border-box; width: 100%; }
.contact__textarea { height: auto; padding: 12px 14px; min-height: 140px; resize: vertical; box-sizing: border-box; width: 100%; }
.contact__submit { align-self: flex-start; padding: 0 28px; }
.contact__info { display: flex; flex-direction: column; gap: 12px; }

/* Toast bildirimleri: bütün uyarı ve bilgi mesajları. Sayfanın yerleşimini kaydırmaz.
   Üst ortada, dolu renkli ve hareketle gelir: hata çıkınca göz oraya gitmeli. */
.toasts { position: fixed; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 20; display: flex; flex-direction: column; gap: 12px; width: min(560px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 14px; padding: 16px 14px 16px 16px; border-radius: 16px; color: #FFFFFF; box-shadow: 0 20px 50px rgba(20, 23, 51, 0.38), 0 0 0 1px rgba(20, 23, 51, 0.08); }
.toast--error { background: #B3261E; animation: toast-in .25s ease-out, toast-shake .45s ease .25s; }
.toast--success { background: #3F7A1C; animation: toast-in .25s ease-out; }
.toast__icon { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.toast--error .toast__icon { color: #B3261E; }
.toast--success .toast__icon { color: #3F7A1C; }
.toast__text { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 17px; line-height: 1.4; font-weight: 600; color: inherit; }
.toast__close { flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.toast__close:hover { background: rgba(255, 255, 255, 0.18); }
.toast__close:focus-visible { outline-color: #FFFFFF; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes toast-shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* Hatalı alan toast'la birlikte işaretlenir. */
.quote__control[aria-invalid="true"], .quote__amount:has(input[aria-invalid="true"]) { border-color: #B3261E; }

@media (prefers-reduced-motion: reduce) {
    .btn, .btn-soft, .nav a, .card .ph, .more .arrow, .nav__toggle svg { transition: none; }
    .mega, .nav.is-open, .quote.is-pinged { animation: none; }
    .card:hover .ph { transform: none; }
    .toast--error, .toast--success { animation: none; }
    .more:hover .arrow { transform: none; }
}

.project-grid-item { display: flex; }
.block__figure { margin: 0; }

/* Çökme sayfaları (419, 429, 500, 503). Veritabanına ve pages.css'e bağlı değildir. */
.err-solo { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; box-sizing: border-box; }
.err-solo__card { width: 100%; max-width: 560px; padding: clamp(28px, 6vw, 56px); box-sizing: border-box; border-radius: 20px; background: #FFFFFF; text-align: center; }
.err-solo__logo { display: block; height: 38px; width: auto; margin: 0 auto; }
.err-solo__code { margin-top: 28px; font-size: clamp(64px, 16vw, 104px); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: #2E3192; }
.err-solo__title { margin: 14px 0 0; font-size: clamp(26px, 5vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; color: #141733; }
.err-solo__lead { margin: 10px 0 0; font-size: 17.5px; color: #4A4E69; }
.err-solo__button { margin-top: 24px; }
