/* =============================================================================
   theme.css — Sociware tamirat/tadilat arayuzunun bilesen katmani.
   Buradan tek bir hex renk bile gecmez: her deger theme-tokens.css
   (ve veritabanindan basilan <style id="tp-brand">) uzerinden gelir.
   Sayfalar yalnizca bu dosyadaki tp-* siniflarini kullanir.
   ============================================================================= */

/* ----------------------------------------------------------------------------
   1. TEMEL
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Tarayıcı varsayılanı "figure/blockquote { margin: 1em 40px }" ızgara kartlarını içeri kaydırıyordu. */
figure, blockquote { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--tp-bg);
    color: var(--tp-text);
    font-family: var(--tp-font-body);
    font-size: var(--tp-fs-base);
    font-weight: var(--tp-weight-body);
    line-height: var(--tp-lh-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, iframe, video { max-width: 100%; height: auto; border: 0; }
img { display: block; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .6em;
    color: var(--tp-heading);
    font-family: var(--tp-font-head);
    font-weight: var(--tp-weight-head);
    letter-spacing: var(--tp-tracking-head);
    line-height: var(--tp-lh-head);
    text-wrap: balance;
}
h1 { font-size: var(--tp-fs-h1); }
h2 { font-size: var(--tp-fs-h2); }
h3 { font-size: var(--tp-fs-h3); }
h4 { font-size: var(--tp-fs-h4); }
h5 { font-size: var(--tp-fs-h5); }
h6 { font-size: 1rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--tp-primary-ink); text-decoration: none; transition: color var(--tp-dur-fast) var(--tp-ease); }
a:hover { color: var(--tp-primary-ink); }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
ul li, ol li { margin-bottom: .4rem; }

hr { border: 0; border-top: var(--tp-border-w) solid var(--tp-border); margin: var(--tp-gap) 0; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
    outline: 3px solid var(--tp-ring);
    outline-offset: 2px;
    border-radius: var(--tp-radius-xs);
}

::selection { background: rgba(var(--tp-primary-rgb), .18); color: var(--tp-heading); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 12px 20px;
    background: var(--tp-primary);
    color: var(--tp-on-primary);
    font-weight: 600;
    border-radius: 0 0 var(--tp-radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--tp-on-primary); }

.tp-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------------------------
   2. YERLESHM
   ---------------------------------------------------------------------------- */
.tp-container {
    width: 100%;
    max-width: var(--tp-container);
    margin-inline: auto;
    padding-inline: var(--tp-gutter);
}
.tp-container--narrow { max-width: 820px; }
.tp-container--text { max-width: 760px; }

.tp-section { padding-block: var(--tp-section); position: relative; }
.tp-section--tight { padding-block: var(--tp-section-sm); }
.tp-section--soft { background: var(--tp-bg-soft); }
.tp-section--surface { background: var(--tp-surface-soft); }
.tp-section--inverse { background: var(--tp-inverse); color: var(--tp-text-inverse); }
.tp-section--primary { background: var(--tp-primary); color: var(--tp-on-primary); }
/* Boyasiz bolumler arasindaki bosluk tek tarafa indirilir; kendi zeminine gomulu
   bantlar (soft/surface/inverse/primary) ust-alt padding'ini korumak zorunda,
   yoksa bant icindeki icerik uste yapisik gorunur. */
.tp-section + .tp-section:not(.tp-section--soft):not(.tp-section--surface):not(.tp-section--inverse):not(.tp-section--primary) { padding-top: 0; }
.tp-section--tight + .tp-section { padding-top: var(--tp-section); }

.tp-grid {
    display: grid;
    gap: var(--tp-gap);
}
.tp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-cols-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
/* Yorum kartlari dar sutunlarda asiri uzuyor; sabit iki genis sutun okunuru kalir. */
.tp-cols-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-cols-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--tp-gap-lg); }
.tp-cols-sidebar--left { grid-template-columns: 300px minmax(0, 1fr); }

.tp-flex { display: flex; gap: var(--tp-gap-sm); }
.tp-flex--wrap { flex-wrap: wrap; }
.tp-flex--between { justify-content: space-between; }
.tp-flex--center { align-items: center; justify-content: center; }
.tp-flex--middle { align-items: center; }
.tp-flex--col { flex-direction: column; }
.tp-flex > * { min-width: 0; }

.tp-stack { display: flex; flex-direction: column; gap: var(--tp-gap-sm); }
.tp-stack--lg { gap: var(--tp-gap-lg); }

.tp-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: var(--tp-gap-lg);
    align-items: center;
}
.tp-split--reverse > .tp-split__media { order: -1; }

.tp-text-center { text-align: center; }
.tp-mt-0 { margin-top: 0; }
.tp-mt-sm { margin-top: var(--tp-gap-sm); }
.tp-mt { margin-top: var(--tp-gap); }
.tp-mt-lg { margin-top: var(--tp-gap-lg); }
.tp-mb { margin-bottom: var(--tp-gap); }
.tp-nowrap { white-space: nowrap; }

/* ----------------------------------------------------------------------------
   3. TIPOGRAFI BLOKLARI
   ---------------------------------------------------------------------------- */
.tp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--tp-primary-ink);
    font-family: var(--tp-font-head);
    font-size: var(--tp-fs-sm);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.tp-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    align-self: flex-start;
    margin-top: .65em;
    background: currentColor;
    border-radius: var(--tp-radius-pill);
}
.tp-section--inverse .tp-eyebrow,
.tp-hero .tp-eyebrow { color: var(--tp-accent); }

.tp-section-head { max-width: 720px; margin-bottom: clamp(28px, 3vw, 46px); }
.tp-section-head--center { margin-inline: auto; text-align: center; }
.tp-section-head--center .tp-eyebrow::before { display: none; }
.tp-section-head__title { margin-bottom: 12px; }
.tp-section-head__text { color: var(--tp-text-muted); font-size: var(--tp-fs-lead); }

.tp-lead {
    font-size: var(--tp-fs-lead);
    color: var(--tp-text-muted);
    max-width: 62ch;
}
.tp-muted { color: var(--tp-text-muted); }
.tp-small { font-size: var(--tp-fs-sm); }
.tp-strong { color: var(--tp-heading); font-weight: 600; }
.tp-highlight { color: var(--tp-primary-ink); font-weight: 600; }

.tp-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--tp-gap);
    flex-wrap: wrap;
    margin-bottom: clamp(24px, 3vw, 40px);
}
.tp-title-row h2 { margin-bottom: 0; }

/* Veritabanindan gelen zengin icerik (blog/hizmet/statik sayfa) */
.tp-prose > :first-child { margin-top: 0; }
.tp-prose > h2 { margin-top: 2em; }
.tp-prose > h3, .tp-prose > h4 { margin-top: 1.6em; }
.tp-prose p, .tp-prose li { color: var(--tp-text); }
.tp-prose ul, .tp-prose ol { padding-left: 1.1rem; }
.tp-prose ul li { list-style: none; position: relative; padding-left: 1.4rem; }
.tp-prose ul li::before {
    content: "";
    position: absolute;
    left: 0; top: .62em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--tp-primary);
}
.tp-prose ol li { padding-left: .3rem; }
.tp-prose img { border-radius: var(--tp-radius); margin: 1.4rem 0; }
.tp-prose blockquote {
    margin: 1.6rem 0;
    padding: 1rem 1.4rem;
    border-left: 4px solid var(--tp-primary);
    background: var(--tp-surface-soft);
    border-radius: 0 var(--tp-radius-sm) var(--tp-radius-sm) 0;
    color: var(--tp-heading);
    font-style: normal;
}
.tp-prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; }
.tp-prose th, .tp-prose td { border: var(--tp-border-w) solid var(--tp-border); padding: 10px 12px; text-align: left; }
.tp-prose th { background: var(--tp-surface-soft); color: var(--tp-heading); font-weight: 600; }
.tp-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(var(--tp-primary-rgb), .4); }
.tp-prose a:hover { text-decoration-color: var(--tp-primary-ink); }
.tp-prose iframe { border-radius: var(--tp-radius); }

/* ----------------------------------------------------------------------------
   4. BUTONLAR
   ---------------------------------------------------------------------------- */
.tp-btn {
    --btn-bg: var(--tp-primary);
    --btn-fg: var(--tp-on-primary);
    --btn-bd: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--tp-btn-pad-y) var(--tp-btn-pad-x);
    border: var(--tp-border-w) solid var(--btn-bd);
    border-radius: var(--tp-radius-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--tp-font-head);
    font-size: var(--tp-btn-fs);
    font-weight: var(--tp-btn-weight);
    letter-spacing: .01em;
    line-height: 1.1;
    cursor: pointer;
    text-align: center;
    transition: transform var(--tp-dur-fast) var(--tp-ease),
                background-color var(--tp-dur) var(--tp-ease),
                box-shadow var(--tp-dur) var(--tp-ease),
                color var(--tp-dur) var(--tp-ease),
                border-color var(--tp-dur) var(--tp-ease);
}
.tp-btn:hover {
    --btn-fg: var(--tp-on-primary-dark);
    background: var(--tp-primary-dark);
    box-shadow: var(--tp-shadow-sm);
    transform: translateY(-2px);
}
.tp-btn:active { transform: translateY(0); }
.tp-btn i, .tp-btn svg { font-size: 1.05em; }

.tp-btn--secondary { --btn-bg: var(--tp-secondary); --btn-fg: var(--tp-on-secondary); }
.tp-btn--secondary:hover { background: var(--tp-inverse); --btn-fg: var(--tp-text-inverse); }
.tp-btn--accent { --btn-bg: var(--tp-accent); --btn-fg: var(--tp-on-accent); }
.tp-btn--accent:hover { background: var(--tp-primary); --btn-fg: var(--tp-on-primary); }
.tp-btn--outline { --btn-bg: transparent; --btn-fg: var(--tp-heading); --btn-bd: var(--tp-border-strong); }
.tp-btn--outline:hover { background: var(--tp-primary); --btn-fg: var(--tp-on-primary); --btn-bd: var(--tp-primary); }
.tp-btn--ghost { --btn-bg: transparent; --btn-fg: var(--tp-primary-ink); --btn-bd: transparent; padding-inline: 12px; }
.tp-btn--ghost:hover { background: rgba(var(--tp-primary-rgb), .08); --btn-fg: var(--tp-primary-ink); box-shadow: none; transform: none; }
.tp-btn--light { --btn-bg: var(--tp-surface); --btn-fg: var(--tp-heading); }
.tp-btn--light:hover { --btn-fg: var(--tp-primary-ink); }
/* Bandın zemini --tp-primary; düğme zemini --tp-on-primary olduğuna göre
   mürekkep de bandın kendi rengi olmalı. --tp-primary-ink ayrı türetildiği için
   koyu profillerde ikisi de koyu kalıp 3:1'e düşüyordu. */
.tp-btn--onprimary { --btn-bg: var(--tp-on-primary); --btn-fg: var(--tp-primary); }
.tp-btn--onprimary:hover { background: var(--tp-accent); --btn-fg: var(--tp-on-accent); }

.tp-btn--sm { padding: 9px 16px; font-size: var(--tp-fs-sm); border-radius: var(--tp-radius-xs); }
.tp-btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.tp-btn--block { display: flex; width: 100%; }
.tp-btn--pill { border-radius: var(--tp-radius-pill); }
.tp-btn[disabled], .tp-btn.is-disabled { opacity: .5; pointer-events: none; }

.tp-btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* Telefon / WhatsApp sabit eylem butonlari */
.tp-callbtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--tp-radius-pill);
    background: rgba(var(--tp-primary-rgb), .08);
    color: var(--tp-heading);
    font-family: var(--tp-font-head);
    font-weight: 600;
    transition: background-color var(--tp-dur) var(--tp-ease), color var(--tp-dur) var(--tp-ease);
}
.tp-callbtn:hover { background: var(--tp-primary); color: var(--tp-on-primary); }
.tp-callbtn__label { font-size: var(--tp-fs-xs); font-weight: 500; color: inherit; opacity: .75; display: block; line-height: 1.2; }
.tp-callbtn__number { display: block; line-height: 1.2; }
.tp-section--inverse .tp-callbtn { background: rgba(255, 255, 255, .1); color: var(--tp-text-inverse); }

.tp-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--tp-radius-pill);
    background: var(--tp-whatsapp);
    color: #fff;
    font-family: var(--tp-font-head);
    font-weight: 600;
}
.tp-wa:hover { background: var(--tp-whatsapp-dark); color: #fff; }

/* ----------------------------------------------------------------------------
   5. ROZET / ETIKET
   ---------------------------------------------------------------------------- */
.tp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--tp-radius-pill);
    background: rgba(var(--tp-primary-rgb), .1);
    color: var(--tp-primary-ink);
    font-family: var(--tp-font-head);
    font-size: var(--tp-fs-xs);
    font-weight: 600;
    letter-spacing: .02em;
}
.tp-badge--accent { background: rgba(var(--tp-accent-rgb), .16); color: var(--tp-on-accent); }
.tp-badge--muted { background: var(--tp-surface-soft); color: var(--tp-text-muted); }
.tp-badge--inverse { background: rgba(255, 255, 255, .14); color: var(--tp-text-inverse); }
.tp-badge--solid { background: var(--tp-primary); color: var(--tp-on-primary); }

.tp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius-pill);
    background: var(--tp-surface);
    color: var(--tp-text);
    font-size: var(--tp-fs-sm);
}
.tp-chip i { color: var(--tp-primary-ink); }

/* ----------------------------------------------------------------------------
   6. UST BAR + HEADER + NAV
   ---------------------------------------------------------------------------- */
.tp-topbar {
    background: var(--tp-inverse);
    color: var(--tp-text-inverse);
    font-size: var(--tp-fs-sm);
    min-height: var(--tp-topbar-h);
    display: none;
}
@media (min-width: 992px) { .tp-topbar { display: flex; align-items: center; } }
.tp-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--tp-gap); width: 100%; }
.tp-topbar__list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.tp-topbar__list li { margin: 0; display: flex; align-items: center; }
.tp-topbar__list a, .tp-topbar__list span { color: var(--tp-text-inverse); display: inline-flex; align-items: center; gap: 10px; line-height: 1.2; }
.tp-topbar__list a:hover { color: var(--tp-accent); }
.tp-topbar__list i { color: var(--tp-accent); flex: none; width: 16px; text-align: center; font-size: 1.05em; line-height: 1; }
.tp-topbar__social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tp-topbar__social a {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: var(--tp-radius-pill);
    background: rgba(255, 255, 255, .08);
    color: var(--tp-text-inverse);
    font-size: var(--tp-fs-xs);
}
.tp-topbar__social a:hover { background: var(--tp-primary); color: var(--tp-on-primary); }

.tp-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--tp-surface);
    border-bottom: var(--tp-border-w) solid var(--tp-border);
    transition: box-shadow var(--tp-dur) var(--tp-ease), background-color var(--tp-dur) var(--tp-ease);
}
.tp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-gap);
    min-height: var(--tp-header-h);
}
.tp-header.is-stuck { box-shadow: var(--tp-shadow-sm); }
.tp-header.is-hidden { transform: translateY(-100%); }
.tp-header { transition: box-shadow var(--tp-dur) var(--tp-ease), transform var(--tp-dur-slow) var(--tp-ease); }

.tp-brand { display: flex; align-items: center; gap: 12px; color: var(--tp-heading); }
.tp-brand img { max-height: 46px; width: auto; }
.tp-brand__text { font-family: var(--tp-font-head); font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.tp-brand__sub { display: block; font-size: var(--tp-fs-xs); font-weight: 500; color: var(--tp-text-muted); letter-spacing: .06em; text-transform: uppercase; }
.tp-brand:hover { color: var(--tp-heading); }
/* Logo yuklenemezse (kirik kayit/etsiz sunucu) metin marka devreye girer. */
.tp-brand img + .tp-brand__text { display: none; }
.tp-brand img.is-broken { display: none; }
.tp-brand img.is-broken + .tp-brand__text { display: block; }

.tp-nav { display: none; }
@media (min-width: 1200px) { .tp-nav { display: block; } }
.tp-menu { display: flex; align-items: center; gap: var(--tp-nav-gap); margin: 0; padding: 0; list-style: none; }
.tp-menu > li { margin: 0; position: relative; }
.tp-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 2px;
    color: var(--tp-heading);
    font-family: var(--tp-font-head);
    font-size: .95rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}
.tp-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 2px;
    background: var(--tp-primary);
    border-radius: var(--tp-radius-pill);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tp-dur) var(--tp-ease);
}
.tp-menu > li > a:hover, .tp-menu > li.is-active > a { color: var(--tp-primary-ink); }
.tp-menu > li > a:hover::after, .tp-menu > li.is-active > a::after { transform: scaleX(1); }

.tp-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--tp-surface);
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    box-shadow: var(--tp-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--tp-dur) var(--tp-ease), transform var(--tp-dur) var(--tp-ease), visibility var(--tp-dur);
    z-index: 95;
}
.tp-menu li:hover > .tp-submenu,
.tp-menu li.is-open > .tp-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.tp-submenu li { margin: 0; position: relative; }
.tp-submenu a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--tp-radius-xs);
    color: var(--tp-text);
    font-size: var(--tp-fs-sm);
    font-family: var(--tp-font-head);
    font-weight: 500;
}
.tp-submenu a:hover { background: var(--tp-primary-soft); color: var(--tp-primary-ink); }
.tp-submenu .tp-submenu { top: -10px; left: 100%; }

.tp-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.tp-inline-cta { white-space: nowrap; flex: none; }
/* Telefon kapsulu yalnizca ust bantta (>=992) menu sigisi olan genisliklerde yok;
   768-991 arasi ust bant kapali oldugu icin burada gerekir. */
.tp-header__phone { display: none; }
@media (min-width: 768px) and (max-width: 991px) { .tp-header__phone { display: inline-flex; } }

.tp-lang { position: relative; }
.tp-lang__btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 10px;
    background: transparent;
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius-xs);
    color: var(--tp-text-muted);
    font-size: var(--tp-fs-xs);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tp-lang__btn:hover { color: var(--tp-primary-ink); border-color: var(--tp-primary-ink); }
.tp-lang__list {
    position: absolute; right: 0; top: calc(100% + 8px);
    min-width: 160px; margin: 0; padding: 8px; list-style: none;
    background: var(--tp-surface); border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius-sm); box-shadow: var(--tp-shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: all var(--tp-dur) var(--tp-ease); z-index: 96;
}
.tp-lang.is-open .tp-lang__list { opacity: 1; visibility: visible; transform: translateY(0); }
.tp-lang__list button {
    display: block; width: 100%; text-align: left;
    padding: 8px 10px; background: transparent; border: 0; border-radius: var(--tp-radius-xs);
    font-size: var(--tp-fs-sm); cursor: pointer;
}
.tp-lang__list button:hover { background: var(--tp-primary-soft); color: var(--tp-primary-ink); }

/* Burger + cekmece */
.tp-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 10px;
    background: transparent;
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius-xs);
    cursor: pointer;
}
@media (min-width: 1200px) { .tp-burger { display: none; } }
.tp-burger span { display: block; height: 2px; width: 100%; background: var(--tp-heading); border-radius: 2px; transition: transform var(--tp-dur) var(--tp-ease), opacity var(--tp-dur) var(--tp-ease); }
.tp-burger:hover { border-color: var(--tp-primary-ink); }
.tp-burger:hover span { background: var(--tp-primary); }
body.tp-nav-open { overflow: hidden; }
body.tp-nav-open .tp-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.tp-nav-open .tp-burger span:nth-child(2) { opacity: 0; }
body.tp-nav-open .tp-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.tp-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(88vw, 340px);
    background: var(--tp-surface);
    box-shadow: var(--tp-shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--tp-dur-slow) var(--tp-ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}
body.tp-nav-open .tp-drawer { transform: translateX(0); }
.tp-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px var(--tp-gap-sm);
    border-bottom: var(--tp-border-w) solid var(--tp-border);
}
.tp-drawer__close {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--tp-surface-soft); border: 0; border-radius: var(--tp-radius-xs);
    font-size: 1.2rem; cursor: pointer; color: var(--tp-heading);
}
.tp-drawer__body { padding: var(--tp-gap-sm); }
.tp-drawer__menu { list-style: none; margin: 0 0 var(--tp-gap); padding: 0; }
.tp-drawer__menu > li { border-bottom: var(--tp-border-w) solid var(--tp-border); }
.tp-drawer__menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 6px;
    color: var(--tp-heading);
    font-family: var(--tp-font-head);
    font-weight: 600;
}
.tp-drawer__menu a:hover { color: var(--tp-primary-ink); }
.tp-drawer__menu ul { list-style: none; margin: 0; padding: 0 0 10px 14px; display: none; }
.tp-drawer__menu li.is-open > ul { display: block; }
.tp-drawer__menu ul a { font-size: var(--tp-fs-sm); font-weight: 500; padding: 9px 6px; color: var(--tp-text); }
.tp-drawer__cta { display: grid; gap: 10px; padding: 0 6px var(--tp-gap); }
.tp-drawer__meta { margin-top: auto; padding: var(--tp-gap-sm); border-top: var(--tp-border-w) solid var(--tp-border); font-size: var(--tp-fs-sm); color: var(--tp-text-muted); }
.tp-drawer__meta a { color: var(--tp-heading); font-weight: 600; }

.tp-overlay {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(12, 18, 24, .55);
    opacity: 0; visibility: hidden;
    transition: opacity var(--tp-dur) var(--tp-ease), visibility var(--tp-dur);
}
body.tp-nav-open .tp-overlay { opacity: 1; visibility: visible; }

/* Mobil sabalt eylem cubugu */
.tp-callbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    display: flex;
    background: var(--tp-surface);
    border-top: var(--tp-border-w) solid var(--tp-border);
    box-shadow: 0 -6px 20px rgba(16, 24, 32, .12);
}
@media (min-width: 992px) { .tp-callbar { display: none; } }
.tp-callbar a {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 6px;
    font-family: var(--tp-font-head);
    font-size: var(--tp-fs-sm);
    font-weight: 600;
    color: var(--tp-heading);
}
.tp-callbar a + a { border-left: var(--tp-border-w) solid var(--tp-border); }
.tp-callbar a:nth-child(2) { background: var(--tp-primary); color: var(--tp-on-primary); }
.tp-callbar a:nth-child(3) { background: var(--tp-whatsapp); color: #fff; }
body { padding-bottom: 58px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }

/* ----------------------------------------------------------------------------
   7. HERO
   ---------------------------------------------------------------------------- */
.tp-hero {
    position: relative;
    background: var(--tp-inverse);
    color: var(--tp-text-inverse);
    padding-block: clamp(48px, 8vw, 104px);
    overflow: hidden;
}
.tp-hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(90% 120% at 90% 10%, rgba(var(--tp-primary-rgb), .5), transparent 60%),
        linear-gradient(120deg, rgba(16, 24, 32, .92), rgba(16, 24, 32, .6));
    pointer-events: none;
}
.tp-hero__inner { position: relative; z-index: 2; }
.tp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 992px) { .tp-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.tp-hero__title { color: #fff; margin-bottom: 18px; }
.tp-hero__title em { font-style: normal; color: var(--tp-accent); }
.tp-hero__text { color: rgba(255, 255, 255, .82); font-size: var(--tp-fs-lead); max-width: 56ch; }
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.tp-hero__media { position: relative; }
.tp-hero__media img { border-radius: var(--tp-radius-lg); box-shadow: var(--tp-shadow-lg); }
.tp-hero__badge {
    position: absolute;
    left: -8px; bottom: 22px;
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    background: var(--tp-surface);
    color: var(--tp-heading);
    border-radius: var(--tp-radius);
    box-shadow: var(--tp-shadow);
}
.tp-hero__badge i { font-size: 1.6rem; color: var(--tp-primary-ink); }
.tp-hero__badge strong { display: block; font-family: var(--tp-font-head); font-size: 1.05rem; }
.tp-hero__badge span { font-size: var(--tp-fs-sm); color: var(--tp-text-muted); }

.tp-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.tp-trust li { display: flex; align-items: center; gap: 9px; margin: 0; font-size: var(--tp-fs-sm); color: rgba(255, 255, 255, .86); }
.tp-trust i {
    width: 22px; height: 22px; flex: none;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--tp-primary);
    color: var(--tp-on-primary);
    font-size: .7rem;
}

/* Slider sürücüsü: tek yönlü yumuşak gecis, JS .is-active tasir */
.tp-rotator { position: relative; }
.tp-hero__slide { display: none; }
.tp-hero__slide.is-active { display: block; animation: tp-fade .7s var(--tp-ease) both; }
@keyframes tp-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tp-rotator__dots { margin-top: clamp(22px, 3vw, 34px); justify-content: flex-start; }
.tp-rotator__dots button { background: rgba(255, 255, 255, .38); }
.tp-rotator__dots button.is-active { background: var(--tp-accent); }
@media (prefers-reduced-motion: reduce) { .tp-hero__slide.is-active { animation: none; } }

/* Hero altindaki hizli teklif seridi */
.tp-quickquote {
    position: relative;
    z-index: 3;
    margin-top: clamp(-56px, -4vw, -32px);
}
.tp-quickquote__box {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 2.4vw, 26px);
    background: var(--tp-surface);
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow);
}
@media (min-width: 768px) { .tp-quickquote__box { grid-template-columns: 1.15fr 1fr 1.25fr 1.15fr auto; align-items: end; } }
@media (min-width: 768px) and (max-width: 1023px) {
    .tp-quickquote__box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-quickquote__box .tp-btn { grid-column: 1 / -1; }
}
.tp-quickquote__title {
    grid-column: 1 / -1;
    margin: 0;
    font-family: var(--tp-font-head);
    font-size: 1.05rem;
    color: var(--tp-heading);
}
.tp-quickquote__title small { display: block; font-size: var(--tp-fs-xs); color: var(--tp-text-muted); font-weight: 400; }

/* ----------------------------------------------------------------------------
   8. SAYFA BASLIGI / BREADCRUMB
   ---------------------------------------------------------------------------- */
.tp-pagehead {
    position: relative;
    padding-block: clamp(36px, 6vw, 72px);
    background: var(--tp-inverse);
    color: var(--tp-text-inverse);
    overflow: hidden;
}
.tp-pagehead::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(var(--tp-primary-rgb), .85), rgba(16, 24, 32, .85));
}
.tp-pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-pagehead__inner { position: relative; z-index: 2; }
.tp-pagehead h1 { color: #fff; margin-bottom: 8px; }
.tp-pagehead p { color: rgba(255, 255, 255, .85); max-width: 62ch; margin: 0; }
.tp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: var(--tp-fs-sm); }
.tp-breadcrumb li { margin: 0; color: rgba(255, 255, 255, .7); }
.tp-breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.tp-breadcrumb a { color: rgba(255, 255, 255, .92); }
.tp-breadcrumb a:hover { color: var(--tp-accent); }
.tp-breadcrumb [aria-current] { color: var(--tp-accent); }

/* ----------------------------------------------------------------------------
   9. KARTLAR
   ---------------------------------------------------------------------------- */
.tp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--tp-surface);
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius);
    overflow: hidden;
    transition: transform var(--tp-dur) var(--tp-ease), box-shadow var(--tp-dur) var(--tp-ease), border-color var(--tp-dur) var(--tp-ease);
    height: 100%;
}
.tp-card:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow); border-color: rgba(var(--tp-primary-rgb), .35); }
.tp-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tp-surface-soft); }
.tp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tp-dur-slow) var(--tp-ease); }
.tp-card:hover .tp-card__media img { transform: scale(1.06); }
.tp-card__media .tp-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.tp-card__body { padding: var(--tp-card-pad); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tp-card__title { margin: 0; font-size: var(--tp-fs-h4); }
.tp-card__title a { color: var(--tp-heading); }
.tp-card__title a:hover { color: var(--tp-primary-ink); }
.tp-card__text { color: var(--tp-text-muted); font-size: var(--tp-fs-sm); }
.tp-card__meta { display: flex; align-items: center; gap: 14px; font-size: var(--tp-fs-xs); color: var(--tp-text-muted); }
.tp-card__meta i { color: var(--tp-primary-ink); margin-right: 5px; }
.tp-card__foot { margin-top: auto; padding-top: 14px; }
.tp-card__link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--tp-font-head); font-weight: 600; font-size: var(--tp-fs-sm);
    color: var(--tp-primary-ink);
}
.tp-card__link i { transition: transform var(--tp-dur) var(--tp-ease); }
.tp-card__link:hover i { transform: translateX(4px); }
.tp-card > a.tp-card__stretched::after { content: ""; position: absolute; inset: 0; }

.tp-card--plain { border: 0; box-shadow: none; background: transparent; }
.tp-card--plain:hover { transform: none; box-shadow: none; }
.tp-card--pad { padding: var(--tp-card-pad); gap: 12px; }
.tp-card--highlight { border-color: rgba(var(--tp-primary-rgb), .4); box-shadow: var(--tp-shadow-sm); }
.tp-card--inverse { background: var(--tp-inverse-soft); border-color: rgba(255, 255, 255, .08); }
.tp-card--inverse .tp-card__title, .tp-card--inverse .tp-card__title a { color: #fff; }
.tp-card--inverse .tp-card__text { color: rgba(255, 255, 255, .72); }

/* Ikonlu hizmet karti */
.tp-service { padding: clamp(22px, 2.6vw, 32px); }
.tp-service__icon {
    width: 62px; height: 62px;
    display: grid; place-items: center;
    margin-bottom: 18px;
    border-radius: var(--tp-radius-sm);
    background: rgba(var(--tp-primary-rgb), .1);
    color: var(--tp-primary-ink);
    font-size: 1.6rem;
    transition: background-color var(--tp-dur) var(--tp-ease), color var(--tp-dur) var(--tp-ease), transform var(--tp-dur) var(--tp-ease);
}
.tp-service:hover .tp-service__icon { background: var(--tp-primary); color: var(--tp-on-primary); transform: rotate(-6deg) scale(1.04); }
.tp-service__number {
    position: absolute; top: 18px; right: 20px;
    font-family: var(--tp-font-head); font-size: 2.4rem; font-weight: 700;
    color: rgba(var(--tp-primary-rgb), .1);
    line-height: 1;
}

/* Ekib / ekip karti */
.tp-member__media { aspect-ratio: 1 / 1; }
.tp-member__role { color: var(--tp-primary-ink); font-size: var(--tp-fs-sm); font-weight: 600; }
.tp-member__social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tp-member__social a {
    width: 34px; height: 34px; display: grid; place-items: center;
    border-radius: var(--tp-radius-xs);
    background: var(--tp-surface-soft); color: var(--tp-text-muted);
}
.tp-member__social a:hover { background: var(--tp-primary); color: var(--tp-on-primary); }

/* ----------------------------------------------------------------------------
   10. ADIMLAR / SUREC / ZAMAN CETNELI
   ---------------------------------------------------------------------------- */
.tp-steps { display: grid; gap: var(--tp-gap); counter-reset: step; }
@media (min-width: 768px) { .tp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-step { position: relative; padding: 24px; border-radius: var(--tp-radius); background: var(--tp-surface); border: var(--tp-border-w) solid var(--tp-border); }
.tp-step__num {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    margin-bottom: 16px;
    border-radius: var(--tp-radius-pill);
    background: var(--tp-primary);
    color: var(--tp-on-primary);
    font-family: var(--tp-font-head);
    font-weight: 700;
}
.tp-step h3 { font-size: var(--tp-fs-h5); }
.tp-step p { font-size: var(--tp-fs-sm); color: var(--tp-text-muted); margin: 0; }
@media (min-width: 768px) {
    .tp-step:not(:last-child)::after {
        content: "";
        position: absolute; top: 46px; right: -14px;
        width: 28px; height: 2px;
        background: var(--tp-border-strong);
    }
}

.tp-timeline { position: relative; padding-left: 26px; }
.tp-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--tp-border); }
.tp-timeline__item { position: relative; padding-bottom: 26px; }
.tp-timeline__item::before {
    content: ""; position: absolute; left: -26px; top: 6px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--tp-primary); box-shadow: 0 0 0 4px rgba(var(--tp-primary-rgb), .18);
}
.tp-timeline__item:last-child { padding-bottom: 0; }
.tp-timeline__year { font-family: var(--tp-font-head); font-weight: 700; color: var(--tp-primary-ink); font-size: var(--tp-fs-sm); }

/* ----------------------------------------------------------------------------
   11. ISTATISTIK SAYACLAR
   ---------------------------------------------------------------------------- */
.tp-stats { display: grid; gap: var(--tp-gap); text-align: center; }
@media (min-width: 640px) { .tp-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tp-stats { grid-template-columns: repeat(4, 1fr); } }
.tp-stat__value {
    display: block;
    font-family: var(--tp-font-head);
    font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
    font-weight: 700;
    line-height: 1;
    color: var(--tp-accent-ink);
}
.tp-stat__label { display: block; margin-top: 10px; font-size: var(--tp-fs-sm); color: inherit; opacity: .8; }
.tp-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tp-stat + .tp-stat { position: relative; }
@media (min-width: 992px) {
    .tp-stat + .tp-stat::before { content: ""; position: absolute; left: calc(var(--tp-gap) / -2); top: 10%; bottom: 10%; width: 1px; background: currentColor; opacity: .15; }
}

/* ----------------------------------------------------------------------------
   12. KARUSEL (scroll-snap, eklenti yok)
   ---------------------------------------------------------------------------- */
.tp-carousel { position: relative; }
.tp-carousel__viewport { overflow: hidden; }
.tp-carousel__track {
    display: flex;
    gap: var(--tp-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.tp-carousel__track::-webkit-scrollbar { display: none; }
.tp-carousel__item { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 640px) { .tp-carousel__item--2 { flex-basis: calc(50% - var(--tp-gap) / 2); } }
@media (min-width: 992px) { .tp-carousel__item--3 { flex-basis: calc(33.333% - (var(--tp-gap) * 2) / 3); } }
.tp-carousel__controls { display: flex; align-items: center; gap: 10px; }
.tp-carousel__btn {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: var(--tp-radius-pill);
    border: var(--tp-border-w) solid var(--tp-border-strong);
    background: transparent;
    color: var(--tp-heading);
    cursor: pointer;
    transition: all var(--tp-dur) var(--tp-ease);
}
.tp-carousel__btn:hover { background: var(--tp-primary); border-color: var(--tp-primary); color: var(--tp-on-primary); }
.tp-carousel__btn[disabled] { opacity: .35; cursor: default; }
.tp-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.tp-dots button {
    width: 9px; height: 9px; padding: 0;
    border: 0; border-radius: 50%;
    background: var(--tp-border-strong);
    cursor: pointer;
    transition: all var(--tp-dur) var(--tp-ease);
}
.tp-dots button.is-active { width: 26px; border-radius: var(--tp-radius-pill); background: var(--tp-primary); }

/* Yorum karti */
.tp-quote { display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 26px); background: var(--tp-surface); border: var(--tp-border-w) solid var(--tp-border); border-radius: var(--tp-radius); height: 100%; }
.tp-quote__mark { font-family: Georgia, serif; font-size: 2.4rem; line-height: .55; color: rgba(var(--tp-primary-rgb), .28); }
.tp-quote__text { margin: 12px 0 18px; color: var(--tp-heading); font-size: 1.02rem; line-height: 1.65; }
.tp-quote__person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tp-avatar {
    position: relative;
    width: 48px; height: 48px; flex: none;
    display: grid; place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--tp-primary-soft);
    color: var(--tp-primary-ink);
    font-family: var(--tp-font-head);
    font-weight: 700;
}
.tp-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Kirik foto ve logolarda yedek kare degil, alttaki metin/initial gosterilir. */
.tp-avatar img.is-broken, .tp-brand img.is-broken { display: none; }
.tp-quote__person strong { display: block; font-family: var(--tp-font-head); color: var(--tp-heading); font-size: var(--tp-fs-sm); }
.tp-quote__person span { font-size: var(--tp-fs-xs); color: var(--tp-text-muted); }
.tp-stars { display: inline-flex; gap: 3px; color: var(--tp-accent-ink); font-size: var(--tp-fs-xs); }

/* ----------------------------------------------------------------------------
   13. GALERI + LIGHTBOX
   ---------------------------------------------------------------------------- */
.tp-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .tp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tp-gap-sm); } }
@media (min-width: 1200px) { .tp-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--tp-radius-sm);
    overflow: hidden;
    background: var(--tp-surface-soft);
    cursor: zoom-in;
}
.tp-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tp-dur-slow) var(--tp-ease); }
.tp-gallery__item:hover img { transform: scale(1.07); }
.tp-gallery__item::after {
    content: "\f00e";
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: FontAwesome;
    color: #fff;
    background: rgba(var(--tp-primary-rgb), .55);
    opacity: 0;
    transition: opacity var(--tp-dur) var(--tp-ease);
}
.tp-gallery__item:hover::after { opacity: 1; }
.tp-gallery__caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 28px 14px 12px;
    background: linear-gradient(transparent, rgba(8, 12, 18, .8));
    color: #fff;
    font-size: var(--tp-fs-sm);
    font-family: var(--tp-font-head);
}

.tp-lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(8, 12, 18, .92);
}
.tp-lightbox.is-open { display: grid; }
.tp-lightbox img { max-height: 82vh; border-radius: var(--tp-radius-sm); box-shadow: var(--tp-shadow-lg); }
.tp-lightbox__close, .tp-lightbox__nav {
    position: absolute;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .12); color: #fff;
    font-size: 1.2rem; cursor: pointer;
}
.tp-lightbox__close { top: 20px; right: 20px; }
.tp-lightbox__nav { top: 50%; transform: translateY(-50%); }
.tp-lightbox__nav--prev { left: 16px; }
.tp-lightbox__nav--next { right: 16px; }
.tp-lightbox__close:hover, .tp-lightbox__nav:hover { background: var(--tp-primary); }

/* ----------------------------------------------------------------------------
   14. AKORDEON (SSS)
   ---------------------------------------------------------------------------- */
.tp-accordion { display: grid; gap: 12px; }
.tp-accordion__item { border: var(--tp-border-w) solid var(--tp-border); border-radius: var(--tp-radius-sm); background: var(--tp-surface); overflow: hidden; }
.tp-accordion__item > h3 { margin: 0; }
.tp-accordion__item.is-open { border-color: rgba(var(--tp-primary-rgb), .45); box-shadow: var(--tp-shadow-sm); }
.tp-accordion__btn {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; padding: 18px 20px;
    background: transparent; border: 0; cursor: pointer;
    text-align: left;
    font-family: var(--tp-font-head); font-size: 1.02rem; font-weight: 600; color: var(--tp-heading);
}
.tp-accordion__btn:hover { color: var(--tp-primary-ink); }
.tp-accordion__btn i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--tp-primary-soft); color: var(--tp-primary-ink); transition: transform var(--tp-dur) var(--tp-ease); }
.tp-accordion__item.is-open .tp-accordion__btn i { transform: rotate(180deg); background: var(--tp-primary); color: var(--tp-on-primary); }
.tp-accordion__panel { display: none; padding: 0 20px 20px; color: var(--tp-text-muted); }
.tp-accordion__item.is-open .tp-accordion__panel { display: block; }
.tp-accordion--prose .tp-accordion__panel p, .tp-accordion--prose .tp-accordion__panel li { font-size: var(--tp-fs-sm); }

/* ----------------------------------------------------------------------------
   15. SEKMELER + FILTRE
   ---------------------------------------------------------------------------- */
.tp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--tp-gap); padding: 0; list-style: none; }
.tp-tabs button {
    padding: 10px 18px;
    border: var(--tp-border-w) solid var(--tp-border-strong);
    border-radius: var(--tp-radius-pill);
    background: transparent;
    color: var(--tp-text);
    font-family: var(--tp-font-head); font-size: var(--tp-fs-sm); font-weight: 600;
    cursor: pointer;
    transition: all var(--tp-dur) var(--tp-ease);
}
.tp-tabs button:hover { border-color: var(--tp-primary-ink); color: var(--tp-primary-ink); }
.tp-tabs button.is-active { background: var(--tp-primary); border-color: var(--tp-primary); color: var(--tp-on-primary); }
.tp-tabpanel[hidden] { display: none; }

/* ----------------------------------------------------------------------------
   16. FORMLAR
   ---------------------------------------------------------------------------- */
.tp-form { display: grid; gap: 16px; }
.tp-form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .tp-form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tp-field { display: grid; gap: 7px; }
.tp-field label, .tp-label {
    font-family: var(--tp-font-head);
    font-size: var(--tp-fs-sm);
    font-weight: 600;
    color: var(--tp-heading);
}
.tp-field label .req { color: var(--tp-danger); }
.tp-input, .tp-select, .tp-textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--tp-surface);
    color: var(--tp-heading);
    border: var(--tp-border-w) solid var(--tp-border-strong);
    border-radius: var(--tp-radius-sm);
    transition: border-color var(--tp-dur) var(--tp-ease), box-shadow var(--tp-dur) var(--tp-ease);
    font-size: .96rem;
}
.tp-input::placeholder, .tp-textarea::placeholder { color: var(--tp-text-muted); opacity: .8; }
.tp-input:focus, .tp-select:focus, .tp-textarea:focus {
    outline: 0;
    border-color: var(--tp-primary-ink);
    box-shadow: 0 0 0 4px var(--tp-ring);
}
.tp-textarea { min-height: 130px; resize: vertical; }
.tp-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tp-text-muted) 50%), linear-gradient(135deg, var(--tp-text-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 12px) 19px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.tp-help { font-size: var(--tp-fs-xs); color: var(--tp-text-muted); }
.tp-check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--tp-fs-sm); color: var(--tp-text-muted); }
.tp-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--tp-primary-ink); }

.tp-form-panel { padding: clamp(22px, 2.6vw, 34px); background: var(--tp-surface); border: var(--tp-border-w) solid var(--tp-border); border-radius: var(--tp-radius-lg); box-shadow: var(--tp-shadow-sm); }
.tp-form-panel--inverse { background: var(--tp-surface); }
.tp-field-icon { position: relative; }
.tp-field-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--tp-text-muted); pointer-events: none; }
.tp-field-icon .tp-input { padding-left: 42px; }

.tp-alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--tp-radius-sm); font-size: var(--tp-fs-sm); border: var(--tp-border-w) solid transparent; }
.tp-alert--info { background: var(--tp-primary-soft); color: var(--tp-primary-ink); border-color: rgba(var(--tp-primary-rgb), .25); }
.tp-alert--success { background: rgba(22, 163, 74, .1); color: #14652F; border-color: rgba(22, 163, 74, .3); }
.tp-alert--danger { background: rgba(220, 38, 38, .08); color: #991B1B; border-color: rgba(220, 38, 38, .28); }
.tp-alert--warning { background: rgba(217, 119, 6, .1); color: #92400E; border-color: rgba(217, 119, 6, .3); }
.tp-empty { padding: 48px 24px; text-align: center; color: var(--tp-text-muted); border: 1px dashed var(--tp-border-strong); border-radius: var(--tp-radius); }
.tp-empty i { display: block; font-size: 2rem; color: var(--tp-border-strong); margin-bottom: 12px; }

/* ----------------------------------------------------------------------------
   17. ILETIŞIM BLOKLARI
   ---------------------------------------------------------------------------- */
.tp-infocard { display: flex; gap: 16px; padding: 20px; border-radius: var(--tp-radius); background: var(--tp-surface); border: var(--tp-border-w) solid var(--tp-border); align-items: flex-start; }
.tp-infocard__icon {
    width: 48px; height: 48px; flex: none;
    display: grid; place-items: center;
    border-radius: var(--tp-radius-sm);
    background: rgba(var(--tp-primary-rgb), .1);
    color: var(--tp-primary-ink);
    font-size: 1.15rem;
}
.tp-infocard h3 { margin: 0 0 4px; font-size: var(--tp-fs-h5); }
.tp-infocard p, .tp-infocard a:not(.tp-wa):not([class*="tp-btn"]) { color: var(--tp-text-muted); font-size: var(--tp-fs-sm); margin: 0; display: block; }
.tp-infocard a:not(.tp-wa):not([class*="tp-btn"]):hover { color: var(--tp-primary-ink); }
.tp-infocard--hover:hover { border-color: rgba(var(--tp-primary-rgb), .4); box-shadow: var(--tp-shadow-sm); }

.tp-map { border-radius: var(--tp-radius); overflow: hidden; border: var(--tp-border-w) solid var(--tp-border); background: var(--tp-surface-soft); }
.tp-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.tp-workhours { list-style: none; margin: 0; padding: 0; font-size: var(--tp-fs-sm); }
.tp-workhours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: var(--tp-border-w) solid var(--tp-border); }
.tp-workhours li:last-child { border-bottom: 0; }
.tp-workhours span { color: var(--tp-text-muted); }
.tp-workhours strong { color: var(--tp-heading); font-weight: 600; }

/* ----------------------------------------------------------------------------
   18. CTA BANDI
   ---------------------------------------------------------------------------- */
.tp-ctaband { position: relative; overflow: hidden; background: var(--tp-primary); color: var(--tp-on-primary); }
.tp-ctaband::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(60% 140% at 85% 0%, rgba(255, 255, 255, .18), transparent 60%);
    pointer-events: none;
}
.tp-ctaband__inner { position: relative; z-index: 2; display: grid; gap: 22px; align-items: center; padding-block: clamp(32px, 4vw, 56px); }
@media (min-width: 992px) { .tp-ctaband__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.tp-ctaband h2, .tp-ctaband h3 { color: inherit; margin: 0 0 6px; }
.tp-ctaband p { margin: 0; opacity: .9; }
.tp-ctaband__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-ctaband--inverse { background: var(--tp-inverse); color: var(--tp-text-inverse); }
.tp-ctaband--soft { background: var(--tp-primary-soft); color: var(--tp-heading); }
.tp-ctaband--soft h2, .tp-ctaband--soft h3 { color: var(--tp-heading); }
.tp-ctaband--soft p { opacity: 1; color: var(--tp-text-muted); }

/* Icerik sonuna konan kucuk yonlendirme bloku */
.tp-cta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-gap);
    padding: clamp(18px, 2.4vw, 26px);
    background: var(--tp-surface-soft);
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius);
}
.tp-cta-inline p { margin: 0; }

/* ----------------------------------------------------------------------------
   19. SIDEBAR
   ---------------------------------------------------------------------------- */
.tp-widget { padding: 22px; border: var(--tp-border-w) solid var(--tp-border); border-radius: var(--tp-radius); background: var(--tp-surface); margin-bottom: var(--tp-gap); }
.tp-widget:last-child { margin-bottom: 0; }
.tp-widget__title { position: relative; margin-bottom: 16px; font-size: var(--tp-fs-h5); padding-bottom: 12px; }
.tp-widget__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: var(--tp-radius-pill); background: var(--tp-primary); }
.tp-widget__list { list-style: none; margin: 0; padding: 0; }
.tp-widget__list li { margin: 0; border-bottom: var(--tp-border-w) solid var(--tp-border); }
.tp-widget__list li:last-child { border-bottom: 0; }
.tp-widget__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 2px; color: var(--tp-text); font-size: var(--tp-fs-sm); }
.tp-widget__list a::before { content: "\f105"; font-family: FontAwesome; color: var(--tp-primary-ink); margin-right: auto; }
.tp-widget__list a:hover { color: var(--tp-primary-ink); padding-left: 6px; }
.tp-widget__list a[aria-current="page"] { color: var(--tp-primary-ink); font-weight: 600; }
.tp-widget__list a[aria-current="page"]::before { content: "\f0da"; }
.tp-widget__list a span { order: -1; }
.tp-widget--cta { background: var(--tp-inverse); color: var(--tp-text-inverse); border-color: transparent; text-align: center; }
.tp-widget--cta h3 { color: #fff; }
.tp-widget--cta p { color: rgba(255, 255, 255, .78); font-size: var(--tp-fs-sm); }

.tp-related { display: grid; gap: 12px; }
.tp-related__item { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: var(--tp-border-w) solid var(--tp-border); }
.tp-related__item:last-child { border-bottom: 0; }
.tp-related__item img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--tp-radius-xs); flex: none; }
.tp-related__item a { color: var(--tp-heading); font-family: var(--tp-font-head); font-size: var(--tp-fs-sm); font-weight: 600; line-height: 1.35; }
.tp-related__item a:hover { color: var(--tp-primary-ink); }
.tp-related__item span { display: block; font-size: var(--tp-fs-xs); color: var(--tp-text-muted); font-weight: 400; }

/* ----------------------------------------------------------------------------
   20. SAYFA NUMARALANDIRMA + TABLO
   ---------------------------------------------------------------------------- */
.tp-pagination { display: flex; justify-content: center; gap: 8px; list-style: none; margin: var(--tp-gap) 0 0; padding: 0; }
.tp-pagination a, .tp-pagination span {
    min-width: 42px; height: 42px;
    display: grid; place-items: center;
    padding: 0 12px;
    border: var(--tp-border-w) solid var(--tp-border);
    border-radius: var(--tp-radius-xs);
    color: var(--tp-text);
    font-family: var(--tp-font-head); font-weight: 600; font-size: var(--tp-fs-sm);
}
.tp-pagination a:hover { border-color: var(--tp-primary-ink); color: var(--tp-primary-ink); }
.tp-pagination .is-active span, .tp-pagination .is-active a { background: var(--tp-primary); border-color: var(--tp-primary); color: var(--tp-on-primary); }

.tp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--tp-fs-sm); }
.tp-table th, .tp-table td { padding: 13px 16px; text-align: left; border-bottom: var(--tp-border-w) solid var(--tp-border); }
.tp-table thead th { background: var(--tp-surface-soft); color: var(--tp-heading); font-family: var(--tp-font-head); font-weight: 600; }
.tp-table tbody tr:hover { background: rgba(var(--tp-primary-rgb), .04); }
.tp-table--cards { display: grid; gap: var(--tp-gap-sm); }
.tp-table-scroll { overflow-x: auto; border: var(--tp-border-w) solid var(--tp-border); border-radius: var(--tp-radius); }

/* Banka hesap karti */
.tp-bank { display: grid; gap: 14px; padding: 22px; border-radius: var(--tp-radius); background: var(--tp-surface); border: var(--tp-border-w) solid var(--tp-border); }
.tp-bank__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tp-bank img { height: 34px; width: auto; }
.tp-bank dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: var(--tp-fs-sm); }
.tp-bank dt { color: var(--tp-text-muted); }
.tp-bank dd { margin: 0; color: var(--tp-heading); font-weight: 600; word-break: break-all; font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------------------
   21. FOOTER
   ---------------------------------------------------------------------------- */
.tp-footer { background: var(--tp-inverse); color: var(--tp-text-inverse-muted); padding-top: clamp(40px, 5vw, 72px); }
/* Buton/marka bilesenleri rengini kendi kuralindan alir; indirgemeli
   ".tp-footer a" secicisi onlari ezmesin. */
.tp-footer a:not([class*="tp-btn"]):not(.tp-wa) { color: var(--tp-text-inverse-muted); }
.tp-footer a:not([class*="tp-btn"]):not(.tp-wa):hover { color: var(--tp-accent); }
.tp-footer__grid { display: grid; gap: var(--tp-gap-lg); padding-bottom: clamp(30px, 4vw, 52px); }
@media (min-width: 640px) { .tp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .tp-footer__grid { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)) 1.2fr; } }
.tp-footer__brand img { max-height: 52px; margin-bottom: 16px; }
.tp-footer p { font-size: var(--tp-fs-sm); }
.tp-widget-title { color: #fff; font-size: var(--tp-fs-h5); margin-bottom: 18px; }
.tp-footer__list { list-style: none; margin: 0; padding: 0; }
.tp-footer__list li { margin: 0 0 10px; }
.tp-footer__list a { display: inline-flex; align-items: center; gap: 8px; font-size: var(--tp-fs-sm); }
.tp-footer__list a::before { content: "\f105"; font-family: FontAwesome; color: var(--tp-accent); font-size: var(--tp-fs-xs); }
.tp-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tp-footer__contact li { display: flex; gap: 12px; font-size: var(--tp-fs-sm); margin: 0; }
.tp-footer__contact i { color: var(--tp-accent); margin-top: 4px; }
.tp-footer__social { display: flex; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.tp-footer__social a {
    width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: var(--tp-radius-xs);
    background: rgba(255, 255, 255, .07);
    color: var(--tp-text-inverse);
}
.tp-footer__social a:hover { background: var(--tp-primary); color: var(--tp-on-primary); transform: translateY(-2px); }
.tp-footer__bottom { border-top: var(--tp-border-w) solid rgba(255, 255, 255, .09); padding-block: 20px; font-size: var(--tp-fs-sm); }
.tp-footer__bottom__inner { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.tp-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

.tp-totop {
    position: fixed;
    right: 18px; bottom: 74px;
    z-index: 99;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: var(--tp-radius-sm);
    background: var(--tp-primary);
    color: var(--tp-on-primary);
    box-shadow: var(--tp-shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--tp-dur) var(--tp-ease);
}
.tp-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.tp-totop:hover { background: var(--tp-primary-dark); color: var(--tp-on-primary-dark); }
@media (min-width: 992px) { .tp-totop { bottom: 24px; } }

/* WhatsApp yuzen buton */
.tp-wafloat {
    position: fixed;
    right: 18px; bottom: 130px;
    z-index: 99;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--tp-whatsapp);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: var(--tp-shadow);
    transition: transform var(--tp-dur) var(--tp-ease);
}
.tp-wafloat:hover { transform: scale(1.06); color: #fff; }
@media (min-width: 992px) { .tp-wafloat { bottom: 80px; } }

/* ----------------------------------------------------------------------------
   22. DETAY SAYFA / GALERI
   ---------------------------------------------------------------------------- */
.tp-detail__media img { width: 100%; border-radius: var(--tp-radius); box-shadow: var(--tp-shadow-sm); }
.tp-detailthumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.tp-detailthumbs a { display: block; border-radius: var(--tp-radius-xs); overflow: hidden; border: var(--tp-border-w) solid var(--tp-border); }
.tp-detailthumbs img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.tp-detailthumbs a:hover { border-color: var(--tp-primary-ink); }
.tp-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tp-specs li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: var(--tp-border-w) solid var(--tp-border); font-size: var(--tp-fs-sm); }
.tp-specs span { color: var(--tp-text-muted); }
.tp-specs strong { color: var(--tp-heading); }

.tp-share { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tp-share a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--tp-radius-xs); background: var(--tp-surface-soft); color: var(--tp-text); }
.tp-share a:hover { background: var(--tp-primary); color: var(--tp-on-primary); }

/* 404 */
.tp-404 { min-height: 52vh; display: grid; place-items: center; text-align: center; }
.tp-404__code { font-family: var(--tp-font-head); font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; line-height: .9; color: var(--tp-primary-ink); }

/* ----------------------------------------------------------------------------
   23. RESPONSIVE AYARLAR
   ---------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    :root { --tp-nav-gap: 22px; --tp-container: 1140px; }
}
@media (max-width: 991px) {
    :root { --tp-gap: 20px; --tp-card-pad: 22px; }
    .tp-cols-sidebar, .tp-cols-sidebar--left { grid-template-columns: minmax(0, 1fr); }
    .tp-split { grid-template-columns: minmax(0, 1fr); }
    .tp-split--reverse > .tp-split__media { order: 0; }
    .tp-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-hero__badge { position: static; margin-top: 16px; }
}
@media (max-width: 767px) {
    :root { --tp-gutter: 16px; --tp-btn-pad-x: 20px; }
    .tp-cols-2, .tp-cols-3, .tp-cols-4, .tp-cols-quotes { grid-template-columns: minmax(0, 1fr); }
    .tp-steps { grid-template-columns: minmax(0, 1fr); }
    .tp-step:not(:last-child)::after { display: none; }
    .tp-card__media { aspect-ratio: 16 / 10; }
    .tp-hero__actions .tp-btn { flex: 1 1 100%; }
    .tp-quickquote__box { grid-template-columns: minmax(0, 1fr); }
    .tp-title-row { align-items: flex-start; }
    .tp-map iframe { height: 320px; }
}
@media (max-width: 480px) {
    .tp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-btn { width: 100%; }
    .tp-btn-group, .tp-hero__actions { gap: 10px; }
    .tp-inline-cta { display: none; }
}
