:root {
  --blue: #275DF1;
  --blue-deep: #1B44B8;
  --cyan: #00D8FD;
  --ink: #0A1F5C;
  --text: #25304F;
  --muted: #566080;
  --white: #fff;
  --soft: #F2F5FD;
  --line: #D5DDF3;
  --green: #1FBF6B;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --shadow-card: 0 1px 2px rgba(10,31,92,.08), 0 12px 24px -8px rgba(10,31,92,.18), 0 40px 70px -30px rgba(10,31,92,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--white);
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.06; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(30px, 6.4vw, 46px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Header + animated logo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.top__actions { display: flex; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--soft); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .16s var(--ease), background-color .2s;
}
.chip--wa { background: var(--ink); color: var(--white); }
.chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--line); } .chip--wa:hover { background: #12307f; } }

.logo { position: relative; display: block; width: 88px; animation: logo-in .8s var(--ease) both; }
.logo img { width: 100%; height: auto; }
/* light sweep clipped to the logo's own shape, so the logo is never deformed */
.logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("img/mooveto-logo.svg") center / contain no-repeat; mask: url("img/mooveto-logo.svg") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%) 160% 0 / 250% 100% no-repeat;
  animation: logo-sweep 6.5s var(--ease) 1.4s infinite;
}
@keyframes logo-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes logo-sweep { 0% { background-position: 160% 0; } 22%, 100% { background-position: -60% 0; } }
@media (hover: hover) and (pointer: fine) { .logo { transition: transform .25s var(--ease); } .logo:hover { transform: translateX(4px); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  border: 0; border-radius: 14px; font: 800 18px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 22px -10px rgba(39,93,241,.8); }
.btn--cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(0,216,253,.75); }
.btn--light { background: var(--white); color: var(--blue-deep); box-shadow: 0 14px 30px -14px rgba(5,20,80,.6); }
.btn--ghost { background: var(--soft); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
  .btn--cyan:hover { background: #4DE6FF; transform: translateY(-1px); }
  .btn--light:hover { transform: translateY(-1px); }
  .btn--ghost:hover { background: var(--line); }
}

/* Hero */
.hero { background: var(--blue); color: var(--white); }
.hero__grid { display: grid; gap: 36px; padding-block: 36px 52px; }
.hero h1 { color: var(--white); font-size: clamp(40px, 11vw, 62px); font-weight: 900; line-height: .98; letter-spacing: -0.035em; }
.lead { font-size: 18px; margin-top: 16px; max-width: 32ch; color: rgba(255,255,255,.95); }

.rating {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 20px; padding: 8px 14px; border-radius: 14px;
  background: var(--white); color: var(--ink); font-size: 15px; text-decoration: none; box-shadow: 0 10px 24px -14px rgba(5,20,80,.7);
  transition: transform .16s var(--ease);
}
.rating:active { transform: scale(.98); }
.rating__stars { color: #F2A100; letter-spacing: 2px; font-size: 18px; }
.rating__live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #167A45; }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; display: inline-block; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(3); opacity: 0; } }

.hero__cta { margin-top: 22px; width: 100%; }
.cta-note { margin-top: 12px; font-size: 15px; text-align: center; color: rgba(255,255,255,.9); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-weight: 600; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230A1F5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Quote form card */
.hero__form { scroll-margin-top: 84px; }
.qf.is-called { animation: qf-called 1.8s var(--ease) both; }
@keyframes qf-called {
  0% { box-shadow: var(--shadow-card), 0 0 0 0 rgba(0,200,255,.0); transform: scale(1); }
  25% { box-shadow: var(--shadow-card), 0 0 0 6px var(--cyan), 0 0 40px 6px rgba(0,229,255,.55); transform: scale(1.015); }
  100% { box-shadow: var(--shadow-card), 0 0 0 0 rgba(0,200,255,0); transform: scale(1); }
}
.qf { background: var(--white); color: var(--text); border-radius: 22px; padding: 24px 20px 22px; box-shadow: var(--shadow-card); }
.qf__head h2 { font-size: 24px; letter-spacing: -0.02em; }
.qf__count { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.qf__bar { height: 6px; border-radius: 6px; background: var(--soft); margin-top: 10px; overflow: hidden; }
.qf__bar span { display: block; height: 100%; background: var(--blue); border-radius: 6px; transform-origin: left; transform: scaleX(.333); transition: transform .4s var(--ease); }
.qf__step { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; display: grid; gap: 14px; animation: step-in .32s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.qf__step legend { padding: 0; font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.field em, .sub em { font-weight: 500; color: var(--muted); font-style: normal; }
.field input {
  width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white);
  font: 500 16px var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #8E97B3; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(39,93,241,.16); }
.field.bad input { border-color: #D6334A; }
.err { display: none; color: #B3203A; font-size: 14px; font-weight: 600; }
.bad .err, .err.on { display: block; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; color: var(--ink); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); }
.sub { font-weight: 700; color: var(--ink); margin-top: 6px; }
.opts { display: grid; gap: 10px; }
.opts--row { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 14px; text-align: center; border: 2px solid var(--line); border-radius: 12px;
  font-weight: 700; color: var(--ink); background: var(--white); transition: border-color .2s, background-color .2s, transform .16s var(--ease);
}
.opts:not(.opts--row) .opt span { justify-content: flex-start; text-align: left; }
.opt input:checked + span { border-color: var(--blue); background: rgba(39,93,241,.08); }
.opt input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.opt:active span { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .opt:hover span { border-color: var(--blue); } }
.fine { font-size: 14px; color: var(--muted); }
.fine a { color: var(--blue); }
.qf__nav { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
.qf__nav .btn--ghost { order: 2; min-height: 48px; font-size: 16px; }
.qf__done { margin-top: 8px; padding: 8px 0; display: grid; gap: 10px; }
.qf__done:focus { outline: none; }
.alt { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: rgba(255,255,255,.92); }
.alt a { color: var(--white); font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }

/* Photo section */
.load { padding-block: 72px 56px; background: var(--white); }
.load h2 { max-width: 20ch; }
.load__grid { margin-top: 36px; display: grid; gap: 16px; }
.load figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.load figure img { width: 100%; height: 100%; object-fit: cover; }
.load figure:nth-child(1) img { object-position: 50% 62%; }
.load figure:nth-child(2) img { object-position: 50% 50%; }
.load figure:nth-child(3) img { object-position: 50% 58%; }
.load figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); background: var(--white); color: var(--ink); font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 10px; }
.load__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Steps */
.steps { padding-block: 56px 80px; }
.steps__grid { display: grid; gap: 32px; }
.steps__photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.steps__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.steps h2 { margin-bottom: 28px; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps__list li { background: var(--soft); border-radius: 18px; padding: 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
.num { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: 24px; }
.steps__list p { color: var(--muted); }
.steps__cta { margin-top: 24px; width: 100%; }

/* Included */
.included { padding-block: 72px; background: var(--ink); color: rgba(255,255,255,.88); }
.included h2 { color: var(--white); margin-bottom: 28px; }
.inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.inc li { background: rgba(255,255,255,.07); border-radius: 18px; padding: 20px 20px 20px 70px; position: relative; display: grid; gap: 4px; }
.inc li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230A1F5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.inc strong { color: var(--white); font-size: 19px; }

/* Services */
.services { padding-block: 72px; }
.services h2 { margin-bottom: 28px; }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc__list a {
  display: grid; gap: 4px; min-height: 80px; padding: 18px 56px 18px 20px; border: 2px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); position: relative; background: var(--white);
  transition: border-color .2s, transform .16s var(--ease), background-color .2s;
}
.svc__list a::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 3px solid var(--blue); border-top: 3px solid var(--blue); transform: rotate(45deg); transition: transform .2s var(--ease); }
.svc__list strong { font-size: 19px; }
.svc__list span { color: var(--muted); font-size: 15px; }
.svc__list a:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .svc__list a:hover { border-color: var(--blue); background: var(--soft); }
  .svc__list a:hover::after { transform: translateX(4px) rotate(45deg); }
}

/* FAQ */
.faq { padding-block: 72px; background: var(--soft); }
.faq__grid { display: grid; gap: 28px; }
.faq__intro p { margin-top: 14px; color: var(--muted); max-width: 30ch; }
.faq__list { display: grid; gap: 10px; align-content: start; }
details { background: var(--white); border-radius: 14px; box-shadow: 0 1px 2px rgba(10,31,92,.06), 0 6px 14px -8px rgba(10,31,92,.18); }
summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); position: relative; min-height: 56px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; color: var(--blue); transition: transform .2s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 20px 20px; color: var(--muted); }

/* Live chat slot */
.chat { padding-block: 72px; }
.chat__grid { display: grid; gap: 28px; align-items: center; }
.chat__copy p { margin-top: 14px; color: var(--muted); max-width: 32ch; }
.chat__box { border-radius: 22px; background: var(--white); box-shadow: var(--shadow-card); overflow: hidden; min-height: 320px; display: grid; grid-template-rows: auto 1fr auto; max-width: 520px; width: 100%; }
.chat__bar { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: var(--blue); color: var(--white); font-weight: 800; }
.chat__body { padding: 20px; display: grid; align-content: start; gap: 14px; background: var(--soft); }
.bubble { background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 16px 16px 16px 4px; max-width: 80%; box-shadow: 0 1px 2px rgba(10,31,92,.1); }
.chat__soon { font-size: 14px; color: var(--muted); }
.chat__input { padding: 14px 20px; background: var(--white); min-height: 56px; display: flex; align-items: center; box-shadow: 0 -1px 0 var(--line); }
.chat__input .btn { width: 100%; min-height: 52px; }
.chat__input .btn:disabled { opacity: .55; cursor: wait; box-shadow: none; }

/* Floating chat launcher with the Mooveto logo */
.chat-launch {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--blue), 0 14px 28px -8px rgba(10,31,92,.55);
  animation: launch-in .5s var(--ease) 1.2s both;
  transition: transform .18s var(--ease), opacity .2s;
}
.chat-launch img { width: 46px; height: auto; transition: opacity .15s, transform .25s var(--ease); }
.chat-launch .dot { position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; box-shadow: 0 0 0 3px var(--white); }
.chat-launch.is-open { opacity: 0; transform: scale(.6); pointer-events: none; }
.chat-launch:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .chat-launch:hover { transform: scale(1.06); } }
@keyframes launch-in { from { opacity: 0; transform: scale(.6) translateY(12px); } to { opacity: 1; transform: none; } }

/* Final */
.final { background: var(--blue); color: var(--white); padding-block: 80px; text-align: center; }
.final__in { display: grid; gap: 18px; justify-items: center; }
.final h2 { color: var(--white); font-size: clamp(36px, 9vw, 64px); font-weight: 900; line-height: 1; }
.final p { max-width: 36ch; }
.final .btn { margin-top: 8px; width: 100%; max-width: 360px; }
.final__alt, .final__contact { font-size: 16px; }
.final a:not(.btn) { color: var(--white); font-weight: 700; text-decoration-color: var(--cyan); text-underline-offset: 4px; text-decoration-thickness: 2px; white-space: nowrap; }

/* Footer */
.foot { padding-block: 40px; }
.foot__in { display: grid; gap: 10px; justify-items: start; font-size: 15px; }
.foot__in img { width: 80px; }
.foot__small { color: var(--muted); }
.foot__links a { color: var(--ink); }

/* Legal pages */
.doc { padding-block: 40px 72px; max-width: 760px; }
.doc h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.doc h2 { font-size: 22px; margin-top: 32px; letter-spacing: -0.01em; }
.doc p, .doc li { margin-top: 10px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--blue); }
.doc .meta { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Sticky mobile CTA (right side left free for the chat bubble) */
.sticky-cta {
  position: fixed; left: 12px; right: 84px; bottom: 12px; z-index: 30; min-height: 56px; display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); border-radius: 14px; font-weight: 800; font-size: 17px; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(10,31,92,.6); transform: translateY(140%); opacity: 0;
  transition: transform .35s var(--ease), opacity .25s;
}
.sticky-cta.is-on { transform: none; opacity: 1; }
.sticky-cta:active { transform: scale(.97); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (min-width: 640px) {
  .hero__cta { display: flex; width: fit-content; }
  .rating { display: flex; width: fit-content; }
  .cta-note { text-align: left; }
  .opts:not(.opts--row) { grid-template-columns: 1fr 1fr; }
  .qf__nav { display: flex; }
  .qf__nav .btn--primary { flex: 1; }
  .qf__nav .btn--ghost { order: 0; min-height: 56px; }
  .load__grid { grid-template-columns: repeat(3, 1fr); }
  .load figure { aspect-ratio: 3 / 4; }
  .inc { grid-template-columns: 1fr 1fr; }
  .svc__list { grid-template-columns: 1fr 1fr; }
  .steps__cta { width: auto; }
  .sticky-cta { right: 12px; left: auto; width: 320px; }
}

/* Desktop */
@media (min-width: 960px) {
  body { padding-bottom: 0; font-size: 17px; }
  html { scroll-padding-top: 90px; }
  .wrap { padding-inline: 32px; }
  .logo { width: 92px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding-block: 44px 56px; }
  .qf__step { margin-top: 16px; gap: 12px; }
  .qf__step legend { font-size: 18px; margin-bottom: 8px; }
  .qf__head h2 { font-size: 22px; }
  .qf { padding: 24px 26px 22px; }
  .alt { color: rgba(255,255,255,.92); }
  .load { padding-block: 96px 64px; }
  .load figure { aspect-ratio: 4 / 5; }
  .load__grid { gap: 24px; }
  .load__grid figure:nth-child(2) { margin-top: 48px; }
  .steps { padding-block: 64px 96px; }
  .steps__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
  .steps__photo { aspect-ratio: 4 / 5; }
  .included, .services, .faq, .chat { padding-block: 88px; }
  .inc { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .inc li { padding: 78px 24px 24px; }
  .inc li::before { left: 24px; top: 24px; }
  .svc__list { grid-template-columns: repeat(4, 1fr); }
  .svc__list a { min-height: 136px; align-content: end; padding: 20px 20px 54px; }
  .svc__list a::after { right: 22px; top: auto; bottom: 24px; margin-top: 0; }
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .chat__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .chat__box { justify-self: end; }
  .final { padding-block: 96px; }
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .logo, .chat-launch { animation: none; }
  .logo::after, .dot::after { animation: none; }
  .logo::after { display: none; }
  .qf__step { animation: none; }
  .qf.is-called { animation: none; box-shadow: var(--shadow-card), 0 0 0 4px var(--cyan); }
  .sticky-cta, .btn, .svc__list a, summary::after, .qf__bar span { transition: none; }
}
