/* ==========================================================================
   MA Group Holding — projeye özel yeni stiller (main.css'ten SONRA yüklenir)
   Not: Mevcut şablon sınıflarının değer ezmeleri main.css içindedir.
   Burada yalnızca bu projeye özgü YENİ bileşen stilleri bulunur.
   ========================================================================== */

/* --- Hero slider (swiper) --- */
.tp-mag-hero-slider {
    border-radius: 20px;
    overflow: hidden;
}
.tp-mag-hero-slider .swiper-slide {
    height: auto;
}
.tp-mag-hero-slider .tp-hero-spacing-3 {
    display: flex;
    align-items: center;
}
/* Görsel ile yazı arasında okunabilirlik için overlay */
.tp-mag-hero-slider .tp-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.12) 100%);
    z-index: 1;
    pointer-events: none;
}
.tp-mag-hero-slider .tp-hero-bg > .container {
    position: relative;
    z-index: 2;
}
.tp-mag-hero-slider .tp-hero-heading .tp-section-title-larg,
.tp-mag-hero-slider .tp-hero-heading .tp-hero-deg {
    color: #ffffff;
}
.tp-mag-hero-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px !important;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.tp-mag-hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: width .3s ease, background .3s ease;
}
.tp-mag-hero-pagination .swiper-pagination-bullet-active {
    width: 34px;
    border-radius: 6px;
    background: #ffffff;
}

/* --- WhatsApp yüzen buton (back-to-top yerine) --- */
.tp-whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
}
.tp-whatsapp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.tp-whatsapp-label {
    background: #25D366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    padding: 16px 9px;
    border-radius: 30px;
    white-space: nowrap;
    margin-bottom: 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transform: translateY(14px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s, max-height .3s ease;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.tp-whatsapp-float:hover .tp-whatsapp-label,
.tp-whatsapp-btn:focus-visible .tp-whatsapp-label {
    opacity: 1;
    visibility: visible;
    max-height: 220px;
    transform: translateY(0);
}
.tp-whatsapp-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    transition: transform .25s ease;
}
.tp-whatsapp-float:hover .tp-whatsapp-icon {
    transform: scale(1.06);
}
@media (max-width: 575.98px) {
    .tp-whatsapp-float { right: 18px; bottom: 18px; }
    .tp-whatsapp-icon { width: 52px; height: 52px; }
    .tp-whatsapp-label { font-size: 13px; padding: 7px 14px; }
}

/* --- Site geneli font: Inter --- */
:root {
    --tp-theme-font: "Inter", sans-serif;
    --tp-playfair-font: "Inter", sans-serif;
    --tp-poppins-font: "Inter", sans-serif;
}
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif;
}

/* --- Blog detay breadcrumb başlığı: uzun başlıklar için küçültülmüş --- */
.tp-breadcrumb-area--blog-detail .tp-breadcrumb-title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.04em;
}

/* --- Hizmet detay breadcrumb başlığı: 40px (responsive) --- */
.tp-breadcrumb-area--service-detail .tp-breadcrumb-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.04em;
}
@media (max-width: 991.98px) {
    .tp-breadcrumb-area--service-detail .tp-breadcrumb-title { font-size: 36px; }
}
@media (max-width: 767.98px) {
    .tp-breadcrumb-area--service-detail .tp-breadcrumb-title { font-size: 30px; }
}
@media (max-width: 575.98px) {
    .tp-breadcrumb-area--service-detail .tp-breadcrumb-title { font-size: 26px; }
}

/* --- Blog detay sidebar kategori linkleri: hafif çerçeve + radius --- */
.tp-sidebar-category ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(13, 13, 13, 0.08);
    border-radius: 15px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 15px;
}

/* --- Testimonial başlığı: bu alana özel 40px --- */
.tp-testimonail-area .tp-section-title {
    font-size: 40px;
}
@media (max-width: 767.98px) {
    .tp-testimonail-area .tp-section-title { font-size: 30px; }
}

/* --- Footer dark logo (biraz büyük) --- */
.tp-footer-contect-logo img {
    width: 200px !important;
    max-width: 200px;
    height: auto;
}
/* --- Footer hızlı menü / hizmetler link aralığı --- */
.tp-footer-quick-menu p {
    line-height: 2.1;
}
/* Hızlı Menü ve Hizmetlerimiz blokları arası boşluk daralsın */
.tp-footer-contect-info {
    justify-content: flex-start !important;
    gap: 80px;
}
/* Hizmetlerimiz listesi masaüstünde 2 kolon */
@media (min-width: 992px) {
    .tp-footer-services-menu p {
        column-count: 2;
        column-gap: 40px;
    }
    .tp-footer-services-menu p a {
        display: inline-block;
    }
}

/* --- Footer iletişim sekmeleri (Türkiye / Fransa) --- */
.tp-footer-contact-tabs .tp-footer-tabnav {
    display: flex;
    gap: 22px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.tp-footer-contact-tabs .tp-footer-tab {
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 300;
    padding: 0 2px 10px;
    margin-bottom: -1px;
    cursor: pointer;
    opacity: .7;
    transition: all .25s ease;
}
.tp-footer-contact-tabs .tp-footer-tab:hover {
    opacity: 1;
}
.tp-footer-contact-tabs .tp-footer-tab.is-active {
    opacity: 1;
    color: var(--tp-orange-color);
    border-bottom: 3px solid var(--tp-orange-color);
}
.tp-footer-contact-tabs .tp-footer-tabpane {
    display: none;
    flex-direction: column;
    gap: 6px;
}
.tp-footer-contact-tabs .tp-footer-tabpane.is-active {
    display: flex;
}
.tp-footer-contact-tabs .tp-footer-tabpane span {
    font-size: 13px;
    font-weight: 300;
    opacity: .8;
}
/* Masaüstü: sağa yaslı / Mobil: sola yaslı */
.tp-footer-contact-tabs {
    text-align: right;
}
.tp-footer-contact-tabs .tp-footer-tabnav {
    justify-content: flex-end;
}
.tp-footer-contact-tabs .tp-footer-tabpane {
    align-items: flex-end;
}
@media (max-width: 991.98px) {
    .tp-footer-contact-tabs {
        text-align: left;
    }
    .tp-footer-contact-tabs .tp-footer-tabnav {
        justify-content: flex-start;
    }
    .tp-footer-contact-tabs .tp-footer-tabpane {
        align-items: flex-start;
    }
}
/* --- Footer sosyal medya ikonları (her ekranda sağa yaslı) --- */
.tp-footer-social {
    width: 100%;
}
.tp-footer-social ul {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.tp-footer-social ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--tp-orange-color);
    background: transparent;
    color: var(--tp-orange-color);
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.tp-footer-social ul li a i {
    font-size: 15px;
    line-height: 1;
}
.tp-footer-social ul li a:hover {
    background: var(--tp-orange-color);
    border-color: var(--tp-orange-color);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Footer alt: legal menü + copyright küçük ve ince --- */
.tp-footer-legal ul li a,
.tp-footer-legal p {
    font-size: 13px;
    font-weight: 300;
}
.tp-footer-contect-menu.tp-footer-legal ul li {
    margin-right: 10px !important;
}
.tp-footer-contect-menu.tp-footer-legal ul li:last-child {
    margin-right: 0 !important;
}

/* --- Blog başlığı: h3'ü ezmeden 5px küçük, mobil uyumlu --- */
.tpblogpost__title.mag-blog-title {
    font-size: 25px;
}
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .tpblogpost__title.mag-blog-title { font-size: 20px; }
}
@media (max-width: 991.98px) {
    .tpblogpost__title.mag-blog-title { font-size: 15px; }
}
/* --- Blog açıklama metni --- */
.tpblogpost__desc {
    font-size: 16px;
    line-height: 1.6;
    color: #5b5b5b;
}
@media (max-width: 991.98px) {
    .tpblogpost__desc { font-size: 14px; }
}

/* --- Header CTA: telefon ve buton metni alt satıra kaymasın --- */
.tp-header-cta { flex-wrap: nowrap; }
.tp-header-cta-phone samp,
.tp-header-cta-button .tp-btn-text {
    white-space: nowrap;
}

/* --- Header "Hizmetler" dropdown: biraz geniş + ince yazı --- */
.tp-header-menu .tp-services-dropdown .sub-menu {
    min-width: 360px;
}
.tp-header-menu .sub-menu li a,
.tp-header-menu .sub-menu li a span {
    font-weight: 300;
}

/* --- Header logo genişliği --- */
.tp-header-logo img {
    width: 275px !important;
    max-width: 275px;
    height: auto;
}

/* --- Header dil dropdown (menüden bağımsız, telefon ile buton arasında) --- */
.tp-header-lang {
    position: relative;
}
.tp-header-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 0;
    padding: 6px 4px;
    font-weight: 500;
    font-size: 15px;
    color: inherit;
    cursor: pointer;
    line-height: 1;
}
.tp-header-lang-toggle svg {
    transition: transform .25s ease;
}
.tp-header-lang:hover .tp-header-lang-toggle svg,
.tp-header-lang:focus-within .tp-header-lang-toggle svg {
    transform: rotate(180deg);
}
.tp-header-lang-list {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    margin: 10px 0 0;
    padding: 8px 0;
    list-style: none;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 99;
}
.tp-header-lang:hover .tp-header-lang-list,
.tp-header-lang:focus-within .tp-header-lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tp-header-lang-list li a {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.tp-header-lang-list li a:hover {
    background: #f5f5f5;
}

/* --- Offcanvas dil seçici (mobil) --- */
.tp-offcanvas-lang ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tp-offcanvas-lang ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tp-offcanvas-lang ul li a:hover {
    background: var(--tp-secoundery-color, #f5b800);
    border-color: var(--tp-secoundery-color, #f5b800);
    color: #1a1a1a;
}
.tp-offcanvas-lang ul li.is-current a {
    background: var(--tp-theme-color, #1a1a1a);
    border-color: var(--tp-theme-color, #1a1a1a);
    color: #ffffff;
    pointer-events: none;
}

/* Offcanvas içindeki .tp-offcanvas-button-close `<button>` (sıfırlanmış stil) */
.tp-offcanvas-button-close {
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 1;
    color: inherit;
    cursor: pointer;
}
.tp-offcanvas-button-close:focus-visible {
    outline: 2px solid var(--tp-secoundery-color, #f5b800);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Toggle butonu (mobil hamburger) klavye odağı */
.header-sidebar-btn:focus-visible {
    outline: 2px solid var(--tp-secoundery-color, #f5b800);
    outline-offset: 3px;
}

/* Offcanvas açıkken arka plan kaydırmasını kilitle */
body.tp-offcanvas-active {
    overflow: hidden;
}

/* --- Offcanvas iletişim lokasyonları (tab) --- */
.tp-offcanvas-locations-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 6px;
}
.tp-offcanvas-locations-tab {
    background: transparent;
    border-radius: 999px;
    padding: 6px 10px 6px 0;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tp-offcanvas-locations-tab:hover {
    color: var(--tp-orange-color, #f5b800);
}
.tp-offcanvas-locations-tab.is-active {
    color: var(--tp-orange-color, #1a1a1a);
}
.tp-offcanvas-locations-tab:focus-visible {
    outline: 2px solid var(--tp-orange-color, #f55600);
    outline-offset: 2px;
}
.tp-offcanvas-locations-panel[hidden] {
    display: none;
}
.tp-offcanvas-locations-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tp-offcanvas-locations-panel li {
    margin-bottom: 6px;
}
.tp-offcanvas-locations-panel li a:hover {
    color: var(--tp-secoundery-color, #f5b800);
}

/* --- Hero CTA buton sarmalayıcı --- */
.tp-hero-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 35px;
}

/* --- Hero "İncele" (tp-btn-black) hover'da yazı okunabilir kalsın --- */
.tp-mag-hero-slider .tp-btn-black,
.tp-mag-hero-slider .tp-btn-black:hover,
.tp-mag-hero-slider .tp-btn-black:focus,
.tp-mag-hero-slider .tp-btn-black:hover .tp-btn-text,
.tp-mag-hero-slider .tp-btn-black:hover span {
    color: #ffffff;
}

/* --- "Tüm Hizmetlerimiz" CTA ortalama --- */
.tp-services-more .tp-btn {
    margin: 0 auto;
}
/* "Tüm Hizmetlerimiz" siyah buton hover yazısı --- */
.tp-services-more .tp-btn-black:hover,
.tp-services-more .tp-btn-black:hover .tp-btn-text {
    color: #ffffff;
}

/* --- Responsive (yalnızca yukarıdaki yeni bileşenler için) --- */
@media (max-width: 767.98px) {
    .tp-hero-btn-wrap { gap: 12px; margin-top: 28px; }
    .tp-mag-hero-pagination { bottom: 18px !important; }
    /* Uzun başlık/metinler mobilde taşmasın — hero tipografisini küçült */
    .tp-hero-solid-2 .tp-section-title-larg { font-size: 26px; line-height: 1.25; }
    .tp-hero-solid-2 .tp-hero-deg { font-size: 15px; line-height: 1.45; }
}
@media (max-width: 575.98px) {
    /* Hero CTA butonları tek satırda yan yana dursun */
    .tp-hero-btn-wrap { width: 100%; flex-wrap: nowrap; gap: 10px; }
    .tp-hero-btn-wrap .tp-btn {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        justify-content: space-between;
        padding-left: 14px;
        font-size: 13px;
        grid-gap: 6px;
    }
    .tp-hero-btn-wrap .tp-btn .tp-btn-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .tp-hero-btn-wrap .tp-btn .tp-btn-icon { flex: 0 0 auto; }
    .tp-hero-solid-2 .tp-section-title-larg { font-size: 22px; }
    .tp-hero-solid-2 .tp-hero-deg { font-size: 14px; }
    .tp-mag-hero-pagination .swiper-pagination-bullet { width: 10px; height: 10px; }
    .tp-mag-hero-pagination .swiper-pagination-bullet-active { width: 26px; }
}

/* ===== Hakkımızda şeffaflık/Misyon kartı — görsel alan içinde ortalı,
   col-5 genişlik (mobilde full); temadaki taşan absolute kart iptal ===== */
.tp-about-highlight .tp-solid-bg {
    min-height: 560px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.tp-about-highlight .tp-testi-card {
    position: static;
    right: auto;
    bottom: auto;
    min-width: 0;
    width: 41.6667%;            /* 5/12 — col-5 */
    min-height: auto;
    padding: 50px 45px;
    flex-wrap: wrap;
}
.tp-about-highlight .tp-testi-card-left {
    width: 100%;
    padding-right: 0;
    border-right: 0;
    margin-bottom: 30px;
}
.tp-about-highlight .tp-testi-card-right {
    width: 100%;
    padding-left: 0;
}
.tp-about-highlight .tp-testi-fact-num {
    font-size: 90px;
    line-height: 1;
}
@media only screen and (min-width: 992px) and (max-width: 1399.98px) {
    .tp-about-highlight .tp-testi-card { width: 60%; }
}
@media (max-width: 991.98px) {
    .tp-about-highlight .tp-solid-bg { min-height: auto; padding: 40px 15px; }
    .tp-about-highlight .tp-testi-card { width: 100%; padding: 35px 25px; }
}

/* Hizmetler grid — tüm kart görselleri eşit en/boy */
.tpservices2__thumb {
    border-radius: 15px;
}
.tpservices2__thumb img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}
@media (max-width: 767.98px) {
    .tpservices2__thumb img { height: 220px; }
}

/* Hakkımızda — "Neden MA Group Holding?" 4'lü ikon kartları */
.tp-why-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 28px;
}
.tp-why-card .tp-services-support-icon {
    width: 80px;
    height: 80px;
}
.tp-why-card .tp-services-support-icon svg {
    width: 34px;
    height: 34px;
}
.tp-why-card .tp-services-support-title {
    font-size: 20px;
}
@media (max-width: 991.98px) {
    .tp-why-card { padding: 32px 22px; }
}

/* Bölüm dikey boşluğu sadeleştirildi (tema varsayılanı 145px) */
.tp-services-spacing {
    padding: 80px 0;
}

/* --- İletişim sayfası: minimal bilgi listesi + harita --- */
.tp-contact-info-list { list-style: none; margin: 0; padding: 0; }
.tp-contact-info-list li {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.tp-contact-info-list li:first-child { padding-top: 0; }
.tp-contact-info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tp-contact-info-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(230, 100, 28, .10);
    color: #E6641C;
    font-size: 18px;
}
.tp-contact-info-body { display: flex; flex-direction: column; }
.tp-contact-info-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8a8f98;
    margin-bottom: 4px;
}
.tp-contact-info-value { font-size: 17px; font-weight: 500; color: #14181c; }
a.tp-contact-info-value:hover { color: #E6641C; }
.tp-contact-map { line-height: 0; height: 100%; min-height: 420px; }
.tp-contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
}
@media (max-width: 991.98px) {
    .tp-contact-map { margin-top: 30px; min-height: 320px; }
    .tp-contact-map iframe { min-height: 320px; }
}

/* Blog grid — tüm kart görselleri eşit boyutta, başlıklar biraz küçük */
.tppostbox__thumb {
    aspect-ratio: 4 / 3;
}
.tppostbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tppostbox__title {
    font-size: 20px;
}
@media (max-width: 1199.98px) {
    .tppostbox__title { font-size: 18px; }
}
.tppostbox__desc {
    margin-top: 12px;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* ===== Referanslar logo grid ===== */
.tp-ref-area {
    padding-bottom: 80px;
}
.tp-ref-grid {
    align-items: stretch;
}
@media (max-width: 575.98px) {
    .tp-ref-area { padding-bottom: 50px; }
}
.tp-ref-item {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: transform 0.3s ease;
}
.tp-ref-item img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.tp-ref-item:hover,
.tp-ref-item:focus-within {
    transform: translateY(-4px);
}
.tp-ref-item:hover img,
.tp-ref-item:focus-within img {
    filter: none;
    opacity: 1;
}
@media (max-width: 991.98px) {
    .tp-ref-item { height: 110px; }
}
@media (max-width: 575.98px) {
    .tp-ref-item { height: 90px; padding: 0 10px; }
    .tp-ref-item img { max-height: 55px; }
}

/* ===== Teklif formu — hizmete göre sorular ===== */
.tp-quote-service[hidden] {
    display: none !important;
}
.tp-quote-service-inner {
    background-color: var(--tp-gray-color, #F5F5F5);
    border-radius: 15px;
    padding: 28px 28px 8px;
    margin-bottom: 15px;
    animation: tpQuoteFieldsIn 0.35s ease;
}
@media (max-width: 575.98px) {
    .tp-quote-service-inner { padding: 20px 18px 4px; }
}
@keyframes tpQuoteFieldsIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tp-quote-service-head {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 18px;
    opacity: 0.7;
}
.tp-quote-qgroup > label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}
.tp-quote-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tp-quote-opt {
    margin: 0;
    cursor: pointer;
}
.tp-quote-opt input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.tp-quote-opt span {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 15px;
    line-height: 1.2;
    transition: all 0.25s ease;
    user-select: none;
}
.tp-quote-opt:hover span {
    border-color: var(--tp-black-color, #000);
}
.tp-quote-opt:has(input:checked) span {
    background-color: var(--tp-black-color, #000);
    border-color: var(--tp-black-color, #000);
    color: var(--tp-white-color, #fff);
}
.tp-quote-opt input:focus-visible + span {
    outline: 2px solid var(--tp-secoundery-color, #D9D813);
    outline-offset: 2px;
}

/* --- Fact (sayaç) bloğu — mobilde 2'li grid, sabit 200px yükseklik --- */
@media (max-width: 767.98px) {
    .tp-fact-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
    }
    .tp-fact-wrap .tpfact {
        width: 100%;
        height: 200px;
        margin: 0;
        border-radius: 20px;
    }
}

/* ==========================================================================
   Footer — mobil düzen onarımı
   Sorunlar: sağ kolon (logo + iletişim + sosyal) yatay sıkışıyordu; uzun
   e-posta adresleri beyaz kutunun kenarından taşıp kesiliyordu; sosyal
   ikonlar ve menüler hizasızdı. Mobilde temiz tek kolon yığını kuruyoruz.
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Sağ kolon yatay satır yerine dikey yığın — logo, iletişim, sosyal */
    .tp-footer-contect-right {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
        width: 100%;
    }
    .tp-footer-contect-logo {
        margin-bottom: 0;
    }

    /* Mobilde logo + iletişim kolonu, menü kolonundan ÖNCE gelsin */
    .tp-footer-contect-info-main .row > [class*="col-"] {
        width: 100%;
    }
    .tp-footer-contect-info-main .row > .col-xxl-3 {
        order: -1;
    }

    /* Footer menü linkleri: her biri kendi satırında (legal menü hariç) */
    .tp-footer-quick-menu p a {
        display: block;
    }
}
@media (max-width: 767.98px) {
    /* Başlık + "Teklif Alın" rozeti arası nefes, ortalı */
    .tp-footer-heading {
        gap: 24px;
        justify-content: center;
    }

    /* Beyaz kutu kenarlarından içerik nefes alsın */
    .tp-footer-contect {
        padding-left: 6px;
        padding-right: 6px;
    }

    /* Davet metni: yatay ayraç + e-posta yan yana sığmıyordu → alt alta */
    .tp-footer-contect-info-des {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 18px;
        line-height: 1.45;
        margin-bottom: 36px;
    }
    .tp-footer-contect-info-des span {
        display: none; /* mobilde anlamsız kalan yatay çizgi ayracı */
    }

    /* Uzun e-posta/adres beyaz kutuyu taşırmasın */
    .tp-footer-contect-info-des a,
    .tp-footer-contact-tabs .tp-footer-tabpane a,
    .tp-footer-contact-tabs .tp-footer-tabpane span {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* İki menü bloğu (Hızlı Menü / Hizmetlerimiz) net ayrılsın */
    .tp-footer-contect-info {
        flex-direction: column;
        gap: 26px;
    }
    .tp-footer-contect-info-item {
        margin-bottom: 0;
    }

    /* İletişim sekmesi tam genişlik + sola yaslı */
    .tp-footer-contact-tabs {
        width: 100%;
    }

    /* Sosyal ikonlar mobilde sola yaslı (masaüstünde sağda kalır) */
    .tp-footer-social ul {
        justify-content: flex-start;
    }
    /* Sosyal ikonların altına nefes — sonraki içerikten ayrılsın */
    .tp-footer-social {
        margin-bottom: 30px;
    }

    /* Alt şerit hizalama (legal menünün kendi stiline dokunulmadı) */
    .tp-footer-contect-bottom {
        gap: 14px;
        padding: 20px 0 4px;
    }
}
