/* Site footer (app/parcalar/alt.php), loaded by the footer itself so every page gets the same look */
.as-ft { --ft-yazi: rgba(255, 255, 255, .72); position: relative; background: #051C2C; color: var(--ft-yazi); font-family: 'Figtree', system-ui, sans-serif; font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.as-ft::before { content: ''; position: absolute; left: 0; top: 0; width: min(220px, 30vw); height: 4px; background: #ce1819; }
.as-ft *, .as-ft *::before, .as-ft *::after { box-sizing: border-box; }
.as-ft-ic { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.as-ft ul { list-style: none; margin: 0; padding: 0; }
.as-ft li { margin: 0; padding: 0; }
.as-ft li::before, .as-ft li::marker { content: none; }
.as-ft a { color: rgba(255, 255, 255, .86); text-decoration: none; transition: color .18s; }
.as-ft a:hover { color: #fff; }
.as-ft a:focus-visible { outline: 3px solid #ce1819; outline-offset: 3px; border-radius: 4px; }

/* brand strip: logo, regulation line, social links */
.as-ft-marka { display: flex; align-items: center; gap: 20px 40px; padding: clamp(40px, 4.5vw, 56px) 0 clamp(28px, 3vw, 36px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.as-ft-logo { flex: none; display: inline-block; }
.as-ft-logo img { display: block; width: 180px; height: auto; }
.as-ft-marka p { flex: 1; max-width: 420px; margin: 0; padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .14); font-size: 15px; line-height: 1.6; color: var(--ft-yazi); }
.as-ft-sosyal { display: flex; gap: 8px; margin-left: auto !important; }
.as-ft-sosyal a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background-color .18s, border-color .18s; }
.as-ft-sosyal a:hover { background: #ce1819; border-color: #ce1819; }
.as-ft-sosyal svg { width: 16px; height: 16px; fill: currentColor; }

/* four columns on one line, same heading style and the same spacing between rows */
.as-ft-ust { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, 1.6fr) minmax(0, 1.15fr); gap: 32px clamp(28px, 3.5vw, 52px); align-items: start; padding: clamp(40px, 4.5vw, 56px) 0; }
.as-ft-baslik { display: flex; align-items: center; gap: 10px; min-height: 22px; margin: 0 0 24px !important; padding: 0 !important; font-family: inherit; font-size: 13px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff !important; line-height: 1.3; }
.as-ft-baslik::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #ce1819; }

.as-ft-iletisim li { display: flex; align-items: flex-start; gap: 12px; }
.as-ft-iletisim li + li { margin-top: 14px; }
.as-ft-ikon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, .07); color: #ce1819; }
.as-ft-ikon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.as-ft-iletisim a { display: grid; align-content: center; min-height: 32px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.as-ft-iletisim a[href^="mailto:"] { overflow-wrap: normal; }
.as-ft-iletisim li:first-child { margin-top: 0; }
.as-ft-etiket { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1.6; }

.as-ft-linkler { display: grid; gap: 11px; }
.as-ft-linkler.as-ft-iki { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(5, auto); column-gap: 24px; }
.as-ft-linkler a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.5; }
.as-ft-linkler a::before { content: ''; flex: none; width: 8px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .3); transition: width .18s, background-color .18s; }
@media (min-width: 1101px) { .as-ft-iki a { white-space: nowrap; } }
.as-ft-linkler a:hover::before { width: 14px; background: #ce1819; }

.as-ft-saat ul { display: grid; }
.as-ft-saat li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; line-height: 1.45; }
.as-ft-saat li:first-child { padding-top: 0; }
.as-ft-saat strong { color: #fff; font-weight: 700; text-align: right; }
.as-ft-saat li span { flex: none; }
.as-ft-saat p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .55); }

/* middle: company details and badges */
.as-ft-orta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.as-ft-sirket { max-width: 760px; margin: 0; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .58); }
.as-ft-rozetler { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.as-ft-sra { width: 160px; }
.as-ft-sra:empty { display: none; }
.as-ft-sra > div { max-width: 160px !important; }
.as-ft-uyelik { display: block; height: 96px !important; width: auto !important; max-width: 220px; padding: 8px 12px; border-radius: 12px; background: #fff; }

/* bottom: copyright and legal links */
.as-ft-dip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 28px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.as-ft-dip p { margin: 0; color: rgba(255, 255, 255, .55); }
.as-ft-dip ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.as-ft-dip a, .as-ft-cerez { color: rgba(255, 255, 255, .7); }
.as-ft-cerez { all: unset; cursor: pointer; font: inherit; color: rgba(255, 255, 255, .7); transition: color .18s; }
.as-ft-cerez:hover { color: #fff; }
.as-ft-cerez:focus-visible { outline: 3px solid #ce1819; outline-offset: 3px; border-radius: 4px; }

@media (max-width: 1100px) {
  .as-ft-ust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
}
@media (max-width: 760px) {
  .as-ft-marka { flex-wrap: wrap; }
  .as-ft-marka p { flex-basis: 100%; max-width: none; padding-left: 0; border-left: 0; }
  .as-ft-sosyal { margin-left: 0 !important; }
  .as-ft-ust { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .as-ft-orta { grid-template-columns: minmax(0, 1fr); }
  .as-ft-dip { flex-direction: column; align-items: flex-start; }
  /* the web design credit sits on its own line at the very bottom on phones */
  .as-ft-imza { flex-basis: 100%; margin-top: 10px !important; padding-top: 14px !important; border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (prefers-reduced-motion: reduce) {
  .as-ft a, .as-ft-sosyal a, .as-ft-linkler a::before { transition: none; }
}

/* Phones and tablets: quick contact bar fixed to the bottom of the screen (Call, WhatsApp, Start Your Case) */
.as-cubuk { display: none; }
@media (max-width: 1024px) {
  .as-cubuk { position: fixed; z-index: 1500; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e3e7ec; box-shadow: 0 -6px 20px rgba(5, 28, 44, .08); font-family: 'Figtree', system-ui, sans-serif; }
  .as-cubuk a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .as-cubuk svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .as-cubuk-ara { border: 1.5px solid #051C2C; color: #051C2C !important; }
  .as-cubuk-wa { border: 1.5px solid #d5dbe2; color: #051C2C !important; }
  .as-cubuk-wa svg { stroke: #25D366; }
  .as-cubuk-dava { background: #ce1819; color: #fff !important; }
  .as-cubuk a:active { transform: scale(.98); }
  .as-cubuk a:focus-visible { outline: 3px solid #ce1819; outline-offset: 2px; }
  /* room for the bar at the end of every page, and the cookie banner sits above it */
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)) !important; }
  .as-cerez { bottom: calc(74px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 380px) {
  .as-cubuk { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .as-cubuk a { font-size: 14px; gap: 5px; }
}
/* A time range ("10:00 - 14:00") never breaks in the middle */
.as-ft-aralik { white-space: nowrap; }

/* Phones: every footer link is at least 40px tall so it is easy to tap with a finger */
@media (max-width: 768px) {
  .as-ft-linkler { gap: 0 !important; }
  .as-ft-linkler a { min-height: 44px; }
  .as-ft-dip ul { gap: 0 22px; }
  .as-ft-dip a, .as-ft-dip .as-ft-cerez { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Inline phone / e-mail links inside text: a taller invisible tap area without changing the layout */
@media (pointer: coarse) {
  main a[href^="tel:"], main a[href^="mailto:"] { padding-block: 10px; }
}
/* Narrow phones: WhatsApp shows only its icon (the name stays for screen readers), so the other two labels have room */
@media (max-width: 400px) {
  .as-cubuk { grid-template-columns: 1fr 50px 1.8fr; gap: 6px; padding-left: 8px; padding-right: 8px; }
  .as-cubuk a { font-size: 14px; padding: 0 8px; white-space: nowrap; min-width: 0; }
  .as-cubuk-wa { padding: 0 !important; }
  .as-cubuk-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .as-cubuk-wa svg { width: 22px; height: 22px; }
}
/* The country list of the phone box opens above the quick contact bar, never behind it */
.iti--container, .iti--fullscreen-popup.iti--container { z-index: 2100 !important; }
body:has(.iti--fullscreen-popup) .as-cubuk { display: none; }
