/* ============================================================================
   PUBLIC.CSS — Public site kabuğu (yalnızca _Layout yükler)
   Üst bilgi şeridi, menü ekleri, footer ekleri, hızlı eylemler, çerez bildirimi
   ve birden çok public sayfanın paylaştığı bileşenler (SSS, metin tipografisi,
   kırıntı, harita onayı).
   Navbar/footer'ın temel stilleri common.css'tedir.
   ============================================================================ */


/* ============================================================================
   1. ERİŞİLEBİLİRLİK — "İçeriğe geç" bağlantısı
   ============================================================================ */
.sg-skip {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--color-navy);
    color: #fff;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--t-fast);
}

.sg-skip:focus {
    transform: translateY(0);
    color: var(--color-gold-light);
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

#main-content:focus {
    outline: none;
}

/* Klavye odağı: public sitede tutarlı altın halka */
.sg-btn:focus-visible,
.nav-link:focus-visible,
.footer-link-list a:focus-visible,
.footer-bottom-links a:focus-visible,
.sg-ticker:focus-visible,
.sg-fab__btn:focus-visible,
.sg-cookie__btn:focus-visible,
.sg-faq__item > summary:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}


/* ============================================================================
   2. ÜST BİLGİ ŞERİDİ + CANLI FİYAT BANDI
   Sabit yükseklik: içerik JS ile dolduğunda sayfa kaymaz (CLS = 0).
   ============================================================================ */
/* z-index verilmez: mobil çekmece (navbar bağlamında z:1056) ve arka perde (z:1045)
   bu şeridin üzerinde kalmalı. */
.sg-topbar {
    position: relative;
    height: 38px;
    background: linear-gradient(90deg, #010b1c 0%, #04162e 55%, #0a1a2c 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--fs-xs);
}

.sg-topbar__inner {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sg-topbar__contact {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    flex-shrink: 0;
}

.sg-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--t-fast);
}

.sg-topbar__link i {
    color: var(--color-gold);
    font-size: 0.82rem;
}

.sg-topbar__link:hover {
    color: var(--color-gold-light);
}

.sg-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    -webkit-user-drag: none;
}

.sg-ticker:hover {
    color: #fff;
}

.sg-ticker__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #7ee2a8;
    font-size: var(--fs-label);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-caps);
    text-transform: uppercase;
}

.sg-ticker__dot,
.nav-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    animation: sg-live-pulse 1.6s ease-out infinite;
}

@keyframes sg-live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
    70%  { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Akan bant: .sg-ticker__items görünür pencere, .sg-ticker__track kayan şerit.
   Şerit JS ile en az iki eş kopya içerir; konum JS (rAF) ile translateX olarak
   verilir, yarı mesafede başa sarar (kesintisiz döngü). Kullanıcı fare/parmakla
   sürükleyebilir: touch-action pan-y dikey sayfa kaydırmasını tarayıcıya bırakır,
   yatay hareket bandı kaydırır. Duraklama/atalet mantığı public-layout.js'te. */
.sg-ticker__items {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    cursor: grab;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    /* Kenarlarda yumuşak giriş/çıkış */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.sg-ticker__items.is-dragging {
    cursor: grabbing;
}

.sg-ticker__track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.sg-ticker__placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.sg-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--fw-semibold);
    color: #fff;
}

.sg-ticker__item .sg-ticker__val {
    transition: color 0.3s;
}

.sg-ticker__item.up .sg-ticker__val   { color: #86efac; }
.sg-ticker__item.down .sg-ticker__val { color: #fca5a5; }

.sg-ticker__item b {
    font-weight: var(--fw-medium);
    color: var(--color-gold-light);
}

.sg-ticker__item i {
    font-size: 0.64rem;
}

.sg-ticker__item.up i   { color: #4ade80; }
.sg-ticker__item.down i { color: #f87171; }

.sg-ticker__arrow {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: var(--color-gold);
    transition: transform var(--t-fast);
}

.sg-ticker:hover .sg-ticker__arrow {
    transform: translateX(3px);
}

@media (max-width: 575.98px) {
    .sg-topbar__link span {
        display: none;
    }

    .sg-topbar__contact {
        gap: 14px;
    }

    .sg-ticker {
        gap: 9px;
    }

    .sg-ticker__track {
        gap: 20px;
        padding-right: 20px;
    }
}


/* ============================================================================
   3. NAVBAR EKLERİ — aktif sayfa, canlı nokta, dar masaüstü, drawer alt alanı
   ============================================================================ */
.navbar-logo-img {
    height: 44px;
    width: auto;
}

.nav-live-dot {
    display: inline-block;
    margin-right: 7px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

@media (min-width: 992px) {
    .nav-link.active {
        color: var(--color-gold-dark) !important;
    }

    .nav-link.active::after {
        transform: scaleX(1);
    }
}

/* 992–1199: altı menü + buton tek satıra sığsın */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-custom .nav-link {
        padding: 10px 10px;
        font-size: var(--fs-sm);
    }

    .navbar-custom .nav-link::after {
        left: 10px;
        right: 10px;
    }

    .navbar-separator {
        margin: 0 8px;
    }

    .navbar-menu .btn-gold {
        padding: 9px 18px;
    }
}

.navbar-drawer-foot {
    display: none;
}

@media (max-width: 991.98px) {
    .nav-link.active {
        color: var(--color-gold-dark) !important;
        background: rgba(212, 175, 55, 0.1);
        box-shadow: inset 3px 0 0 var(--color-gold);
    }

    .navbar-menu.active .navbar-item:nth-child(9)  { animation-delay: 0.44s; }
    .navbar-menu.active .navbar-item:nth-child(10) { animation-delay: 0.48s; }

    .navbar-drawer-foot {
        display: block;
        margin-top: auto;
        padding-top: 22px;
    }

    .navbar-drawer-foot__label {
        font-size: var(--fs-label);
        font-weight: var(--fw-bold);
        letter-spacing: var(--ls-caps);
        text-transform: uppercase;
        color: var(--color-grey);
        margin: 0 0 10px;
    }

    .navbar-drawer-foot__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .navbar-drawer-foot__actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 10px;
        border-radius: var(--radius-md);
        border: 1px solid rgba(16, 24, 40, 0.1);
        background: #fff;
        color: var(--color-navy);
        font-weight: var(--fw-semibold);
        font-size: var(--fs-sm);
        text-decoration: none;
        transition: border-color var(--t-fast), color var(--t-fast);
    }

    .navbar-drawer-foot__actions a:hover {
        border-color: var(--color-gold);
        color: var(--color-gold-dark);
    }

    .navbar-drawer-foot__actions .bi-whatsapp {
        color: #1faa53;
    }

    .navbar-drawer-foot__register {
        display: block;
        margin-top: 14px;
        text-align: center;
        font-size: var(--fs-sm);
        color: var(--color-grey);
        text-decoration: none;
    }

    .navbar-drawer-foot__register strong {
        color: var(--color-gold-dark);
    }
}


/* ============================================================================
   4. FOOTER EKLERİ
   ============================================================================ */
.footer-brand {
    display: inline-block;
    margin-bottom: 4px;
}

.footer-brand img {
    height: 48px;
    width: auto;
}

.footer-modern .footer-col-title {
    margin-top: 0;
}

.footer-modern address {
    font-style: normal;
    margin-bottom: 18px;
}

.footer-contact-item {
    align-items: flex-start;
}

.footer-contact-item a {
    line-height: 1.55;
    padding-top: 6px;
    text-decoration: none;
}

.footer-stores {
    flex-direction: row;
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .footer-bottom-links {
        gap: 12px 22px;
    }
}


/* ============================================================================
   5. HIZLI EYLEMLER (WhatsApp + yukarı çık)
   ============================================================================ */
.sg-fab {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: bottom var(--t-base);
}

.sg-fab__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--t-base), box-shadow var(--t-base), opacity var(--t-base);
}

.sg-fab__btn[hidden] {
    display: none;
}

.sg-fab__btn--wa {
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #fff;
    font-size: 1.55rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
}

.sg-fab__btn--wa:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}

/* Yukarı çık: yerini hep korur (WhatsApp butonu zıplamaz).
   Giriş: aşağıdan yaylanarak büyür + altın halka dalgası. Çıkış: küçülerek söner. */
.sg-fab__btn--top {
    position: relative;
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--color-navy);
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(16, 24, 40, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(28px) scale(0.4);
    transition: opacity 0.28s ease-in, transform 0.28s ease-in, visibility 0s linear 0.28s, color var(--t-base), box-shadow var(--t-base);
}

.sg-fab__btn--top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    animation: sg-totop-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sg-fab__btn--top.is-visible::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    opacity: 0;
    pointer-events: none;
    animation: sg-totop-ring 0.9s ease-out 0.15s 1;
}

.sg-fab__btn--top.is-visible i {
    animation: sg-totop-arrow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.sg-fab__btn--top.is-visible:hover {
    color: var(--color-gold-dark);
    transform: translateY(-3px);
    transition: transform var(--t-base), color var(--t-base);
}

@keyframes sg-totop-in {
    0%   { opacity: 0; transform: translateY(36px) scale(0.3) rotate(-90deg); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: none; }
}

@keyframes sg-totop-ring {
    0%   { opacity: 0.9; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.9); }
}

@keyframes sg-totop-arrow {
    0%   { transform: translateY(10px); opacity: 0; }
    100% { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .sg-fab__btn--top,
    .sg-fab__btn--top.is-visible,
    .sg-fab__btn--top.is-visible::after,
    .sg-fab__btn--top.is-visible i {
        animation: none;
        transition: opacity 0.2s linear;
    }
}

/* Mobil drawer açıkken butonlar gizlenir */
body.nav-open .sg-fab {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .sg-fab {
        right: 14px;
        bottom: 16px;
    }

    .sg-fab__btn--wa {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    body.has-cookie .sg-fab {
        bottom: 96px;
    }
}


/* ============================================================================
   6. ÇEREZ BİLDİRİMİ
   ============================================================================ */
.sg-cookie {
    position: fixed;
    left: 20px;
    bottom: 22px;
    z-index: 1041;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 440px;
    padding: 18px 18px 18px 16px;
    border-radius: var(--radius-lg);
    background: rgba(4, 18, 37, 0.96);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 20px 50px rgba(1, 11, 28, 0.35);
    color: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--t-base), transform var(--t-base);
}

.sg-cookie.is-visible {
    opacity: 1;
    transform: none;
}

.sg-cookie__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: rgba(212, 175, 55, 0.14);
    color: var(--color-gold-light);
    font-size: 1.05rem;
}

.sg-cookie__text {
    margin: 0;
    font-size: var(--fs-xs);
    line-height: 1.6;
}

.sg-cookie__text strong {
    color: #fff;
    font-weight: var(--fw-semibold);
}

.sg-cookie__text a {
    color: var(--color-gold-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sg-cookie__btn {
    flex-shrink: 0;
    align-self: center;
    padding: 9px 16px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
    color: #1a1406;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-xs);
    cursor: pointer;
    transition: filter var(--t-fast), transform var(--t-fast);
}

.sg-cookie__btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .sg-cookie {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        align-items: center;
        gap: 12px;
        padding: 12px 12px 12px 14px;
        border-radius: var(--radius-md);
    }

    .sg-cookie__icon {
        display: none;
    }

    .sg-cookie__text {
        flex: 1;
        line-height: 1.5;
    }
}


/* ============================================================================
   7. SIKÇA SORULAN SORULAR (details/summary — JS gerektirmez)
   ============================================================================ */
.sg-faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
}

.sg-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.sg-faq__item {
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.sg-faq__item[open] {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow-md);
}

.sg-faq__item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-h3);
    color: var(--color-dark);
    border-radius: var(--radius-md);
}

.sg-faq__item > summary::-webkit-details-marker {
    display: none;
}

.sg-faq__item > summary::after {
    content: '\F4FE'; /* bi-plus */
    font-family: 'bootstrap-icons';
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-gold-dark);
    font-size: 1rem;
    transition: transform var(--t-base), background var(--t-base), color var(--t-base);
}

.sg-faq__item[open] > summary::after {
    transform: rotate(45deg);
    background: var(--gold-gradient);
    color: #fff;
}

.sg-faq__item > summary:hover {
    color: var(--color-gold-dark);
}

.sg-faq__answer {
    padding: 0 22px 20px;
    color: var(--color-grey);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.sg-faq__answer p:last-child {
    margin-bottom: 0;
}

.sg-faq__answer a {
    color: var(--color-gold-dark);
    font-weight: var(--fw-semibold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767.98px) {
    .sg-faq-section {
        padding: 72px 0;
    }

    .sg-faq__item > summary {
        padding: 17px 16px;
    }

    .sg-faq__answer {
        padding: 0 16px 18px;
    }
}


/* ============================================================================
   8. GÖRÜNÜR KIRINTI (ürün detayı vb.)
   ============================================================================ */
.sg-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.55);
}

.sg-crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sg-crumbs li + li::before {
    content: '\F285'; /* bi-chevron-right */
    font-family: 'bootstrap-icons';
    font-size: 0.62rem;
    color: var(--color-gold);
    opacity: 0.75;
}

.sg-crumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--t-fast);
}

.sg-crumbs a:hover {
    color: var(--color-gold-light);
}

.sg-crumbs [aria-current] {
    color: var(--color-gold-light);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================================
   9. ONAYLI HARİTA (Google Maps tıklanınca yüklenir)
   ============================================================================ */
.sg-map-consent {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    padding: 32px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    background:
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.18), transparent 55%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px),
        linear-gradient(160deg, #0d0e1e 0%, #171829 100%);
    line-height: 1.6;
}

.sg-map-consent.is-loaded {
    display: block;
    padding: 0;
    background: none;
}

.sg-map-consent iframe {
    width: 100%;
    height: 420px;
    display: block;
}

.sg-map-consent__pin {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #1a1406;
    font-size: 1.6rem;
    box-shadow: var(--shadow-gold);
}

.sg-map-consent h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: var(--fw-display);
    color: #fff;
    margin: 0 0 6px;
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-display);
}

.sg-map-consent p {
    max-width: 460px;
    margin: 0 auto 20px;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.65);
}

.sg-map-consent__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .sg-map-consent,
    .sg-map-consent iframe {
        min-height: 320px;
        height: auto;
    }

    .sg-map-consent iframe {
        height: 320px;
    }
}


/* ============================================================================
   10. METİN TİPOGRAFİSİ (yasal metinler, rehber) — .sg-prose
   ============================================================================ */
.sg-prose {
    color: var(--text-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.sg-prose > *:first-child {
    margin-top: 0;
}

.sg-prose h2 {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: var(--fw-display);
    color: var(--color-dark);
    letter-spacing: var(--ls-display);
    line-height: var(--lh-heading);
    margin: 2.4em 0 0.7em;
    scroll-margin-top: 110px;
}

.sg-prose h3 {
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    color: var(--color-dark);
    margin: 1.8em 0 0.6em;
    scroll-margin-top: 110px;
    line-height: var(--lh-snug);
}

.sg-prose p {
    margin: 0 0 1.1em;
}

.sg-prose ul,
.sg-prose ol {
    margin: 0 0 1.3em;
    padding-left: 1.3em;
}

.sg-prose li {
    margin-bottom: 0.45em;
}

.sg-prose li::marker {
    color: var(--color-gold-dark);
}

.sg-prose a {
    color: var(--color-gold-dark);
    font-weight: var(--fw-medium);
    text-decoration: underline;
    text-decoration-color: rgba(153, 101, 21, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--t-fast);
}

.sg-prose a:hover {
    text-decoration-color: currentColor;
}

.sg-prose strong {
    color: var(--color-dark);
    font-weight: var(--fw-semibold);
}

.sg-table-wrap {
    overflow-x: auto;
    margin: 0 0 1.6em;
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: var(--shadow-xs);
}

.sg-prose table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: var(--fs-sm);
    line-height: 1.6;
    background: #fff;
}

.sg-prose th,
.sg-prose td {
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(16, 24, 40, 0.07);
}

.sg-prose thead th {
    background: #0b1a2e;
    color: #fff;
    font-weight: var(--fw-bold);
    font-size: var(--fs-label);
    letter-spacing: var(--ls-caps);
    text-transform: uppercase;
}

.sg-prose tbody tr:last-child td {
    border-bottom: none;
}

.sg-prose tbody tr:nth-child(even) td {
    background: #fbfaf6;
}

.sg-callout {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    margin: 0 0 1.6em;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.28);
    font-size: var(--fs-sm);
    line-height: var(--lh-body);
}

.sg-callout > i {
    flex-shrink: 0;
    color: var(--color-gold-dark);
    font-size: 1.2rem;
    line-height: 1.5;
}

.sg-callout p:last-child {
    margin-bottom: 0;
}

.sg-prose code {
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(0, 26, 56, 0.06);
    color: var(--color-navy);
    font-size: 0.85em;
    word-break: break-word;
}


/* ============================================================================
   SCROLL REVEAL — [data-reveal]
   AOS yerine kendi hafif sistemimiz (public-layout.js → initReveal).
   - Öğe görünüme girince .is-in alır (IntersectionObserver, tek seferlik).
   - Aynı ebeveyn altındaki [data-reveal] kardeşler kademeli gelir:
     JS her birine --i (en fazla 6) yazar → gecikme = --i × 65ms.
   - Varyantlar: (boş) aşağıdan · start soldan · end sağdan · zoom ölçekten ·
     image = clip-path perdesi + içteki görselin yavaş zoom-out'u.
   - Başlıklar (JS splitWords): kelimeler .w > span maskesiyle alttan kayar.
   - Yalnızca html.js altında etkin: JS yüklenmezse içerik görünür kalır.
   - Geçiş bitince JS data-reveal özniteliğini KALDIRIR; böylece kartların
     kendi hover transform/transition kuralları bu seçicilerle çakışmaz.
   ============================================================================ */

/* Yatay varyantlar ilk boyamada öğeyi ±48px kaydırır. Body'deki overflow-x:hidden
   viewport'a yayılsa da iOS Safari yatay kaydırmayı engellemeyebiliyordu (eski AOS
   yatay taşma hatası). clip, kaydırma kabı OLUŞTURMAZ → sticky öğeler güvende. */
main {
    overflow-x: clip;
}

.js [data-reveal] {
    transition: opacity 0.5s ease, transform 0.7s var(--ease-out), clip-path 0.85s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 65ms);
}

.js [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
}

.js [data-reveal="start"]:not(.is-in) {
    transform: translate3d(-48px, 0, 0);
}

.js [data-reveal="end"]:not(.is-in) {
    transform: translate3d(48px, 0, 0);
}

.js [data-reveal="zoom"]:not(.is-in) {
    transform: scale(0.94);
}

/* image: öğe görünür kalır, içten dışa açılan perde + görsel zoom-out */
.js [data-reveal="image"] {
    clip-path: inset(0 0 0 0 round var(--reveal-radius, var(--radius-lg)));
}

.js [data-reveal="image"]:not(.is-in) {
    opacity: 1;
    transform: none;
    clip-path: inset(14% 10% 14% 10% round var(--reveal-radius, var(--radius-lg)));
}

.js [data-reveal="image"] img {
    transition: transform 1.05s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 65ms);
}

.js [data-reveal="image"]:not(.is-in) img {
    transform: scale(1.18);
}

/* Kelime maskesi (JS splitWords): dikey padding/margin çifti, alçalan harflerin
   (g, y, p) overflow:hidden ile kırpılmasını önler; yerleşim ölçüsü değişmez. */
.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-block: 0.06em 0.16em;
    margin-block: -0.06em -0.16em;
}

.w > span {
    display: inline-block;
    transform: translate3d(0, 112%, 0);
    transition: transform 0.65s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 65ms + var(--wi, 0) * 28ms + 30ms);
}

.is-in .w > span {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal],
    .js [data-reveal]:not(.is-in),
    .js [data-reveal="image"] img,
    .js [data-reveal="image"]:not(.is-in) img,
    .w > span {
        opacity: 1;
        transform: none;
        clip-path: none;
        transition: none;
    }
}
