:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #767676;
  --line: #e5e5e5;
  --surface: #f7f7f7;
  --blue: #2189ff;
  --blue-hover: #0c6fe0;
  --max: 1280px;
  --nav: 64px;
  --sans: "Inter", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 15px;
  letter-spacing: -0.01em;
  animation: none;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* Header — Samsung-style bar */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  animation: none;
}
.header-inner {
  height: 100%;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: flex; align-items: center; gap: 32px;
  flex-wrap: nowrap;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 15px;
  text-transform: uppercase;
}
.logo img { width: 32px; height: 32px; object-fit: cover; border-radius: 8px; animation: breathe 4.8s ease-in-out infinite; }
.logo span { display: block; font-size: 10px; letter-spacing: 0.22em; color: var(--muted); font-weight: 500; margin-top: 2px; }
.nav { display: flex; flex-wrap: nowrap; gap: 28px; font-size: 14px; font-weight: 500; margin-left: 8px; white-space: nowrap; }
.nav a { color: #1d1d1d; }
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); animation: textPulse 3.5s ease-in-out infinite; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-reserve { margin-left: auto; flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  place-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-lock { overflow: hidden; }
.phone-field { display: flex; align-items: center; gap: 10px; }
.phone-field > span {
  flex: 0 0 auto;
  font-weight: 700;
  color: #767676;
  min-width: 42px;
}
.phone-field input { flex: 1; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 14px; font-weight: 600;
  transition: 0.15s ease;
}
.btn-blue { background: var(--blue); color: #fff; animation: pulseGlow 3.8s ease-in-out infinite; }
.btn-blue:hover { background: var(--blue-hover); animation: none; }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #222; }
.btn-ghost { background: transparent; border: 1px solid #000; color: #000; }
.btn-ghost:hover { background: #000; color: #fff; }
.link-blue {
  color: var(--blue); font-weight: 600; font-size: 14px;
}
.link-blue:hover { text-decoration: underline; }

/* KV / hero — Samsung Galaxy block */
.kv {
  background: #000;
  color: #fff;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kv-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.kv-slides img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.kv-slides img.on {
  opacity: 0.62;
  animation: kenburns 16s ease-in-out infinite alternate;
}
.kv::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%),
    radial-gradient(ellipse at 50% 70%, rgba(33,137,255,.16), transparent 55%);
  animation: mist 10s ease-in-out infinite;
}
.kv-copy { position: relative; z-index: 2; padding: 80px 24px; max-width: 860px; }
.kv-copy .kicker {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #cfcfcf; margin-bottom: 12px; font-weight: 600;
}
.kv-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  animation: breathe 6.5s ease-in-out infinite;
}
.kv-copy p { margin: 16px auto 0; max-width: 560px; color: #d8d8d8; font-size: 18px; }
.kv-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.band {
  background: var(--surface);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
}
.band-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; color: #444; }

.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em;
}
.section-head p { color: var(--muted); margin-top: 8px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.band-row span { animation: wave 5s ease-in-out infinite; }
.band-row span:nth-child(2) { animation-delay: -1.2s; }
.band-row span:nth-child(3) { animation-delay: -2.4s; }
.band-row span:nth-child(4) { animation-delay: -3.6s; }

.card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s;
  content-visibility: auto;
  contain-intrinsic-size: 0 420px;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 22px 48px rgba(0,0,0,.12); }
.card-media { aspect-ratio: 1; background: #ececec; position: relative; overflow: hidden; }
.card-media img, .card-media video, .gallery-main video, .thumbs video {
  width: 100%; height: 100%; object-fit: cover;
}
.card-media img {
  animation: kenburns 22s ease-in-out infinite alternate;
}
.card-media video, .gallery-main video, .thumbs video {
  animation: none !important;
}
.feature-media {
  border-radius: 12px; overflow: hidden; background: #000; min-height: 420px;
}
.feature-media img, .feature-media video {
  width: 100%; height: 100%; object-fit: cover; min-height: 420px; display: block;
  animation: kenburns 26s ease-in-out infinite alternate;
}
.tag {
  position: absolute; top: 12px; left: 12px;
  background: #fff; color: #000;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  animation: tagPulse 2.8s ease-in-out infinite;
}
.card-body { padding: 16px 16px 20px; background: #fff; }
.card-body h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.meta { color: var(--muted); font-size: 13px; margin: 4px 0 8px; }
.price { font-weight: 700; font-size: 16px; }
.card-cta {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.card:hover .card-cta { text-decoration: underline; }
.p-price { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.shop-count { margin-top: 10px; font-weight: 800; color: #000; font-size: 16px; }
.how-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.how-row article {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--line);
}
.how-row em {
  font-style: normal;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.how-row h3 { margin: 8px 0 8px; font-size: 20px; }
.how-row p { color: #444; }
.close-band {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.close-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.close-band p { color: #cfcfcf; margin-top: 10px; }

.feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center;
}
.feature img { width: 100%; border-radius: 12px; }
.feature h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.stat { background: var(--surface); border-radius: 10px; padding: 16px; }
.stat b { display: block; font-size: 20px; }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why article {
  background: var(--surface); border-radius: 12px; padding: 28px;
}
.why h3 { font-size: 18px; margin-bottom: 8px; }

.shop-block { margin-bottom: 40px; }
.shop-block-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.shop-block-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.shop-block-head span { color: var(--muted); font-weight: 700; font-size: 14px; }
.gal-masonry {
  columns: 3;
  column-gap: 12px;
}
.gal-tile {
  width: 100%;
  break-inside: avoid;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;
  text-align: left;
}
.gal-tile img { width: 100%; height: auto; display: block; }
.gal-tile span {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(0,0,0,.62); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 8px; border-radius: 999px;
}
.gal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.gal-row .gal-tile { margin: 0; aspect-ratio: 1; }
.gal-row .gal-tile img { width: 100%; height: 100%; object-fit: cover; }
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.88);
  display: grid; place-items: center;
  padding: 48px 64px;
}
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }
.lightbox-x, .lightbox-prev, .lightbox-next {
  position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 24px;
}
.lightbox-x { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 32px; }
.chip {
  border: 1px solid var(--line); background: #fff;
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600;
}
.chip.active { background: #000; color: #fff; border-color: #000; }

.product {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px;
  padding: 40px 0 80px;
}
.gallery-main { background: var(--surface); border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.gallery-main video { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { border: 0; padding: 0; background: var(--surface); border-radius: 8px; overflow: hidden; aspect-ratio: 1; cursor: pointer; position: relative; }
.thumbs .tag { font-size: 9px; }
.thumbs img, .thumbs video { width: 100%; height: 100%; object-fit: cover; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
.spec div { background: var(--surface); border-radius: 10px; padding: 12px 14px; }
.spec span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.pills span { background: var(--surface); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

.page-hero { padding: 56px 0 12px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 12px auto 0; }

.panel { background: var(--surface); border-radius: 12px; padding: 28px; }
form { display: grid; gap: 14px; position: relative; }
.success-panel { text-align: center; padding: 48px 28px; }
.success-panel h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; }
.success-panel p { color: var(--muted); margin: 12px auto 22px; max-width: 420px; }
.hp {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
label span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; font-size: 15px; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { font-weight: 700; cursor: pointer; font-size: 16px; }
details p { margin-top: 8px; color: #444; }

.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.parents img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; background: #ececec; animation: kenburns 30s ease-in-out infinite alternate; }
.tiny-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-top: 10px; }
.review { background: var(--surface); border-radius: 12px; padding: 22px; }
.review.vip { background: #fff; border: 1px solid #000; }
.review-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vip-tag {
  background: #000; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
}
.review-kind { font-size: 12px; font-weight: 600; color: var(--blue); }
.stars { color: #f5c518; letter-spacing: 2px; font-size: 14px; animation: twinkle 2.4s ease-in-out infinite; }
.review h3 { margin: 8px 0; font-size: 16px; }
.review .by { color: var(--muted); font-size: 13px; margin-top: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--surface); border-radius: 12px; padding: 24px; }
.step em { font-style: normal; color: var(--blue); font-weight: 800; font-size: 13px; }

footer {
  background: #000; color: #f5f5f5; padding: 56px 0 24px; margin-top: 40px;
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
footer a { color: #bdbdbd; }
footer .logo span { color: #9a9a9a; }
footer a:hover { color: #fff; }
footer h4 { font-size: 13px; margin-bottom: 12px; }
footer ul { list-style: none; display: grid; gap: 8px; font-size: 13px; }
.legal { margin-top: 36px; padding-top: 16px; border-top: 1px solid #222; color: #888; font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.license img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }

.reserve { margin-top: 22px; }
.reserve-status {
  display: flex; align-items: center; gap: 8px;
  color: #1a9d4a; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px;
}
.reserve-status span {
  width: 8px; height: 8px; border-radius: 50%; background: #1a9d4a; display: inline-block;
  box-shadow: 0 0 0 0 rgba(26,157,74,.6);
  animation: heartbeat 1.8s ease-in-out infinite;
}
.reserve-amount {
  font-size: 32px; font-weight: 700; color: #c5a059;
  letter-spacing: -0.03em; margin: 2px 0 14px;
  animation: goldGlow 4s ease-in-out infinite;
}
.reserve-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.reserve-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: #faf7f0;
  border: 1px solid #c5a059;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.reserve-i {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid #c5a059; color: #c5a059;
  font-size: 13px; font-weight: 800; font-style: italic;
  display: grid; place-items: center; margin-top: 1px;
}
.reserve-note p { color: #333; font-size: 14px; line-height: 1.55; }
.reserve-note a { color: var(--blue); font-weight: 600; }

.life-orbs {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.life-orbs i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  animation: drift 20s ease-in-out infinite;
}
.life-orbs i:nth-child(1) {
  width: 460px; height: 460px; background: #2189ff;
  top: -12%; left: -10%; animation-duration: 24s;
}
.life-orbs i:nth-child(2) {
  width: 380px; height: 380px; background: #c5a059;
  right: -8%; bottom: 8%; animation-duration: 28s; animation-delay: -9s;
}
.life-orbs i:nth-child(3) {
  width: 300px; height: 300px; background: #1a9d4a;
  top: 42%; left: 55%; opacity: 0.16; animation-duration: 22s; animation-delay: -5s;
}
#app { position: relative; z-index: 1; }
.header { z-index: 50; }

.review, .why article, .step, .panel {
  animation: riseIn 0.9s ease both;
}
.review:nth-child(2n), .why article:nth-child(2n), .step:nth-child(2n) { animation-delay: .12s; }
.review:nth-child(3n), .why article:nth-child(3n), .step:nth-child(3n) { animation-delay: .24s; }

footer { animation: none; }

@keyframes skin {
  0%, 100% { background: #ffffff; }
  50% { background: #f7f3ec; }
}
@keyframes headerGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(33,137,255,0); }
  50% { box-shadow: 0 8px 28px rgba(33,137,255,.08); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, 1.5%); }
}
@keyframes mist {
  0%, 100% { opacity: .45; }
  50% { opacity: .9; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(33,137,255,.35); }
  50% { box-shadow: 0 0 22px 3px rgba(33,137,255,.5); }
}
@keyframes textPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .72; }
}
@keyframes wave {
  0%, 100% { opacity: .55; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: .55; filter: brightness(1.35); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26,157,74,.55); }
  50% { transform: scale(1.35); box-shadow: 0 0 0 8px rgba(26,157,74,0); }
}
@keyframes goldGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(197,160,89,0); }
  50% { text-shadow: 0 0 18px rgba(197,160,89,.55); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(50px, -36px) scale(1.12); }
  70% { transform: translate(-40px, 28px) scale(.92); }
}
@keyframes footerBreathe {
  0%, 100% { box-shadow: inset 0 12px 40px rgba(33,137,255,0); }
  50% { box-shadow: inset 0 12px 40px rgba(33,137,255,.12); }
}

.blog-excerpt { color: #444; font-size: 13px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article { padding: 40px 0 20px; max-width: 820px; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 10px; }
.article > img { width: 100%; border-radius: 12px; margin: 18px 0 8px; aspect-ratio: 16/9; object-fit: cover; }
.article-body p { margin: 0 0 16px; color: #333; font-size: 16px; line-height: 1.65; }
.article .kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--blue); }

.ai-fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 80;
  width: 64px; height: 64px; border: 0; border-radius: 50%;
  padding: 0; cursor: pointer;
  background: #fff;
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
  overflow: hidden;
  animation: pulseGlow 3.8s ease-in-out infinite;
}
.ai-fab img { width: 100%; height: 100%; object-fit: cover; }
.ai-fab.open { box-shadow: 0 0 0 3px #2189ff; }
.ai-panel {
  position: fixed; right: 28px; bottom: 104px; z-index: 80;
  width: 400px; height: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.ai-panel[hidden] { display: none !important; }
.ai-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #000; color: #fff;
}
.ai-head img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.ai-head strong { display: block; font-size: 14px; }
.ai-head span { display: block; font-size: 11px; color: #bdbdbd; }
.ai-x {
  margin-left: auto; border: 0; background: transparent; color: #fff;
  font-size: 22px; cursor: pointer; line-height: 1;
}
.ai-log { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; background: #f7f7f7; }
.ai-row { display: flex; }
.ai-row.me { justify-content: flex-end; }
.ai-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13.5px; line-height: 1.45;
}
.ai-row.bot .ai-bubble { background: #fff; border: 1px solid var(--line); }
.ai-row.me .ai-bubble { background: #2189ff; color: #fff; }
.ai-bubble a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.ai-row.me .ai-bubble a { color: #fff; }
.ai-chips { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; padding: 8px 12px; border-top: 1px solid var(--line); }
.ai-chips button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 10px; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
form.ai-form { display: flex !important; gap: 8px; padding: 10px 12px 12px; align-items: center; }
.ai-form input { flex: 1; margin: 0; }
.ai-form .btn { flex: 0 0 auto; padding: 10px 16px; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 18px; }
}

@media (max-width: 900px) {
  html, body, #app {
    max-width: 100%;
    overflow-x: hidden;
  }
  .wrap { width: calc(100% - 24px); max-width: 100%; }
  .header {
    height: auto;
    min-height: 60px;
    overflow: visible;
    backdrop-filter: none;
    background: #fff;
  }
  .header-inner {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    height: 60px;
    gap: 8px;
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .nav-toggle { display: grid !important; flex: 0 0 44px; }
  .logo { min-width: 0; flex: 1; justify-content: flex-start; }
  .logo img { width: 28px; height: 28px; }
  .header-reserve {
    position: absolute;
    right: 12px;
    top: 10px;
    margin-left: 0;
    padding: 8px 14px;
    min-height: 40px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 5;
  }
  .header-inner { padding-right: 108px; }
  .header-inner > .nav {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    margin: 0;
    align-items: stretch;
    gap: 0;
    white-space: normal;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 6px 16px 18px;
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    z-index: 80;
    visibility: hidden;
    pointer-events: none;
  }
  .header.is-open .header-inner > .nav {
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    display: block;
    padding: 14px 6px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .logo { font-size: 13px; letter-spacing: 0.08em; }
  .logo span { display: none; }
  .logo div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  h1, h2, p { overflow-wrap: anywhere; }

  .kv { min-height: 72vh; }
  .kv-copy { padding: 56px 18px 48px; }
  .kv-copy h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .kv-copy .kicker {
    font-size: 12px;
    letter-spacing: 0.1em;
    white-space: normal;
    line-height: 1.45;
    padding: 0 8px;
  }
  .kv-copy p { font-size: 16px; padding: 0 4px; }
  .kv-actions { flex-direction: column; align-items: stretch; }
  .kv-actions .btn { width: 100%; min-height: 48px; }

  .band { padding: 16px 0; font-size: 15px; }
  .band-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section { padding: 44px 0; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .gal-masonry { columns: 1; }
  .gal-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { padding: 56px 12px 40px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 56px; transform: none; }
  .how-row,
  .why,
  .feature,
  .product,
  .stats,
  .steps,
  .foot-grid,
  .form-row,
  .form-row-3 { grid-template-columns: 1fr; }
  .feature { gap: 24px; }
  .product { gap: 24px; padding: 20px 0 48px; }
  .feature-media,
  .feature-media img,
  .feature-media video { min-height: 240px; }
  .page-hero { padding: 28px 0 8px; }
  .page-hero h1 { font-size: 1.75rem; line-height: 1.2; padding: 0 8px; }
  .page-hero p { max-width: 100%; padding: 0 8px; }
  .filters {
    justify-content: flex-start;
    flex-wrap: wrap !important;
    width: 100%;
  }
  .chip { padding: 10px 16px; font-size: 14px; min-height: 44px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .parents { grid-template-columns: 1fr 1fr; }
  .legal { flex-direction: column; }
  .btn { min-height: 44px; }

  .ai-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .ai-panel {
    right: 10px;
    left: 10px;
    bottom: 80px;
    width: auto;
    height: min(70dvh, 520px);
  }
  .life-orbs { display: none; }
  .card-media img, .card-media video, .kv-slides img, .gallery-main img, .feature-media img {
    animation: none !important;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-masonry { columns: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
