*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #e6292e;
  --orange: #f15927;
  --yellow: #ffc400;
  --cream: #fff5f2;
  --ink: #0b0b0b;
  --charcoal: #171717;
  --muted: #686868;
  --line: rgba(15,15,15,0.12);
  --white: #fff;
}

html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  pointer-events: none;
  padding: 8px 18px 0;
}

.nav-pill-wrap {
  pointer-events: auto;
  max-width: 1600px;
  margin: 0 auto;
  transition: all 0.55s ease;
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  background: rgba(3,3,3,0.76);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.55s ease;
}

#navbar.scrolled .nav-pill-wrap { margin-top: 4px; max-width: 1380px; }
#navbar.scrolled .nav-inner {
  height: 58px;
  background: rgba(0,0,0,0.96);
  box-shadow: 0 20px 60px rgba(0,0,0,0.24);
}

.nav-logo img { height: 42px; width: auto; }
#navbar.scrolled .nav-logo img { height: 36px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  position: relative;
  height: 38px;
  min-width: 68px;
  white-space: nowrap;
  padding: 0 14px;
  overflow: hidden;
  display: inline-block;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links a span {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.26s ease;
}

.nav-links a span:nth-child(2) { top: 38px; }

.nav-links a:hover span { transform: translateY(-38px); color: var(--yellow); }
.nav-links a[data-nav="ar"] { min-width: 172px; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.language-select {
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-weight: 900;
  padding: 0 10px;
  cursor: pointer;
}

.language-select option { color: var(--ink); }
.nav-cta {
  height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-hamburger {
  display: none;
  color: var(--white);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-mobile-menu {
  display: none;
  pointer-events: auto;
  margin: 8px 18px 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(0,0,0,0.96);
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile-menu.open { display: grid; }
.nav-mobile-menu a {
  padding: 12px;
  border-radius: 12px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

#hero {
  min-height: 100vh;
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8dfd1;
  user-select: none;
}

.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-image-layer {
  position: relative;
  z-index: 0;
  width: 100%;
  display: block;
  background: #e8dfd1;
}
.hero-bg-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.hero-slide {
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 0; }
.hero-overlay {
  background: linear-gradient(180deg, rgba(232,223,209,0.02) 0%, rgba(232,223,209,0.05) 78%, rgba(232,223,209,0.18) 100%);
  z-index: 1;
  pointer-events: none;
}

#hero::after {
  display: none;
}

#icon-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.drag-icon {
  position: absolute;
  pointer-events: all;
  cursor: grab;
  will-change: transform, left, top;
  transform-origin: center;
  touch-action: none;
}

.drag-icon img {
  width: 100%;
  pointer-events: none;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.55));
}

.drag-icon.is-grabbed {
  cursor: grabbing;
  z-index: 9999 !important;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.55));
}

.drag-icon.is-idle {
  animation: float var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--dly, 0s);
}

@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -16px; }
}

.hero-content {
  display: none;
  position: relative;
  z-index: 3;
  width: min(920px, calc(100vw - 40px));
  text-align: center;
  padding: 108px 0 60px;
  pointer-events: none;
}

.hero-logo {
  width: min(190px, 42vw);
  margin: 0 auto 26px;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(62,22,0,0.18);
}

.hero-kicker, .eyebrow {
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-headline {
  margin: 14px auto 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.93;
  text-transform: uppercase;
  font-weight: 900;
  color: #19130c;
}

.hero-headline em { color: #e86b00; font-style: normal; }
.hero-sub {
  max-width: 680px;
  margin: 0 auto 34px;
  color: #4b3622;
  line-height: 1.75;
  font-size: 1.08rem;
  font-weight: 700;
}

.hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; pointer-events: auto; }
.btn-primary, .btn-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-secondary { border-color: rgba(25,19,12,0.28); color: #19130c; background: rgba(255,255,255,0.32); }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }

.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 34px; pointer-events: auto; }
.hero-dot {
  width: 10px; height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(25,19,12,0.24);
}
.hero-dot.active { background: var(--yellow); transform: scale(1.18); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6vh, 70px);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #4b3320;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: scroll-bounce 1.8s ease-in-out infinite;
  text-shadow: 0 3px 18px rgba(255,255,255,0.9);
}

.scroll-cue svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 0 0 1px rgba(84,58,31,0.12), 0 0 28px rgba(209,177,122,0.66);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -9px); }
}

.story-section {
  position: relative;
  min-height: 102vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(340px, 0.85fr);
  column-gap: clamp(28px, 5vw, 92px);
  align-items: center;
  background: #e8dfd1;
  margin-top: 0;
  padding-top: 0;
}

.story-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.36) 55%, rgba(0,0,0,0.72));
}

.story-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: clamp(24px, 8vw, 130px);
  padding: 120px 24px;
}

.story-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  margin: 16px 0 26px;
}

.story-content p:not(.eyebrow) {
  color: rgba(255,255,255,0.86);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-top: 16px;
}
.story-content p:empty { display: none; }

.story-proof-carousel {
  position: relative;
  z-index: 2;
  width: min(620px, 40vw);
  min-height: 460px;
  margin-right: clamp(24px, 7vw, 112px);
  display: block;
  perspective: 900px;
}

.proof-orbit {
  display: none;
}

.story-proof {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: grid;
  grid-template-columns: minmax(98px, 0.22fr) 1fr;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  min-height: 136px;
  padding: clamp(22px, 3vw, 34px);
  border-left: 5px solid rgba(255,196,0,0.72);
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035));
  box-shadow: 0 26px 80px rgba(0,0,0,0.30);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateY(0) rotateX(34deg) scale(0.76);
  transform-origin: center center;
  transition: opacity .65s ease, transform .65s ease, border-color .65s ease, background .65s ease, filter .65s ease;
}

.story-proof span {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  line-height: 0.9;
  color: var(--yellow);
  text-shadow: 0 12px 34px rgba(255,196,0,0.22);
  white-space: nowrap;
}

.story-proof strong {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2vw, 2.45rem);
  line-height: 1.05;
  max-width: 430px;
}

.story-proof.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateY(0) rotateX(0deg) scale(1);
  border-color: rgba(255,196,0,0.55);
  background: linear-gradient(135deg, rgba(255,196,0,0.13), rgba(232,49,72,0.10)), rgba(10,10,10,0.34);
  filter: blur(0);
}

.story-proof.is-prev {
  opacity: 0.58;
  transform: translateY(-50%) translateY(-150px) rotateX(-22deg) scale(0.84);
  filter: blur(0.2px);
}

.story-proof.is-next {
  opacity: 0.58;
  transform: translateY(-50%) translateY(150px) rotateX(22deg) scale(0.84);
  filter: blur(0.2px);
}

.section-light, .section-dark, .blog-section, .faq-section, .powered-section, .contact-section, .client-flow-section, .future-section, .stats-section, .map-section, .legal-section, .menu-demo-section, .qr-use-section {
  padding: 104px 24px;
}

.section-light { background: var(--white); color: var(--ink); }
.section-dark { background: var(--charcoal); color: var(--white); }
.blog-section { background: #fffaf8; color: var(--ink); }
.faq-section { background: #fff; color: var(--ink); }
.powered-section { background: #111; color: var(--white); }
.client-flow-section { background: #fff8ee; color: var(--ink); }
.future-section { background: #12100d; color: var(--white); }
.stats-section { background: #151515; color: var(--white); }
.menu-demo-section { background: #f7f3ea; color: var(--ink); }
.qr-use-section { background: #111; color: var(--white); }
.map-section { background: #f6f2e9; color: var(--ink); padding-left: 0; padding-right: 0; }
.contact-section { background: var(--cream); color: #4a1111; }
.legal-section { background: #fffaf3; color: var(--ink); }

.video-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.client-steps {
  margin: 42px auto 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}

.client-steps article {
  min-height: 150px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15,15,15,0.10);
  box-shadow: 0 18px 42px rgba(96,60,22,0.09);
}

.client-steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 14px;
}

.client-steps strong {
  display: block;
  font-size: 1rem;
  color: #1b130c;
}

.client-steps p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.client-steps i {
  align-self: center;
  color: #e83148;
  font-size: 1.55rem;
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(232,49,72,0.28);
}
.video-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15,15,15,0.10);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(90,45,0,0.10);
}
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  background: #111;
}
.video-toggle {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}
.video-card h3 {
  padding: 20px 20px 8px;
  font-size: 1.12rem;
}
.video-card p {
  padding: 0 20px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.future-panel {
  max-width: 1000px;
  border-left: 8px solid var(--yellow);
  padding-left: clamp(26px, 4vw, 56px);
  padding-top: 24px;
  padding-bottom: 24px;
}
.future-panel .section-heading { text-align: left; max-width: 900px; margin-left: 0; }
.future-panel p:not(.eyebrow) {
  max-width: 840px;
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  font-size: 1.12rem;
}

.stats-section .section-inner {
  max-width: 1720px;
}

.stats-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.54fr) minmax(820px, 1.78fr);
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.stats-section .copy-stack p:not(.eyebrow) {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.stats-glow {
  position: relative;
  display: inline;
  background: rgba(255,196,0,0.08);
  color: #fff;
  font-weight: 900;
  padding: 0.08em 0.18em 0.12em;
  border-radius: 0.28em;
  text-shadow: 0 0 16px rgba(255,196,0,0.34);
  box-shadow: 0 0 0 1px rgba(255,196,0,0.16), 0 0 30px rgba(255,145,0,0.22);
}

.sales-underline {
  position: relative;
  display: inline;
  padding: 0 0.12em 0.06em;
  background-image: linear-gradient(100deg, rgba(255,212,64,0.0) 2%, rgba(255,196,0,0.58) 13%, rgba(255,132,0,0.58) 86%, rgba(255,212,64,0.0) 98%);
  background-repeat: no-repeat;
  background-size: 100% 0.48em;
  background-position: 0 86%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: 0 0 18px rgba(255,167,0,0.48);
}

.sales-chart {
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: clamp(16px, 3vw, 34px);
  padding: 40px 18px 18px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(255,83,104,0.12), transparent 36%), #121212;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 70px rgba(0,0,0,0.28);
}

.stat-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: rgba(255,255,255,0.62);
}

.stat-meter {
  position: relative;
  width: 72px;
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.stat-baseline {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 46%;
  background: rgba(255,255,255,0.28);
}

.stat-fill {
  width: 5px;
  height: var(--bar);
  background: #ff5368;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.15s cubic-bezier(.18,.82,.22,1);
  box-shadow: 0 0 26px rgba(255,83,104,0.35);
  z-index: 1;
}

.stats-section.stats-loaded .stat-fill { transform: scaleY(1); }
.stat-card strong { color: #fff; font-size: 1rem; }
.stat-card span { max-width: 170px; line-height: 1.45; font-size: 0.88rem; }
.stat-card.featured strong { color: #ffd39b; }

.sales-chart-image {
  min-height: auto;
  display: block;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #080808;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 110px rgba(0,0,0,0.48), 0 0 90px rgba(255,83,104,0.20);
}

.sales-chart-image img {
  display: block;
  width: 108%;
  max-width: none;
  margin-left: -4%;
  height: auto;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 0 24px rgba(255,83,104,0.11));
}

.demo-grid, .qr-use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.demo-note {
  max-width: 900px;
  margin: 22px auto 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(25,19,12,0.06);
  color: #5b4b36;
  text-align: center;
  line-height: 1.65;
  font-weight: 800;
}
.demo-card, .qr-use-grid figure {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,15,15,0.10);
  box-shadow: 0 18px 45px rgba(58,45,20,0.10);
}
.demo-frame {
  height: 720px;
  background: #111;
  overflow: auto;
}
.demo-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.demo-card h3, .demo-card p { padding-left: 22px; padding-right: 22px; }
.demo-card h3 { padding-top: 22px; font-size: 1.25rem; }
.demo-card h3 a {
  color: #111;
  text-decoration: none;
  border-bottom: 3px solid rgba(232,49,72,0.35);
  transition: color .2s ease, border-color .2s ease;
}
.demo-card h3 a:hover {
  color: #e83148;
  border-color: #e83148;
}
.demo-card p { padding-top: 10px; padding-bottom: 24px; color: var(--muted); line-height: 1.7; }
.qr-use-grid { grid-template-columns: repeat(4, 1fr); }
.qr-use-grid figure { background: #1c1c1c; border-color: rgba(255,255,255,0.10); }
.qr-use-grid img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.qr-use-grid figcaption {
  padding: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  font-size: 0.92rem;
}

.map-copy { padding-left: 24px; padding-right: 24px; }
.map-title-special {
  position: relative;
  max-width: 1120px;
  text-transform: none;
  letter-spacing: 0;
  color: #20140c;
  display: block;
  line-height: 1.08;
  text-align: center;
}
.map-title-special::before {
  content: "";
  display: block;
  width: 74px;
  height: 6px;
  border-radius: 999px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, #e83148, #ffc400);
  box-shadow: 0 12px 28px rgba(232,49,72,0.18);
}
.map-word-big {
  display: inline-block;
  font-size: 1.14em;
  color: #f2b600;
  text-shadow: 0 10px 26px rgba(242,182,0,0.22);
}
.map-word-accent {
  display: inline-block;
  color: #e6292e;
  font-size: 1.05em;
  text-shadow: 0 10px 26px rgba(230,41,46,0.18);
}
.map-word-soft {
  display: inline-block;
  color: #f2b600;
  font-size: 0.92em;
  text-shadow: 0 10px 26px rgba(242,182,0,0.18);
}
.map-shell {
  position: relative;
  margin-top: 42px;
  height: 500px;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #ede7da;
}
.magic-map {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.map-token-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background: #efe8d8;
  color: #2b251b;
}
.map-token-error strong { font-size: 1.35rem; }
.maplibregl-popup-content { font: 700 14px Inter, system-ui, sans-serif; }
.maplibregl-ctrl-logo, .maplibregl-ctrl-attrib { font-size: 10px; }

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  background: rgba(0,0,0,0.66);
  padding: 24px;
  overflow: auto;
}
.legal-modal.open { display: block; }
.legal-modal-panel {
  max-width: 980px;
  margin: 40px auto;
  border-radius: 14px;
  background: #fffaf3;
  color: var(--ink);
  box-shadow: 0 24px 90px rgba(0,0,0,0.35);
  overflow: hidden;
}
.legal-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(15,15,15,0.10);
}
.legal-close {
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  width: 38px;
  height: 38px;
  font-weight: 900;
  cursor: pointer;
}
.legal-docs {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.legal-doc {
  border: 1px solid rgba(15,15,15,0.12);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.legal-doc summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 900;
  color: #4a1111;
}
.legal-body {
  padding: 0 24px 28px;
  color: #3a2b21;
  line-height: 1.75;
}
.legal-body h3 { margin: 26px 0 10px; color: #111; }
.legal-body p { margin: 10px 0; }
.legal-body ul { padding-left: 20px; margin: 10px 0; }
.legal-body li { margin: 6px 0; }

.legal-plain {
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: anywhere;
  font: 500 1rem/1.85 Inter, system-ui, sans-serif;
  color: #2f241c;
  margin: 0;
}

.legal-page {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: none;
  overflow: auto;
  background: #fffaf3;
  color: var(--ink);
}

.legal-page.open { display: block; }

.legal-page-inner {
  width: min(980px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(15,15,15,0.14);
  border-radius: 999px;
  background: #fff;
  color: #23180f;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(58,45,20,0.08);
}

.legal-page article {
  margin-top: 30px;
  padding: clamp(24px, 5vw, 52px);
  background: #fff;
  border: 1px solid rgba(15,15,15,0.10);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(58,45,20,0.08);
}

.legal-page h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 14px;
  color: #3a1a11;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.955);
  filter: blur(5px);
  transition: opacity 0.78s ease, transform 0.78s cubic-bezier(.18,.82,.22,1.18), filter 0.78s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.section-inner { max-width: 1180px; margin: 0 auto; }
.section-heading {
  max-width: 920px;
  margin: 12px auto 18px;
  text-align: center;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
}
.section-heading.left { text-align: left; margin-left: 0; }
.section-sub {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--muted);
  line-height: 1.75;
}

.marker-orange {
  position: relative;
  display: inline;
  background: transparent;
  color: inherit;
  padding: 0 0.05em;
  z-index: 0;
}

.marker-orange::after {
  display: none;
}

#problema .problem-sub-callout {
  max-width: 860px;
  margin-bottom: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-weight: 800;
}

#problema .problem-sub-callout strong {
  color: #e6292e;
  letter-spacing: 0.03em;
}

.problem-grid, .blog-lead {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-card, .blog-lead > div, .sales-card {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  box-shadow: 0 16px 42px rgba(0,0,0,0.06);
}

.problem-card h3, .blog-lead strong {
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 1rem;
}
.problem-card p, .blog-lead p, .copy-stack p, .blog-card p, .faq-answer {
  color: var(--muted);
  line-height: 1.72;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: center;
}
.split-grid.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }

.section-dark .copy-stack p { color: rgba(255,255,255,0.72); }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255,196,0,0.14);
}

.ar-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phone-shot, .qr-panel, .viewer-card {
  overflow: hidden;
  border-radius: 10px;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.phone-shot img { width: 100%; height: 430px; object-fit: contain; object-position: center; background: #050505; }
.phone-shot figcaption { padding: 15px 16px; color: rgba(255,255,255,0.68); font-size: 0.9rem; line-height: 1.55; }
.qr-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px;
  background: var(--white);
  color: var(--ink);
}
.qr-panel img { width: 145px; border: 1px solid var(--line); }
.qr-panel h3 { text-transform: uppercase; margin-bottom: 8px; }
.qr-panel p { color: var(--muted); line-height: 1.6; }

.viewer-section { background: #f8f8f4; }
.viewer-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.viewer-card { position: relative; background: var(--white); border-color: var(--line); }
model-viewer { width: 100%; height: 420px; display: block; background: #fff; --poster-color: #fff; }
.viewer-fallback {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 260px;
  padding: 24px;
  text-align: center;
  color: var(--ink);
  background: radial-gradient(circle at 50% 40%, #fff, #f0e6d6);
}
body.model-viewer-ready .viewer-fallback { display: none; }
.viewer-footer { padding: 18px 22px 22px; border-top: 1px solid var(--line); color: var(--ink); }
.viewer-footer h3 { margin-bottom: 5px; }
.viewer-footer p { color: var(--muted); }
.progress-bar {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 42%; height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.12);
  overflow: hidden;
}
.progress-bar.hide { display: none; }
.update-bar { width: 0; height: 100%; background: var(--yellow); transition: width 0.2s; }
.quote-box {
  margin-top: 24px;
  padding: 24px;
  border-radius: 10px;
  background: #0d0d0d;
  color: #fff;
  border-left: 5px solid var(--yellow);
}
.quote-box span { display: block; color: rgba(255,255,255,0.68); margin-top: 8px; }
.quote-box span:empty { display: none; }

.blog-lead { margin: 42px 0 26px; }
.blog-lead > div { background: var(--ink); color: var(--white); border-color: transparent; }
.blog-lead p { color: rgba(255,255,255,0.72); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
  border: 1px solid #f0d4cf;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(76,20,16,0.08);
}
.blog-card.featured { grid-column: span 2; }
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-body { padding: 24px; display: grid; gap: 12px; }
.blog-meta { color: var(--red); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card h3 { font-size: 1.28rem; line-height: 1.15; }
.blog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.blog-actions a, .blog-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.blog-actions .toggle-post {
  background: linear-gradient(135deg, #ffc400, #f15927);
  color: #140b05;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(241,89,39,0.22);
}
.blog-subtitle {
  margin-top: -4px;
  margin-bottom: 38px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  color: #8a3029;
}
.blog-full { display: none; border-top: 1px solid var(--line); padding-top: 14px; }
.blog-card.open .blog-full { display: grid; gap: 10px; }

.faq-list { display: grid; gap: 12px; max-width: 980px; margin: 42px auto 0; }
.faq-item {
  border: 1px solid #f1d0cb;
  border-radius: 10px;
  background: #fffaf8;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: #4a1111;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}
.faq-question span:first-child { color: var(--red); font-family: "Playfair Display", serif; font-size: 1.4rem; }
.faq-answer { display: none; padding: 0 22px 22px 70px; }
.faq-item.open .faq-answer { display: block; }

.powered-section .section-heading { max-width: 760px; }
.powered-sub {
  color: rgba(255,255,255,0.72);
}

.tech-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px auto 28px;
}

.tech-filter {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tech-filter:hover, .tech-filter.active {
  transform: translateY(-2px);
  background: #fff;
  color: #111;
}

.tech-logo-grid, .partner-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.tech-logo-grid { margin-top: 0; }

.tech-logo-card {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 18px 10px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 46px rgba(0,0,0,0.24);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tech-logo-card.is-hidden {
  display: none;
}

.logo-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 1000;
  color: #fff;
  letter-spacing: 0;
  font-size: 1rem;
}

.tech-logo-card strong {
  font-size: 0.92rem;
  text-align: center;
}

.tech-logo-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.10));
}

.tech-logo-card img.wide-logo {
  width: 104px;
  height: 58px;
  object-fit: contain;
}

.swift { background: linear-gradient(135deg, #ff7a45, #ef233c); }
.android { background: #8bcf00; }
.ios { background: #050505; }
.xamarin { background: #169ddb; }
.unity { background: #111; }
.react { background: #101827; color: #61dafb; font-size: 1.55rem; }
.maya { background: linear-gradient(135deg, #0f766e, #67e8f9); }
.docker { background: #0ea5e9; }
.blender { background: #f97316; }
.autodesk { background: #1f9bb4; }
.usdz { background: #111827; }
.arkit { background: linear-gradient(135deg, #3b82f6, #ec4899); }
.three { background: #111; font-size: 1.45rem; }
.arjs { background: #375a7f; }
.python { background: linear-gradient(135deg, #3776ab 0 50%, #ffd43b 50%); color: #111; }
.js { background: #f7df1e; color: #111; }
.html { background: #e34f26; font-size: 1.45rem; }
.css { background: #1572b6; font-size: 1.45rem; }
.cloudflare { background: #f38020; }
.aws { background: #232f3e; color: #ff9900; text-transform: lowercase; }
.azure { background: #0078d4; }
.digitalocean { background: #0069ff; }
.chatgpt { background: #74aa9c; }
.firebase { background: #ffca28; color: #111; }
.node { background: #5fa04e; }

.partner-logos img {
  height: 100px;
  width: 100%;
  object-fit: contain;
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info, .contact-form {
  background: rgba(255,255,255,0.72);
  border: 1px solid #ffd4d0;
  border-radius: 14px;
  padding: clamp(28px, 4vw, 42px);
  box-shadow: 0 18px 44px rgba(120,20,20,0.10);
}
.contact-info .footer-brand { width: 210px; margin-bottom: 26px; background: #090909; border-radius: 16px; padding: 8px 14px; }
.contact-info h2, .contact-form h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: #4a1111;
  line-height: 1;
  margin-bottom: 18px;
}
.contact-info p { color: #7a3330; line-height: 1.75; }
.direct-line {
  margin-top: 22px;
  display: grid;
  gap: 5px;
}
.direct-line span { color: var(--red); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.direct-line a { color: #4a1111; font-size: 1.22rem; font-weight: 900; }
.availability {
  margin-top: 26px;
  padding: 16px;
  border-radius: 10px;
  background: #eafff1;
  color: #10823c;
  font-weight: 800;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label { display: grid; gap: 8px; color: #4a1111; font-weight: 800; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid #ffd0cc;
  border-radius: 12px;
  background: rgba(255,255,255,0.78);
  padding: 14px 16px;
  color: #4a1111;
  outline: none;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn-primary { width: fit-content; border: 0; cursor: pointer; background: var(--red); color: var(--white); }
.flyer-row { margin-top: 54px; display: grid; place-items: center; }
.flyer-row img {
  width: min(680px, 100%);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(80,0,0,0.2);
}

.site-footer {
  background: #690d0d;
  color: rgba(255,255,255,0.78);
  padding: 64px 24px 28px;
}
.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 48px;
}
.footer-brand { width: 210px; margin-bottom: 20px; }
.site-footer p { line-height: 1.75; }
.site-footer h3 { color: #fff; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }
.site-footer nav { display: grid; align-content: start; gap: 14px; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: 1220px;
  margin: 52px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.55);
  font-size: 0.86rem;
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-cta { display: none; }
  .story-section { grid-template-columns: 1fr; }
  .problem-grid, .blog-lead, .blog-grid, .split-grid, .split-grid.reverse, .contact-grid, .footer-grid, .video-grid, .demo-grid, .qr-use-grid, .stats-layout { grid-template-columns: 1fr; }
  .story-proof-carousel {
    position: relative;
    right: auto;
    top: auto;
    width: min(92vw, 560px);
    min-height: 410px;
    transform: none;
    margin: -24px auto 72px;
    padding: 0 16px;
  }
  .story-proof { grid-template-columns: 74px 1fr; min-height: 126px; }
  .proof-orbit { display: none; }
  .client-steps { grid-template-columns: 1fr; }
  .client-steps i { transform: rotate(90deg); justify-self: center; }
  .tech-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-card.featured { grid-column: span 1; }
  .partner-logos { grid-template-columns: repeat(3, 1fr); }
  .section-heading.left { text-align: center; }
  .copy-stack { text-align: center; }
  .check-list { text-align: left; }
}

@media (max-width: 680px) {
  #navbar { padding: 8px 10px 0; }
  .nav-inner { height: 58px; padding: 0 12px; }
  .nav-logo img { height: 34px; }
  .language-select { height: 34px; width: 62px; }
  .hero-content { width: calc(100vw - 34px); padding-top: 92px; }
  .hero-bg-img { width: 100%; height: auto; }
  .hero-headline { font-size: clamp(2.35rem, 13vw, 4rem); }
  .hero-sub { max-width: 310px; font-size: 0.96rem; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { width: min(100%, 330px); }
  .story-content { margin-left: 0; padding: 100px 22px; text-align: center; }
  .section-light, .section-dark, .blog-section, .faq-section, .powered-section, .contact-section, .client-flow-section, .future-section, .stats-section, .legal-section, .menu-demo-section, .qr-use-section { padding: 76px 18px; }
  .map-section { padding: 76px 0; }
  .ar-gallery { grid-template-columns: 1fr; }
  .viewer-showcase-grid { grid-template-columns: 1fr; }
  .qr-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .phone-shot img { height: auto; }
  model-viewer { height: 360px; }
  .partner-logos, .tech-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logos img { height: 86px; }
  .tech-logo-card { min-height: 118px; }
  .logo-mark { width: 48px; height: 48px; }
  .tech-logo-card img { width: 48px; height: 48px; }
  .contact-form { grid-template-columns: 1fr; }
  .demo-frame { height: 640px; }
  .qr-use-grid img { height: 300px; }
  .map-shell { height: 420px; }
  .sales-chart:not(.sales-chart-image) { min-height: 360px; padding: 30px 8px 16px; }
  .sales-chart-image { padding: 0; min-height: auto; }
  .sales-chart-image img { width: 100%; margin-left: 0; }
  .stat-meter { height: 210px; width: 54px; }
  .stat-card span { font-size: 0.78rem; }
  .faq-answer { padding-left: 22px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
