/* Kizu landing — brand tokens from apps/kizubr/lib/shared/presentation/theme/app_colors.dart */
:root {
  --brand-red: #c8322b;
  --brand-red-dark: #9e2820;
  --brand-red-tint: #fbe7e5;
  --brand-purple: #a020f0;
  --brand-purple-dark: #8019c0;
  --brand-purple-tint: #f3e5f5;
  --grad-start: #9b1fd8;
  --grad-end: #d02a86;
  --green: #009c3b;
  --green-tint: #e3f3e8;
  --orange: #f59e0b;
  --orange-tint: #fff4e0;
  --blue: #2563eb;
  --blue-tint: #e8efff;
  --ink: #121212;
  --muted: #6b7280;
  --line: #ececef;
  --paper: #ffffff;
  --canvas: #fff8f7;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(80, 20, 60, 0.08);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: var(--brand-purple-dark); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.is-hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand strong { display: block; font-size: 1.3rem; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: .72rem; }
nav.main { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
nav.main a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a.active { color: var(--brand-red); border-color: var(--brand-red); }

/* Common */
section { padding: 72px 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-red); background: var(--brand-red-tint); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
.accent { color: var(--brand-red); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Store badges (not links: app not yet published) */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 10px 18px; min-width: 190px; cursor: default; }
.badge svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.badge span { display: block; font-size: .7rem; opacity: .8; line-height: 1.1; }
.badge b { display: block; font-size: 1.05rem; line-height: 1.2; }

/* Hero */
.hero { padding: 56px 0 40px; background: radial-gradient(circle at 78% 38%, var(--brand-red-tint) 0, transparent 46%), linear-gradient(180deg, var(--canvas), var(--paper)); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.stat { display: flex; gap: 10px; align-items: flex-start; max-width: 200px; font-size: .9rem; color: var(--muted); }
.stat b { display: block; color: var(--ink); }
.stat .ico { color: var(--brand-red); }
.phones { position: relative; min-height: 560px; }
.phone { position: absolute; width: 250px; border-radius: 40px; background: #111; padding: 10px; box-shadow: 0 30px 60px rgba(60, 10, 40, .25); }
.phone img { border-radius: 31px; width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top; background: var(--line); }
.phone.front { left: 8%; top: 0; z-index: 2; }
.phone.back { left: 46%; top: 54px; transform: rotate(4deg); }

/* Icons */
.ico { width: 26px; height: 26px; flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-box { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ico-box .ico { width: 22px; height: 22px; }
.t-red { color: var(--brand-red); background: var(--brand-red-tint); }
.t-green { color: var(--green); background: var(--green-tint); }
.t-purple { color: var(--brand-purple); background: var(--brand-purple-tint); }
.t-blue { color: var(--blue); background: var(--blue-tint); }
.t-orange { color: var(--orange); background: var(--orange-tint); }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; min-height: 380px; max-height: 520px; object-fit: cover; }
.photo:has(.caption)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,0,20,.62) 0, rgba(20,0,20,0) 55%); pointer-events: none; }
.photo .caption { z-index: 1; position: absolute; left: 22px; top: 22px; color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,.6); max-width: 14rem; }
.features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features b { display: block; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Categories */
.categories { background: linear-gradient(180deg, var(--paper), var(--canvas)); }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.cat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.cat .body { padding: 18px 18px 14px; }
.cat .ico-box { margin-bottom: 12px; }
.cat h3 { margin-bottom: 4px; }
.cat p { margin: 0; color: var(--muted); font-size: .9rem; }
.cat img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-top: auto; }

/* Region */
.region .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pin { position: absolute; left: 18px; top: 18px; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.pin .ico { width: 16px; height: 16px; color: var(--brand-red); }
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.city { text-align: center; font-size: .9rem; }
.city img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 6px; }

/* Testimonials (placeholder, hidden by default) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.quote { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper); box-shadow: var(--shadow); }
.quote p { margin: 0 0 12px; }
.quote cite { font-style: normal; font-weight: 700; }
.quote small { display: block; color: var(--muted); }

/* CTA */
.cta .box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--brand-red-tint), var(--brand-purple-tint)); border-radius: 28px; padding: 48px 56px 0; overflow: hidden; }
.cta .box > div:first-child { padding-bottom: 40px; }
.cta .phone { position: relative; width: 240px; margin: 0 auto; border-radius: 40px 40px 0 0; padding-bottom: 0; }
.cta .phone img { border-radius: 31px 31px 0 0; aspect-ratio: 1170 / 1700; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: .92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer.site nav a { color: var(--ink); text-decoration: none; }
footer.site nav a:hover { color: var(--brand-red); }
.social { display: flex; gap: 12px; }
.social a { color: var(--ink); width: 22px; height: 22px; display: block; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.legal-id { width: 100%; font-size: .8rem; }

/* Legal / text pages */
.page { background: var(--canvas); padding: 40px 0 64px; }
.page .card { width: min(820px, calc(100% - 40px)); margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 32px 16px; box-shadow: var(--shadow); }
.page h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.page h2 { font-size: 1.25rem; margin-top: 28px; }
.page li { margin-bottom: 4px; }
.meta { color: var(--muted); font-size: .9rem; }
address { font-style: normal; }
.en { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 52px 0; }
  .hero .wrap, .about .wrap, .region .wrap, .cta .box { grid-template-columns: 1fr; }
  .phones { min-height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
  .phone.front { left: 0; }
  .phone.back { left: auto; right: 0; }
  .quotes { grid-template-columns: 1fr; }
  .cta .box { padding: 36px 24px 0; text-align: center; }
  .cta .badges { justify-content: center; }
  header.site .wrap { flex-wrap: wrap; min-height: 0; padding: 10px 0 0; gap: 4px; }
  nav.main { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 6px; font-size: .9rem; }
  nav.main a { white-space: nowrap; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .phone { width: 180px; }
  .phones { min-height: 410px; }
  .badge { min-width: 0; flex: 1; }
}

/* ---- v2 additions ---- */
.pill { display: inline-block; background: var(--brand-red); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; border-radius: 999px; padding: 10px 20px; white-space: nowrap; }
.pill:hover { background: var(--brand-red-dark); }
header.site .wrap { gap: 24px; }
header.site nav.main { margin-left: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.photo.food img { min-height: 300px; max-height: 360px; }
.chip { position: absolute; right: 16px; top: 16px; display: flex; gap: 6px; align-items: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 8px 12px; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow); max-width: 12rem; line-height: 1.25; }
.chip .ico { width: 16px; height: 16px; color: var(--green); }
.carousel { position: relative; }
.cities { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 44px; }
.cities::-webkit-scrollbar { display: none; }
.city { flex: 0 0 calc((100% - 36px) / 4); min-width: 110px; scroll-snap-align: start; }
.arrow { position: absolute; right: 0; top: 34%; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); }
.arrow .ico { width: 18px; height: 18px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots span.on { background: var(--brand-red); width: 22px; border-radius: 4px; }
.narrow { width: min(820px, calc(100% - 40px)); }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.faq { background: var(--canvas); }
.categories .cards { margin-top: 40px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  header.site nav.main { margin-left: 0; order: 3; }
  header.site .pill { margin-left: auto; padding: 8px 16px; }
  .city { flex-basis: 42%; }
}
.hero .wrap > *, .about .wrap > *, .region .wrap > *, .split > *, .cta .box > * { min-width: 0; }
