/* Shared pieces for the multi-page REVION site (home + service pages). */
.nav__links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #2FD08F; padding-bottom: 4px; }
.svc__grid--2 { grid-template-columns: 1fr 1fr; }
.svc--link { display: block; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.svc--link:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(15, 27, 43, 0.12); }
.svc--link .link { display: inline-block; margin-top: 20px; }
.price--single { max-width: 760px; }
.price__ask { margin-top: 14px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

/* ───────── home ───────── */
.home-hero { background: var(--navy); color: var(--light); padding: 104px 0 130px; position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; width: 1000px; height: 1000px; right: -320px; top: -420px; background: radial-gradient(circle, rgba(49, 133, 232, 0.32), rgba(49, 133, 232, 0) 65%); pointer-events: none; }
.home-hero::after { content: ""; position: absolute; width: 900px; height: 900px; left: -380px; bottom: -520px; background: radial-gradient(circle, rgba(30, 149, 107, 0.24), rgba(30, 149, 107, 0) 65%); pointer-events: none; }
.home-hero .eyebrow { color: #5AA7F5; }
.home-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.home-hero h1 { font-size: clamp(42px, 5.4vw, 72px); }
.home-hero h1 em { font-style: normal; color: #2FD08F; }
.stack { position: relative; height: 520px; }
.stack figure { position: absolute; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 247, 250, 0.14); }
.stack img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.stack .s1 { left: 0; top: 40px; width: 64%; height: 330px; transform: rotate(-3deg); }
.stack .s2 { right: 0; top: 0; width: 58%; height: 300px; transform: rotate(2.5deg); }
.stack .s3 { left: 18%; bottom: 0; width: 66%; height: 300px; transform: rotate(-0.5deg); z-index: 2; }
.stack figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 23, 40, 0.86); color: #fff; font-size: 13px; font-weight: 700; }

.offer { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 56px; border-radius: 28px; background: #fff; border: 1px solid var(--line); margin-top: 28px; }
.offer:first-of-type { margin-top: 56px; }
.offer--dark { background: var(--navy-2); color: var(--light); border-color: var(--navy-2); }
.offer--dark p, .offer--dark li { color: var(--muted-d) !important; }
.offer__media { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(15, 27, 43, 0.18); border: 1px solid var(--line); background: #fff; }
.offer__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.offer__num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue-ink); }
.offer--dark .offer__num { color: #5AA7F5; }
.offer h3 { margin-top: 14px; font-size: 34px; letter-spacing: -0.025em; }
.offer > div > p { margin-top: 14px; color: var(--muted); }
.offer ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.offer li::before { content: "✓"; color: var(--green-ink); font-weight: 800; margin-right: 10px; }
.offer--dark li::before { color: #2FD08F; }
.offer__foot { margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.offer__price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.offer__price small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.offer--dark .offer__price small { color: var(--muted-d); }
.offer .btn--ghost { color: inherit; }

.why__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { padding: 30px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.why b { display: block; font-size: 19px; }
.why span { display: block; margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ───────── sites page: landing mock ───────── */
.mock { margin-top: 48px; }
.lm { background: #F6F4EF; color: #1C1B18; font-size: 14px; }
.lm-nav { display: flex; align-items: center; gap: 24px; padding: 16px 28px; background: rgba(246, 244, 239, 0.96); border-bottom: 1px solid #E4E0D6; }
.lm-logo { font-weight: 800; letter-spacing: 0.16em; font-size: 15px; }
.lm-nav span { color: #5E5B52; font-size: 13px; }
.lm-nav .lm-cta { margin-left: auto; padding: 9px 18px; border-radius: 999px; background: #1E3D2B; color: #fff; font-weight: 700; font-size: 13px; }
.lm-hero { position: relative; height: 480px; overflow: hidden; }
.lm-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); transition: transform 6s ease; }
.lm-wrap:hover .lm-hero img { transform: scale(1); }
.lm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 16, 12, 0.7) 0%, rgba(18, 16, 12, 0.25) 50%, rgba(18, 16, 12, 0) 75%), linear-gradient(0deg, rgba(18, 16, 12, 0.55) 0%, rgba(18, 16, 12, 0) 35%); }
.lm-hero > div { position: absolute; left: 36px; bottom: 40px; z-index: 1; color: #fff; max-width: 440px; }
.lm-hero small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; }
.lm-hero h4 { margin-top: 10px; font-size: 38px; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.lm-hero .lm-btns { margin-top: 18px; display: flex; gap: 10px; }
.lm-hero .lm-btns span { padding: 10px 18px; border-radius: 999px; background: #fff; color: #1C1B18; font-weight: 700; font-size: 13px; }
.lm-hero .lm-btns span + span { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.lm-sec { padding: 28px; }
.lm-sec h5 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.lm-chips { display: flex; gap: 8px; margin-top: 12px; }
.lm-chips span { padding: 6px 14px; border-radius: 999px; border: 1px solid #CFCABD; font-size: 12px; font-weight: 600; }
.lm-chips .on { background: #1E3D2B; border-color: #1E3D2B; color: #fff; }
.lm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.lm-plan { background: #fff; border: 1px solid #E4E0D6; padding: 12px; }
.lm-plan img { width: 100%; height: 150px; object-fit: contain; }
.lm-plan b { display: block; margin-top: 8px; font-size: 14px; }
.lm-plan span { font-size: 12px; color: #6B6D61; }
.lm-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 14px; align-items: center; }
.lm-form span { padding: 12px 14px; background: #fff; border: 1px solid #DCD7CA; color: #8A877D; font-size: 13px; }
.lm-form b { padding: 12px 20px; border-radius: 999px; background: #1E3D2B; color: #fff; font-size: 13px; }
.lm-toast { position: absolute; right: 22px; bottom: 22px; width: 280px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); font-size: 13px; color: #1D2939; }
.lm-toast b { display: block; font-size: 13px; color: #157552; }
.lm-wrap { position: relative; }
.lm-hero > div { bottom: 92px; }
.lm-stats { position: absolute; left: 36px; right: 36px; bottom: 22px; z-index: 1; display: flex; gap: 36px; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.28); color: rgba(255, 255, 255, 0.8); font-size: 12px; }
.lm-stats b { display: block; color: #fff; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.lm-life { padding-bottom: 6px; }
.lm-gal { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 14px; }
.lm-gal figure { margin: 0; position: relative; height: 240px; overflow: hidden; }
.lm-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.lm-gal figure:hover img { transform: scale(1.05); }
.lm-gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(0deg, rgba(18, 16, 12, 0.7), rgba(18, 16, 12, 0)); color: #fff; font-size: 13px; }

/* ───────── analytics page: dashboard mock ───────── */
.db { background: #0F2036; color: #F5F7FA; font-size: 14px; }
.db-bar { display: flex; align-items: center; gap: 18px; padding: 14px 22px; border-bottom: 1px solid rgba(245, 247, 250, 0.08); }
.db-bar img { height: 20px; }
.db-bar b { font-size: 15px; }
.db-bar span { margin-left: auto; font-size: 12px; color: #A9BACB; }
.db-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; padding: 18px; }
.db-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.db-kpi { border-radius: 14px; background: #11233A; border: 1px solid rgba(245, 247, 250, 0.08); padding: 14px 16px; }
.db-kpi small { font-size: 12px; color: #A9BACB; }
.db-kpi b { display: block; margin-top: 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.db-kpi i { font-style: normal; font-size: 12px; font-weight: 700; color: #2FD08F; }
.db-h { margin: 16px 0 10px; display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; }
.db-h span { color: #A9BACB; font-weight: 600; font-size: 12px; }
.db-ev { position: relative; display: flex; gap: 12px; align-items: center; padding: 12px 14px 12px 18px; margin-bottom: 8px; border-radius: 12px; background: #11233A; border: 1px solid rgba(245, 247, 250, 0.08); overflow: hidden; }
.db-ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.db-ev small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); }
.db-ev b { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 700; }
.db-funnel { display: grid; gap: 8px; }
.db-step { display: grid; grid-template-columns: 96px 1fr 70px; gap: 10px; align-items: center; font-size: 12.5px; color: #C7D6E6; }
.db-step .tr { height: 14px; border-radius: 7px; background: rgba(245, 247, 250, 0.08); overflow: hidden; }
.db-step .tr i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, #3185E8, #2FD08F); }
.db-step b { text-align: right; color: #F5F7FA; }
.db-camp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.db-c { border-radius: 12px; background: #11233A; border: 1px solid rgba(245, 247, 250, 0.08); padding: 12px 14px; }
.db-c.best { border-color: #1E956B; }
.db-c b { font-size: 13.5px; }
.db-c small { display: block; margin-top: 2px; font-size: 11px; color: #A9BACB; }
.db-c div { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: #C7D6E6; }
.db-c div span:last-child { font-weight: 800; color: #F5F7FA; }
.db-c em { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; background: rgba(47, 208, 143, 0.15); color: #2FD08F; }
.db-c.bad em { background: rgba(240, 68, 56, 0.15); color: #FF8A80; }
.db-tg { margin-top: 10px; border-radius: 12px; background: #F5F7FA; color: #0B1728; padding: 12px 14px; }
.db-tg b { font-size: 13px; }
.db-tg span { display: block; margin-top: 4px; font-size: 12px; color: #4B5B70; }
.db-tg i { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: #157552; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }

@media (max-width: 1080px) {
  .home-hero__grid, .offer { grid-template-columns: 1fr; }
  .stack { height: 440px; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .svc__grid--2 { grid-template-columns: 1fr; }
  .db-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .offer { padding: 26px 20px; }
  .offer h3 { font-size: 26px; }
  .why__grid { grid-template-columns: 1fr; }
  .stack { height: 340px; }
  .stack .s1, .stack .s2, .stack .s3 { height: 200px; }
  .lm-hero { height: 360px; }
  .lm-hero > div { left: 18px; right: 18px; bottom: 80px; }
  .lm-stats { left: 18px; right: 18px; gap: 18px; }
  .lm-stats b { font-size: 16px; }
  .lm-gal { grid-template-columns: 1fr; }
  .lm-gal figure { height: 200px; }
  .lm-hero h4 { font-size: 26px; }
  .lm-plans { grid-template-columns: 1fr 1fr; }
  .lm-plans .lm-plan:nth-child(3) { display: none; }
  .lm-form { grid-template-columns: 1fr; }
  .lm-toast { position: static; width: auto; margin: 0 16px 16px; }
  .db-kpis { grid-template-columns: 1fr 1fr; }
  .db-camp { grid-template-columns: 1fr; }
}

@media (max-width: 640px) { .stack figcaption { display: none; } }

/* ───────── wow: scroll reveal ───────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── wow: live 3D house ───────── */
.live3d { background: var(--navy); color: var(--light); padding: 110px 0; position: relative; overflow: hidden; }
.live3d::before { content: ""; position: absolute; left: 50%; top: 40%; width: 1100px; height: 1100px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(49, 133, 232, 0.22), rgba(30, 149, 107, 0.08) 45%, rgba(30, 149, 107, 0) 70%); pointer-events: none; }
.live3d .eyebrow { color: #5AA7F5; }
.live3d h2 em { font-style: normal; color: #2FD08F; }
.live3d .sub { color: var(--muted-d); }
.live3d__frame { position: relative; margin-top: 44px; height: 620px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #DFE9F2, #F4F1EA); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 247, 250, 0.14); }
.live3d__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.live3d__hint { position: absolute; left: 20px; top: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(11, 23, 40, 0.86); color: #fff; font-size: 14px; font-weight: 700; pointer-events: none; }
.live3d__hint i { width: 10px; height: 10px; border-radius: 50%; background: #2FD08F; box-shadow: 0 0 0 0 rgba(47, 208, 143, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 208, 143, 0.6); } 70% { box-shadow: 0 0 0 12px rgba(47, 208, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 208, 143, 0); } }
.live3d__legend { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; pointer-events: none; }
.live3d__legend span { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #1D2939; font-size: 13px; font-weight: 700; }
.live3d__legend i { width: 10px; height: 10px; border-radius: 50%; }
.live3d__foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.live3d__foot small { color: var(--muted-d); font-size: 13px; }

/* ───────── wow: explainer in a phone ───────── */
.watch { background: var(--paper); }
.watch__grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 72px; align-items: center; }
.phone { justify-self: center; width: 320px; padding: 12px; border-radius: 48px; background: #05080D; box-shadow: 0 50px 110px rgba(15, 27, 43, 0.35), 0 0 0 2px rgba(15, 27, 43, 0.1); }
.phone video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 38px; background: #0B1728; object-fit: cover; }

@media (max-width: 1080px) { .watch__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px) {
  .live3d { padding: 76px 0; }
  .live3d__frame { height: 440px; }
  .live3d__legend { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
  .live3d__legend span { font-size: 11px; padding: 6px 10px; }
  .live3d__hint { left: 12px; top: 12px; font-size: 12px; }
  .phone { width: 270px; }
}
