/* Teklif Al: sabit buton + tam ekran adım adım katman. Beyaz, sade, sıcak amber vurgu. */
:root { --tk-amber: #C77A2C; --tk-amber-dark: #A8621D; --tk-warm: #FFFDF9; }

.nav a.nav-cta, .nav a.nav-cta[aria-current=page] { background: var(--tk-amber); border-color: var(--tk-amber); color: #fff; font-weight: 500; }
.nav a.nav-cta:hover { background: var(--tk-amber-dark); border-color: var(--tk-amber-dark); color: #fff; }

.tk-fab { position: fixed; z-index: 30; display: none; align-items: center; justify-content: center; gap: .6rem; background: var(--tk-amber); color: #fff; font-family: var(--f-body); font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(60, 32, 6, .32); transition: background .3s, opacity .5s, transform .5s; }
.tk-fab:hover { background: var(--tk-amber-dark); color: #fff; }
.tk-fab svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
/* geniş ekran: yalnızca kapak görünürken sağ üstte (aşağıda üst menüdeki buton devralır) */
.tk-fab.over-cover { display: inline-flex; top: 16px; right: 20px; padding: .85rem 1.3rem; border-radius: 999px; }
/* telefon ve dar ekran: her sayfada altta sabit */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  .tk-fab, .tk-fab.over-cover { display: inline-flex; top: auto; left: 16px; right: 16px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: .95rem 1rem; border-radius: 999px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
.tk-open .tk-fab, body.menu-open .tk-fab { opacity: 0; pointer-events: none; transform: translateY(12px); }

html.tk-open { overflow: hidden; }
.tk { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; opacity: 0; transition: opacity .45s ease; }
.tk[hidden] { display: none; }
.tk.tk-on { opacity: 1; }
.tk-dim { position: absolute; inset: 0; background: rgba(30, 22, 14, .38); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.tk-box { position: relative; width: min(44rem, calc(100% - 24px)); max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain; background: var(--tk-warm); color: #111; border-radius: 20px; padding: clamp(1rem, 3vw, 1.8rem) clamp(1.1rem, 5vw, 3rem) clamp(1.6rem, 5vw, 3rem); outline: none; transform: translateY(24px) scale(.98); transition: transform .55s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 30px 80px rgba(20, 12, 4, .35); }
.tk.tk-on .tk-box { transform: none; }
.tk button, .tk input { font-family: var(--f-body); }
.tk-x { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: transparent; color: #111; cursor: pointer; display: grid; place-items: center; padding: 0; }
.tk-x:hover { background: #F1ECE4; }
.tk-x svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tk-box > .tk-x { position: absolute; top: .8rem; right: .8rem; }

.tk-invite { text-align: center; padding: clamp(2rem, 7vw, 4rem) 0 .5rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.tk-invite h2 { font-size: clamp(3.4rem, 13vw, 7rem); line-height: 1; font-weight: 300; letter-spacing: -.02em; text-transform: uppercase; margin: 0; }
.tk-invite p { margin: 0; font-size: clamp(1rem, 2.6vw, 1.25rem); color: #6A6158; max-width: 32ch; }
.tk-done h2 { font-size: clamp(2rem, 6vw, 3.2rem); text-transform: none; line-height: 1.2; max-width: 18ch; }
.tk-go { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: var(--tk-amber); color: #fff; font-weight: 500; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; padding: 1.1rem 2.4rem; border-radius: 999px; text-align: center; transition: background .3s, transform .2s; }
.tk-go:hover { background: var(--tk-amber-dark); color: #fff; }
.tk-go:active { transform: scale(.98); }
.tk-later { appearance: none; background: none; border: 0; cursor: pointer; font-size: .9rem; color: #6A6158; text-decoration: underline; text-underline-offset: 4px; padding: .4rem; }

.tk-bar { height: 4px; background: #EFE8DD; border-radius: 4px; overflow: hidden; }
.tk-bar i { display: block; height: 100%; background: var(--tk-amber); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.tk-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; min-height: 3rem; margin-top: .4rem; }
.tk-top .tk-x { justify-self: end; }
.tk-back { justify-self: start; appearance: none; background: none; border: 0; cursor: pointer; font-size: .9rem; color: #111; padding: .6rem .2rem; }
.tk-count { font-size: .75rem; letter-spacing: .14em; color: #8A8077; }
.tk-step h2 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); font-weight: 300; line-height: 1.15; text-align: center; margin: .6rem 0 1.6rem; }
.tk-step.tk-next { animation: tkNext .45s cubic-bezier(.2, .7, .2, 1); }
.tk-step.tk-prev { animation: tkPrev .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes tkNext { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes tkPrev { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }

.tk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.tk-card { appearance: none; cursor: pointer; min-width: 0; white-space: normal; letter-spacing: 0; text-transform: none; min-height: 6.2rem; padding: 1rem .5rem; border-radius: 14px; border: 1px solid #E8E0D4; background: #fff; color: #111; font-size: 1.12rem; font-weight: 300; line-height: 1.3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; transition: border-color .25s, background .25s, transform .2s; }
.tk-cards.tk-ic .tk-card { min-height: 9rem; }
.tk-cards.tk-odd { grid-template-columns: minmax(0, 1fr); }
.tk-cards.tk-odd .tk-card { min-height: 4.6rem; }
.tk-cards.tk-ic.tk-odd { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tk-cards.tk-ic.tk-odd .tk-card { min-height: 9rem; }
@media (max-width: 640px) {
  .tk-cards.tk-ic.tk-odd { grid-template-columns: minmax(0, 1fr); }
  .tk-cards.tk-ic.tk-odd .tk-card { flex-direction: row; justify-content: flex-start; gap: 1.4rem; min-height: 5.4rem; padding: 1rem 1.6rem; }
}
.tk-card svg { width: 3rem; height: 3rem; fill: none; stroke: var(--tk-amber); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tk-card:hover { border-color: var(--tk-amber); transform: translateY(-2px); }
.tk-card:active { transform: scale(.97); }
.tk-card[aria-pressed=true], .tk-chip[aria-pressed=true] { border-color: var(--tk-amber); background: #FBF0E2; }
.tk-chips { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 1.4rem; }
.tk-chip { appearance: none; cursor: pointer; border: 1px solid #E8E0D4; background: #fff; color: #111; border-radius: 999px; padding: .75rem 1.15rem; font-size: 1rem; font-weight: 300; }
.tk-chip:hover { border-color: var(--tk-amber); }

.tk-form { display: flex; flex-direction: column; gap: .9rem; max-width: 26rem; margin: 0 auto; }
.tk-form label { display: flex; flex-direction: column; gap: .3rem; }
.tk-form label > span { font-size: .8rem; color: #6A6158; }
.tk-form input:not([type=checkbox]) { width: 100%; font-size: 1.05rem; color: #111; background: #fff; border: 1px solid #E2D9CC; border-radius: 12px; padding: .85rem 1rem; }
.tk-form input:focus { outline: 2px solid var(--tk-amber); outline-offset: 1px; border-color: transparent; }
.tk-form .tk-check { flex-direction: row; gap: .7rem; align-items: flex-start; }
.tk-check input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; flex: none; accent-color: var(--tk-amber); }
.tk-check a { text-decoration: underline; }
.tk-form .tk-go { margin-top: .4rem; }
.tk-err { margin: 0; min-height: 1.3rem; font-size: .88rem; color: #A8372A; text-align: center; }

/* özet, ek alanlar */
.tk-sum { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: -.7rem auto 1.2rem; max-width: 30rem; }
.tk-sum button { appearance: none; cursor: pointer; border: 0; border-radius: 999px; background: #FBF0E2; color: #6B4318; font-size: .85rem; padding: .35rem .8rem; }
.tk-sum button:hover { background: #F5E2C8; }
.tk-form label[hidden] { display: none; }
.tk-add { align-self: flex-start; appearance: none; background: none; border: 0; cursor: pointer; padding: .2rem 0; color: var(--tk-amber-dark); font-size: .92rem; }
.tk-safe { margin: -.4rem 0 0; font-size: .75rem; color: #8A8077; text-align: center; }
.tk-meta { font-size: .8rem; color: #8A8077; margin-top: -.4rem; }
.tk-call { display: inline-flex; justify-content: center; border: 1px solid #111; border-radius: 999px; padding: .9rem 1.8rem; font-size: .92rem; color: #111; }
.tk-call:hover { background: #111; color: #fff; }

@media (max-width: 640px) {
  .tk { place-items: stretch; }
  .tk-box { width: 100%; max-height: 100%; height: 100%; border-radius: 0; padding-bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
  .tk-invite { min-height: 100%; justify-content: center; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .tk, .tk-box, .tk-step, .tk-bar i { transition: none; animation: none; } }

/* telefon menusunde buton */
body.menu-open .nav a.nav-cta { padding: .35em 1.5em; border-radius: 999px; margin-top: .8rem; }

/* tuzak alan (otomatik programlar için), gönderim durumu */
.tk-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.tk-go:disabled { opacity: .6; cursor: progress; }
.tk-alt { margin: -.6rem 0 0; text-align: center; font-size: .92rem; }
.tk-alt a { text-decoration: underline; text-underline-offset: 4px; }
.tk-done .tk-meta { margin-top: -.6rem; }

.form .msg a { text-decoration: underline; }
