/* =========================================================
   QR 스탬프 투어 — 랜딩페이지
   Design tokens are derived from the Figma frame "QR개발_랜딩페이지"
   ========================================================= */

:root {
  --primary: #0f766e;
  --primary-dark: #134e4a;
  --primary-soft: #76c8c1;
  --tint: #f5faf9;
  --tint-strong: #e7f3f0;

  --text: #333333;
  --muted: #778b89;
  --body: #5b5b5b;
  --sub: #8e8e8e;
  --placeholder: #cfd6d5;

  --footer-bg: #283c3b;
  --line: rgba(118, 200, 193, .5);

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --container: 1232px;
  --nav-h: 70px;

  --shadow-sm: 0 2px 10px rgba(15, 118, 110, .06);
  --shadow-md: 0 10px 30px rgba(15, 118, 110, .09);
  --shadow-lg: 0 20px 50px rgba(15, 118, 110, .12);

  --font-head: 'Plus Jakarta Sans', 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  --font-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- typography helpers ---------- */
.h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -0.9px;
  color: var(--text);
}
.accent { color: var(--primary); }
.eyebrow {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.2px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .ico { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #0c6259; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--primary-soft); }
.btn--ghost:hover { background: var(--tint); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .18); }
.btn--sm { height: 40px; padding: 0 20px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
.btn--lg .ico { width: 20px; height: 20px; }
.btn--block { width: 100%; border-radius: var(--radius-md); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.nav.is-stuck { box-shadow: 0 6px 24px rgba(15, 118, 110, .08); background: rgba(255, 255, 255, .96); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--primary);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text {
  font-family: var(--font-head);
  font-weight: 700; font-size: 18px; letter-spacing: -0.3px;
}

.nav__links { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.nav__links > a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s ease;
}
.nav__links > a:hover, .nav__links > a.is-active { color: var(--primary); }
.nav__cta { margin-left: 32px; }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav__toggle span {
  width: 18px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 1;
  min-height: 707px;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-block: 64px;
}
.hero__title {
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 54px;
  line-height: 1.18;
  letter-spacing: -1.35px;
}
.hero__desc { margin-top: 20px; font-size: 18px; line-height: 1.62; color: var(--muted); }
.hero__desc strong { color: var(--text); font-weight: 700; }

.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 15px;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 12px; font-weight: 600;
}

.hero__art { justify-self: end; width: 100%; max-width: 620px; }
.hero__svg { width: 100%; height: auto; }

.route-dash { stroke-dasharray: 2 12; animation: dash 22s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }

.float { animation: float 5.5s ease-in-out infinite; transform-origin: center; }
.float--b { animation-duration: 6.5s; animation-delay: -1.2s; }
.float--c { animation-duration: 7s; animation-delay: -2.4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.pin { animation: pinDrop 4s ease-in-out infinite; }
.pin--2 { animation-delay: -1.3s; }
.pin--3 { animation-delay: -2.6s; }
@keyframes pinDrop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- service value ---------- */
.value { padding-block: 112px 0; }
.value__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #fbfdfc 0%, #f2f8f6 48%, #e9f4f0 100%);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 584px) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 112px 120px;
}
.value__copy p { margin-top: 22px; color: var(--muted); line-height: 1.63; }
.value__copy p:first-of-type { margin-top: 24px; }
.value__copy strong { color: var(--text); font-weight: 700; }
.value__art { justify-self: end; width: 100%; max-width: 420px; }

/* ---------- features ---------- */
.features { padding-block: 112px 0; }
.features__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--tint);
}
.fcard {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fcard__art {
  position: absolute;
  right: -10px; bottom: -14px;
  width: 108px; height: 108px;
  color: var(--primary-soft);
  opacity: .22;
  pointer-events: none;
}
.fcard__art svg { width: 100%; height: 100%; }
.fcard h3 { font-size: 16px; font-weight: 800; line-height: 1.5; }
.fcard__lead { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--primary); }
.fcard__body {
  position: relative; z-index: 1;
  margin-top: 8px; max-width: 260px;
  font-size: 14px; line-height: 1.63; color: var(--muted);
}

/* ---------- why choose ---------- */
.why { padding-block: 112px 0; }
.why .section-head { margin-bottom: 0; }
.why__wave { margin-block: 24px 44px; }
.why__wave svg { width: 100%; height: 125px; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.wcard {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wcard__num {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 30px; font-weight: 800; line-height: 1;
}
.tag-outline {
  align-self: flex-start;
  margin-top: 18px;
  padding: 4px 10px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--primary);
  font-size: 12px; font-weight: 700; line-height: 1.34;
}
.wcard h3 { margin-top: 14px; font-size: 18px; font-weight: 700; line-height: 1.38; }
.wcard p { margin-top: 16px; font-size: 14px; line-height: 1.63; color: var(--muted); }
.link-more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 12px; font-weight: 700;
}
.link-more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.link-more:hover svg { transform: translateX(3px); }

/* ---------- case studies ---------- */
.cases { padding-block: 112px 0; }
.cases__panel {
  background: var(--tint);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  gap: 28px;
}
.case {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.case--reverse { grid-template-columns: minmax(0, 1fr) 400px; }
.case--reverse .case__media { order: 2; }
.case__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: #d9d9d9;
  position: relative;
}
.case__media::after {
  content: attr(data-img);
  position: absolute; inset: auto 0 16px;
  text-align: center;
  font-size: 12px; color: #8b8b8b;
}
.case__label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--primary-dark);
}
.case__body h3 { margin-top: 12px; font-size: 20px; font-weight: 700; line-height: 1.38; }
.case__desc { margin-top: 12px; font-size: 14px; line-height: 1.63; color: var(--muted); }

.tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 5px 13px;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-pill);
  background: rgba(118, 200, 193, .2);
  color: var(--primary-dark);
  font-size: 12px; font-weight: 500;
}

/* ---------- pricing ---------- */
.pricing { padding-block: 112px 0; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 435px));
  gap: 24px;
  justify-content: center;
}
.plan {
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-soft);
  background: #fff;
  padding: 33px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--custom {
  border-color: transparent;
  background: linear-gradient(135deg, #0f766e 0%, #14867d 45%, #2ba295 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.plan__badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(118, 200, 193, .2);
  color: var(--primary);
  font-size: 12px; font-weight: 700;
}
.plan__badge svg { width: 12px; height: 12px; }
.plan--custom .plan__badge { background: rgba(255, 255, 255, .2); color: #fff; }

.plan__sub { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.plan--custom .plan__sub { color: rgba(255, 255, 255, .7); }

.plan__price { margin-top: 8px; display: flex; align-items: baseline; gap: 4px; }
.plan__num { font-size: 36px; font-weight: 800; line-height: 1.11; letter-spacing: -0.5px; }
.plan__price em { font-style: normal; font-size: 18px; font-weight: 700; color: var(--muted); }

.plan__note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.plan--custom .plan__note { color: rgba(255, 255, 255, .8); }

.plan__list { margin-top: 28px; display: grid; gap: 12px; flex: 1; }
.plan__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500;
}
.plan__list li::before {
  content: '';
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(118, 200, 193, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' stroke='%230f766e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan--custom .plan__list li::before {
  background-color: rgba(255, 255, 255, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan .btn--block { margin-top: 28px; height: 52px; }

/* ---------- demo ---------- */
.demo { padding-block: 112px 0; }
.demo__inner {
  display: grid;
  grid-template-columns: minmax(0, 634px) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}
.demo__desc { margin-top: 18px; color: var(--muted); line-height: 1.63; }
.demo__desc + .demo__desc { margin-top: 8px; }
.demo__desc strong { color: var(--text); font-weight: 700; }

.demo__list { margin-top: 36px; display: grid; gap: 12px; }
.demo__list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600;
}
.demo__ico {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(118, 200, 193, .2);
  color: var(--primary);
}
.demo__ico svg { width: 16px; height: 16px; }
.demo .btn--lg { margin-top: 36px; }

.demo__phone { justify-self: center; }
.phone {
  position: relative;
  width: 260px; height: 540px;
  border-radius: 42px;
  background: #101828;
  padding: 3px;
  box-shadow: var(--shadow-lg);
}
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: var(--radius-pill);
  background: #101828; z-index: 2;
}
.phone__screen { width: 100%; height: 100%; border-radius: 40px; }

/* image placeholders */
.skeleton {
  position: relative;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%) 0 0 / 220% 100% no-repeat,
    #c4c4c4;
  animation: shimmer 2.6s ease-in-out infinite;
}
.skeleton::after {
  content: attr(data-img);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: rgba(0, 0, 0, .38);
}
@keyframes shimmer { 0% { background-position: 120% 0; } 100% { background-position: -60% 0; } }

/* ---------- admin ---------- */
.admin { padding-block: 112px 0; }
.admin__shot {
  aspect-ratio: 1232 / 792;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ---------- reviews ---------- */
.reviews { padding-block: 112px 0; }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.review {
  position: relative;
  background: #fff;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review__quote {
  position: absolute; top: 16px; right: 22px;
  font-family: var(--font-head);
  font-size: 56px; font-weight: 700; line-height: 1;
  color: var(--tint-strong);
  user-select: none;
}
.review__head { display: flex; align-items: center; gap: 20px; }
.review__avatar {
  flex: none;
  width: 75px; height: 75px; border-radius: 50%;
  background: #d9d9d9;
}
.review__name { font-size: 14px; font-weight: 600; }
.review__org { font-size: 14px; font-weight: 500; color: var(--sub); }
.review__body { margin-top: 24px; font-size: 14px; font-weight: 500; line-height: 1.63; color: var(--body); }

/* ---------- contact ---------- */
.contact { padding-block: 112px 0; }
.contact__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f7fcfb 0%, var(--tint) 55%, #e9f5f2 100%);
  padding: 102px 24px 100px;
}
.contact__deco { position: absolute; inset: 0; opacity: .75; pointer-events: none; }
.contact__deco svg { width: 100%; height: 100%; }

.contact__head { position: relative; text-align: center; margin-bottom: 40px; }
.contact__title {
  font-size: 36px; font-weight: 800; line-height: 1.25; letter-spacing: -0.9px;
  color: var(--primary);
}
.contact__head p { margin-top: 16px; font-size: 18px; line-height: 1.63; color: var(--muted); }

.form {
  position: relative;
  width: 100%;
  max-width: 584px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 33px;
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.form__row .field { margin-bottom: 0; }
.field label { display: block; margin-bottom: 8px; padding-left: 6px; font-size: 12px; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input { height: 50px; }
.field textarea { min-height: 121px; resize: vertical; line-height: 1.63; }
.field input::placeholder, .field textarea::placeholder { color: #cbc3ca; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #d9534f; }
.field__err { display: block; margin-top: 6px; padding-left: 6px; font-size: 12px; color: #d9534f; min-height: 0; }
.form__row + .field { margin-top: 16px; }

.consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px; padding: 16px;
  border-radius: var(--radius-md);
  background: var(--tint);
}
.consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--primary); }
.consent label { font-size: 12px; line-height: 1.63; color: var(--muted); }
.consent label a { color: var(--primary); font-weight: 600; }
.field__err--consent { margin-top: 8px; }
.form .btn--block { margin-top: 16px; height: 60px; }

.form__done {
  margin-top: 16px; padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(118, 200, 193, .18);
  color: var(--primary-dark);
  font-size: 14px; font-weight: 600; text-align: center;
}

/* ---------- footer ---------- */
.footer { margin-top: 112px; background: var(--footer-bg); padding-block: 24px; }
.footer__inner { display: grid; justify-items: center; text-align: center; padding-block: 18px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #f8fafc; }
.footer__mark { width: 32px; height: 32px; display: grid; place-items: center; }
.footer__mark svg { width: 16px; height: 16px; }
.footer__wordmark { font-size: 15px; font-weight: 600; letter-spacing: 2.34px; }
.footer__tagline { margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: -0.13px; color: var(--muted); }
.footer__divider { width: min(600px, 100%); height: 1px; margin-top: 18px; background: rgba(255, 255, 255, .18); }
.footer__meta { margin-top: 18px; font-size: 12px; line-height: 1.5; letter-spacing: .12px; color: var(--muted); }
.footer__meta a:hover { color: #f8fafc; }
.footer__copy { margin-top: 20px; font-size: 11px; letter-spacing: .22px; color: var(--muted); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .value__panel { padding: 72px 56px; }
  .hero__inner { min-height: 0; }
}

@media (max-width: 1024px) {
  .h2, .contact__title { font-size: 30px; }
  .hero__title { font-size: 44px; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-block: 56px; }
  .hero__art { justify-self: center; max-width: 520px; }

  .value { padding-top: 88px; }
  .value__panel { grid-template-columns: 1fr; gap: 48px; padding: 56px 40px; }
  .value__art { justify-self: center; }

  .features, .why, .cases, .pricing, .demo, .admin, .reviews, .contact { padding-top: 88px; }

  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .case, .case--reverse { grid-template-columns: 1fr; }
  .case--reverse .case__media { order: 0; }
  .case__media { max-width: 400px; }
  .cases__panel { padding: 32px; }

  .demo__inner { grid-template-columns: 1fr; gap: 48px; }
  .demo__phone { order: -1; }

  .contact__panel { padding: 64px 20px 72px; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links > a { padding: 12px 4px; font-size: 15px; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 12px; }
  .nav__toggle { display: flex; margin-left: auto; }

  .features__panel { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .fcard__body { max-width: none; }
  .pricing__grid { grid-template-columns: minmax(0, 435px); }
  .why__wave svg { height: 80px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .h2, .contact__title { font-size: 26px; }
  .hero__title { font-size: 34px; }
  .eyebrow { font-size: 15px; }
  .hero__desc, .contact__head p { font-size: 16px; }

  .section-head { margin-bottom: 36px; }
  .value__panel { padding: 40px 24px; }
  .features, .why, .cases, .pricing, .demo, .admin, .reviews, .contact { padding-top: 72px; }
  .footer { margin-top: 72px; }

  .why__grid, .reviews__grid { grid-template-columns: 1fr; }
  .cases__panel { padding: 20px; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 16px; }
  .form__row .field:first-child { margin-bottom: 0; }
  .plan { padding: 28px 24px; }
  .phone { width: 220px; height: 458px; }
  .review__avatar { width: 60px; height: 60px; }
  .btn { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
