:root {
  --navy: #0c1620;
  --navy-2: #13212e;
  --amber: #db9200;
  --amber-hover: #c38200;
  --cream: #f6f3ec;
  --gold: #a08851;
  --ink: #0c1620;
  --muted: #5b6470;
  --line: #e4ddd0;
  --radius: 14px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

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

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-ghost { border-color: rgba(246, 243, 236, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 22, 32, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(246, 243, 236, .08);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  color: rgba(246, 243, 236, .78);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
}
.nav a:hover { color: var(--cream); }

/* Hero */
.hero { background: var(--navy); color: var(--cream); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 620px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero .lead { color: rgba(246, 243, 236, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-visual {
  --sf: .74;
  --sb: .62;
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 470px;
  height: calc(812px * var(--sf) + 20px);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -10% 0 10%;
  background: radial-gradient(closest-side, rgba(219, 146, 0, .22), transparent);
  pointer-events: none;
}
.hero-visual .phone-front { --s: var(--sf); position: absolute; right: 0; top: 0; }
.hero-visual .phone-back { --s: var(--sb); position: absolute; left: 0; top: 13%; opacity: .92; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark .lead { color: rgba(246, 243, 236, .72); }
.section-head { max-width: 640px; margin-bottom: 48px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--navy);
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: none;
}
.steps li { border-top: 2px solid var(--navy); padding-top: 24px; }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--amber);
  margin-bottom: 12px;
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: .7em 1.2em;
  border-radius: 10px;
  background: var(--navy);
  color: var(--cream);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: .92rem;
}
.store small {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-inner .lead { margin-bottom: 0; }

/* App mockups — screens are laid out at the 375×812 size of the
   "Global Immo Service" mockups, then scaled with --s. */
.phone {
  --s: .6;
  position: relative;
  flex: none;
  margin: 0;
  width: calc(375px * var(--s) + 20px);
  height: calc(812px * var(--s) + 20px);
  padding: 10px;
  border-radius: calc(46px * var(--s) + 10px);
  background: #05090d;
  box-shadow: inset 0 0 0 1.5px #2b3946, 0 30px 60px -24px rgba(0, 0, 0, .55);
}
.phone::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(10px + 11px * var(--s));
  left: 50%;
  width: calc(118px * var(--s));
  height: calc(33px * var(--s));
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}
.screen {
  --bg: #f6f2eb;
  --card: #ece8e1;
  --line: #ded8cd;
  --tx: #0c1620;
  --mu: #6e7680;
  --nav: #0c1620;
  position: relative;
  width: 375px;
  height: 812px;
  padding: 0 20px;
  overflow: hidden;
  border-radius: 46px;
  transform: scale(var(--s));
  transform-origin: 0 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 14px/1.35 "DM Sans", system-ui, sans-serif;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}
.screen.t-dark { --bg: #0c1620; --card: #16222d; --line: #22313d; --tx: #f6f3ec; --mu: #8d97a2; --nav: #16222d; }
.screen p { margin: 0; }
.screen b { font-weight: 600; }
.screen .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.screen .grow { flex: 1; min-width: 0; }
.screen .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.screen .t-amber { --c: #db9200; }
.screen .t-red { --c: #e5484d; }
.screen .t-blue { --c: #3e7bfa; }
.screen .t-violet { --c: #7c6cf0; }
.screen .t-green { --c: #2fa66a; }

.sb { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 8px 14px 0; font-weight: 600; font-size: 16px; }
.sb-ic { display: flex; align-items: center; gap: 6px; }
.sb .ic { width: 17px; height: 12px; }
.sb .ic:nth-child(2) { width: 17px; height: 17px; stroke-width: 2.4; }
.sb .ic.batt { width: 26px; height: 13px; }
.home-ind { position: absolute; z-index: 1; bottom: 8px; left: 50%; width: 134px; height: 5px; border-radius: 3px; background: var(--tx); transform: translateX(-50%); }

.m-head { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; }
.m-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-title.xl { font-size: 26px; }
.m-sub { font-size: 12.5px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-h { margin: 18px 0 10px; font-size: 16px; font-weight: 600; }
.sq { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--card); color: var(--c, var(--tx)); flex: none; }
.sq[class*="t-"] { background: color-mix(in srgb, var(--c) 14%, transparent); }
.sq.sm { width: 30px; height: 30px; border-radius: 9px; }
.sq.sm .ic { width: 16px; height: 16px; }
.sq.xs { width: 26px; height: 26px; border-radius: 8px; }
.sq.xs .ic { width: 14px; height: 14px; }
.fab { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #db9200; color: #0c1620; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #db9200; color: #0c1620; font-weight: 600; font-size: 14px; flex: none; }
.avatar.a2 { background: #7c6cf0; color: #fff; }
.avatar.a3 { background: #3e7bfa; color: #fff; }
.avatar.a4 { background: #a08851; color: #fff; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 500; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.badge.solid { background: #db9200; color: #0c1620; }
.st { font-size: 11.5px; font-weight: 500; color: var(--c); }
.more { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; color: var(--mu); }
.more .ic { width: 13px; height: 13px; }
.chips { display: flex; gap: 8px; margin-bottom: 16px; }
.chip { padding: 6px 15px; border-radius: 999px; background: var(--card); font-size: 12.5px; color: var(--mu); }
.chip.on { background: #0c1620; color: #f6f3ec; }
.t-dark .chip.on { background: #db9200; color: #0c1620; }

.m-card { display: block; padding: 14px 16px; margin-bottom: 12px; border-radius: 16px; background: var(--card); }
.m-card small { display: block; font-size: 12px; color: var(--mu); }
.m-card .lg { display: block; font-size: 16px; margin: 10px 0 6px; }
.m-card p { font-size: 12.5px; color: var(--mu); }
.m-card .ref { font-size: 11.5px; color: var(--mu); }
.chev { width: 16px !important; height: 16px !important; color: var(--mu); }

/* Home */
.res-card { position: relative; height: 168px; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px rgba(219, 146, 0, .45); }
.res-card img { position: absolute; right: 0; top: -10px; width: 64%; height: 130%; object-fit: cover; object-position: 50% 20%; }
.res-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--card) 34%, color-mix(in srgb, var(--card) 40%, transparent) 70%, transparent); }
.res-body { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 14px 16px; }
.kicker { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); }
.kicker.ink { color: var(--tx); font-weight: 500; }
.res-body b { font-size: 16px; margin: 2px 0 8px; }
.loc { display: flex; align-items: center; gap: 5px; font-size: 12.5px; }
.loc .ic { width: 14px; height: 14px; color: #db9200; }
.apt { position: absolute; z-index: 1; top: 14px; right: 14px; padding: 4px 9px; border-radius: 7px; background: rgba(246, 243, 236, .92); color: #db9200; font-size: 11px; font-weight: 600; }
.res-stats { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 0; border-radius: 12px; background: color-mix(in srgb, var(--card) 86%, transparent); backdrop-filter: blur(6px); font-size: 15px; }
.res-stats div { padding: 0 14px; border-left: 1px solid var(--line); }
.res-stats div:first-child { border: 0; }
.res-stats small { display: block; font-size: 11px; color: var(--mu); }
.res-stats .ok { color: #2fa66a; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.duo .m-card { margin: 0; }
.duo .row { margin-bottom: 10px; }
.duo b { display: block; font-size: 17px; margin: 1px 0 2px; }
.duo em { font-style: normal; font-size: 11px; color: #e5484d; }
.qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qa span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 13px 0 11px; border-radius: 16px; background: var(--card); font-size: 12px; color: var(--mu); }
.qa .sq { font-style: normal; width: 34px; height: 34px; border-radius: 10px; }
.qa .sq .ic { width: 18px; height: 18px; }
.act { display: flex; align-items: center; gap: 10px; }
.act b { display: block; font-size: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; flex: none; }

/* Bottom navigation */
.screen:has(.m-nav)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(transparent, var(--bg) 55%); }
.m-nav { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 24px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 10px 4px 8px; border-radius: 30px; background: var(--nav); color: rgba(246, 243, 236, .78); font-size: 11px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.m-nav span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.m-nav .on { color: #db9200; }

/* Ticket list / detail */
.tk b { display: block; font-size: 15px; margin: 10px 0 4px; }
.tk p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tk .foot { margin-top: 10px; font-size: 11px; color: var(--mu); }
.kv { padding-top: 4px; padding-bottom: 4px; }
.kv div { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--mu); }
.kv div:first-child { border: 0; }
.kv b { color: var(--tx); font-size: 13.5px; }
.pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.tl { list-style: none; margin: 12px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.tl li { position: relative; display: flex; justify-content: space-between; padding-bottom: 10px; font-size: 13px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -22px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--mu); box-shadow: 0 0 0 3px var(--card); }
.tl li.now::before { background: #db9200; }
.tl small { font-size: 11.5px; color: var(--mu); }

/* Charges */
.due .lg { margin: 2px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; background: var(--bg); color: #db9200; font-size: 12px; }
.pill .dot { width: 6px; height: 6px; background: #db9200; }
.due hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.amount { margin: 2px 0 4px; font-size: 27px; font-weight: 700; color: #db9200; letter-spacing: -.01em; }
.m-h.row { font-size: 16px; }
.hide { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 400; color: var(--mu); }
.hide .ic { width: 13px; height: 13px; }
.lines { padding: 0; overflow: hidden; }
.lines div { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mu); }
.lines div:first-child { border: 0; }
.lines span::before { content: "•"; margin-right: 8px; color: var(--tx); }
.lines b { color: var(--tx); font-size: 14px; }
.lines .total { background: color-mix(in srgb, #db9200 16%, var(--card)); color: var(--tx); font-size: 14px; }
.lines .total span::before { content: none; }
.paid .row + .row { margin-top: 6px; }
.ck { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.ck .ic { width: 16px; height: 16px; padding: 3px; box-sizing: content-box; border-radius: 6px; color: #db9200; background: color-mix(in srgb, #db9200 14%, transparent); }

/* Notices */
.notice { position: relative; }
.notice.unread::before { content: ""; position: absolute; left: 7px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: #db9200; }
.notice small { font-size: 11px; }
.nt { display: flex; align-items: center; gap: 10px; margin: 10px 0 6px; }
.nt b { font-size: 15px; }
.notice .more { margin-top: 8px; display: flex; justify-content: flex-end; }

/* Household */
.mbr { display: flex; align-items: center; gap: 12px; }
.mbr b { display: block; font-size: 15px; }
.mbr em { display: block; font-style: normal; font-size: 12px; margin-top: 2px; color: var(--c, #db9200); }
.kebab { color: var(--mu); }
.note { margin: 6px 4px 0; font-size: 12px; color: var(--mu); }
.cta { position: absolute; left: 20px; right: 20px; bottom: 40px; display: grid; place-items: center; height: 52px; border-radius: 999px; background: #db9200; color: #0c1620; font-weight: 600; font-size: 15px; }

/* Showcase */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shot .phone { --s: .6; margin: 0 auto 28px; }
.shot > h3 { margin-bottom: .4em; }
.shot > p { color: rgba(246, 243, 236, .68); font-size: .95rem; margin: 0; }

/* Footer */
.site-footer { background: var(--navy-2); color: rgba(246, 243, 236, .6); font-size: .88rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.footer-inner img { height: 32px; width: auto; opacity: .85; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .shots {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -24px;
    padding: 0 24px 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(246, 243, 236, .25) transparent;
  }
  .shot { flex: none; width: calc(375px * .6 + 20px); scroll-snap-align: start; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-visual { --sf: .62; --sb: .52; justify-self: center; max-width: 400px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero-visual { --sf: .6; --sb: .48; max-width: 343px; }
  .shots { margin: 0 -16px; padding: 0 16px 16px; gap: 16px; }
  .grid { grid-template-columns: 1fr; }
  .brand img { height: 32px; }
  .btn-lg { width: 100%; white-space: normal; word-break: break-all; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(48px) scale(.97); } }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-visual .phone-back { animation: phone-in .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-visual .phone-front {
    animation: phone-in .9s .15s cubic-bezier(.2, .7, .2, 1) both, float 6s 1.2s ease-in-out infinite;
  }

  .card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .card:hover { transform: translateY(-4px); border-color: rgba(219, 146, 0, .45); box-shadow: 0 14px 30px -18px rgba(12, 22, 32, .35); }

  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
