/* Formfit — Yakında sayfası */
:root {
  --cream: #F3F0E8;
  --paper: #FBFAF6;
  --sand: #E7E0D1;
  --sage: #9BA383;
  --sage-soft: #C9CDB6;
  --green: #123F33;
  --green-dark: #0C2C24;
  --ink: #1D2622;
  --muted: #6B706A;
  --line: rgba(18, 63, 51, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--sage); }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.page { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }

/* ---------- Content ---------- */
.content { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: clamp(20px, 3.4vw, 56px) var(--pad); padding-right: clamp(20px, 5vw, 80px); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { width: auto; height: clamp(40px, 4vw, 54px); }
.ig-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--green); text-decoration: none; border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; white-space: nowrap; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.ig-pill:hover { background: var(--green); border-color: var(--green); color: var(--cream); }
.ig-pill svg { width: 16px; height: 16px; }

.intro { max-width: 640px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.title { font: 300 clamp(48px, 6vw, 100px)/.95 var(--serif); color: var(--green); margin: 0 0 24px; letter-spacing: -.015em; }
.line { display: block; overflow: hidden; padding-bottom: .07em; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.line:nth-child(2) > span { transition-delay: .1s; }
.line:nth-child(3) > span { transition-delay: .2s; }
.is-ready .line > span { transform: none; }
.lead { color: var(--muted); font-size: 17px; max-width: 500px; margin: 0 0 32px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; }
.is-ready .reveal { opacity: 1; transform: none; }

/* ---------- Action buttons ---------- */
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.action { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; text-decoration: none; text-align: left; border: 1px solid transparent; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease); }
.action:hover { transform: translateY(-2px); }
.action__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.action__icon svg { width: 20px; height: 20px; }
.action__text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.action__text strong { font: 400 24px/1.1 var(--serif); }
.action__text small { font-size: 13px; opacity: .7; margin-top: 4px; }
.action__arrow { transition: transform .4s var(--ease); }
.action:hover .action__arrow { transform: translateX(4px); }
.action--primary { background: var(--green); color: var(--cream); }
.action--primary .action__icon { background: rgba(243, 240, 232, .12); }
.action--primary:hover { background: var(--green-dark); }
.action--ghost { background: var(--paper); border-color: var(--line); color: var(--green); }
.action--ghost .action__icon { background: var(--sand); }
.action--ghost:hover { border-color: var(--green); }

/* ---------- Footer ---------- */
.footer { display: grid; grid-template-columns: 1.15fr 1.2fr 1fr; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.footer > div { padding: 18px 16px 0 0; }
.footer > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.footer span { display: block; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.footer .nowrap { white-space: nowrap; }
.footer__copy { grid-column: 1 / -1; margin: 14px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- Visual ---------- */
.visual { position: relative; padding: 16px 16px 16px 0; }
.arch { position: relative; height: 100%; min-height: 560px; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--sand); clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); transition: clip-path 1.6s var(--ease) .15s; }
.is-ready .arch { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; filter: saturate(.78) brightness(.9) contrast(.94); transform: scale(1.12); transition: transform 2.6s var(--ease); }
.is-ready .arch img { transform: scale(1); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 40, 32, .12), rgba(18, 40, 32, .12) 60%, rgba(18, 40, 32, .4)); }
.badge { position: absolute; top: 12%; left: -58px; width: 128px; height: 128px; border-radius: 50%; background: var(--green); display: grid; place-items: center; z-index: 2; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge text { fill: var(--sage-soft); stroke: none; font: 500 10px var(--sans); letter-spacing: .2em; }
.badge img { width: 46px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--cream); }
dialog::backdrop { background: rgba(12, 30, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); border-radius: 28px; overflow: auto; }
.sheet[open] { animation: sheetIn .6s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet__close { position: absolute; top: 18px; right: 18px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; color: var(--green); transition: background .3s, color .3s; }
.sheet__close:hover { background: var(--green); color: var(--cream); }
.callform { padding: clamp(24px, 4vw, 40px); }
.callform h2 { font: 300 42px/1 var(--serif); color: var(--green); margin: 0 0 8px; padding-right: 48px; }
.callform__sub { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { margin-bottom: 18px; }
.field span, .chips legend { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.field small, .chips legend small { font-weight: 400; opacity: .8; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .3s, background .3s; }
.field textarea { resize: vertical; min-height: 52px; }
.field input::placeholder, .field textarea::placeholder { color: #A6A9A2; }
.field input:focus, .field textarea:focus { border-color: var(--green); background: #fff; }
.field input.is-invalid { border-color: #B0573A; }
.chips { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label span { display: inline-block; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; cursor: pointer; transition: background .3s var(--ease), color .3s, border-color .3s; }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: var(--cream); }
.chips label span small { font-size: 12px; opacity: .6; margin-left: 4px; }
.chips input:checked + span small { opacity: .75; }
.chips input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.chips__sep { width: 100%; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.consent input { accent-color: var(--green); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.consent.is-invalid { color: #B0573A; }
.consent a { color: var(--green); }
.submit { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; border-radius: 14px; padding: 18px 24px; background: var(--green); color: var(--cream); font-size: 15px; font-weight: 500; letter-spacing: .02em; transition: background .4s var(--ease); }
.submit:hover { background: var(--green-dark); }
.submit svg { transition: transform .4s var(--ease); }
.submit:hover svg { transform: translateX(4px); }
.submit--sm { width: auto; padding: 12px 22px; }
.form-msg { margin: 14px 0 0; font-size: 14px; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--green); }
.form-msg.is-err { color: #B0573A; }
.callform.is-done > *:not(h2):not(.form-msg) { display: none; }
.callform.is-done .form-msg { font: 400 22px/1.35 var(--serif); margin: 12px 0 0; }

.kvkk { max-width: 520px; width: calc(100% - 32px); border-radius: 24px; padding: 32px; }
.kvkk h2 { font: 400 30px var(--serif); color: var(--green); margin: 0 0 12px; }
.kvkk p { color: var(--muted); font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .actions { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .visual { order: -1; padding: 12px 12px 0; height: 36svh; min-height: 260px; }
  .arch { min-height: 0; border-radius: 28px; clip-path: inset(100% 0 0 0 round 28px); }
  .is-ready .arch { clip-path: inset(0 0 0 0 round 28px); }
  .arch::after { background: linear-gradient(180deg, rgba(14, 34, 27, .78) 0%, rgba(14, 34, 27, .35) 32%, rgba(14, 34, 27, .18) 60%, rgba(14, 34, 27, .35) 100%); }
  .badge { top: auto; bottom: -36px; left: auto; right: 28px; width: 96px; height: 96px; }
  .badge img { width: 34px; }
  .content { padding-top: 56px; gap: 40px; }
  .top { position: absolute; top: 28px; left: 28px; right: 28px; z-index: 3; }
  .logo { filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(0,0,0,.35)); height: 38px; }
  .ig-pill { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(14,34,27,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .intro { max-width: none; }
  .title { margin-bottom: 18px; }
  .lead { margin-bottom: 22px; font-size: 16px; }
  .action { padding: 14px 18px; }
  .actions { gap: 10px; }
}
@media (max-width: 600px) {
  .ig-pill { padding: 9px; font-size: 0; gap: 0; }
  .ig-pill svg { width: 18px; height: 18px; }
  .footer { grid-template-columns: minmax(0, 1fr); }
  .footer > div { padding-right: 0; }
  .footer a { overflow-wrap: anywhere; }
  .footer > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 18px; }
  .fields { grid-template-columns: 1fr; }
  /* Form mobilde alttan açılan panel */
  .sheet { width: 100%; max-width: none; max-height: 92svh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .sheet[open] { animation: sheetUp .5s var(--ease); }
  .callform h2 { font-size: 36px; }
}
@keyframes sheetUp { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.footer .nowrap { display: inline; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; margin: 0; }
