/* Meta Reklam Semineri kayıt sayfası — KG Akademi marka renkleri: kırmızı #D5293B, sıcak siyah #18140F, krem #F1E2B8; Montserrat (afişle uyumlu) */
:root {
  --bg: #FFFFFF;
  --bg-soft: #FAF6EF;
  --surface: #FFFFFF;
  --ink: #18140F;
  --ink-2: #5C5346;
  --ink-3: #8A806E;
  --border: #E9E1D0;
  --accent: #D5293B;
  --accent-dark: #B01E2E;
  --cream: #F1E2B8;
  --cream-ink: #6B4E17;
  --good: #1D8A57;
  --good-soft: #E4F3EB;
  --wa: #1F9D55;
  --wa-dark: #17824A;
  --shadow: 0 24px 48px -28px rgba(24, 20, 15, .4);
  --font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.55 var(--font-body); }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2 { margin: 0; font-family: var(--font-head); font-weight: 900; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)); }
/* İçerik kısa olsa da footer ekranın en altında durur */
.wrap { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.wrap > main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px; border-bottom: 1px solid var(--border); }
.wordmark { font: 800 17px var(--font-head); text-decoration: none; }
.wordmark span { color: var(--accent); }
.header-tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: var(--cream); color: var(--cream-ink); font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cream-ink); }

/* Giriş: geniş ekranda solda afiş, sağda form; mobilde afiş üstte, form altta */
.intro { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 24px; padding-block: 24px 56px; }
.poster { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.poster img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
@media (min-width: 980px) {
  .intro { grid-template-columns: minmax(0, 560px) minmax(0, 520px); justify-content: center; align-items: center; column-gap: 48px; padding-top: 40px; }
}
@media (max-width: 520px) {
  .intro { gap: 18px; padding-top: 16px; }
  .poster { margin-inline: -4px; border-radius: 16px; }
}

/* Kart ve form */
.card { max-width: 640px; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.card .eyebrow { margin-bottom: 14px; }
.card h1 { font-size: clamp(24px, 4vw, 30px); line-height: 1.15; }
.card h1 + .card-lede { margin: 8px 0 20px; color: var(--ink-2); line-height: 1.55; }
.card { scroll-margin-top: 16px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 520px) { .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font: 700 13px/1.2 var(--font-body); letter-spacing: .02em; color: var(--ink-2); }
.field input { width: 100%; min-width: 0; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg-soft); color: var(--ink); font: 500 16px var(--font-body); outline: 0; }
.field input:focus { border-color: var(--accent); background: var(--surface); }
.field input::placeholder { color: #B3A994; }
.field.has-error input { border-color: var(--accent); }
.field-error, .form-error { font-size: 13px; font-weight: 600; color: var(--accent); }
.form-error { margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; background: #FBEAEA; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.hint a { color: var(--ink-2); }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--accent); color: #FFFFFF; font: 700 17px var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: .7; cursor: progress; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid rgba(213, 41, 59, .35); outline-offset: 2px; }

/* Teşekkür sayfası */
.thanks { display: flex; justify-content: center; align-items: flex-start; padding-block: 48px 64px; }
.thanks-card { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 560px; text-align: center; }
.thanks-card h1 { font-size: clamp(30px, 6vw, 40px); }
.thanks-card .lede { font-size: 18px; line-height: 1.6; color: var(--ink); }
.check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--good-soft); color: var(--good); }
.tip { width: 100%; padding: 14px 16px; border: 1px solid #EBD9A6; border-radius: 14px; background: #FBF4DF; color: var(--cream-ink); text-align: left; }
.tip strong { display: block; margin-bottom: 2px; font-size: 15px; }
.tip p { font-size: 15px; line-height: 1.5; }
.wa { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; padding-top: 8px; }
.wa p { font-size: 16px; font-weight: 600; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 20px; border-radius: 12px; background: var(--wa); color: #FFFFFF; font: 700 17px var(--font-body); text-decoration: none; transition: background .15s ease; }
.btn-wa:hover { background: var(--wa-dark); }

/* Aydınlatma metni */
.doc { max-width: 720px; padding-block: 40px 56px; }
.doc h1 { margin-bottom: 16px; font-size: clamp(26px, 5vw, 34px); }
.doc h2 { margin: 28px 0 8px; font-size: 19px; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.65; }
.doc ul { padding-left: 20px; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-3); }
.footer-links a { color: var(--ink-2); }

@media (max-width: 520px) {
  .card { padding: 22px 18px; }
  .site-footer { flex-direction: column; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-wa { transition: none; }
}
.nw { white-space: nowrap; }
