/* Site footer + newsletter v2 — generated from draft/beyin-v2 */
:root {
  --tx-shell: min(1180px, calc(100% - 2.5rem));
  --tx-ui: "Poppins", system-ui, sans-serif;
  --tx-sans: "Figtree", "Poppins", system-ui, sans-serif;
}
@media (max-width: 991px) {
  :root { --tx-shell: min(1180px, calc(100% - 1.5rem)); }
}
.cs_newsletter_2_wrap {
        position: relative;
        z-index: 2;
        /* taşan portre (~4.25rem) + küçük nefes payı */
        padding: 5rem 0 0.25rem;
        background: #fff;
        overflow: visible;
    }
    .cs_newsletter_2_wrap::before {
        display: none;
    }
    .cs_newsletter_2_wrap > .container {
        width: var(--tx-shell);
        max-width: none;
        margin: 0 auto;
        padding: 0;
        overflow: visible;
    }
    .cs_newsletter.cs_style_2 {
        position: relative;
        margin-top: 0;
        display: grid;
        grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
        align-items: stretch;
        gap: 0;
        overflow: visible;
        border-radius: 20px;
        border: 1px solid rgba(16, 35, 63, 0.08);
        background:
            radial-gradient(ellipse 55% 80% at 12% 80%, rgba(126, 184, 232, 0.22), transparent 58%),
            radial-gradient(ellipse 45% 60% at 92% 18%, rgba(47, 120, 192, 0.18), transparent 55%),
            linear-gradient(145deg, #0b1a2e 0%, #143052 52%, #1d4f7a 100%);
        box-shadow: 0 18px 42px rgba(7, 16, 28, 0.16);
        color: #eef5fb;
    }
    .cs_newsletter.cs_style_2 .cs_newsletter_img {
        position: absolute;
        z-index: 2;
        left: 0;
        bottom: 0;
        width: 42%;
        height: calc(100% + 3.75rem);
        display: flex;
        align-items: flex-end;
        justify-content: center;
        margin: 0;
        padding: 0 0 0 0.35rem;
        overflow: visible;
        background: transparent;
        pointer-events: none;
    }
    .cs_newsletter.cs_style_2 .cs_newsletter_img img {
        display: block;
        width: auto;
        height: 100%;
        max-height: none;
        max-width: min(100%, 400px);
        object-fit: contain;
        object-position: bottom center;
        margin: 0;
        transform: none;
        filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.32));
    }
    .cs_newsletter.cs_style_2 .cs_newsletter_in {
        grid-column: 2;
        padding: clamp(1.6rem, 3.5vw, 2.5rem) clamp(1.35rem, 3vw, 2.4rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .cs_newsletter.cs_style_2 .cs_newsletter_subtitle {
        margin: 0 0 0.55rem !important;
        font-family: var(--tx-ui);
        font-size: 0.72rem !important;
        font-weight: 650;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(190, 220, 245, 0.82) !important;
    }
    .cs_newsletter.cs_style_2 .cs_height_6 {
        display: none;
    }
    .cs_newsletter.cs_style_2 .cs_newsletter_title {
        margin: 0 0 1.15rem !important;
        max-width: none;
        font-family: var(--tx-sans) !important;
        font-size: clamp(1.45rem, 2.4vw, 1.95rem) !important;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -0.02em;
        color: #f4f9fd !important;
        text-wrap: balance;
    }
    .cs_newsletter.cs_style_2 .cs_newsletter_form {
        display: flex;
        flex-wrap: wrap;
        gap: 0.65rem;
        max-width: 34rem;
        width: 100%;
    }
    .cs_newsletter.cs_style_2 .cs_form_field,
    .cs_newsletter.cs_style_2 .cs_newsletter_form input[type="email"] {
        flex: 1 1 12rem;
        min-height: 48px;
        margin: 0;
        padding: 0.7rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        color: #fff !important;
        font-family: var(--tx-ui);
        font-size: 0.92rem;
        box-shadow: none !important;
    }
    .cs_newsletter.cs_style_2 .cs_form_field::placeholder,
    .cs_newsletter.cs_style_2 .cs_newsletter_form input::placeholder {
        color: rgba(230, 240, 250, 0.55);
    }
    .cs_newsletter.cs_style_2 .cs_form_field:focus,
    .cs_newsletter.cs_style_2 .cs_newsletter_form input:focus {
        outline: none;
        border-color: rgba(126, 184, 232, 0.65) !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }
    .cs_newsletter.cs_style_2 .cs_btn.cs_style_1 {
        flex: 0 0 auto;
        min-height: 48px;
        padding: 0 1.25rem;
        border: 0;
        border-radius: 999px;
        background: linear-gradient(135deg, #6eb0e4 0%, #2f78c0 55%, #234a6e 100%);
        color: #fff;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    }
    .cs_newsletter.cs_style_2 .cs_btn.cs_style_1:hover {
        transform: translateY(-1px);
    }
    .cs_newsletter.cs_style_2 .cs_btn.cs_style_1 span {
        font-family: var(--tx-ui);
        font-size: 0.9rem;
        font-weight: 600;
    }
    .cs_newsletter.cs_style_2 .cs_btn.cs_style_1 i {
        display: none;
    }


    /* ========== Footer (yalnız draft) ========== */
    footer.cs_footer.cs_style_2 {
        position: relative;
        isolation: isolate;
        background:
            linear-gradient(180deg, #071320 0%, #0a1a2c 42%, #061018 100%) !important;
        color: rgba(232, 240, 248, 0.88);
        overflow: hidden;
    }
    footer.cs_footer.cs_style_2.cs_accent_bg {
        background-color: transparent !important;
    }
    footer.cs_footer.cs_style_2::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background:
            radial-gradient(ellipse 55% 50% at 12% 18%, rgba(74, 148, 210, 0.28), transparent 58%),
            radial-gradient(ellipse 45% 42% at 88% 8%, rgba(38, 96, 155, 0.32), transparent 55%),
            radial-gradient(ellipse 60% 40% at 70% 95%, rgba(20, 70, 120, 0.22), transparent 60%);
    }
    footer.cs_footer.cs_style_2::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.35;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
        background-size: 56px 56px;
        mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
    }
    footer.cs_footer .tx-ft-ambient {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
    }
    footer.cs_footer .tx-ft-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(40px);
        will-change: transform;
    }
    footer.cs_footer .tx-ft-orb--a {
        width: min(42vw, 380px);
        height: min(42vw, 380px);
        top: -8%;
        left: -6%;
        background: rgba(78, 150, 214, 0.22);
    }
    footer.cs_footer .tx-ft-orb--b {
        width: min(36vw, 320px);
        height: min(36vw, 320px);
        top: 18%;
        right: -8%;
        background: rgba(36, 110, 175, 0.2);
    }
    footer.cs_footer .tx-ft-orb--c {
        width: min(48vw, 420px);
        height: min(48vw, 420px);
        bottom: -18%;
        left: 35%;
        background: rgba(18, 80, 140, 0.18);
    }
    footer.cs_footer .tx-ft-line {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 1px;
        z-index: 1;
        background: linear-gradient(90deg, transparent, rgba(150, 200, 240, 0.55), transparent);
    }
    footer.cs_footer .tx-ft-line::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        width: min(42%, 360px);
        height: 2px;
        transform: translateX(-50%);
        background: linear-gradient(90deg, transparent, #8ec4f0, transparent);
        box-shadow: 0 0 18px rgba(126, 184, 232, 0.45);
    }
    footer.cs_footer > .container.my-5,
    footer.cs_footer > .tx-ft-cta,
    footer.cs_footer > .cs_footer_bottom {
        position: relative;
        z-index: 2;
    }
    footer.cs_footer .tx-ft-cta {
        width: var(--tx-shell);
        max-width: none;
        margin: 0 auto;
        padding: clamp(1.75rem, 3.5vw, 2.4rem) 0 0;
    }
    footer.cs_footer .tx-ft-cta__inner {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) auto;
        gap: 1.25rem 2rem;
        align-items: end;
        padding: clamp(1.25rem, 2.5vw, 1.65rem) clamp(1.2rem, 2.4vw, 1.75rem);
        border: 1px solid rgba(160, 205, 240, 0.18);
        border-radius: 4px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 45%, rgba(70, 140, 200, 0.08));
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(8px);
    }
    footer.cs_footer .tx-ft-cta__eyebrow {
        margin: 0 0 0.4rem;
        font-family: var(--tx-ui);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(170, 210, 240, 0.82);
    }
    footer.cs_footer .tx-ft-cta__title {
        margin: 0 0 0.45rem;
        font-family: var(--tx-sans);
        font-size: clamp(1.35rem, 2.4vw, 1.75rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.2;
        color: #f2f7fc;
    }
    footer.cs_footer .tx-ft-cta__lede {
        margin: 0;
        max-width: 46ch;
        font-family: var(--tx-ui);
        font-size: 0.92rem;
        line-height: 1.55;
        color: rgba(210, 226, 240, 0.75);
    }
    footer.cs_footer .tx-ft-cta__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.65rem;
        justify-content: flex-end;
    }
    footer.cs_footer .tx-ft-cta__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.85rem;
        padding: 0.7rem 1.2rem;
        font-family: var(--tx-ui);
        font-size: 0.9rem;
        font-weight: 650;
        text-decoration: none !important;
        border-radius: 3px;
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }
    footer.cs_footer .tx-ft-cta__btn--primary {
        background: #e8f2fc;
        color: #0b1a2e !important;
        border: 1px solid #e8f2fc;
    }
    footer.cs_footer .tx-ft-cta__btn--primary:hover {
        background: #fff;
        transform: translateY(-2px);
    }
    footer.cs_footer .tx-ft-cta__btn--ghost {
        background: transparent;
        color: #d7e9f8 !important;
        border: 1px solid rgba(190, 220, 245, 0.35);
    }
    footer.cs_footer .tx-ft-cta__btn--ghost:hover {
        border-color: rgba(190, 220, 245, 0.7);
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-2px);
    }
    footer.cs_footer > .container.my-5 {
        width: var(--tx-shell);
        max-width: none;
        margin: 0 auto !important;
        padding: clamp(1.75rem, 3.5vw, 2.4rem) 0 1.35rem !important;
    }
    footer.cs_footer > .container.my-5 > footer {
        background: transparent !important;
        text-align: left !important;
    }
    footer.cs_footer > .container.my-5 > footer > .container {
        width: 100%;
        max-width: none;
        padding: 0 !important;
        margin: 0;
    }
    footer.cs_footer .row {
        --bs-gutter-x: 0;
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 1.15fr) minmax(0, 0.75fr);
        gap: clamp(1.5rem, 3vw, 2.25rem);
        margin: 0 !important;
        align-items: start;
    }
    footer.cs_footer .row > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
    }
    footer.cs_footer .row > hr {
        display: none !important;
    }
    footer.cs_footer .cs_text_widget img {
        display: block;
        height: 95px;
        width: auto;
        margin-bottom: 0.95rem;
        filter: brightness(1.08) drop-shadow(0 8px 18px rgba(80, 150, 210, 0.25));
    }
    @media (max-width: 991px) {
        footer.cs_footer .cs_text_widget img {
            height: 64px;
        }
    }
    footer.cs_footer h6 {
        margin: 0 0 0.95rem !important;
        font-family: var(--tx-ui) !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(190, 220, 245, 0.78) !important;
    }
    footer.cs_footer h6.font-weight-bold {
        font-weight: 700 !important;
    }
    footer.cs_footer .cs_text_widget + p,
    footer.cs_footer p[style*="color: white"],
    footer.cs_footer p {
        color: rgba(220, 232, 244, 0.74) !important;
        font-family: var(--tx-ui);
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 0.55rem;
    }
    footer.cs_footer .cs_menu_widget {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 0.5rem;
    }
    footer.cs_footer .cs_menu_widget a {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-family: var(--tx-ui);
        font-size: 0.92rem;
        font-weight: 500;
        color: rgba(236, 244, 252, 0.9) !important;
        text-decoration: none !important;
        transition: color 0.2s ease, transform 0.22s ease;
    }
    footer.cs_footer .cs_menu_widget a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 1px;
        background: rgba(158, 200, 245, 0.75);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.28s ease;
    }
    footer.cs_footer .cs_menu_widget a:hover {
        color: #b7d8f8 !important;
        transform: translateX(4px);
    }
    footer.cs_footer .cs_menu_widget a:hover::after {
        transform: scaleX(1);
    }
    footer.cs_footer .col-md-4 p {
        display: grid;
        grid-template-columns: 1.1rem minmax(0, 1fr);
        gap: 0.55rem;
        align-items: start;
        padding: 0.35rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    footer.cs_footer .col-md-4 p:last-child {
        border-bottom: 0;
    }
    footer.cs_footer .col-md-4 p i {
        margin: 0.2rem 0 0 !important;
        color: #7eb8e8 !important;
        font-size: 0.85rem;
    }
    footer.cs_footer .col-md-4 p a {
        color: rgba(236, 244, 252, 0.9) !important;
    }
    footer.cs_footer .col-md-3.col-lg-3 p {
        max-width: 36ch;
    }
    footer.cs_footer .col-md-3.col-xl-2 {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 0.45rem;
    }
    footer.cs_footer .col-md-3.col-xl-2 > h6 {
        width: 100%;
        flex: 0 0 100%;
    }
    footer.cs_footer .col-md-3.col-xl-2 > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        margin: 0 !important;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.05);
        color: #d7e8f8 !important;
        text-decoration: none !important;
        transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    footer.cs_footer .col-md-3.col-xl-2 > a:hover {
        background: rgba(126, 184, 232, 0.2);
        border-color: rgba(126, 184, 232, 0.55);
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 10px 22px rgba(40, 100, 160, 0.28);
        color: #fff !important;
    }
    footer.cs_footer .cs_footer_bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
        padding: 1.35rem 0 1.45rem;
        margin-top: 0.35rem;
    }
    footer.cs_footer .cs_footer_bottom .container {
        width: var(--tx-shell);
        max-width: none;
        margin: 0 auto;
        padding: 0;
    }
    footer.cs_footer .tx-ft-credit {
        display: grid;
        gap: 0.45rem;
        justify-items: center;
        text-align: center;
    }
    footer.cs_footer .tx-ft-credit__crafted {
        margin: 0;
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.35rem 0.45rem;
        font-family: var(--tx-ui);
        font-size: 0.86rem;
        font-weight: 500;
        color: rgba(210, 224, 238, 0.78);
    }
    footer.cs_footer .tx-ft-credit__crafted .fa-heart {
        color: #e42386;
        font-size: 0.82rem;
        transform: translateY(0.5px);
    }
    footer.cs_footer .tx-ft-credit__crafted a {
        display: inline-flex;
        align-items: center;
        line-height: 0;
        text-decoration: none !important;
        opacity: 0.92;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    footer.cs_footer .tx-ft-credit__crafted a:hover {
        opacity: 1;
        transform: translateY(-1px);
    }
    footer.cs_footer .tx-ft-credit__crafted img {
        display: block;
        height: 32px;
        width: auto;
        max-width: min(200px, 46vw);
    }
    footer.cs_footer .tx-ft-credit__copy {
        margin: 0;
        font-family: var(--tx-ui);
        font-size: 0.75rem;
        line-height: 1.45;
        color: rgba(170, 188, 206, 0.58);
    }
    /* eski sınıf referansı */
    footer.cs_footer .cs_copyright {
        font-family: var(--tx-ui);
        font-size: 0.8rem;
        color: rgba(200, 214, 228, 0.62);
        text-align: center;
    }
    footer.cs_footer .cs_copyright a {
        color: #9ec8f5 !important;
        text-decoration: none !important;
    }
    footer.cs_footer .cs_copyright a:hover {
        text-decoration: underline !important;
    }

    @media (max-width: 991px) {
        .cs_newsletter.cs_style_2 {
            grid-template-columns: 1fr;
        }
        .cs_newsletter.cs_style_2 .cs_newsletter_img {
            display: none;
        }
        .cs_newsletter.cs_style_2 .cs_newsletter_in {
            grid-column: 1;
            padding: 1.5rem 1.2rem 1.6rem;
        }
        .cs_newsletter.cs_style_2 .cs_newsletter_title {
            max-width: none;
        }
        .cs_newsletter.cs_style_2 .cs_newsletter_form {
            flex-direction: column;
        }
        .cs_newsletter.cs_style_2 .cs_btn.cs_style_1 {
            width: 100%;
            justify-content: center;
        }
        footer.cs_footer .tx-ft-cta__inner {
            grid-template-columns: 1fr;
            align-items: start;
        }
        footer.cs_footer .tx-ft-cta__actions {
            justify-content: flex-start;
        }
        footer.cs_footer .row {
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem 1.25rem;
        }
        footer.cs_footer .row > [class*="col-"]:first-child {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 575px) {
        footer.cs_footer .row {
            grid-template-columns: 1fr;
        }
        footer.cs_footer .row > [class*="col-"]:first-child {
            grid-column: auto;
        }
        footer.cs_footer > .container.my-5 {
            padding-top: 1.5rem !important;
        }
        footer.cs_footer .tx-ft-cta__btn {
            width: 100%;
        }
        footer.cs_footer .tx-ft-cta__actions {
            width: 100%;
        }
    }
