/* Motokim sitesi. Marka renkleri ve yazı tipleri uygulamayla aynı
   (app_colors.dart: kuryeRed #E31E24, inkBlack #1A1A1A; Poppins + Inter).
   Tek cesur öğe ana sayfanın kırmızı girişi; geri kalanı sade. */

@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(/assets/fonts/Poppins-Bold.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/assets/fonts/Poppins-SemiBold.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-Regular.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/Inter-Medium.woff2) format('woff2'); }

:root {
  --red: #E31E24;
  --red-deep: #B3121A;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --mist: #F5F6F8;
  --slate: #5F6573;
  --line: #E3E5EA;
  --display: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

a { color: var(--red); text-underline-offset: 0.18em; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }

/* Üst çubuk */
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: block; padding-block: 6px; }
.brand img { height: 44px; width: auto; }
.topbar nav a { color: var(--ink); font-weight: 500; text-decoration: none; padding: 10px 4px; }
.topbar nav a:hover { text-decoration: underline; }

/* Ana sayfa girişi: mağaza görselleriyle aynı kırmızı zemin ve sohbet deseni */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 30% 15%, #EE2A30 0%, var(--red) 45%, var(--red-deep) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; background: #fff; opacity: 0.08;
  -webkit-mask: url(/assets/img/pattern.png) 0 0 / 240px repeat;
  mask: url(/assets/img/pattern.png) 0 0 / 240px repeat;
}
.hero :focus-visible { outline-color: #fff; }
.hero-inner {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px;
  padding-top: 72px;
}
.hero-copy { padding-bottom: 72px; }
.hero h1 {
  margin: 0 0 22px; max-width: 11ch;
  font: 700 clamp(2.6rem, 5.2vw + 0.6rem, 4.6rem)/1.02 var(--display); letter-spacing: -0.025em;
}
.hero .lead { margin: 0; max-width: 34ch; font-size: 1.1875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.94); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 0.9375rem var(--display); text-decoration: none;
}
.stores-onRed .store { background: #fff; color: var(--ink); }
.stores-onRed .is-soon { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.65); }
.stores-light .store { background: var(--red); color: #fff; }
.stores-light .is-soon { background: var(--mist); color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Telefon çerçevesi: --w genişliğinden ölçeklenir (oran 1320×2868) */
.phone {
  --w: 260px;
  margin: 0; width: var(--w); padding: calc(var(--w) * 0.024);
  background: #111; border-radius: calc(var(--w) * 0.15);
  box-shadow: 0 calc(var(--w) * 0.08) calc(var(--w) * 0.2) rgba(40, 0, 0, 0.32);
}
.phone img { width: 100%; border-radius: calc(var(--w) * 0.13); background: #fff; }

.hero-phones { position: relative; align-self: stretch; min-height: 560px; }
.hero-phones .phone { position: absolute; bottom: -150px; left: 50%; }
.p-center { --w: 290px; z-index: 2; transform: translateX(-50%); bottom: -110px !important; }
.p-left { --w: 236px; transform: translateX(calc(-50% - 210px)) rotate(-7deg); }
.p-right { --w: 236px; transform: translateX(calc(-50% + 210px)) rotate(7deg); }

/* Özellikler */
.features { padding-block: 96px 80px; }
.features > h2, .band h2 {
  margin: 0 0 40px; font: 700 clamp(1.8rem, 2.6vw + 0.8rem, 2.6rem)/1.12 var(--display); letter-spacing: -0.015em;
}
.feature-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 48px;
}
.feature-list li { border-top: 1px solid var(--line); padding-top: 20px; }
.feature-list h3 { margin: 0 0 6px; font: 600 1.25rem/1.3 var(--display); }
.feature-list p { margin: 0; color: var(--slate); }

/* Bantlar: yardım çağrısı (koyu) ve işletmeler (açık) */
.band { padding-block: 80px; }
.band-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: center; }
.business .band-inner { grid-template-columns: minmax(0, 1fr) auto; }
.band .phone { --w: 250px; }
.band h2 { margin-bottom: 18px; }
.band p { max-width: 46ch; font-size: 1.125rem; margin: 0 0 16px; }
.sos { background: var(--ink); color: #fff; }
.sos p { color: rgba(255, 255, 255, 0.84); }
.sos :focus-visible { outline-color: #fff; }
.sos .note { color: #fff; font-weight: 500; border-left: 3px solid var(--red); padding-left: 14px; margin-top: 24px; }
.sos .phone { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.business { background: var(--mist); }
.business .phone { box-shadow: 0 20px 50px rgba(17, 17, 17, 0.18); }

/* Belge sayfaları */
.wrap.doc { max-width: 760px; padding-block: 40px 96px; }
.doc h1 { margin: 0 0 14px; font: 700 clamp(2rem, 2.4vw + 1.2rem, 2.75rem)/1.12 var(--display); letter-spacing: -0.015em; }
.doc h2 { margin: 44px 0 12px; font: 600 1.375rem/1.3 var(--display); }
.doc h3 { margin: 28px 0 8px; font: 600 1.125rem/1.35 var(--display); }
.doc .lead { font-size: 1.1875rem; line-height: 1.55; margin: 0 0 8px; }
.crumb { margin: 0 0 18px; font-size: 0.9375rem; }
.doc-meta { margin: 0 0 32px; color: var(--slate); font-size: 0.9375rem; }
.prose { max-width: 68ch; }
.prose ul, .prose ol, .facts { padding-left: 1.25em; }
.prose li, .facts li { margin: 6px 0; }
.facts { margin: 24px 0 0; }

.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 18px 40px 18px 0; font: 600 1.0625rem/1.4 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem/1 var(--text); color: var(--red);
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 20px; }

.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { border-top: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 1px solid var(--line); }
.doc-list a { display: block; padding: 14px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.doc-list a:hover { color: var(--red); }

.steps { padding-left: 1.4em; margin: 20px 0 28px; }
.steps li { margin: 10px 0; padding-left: 4px; }
.steps li::marker { color: var(--red); font: 700 1rem var(--display); }

/* Hesap silme formu */
.card-form { display: grid; gap: 22px; margin-top: 36px; padding: clamp(20px, 4vw, 32px); background: var(--mist); border-radius: 18px; }
.mode { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; border: 0; }
.mode legend { padding: 0; margin-bottom: 8px; font: 600 1rem var(--display); }
.mode label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.mode input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.mode[disabled] label { cursor: default; color: var(--slate); }
[data-step] { display: grid; gap: 10px; }
[data-step] > label { font-weight: 500; font-size: 0.9375rem; }
[data-step] > p { margin: 0; }
input[type='text'] {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1.5px solid #CDD1D9; border-radius: 12px; background: #fff; color: var(--ink);
  font: 400 1.0625rem var(--text);
}
input[type='text']:focus-visible { outline: 3px solid rgba(227, 30, 36, 0.3); outline-offset: 0; border-color: var(--red); border-radius: 12px; }
#code { letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.btn {
  justify-self: start; min-height: 52px; padding: 0 28px; margin-top: 6px;
  border: 0; border-radius: 12px; background: var(--red); color: #fff;
  font: 600 1rem var(--display); cursor: pointer;
}
.btn:hover { background: var(--red-deep); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.aside { font-size: 0.9375rem; color: var(--slate); }
.link { margin-left: 6px; padding: 4px 0; border: 0; background: none; color: var(--red); font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link:disabled { color: var(--slate); text-decoration: none; cursor: default; }
.error { margin: 0; padding: 12px 16px; border-radius: 10px; background: #FDECEC; color: #9B1015; font-weight: 500; }
.done { margin: 0; padding: 16px 18px; border-radius: 12px; background: #E9F7EF; color: #14532D; font-weight: 500; }
[data-step='done']:focus { outline: none; }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer h2 { margin: 0 0 12px; font: 600 1rem var(--display); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-note { grid-column: 1 / -1; margin: 8px 0 0; color: var(--slate); }

/* Dar ekran */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; padding-top: 44px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-phones { min-height: 400px; }
  .p-center { --w: 210px; bottom: -150px !important; }
  .p-left, .p-right { --w: 170px; bottom: -190px; }
  .p-left { transform: translateX(calc(-50% - 140px)) rotate(-7deg); }
  .p-right { transform: translateX(calc(-50% + 140px)) rotate(7deg); }
  .features { padding-block: 64px 56px; }
  .band { padding-block: 64px; }
  .band-inner, .business .band-inner { grid-template-columns: 1fr; gap: 40px; }
  .band .phone { --w: 220px; order: 2; justify-self: center; }
}
@media (max-width: 420px) {
  .brand img { height: 38px; }
  .hero .lead { font-size: 1.0625rem; }
}
